[2026-09-18 00:00:14] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:00:14] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:00:14] local.INFO: IMEI packet received {"connection_id":188417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":188417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:00:19] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:00:19] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:00:19] local.INFO: IMEI packet received {"connection_id":188417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":188417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:00:20] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:00:20] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:00:20] local.INFO: Packet analysis {"connection_id":188417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:00:20] local.INFO: Extracted packet for processing {"connection_id":188417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-18 00:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 00:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":188417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:00:20] local.INFO: GPS data processed {"connection_id":188417,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:00:20] local.INFO: Acknowledgment sent {"connection_id":188417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:00:51] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:00:51] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:00:51] local.INFO: Packet analysis {"connection_id":188417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:00:51] local.INFO: Extracted packet for processing {"connection_id":188417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:00:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-18 00:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:00: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-09-18 00:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 00:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":188417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:00:51] local.INFO: GPS data processed {"connection_id":188417,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:00:51] local.INFO: Acknowledgment sent {"connection_id":188417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:01:14] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:01:14] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:01:14] local.INFO: IMEI packet received {"connection_id":187104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":187104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:01:19] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:01:19] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:01:19] local.INFO: IMEI packet received {"connection_id":187104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":187104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:01:20] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:01:20] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:01:20] local.INFO: Packet analysis {"connection_id":187104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:01:20] local.INFO: Extracted packet for processing {"connection_id":187104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-18 00:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 00:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":187104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:01:20] local.INFO: GPS data processed {"connection_id":187104,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:01:20] local.INFO: Acknowledgment sent {"connection_id":187104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:01:52] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:01:52] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:01:52] local.INFO: Packet analysis {"connection_id":187104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:01:52] local.INFO: Extracted packet for processing {"connection_id":187104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-18 00:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 00:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":187104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:01:52] local.INFO: GPS data processed {"connection_id":187104,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:01:52] local.INFO: Acknowledgment sent {"connection_id":187104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:02:14] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:02:14] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:02:14] local.INFO: IMEI packet received {"connection_id":188418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":188418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:02:19] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:02:19] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:02:19] local.INFO: IMEI packet received {"connection_id":188418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":188418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:02:20] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:02:20] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:02:20] local.INFO: Packet analysis {"connection_id":188418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:02:20] local.INFO: Extracted packet for processing {"connection_id":188418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:02:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-18 00:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 00:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":188418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:02:20] local.INFO: GPS data processed {"connection_id":188418,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:02:20] local.INFO: Acknowledgment sent {"connection_id":188418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:02:52] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:02:52] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:02:52] local.INFO: Packet analysis {"connection_id":188418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:02:52] local.INFO: Extracted packet for processing {"connection_id":188418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-18 00:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-18 00:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 00:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":188418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:02:52] local.INFO: GPS data processed {"connection_id":188418,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:02:52] local.INFO: Acknowledgment sent {"connection_id":188418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:03:19] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:19] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:19] local.INFO: IMEI packet received {"connection_id":187105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":187105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:03:20] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:20] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:20] local.INFO: IMEI packet received {"connection_id":187105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":187105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:03:24] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:24] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:03:24] local.INFO: IMEI packet received {"connection_id":187105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":187105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:03:25] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:03:25] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:03:25] local.INFO: Packet analysis {"connection_id":187105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:03:25] local.INFO: Extracted packet for processing {"connection_id":187105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:03:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":187105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:03:25] local.INFO: GPS data processed {"connection_id":187105,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:03:25] local.INFO: Acknowledgment sent {"connection_id":187105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:03:29] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:03:29] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:03:29] local.INFO: Packet analysis {"connection_id":187105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:03:29] local.INFO: Extracted packet for processing {"connection_id":187105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:03:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:03:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:03:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":187105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:03:29] local.INFO: GPS data processed {"connection_id":187105,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:03:29] local.INFO: Acknowledgment sent {"connection_id":187105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:04:14] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:04:14] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:04:14] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:04:19] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:04:19] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:04:19] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:04:20] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:04:20] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:04:20] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:04:20] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:04:20] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:04:20] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:04:51] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:04:51] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:04:51] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:04:51] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:04:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:04: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-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:04:51] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:04:51] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:05:14] local.INFO: TCP Data received {"connection_id":185804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:05:14] local.INFO: Processing buffer {"connection_id":185804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:05:14] local.INFO: IMEI packet received {"connection_id":185804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":185804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:05:19] local.INFO: TCP Data received {"connection_id":185804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:05:19] local.INFO: Processing buffer {"connection_id":185804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:05:19] local.INFO: IMEI packet received {"connection_id":185804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":185804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:05:20] local.INFO: TCP Data received {"connection_id":185804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:05:20] local.INFO: Processing buffer {"connection_id":185804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:05:20] local.INFO: Packet analysis {"connection_id":185804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:05:20] local.INFO: Extracted packet for processing {"connection_id":185804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":185804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:05:20] local.INFO: GPS data processed {"connection_id":185804,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:05:20] local.INFO: Acknowledgment sent {"connection_id":185804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:05:52] local.INFO: TCP Data received {"connection_id":185804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:05:52] local.INFO: Processing buffer {"connection_id":185804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:05:52] local.INFO: Packet analysis {"connection_id":185804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:05:52] local.INFO: Extracted packet for processing {"connection_id":185804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:05:52] local.INFO: GPS data processed {"connection_id":185804,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:05:52] local.INFO: Acknowledgment sent {"connection_id":185804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:06:14] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:06:14] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:06:14] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:06:19] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:06:19] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:06:19] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:06:20] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:06:20] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:06:20] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:06:20] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:06:20] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:06:20] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:06:52] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:06:52] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:06:52] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:06:52] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:06:52] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:06:52] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:07:19] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:07:19] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:07:19] local.INFO: IMEI packet received {"connection_id":185631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":185631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:07:24] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:07:24] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:07:24] local.INFO: IMEI packet received {"connection_id":185631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":185631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:07:25] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:07:25] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:07:25] local.INFO: Packet analysis {"connection_id":185631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:07:25] local.INFO: Extracted packet for processing {"connection_id":185631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:07:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":185631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:07:25] local.INFO: GPS data processed {"connection_id":185631,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:07:25] local.INFO: Acknowledgment sent {"connection_id":185631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:07:29] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:07:29] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:07:29] local.INFO: Packet analysis {"connection_id":185631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:07:29] local.INFO: Extracted packet for processing {"connection_id":185631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:07:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:07:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:07:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":185631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:07:30] local.INFO: GPS data processed {"connection_id":185631,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:07:30] local.INFO: Acknowledgment sent {"connection_id":185631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:08:15] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:08:15] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:08:15] local.INFO: IMEI packet received {"connection_id":185805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":185805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:08:19] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:08:19] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:08:19] local.INFO: IMEI packet received {"connection_id":185805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":185805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:08:20] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:08:20] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a46d28012d34c14006aa4440000a011829..."} 
[2026-09-18 00:08:20] local.INFO: Packet analysis {"connection_id":185805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:08:20] local.INFO: Extracted packet for processing {"connection_id":185805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a4"} 
[2026-09-18 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155432960001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669961000,"timestamp_ms":1789669961000,"timestamp_seconds":1789669961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a46d28"} 
[2026-09-18 00:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155432960001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155432960001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155432960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":185805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:08:20] local.INFO: GPS data processed {"connection_id":185805,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:08:20] local.INFO: Acknowledgment sent {"connection_id":185805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:08:21] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:08:21] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:08:21] local.INFO: Packet analysis {"connection_id":185805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:08:21] local.INFO: Extracted packet for processing {"connection_id":185805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":185805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:08:21] local.INFO: GPS data processed {"connection_id":185805,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:08:21] local.INFO: Acknowledgment sent {"connection_id":185805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:08:53] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:08:53] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:08:53] local.INFO: Packet analysis {"connection_id":185805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:08:53] local.INFO: Extracted packet for processing {"connection_id":185805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":185805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:08:53] local.INFO: GPS data processed {"connection_id":185805,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:08:53] local.INFO: Acknowledgment sent {"connection_id":185805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:09:14] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:09:14] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:09:14] local.INFO: IMEI packet received {"connection_id":187106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":187106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:09:19] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:09:19] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:09:19] local.INFO: IMEI packet received {"connection_id":187106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":187106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:09:20] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:09:20] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:09:20] local.INFO: Packet analysis {"connection_id":187106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:09:20] local.INFO: Extracted packet for processing {"connection_id":187106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:09:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":187106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:09:20] local.INFO: GPS data processed {"connection_id":187106,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:09:20] local.INFO: Acknowledgment sent {"connection_id":187106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:09:51] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:09:51] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:09:51] local.INFO: Packet analysis {"connection_id":187106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:09:51] local.INFO: Extracted packet for processing {"connection_id":187106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:09:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:09: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-09-18 00:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":187106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:09:51] local.INFO: GPS data processed {"connection_id":187106,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:09:51] local.INFO: Acknowledgment sent {"connection_id":187106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:10:14] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:10:14] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:10:14] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:10:19] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:10:19] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:10:19] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:10:20] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:10:20] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:10:20] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:10:20] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:10:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:10:20] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:10:20] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:10:51] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:10:51] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:10:51] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:10:51] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:10:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:10: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-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:10:51] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:10:51] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:11:19] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:11:19] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:11:19] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:11:24] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:11:24] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:11:24] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:11:25] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:11:25] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:11:25] local.INFO: Packet analysis {"connection_id":187107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:11:25] local.INFO: Extracted packet for processing {"connection_id":187107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:11:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":187107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:11:25] local.INFO: GPS data processed {"connection_id":187107,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:11:25] local.INFO: Acknowledgment sent {"connection_id":187107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:11:29] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:11:29] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:11:29] local.INFO: Packet analysis {"connection_id":187107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:11:29] local.INFO: Extracted packet for processing {"connection_id":187107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:11:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:11:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":187107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:11:29] local.INFO: GPS data processed {"connection_id":187107,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:11:29] local.INFO: Acknowledgment sent {"connection_id":187107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:12:14] local.INFO: TCP Data received {"connection_id":185806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:12:14] local.INFO: Processing buffer {"connection_id":185806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:12:14] local.INFO: IMEI packet received {"connection_id":185806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":185806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:12:20] local.INFO: TCP Data received {"connection_id":185806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:12:20] local.INFO: Processing buffer {"connection_id":185806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:12:20] local.INFO: IMEI packet received {"connection_id":185806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":185806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:12:21] local.INFO: TCP Data received {"connection_id":185806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:12:21] local.INFO: Processing buffer {"connection_id":185806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:12:21] local.INFO: Packet analysis {"connection_id":185806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:12:21] local.INFO: Extracted packet for processing {"connection_id":185806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:12:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":185806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:12:21] local.INFO: GPS data processed {"connection_id":185806,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:12:21] local.INFO: Acknowledgment sent {"connection_id":185806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:12:52] local.INFO: TCP Data received {"connection_id":185806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:12:52] local.INFO: Processing buffer {"connection_id":185806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:12:52] local.INFO: Packet analysis {"connection_id":185806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:12:52] local.INFO: Extracted packet for processing {"connection_id":185806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":185806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:12:52] local.INFO: GPS data processed {"connection_id":185806,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:12:52] local.INFO: Acknowledgment sent {"connection_id":185806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:13:14] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:13:14] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:13:14] local.INFO: IMEI packet received {"connection_id":187108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":187108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:13:19] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:13:19] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:13:19] local.INFO: IMEI packet received {"connection_id":187108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":187108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:13:20] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:13:20] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0a904f0012d34c14006aa4440000a01182a..."} 
[2026-09-18 00:13:20] local.INFO: Packet analysis {"connection_id":187108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:13:20] local.INFO: Extracted packet for processing {"connection_id":187108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0a9"} 
[2026-09-18 00:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155510016001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670262000,"timestamp_ms":1789670262000,"timestamp_seconds":1789670262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0a904f0"} 
[2026-09-18 00:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155510016001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155510016001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155510016001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":187108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:13:20] local.INFO: GPS data processed {"connection_id":187108,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:13:20] local.INFO: Acknowledgment sent {"connection_id":187108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:13:52] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:13:52] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:13:52] local.INFO: Packet analysis {"connection_id":187108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:13:52] local.INFO: Extracted packet for processing {"connection_id":187108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:13:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":187108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:13:52] local.INFO: GPS data processed {"connection_id":187108,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:13:52] local.INFO: Acknowledgment sent {"connection_id":187108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:14:19] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:14:19] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:14:19] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:14:24] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:14:24] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:14:24] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:14:26] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:14:26] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:14:26] local.INFO: Packet analysis {"connection_id":187109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:14:26] local.INFO: Extracted packet for processing {"connection_id":187109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:14:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:14:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:14: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-09-18 00: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-09-18 00:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:14:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":187109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:14:26] local.INFO: GPS data processed {"connection_id":187109,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:14:26] local.INFO: Acknowledgment sent {"connection_id":187109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:14:30] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:14:30] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:14:30] local.INFO: Packet analysis {"connection_id":187109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:14:30] local.INFO: Extracted packet for processing {"connection_id":187109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:14:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":187109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:14:30] local.INFO: GPS data processed {"connection_id":187109,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:14:30] local.INFO: Acknowledgment sent {"connection_id":187109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:15:14] local.INFO: TCP Data received {"connection_id":185632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:15:14] local.INFO: Processing buffer {"connection_id":185632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:15:14] local.INFO: IMEI packet received {"connection_id":185632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":185632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:15:19] local.INFO: TCP Data received {"connection_id":185632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:15:19] local.INFO: Processing buffer {"connection_id":185632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:15:19] local.INFO: IMEI packet received {"connection_id":185632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":185632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:15:20] local.INFO: TCP Data received {"connection_id":185632,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:15:20] local.INFO: Processing buffer {"connection_id":185632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:15:20] local.INFO: Packet analysis {"connection_id":185632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:15:20] local.INFO: Extracted packet for processing {"connection_id":185632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":185632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:15:20] local.INFO: GPS data processed {"connection_id":185632,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:15:20] local.INFO: Acknowledgment sent {"connection_id":185632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:15:51] local.INFO: TCP Data received {"connection_id":185632,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:15:51] local.INFO: Processing buffer {"connection_id":185632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:15:51] local.INFO: Packet analysis {"connection_id":185632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:15:51] local.INFO: Extracted packet for processing {"connection_id":185632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:15:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":185632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:15:51] local.INFO: GPS data processed {"connection_id":185632,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:15:51] local.INFO: Acknowledgment sent {"connection_id":185632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:16:15] local.INFO: TCP Data received {"connection_id":185807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:16:15] local.INFO: Processing buffer {"connection_id":185807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:16:15] local.INFO: IMEI packet received {"connection_id":185807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":185807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:16:19] local.INFO: TCP Data received {"connection_id":185807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:16:19] local.INFO: Processing buffer {"connection_id":185807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:16:19] local.INFO: IMEI packet received {"connection_id":185807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":185807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:16:20] local.INFO: TCP Data received {"connection_id":185807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:16:20] local.INFO: Processing buffer {"connection_id":185807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:16:20] local.INFO: Packet analysis {"connection_id":185807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:16:20] local.INFO: Extracted packet for processing {"connection_id":185807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":185807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:16:20] local.INFO: GPS data processed {"connection_id":185807,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:16:20] local.INFO: Acknowledgment sent {"connection_id":185807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:16:51] local.INFO: TCP Data received {"connection_id":185807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:16:51] local.INFO: Processing buffer {"connection_id":185807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:16:51] local.INFO: Packet analysis {"connection_id":185807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:16:51] local.INFO: Extracted packet for processing {"connection_id":185807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":185807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:16:51] local.INFO: GPS data processed {"connection_id":185807,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:16:51] local.INFO: Acknowledgment sent {"connection_id":185807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:17:14] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:14] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:14] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:17:25] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:25] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:25] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:17:26] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:26] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:26] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:17:29] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:29] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:17:29] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:17:29] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:17:29] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:17:29] local.INFO: Packet analysis {"connection_id":185808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:17:29] local.INFO: Extracted packet for processing {"connection_id":185808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:17:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:17:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:17:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":185808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:17:29] local.INFO: GPS data processed {"connection_id":185808,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:17:29] local.INFO: Acknowledgment sent {"connection_id":185808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:17:34] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:17:34] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:17:34] local.INFO: Packet analysis {"connection_id":185808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:17:34] local.INFO: Extracted packet for processing {"connection_id":185808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:17:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:17: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-09-18 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:17: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-09-18 00: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-09-18 00:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00: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-09-18 00:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":185808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:17:34] local.INFO: GPS data processed {"connection_id":185808,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:17:34] local.INFO: Acknowledgment sent {"connection_id":185808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:18:13] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:18:13] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:18:13] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:18:19] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:18:19] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:18:19] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:18:20] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:18:20] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ad9cb8012d34c14006aa4440000a011829..."} 
[2026-09-18 00:18:20] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:18:20] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ad"} 
[2026-09-18 00:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155587072001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:18:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670563000,"timestamp_ms":1789670563000,"timestamp_seconds":1789670563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ad9cb8"} 
[2026-09-18 00:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155587072001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155587072001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155587072001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:18:20] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:18:20] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:18:51] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:18:51] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:18:51] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:18:51] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:18:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:18: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-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:18:51] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:18:51] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:19:14] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:19:14] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:19:14] local.INFO: IMEI packet received {"connection_id":187110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":187110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:19:19] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:19:19] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:19:19] local.INFO: IMEI packet received {"connection_id":187110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":187110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:19:20] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:19:20] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:19:20] local.INFO: Packet analysis {"connection_id":187110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:19:20] local.INFO: Extracted packet for processing {"connection_id":187110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":187110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:19:20] local.INFO: GPS data processed {"connection_id":187110,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:19:20] local.INFO: Acknowledgment sent {"connection_id":187110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:19:52] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:19:52] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:19:52] local.INFO: Packet analysis {"connection_id":187110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:19:52] local.INFO: Extracted packet for processing {"connection_id":187110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":187110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:19:52] local.INFO: GPS data processed {"connection_id":187110,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:19:52] local.INFO: Acknowledgment sent {"connection_id":187110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:20:14] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:20:14] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:20:14] local.INFO: IMEI packet received {"connection_id":187111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":187111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:20:19] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:20:19] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:20:19] local.INFO: IMEI packet received {"connection_id":187111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":187111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:20:21] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:20:21] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:20:21] local.INFO: Packet analysis {"connection_id":187111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:20:21] local.INFO: Extracted packet for processing {"connection_id":187111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":187111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:20:21] local.INFO: GPS data processed {"connection_id":187111,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:20:21] local.INFO: Acknowledgment sent {"connection_id":187111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:20:52] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:20:52] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:20:52] local.INFO: Packet analysis {"connection_id":187111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:20:52] local.INFO: Extracted packet for processing {"connection_id":187111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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":795,"current_offset":40} 
[2026-09-18 00:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:20:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":187111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:20:52] local.INFO: GPS data processed {"connection_id":187111,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:20:52] local.INFO: Acknowledgment sent {"connection_id":187111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:21:14] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:21:14] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:21:14] local.INFO: IMEI packet received {"connection_id":188423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":188423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:21:19] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:21:19] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:21:19] local.INFO: IMEI packet received {"connection_id":188423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":188423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:21:20] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:21:20] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:21:20] local.INFO: Packet analysis {"connection_id":188423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:21:20] local.INFO: Extracted packet for processing {"connection_id":188423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":188423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:21:20] local.INFO: GPS data processed {"connection_id":188423,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:21:20] local.INFO: Acknowledgment sent {"connection_id":188423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:21:52] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:21:52] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:21:52] local.INFO: Packet analysis {"connection_id":188423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:21:52] local.INFO: Extracted packet for processing {"connection_id":188423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:21:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":188423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:21:52] local.INFO: GPS data processed {"connection_id":188423,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:21:52] local.INFO: Acknowledgment sent {"connection_id":188423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:22:14] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:22:14] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:22:14] local.INFO: IMEI packet received {"connection_id":185809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":185809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:22:19] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:22:19] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:22:19] local.INFO: IMEI packet received {"connection_id":185809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":185809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:22:20] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:22:20] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:22:20] local.INFO: Packet analysis {"connection_id":185809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:22:20] local.INFO: Extracted packet for processing {"connection_id":185809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":185809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:22:20] local.INFO: GPS data processed {"connection_id":185809,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:22:20] local.INFO: Acknowledgment sent {"connection_id":185809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:22:53] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:22:53] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b23480012d34c14006aa4440000a01182b..."} 
[2026-09-18 00:22:53] local.INFO: Packet analysis {"connection_id":185809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:22:53] local.INFO: Extracted packet for processing {"connection_id":185809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b2"} 
[2026-09-18 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155664128001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:22:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789670864000,"timestamp_ms":1789670864000,"timestamp_seconds":1789670864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b23480"} 
[2026-09-18 00:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155664128001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155664128001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155664128001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":185809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:22:53] local.INFO: GPS data processed {"connection_id":185809,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:22:53] local.INFO: Acknowledgment sent {"connection_id":185809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:23:19] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:23:19] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:23:19] local.INFO: IMEI packet received {"connection_id":185633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":185633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:23:23] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:23:23] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:23:23] local.INFO: IMEI packet received {"connection_id":185633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":185633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:23:24] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:24] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:24] local.INFO: Packet analysis {"connection_id":185633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:23:24] local.INFO: Extracted packet for processing {"connection_id":185633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":185633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:23:24] local.INFO: GPS data processed {"connection_id":185633,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:23:24] local.INFO: Acknowledgment sent {"connection_id":185633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:23:25] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:25] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:25] local.INFO: Packet analysis {"connection_id":185633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:23:25] local.INFO: Extracted packet for processing {"connection_id":185633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":185633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:23:25] local.INFO: GPS data processed {"connection_id":185633,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:23:25] local.INFO: Acknowledgment sent {"connection_id":185633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:23:56] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:56] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:23:56] local.INFO: Packet analysis {"connection_id":185633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:23:56] local.INFO: Extracted packet for processing {"connection_id":185633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:23:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:23:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":185633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:23:56] local.INFO: GPS data processed {"connection_id":185633,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:23:56] local.INFO: Acknowledgment sent {"connection_id":185633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:24:14] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:24:14] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:24:14] local.INFO: IMEI packet received {"connection_id":188424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:24:19] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:24:19] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:24:19] local.INFO: IMEI packet received {"connection_id":188424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":188424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:24:20] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:24:20] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:24:20] local.INFO: Packet analysis {"connection_id":188424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:24:20] local.INFO: Extracted packet for processing {"connection_id":188424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:24:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":188424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:24:20] local.INFO: GPS data processed {"connection_id":188424,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:24:20] local.INFO: Acknowledgment sent {"connection_id":188424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:24:51] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:24:51] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:24:51] local.INFO: Packet analysis {"connection_id":188424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:24:51] local.INFO: Extracted packet for processing {"connection_id":188424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:24:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:24: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-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":188424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:24:51] local.INFO: GPS data processed {"connection_id":188424,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:24:51] local.INFO: Acknowledgment sent {"connection_id":188424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:25:14] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:25:14] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:25:14] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:25:19] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:25:19] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:25:19] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:25:20] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:25:20] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:25:20] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:25:20] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:25:20] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:25:20] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:25:51] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:25:51] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:25:51] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:25:51] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:25:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:25: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-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:25:51] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:25:51] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:26:14] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:26:14] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:26:14] local.INFO: IMEI packet received {"connection_id":185810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:26:19] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:26:19] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:26:19] local.INFO: IMEI packet received {"connection_id":185810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:26:20] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:26:20] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:26:20] local.INFO: Packet analysis {"connection_id":185810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:26:20] local.INFO: Extracted packet for processing {"connection_id":185810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":185810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:26:20] local.INFO: GPS data processed {"connection_id":185810,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:26:20] local.INFO: Acknowledgment sent {"connection_id":185810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:26:51] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:26:51] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:26:51] local.INFO: Packet analysis {"connection_id":185810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:26:51] local.INFO: Extracted packet for processing {"connection_id":185810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:26:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:26: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-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":185810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:26:51] local.INFO: GPS data processed {"connection_id":185810,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:26:51] local.INFO: Acknowledgment sent {"connection_id":185810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:27:14] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:27:14] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:27:14] local.INFO: IMEI packet received {"connection_id":188426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:27:19] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:27:19] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:27:19] local.INFO: IMEI packet received {"connection_id":188426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":188426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:27:20] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:27:20] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:27:20] local.INFO: Packet analysis {"connection_id":188426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:27:20] local.INFO: Extracted packet for processing {"connection_id":188426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":188426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:27:20] local.INFO: GPS data processed {"connection_id":188426,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:27:20] local.INFO: Acknowledgment sent {"connection_id":188426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:27:52] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:27:52] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0b6cc48012d34c14006aa4440000a011827..."} 
[2026-09-18 00:27:52] local.INFO: Packet analysis {"connection_id":188426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:27:52] local.INFO: Extracted packet for processing {"connection_id":188426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0b6"} 
[2026-09-18 00:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155741184001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789671165000,"timestamp_ms":1789671165000,"timestamp_seconds":1789671165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0b6cc48"} 
[2026-09-18 00:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 00:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155741184001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155741184001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155741184001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":188426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:27:52] local.INFO: GPS data processed {"connection_id":188426,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:27:52] local.INFO: Acknowledgment sent {"connection_id":188426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:28:19] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:28:19] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:28:19] local.INFO: IMEI packet received {"connection_id":185811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":185811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:28:24] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:28:24] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:28:24] local.INFO: IMEI packet received {"connection_id":185811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":185811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:28:25] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:25] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:25] local.INFO: Packet analysis {"connection_id":185811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:28:25] local.INFO: Extracted packet for processing {"connection_id":185811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":185811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:28:25] local.INFO: GPS data processed {"connection_id":185811,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:28:25] local.INFO: Acknowledgment sent {"connection_id":185811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:28:26] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:26] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:26] local.INFO: Packet analysis {"connection_id":185811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:28:26] local.INFO: Extracted packet for processing {"connection_id":185811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":185811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:28:26] local.INFO: GPS data processed {"connection_id":185811,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:28:26] local.INFO: Acknowledgment sent {"connection_id":185811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:28:57] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:57] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:28:57] local.INFO: Packet analysis {"connection_id":185811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:28:57] local.INFO: Extracted packet for processing {"connection_id":185811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":185811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:28:57] local.INFO: GPS data processed {"connection_id":185811,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:28:57] local.INFO: Acknowledgment sent {"connection_id":185811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:29:14] local.INFO: TCP Data received {"connection_id":185634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:29:14] local.INFO: Processing buffer {"connection_id":185634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:29:14] local.INFO: IMEI packet received {"connection_id":185634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":185634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:29:19] local.INFO: TCP Data received {"connection_id":185634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:29:19] local.INFO: Processing buffer {"connection_id":185634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:29:19] local.INFO: IMEI packet received {"connection_id":185634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":185634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:29:20] local.INFO: TCP Data received {"connection_id":185634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:29:20] local.INFO: Processing buffer {"connection_id":185634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:29:20] local.INFO: Packet analysis {"connection_id":185634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:29:20] local.INFO: Extracted packet for processing {"connection_id":185634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:29:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":185634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:29:20] local.INFO: GPS data processed {"connection_id":185634,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:29:20] local.INFO: Acknowledgment sent {"connection_id":185634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:29:51] local.INFO: TCP Data received {"connection_id":185634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:29:51] local.INFO: Processing buffer {"connection_id":185634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:29:51] local.INFO: Packet analysis {"connection_id":185634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:29:51] local.INFO: Extracted packet for processing {"connection_id":185634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:29:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":185634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:29:52] local.INFO: GPS data processed {"connection_id":185634,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:29:52] local.INFO: Acknowledgment sent {"connection_id":185634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:30:14] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:30:14] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:30:14] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:30:19] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:30:19] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:30:19] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:30:20] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:30:20] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:30:20] local.INFO: Packet analysis {"connection_id":187112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:30:20] local.INFO: Extracted packet for processing {"connection_id":187112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":187112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:30:20] local.INFO: GPS data processed {"connection_id":187112,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:30:20] local.INFO: Acknowledgment sent {"connection_id":187112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:30:52] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:30:52] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:30:52] local.INFO: Packet analysis {"connection_id":187112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:30:52] local.INFO: Extracted packet for processing {"connection_id":187112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":187112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:30:52] local.INFO: GPS data processed {"connection_id":187112,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:30:52] local.INFO: Acknowledgment sent {"connection_id":187112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:31:14] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:31:14] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:31:14] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:31:19] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:31:19] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:31:19] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:31:20] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:31:20] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:31:20] local.INFO: Packet analysis {"connection_id":188427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:31:20] local.INFO: Extracted packet for processing {"connection_id":188427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":188427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:31:20] local.INFO: GPS data processed {"connection_id":188427,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:31:20] local.INFO: Acknowledgment sent {"connection_id":188427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:31:51] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:31:51] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:31:51] local.INFO: Packet analysis {"connection_id":188427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:31:51] local.INFO: Extracted packet for processing {"connection_id":188427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:31:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":188427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:31:51] local.INFO: GPS data processed {"connection_id":188427,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:31:51] local.INFO: Acknowledgment sent {"connection_id":188427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:32:19] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:32:19] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:32:19] local.INFO: IMEI packet received {"connection_id":187113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":187113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:32:24] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:32:24] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:32:24] local.INFO: IMEI packet received {"connection_id":187113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":187113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:32:25] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:32:25] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:32:25] local.INFO: Packet analysis {"connection_id":187113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:32:25] local.INFO: Extracted packet for processing {"connection_id":187113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:32:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":187113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:32:25] local.INFO: GPS data processed {"connection_id":187113,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:32:25] local.INFO: Acknowledgment sent {"connection_id":187113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:32:29] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:32:29] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:32:29] local.INFO: Packet analysis {"connection_id":187113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:32:29] local.INFO: Extracted packet for processing {"connection_id":187113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:32:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:32:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":187113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:32:29] local.INFO: GPS data processed {"connection_id":187113,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:32:29] local.INFO: Acknowledgment sent {"connection_id":187113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:33:14] local.INFO: TCP Data received {"connection_id":185812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:33:14] local.INFO: Processing buffer {"connection_id":185812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:33:14] local.INFO: IMEI packet received {"connection_id":185812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":185812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:33:19] local.INFO: TCP Data received {"connection_id":185812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:33:19] local.INFO: Processing buffer {"connection_id":185812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:33:19] local.INFO: IMEI packet received {"connection_id":185812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:33:20] local.INFO: TCP Data received {"connection_id":185812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:33:20] local.INFO: Processing buffer {"connection_id":185812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bb6410012d34c14006aa4440000a011829..."} 
[2026-09-18 00:33:20] local.INFO: Packet analysis {"connection_id":185812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:33:20] local.INFO: Extracted packet for processing {"connection_id":185812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bb"} 
[2026-09-18 00:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155818240001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671466000,"timestamp_ms":1789671466000,"timestamp_seconds":1789671466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bb6410"} 
[2026-09-18 00:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 00:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155818240001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155818240001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155818240001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":185812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:33:20] local.INFO: GPS data processed {"connection_id":185812,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:33:20] local.INFO: Acknowledgment sent {"connection_id":185812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:33:51] local.INFO: TCP Data received {"connection_id":185812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:33:51] local.INFO: Processing buffer {"connection_id":185812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:33:51] local.INFO: Packet analysis {"connection_id":185812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:33:51] local.INFO: Extracted packet for processing {"connection_id":185812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:33: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-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":185812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:33:51] local.INFO: GPS data processed {"connection_id":185812,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:33:51] local.INFO: Acknowledgment sent {"connection_id":185812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:34:14] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:34:14] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:34:14] local.INFO: IMEI packet received {"connection_id":187114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":187114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:34:19] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:34:19] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:34:19] local.INFO: IMEI packet received {"connection_id":187114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":187114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:34:20] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:34:20] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:34:20] local.INFO: Packet analysis {"connection_id":187114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:34:20] local.INFO: Extracted packet for processing {"connection_id":187114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":187114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:34:20] local.INFO: GPS data processed {"connection_id":187114,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:34:20] local.INFO: Acknowledgment sent {"connection_id":187114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:34:51] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:34:51] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:34:51] local.INFO: Packet analysis {"connection_id":187114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:34:51] local.INFO: Extracted packet for processing {"connection_id":187114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:34:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:34: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-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":187114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:34:51] local.INFO: GPS data processed {"connection_id":187114,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:34:51] local.INFO: Acknowledgment sent {"connection_id":187114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:35:13] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:35:14] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:35:14] local.INFO: IMEI packet received {"connection_id":187115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":187115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:35:19] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:35:19] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:35:19] local.INFO: IMEI packet received {"connection_id":187115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":187115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:35:20] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:35:20] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:35:20] local.INFO: Packet analysis {"connection_id":187115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:35:20] local.INFO: Extracted packet for processing {"connection_id":187115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":187115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:35:20] local.INFO: GPS data processed {"connection_id":187115,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:35:20] local.INFO: Acknowledgment sent {"connection_id":187115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:35:51] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:35:51] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:35:51] local.INFO: Packet analysis {"connection_id":187115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:35:51] local.INFO: Extracted packet for processing {"connection_id":187115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:35: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-09-18 00:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":187115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:35:51] local.INFO: GPS data processed {"connection_id":187115,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:35:51] local.INFO: Acknowledgment sent {"connection_id":187115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:36:19] local.INFO: TCP Data received {"connection_id":185635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:36:19] local.INFO: Processing buffer {"connection_id":185635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:36:19] local.INFO: IMEI packet received {"connection_id":185635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":185635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:36:24] local.INFO: TCP Data received {"connection_id":185635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:36:24] local.INFO: Processing buffer {"connection_id":185635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:36:24] local.INFO: IMEI packet received {"connection_id":185635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":185635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:36:25] local.INFO: TCP Data received {"connection_id":185635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:36:25] local.INFO: Processing buffer {"connection_id":185635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:36:25] local.INFO: Packet analysis {"connection_id":185635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:36:25] local.INFO: Extracted packet for processing {"connection_id":185635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:36:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":185635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:36:25] local.INFO: GPS data processed {"connection_id":185635,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:36:25] local.INFO: Acknowledgment sent {"connection_id":185635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:36:29] local.INFO: TCP Data received {"connection_id":185635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:36:29] local.INFO: Processing buffer {"connection_id":185635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:36:29] local.INFO: Packet analysis {"connection_id":185635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:36:29] local.INFO: Extracted packet for processing {"connection_id":185635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:36:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":185635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:36:29] local.INFO: GPS data processed {"connection_id":185635,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:36:29] local.INFO: Acknowledgment sent {"connection_id":185635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:37:14] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:37:14] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:37:14] local.INFO: IMEI packet received {"connection_id":185813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":185813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:37:19] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:37:19] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:37:19] local.INFO: IMEI packet received {"connection_id":185813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:37:20] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:37:20] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:37:20] local.INFO: Packet analysis {"connection_id":185813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:37:20] local.INFO: Extracted packet for processing {"connection_id":185813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":185813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:37:20] local.INFO: GPS data processed {"connection_id":185813,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:37:20] local.INFO: Acknowledgment sent {"connection_id":185813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:37:52] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:37:52] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:37:52] local.INFO: Packet analysis {"connection_id":185813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:37:52] local.INFO: Extracted packet for processing {"connection_id":185813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:37:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":185813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:37:52] local.INFO: GPS data processed {"connection_id":185813,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:37:52] local.INFO: Acknowledgment sent {"connection_id":185813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:38:14] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:38:14] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:38:14] local.INFO: IMEI packet received {"connection_id":185814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":185814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:38:19] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:38:19] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:38:19] local.INFO: IMEI packet received {"connection_id":185814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:38:20] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:38:20] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0bffbd8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:38:20] local.INFO: Packet analysis {"connection_id":185814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:38:20] local.INFO: Extracted packet for processing {"connection_id":185814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0bf"} 
[2026-09-18 00:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789671767000,"timestamp_ms":1789671767000,"timestamp_seconds":1789671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0bffbd8"} 
[2026-09-18 00:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155895296001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155895296001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":185814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:38:20] local.INFO: GPS data processed {"connection_id":185814,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:38:20] local.INFO: Acknowledgment sent {"connection_id":185814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:38:51] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:38:51] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:38:51] local.INFO: Packet analysis {"connection_id":185814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:38:51] local.INFO: Extracted packet for processing {"connection_id":185814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":185814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:38:51] local.INFO: GPS data processed {"connection_id":185814,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:38:51] local.INFO: Acknowledgment sent {"connection_id":185814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:39:19] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:39:19] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:39:19] local.INFO: IMEI packet received {"connection_id":185636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:39:24] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:39:24] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:39:24] local.INFO: IMEI packet received {"connection_id":185636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":185636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:39:25] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:39:25] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:39:25] local.INFO: Packet analysis {"connection_id":185636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:39:25] local.INFO: Extracted packet for processing {"connection_id":185636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":185636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:39:25] local.INFO: GPS data processed {"connection_id":185636,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:39:25] local.INFO: Acknowledgment sent {"connection_id":185636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:39:29] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:39:29] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:39:29] local.INFO: Packet analysis {"connection_id":185636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:39:29] local.INFO: Extracted packet for processing {"connection_id":185636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:39:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":185636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:39:29] local.INFO: GPS data processed {"connection_id":185636,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:39:29] local.INFO: Acknowledgment sent {"connection_id":185636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:40:14] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:40:14] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:40:14] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:40:19] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:40:19] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:40:19] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:40:20] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:40:20] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:40:20] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:40:20] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:40:20] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:40:20] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:40:29] local.INFO: TCP Data received {"connection_id":185815,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:29] local.INFO: Processing buffer {"connection_id":185815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:29] local.INFO: IMEI packet received {"connection_id":185815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 00:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":185815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:40:34] local.INFO: TCP Data received {"connection_id":185815,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:34] local.INFO: Processing buffer {"connection_id":185815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:34] local.INFO: IMEI packet received {"connection_id":185815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-18 00:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":185815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:40:34] local.INFO: TCP Data received {"connection_id":185815,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:34] local.INFO: Processing buffer {"connection_id":185815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:40:34] local.INFO: IMEI packet received {"connection_id":185815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-18 00:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":185815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:40:52] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:40:52] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:40:52] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:40:52] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:40:52] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:40:52] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:41:14] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:41:14] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:41:14] local.INFO: IMEI packet received {"connection_id":185637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":185637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:41:19] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:41:19] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:41:19] local.INFO: IMEI packet received {"connection_id":185637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":185637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:41:20] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:41:20] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:41:20] local.INFO: Packet analysis {"connection_id":185637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:41:20] local.INFO: Extracted packet for processing {"connection_id":185637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":185637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:41:20] local.INFO: GPS data processed {"connection_id":185637,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:41:20] local.INFO: Acknowledgment sent {"connection_id":185637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:41:52] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:41:52] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:41:52] local.INFO: Packet analysis {"connection_id":185637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:41:52] local.INFO: Extracted packet for processing {"connection_id":185637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:41:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":185637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:41:52] local.INFO: GPS data processed {"connection_id":185637,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:41:52] local.INFO: Acknowledgment sent {"connection_id":185637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:42:14] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:42:14] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:42:14] local.INFO: IMEI packet received {"connection_id":185638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":185638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:42:19] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:42:19] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:42:19] local.INFO: IMEI packet received {"connection_id":185638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":185638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:42:20] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:42:20] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:42:20] local.INFO: Packet analysis {"connection_id":185638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:42:20] local.INFO: Extracted packet for processing {"connection_id":185638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":185638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:42:20] local.INFO: GPS data processed {"connection_id":185638,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:42:20] local.INFO: Acknowledgment sent {"connection_id":185638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:42:52] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:42:52] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:42:52] local.INFO: Packet analysis {"connection_id":185638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:42:52] local.INFO: Extracted packet for processing {"connection_id":185638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:42:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":185638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:42:52] local.INFO: GPS data processed {"connection_id":185638,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:42:52] local.INFO: Acknowledgment sent {"connection_id":185638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:43:13] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:43:13] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:43:13] local.INFO: IMEI packet received {"connection_id":185816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":185816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:43:19] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:43:19] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:43:19] local.INFO: IMEI packet received {"connection_id":185816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":185816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:43:20] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:43:20] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c493a0012d34c14006aa4440000a011826..."} 
[2026-09-18 00:43:20] local.INFO: Packet analysis {"connection_id":185816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:43:20] local.INFO: Extracted packet for processing {"connection_id":185816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c4"} 
[2026-09-18 00:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155972352001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672068000,"timestamp_ms":1789672068000,"timestamp_seconds":1789672068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c493a0"} 
[2026-09-18 00:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155972352001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155972352001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155972352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":185816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:43:20] local.INFO: GPS data processed {"connection_id":185816,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:43:20] local.INFO: Acknowledgment sent {"connection_id":185816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:43:51] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:43:51] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:43:51] local.INFO: Packet analysis {"connection_id":185816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:43:51] local.INFO: Extracted packet for processing {"connection_id":185816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:43:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:43: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-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":185816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:43:51] local.INFO: GPS data processed {"connection_id":185816,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:43:51] local.INFO: Acknowledgment sent {"connection_id":185816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:43:51] local.INFO: TCP Data received {"connection_id":185817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:43:51] local.INFO: Processing buffer {"connection_id":185817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:43:51] local.INFO: IMEI packet received {"connection_id":185817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 00:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":185817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:44:14] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:44:14] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:44:14] local.INFO: IMEI packet received {"connection_id":185639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":185639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:44:19] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:44:19] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:44:19] local.INFO: IMEI packet received {"connection_id":185639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":185639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:44:20] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:44:20] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:44:20] local.INFO: Packet analysis {"connection_id":185639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:44:20] local.INFO: Extracted packet for processing {"connection_id":185639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:44:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":185639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:44:20] local.INFO: GPS data processed {"connection_id":185639,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:44:20] local.INFO: Acknowledgment sent {"connection_id":185639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:44:51] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:44:51] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:44:51] local.INFO: Packet analysis {"connection_id":185639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:44:51] local.INFO: Extracted packet for processing {"connection_id":185639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:44:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:44: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-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":185639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:44:51] local.INFO: GPS data processed {"connection_id":185639,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:44:51] local.INFO: Acknowledgment sent {"connection_id":185639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:45:15] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:45:15] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:45:15] local.INFO: IMEI packet received {"connection_id":187116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":187116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:45:21] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:45:21] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:45:21] local.INFO: IMEI packet received {"connection_id":187116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":187116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:45:22] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:22] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:22] local.INFO: Packet analysis {"connection_id":187116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:45:22] local.INFO: Extracted packet for processing {"connection_id":187116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":187116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:45:22] local.INFO: GPS data processed {"connection_id":187116,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:45:22] local.INFO: Acknowledgment sent {"connection_id":187116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:45:24] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:24] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:24] local.INFO: Packet analysis {"connection_id":187116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:45:24] local.INFO: Extracted packet for processing {"connection_id":187116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":187116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:45:24] local.INFO: GPS data processed {"connection_id":187116,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:45:24] local.INFO: Acknowledgment sent {"connection_id":187116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:45:55] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:55] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:45:55] local.INFO: Packet analysis {"connection_id":187116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:45:55] local.INFO: Extracted packet for processing {"connection_id":187116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:45:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":187116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:45:55] local.INFO: GPS data processed {"connection_id":187116,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:45:55] local.INFO: Acknowledgment sent {"connection_id":187116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:46:14] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:46:14] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:46:14] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:46:19] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:46:19] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:46:19] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:46:20] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:46:20] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:46:20] local.INFO: Packet analysis {"connection_id":187117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:46:20] local.INFO: Extracted packet for processing {"connection_id":187117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":187117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:46:20] local.INFO: GPS data processed {"connection_id":187117,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:46:20] local.INFO: Acknowledgment sent {"connection_id":187117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:46:51] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:46:51] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:46:51] local.INFO: Packet analysis {"connection_id":187117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:46:51] local.INFO: Extracted packet for processing {"connection_id":187117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:46:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:46: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-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":187117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:46:51] local.INFO: GPS data processed {"connection_id":187117,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:46:51] local.INFO: Acknowledgment sent {"connection_id":187117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:47:13] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:47:13] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:47:13] local.INFO: IMEI packet received {"connection_id":185640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":185640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:47:19] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:47:19] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:47:19] local.INFO: IMEI packet received {"connection_id":185640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":185640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:47:20] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:47:20] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:47:20] local.INFO: Packet analysis {"connection_id":185640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:47:20] local.INFO: Extracted packet for processing {"connection_id":185640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":185640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:47:20] local.INFO: GPS data processed {"connection_id":185640,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:47:20] local.INFO: Acknowledgment sent {"connection_id":185640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:47:52] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:47:52] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:47:52] local.INFO: Packet analysis {"connection_id":185640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:47:52] local.INFO: Extracted packet for processing {"connection_id":185640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":185640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:47:52] local.INFO: GPS data processed {"connection_id":185640,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:47:52] local.INFO: Acknowledgment sent {"connection_id":185640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:48:13] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:48:13] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:48:13] local.INFO: IMEI packet received {"connection_id":185641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":185641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:48:19] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:48:19] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:48:19] local.INFO: IMEI packet received {"connection_id":185641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":185641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:48:20] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:48:20] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0c92b68012d34c14006aa4440000a011826..."} 
[2026-09-18 00:48:20] local.INFO: Packet analysis {"connection_id":185641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:48:20] local.INFO: Extracted packet for processing {"connection_id":185641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0c9"} 
[2026-09-18 00:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672369000,"timestamp_ms":1789672369000,"timestamp_seconds":1789672369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0c92b68"} 
[2026-09-18 00:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156049408001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156049408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":185641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:48:20] local.INFO: GPS data processed {"connection_id":185641,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:48:20] local.INFO: Acknowledgment sent {"connection_id":185641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:48:51] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:48:51] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:48:51] local.INFO: Packet analysis {"connection_id":185641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:48:51] local.INFO: Extracted packet for processing {"connection_id":185641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":185641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:48:51] local.INFO: GPS data processed {"connection_id":185641,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:48:51] local.INFO: Acknowledgment sent {"connection_id":185641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:49:14] local.INFO: TCP Data received {"connection_id":185642,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:49:14] local.INFO: Processing buffer {"connection_id":185642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:49:14] local.INFO: IMEI packet received {"connection_id":185642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":185642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:49:19] local.INFO: TCP Data received {"connection_id":185642,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:49:19] local.INFO: Processing buffer {"connection_id":185642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:49:19] local.INFO: IMEI packet received {"connection_id":185642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":185642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:49:20] local.INFO: TCP Data received {"connection_id":185642,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:49:20] local.INFO: Processing buffer {"connection_id":185642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:49:20] local.INFO: Packet analysis {"connection_id":185642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:49:20] local.INFO: Extracted packet for processing {"connection_id":185642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:49:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":185642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:49:20] local.INFO: GPS data processed {"connection_id":185642,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:49:20] local.INFO: Acknowledgment sent {"connection_id":185642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:49:52] local.INFO: TCP Data received {"connection_id":185642,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:49:52] local.INFO: Processing buffer {"connection_id":185642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:49:52] local.INFO: Packet analysis {"connection_id":185642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:49:52] local.INFO: Extracted packet for processing {"connection_id":185642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:49:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:49: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":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":185642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:49:52] local.INFO: GPS data processed {"connection_id":185642,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:49:52] local.INFO: Acknowledgment sent {"connection_id":185642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:50:14] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:50:14] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:50:14] local.INFO: IMEI packet received {"connection_id":185643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":185643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:50:19] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:50:19] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:50:19] local.INFO: IMEI packet received {"connection_id":185643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":185643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:50:20] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:50:20] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:50:20] local.INFO: Packet analysis {"connection_id":185643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:50:20] local.INFO: Extracted packet for processing {"connection_id":185643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":185643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:50:20] local.INFO: GPS data processed {"connection_id":185643,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:50:20] local.INFO: Acknowledgment sent {"connection_id":185643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:50:51] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:50:51] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:50:51] local.INFO: Packet analysis {"connection_id":185643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:50:51] local.INFO: Extracted packet for processing {"connection_id":185643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:50:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":185643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:50:51] local.INFO: GPS data processed {"connection_id":185643,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:50:51] local.INFO: Acknowledgment sent {"connection_id":185643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:51:13] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:51:13] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:51:13] local.INFO: IMEI packet received {"connection_id":185818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":185818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:51:19] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:51:19] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:51:19] local.INFO: IMEI packet received {"connection_id":185818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:51:20] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:51:20] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:51:20] local.INFO: Packet analysis {"connection_id":185818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:51:20] local.INFO: Extracted packet for processing {"connection_id":185818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":185818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:51:20] local.INFO: GPS data processed {"connection_id":185818,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:51:20] local.INFO: Acknowledgment sent {"connection_id":185818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:51:52] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:51:52] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:51:52] local.INFO: Packet analysis {"connection_id":185818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:51:52] local.INFO: Extracted packet for processing {"connection_id":185818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":185818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:51:52] local.INFO: GPS data processed {"connection_id":185818,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:51:52] local.INFO: Acknowledgment sent {"connection_id":185818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:52:13] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:52:13] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:52:13] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:52:19] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:52:19] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:52:19] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:52:20] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:52:20] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:52:20] local.INFO: Packet analysis {"connection_id":188429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:52:20] local.INFO: Extracted packet for processing {"connection_id":188429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":188429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:52:20] local.INFO: GPS data processed {"connection_id":188429,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:52:20] local.INFO: Acknowledgment sent {"connection_id":188429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:52:51] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:52:51] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:52:51] local.INFO: Packet analysis {"connection_id":188429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:52:51] local.INFO: Extracted packet for processing {"connection_id":188429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:52:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":188429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:52:51] local.INFO: GPS data processed {"connection_id":188429,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:52:51] local.INFO: Acknowledgment sent {"connection_id":188429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:53:19] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:53:19] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:53:19] local.INFO: IMEI packet received {"connection_id":185819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":185819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:53:24] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:53:24] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:53:24] local.INFO: IMEI packet received {"connection_id":185819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":185819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:53:25] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:53:25] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:53:25] local.INFO: Packet analysis {"connection_id":185819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:53:25] local.INFO: Extracted packet for processing {"connection_id":185819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:53:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":185819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:53:25] local.INFO: GPS data processed {"connection_id":185819,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:53:25] local.INFO: Acknowledgment sent {"connection_id":185819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:53:29] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:53:29] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0cdc330012d34c14006aa4440000a011826..."} 
[2026-09-18 00:53:29] local.INFO: Packet analysis {"connection_id":185819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:53:29] local.INFO: Extracted packet for processing {"connection_id":185819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0cd"} 
[2026-09-18 00:53:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156126464001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:53:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789672670000,"timestamp_ms":1789672670000,"timestamp_seconds":1789672670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0cdc330"} 
[2026-09-18 00:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156126464001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156126464001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:53:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156126464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":185819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:53:29] local.INFO: GPS data processed {"connection_id":185819,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:53:29] local.INFO: Acknowledgment sent {"connection_id":185819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:54:13] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:54:13] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:54:13] local.INFO: IMEI packet received {"connection_id":185644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":185644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:54:19] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:54:19] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:54:19] local.INFO: IMEI packet received {"connection_id":185644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":185644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:54:20] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:54:20] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:54:20] local.INFO: Packet analysis {"connection_id":185644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:54:20] local.INFO: Extracted packet for processing {"connection_id":185644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":185644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:54:20] local.INFO: GPS data processed {"connection_id":185644,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:54:20] local.INFO: Acknowledgment sent {"connection_id":185644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:54:51] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:54:51] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:54:51] local.INFO: Packet analysis {"connection_id":185644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:54:51] local.INFO: Extracted packet for processing {"connection_id":185644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":185644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:54:51] local.INFO: GPS data processed {"connection_id":185644,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:54:51] local.INFO: Acknowledgment sent {"connection_id":185644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:55:13] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:55:13] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:55:13] local.INFO: IMEI packet received {"connection_id":188430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:55:19] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:55:19] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:55:19] local.INFO: IMEI packet received {"connection_id":188430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":188430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:55:20] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:55:20] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:55:20] local.INFO: Packet analysis {"connection_id":188430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:55:20] local.INFO: Extracted packet for processing {"connection_id":188430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":188430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:55:20] local.INFO: GPS data processed {"connection_id":188430,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:55:20] local.INFO: Acknowledgment sent {"connection_id":188430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:55:52] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:55:52] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:55:52] local.INFO: Packet analysis {"connection_id":188430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:55:52] local.INFO: Extracted packet for processing {"connection_id":188430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":188430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:55:52] local.INFO: GPS data processed {"connection_id":188430,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:55:52] local.INFO: Acknowledgment sent {"connection_id":188430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:56:13] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:56:13] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:56:13] local.INFO: IMEI packet received {"connection_id":185820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":185820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:56:19] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:56:19] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:56:19] local.INFO: IMEI packet received {"connection_id":185820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":185820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:56:20] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:56:20] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:56:20] local.INFO: Packet analysis {"connection_id":185820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:56:20] local.INFO: Extracted packet for processing {"connection_id":185820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":185820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:56:20] local.INFO: GPS data processed {"connection_id":185820,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:56:20] local.INFO: Acknowledgment sent {"connection_id":185820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:56:51] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:56:51] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:56:51] local.INFO: Packet analysis {"connection_id":185820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:56:51] local.INFO: Extracted packet for processing {"connection_id":185820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:56:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":185820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:56:51] local.INFO: GPS data processed {"connection_id":185820,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:56:51] local.INFO: Acknowledgment sent {"connection_id":185820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:57:19] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:57:19] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:57:19] local.INFO: IMEI packet received {"connection_id":188431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":188431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:57:24] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:57:24] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:57:24] local.INFO: IMEI packet received {"connection_id":188431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":188431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:57:25] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:57:25] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:57:25] local.INFO: Packet analysis {"connection_id":188431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:57:25] local.INFO: Extracted packet for processing {"connection_id":188431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:57:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":188431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:57:25] local.INFO: GPS data processed {"connection_id":188431,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:57:25] local.INFO: Acknowledgment sent {"connection_id":188431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:57:29] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:57:29] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:57:29] local.INFO: Packet analysis {"connection_id":188431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:57:29] local.INFO: Extracted packet for processing {"connection_id":188431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:57:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:57:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:57: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-09-18 00:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:57:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":188431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:57:29] local.INFO: GPS data processed {"connection_id":188431,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:57:29] local.INFO: Acknowledgment sent {"connection_id":188431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:58:14] local.INFO: TCP Data received {"connection_id":185645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:58:14] local.INFO: Processing buffer {"connection_id":185645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:58:14] local.INFO: IMEI packet received {"connection_id":185645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":185645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:58:19] local.INFO: TCP Data received {"connection_id":185645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:58:19] local.INFO: Processing buffer {"connection_id":185645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:58:19] local.INFO: IMEI packet received {"connection_id":185645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":185645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:58:20] local.INFO: TCP Data received {"connection_id":185645,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:58:20] local.INFO: Processing buffer {"connection_id":185645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d25af8012d34c14006aa4440000a011827..."} 
[2026-09-18 00:58:20] local.INFO: Packet analysis {"connection_id":185645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:58:20] local.INFO: Extracted packet for processing {"connection_id":185645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d2"} 
[2026-09-18 00:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156203520001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789672971000,"timestamp_ms":1789672971000,"timestamp_seconds":1789672971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d25af8"} 
[2026-09-18 00:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 00:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156203520001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156203520001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156203520001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":185645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:58:20] local.INFO: GPS data processed {"connection_id":185645,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:58:20] local.INFO: Acknowledgment sent {"connection_id":185645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:58:22] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:58:22] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 00:58:22] local.INFO: IMEI packet received {"connection_id":185821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 00:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":185821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:58:51] local.INFO: TCP Data received {"connection_id":185645,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:58:51] local.INFO: Processing buffer {"connection_id":185645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:58:51] local.INFO: Packet analysis {"connection_id":185645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 00:58:51] local.INFO: Extracted packet for processing {"connection_id":185645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 00:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 00:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":185645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:58:51] local.INFO: GPS data processed {"connection_id":185645,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:58:51] local.INFO: Acknowledgment sent {"connection_id":185645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:59:13] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:59:13] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:59:13] local.INFO: IMEI packet received {"connection_id":188432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 00:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":188432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 00:59:19] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:59:19] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 00:59:19] local.INFO: IMEI packet received {"connection_id":188432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 00:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":188432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 00:59:20] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:59:20] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:59:20] local.INFO: Packet analysis {"connection_id":188432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 00:59:20] local.INFO: Extracted packet for processing {"connection_id":188432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 00:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 00:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 00:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 00:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":188432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:59:20] local.INFO: GPS data processed {"connection_id":188432,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:59:20] local.INFO: Acknowledgment sent {"connection_id":188432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 00:59:52] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:59:52] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 00:59:52] local.INFO: Packet analysis {"connection_id":188432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 00:59:52] local.INFO: Extracted packet for processing {"connection_id":188432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 00:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 00: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-09-18 00:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 00:59:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 00:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 00:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 00:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 00:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 00:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 00:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 00:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 00: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-09-18 00:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 00:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 00:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 00:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 00:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 00:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 00:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 00:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 00:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 00:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 00:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 00:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 00:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 00:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 00:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 00:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":188432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 00:59:52] local.INFO: GPS data processed {"connection_id":188432,"processed":1,"errors":0,"total":1} 
[2026-09-18 00:59:52] local.INFO: Acknowledgment sent {"connection_id":188432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:00:14] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:00:14] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:00:14] local.INFO: IMEI packet received {"connection_id":185822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":185822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:00:19] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:00:19] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:00:19] local.INFO: IMEI packet received {"connection_id":185822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":185822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:00:20] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:00:20] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:00:20] local.INFO: Packet analysis {"connection_id":185822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:00:20] local.INFO: Extracted packet for processing {"connection_id":185822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":185822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:00:20] local.INFO: GPS data processed {"connection_id":185822,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:00:20] local.INFO: Acknowledgment sent {"connection_id":185822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:00:51] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:00:52] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:00:52] local.INFO: Packet analysis {"connection_id":185822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:00:52] local.INFO: Extracted packet for processing {"connection_id":185822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:00:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":185822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:00:52] local.INFO: GPS data processed {"connection_id":185822,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:00:52] local.INFO: Acknowledgment sent {"connection_id":185822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:01:13] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:01:14] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:01:14] local.INFO: IMEI packet received {"connection_id":187118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":187118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:01:19] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:01:19] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:01:19] local.INFO: IMEI packet received {"connection_id":187118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":187118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:01:20] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:01:20] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:01:20] local.INFO: Packet analysis {"connection_id":187118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:01:20] local.INFO: Extracted packet for processing {"connection_id":187118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":187118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:01:20] local.INFO: GPS data processed {"connection_id":187118,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:01:20] local.INFO: Acknowledgment sent {"connection_id":187118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:01:52] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:01:52] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:01:52] local.INFO: Packet analysis {"connection_id":187118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:01:52] local.INFO: Extracted packet for processing {"connection_id":187118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":187118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:01:52] local.INFO: GPS data processed {"connection_id":187118,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:01:52] local.INFO: Acknowledgment sent {"connection_id":187118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:02:19] local.INFO: TCP Data received {"connection_id":185646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:02:19] local.INFO: Processing buffer {"connection_id":185646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:02:19] local.INFO: IMEI packet received {"connection_id":185646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":185646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:02:24] local.INFO: TCP Data received {"connection_id":185646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:02:24] local.INFO: Processing buffer {"connection_id":185646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:02:24] local.INFO: IMEI packet received {"connection_id":185646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":185646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:02:25] local.INFO: TCP Data received {"connection_id":185646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:02:25] local.INFO: Processing buffer {"connection_id":185646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:02:25] local.INFO: Packet analysis {"connection_id":185646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:02:25] local.INFO: Extracted packet for processing {"connection_id":185646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:02:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":185646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:02:25] local.INFO: GPS data processed {"connection_id":185646,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:02:25] local.INFO: Acknowledgment sent {"connection_id":185646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:02:29] local.INFO: TCP Data received {"connection_id":185646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:02:29] local.INFO: Processing buffer {"connection_id":185646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:02:29] local.INFO: Packet analysis {"connection_id":185646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:02:29] local.INFO: Extracted packet for processing {"connection_id":185646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:02:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:02:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:02:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":185646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:02:29] local.INFO: GPS data processed {"connection_id":185646,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:02:29] local.INFO: Acknowledgment sent {"connection_id":185646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:03:14] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:03:14] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:03:14] local.INFO: IMEI packet received {"connection_id":185823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":185823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:03:19] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:03:19] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:03:19] local.INFO: IMEI packet received {"connection_id":185823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":185823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:03:24] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:03:24] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0d6f2c0012d34c14006aa4440000a011827..."} 
[2026-09-18 01:03:24] local.INFO: Packet analysis {"connection_id":185823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:03:24] local.INFO: Extracted packet for processing {"connection_id":185823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0d6"} 
[2026-09-18 01:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156280576001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:03:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789673272000,"timestamp_ms":1789673272000,"timestamp_seconds":1789673272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0d6f2c0"} 
[2026-09-18 01:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156280576001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156280576001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156280576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":185823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:03:24] local.INFO: GPS data processed {"connection_id":185823,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:03:24] local.INFO: Acknowledgment sent {"connection_id":185823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:03:57] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:03:57] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:03:57] local.INFO: Packet analysis {"connection_id":185823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:03:57] local.INFO: Extracted packet for processing {"connection_id":185823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:03:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:03: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-09-18 01:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":185823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:03:57] local.INFO: GPS data processed {"connection_id":185823,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:03:57] local.INFO: Acknowledgment sent {"connection_id":185823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:04:13] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:04:13] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:04:13] local.INFO: IMEI packet received {"connection_id":185647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":185647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:04:19] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:04:19] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:04:19] local.INFO: IMEI packet received {"connection_id":185647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":185647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:04:20] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:04:20] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:04:20] local.INFO: Packet analysis {"connection_id":185647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:04:20] local.INFO: Extracted packet for processing {"connection_id":185647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":185647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:04:20] local.INFO: GPS data processed {"connection_id":185647,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:04:20] local.INFO: Acknowledgment sent {"connection_id":185647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:04:51] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:04:51] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:04:51] local.INFO: Packet analysis {"connection_id":185647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:04:51] local.INFO: Extracted packet for processing {"connection_id":185647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:04:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:04: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":185647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:04:51] local.INFO: GPS data processed {"connection_id":185647,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:04:51] local.INFO: Acknowledgment sent {"connection_id":185647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:05:14] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:05:14] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:05:14] local.INFO: IMEI packet received {"connection_id":188433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:05:19] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:05:19] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:05:19] local.INFO: IMEI packet received {"connection_id":188433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":188433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:05:20] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:05:20] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:05:20] local.INFO: Packet analysis {"connection_id":188433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:05:20] local.INFO: Extracted packet for processing {"connection_id":188433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":188433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:05:20] local.INFO: GPS data processed {"connection_id":188433,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:05:20] local.INFO: Acknowledgment sent {"connection_id":188433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:05:51] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:05:51] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:05:51] local.INFO: Packet analysis {"connection_id":188433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:05:51] local.INFO: Extracted packet for processing {"connection_id":188433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:05:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:05: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":188433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:05:51] local.INFO: GPS data processed {"connection_id":188433,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:05:51] local.INFO: Acknowledgment sent {"connection_id":188433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:06:19] local.INFO: TCP Data received {"connection_id":185648,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:06:19] local.INFO: Processing buffer {"connection_id":185648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:06:19] local.INFO: IMEI packet received {"connection_id":185648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":185648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:06:24] local.INFO: TCP Data received {"connection_id":185648,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:06:24] local.INFO: Processing buffer {"connection_id":185648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:06:24] local.INFO: IMEI packet received {"connection_id":185648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":185648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:06:27] local.INFO: TCP Data received {"connection_id":185648,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:06:27] local.INFO: Processing buffer {"connection_id":185648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:06:27] local.INFO: Packet analysis {"connection_id":185648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:06:27] local.INFO: Extracted packet for processing {"connection_id":185648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:06:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:06: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-09-18 01:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:06:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":185648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:06:27] local.INFO: GPS data processed {"connection_id":185648,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:06:27] local.INFO: Acknowledgment sent {"connection_id":185648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:06:29] local.INFO: TCP Data received {"connection_id":185648,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:06:29] local.INFO: Processing buffer {"connection_id":185648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:06:29] local.INFO: Packet analysis {"connection_id":185648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:06:29] local.INFO: Extracted packet for processing {"connection_id":185648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:06:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:06:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:06:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":185648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:06:29] local.INFO: GPS data processed {"connection_id":185648,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:06:29] local.INFO: Acknowledgment sent {"connection_id":185648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:07:14] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:07:14] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:07:14] local.INFO: IMEI packet received {"connection_id":185649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":185649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:07:19] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:07:19] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:07:19] local.INFO: IMEI packet received {"connection_id":185649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":185649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:07:20] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:07:20] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:07:20] local.INFO: Packet analysis {"connection_id":185649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:07:20] local.INFO: Extracted packet for processing {"connection_id":185649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":185649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:07:20] local.INFO: GPS data processed {"connection_id":185649,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:07:20] local.INFO: Acknowledgment sent {"connection_id":185649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:07:51] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:07:51] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:07:51] local.INFO: Packet analysis {"connection_id":185649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:07:51] local.INFO: Extracted packet for processing {"connection_id":185649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:07:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:07: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":185649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:07:51] local.INFO: GPS data processed {"connection_id":185649,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:07:51] local.INFO: Acknowledgment sent {"connection_id":185649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:08:16] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:08:16] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:08:16] local.INFO: IMEI packet received {"connection_id":185824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":185824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:08:19] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:08:19] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:08:19] local.INFO: IMEI packet received {"connection_id":185824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":185824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:08:20] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:20] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:20] local.INFO: Packet analysis {"connection_id":185824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:08:20] local.INFO: Extracted packet for processing {"connection_id":185824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":185824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:08:20] local.INFO: GPS data processed {"connection_id":185824,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:08:20] local.INFO: Acknowledgment sent {"connection_id":185824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:08:24] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:24] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0db8a88012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:24] local.INFO: Packet analysis {"connection_id":185824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:08:24] local.INFO: Extracted packet for processing {"connection_id":185824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0db"} 
[2026-09-18 01:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156357632001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789673573000,"timestamp_ms":1789673573000,"timestamp_seconds":1789673573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0db8a88"} 
[2026-09-18 01:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156357632001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156357632001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156357632001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":185824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:08:24] local.INFO: GPS data processed {"connection_id":185824,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:08:24] local.INFO: Acknowledgment sent {"connection_id":185824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:08:55] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:55] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:08:55] local.INFO: Packet analysis {"connection_id":185824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:08:55] local.INFO: Extracted packet for processing {"connection_id":185824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:08: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-09-18 01: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-09-18 01:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":185824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:08:55] local.INFO: GPS data processed {"connection_id":185824,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:08:55] local.INFO: Acknowledgment sent {"connection_id":185824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:09:14] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:09:14] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:09:14] local.INFO: IMEI packet received {"connection_id":185825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":185825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:09:19] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:09:19] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:09:19] local.INFO: IMEI packet received {"connection_id":185825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":185825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:09:20] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:09:20] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:09:20] local.INFO: Packet analysis {"connection_id":185825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:09:20] local.INFO: Extracted packet for processing {"connection_id":185825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:09:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":185825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:09:20] local.INFO: GPS data processed {"connection_id":185825,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:09:20] local.INFO: Acknowledgment sent {"connection_id":185825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:09:51] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:09:51] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:09:51] local.INFO: Packet analysis {"connection_id":185825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:09:51] local.INFO: Extracted packet for processing {"connection_id":185825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:09:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:09: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-09-18 01:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":185825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:09:51] local.INFO: GPS data processed {"connection_id":185825,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:09:51] local.INFO: Acknowledgment sent {"connection_id":185825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:10:19] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:10:19] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:10:19] local.INFO: IMEI packet received {"connection_id":185826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":185826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:10:24] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:10:24] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:10:24] local.INFO: IMEI packet received {"connection_id":185826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":185826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:10:25] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:10:25] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:10:25] local.INFO: Packet analysis {"connection_id":185826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:10:25] local.INFO: Extracted packet for processing {"connection_id":185826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:10:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":185826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:10:25] local.INFO: GPS data processed {"connection_id":185826,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:10:25] local.INFO: Acknowledgment sent {"connection_id":185826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:10:29] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:10:29] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:10:29] local.INFO: Packet analysis {"connection_id":185826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:10:29] local.INFO: Extracted packet for processing {"connection_id":185826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:10:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:10:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:10:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":185826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:10:29] local.INFO: GPS data processed {"connection_id":185826,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:10:29] local.INFO: Acknowledgment sent {"connection_id":185826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:11:14] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:11:14] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:11:14] local.INFO: IMEI packet received {"connection_id":185650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":185650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:11:19] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:11:19] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:11:19] local.INFO: IMEI packet received {"connection_id":185650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":185650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:11:20] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:11:20] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:11:20] local.INFO: Packet analysis {"connection_id":185650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:11:20] local.INFO: Extracted packet for processing {"connection_id":185650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":185650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:11:20] local.INFO: GPS data processed {"connection_id":185650,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:11:20] local.INFO: Acknowledgment sent {"connection_id":185650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:11:52] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:11:52] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:11:52] local.INFO: Packet analysis {"connection_id":185650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:11:52] local.INFO: Extracted packet for processing {"connection_id":185650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":185650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:11:52] local.INFO: GPS data processed {"connection_id":185650,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:11:52] local.INFO: Acknowledgment sent {"connection_id":185650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:12:14] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:12:14] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:12:14] local.INFO: IMEI packet received {"connection_id":187119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":187119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:12:19] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:12:19] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:12:19] local.INFO: IMEI packet received {"connection_id":187119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":187119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:12:20] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:12:20] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:12:20] local.INFO: Packet analysis {"connection_id":187119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:12:20] local.INFO: Extracted packet for processing {"connection_id":187119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":187119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:12:20] local.INFO: GPS data processed {"connection_id":187119,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:12:20] local.INFO: Acknowledgment sent {"connection_id":187119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:12:51] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:12:51] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:12:51] local.INFO: Packet analysis {"connection_id":187119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:12:51] local.INFO: Extracted packet for processing {"connection_id":187119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:12:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:12: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":187119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:12:51] local.INFO: GPS data processed {"connection_id":187119,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:12:51] local.INFO: Acknowledgment sent {"connection_id":187119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:13:13] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:13:13] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:13:13] local.INFO: IMEI packet received {"connection_id":187120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:13:19] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:13:19] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:13:19] local.INFO: IMEI packet received {"connection_id":187120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":187120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:13:20] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:13:20] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e02250012d34c14006aa4440000a011828..."} 
[2026-09-18 01:13:20] local.INFO: Packet analysis {"connection_id":187120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:13:20] local.INFO: Extracted packet for processing {"connection_id":187120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e0"} 
[2026-09-18 01:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156434688001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789673874000,"timestamp_ms":1789673874000,"timestamp_seconds":1789673874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e02250"} 
[2026-09-18 01:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156434688001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156434688001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156434688001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":187120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:13:20] local.INFO: GPS data processed {"connection_id":187120,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:13:20] local.INFO: Acknowledgment sent {"connection_id":187120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:13:51] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:13:51] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:13:51] local.INFO: Packet analysis {"connection_id":187120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:13:51] local.INFO: Extracted packet for processing {"connection_id":187120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:13:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:13: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-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":187120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:13:51] local.INFO: GPS data processed {"connection_id":187120,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:13:51] local.INFO: Acknowledgment sent {"connection_id":187120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:14:14] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:14:14] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:14:14] local.INFO: IMEI packet received {"connection_id":187121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":187121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:14:19] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:14:19] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:14:19] local.INFO: IMEI packet received {"connection_id":187121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":187121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:14:20] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:14:20] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:14:20] local.INFO: Packet analysis {"connection_id":187121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:14:20] local.INFO: Extracted packet for processing {"connection_id":187121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:14:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":187121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:14:20] local.INFO: GPS data processed {"connection_id":187121,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:14:20] local.INFO: Acknowledgment sent {"connection_id":187121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:14:51] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:14:51] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:14:51] local.INFO: Packet analysis {"connection_id":187121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:14:51] local.INFO: Extracted packet for processing {"connection_id":187121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:14: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-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":187121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:14:51] local.INFO: GPS data processed {"connection_id":187121,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:14:51] local.INFO: Acknowledgment sent {"connection_id":187121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:15:14] local.INFO: TCP Data received {"connection_id":185827,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:15:14] local.INFO: Processing buffer {"connection_id":185827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:15:14] local.INFO: IMEI packet received {"connection_id":185827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":185827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:15:19] local.INFO: TCP Data received {"connection_id":185827,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:15:19] local.INFO: Processing buffer {"connection_id":185827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:15:19] local.INFO: IMEI packet received {"connection_id":185827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":185827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:15:20] local.INFO: TCP Data received {"connection_id":185827,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:15:20] local.INFO: Processing buffer {"connection_id":185827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:15:20] local.INFO: Packet analysis {"connection_id":185827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:15:20] local.INFO: Extracted packet for processing {"connection_id":185827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":185827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:15:20] local.INFO: GPS data processed {"connection_id":185827,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:15:20] local.INFO: Acknowledgment sent {"connection_id":185827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:15:51] local.INFO: TCP Data received {"connection_id":185827,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:15:51] local.INFO: Processing buffer {"connection_id":185827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:15:51] local.INFO: Packet analysis {"connection_id":185827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:15:51] local.INFO: Extracted packet for processing {"connection_id":185827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:15:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:15: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-09-18 01:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":185827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:15:51] local.INFO: GPS data processed {"connection_id":185827,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:15:51] local.INFO: Acknowledgment sent {"connection_id":185827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:16:13] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:16:13] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:16:13] local.INFO: IMEI packet received {"connection_id":185651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":185651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:16:19] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:16:19] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:16:19] local.INFO: IMEI packet received {"connection_id":185651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":185651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:16:20] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:16:20] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:16:20] local.INFO: Packet analysis {"connection_id":185651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:16:20] local.INFO: Extracted packet for processing {"connection_id":185651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":185651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:16:20] local.INFO: GPS data processed {"connection_id":185651,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:16:20] local.INFO: Acknowledgment sent {"connection_id":185651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:16:51] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:16:51] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:16:51] local.INFO: Packet analysis {"connection_id":185651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:16:51] local.INFO: Extracted packet for processing {"connection_id":185651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:16: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-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":185651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:16:51] local.INFO: GPS data processed {"connection_id":185651,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:16:51] local.INFO: Acknowledgment sent {"connection_id":185651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:17:13] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:17:13] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:17:13] local.INFO: IMEI packet received {"connection_id":185828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":185828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:17:19] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:17:19] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:17:19] local.INFO: IMEI packet received {"connection_id":185828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":185828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:17:20] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:17:20] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:17:20] local.INFO: Packet analysis {"connection_id":185828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:17:20] local.INFO: Extracted packet for processing {"connection_id":185828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:17:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":185828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:17:20] local.INFO: GPS data processed {"connection_id":185828,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:17:20] local.INFO: Acknowledgment sent {"connection_id":185828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:17:51] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:17:51] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:17:51] local.INFO: Packet analysis {"connection_id":185828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:17:51] local.INFO: Extracted packet for processing {"connection_id":185828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:17:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:17: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-09-18 01:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":185828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:17:51] local.INFO: GPS data processed {"connection_id":185828,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:17:51] local.INFO: Acknowledgment sent {"connection_id":185828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:18:13] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:13] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:13] local.INFO: IMEI packet received {"connection_id":185829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":185829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:18:20] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:20] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:20] local.INFO: IMEI packet received {"connection_id":185829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":185829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:18:24] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:24] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:18:24] local.INFO: IMEI packet received {"connection_id":185829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":185829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:18:25] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:18:25] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e4ba18012d34c14006aa4440000a011828..."} 
[2026-09-18 01:18:25] local.INFO: Packet analysis {"connection_id":185829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:18:25] local.INFO: Extracted packet for processing {"connection_id":185829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e4"} 
[2026-09-18 01:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156511744001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789674175000,"timestamp_ms":1789674175000,"timestamp_seconds":1789674175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e4ba18"} 
[2026-09-18 01:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156511744001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156511744001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156511744001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":185829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:18:25] local.INFO: GPS data processed {"connection_id":185829,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:18:25] local.INFO: Acknowledgment sent {"connection_id":185829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:18:56] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:18:56] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:18:56] local.INFO: Packet analysis {"connection_id":185829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:18:56] local.INFO: Extracted packet for processing {"connection_id":185829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:18:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":185829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:18:56] local.INFO: GPS data processed {"connection_id":185829,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:18:56] local.INFO: Acknowledgment sent {"connection_id":185829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:19:14] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:19:14] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:19:14] local.INFO: IMEI packet received {"connection_id":188434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":188434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:19:19] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:19:19] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:19:19] local.INFO: IMEI packet received {"connection_id":188434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":188434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:19:19] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:19:19] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:19:19] local.INFO: Packet analysis {"connection_id":188434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:19:19] local.INFO: Extracted packet for processing {"connection_id":188434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:19:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":188434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:19:19] local.INFO: GPS data processed {"connection_id":188434,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:19:19] local.INFO: Acknowledgment sent {"connection_id":188434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:19:51] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:19:51] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:19:51] local.INFO: Packet analysis {"connection_id":188434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:19:51] local.INFO: Extracted packet for processing {"connection_id":188434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:19:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":188434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:19:51] local.INFO: GPS data processed {"connection_id":188434,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:19:51] local.INFO: Acknowledgment sent {"connection_id":188434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:20:13] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:20:13] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:20:13] local.INFO: IMEI packet received {"connection_id":188435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:20:19] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:20:19] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:20:19] local.INFO: IMEI packet received {"connection_id":188435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:20:20] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:20:20] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:20:20] local.INFO: Packet analysis {"connection_id":188435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:20:20] local.INFO: Extracted packet for processing {"connection_id":188435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:20:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":188435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:20:20] local.INFO: GPS data processed {"connection_id":188435,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:20:20] local.INFO: Acknowledgment sent {"connection_id":188435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:20:51] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:20:51] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:20:51] local.INFO: Packet analysis {"connection_id":188435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:20:51] local.INFO: Extracted packet for processing {"connection_id":188435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:20:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":188435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:20:51] local.INFO: GPS data processed {"connection_id":188435,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:20:51] local.INFO: Acknowledgment sent {"connection_id":188435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:21:13] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:21:13] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:21:13] local.INFO: IMEI packet received {"connection_id":187122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":187122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:21:19] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:21:19] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:21:19] local.INFO: IMEI packet received {"connection_id":187122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":187122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:21:20] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:21:20] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:21:20] local.INFO: Packet analysis {"connection_id":187122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:21:20] local.INFO: Extracted packet for processing {"connection_id":187122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":187122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:21:20] local.INFO: GPS data processed {"connection_id":187122,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:21:20] local.INFO: Acknowledgment sent {"connection_id":187122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:21:51] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:21:51] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:21:51] local.INFO: Packet analysis {"connection_id":187122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:21:51] local.INFO: Extracted packet for processing {"connection_id":187122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:21:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":187122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:21:51] local.INFO: GPS data processed {"connection_id":187122,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:21:51] local.INFO: Acknowledgment sent {"connection_id":187122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:22:13] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:22:13] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:22:13] local.INFO: IMEI packet received {"connection_id":185652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":185652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:22:19] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:22:19] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:22:19] local.INFO: IMEI packet received {"connection_id":185652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":185652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:22:20] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:22:20] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:22:20] local.INFO: Packet analysis {"connection_id":185652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:22:20] local.INFO: Extracted packet for processing {"connection_id":185652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":185652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:22:20] local.INFO: GPS data processed {"connection_id":185652,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:22:20] local.INFO: Acknowledgment sent {"connection_id":185652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:22:51] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:22:51] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:22:51] local.INFO: Packet analysis {"connection_id":185652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:22:51] local.INFO: Extracted packet for processing {"connection_id":185652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":185652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:22:51] local.INFO: GPS data processed {"connection_id":185652,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:22:51] local.INFO: Acknowledgment sent {"connection_id":185652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:23:19] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:23:19] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:23:19] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:23:24] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:23:24] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:23:24] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:23:25] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:23:25] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:23:25] local.INFO: Packet analysis {"connection_id":188436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:23:25] local.INFO: Extracted packet for processing {"connection_id":188436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:23:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":188436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:23:25] local.INFO: GPS data processed {"connection_id":188436,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:23:25] local.INFO: Acknowledgment sent {"connection_id":188436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:23:29] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:23:29] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0e951e0012d34c14006aa4440000a011826..."} 
[2026-09-18 01:23:29] local.INFO: Packet analysis {"connection_id":188436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:23:29] local.INFO: Extracted packet for processing {"connection_id":188436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0e9"} 
[2026-09-18 01:23:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156588800001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:23:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789674476000,"timestamp_ms":1789674476000,"timestamp_seconds":1789674476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0e951e0"} 
[2026-09-18 01:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156588800001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156588800001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:23:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156588800001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":188436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:23:29] local.INFO: GPS data processed {"connection_id":188436,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:23:29] local.INFO: Acknowledgment sent {"connection_id":188436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:24:13] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:24:13] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:24:13] local.INFO: IMEI packet received {"connection_id":187123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":187123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:24:19] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:24:19] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:24:19] local.INFO: IMEI packet received {"connection_id":187123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":187123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:24:19] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:24:19] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:24:19] local.INFO: Packet analysis {"connection_id":187123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:24:19] local.INFO: Extracted packet for processing {"connection_id":187123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:24:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":187123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:24:19] local.INFO: GPS data processed {"connection_id":187123,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:24:19] local.INFO: Acknowledgment sent {"connection_id":187123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:24:51] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:24:51] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:24:51] local.INFO: Packet analysis {"connection_id":187123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:24:51] local.INFO: Extracted packet for processing {"connection_id":187123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:24:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":187123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:24:51] local.INFO: GPS data processed {"connection_id":187123,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:24:51] local.INFO: Acknowledgment sent {"connection_id":187123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:25:13] local.INFO: TCP Data received {"connection_id":185653,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:25:13] local.INFO: Processing buffer {"connection_id":185653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:25:13] local.INFO: IMEI packet received {"connection_id":185653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":185653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:25:19] local.INFO: TCP Data received {"connection_id":185653,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:25:19] local.INFO: Processing buffer {"connection_id":185653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:25:19] local.INFO: IMEI packet received {"connection_id":185653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":185653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:25:20] local.INFO: TCP Data received {"connection_id":185653,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:25:20] local.INFO: Processing buffer {"connection_id":185653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:25:20] local.INFO: Packet analysis {"connection_id":185653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:25:20] local.INFO: Extracted packet for processing {"connection_id":185653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":185653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:25:20] local.INFO: GPS data processed {"connection_id":185653,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:25:20] local.INFO: Acknowledgment sent {"connection_id":185653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:25:51] local.INFO: TCP Data received {"connection_id":185653,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:25:51] local.INFO: Processing buffer {"connection_id":185653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:25:51] local.INFO: Packet analysis {"connection_id":185653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:25:51] local.INFO: Extracted packet for processing {"connection_id":185653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:25:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":185653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:25:51] local.INFO: GPS data processed {"connection_id":185653,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:25:51] local.INFO: Acknowledgment sent {"connection_id":185653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:26:19] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:26:19] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:26:19] local.INFO: IMEI packet received {"connection_id":188437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":188437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:26:24] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:26:24] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:26:24] local.INFO: IMEI packet received {"connection_id":188437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":188437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:26:25] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:26:25] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:26:25] local.INFO: Packet analysis {"connection_id":188437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:26:25] local.INFO: Extracted packet for processing {"connection_id":188437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:26:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":188437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:26:25] local.INFO: GPS data processed {"connection_id":188437,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:26:25] local.INFO: Acknowledgment sent {"connection_id":188437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:26:29] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:26:29] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:26:29] local.INFO: Packet analysis {"connection_id":188437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:26:29] local.INFO: Extracted packet for processing {"connection_id":188437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:26:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:26:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:26:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":188437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:26:29] local.INFO: GPS data processed {"connection_id":188437,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:26:29] local.INFO: Acknowledgment sent {"connection_id":188437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:27:14] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:27:14] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:27:14] local.INFO: IMEI packet received {"connection_id":188438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:27:19] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:27:19] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:27:19] local.INFO: IMEI packet received {"connection_id":188438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":188438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:27:20] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:27:20] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:27:20] local.INFO: Packet analysis {"connection_id":188438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:27:20] local.INFO: Extracted packet for processing {"connection_id":188438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":188438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:27:20] local.INFO: GPS data processed {"connection_id":188438,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:27:20] local.INFO: Acknowledgment sent {"connection_id":188438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:27:51] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:27:51] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:27:51] local.INFO: Packet analysis {"connection_id":188438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:27:51] local.INFO: Extracted packet for processing {"connection_id":188438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:27:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":188438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:27:51] local.INFO: GPS data processed {"connection_id":188438,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:27:51] local.INFO: Acknowledgment sent {"connection_id":188438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:28:14] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:28:14] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:28:14] local.INFO: IMEI packet received {"connection_id":188439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":188439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:28:19] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:28:19] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:28:19] local.INFO: IMEI packet received {"connection_id":188439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":188439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:28:20] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:28:20] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0ede9a8012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:28:20] local.INFO: Packet analysis {"connection_id":188439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:28:20] local.INFO: Extracted packet for processing {"connection_id":188439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0ed"} 
[2026-09-18 01:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156665856001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789674777000,"timestamp_ms":1789674777000,"timestamp_seconds":1789674777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0ede9a8"} 
[2026-09-18 01:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156665856001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156665856001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156665856001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":188439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:28:20] local.INFO: GPS data processed {"connection_id":188439,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:28:20] local.INFO: Acknowledgment sent {"connection_id":188439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:28:51] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:28:51] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:28:51] local.INFO: Packet analysis {"connection_id":188439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:28:51] local.INFO: Extracted packet for processing {"connection_id":188439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:28:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":188439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:28:51] local.INFO: GPS data processed {"connection_id":188439,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:28:51] local.INFO: Acknowledgment sent {"connection_id":188439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:29:13] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:29:13] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:29:13] local.INFO: IMEI packet received {"connection_id":187124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":187124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:29:19] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:29:19] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:29:19] local.INFO: IMEI packet received {"connection_id":187124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":187124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:29:20] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:29:20] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:29:20] local.INFO: Packet analysis {"connection_id":187124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:29:20] local.INFO: Extracted packet for processing {"connection_id":187124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:29:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":187124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:29:20] local.INFO: GPS data processed {"connection_id":187124,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:29:20] local.INFO: Acknowledgment sent {"connection_id":187124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:29:51] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:29:52] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:29:52] local.INFO: Packet analysis {"connection_id":187124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:29:52] local.INFO: Extracted packet for processing {"connection_id":187124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":187124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:29:52] local.INFO: GPS data processed {"connection_id":187124,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:29:52] local.INFO: Acknowledgment sent {"connection_id":187124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:30:13] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:30:13] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:30:13] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:30:19] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:30:19] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:30:19] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:30:20] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:30:20] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:30:20] local.INFO: Packet analysis {"connection_id":187125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:30:20] local.INFO: Extracted packet for processing {"connection_id":187125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":187125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:30:20] local.INFO: GPS data processed {"connection_id":187125,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:30:20] local.INFO: Acknowledgment sent {"connection_id":187125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:30:52] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:30:52] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:30:52] local.INFO: Packet analysis {"connection_id":187125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:30:52] local.INFO: Extracted packet for processing {"connection_id":187125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":187125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:30:52] local.INFO: GPS data processed {"connection_id":187125,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:30:52] local.INFO: Acknowledgment sent {"connection_id":187125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:31:19] local.INFO: TCP Data received {"connection_id":185830,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:31:19] local.INFO: Processing buffer {"connection_id":185830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:31:19] local.INFO: IMEI packet received {"connection_id":185830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":185830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:31:24] local.INFO: TCP Data received {"connection_id":185830,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:31:24] local.INFO: Processing buffer {"connection_id":185830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:31:24] local.INFO: IMEI packet received {"connection_id":185830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":185830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:31:25] local.INFO: TCP Data received {"connection_id":185830,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:31:25] local.INFO: Processing buffer {"connection_id":185830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:31:25] local.INFO: Packet analysis {"connection_id":185830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:31:25] local.INFO: Extracted packet for processing {"connection_id":185830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:31:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":185830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:31:25] local.INFO: GPS data processed {"connection_id":185830,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:31:25] local.INFO: Acknowledgment sent {"connection_id":185830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:31:56] local.INFO: TCP Data received {"connection_id":185830,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:31:56] local.INFO: Processing buffer {"connection_id":185830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:31:56] local.INFO: Packet analysis {"connection_id":185830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:31:56] local.INFO: Extracted packet for processing {"connection_id":185830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:31:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:31:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":185830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:31:56] local.INFO: GPS data processed {"connection_id":185830,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:31:56] local.INFO: Acknowledgment sent {"connection_id":185830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:32:14] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:32:14] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:32:14] local.INFO: IMEI packet received {"connection_id":187126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":187126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:32:19] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:32:19] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:32:19] local.INFO: IMEI packet received {"connection_id":187126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":187126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:32:20] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:32:20] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:32:20] local.INFO: Packet analysis {"connection_id":187126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:32:20] local.INFO: Extracted packet for processing {"connection_id":187126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":187126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:32:20] local.INFO: GPS data processed {"connection_id":187126,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:32:20] local.INFO: Acknowledgment sent {"connection_id":187126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:32:51] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:32:51] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:32:51] local.INFO: Packet analysis {"connection_id":187126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:32:51] local.INFO: Extracted packet for processing {"connection_id":187126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:32:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":187126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:32:51] local.INFO: GPS data processed {"connection_id":187126,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:32:51] local.INFO: Acknowledgment sent {"connection_id":187126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:33:14] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:33:14] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:33:14] local.INFO: IMEI packet received {"connection_id":185654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":185654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:33:19] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:33:19] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:33:19] local.INFO: IMEI packet received {"connection_id":185654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:33:20] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:33:20] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f28170012d34c14006aa4440000a011829..."} 
[2026-09-18 01:33:20] local.INFO: Packet analysis {"connection_id":185654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:33:20] local.INFO: Extracted packet for processing {"connection_id":185654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f2"} 
[2026-09-18 01:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675078000,"timestamp_ms":1789675078000,"timestamp_seconds":1789675078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f28170"} 
[2026-09-18 01:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156742912001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156742912001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":185654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:33:20] local.INFO: GPS data processed {"connection_id":185654,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:33:20] local.INFO: Acknowledgment sent {"connection_id":185654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:33:51] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:33:51] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:33:51] local.INFO: Packet analysis {"connection_id":185654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:33:51] local.INFO: Extracted packet for processing {"connection_id":185654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:33: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":185654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:33:51] local.INFO: GPS data processed {"connection_id":185654,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:33:51] local.INFO: Acknowledgment sent {"connection_id":185654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:34:13] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:34:13] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:34:13] local.INFO: IMEI packet received {"connection_id":188440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:34:19] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:34:19] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:34:19] local.INFO: IMEI packet received {"connection_id":188440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:34:20] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:34:20] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:34:20] local.INFO: Packet analysis {"connection_id":188440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:34:20] local.INFO: Extracted packet for processing {"connection_id":188440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":188440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:34:20] local.INFO: GPS data processed {"connection_id":188440,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:34:20] local.INFO: Acknowledgment sent {"connection_id":188440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:34:52] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:34:52] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:34:52] local.INFO: Packet analysis {"connection_id":188440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:34:52] local.INFO: Extracted packet for processing {"connection_id":188440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:34: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":188440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:34:52] local.INFO: GPS data processed {"connection_id":188440,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:34:52] local.INFO: Acknowledgment sent {"connection_id":188440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:35:19] local.INFO: TCP Data received {"connection_id":185831,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:35:19] local.INFO: Processing buffer {"connection_id":185831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:35:19] local.INFO: IMEI packet received {"connection_id":185831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:35:24] local.INFO: TCP Data received {"connection_id":185831,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:35:24] local.INFO: Processing buffer {"connection_id":185831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:35:24] local.INFO: IMEI packet received {"connection_id":185831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":185831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:35:25] local.INFO: TCP Data received {"connection_id":185831,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:35:25] local.INFO: Processing buffer {"connection_id":185831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:35:25] local.INFO: Packet analysis {"connection_id":185831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:35:25] local.INFO: Extracted packet for processing {"connection_id":185831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:35:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":185831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:35:25] local.INFO: GPS data processed {"connection_id":185831,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:35:25] local.INFO: Acknowledgment sent {"connection_id":185831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:35:29] local.INFO: TCP Data received {"connection_id":185831,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:35:29] local.INFO: Processing buffer {"connection_id":185831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:35:29] local.INFO: Packet analysis {"connection_id":185831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:35:29] local.INFO: Extracted packet for processing {"connection_id":185831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:35:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:35:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:35:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":185831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:35:29] local.INFO: GPS data processed {"connection_id":185831,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:35:29] local.INFO: Acknowledgment sent {"connection_id":185831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:36:14] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:36:14] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:36:14] local.INFO: IMEI packet received {"connection_id":187127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":187127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:36:19] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:36:19] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:36:19] local.INFO: IMEI packet received {"connection_id":187127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":187127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:36:20] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:36:20] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:36:20] local.INFO: Packet analysis {"connection_id":187127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:36:20] local.INFO: Extracted packet for processing {"connection_id":187127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:36:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":187127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:36:20] local.INFO: GPS data processed {"connection_id":187127,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:36:20] local.INFO: Acknowledgment sent {"connection_id":187127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:36:51] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:36:51] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:36:51] local.INFO: Packet analysis {"connection_id":187127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:36:51] local.INFO: Extracted packet for processing {"connection_id":187127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:36:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:36: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":187127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:36:51] local.INFO: GPS data processed {"connection_id":187127,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:36:51] local.INFO: Acknowledgment sent {"connection_id":187127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:37:15] local.INFO: TCP Data received {"connection_id":185832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:37:15] local.INFO: Processing buffer {"connection_id":185832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:37:15] local.INFO: IMEI packet received {"connection_id":185832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":185832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:37:19] local.INFO: TCP Data received {"connection_id":185832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:37:19] local.INFO: Processing buffer {"connection_id":185832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:37:19] local.INFO: IMEI packet received {"connection_id":185832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:37:20] local.INFO: TCP Data received {"connection_id":185832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:37:20] local.INFO: Processing buffer {"connection_id":185832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:37:20] local.INFO: Packet analysis {"connection_id":185832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:37:20] local.INFO: Extracted packet for processing {"connection_id":185832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":185832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:37:20] local.INFO: GPS data processed {"connection_id":185832,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:37:20] local.INFO: Acknowledgment sent {"connection_id":185832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:37:51] local.INFO: TCP Data received {"connection_id":185832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:37:51] local.INFO: Processing buffer {"connection_id":185832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:37:51] local.INFO: Packet analysis {"connection_id":185832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:37:51] local.INFO: Extracted packet for processing {"connection_id":185832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:37:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:37: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":185832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:37:51] local.INFO: GPS data processed {"connection_id":185832,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:37:51] local.INFO: Acknowledgment sent {"connection_id":185832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:38:13] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:38:13] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:38:13] local.INFO: IMEI packet received {"connection_id":185655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":185655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:38:19] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:38:19] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:38:19] local.INFO: IMEI packet received {"connection_id":185655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:38:20] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:38:20] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0f71938012d34c14006aa4440000a01182a..."} 
[2026-09-18 01:38:20] local.INFO: Packet analysis {"connection_id":185655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:38:20] local.INFO: Extracted packet for processing {"connection_id":185655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0f7"} 
[2026-09-18 01:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156819968001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675379000,"timestamp_ms":1789675379000,"timestamp_seconds":1789675379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0f71938"} 
[2026-09-18 01:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156819968001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156819968001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156819968001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":185655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:38:20] local.INFO: GPS data processed {"connection_id":185655,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:38:20] local.INFO: Acknowledgment sent {"connection_id":185655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:38:51] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:38:51] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:38:51] local.INFO: Packet analysis {"connection_id":185655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:38:51] local.INFO: Extracted packet for processing {"connection_id":185655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:38: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-09-18 01:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":185655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:38:51] local.INFO: GPS data processed {"connection_id":185655,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:38:51] local.INFO: Acknowledgment sent {"connection_id":185655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:39:13] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:39:13] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:39:13] local.INFO: IMEI packet received {"connection_id":185833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":185833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:39:19] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:39:19] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:39:19] local.INFO: IMEI packet received {"connection_id":185833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:39:20] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:39:20] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:39:20] local.INFO: Packet analysis {"connection_id":185833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:39:20] local.INFO: Extracted packet for processing {"connection_id":185833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":185833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:39:20] local.INFO: GPS data processed {"connection_id":185833,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:39:20] local.INFO: Acknowledgment sent {"connection_id":185833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:39:51] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:39:51] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:39:51] local.INFO: Packet analysis {"connection_id":185833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:39:51] local.INFO: Extracted packet for processing {"connection_id":185833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:39:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:39: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-09-18 01:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":185833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:39:51] local.INFO: GPS data processed {"connection_id":185833,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:39:51] local.INFO: Acknowledgment sent {"connection_id":185833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:40:19] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:40:19] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:40:19] local.INFO: IMEI packet received {"connection_id":187128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":187128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:40:24] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:40:24] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:40:24] local.INFO: IMEI packet received {"connection_id":187128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":187128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:40:25] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:40:25] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:40:25] local.INFO: Packet analysis {"connection_id":187128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:40:25] local.INFO: Extracted packet for processing {"connection_id":187128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:40:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":187128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:40:25] local.INFO: GPS data processed {"connection_id":187128,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:40:25] local.INFO: Acknowledgment sent {"connection_id":187128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:40:29] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:40:29] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:40:29] local.INFO: Packet analysis {"connection_id":187128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:40:29] local.INFO: Extracted packet for processing {"connection_id":187128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:40:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:40:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:40:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":187128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:40:29] local.INFO: GPS data processed {"connection_id":187128,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:40:29] local.INFO: Acknowledgment sent {"connection_id":187128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:41:14] local.INFO: TCP Data received {"connection_id":188441,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:41:14] local.INFO: Processing buffer {"connection_id":188441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:41:14] local.INFO: IMEI packet received {"connection_id":188441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:41:19] local.INFO: TCP Data received {"connection_id":188441,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:41:19] local.INFO: Processing buffer {"connection_id":188441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:41:19] local.INFO: IMEI packet received {"connection_id":188441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":188441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:41:20] local.INFO: TCP Data received {"connection_id":188441,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:41:20] local.INFO: Processing buffer {"connection_id":188441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:41:20] local.INFO: Packet analysis {"connection_id":188441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:41:20] local.INFO: Extracted packet for processing {"connection_id":188441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":188441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:41:20] local.INFO: GPS data processed {"connection_id":188441,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:41:20] local.INFO: Acknowledgment sent {"connection_id":188441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:41:51] local.INFO: TCP Data received {"connection_id":188441,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:41:51] local.INFO: Processing buffer {"connection_id":188441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:41:51] local.INFO: Packet analysis {"connection_id":188441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:41:51] local.INFO: Extracted packet for processing {"connection_id":188441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:41:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:41: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-09-18 01:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":188441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:41:51] local.INFO: GPS data processed {"connection_id":188441,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:41:51] local.INFO: Acknowledgment sent {"connection_id":188441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:42:13] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:42:13] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:42:13] local.INFO: IMEI packet received {"connection_id":185656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":185656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:42:19] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:42:19] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:42:19] local.INFO: IMEI packet received {"connection_id":185656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":185656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:42:20] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:42:20] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:42:20] local.INFO: Packet analysis {"connection_id":185656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:42:20] local.INFO: Extracted packet for processing {"connection_id":185656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":185656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:42:20] local.INFO: GPS data processed {"connection_id":185656,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:42:20] local.INFO: Acknowledgment sent {"connection_id":185656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:42:51] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:42:51] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:42:51] local.INFO: Packet analysis {"connection_id":185656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:42:51] local.INFO: Extracted packet for processing {"connection_id":185656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:42: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-09-18 01:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":185656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:42:51] local.INFO: GPS data processed {"connection_id":185656,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:42:51] local.INFO: Acknowledgment sent {"connection_id":185656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:43:13] local.INFO: TCP Data received {"connection_id":185834,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:43:13] local.INFO: Processing buffer {"connection_id":185834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:43:13] local.INFO: IMEI packet received {"connection_id":185834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":185834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:43:21] local.INFO: TCP Data received {"connection_id":185834,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:43:21] local.INFO: Processing buffer {"connection_id":185834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:43:21] local.INFO: IMEI packet received {"connection_id":185834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":185834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:43:22] local.INFO: TCP Data received {"connection_id":185834,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:43:22] local.INFO: Processing buffer {"connection_id":185834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0fbb100012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:43:22] local.INFO: Packet analysis {"connection_id":185834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:43:22] local.INFO: Extracted packet for processing {"connection_id":185834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b0fb"} 
[2026-09-18 01:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:43:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789675680000,"timestamp_ms":1789675680000,"timestamp_seconds":1789675680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0fbb100"} 
[2026-09-18 01:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156897024001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156897024001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":185834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:43:22] local.INFO: GPS data processed {"connection_id":185834,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:43:22] local.INFO: Acknowledgment sent {"connection_id":185834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:43:54] local.INFO: TCP Data received {"connection_id":185834,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:43:54] local.INFO: Processing buffer {"connection_id":185834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:43:54] local.INFO: Packet analysis {"connection_id":185834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:43:54] local.INFO: Extracted packet for processing {"connection_id":185834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:43:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":185834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:43:54] local.INFO: GPS data processed {"connection_id":185834,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:43:54] local.INFO: Acknowledgment sent {"connection_id":185834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:44:19] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:44:19] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:44:19] local.INFO: IMEI packet received {"connection_id":185835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":185835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:44:24] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:44:24] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:44:24] local.INFO: IMEI packet received {"connection_id":185835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":185835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:44:24] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:44:24] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:44:24] local.INFO: Packet analysis {"connection_id":185835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:44:24] local.INFO: Extracted packet for processing {"connection_id":185835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:44:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":185835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:44:25] local.INFO: GPS data processed {"connection_id":185835,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:44:25] local.INFO: Acknowledgment sent {"connection_id":185835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:44:29] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:44:29] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:44:29] local.INFO: Packet analysis {"connection_id":185835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:44:29] local.INFO: Extracted packet for processing {"connection_id":185835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:44:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:44:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":185835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:44:29] local.INFO: GPS data processed {"connection_id":185835,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:44:29] local.INFO: Acknowledgment sent {"connection_id":185835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:45:14] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:45:14] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:45:14] local.INFO: IMEI packet received {"connection_id":188442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":188442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:45:19] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:45:19] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:45:19] local.INFO: IMEI packet received {"connection_id":188442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":188442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:45:19] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:45:19] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:45:19] local.INFO: Packet analysis {"connection_id":188442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:45:19] local.INFO: Extracted packet for processing {"connection_id":188442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:45:19] local.INFO: GPS data processed {"connection_id":188442,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:45:19] local.INFO: Acknowledgment sent {"connection_id":188442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:45:51] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:45:51] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:45:51] local.INFO: Packet analysis {"connection_id":188442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:45:51] local.INFO: Extracted packet for processing {"connection_id":188442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:45:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":188442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:45:51] local.INFO: GPS data processed {"connection_id":188442,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:45:51] local.INFO: Acknowledgment sent {"connection_id":188442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:46:14] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:46:14] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:46:14] local.INFO: IMEI packet received {"connection_id":187129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":187129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:46:19] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:46:19] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:46:19] local.INFO: IMEI packet received {"connection_id":187129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":187129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:46:20] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:46:20] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:46:20] local.INFO: Packet analysis {"connection_id":187129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:46:20] local.INFO: Extracted packet for processing {"connection_id":187129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":187129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:46:20] local.INFO: GPS data processed {"connection_id":187129,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:46:20] local.INFO: Acknowledgment sent {"connection_id":187129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:46:51] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:46:51] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:46:51] local.INFO: Packet analysis {"connection_id":187129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:46:51] local.INFO: Extracted packet for processing {"connection_id":187129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:46:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":187129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:46:51] local.INFO: GPS data processed {"connection_id":187129,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:46:51] local.INFO: Acknowledgment sent {"connection_id":187129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:47:13] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:47:13] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:47:13] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:47:19] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:47:19] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:47:19] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:47:20] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:47:20] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:47:20] local.INFO: Packet analysis {"connection_id":188443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:47:20] local.INFO: Extracted packet for processing {"connection_id":188443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":188443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:47:20] local.INFO: GPS data processed {"connection_id":188443,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:47:20] local.INFO: Acknowledgment sent {"connection_id":188443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:47:51] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:47:51] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:47:51] local.INFO: Packet analysis {"connection_id":188443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:47:51] local.INFO: Extracted packet for processing {"connection_id":188443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:47:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":188443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:47:51] local.INFO: GPS data processed {"connection_id":188443,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:47:51] local.INFO: Acknowledgment sent {"connection_id":188443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:48:13] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:48:13] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:48:13] local.INFO: IMEI packet received {"connection_id":187130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":187130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:48:19] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:48:19] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:48:19] local.INFO: IMEI packet received {"connection_id":187130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":187130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:48:19] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:48:19] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10048c8012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:48:19] local.INFO: Packet analysis {"connection_id":187130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:48:19] local.INFO: Extracted packet for processing {"connection_id":187130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b100"} 
[2026-09-18 01:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458156974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789675981000,"timestamp_ms":1789675981000,"timestamp_seconds":1789675981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10048c8"} 
[2026-09-18 01:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 01:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458156974080001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458156974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458156974080001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":187130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:48:20] local.INFO: GPS data processed {"connection_id":187130,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:48:20] local.INFO: Acknowledgment sent {"connection_id":187130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:48:51] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:48:51] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:48:51] local.INFO: Packet analysis {"connection_id":187130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:48:51] local.INFO: Extracted packet for processing {"connection_id":187130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":187130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:48:51] local.INFO: GPS data processed {"connection_id":187130,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:48:51] local.INFO: Acknowledgment sent {"connection_id":187130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:49:19] local.INFO: TCP Data received {"connection_id":185836,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:49:19] local.INFO: Processing buffer {"connection_id":185836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:49:19] local.INFO: IMEI packet received {"connection_id":185836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":185836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:49:24] local.INFO: TCP Data received {"connection_id":185836,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:49:24] local.INFO: Processing buffer {"connection_id":185836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:49:24] local.INFO: IMEI packet received {"connection_id":185836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":185836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:49:25] local.INFO: TCP Data received {"connection_id":185836,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:49:25] local.INFO: Processing buffer {"connection_id":185836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:49:25] local.INFO: Packet analysis {"connection_id":185836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:49:25] local.INFO: Extracted packet for processing {"connection_id":185836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:49:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":185836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:49:25] local.INFO: GPS data processed {"connection_id":185836,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:49:25] local.INFO: Acknowledgment sent {"connection_id":185836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:49:29] local.INFO: TCP Data received {"connection_id":185836,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:49:29] local.INFO: Processing buffer {"connection_id":185836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:49:29] local.INFO: Packet analysis {"connection_id":185836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:49:29] local.INFO: Extracted packet for processing {"connection_id":185836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:49:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:49:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:49:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":185836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:49:29] local.INFO: GPS data processed {"connection_id":185836,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:49:29] local.INFO: Acknowledgment sent {"connection_id":185836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:50:14] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:50:14] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:50:14] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:50:19] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:50:19] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:50:19] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:50:20] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:50:20] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:50:20] local.INFO: Packet analysis {"connection_id":188444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:50:20] local.INFO: Extracted packet for processing {"connection_id":188444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":188444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:50:20] local.INFO: GPS data processed {"connection_id":188444,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:50:20] local.INFO: Acknowledgment sent {"connection_id":188444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:50:51] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:50:51] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:50:51] local.INFO: Packet analysis {"connection_id":188444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:50:51] local.INFO: Extracted packet for processing {"connection_id":188444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:50:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":188444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:50:51] local.INFO: GPS data processed {"connection_id":188444,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:50:51] local.INFO: Acknowledgment sent {"connection_id":188444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:51:14] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:51:14] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:51:14] local.INFO: IMEI packet received {"connection_id":185657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":185657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:51:19] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:51:19] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:51:19] local.INFO: IMEI packet received {"connection_id":185657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:51:20] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:51:20] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:51:20] local.INFO: Packet analysis {"connection_id":185657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:51:20] local.INFO: Extracted packet for processing {"connection_id":185657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":185657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:51:20] local.INFO: GPS data processed {"connection_id":185657,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:51:20] local.INFO: Acknowledgment sent {"connection_id":185657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:51:51] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:51:51] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:51:51] local.INFO: Packet analysis {"connection_id":185657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:51:51] local.INFO: Extracted packet for processing {"connection_id":185657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:51:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":185657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:51:51] local.INFO: GPS data processed {"connection_id":185657,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:51:51] local.INFO: Acknowledgment sent {"connection_id":185657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:52:13] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:52:13] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:52:13] local.INFO: IMEI packet received {"connection_id":185837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":185837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:52:19] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:52:19] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:52:19] local.INFO: IMEI packet received {"connection_id":185837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":185837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:52:20] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:52:20] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:52:20] local.INFO: Packet analysis {"connection_id":185837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:52:20] local.INFO: Extracted packet for processing {"connection_id":185837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":185837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:52:20] local.INFO: GPS data processed {"connection_id":185837,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:52:20] local.INFO: Acknowledgment sent {"connection_id":185837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:52:51] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:52:51] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:52:51] local.INFO: Packet analysis {"connection_id":185837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:52:51] local.INFO: Extracted packet for processing {"connection_id":185837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:52:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":185837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:52:51] local.INFO: GPS data processed {"connection_id":185837,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:52:51] local.INFO: Acknowledgment sent {"connection_id":185837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:53:13] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:53:13] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:53:13] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:53:19] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:53:19] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:53:19] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:53:20] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:53:20] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b104e090012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:53:20] local.INFO: Packet analysis {"connection_id":187131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:53:20] local.INFO: Extracted packet for processing {"connection_id":187131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b104"} 
[2026-09-18 01:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676282000,"timestamp_ms":1789676282000,"timestamp_seconds":1789676282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b104e090"} 
[2026-09-18 01:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 01:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157051136001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157051136001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":187131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:53:20] local.INFO: GPS data processed {"connection_id":187131,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:53:20] local.INFO: Acknowledgment sent {"connection_id":187131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:53:51] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:53:51] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:53:51] local.INFO: Packet analysis {"connection_id":187131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:53:51] local.INFO: Extracted packet for processing {"connection_id":187131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:53:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:53: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-09-18 01:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":187131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:53:51] local.INFO: GPS data processed {"connection_id":187131,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:53:51] local.INFO: Acknowledgment sent {"connection_id":187131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:54:14] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:54:14] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:54:14] local.INFO: IMEI packet received {"connection_id":188445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:54:19] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:54:19] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:54:19] local.INFO: IMEI packet received {"connection_id":188445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":188445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:54:19] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:54:19] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:54:19] local.INFO: Packet analysis {"connection_id":188445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:54:19] local.INFO: Extracted packet for processing {"connection_id":188445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:54:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":188445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:54:19] local.INFO: GPS data processed {"connection_id":188445,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:54:19] local.INFO: Acknowledgment sent {"connection_id":188445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:54:51] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:54:51] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:54:51] local.INFO: Packet analysis {"connection_id":188445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:54:51] local.INFO: Extracted packet for processing {"connection_id":188445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:54: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-09-18 01:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":188445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:54:51] local.INFO: GPS data processed {"connection_id":188445,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:54:51] local.INFO: Acknowledgment sent {"connection_id":188445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:55:15] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:55:15] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:55:15] local.INFO: IMEI packet received {"connection_id":185658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":185658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:55:19] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:55:19] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:55:19] local.INFO: IMEI packet received {"connection_id":185658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":185658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:55:20] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:20] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:20] local.INFO: Packet analysis {"connection_id":185658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:55:20] local.INFO: Extracted packet for processing {"connection_id":185658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":185658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:55:20] local.INFO: GPS data processed {"connection_id":185658,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:55:20] local.INFO: Acknowledgment sent {"connection_id":185658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:55:24] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:24] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:24] local.INFO: Packet analysis {"connection_id":185658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:55:24] local.INFO: Extracted packet for processing {"connection_id":185658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":185658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:55:24] local.INFO: GPS data processed {"connection_id":185658,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:55:24] local.INFO: Acknowledgment sent {"connection_id":185658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:55:55] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:55] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:55:55] local.INFO: Packet analysis {"connection_id":185658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:55:55] local.INFO: Extracted packet for processing {"connection_id":185658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":185658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:55:55] local.INFO: GPS data processed {"connection_id":185658,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:55:55] local.INFO: Acknowledgment sent {"connection_id":185658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:56:14] local.INFO: TCP Data received {"connection_id":185838,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:56:14] local.INFO: Processing buffer {"connection_id":185838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:56:14] local.INFO: IMEI packet received {"connection_id":185838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":185838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:56:19] local.INFO: TCP Data received {"connection_id":185838,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:56:19] local.INFO: Processing buffer {"connection_id":185838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:56:19] local.INFO: IMEI packet received {"connection_id":185838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":185838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:56:20] local.INFO: TCP Data received {"connection_id":185838,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:56:20] local.INFO: Processing buffer {"connection_id":185838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:56:20] local.INFO: Packet analysis {"connection_id":185838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:56:20] local.INFO: Extracted packet for processing {"connection_id":185838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":185838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:56:20] local.INFO: GPS data processed {"connection_id":185838,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:56:20] local.INFO: Acknowledgment sent {"connection_id":185838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:56:51] local.INFO: TCP Data received {"connection_id":185838,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:56:51] local.INFO: Processing buffer {"connection_id":185838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:56:51] local.INFO: Packet analysis {"connection_id":185838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:56:51] local.INFO: Extracted packet for processing {"connection_id":185838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:56:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:56: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-09-18 01:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":185838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:56:51] local.INFO: GPS data processed {"connection_id":185838,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:56:51] local.INFO: Acknowledgment sent {"connection_id":185838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:57:13] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:57:13] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:57:13] local.INFO: IMEI packet received {"connection_id":188446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":188446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:57:19] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:57:19] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:57:19] local.INFO: IMEI packet received {"connection_id":188446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":188446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:57:20] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:57:20] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:57:20] local.INFO: Packet analysis {"connection_id":188446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:57:20] local.INFO: Extracted packet for processing {"connection_id":188446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:57:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":188446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:57:20] local.INFO: GPS data processed {"connection_id":188446,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:57:20] local.INFO: Acknowledgment sent {"connection_id":188446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:57:51] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:57:51] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:57:51] local.INFO: Packet analysis {"connection_id":188446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:57:51] local.INFO: Extracted packet for processing {"connection_id":188446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:57:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:57: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-09-18 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":188446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:57:51] local.INFO: GPS data processed {"connection_id":188446,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:57:51] local.INFO: Acknowledgment sent {"connection_id":188446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:58:13] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:58:13] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:58:13] local.INFO: IMEI packet received {"connection_id":187132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":187132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:58:19] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:58:19] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:58:19] local.INFO: IMEI packet received {"connection_id":187132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":187132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:58:19] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:58:19] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1097858012d34c14006aa4440000a01182c..."} 
[2026-09-18 01:58:19] local.INFO: Packet analysis {"connection_id":187132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:58:19] local.INFO: Extracted packet for processing {"connection_id":187132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b109"} 
[2026-09-18 01:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:58:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789676583000,"timestamp_ms":1789676583000,"timestamp_seconds":1789676583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1097858"} 
[2026-09-18 01:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 01:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157128192001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157128192001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":187132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:58:19] local.INFO: GPS data processed {"connection_id":187132,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:58:19] local.INFO: Acknowledgment sent {"connection_id":187132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:58:51] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:58:51] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:58:51] local.INFO: Packet analysis {"connection_id":187132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:58:51] local.INFO: Extracted packet for processing {"connection_id":187132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 01:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:58: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-09-18 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01: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-09-18 01:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":187132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:58:51] local.INFO: GPS data processed {"connection_id":187132,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:58:51] local.INFO: Acknowledgment sent {"connection_id":187132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:59:14] local.INFO: TCP Data received {"connection_id":188447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:59:14] local.INFO: Processing buffer {"connection_id":188447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:59:14] local.INFO: IMEI packet received {"connection_id":188447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 01:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":188447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 01:59:19] local.INFO: TCP Data received {"connection_id":188447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:59:19] local.INFO: Processing buffer {"connection_id":188447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 01:59:19] local.INFO: IMEI packet received {"connection_id":188447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 01:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":188447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 01:59:20] local.INFO: TCP Data received {"connection_id":188447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:20] local.INFO: Processing buffer {"connection_id":188447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:20] local.INFO: Packet analysis {"connection_id":188447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:59:20] local.INFO: Extracted packet for processing {"connection_id":188447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 01:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":188447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:59:20] local.INFO: GPS data processed {"connection_id":188447,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:59:20] local.INFO: Acknowledgment sent {"connection_id":188447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:59:24] local.INFO: TCP Data received {"connection_id":188447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:24] local.INFO: Processing buffer {"connection_id":188447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:24] local.INFO: Packet analysis {"connection_id":188447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:59:24] local.INFO: Extracted packet for processing {"connection_id":188447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 01:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 01:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 01:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 01:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":188447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:59:24] local.INFO: GPS data processed {"connection_id":188447,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:59:24] local.INFO: Acknowledgment sent {"connection_id":188447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 01:59:55] local.INFO: TCP Data received {"connection_id":188447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:55] local.INFO: Processing buffer {"connection_id":188447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 01:59:55] local.INFO: Packet analysis {"connection_id":188447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:59:55] local.INFO: Extracted packet for processing {"connection_id":188447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 01:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 01: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-09-18 01:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 01:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 01:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 01:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 01:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 01:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 01:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 01:59: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-09-18 01: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-09-18 01:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 01:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 01:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 01:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 01:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 01:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 01:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 01:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 01:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 01:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 01:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 01:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 01:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 01:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 01:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 01:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":188447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 01:59:55] local.INFO: GPS data processed {"connection_id":188447,"processed":1,"errors":0,"total":1} 
[2026-09-18 01:59:55] local.INFO: Acknowledgment sent {"connection_id":188447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:00:14] local.INFO: TCP Data received {"connection_id":185659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:00:14] local.INFO: Processing buffer {"connection_id":185659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:00:14] local.INFO: IMEI packet received {"connection_id":185659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":185659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:00:19] local.INFO: TCP Data received {"connection_id":185659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:00:19] local.INFO: Processing buffer {"connection_id":185659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:00:19] local.INFO: IMEI packet received {"connection_id":185659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":185659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:00:19] local.INFO: TCP Data received {"connection_id":185659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:00:19] local.INFO: Processing buffer {"connection_id":185659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:00:19] local.INFO: Packet analysis {"connection_id":185659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:00:19] local.INFO: Extracted packet for processing {"connection_id":185659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:00:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":185659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:00:19] local.INFO: GPS data processed {"connection_id":185659,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:00:19] local.INFO: Acknowledgment sent {"connection_id":185659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:00:51] local.INFO: TCP Data received {"connection_id":185659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:00:51] local.INFO: Processing buffer {"connection_id":185659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:00:51] local.INFO: Packet analysis {"connection_id":185659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:00:51] local.INFO: Extracted packet for processing {"connection_id":185659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:00:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:00: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-09-18 02:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":185659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:00:51] local.INFO: GPS data processed {"connection_id":185659,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:00:51] local.INFO: Acknowledgment sent {"connection_id":185659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:01:13] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:01:13] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:01:13] local.INFO: IMEI packet received {"connection_id":187133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":187133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:01:19] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:01:19] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:01:19] local.INFO: IMEI packet received {"connection_id":187133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":187133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:01:20] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:01:20] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:01:20] local.INFO: Packet analysis {"connection_id":187133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:01:20] local.INFO: Extracted packet for processing {"connection_id":187133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":187133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:01:20] local.INFO: GPS data processed {"connection_id":187133,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:01:20] local.INFO: Acknowledgment sent {"connection_id":187133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:01:51] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:01:51] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:01:51] local.INFO: Packet analysis {"connection_id":187133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:01:51] local.INFO: Extracted packet for processing {"connection_id":187133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:01:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:01: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-09-18 02:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":187133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:01:51] local.INFO: GPS data processed {"connection_id":187133,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:01:51] local.INFO: Acknowledgment sent {"connection_id":187133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:02:13] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:02:13] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:02:13] local.INFO: IMEI packet received {"connection_id":185839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":185839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:02:19] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:02:19] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:02:19] local.INFO: IMEI packet received {"connection_id":185839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":185839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:02:20] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:02:21] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:02:21] local.INFO: Packet analysis {"connection_id":185839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:02:21] local.INFO: Extracted packet for processing {"connection_id":185839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":185839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:02:21] local.INFO: GPS data processed {"connection_id":185839,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:02:21] local.INFO: Acknowledgment sent {"connection_id":185839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:02:52] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:02:52] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:02:52] local.INFO: Packet analysis {"connection_id":185839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:02:52] local.INFO: Extracted packet for processing {"connection_id":185839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":185839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:02:52] local.INFO: GPS data processed {"connection_id":185839,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:02:52] local.INFO: Acknowledgment sent {"connection_id":185839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:03:13] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:03:13] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:03:13] local.INFO: IMEI packet received {"connection_id":185840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":185840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:03:19] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:03:19] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:03:19] local.INFO: IMEI packet received {"connection_id":185840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":185840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:03:19] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:03:19] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b10e1020012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:03:19] local.INFO: Packet analysis {"connection_id":185840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:03:19] local.INFO: Extracted packet for processing {"connection_id":185840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b10e"} 
[2026-09-18 02:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:03:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789676884000,"timestamp_ms":1789676884000,"timestamp_seconds":1789676884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b10e1020"} 
[2026-09-18 02:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157205248001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157205248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":185840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:03:20] local.INFO: GPS data processed {"connection_id":185840,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:03:20] local.INFO: Acknowledgment sent {"connection_id":185840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:03:51] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:03:51] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:03:51] local.INFO: Packet analysis {"connection_id":185840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:03:51] local.INFO: Extracted packet for processing {"connection_id":185840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:03:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":185840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:03:51] local.INFO: GPS data processed {"connection_id":185840,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:03:51] local.INFO: Acknowledgment sent {"connection_id":185840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:04:14] local.INFO: TCP Data received {"connection_id":185660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:04:14] local.INFO: Processing buffer {"connection_id":185660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:04:14] local.INFO: IMEI packet received {"connection_id":185660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":185660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:04:19] local.INFO: TCP Data received {"connection_id":185660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:04:19] local.INFO: Processing buffer {"connection_id":185660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:04:19] local.INFO: IMEI packet received {"connection_id":185660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":185660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:04:19] local.INFO: TCP Data received {"connection_id":185660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:04:20] local.INFO: Processing buffer {"connection_id":185660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:04:20] local.INFO: Packet analysis {"connection_id":185660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:04:20] local.INFO: Extracted packet for processing {"connection_id":185660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":185660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:04:20] local.INFO: GPS data processed {"connection_id":185660,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:04:20] local.INFO: Acknowledgment sent {"connection_id":185660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:04:51] local.INFO: TCP Data received {"connection_id":185660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:04:51] local.INFO: Processing buffer {"connection_id":185660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:04:51] local.INFO: Packet analysis {"connection_id":185660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:04:51] local.INFO: Extracted packet for processing {"connection_id":185660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:04:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":185660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:04:51] local.INFO: GPS data processed {"connection_id":185660,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:04:51] local.INFO: Acknowledgment sent {"connection_id":185660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:05:13] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:05:13] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:05:13] local.INFO: IMEI packet received {"connection_id":185661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":185661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:05:19] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:05:19] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:05:19] local.INFO: IMEI packet received {"connection_id":185661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":185661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:05:20] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:05:20] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:05:20] local.INFO: Packet analysis {"connection_id":185661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:05:20] local.INFO: Extracted packet for processing {"connection_id":185661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":185661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:05:20] local.INFO: GPS data processed {"connection_id":185661,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:05:20] local.INFO: Acknowledgment sent {"connection_id":185661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:05:52] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:05:52] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:05:52] local.INFO: Packet analysis {"connection_id":185661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:05:52] local.INFO: Extracted packet for processing {"connection_id":185661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:05:52] local.INFO: GPS data processed {"connection_id":185661,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:05:52] local.INFO: Acknowledgment sent {"connection_id":185661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:06:13] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:06:13] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:06:13] local.INFO: IMEI packet received {"connection_id":188448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":188448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:06:19] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:06:19] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:06:19] local.INFO: IMEI packet received {"connection_id":188448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":188448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:06:20] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:06:20] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:06:20] local.INFO: Packet analysis {"connection_id":188448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:06:20] local.INFO: Extracted packet for processing {"connection_id":188448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":188448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:06:20] local.INFO: GPS data processed {"connection_id":188448,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:06:20] local.INFO: Acknowledgment sent {"connection_id":188448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:06:51] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:06:51] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:06:51] local.INFO: Packet analysis {"connection_id":188448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:06:51] local.INFO: Extracted packet for processing {"connection_id":188448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:06:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":188448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:06:51] local.INFO: GPS data processed {"connection_id":188448,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:06:51] local.INFO: Acknowledgment sent {"connection_id":188448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:07:13] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:07:13] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:07:13] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:07:19] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:07:19] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:07:19] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:07:20] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:07:20] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:07:20] local.INFO: Packet analysis {"connection_id":188449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:07:20] local.INFO: Extracted packet for processing {"connection_id":188449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":188449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:07:20] local.INFO: GPS data processed {"connection_id":188449,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:07:20] local.INFO: Acknowledgment sent {"connection_id":188449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:07:51] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:07:51] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:07:51] local.INFO: Packet analysis {"connection_id":188449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:07:51] local.INFO: Extracted packet for processing {"connection_id":188449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:07:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":188449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:07:51] local.INFO: GPS data processed {"connection_id":188449,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:07:51] local.INFO: Acknowledgment sent {"connection_id":188449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:08:13] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:08:13] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:08:13] local.INFO: IMEI packet received {"connection_id":187134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":187134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:08:19] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:08:19] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:08:19] local.INFO: IMEI packet received {"connection_id":187134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":187134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:08:20] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:08:20] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b112a7e8012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:08:20] local.INFO: Packet analysis {"connection_id":187134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:08:20] local.INFO: Extracted packet for processing {"connection_id":187134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b112"} 
[2026-09-18 02:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:08:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677185000,"timestamp_ms":1789677185000,"timestamp_seconds":1789677185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b112a7e8"} 
[2026-09-18 02:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157282304001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157282304001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":187134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:08:20] local.INFO: GPS data processed {"connection_id":187134,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:08:20] local.INFO: Acknowledgment sent {"connection_id":187134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:08:51] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:08:51] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:08:51] local.INFO: Packet analysis {"connection_id":187134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:08:51] local.INFO: Extracted packet for processing {"connection_id":187134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:08:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:08: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":187134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:08:51] local.INFO: GPS data processed {"connection_id":187134,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:08:51] local.INFO: Acknowledgment sent {"connection_id":187134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:09:19] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:09:19] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:09:19] local.INFO: IMEI packet received {"connection_id":185841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":185841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:09:24] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:09:24] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:09:24] local.INFO: IMEI packet received {"connection_id":185841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":185841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:09:25] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:09:25] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:09:25] local.INFO: Packet analysis {"connection_id":185841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:09:25] local.INFO: Extracted packet for processing {"connection_id":185841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:09:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":185841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:09:25] local.INFO: GPS data processed {"connection_id":185841,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:09:25] local.INFO: Acknowledgment sent {"connection_id":185841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:09:56] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:09:56] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:09:56] local.INFO: Packet analysis {"connection_id":185841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:09:56] local.INFO: Extracted packet for processing {"connection_id":185841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:09:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":185841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:09:56] local.INFO: GPS data processed {"connection_id":185841,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:09:56] local.INFO: Acknowledgment sent {"connection_id":185841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:10:14] local.INFO: TCP Data received {"connection_id":185662,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:10:14] local.INFO: Processing buffer {"connection_id":185662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:10:14] local.INFO: IMEI packet received {"connection_id":185662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":185662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:10:19] local.INFO: TCP Data received {"connection_id":185662,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:10:19] local.INFO: Processing buffer {"connection_id":185662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:10:19] local.INFO: IMEI packet received {"connection_id":185662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":185662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:10:20] local.INFO: TCP Data received {"connection_id":185662,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:10:20] local.INFO: Processing buffer {"connection_id":185662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:10:20] local.INFO: Packet analysis {"connection_id":185662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:10:20] local.INFO: Extracted packet for processing {"connection_id":185662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:10:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":185662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:10:20] local.INFO: GPS data processed {"connection_id":185662,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:10:20] local.INFO: Acknowledgment sent {"connection_id":185662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:10:51] local.INFO: TCP Data received {"connection_id":185662,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:10:52] local.INFO: Processing buffer {"connection_id":185662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:10:52] local.INFO: Packet analysis {"connection_id":185662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:10:52] local.INFO: Extracted packet for processing {"connection_id":185662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":185662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:10:52] local.INFO: GPS data processed {"connection_id":185662,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:10:52] local.INFO: Acknowledgment sent {"connection_id":185662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:11:13] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:11:13] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:11:13] local.INFO: IMEI packet received {"connection_id":188450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:11:19] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:11:19] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:11:19] local.INFO: IMEI packet received {"connection_id":188450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":188450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:11:20] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:11:20] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:11:20] local.INFO: Packet analysis {"connection_id":188450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:11:20] local.INFO: Extracted packet for processing {"connection_id":188450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":188450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:11:20] local.INFO: GPS data processed {"connection_id":188450,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:11:20] local.INFO: Acknowledgment sent {"connection_id":188450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:11:51] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:11:51] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:11:51] local.INFO: Packet analysis {"connection_id":188450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:11:51] local.INFO: Extracted packet for processing {"connection_id":188450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:11:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:11: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":188450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:11:51] local.INFO: GPS data processed {"connection_id":188450,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:11:51] local.INFO: Acknowledgment sent {"connection_id":188450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:12:13] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:12:13] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:12:13] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:12:19] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:12:19] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:12:19] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:12:20] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:12:20] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:12:20] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:12:20] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:12:20] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:12:20] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:12:51] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:12:51] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:12:51] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:12:51] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:12:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:12: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:12:51] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:12:51] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:13:19] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:13:19] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:13:19] local.INFO: IMEI packet received {"connection_id":188451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":188451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:13:24] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:13:24] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:13:24] local.INFO: IMEI packet received {"connection_id":188451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":188451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:13:24] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:13:24] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:13:24] local.INFO: Packet analysis {"connection_id":188451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:13:24] local.INFO: Extracted packet for processing {"connection_id":188451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:13:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":188451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:13:24] local.INFO: GPS data processed {"connection_id":188451,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:13:24] local.INFO: Acknowledgment sent {"connection_id":188451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:13:29] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:13:29] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1173fb0012d34c14006aa4440000a01182b..."} 
[2026-09-18 02:13:29] local.INFO: Packet analysis {"connection_id":188451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:13:29] local.INFO: Extracted packet for processing {"connection_id":188451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b117"} 
[2026-09-18 02:13:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:13:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789677486000,"timestamp_ms":1789677486000,"timestamp_seconds":1789677486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1173fb0"} 
[2026-09-18 02:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157359360001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:13:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157359360001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":188451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:13:29] local.INFO: GPS data processed {"connection_id":188451,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:13:29] local.INFO: Acknowledgment sent {"connection_id":188451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:14:14] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:14] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:14] local.INFO: IMEI packet received {"connection_id":185663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":185663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:14:19] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:19] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:19] local.INFO: IMEI packet received {"connection_id":185663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":185663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:14:20] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:14:20] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:14:20] local.INFO: Packet analysis {"connection_id":185663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:14:20] local.INFO: Extracted packet for processing {"connection_id":185663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:14:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":185663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:14:20] local.INFO: GPS data processed {"connection_id":185663,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:14:20] local.INFO: Acknowledgment sent {"connection_id":185663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:14:48] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:48] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:48] local.INFO: IMEI packet received {"connection_id":187136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":187136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:14:54] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:54] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:14:54] local.INFO: IMEI packet received {"connection_id":187136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":187136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:14:55] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:14:55] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:14:55] local.INFO: Packet analysis {"connection_id":187136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:14:55] local.INFO: Extracted packet for processing {"connection_id":187136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:14:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":187136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:14:55] local.INFO: GPS data processed {"connection_id":187136,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:14:55] local.INFO: Acknowledgment sent {"connection_id":187136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:15:18] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:15:18] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:15:18] local.INFO: IMEI packet received {"connection_id":185664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":185664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:15:24] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:15:24] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:15:24] local.INFO: IMEI packet received {"connection_id":185664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":185664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:15:25] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:15:25] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:15:25] local.INFO: Packet analysis {"connection_id":185664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:15:25] local.INFO: Extracted packet for processing {"connection_id":185664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:15:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":185664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:15:25] local.INFO: GPS data processed {"connection_id":185664,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:15:25] local.INFO: Acknowledgment sent {"connection_id":185664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:15:56] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:15:56] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:15:56] local.INFO: Packet analysis {"connection_id":185664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:15:56] local.INFO: Extracted packet for processing {"connection_id":185664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:15:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:15:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":185664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:15:56] local.INFO: GPS data processed {"connection_id":185664,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:15:56] local.INFO: Acknowledgment sent {"connection_id":185664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:16:13] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:16:13] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:16:13] local.INFO: IMEI packet received {"connection_id":188452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":188452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:16:19] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:16:19] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:16:19] local.INFO: IMEI packet received {"connection_id":188452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":188452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:16:20] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:16:20] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:16:20] local.INFO: Packet analysis {"connection_id":188452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:16:20] local.INFO: Extracted packet for processing {"connection_id":188452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":188452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:16:20] local.INFO: GPS data processed {"connection_id":188452,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:16:20] local.INFO: Acknowledgment sent {"connection_id":188452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:16:51] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:16:51] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:16:51] local.INFO: Packet analysis {"connection_id":188452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:16:51] local.INFO: Extracted packet for processing {"connection_id":188452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:16: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":188452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:16:51] local.INFO: GPS data processed {"connection_id":188452,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:16:51] local.INFO: Acknowledgment sent {"connection_id":188452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:17:19] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:17:19] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:17:19] local.INFO: IMEI packet received {"connection_id":187137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":187137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:17:24] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:17:24] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:17:24] local.INFO: IMEI packet received {"connection_id":187137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":187137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:17:25] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:17:25] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:17:25] local.INFO: Packet analysis {"connection_id":187137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:17:25] local.INFO: Extracted packet for processing {"connection_id":187137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:17:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":187137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:17:25] local.INFO: GPS data processed {"connection_id":187137,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:17:25] local.INFO: Acknowledgment sent {"connection_id":187137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:17:29] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:17:29] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:17:29] local.INFO: Packet analysis {"connection_id":187137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:17:29] local.INFO: Extracted packet for processing {"connection_id":187137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:17:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:17:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:17:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":187137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:17:29] local.INFO: GPS data processed {"connection_id":187137,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:17:29] local.INFO: Acknowledgment sent {"connection_id":187137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:18:14] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:18:14] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:18:14] local.INFO: IMEI packet received {"connection_id":187138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":187138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:18:19] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:18:19] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:18:19] local.INFO: IMEI packet received {"connection_id":187138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":187138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:18:19] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:18:19] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b11bd778012d34c14006aa4440000a011831..."} 
[2026-09-18 02:18:19] local.INFO: Packet analysis {"connection_id":187138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:18:19] local.INFO: Extracted packet for processing {"connection_id":187138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b11b"} 
[2026-09-18 02:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:18:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789677787000,"timestamp_ms":1789677787000,"timestamp_seconds":1789677787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b11bd778"} 
[2026-09-18 02:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157436416001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157436416001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":187138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:18:19] local.INFO: GPS data processed {"connection_id":187138,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:18:19] local.INFO: Acknowledgment sent {"connection_id":187138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:18:51] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:18:51] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:18:51] local.INFO: Packet analysis {"connection_id":187138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:18:51] local.INFO: Extracted packet for processing {"connection_id":187138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:18:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":187138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:18:51] local.INFO: GPS data processed {"connection_id":187138,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:18:51] local.INFO: Acknowledgment sent {"connection_id":187138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:19:13] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:19:13] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:19:13] local.INFO: IMEI packet received {"connection_id":185665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":185665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:19:19] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:19:19] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:19:19] local.INFO: IMEI packet received {"connection_id":185665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":185665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:19:20] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:19:20] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:19:20] local.INFO: Packet analysis {"connection_id":185665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:19:20] local.INFO: Extracted packet for processing {"connection_id":185665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":185665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:19:20] local.INFO: GPS data processed {"connection_id":185665,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:19:20] local.INFO: Acknowledgment sent {"connection_id":185665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:19:52] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:19:52] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:19:52] local.INFO: Packet analysis {"connection_id":185665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:19:52] local.INFO: Extracted packet for processing {"connection_id":185665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":185665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:19:52] local.INFO: GPS data processed {"connection_id":185665,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:19:52] local.INFO: Acknowledgment sent {"connection_id":185665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:20:13] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:20:13] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:20:13] local.INFO: IMEI packet received {"connection_id":187139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":187139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:20:19] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:20:19] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:20:19] local.INFO: IMEI packet received {"connection_id":187139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":187139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:20:19] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:20:19] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:20:19] local.INFO: Packet analysis {"connection_id":187139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:20:19] local.INFO: Extracted packet for processing {"connection_id":187139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:20:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":187139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:20:20] local.INFO: GPS data processed {"connection_id":187139,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:20:20] local.INFO: Acknowledgment sent {"connection_id":187139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:20:51] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:20:51] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:20:51] local.INFO: Packet analysis {"connection_id":187139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:20:51] local.INFO: Extracted packet for processing {"connection_id":187139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:20:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":187139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:20:51] local.INFO: GPS data processed {"connection_id":187139,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:20:51] local.INFO: Acknowledgment sent {"connection_id":187139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:21:19] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:21:19] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:21:19] local.INFO: IMEI packet received {"connection_id":185666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":185666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:21:24] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:21:24] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:21:24] local.INFO: IMEI packet received {"connection_id":185666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":185666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:21:25] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:21:25] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:21:25] local.INFO: Packet analysis {"connection_id":185666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:21:25] local.INFO: Extracted packet for processing {"connection_id":185666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:21:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":185666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:21:25] local.INFO: GPS data processed {"connection_id":185666,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:21:25] local.INFO: Acknowledgment sent {"connection_id":185666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:21:29] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:21:29] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:21:29] local.INFO: Packet analysis {"connection_id":185666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:21:29] local.INFO: Extracted packet for processing {"connection_id":185666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:21:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:21:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:21:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":185666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:21:29] local.INFO: GPS data processed {"connection_id":185666,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:21:29] local.INFO: Acknowledgment sent {"connection_id":185666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:22:14] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:22:14] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:22:14] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:22:19] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:22:19] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:22:19] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:22:20] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:22:20] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:22:20] local.INFO: Packet analysis {"connection_id":188453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:22:20] local.INFO: Extracted packet for processing {"connection_id":188453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":188453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:22:20] local.INFO: GPS data processed {"connection_id":188453,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:22:20] local.INFO: Acknowledgment sent {"connection_id":188453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:22:51] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:22:51] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:22:51] local.INFO: Packet analysis {"connection_id":188453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:22:51] local.INFO: Extracted packet for processing {"connection_id":188453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":188453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:22:51] local.INFO: GPS data processed {"connection_id":188453,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:22:51] local.INFO: Acknowledgment sent {"connection_id":188453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:23:14] local.INFO: TCP Data received {"connection_id":185842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:23:14] local.INFO: Processing buffer {"connection_id":185842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:23:14] local.INFO: IMEI packet received {"connection_id":185842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":185842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:23:19] local.INFO: TCP Data received {"connection_id":185842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:23:19] local.INFO: Processing buffer {"connection_id":185842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:23:19] local.INFO: IMEI packet received {"connection_id":185842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":185842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:23:19] local.INFO: TCP Data received {"connection_id":185842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:23:19] local.INFO: Processing buffer {"connection_id":185842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1206f40012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:23:19] local.INFO: Packet analysis {"connection_id":185842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:23:19] local.INFO: Extracted packet for processing {"connection_id":185842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b120"} 
[2026-09-18 02:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:23:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678088000,"timestamp_ms":1789678088000,"timestamp_seconds":1789678088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1206f40"} 
[2026-09-18 02:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157513472001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157513472001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":185842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:23:19] local.INFO: GPS data processed {"connection_id":185842,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:23:19] local.INFO: Acknowledgment sent {"connection_id":185842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:23:51] local.INFO: TCP Data received {"connection_id":185842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:23:51] local.INFO: Processing buffer {"connection_id":185842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:23:51] local.INFO: Packet analysis {"connection_id":185842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:23:51] local.INFO: Extracted packet for processing {"connection_id":185842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:23:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:23: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-09-18 02:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":185842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:23:51] local.INFO: GPS data processed {"connection_id":185842,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:23:51] local.INFO: Acknowledgment sent {"connection_id":185842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:24:13] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:24:13] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:24:13] local.INFO: IMEI packet received {"connection_id":187140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":187140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:24:19] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:24:19] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:24:19] local.INFO: IMEI packet received {"connection_id":187140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":187140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:24:19] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:24:19] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:24:19] local.INFO: Packet analysis {"connection_id":187140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:24:19] local.INFO: Extracted packet for processing {"connection_id":187140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:24:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":187140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:24:19] local.INFO: GPS data processed {"connection_id":187140,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:24:19] local.INFO: Acknowledgment sent {"connection_id":187140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:24:51] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:24:51] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:24:51] local.INFO: Packet analysis {"connection_id":187140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:24:51] local.INFO: Extracted packet for processing {"connection_id":187140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:24:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:24: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-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":187140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:24:51] local.INFO: GPS data processed {"connection_id":187140,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:24:51] local.INFO: Acknowledgment sent {"connection_id":187140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:25:19] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:25:19] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:25:19] local.INFO: IMEI packet received {"connection_id":185843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":185843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:25:24] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:25:24] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:25:24] local.INFO: IMEI packet received {"connection_id":185843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":185843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:25:25] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:25:25] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:25:25] local.INFO: Packet analysis {"connection_id":185843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:25:25] local.INFO: Extracted packet for processing {"connection_id":185843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:25:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":185843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:25:25] local.INFO: GPS data processed {"connection_id":185843,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:25:25] local.INFO: Acknowledgment sent {"connection_id":185843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:25:29] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:25:29] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:25:29] local.INFO: Packet analysis {"connection_id":185843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:25:29] local.INFO: Extracted packet for processing {"connection_id":185843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:25:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:25:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:25:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":185843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:25:29] local.INFO: GPS data processed {"connection_id":185843,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:25:29] local.INFO: Acknowledgment sent {"connection_id":185843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:26:14] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:26:14] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:26:14] local.INFO: IMEI packet received {"connection_id":185667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:26:19] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:26:19] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:26:19] local.INFO: IMEI packet received {"connection_id":185667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:26:19] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:26:19] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:26:19] local.INFO: Packet analysis {"connection_id":185667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:26:19] local.INFO: Extracted packet for processing {"connection_id":185667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:26:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":185667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:26:19] local.INFO: GPS data processed {"connection_id":185667,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:26:19] local.INFO: Acknowledgment sent {"connection_id":185667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:26:51] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:26:51] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:26:51] local.INFO: Packet analysis {"connection_id":185667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:26:51] local.INFO: Extracted packet for processing {"connection_id":185667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:26:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:26: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-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":185667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:26:51] local.INFO: GPS data processed {"connection_id":185667,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:26:51] local.INFO: Acknowledgment sent {"connection_id":185667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:27:14] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:27:14] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:27:14] local.INFO: IMEI packet received {"connection_id":187141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":187141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:27:19] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:27:19] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:27:19] local.INFO: IMEI packet received {"connection_id":187141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":187141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:27:20] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:27:20] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:27:20] local.INFO: Packet analysis {"connection_id":187141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:27:20] local.INFO: Extracted packet for processing {"connection_id":187141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":187141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:27:20] local.INFO: GPS data processed {"connection_id":187141,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:27:20] local.INFO: Acknowledgment sent {"connection_id":187141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:27:51] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:27:51] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:27:51] local.INFO: Packet analysis {"connection_id":187141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:27:51] local.INFO: Extracted packet for processing {"connection_id":187141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:27:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:27: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-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":187141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:27:51] local.INFO: GPS data processed {"connection_id":187141,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:27:51] local.INFO: Acknowledgment sent {"connection_id":187141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:28:13] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:28:13] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:28:13] local.INFO: IMEI packet received {"connection_id":185844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":185844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:28:19] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:28:19] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:28:19] local.INFO: IMEI packet received {"connection_id":185844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":185844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:28:19] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:28:19] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1250320012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:28:19] local.INFO: Packet analysis {"connection_id":185844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:28:19] local.INFO: Extracted packet for processing {"connection_id":185844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b125"} 
[2026-09-18 02:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:28:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678388000,"timestamp_ms":1789678388000,"timestamp_seconds":1789678388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1250320"} 
[2026-09-18 02:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157590528001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157590528001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":185844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:28:19] local.INFO: GPS data processed {"connection_id":185844,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:28:19] local.INFO: Acknowledgment sent {"connection_id":185844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:28:51] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:28:51] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:28:51] local.INFO: Packet analysis {"connection_id":185844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:28:51] local.INFO: Extracted packet for processing {"connection_id":185844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:28:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:28: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-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":185844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:28:51] local.INFO: GPS data processed {"connection_id":185844,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:28:51] local.INFO: Acknowledgment sent {"connection_id":185844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:29:19] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:29:19] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:29:19] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:29:24] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:29:24] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:29:24] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:29:25] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:29:25] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:29:25] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:29:25] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:29:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:29:25] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:29:25] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:29:29] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:29:29] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:29:29] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:29:29] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:29:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:29:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:29:29] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:29:29] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:30:14] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:30:14] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:30:14] local.INFO: IMEI packet received {"connection_id":185668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":185668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:30:19] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:30:19] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:30:19] local.INFO: IMEI packet received {"connection_id":185668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":185668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:30:20] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:20] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:20] local.INFO: Packet analysis {"connection_id":185668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:30:20] local.INFO: Extracted packet for processing {"connection_id":185668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":185668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:30:20] local.INFO: GPS data processed {"connection_id":185668,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:30:20] local.INFO: Acknowledgment sent {"connection_id":185668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:30:24] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:24] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:24] local.INFO: Packet analysis {"connection_id":185668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:30:24] local.INFO: Extracted packet for processing {"connection_id":185668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":185668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:30:24] local.INFO: GPS data processed {"connection_id":185668,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:30:24] local.INFO: Acknowledgment sent {"connection_id":185668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:30:56] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:56] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:30:56] local.INFO: Packet analysis {"connection_id":185668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:30:56] local.INFO: Extracted packet for processing {"connection_id":185668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":185668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:30:56] local.INFO: GPS data processed {"connection_id":185668,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:30:56] local.INFO: Acknowledgment sent {"connection_id":185668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:31:14] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:31:14] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:31:14] local.INFO: IMEI packet received {"connection_id":187142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":187142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:31:19] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:31:19] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:31:19] local.INFO: IMEI packet received {"connection_id":187142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":187142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:31:20] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:31:20] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:31:20] local.INFO: Packet analysis {"connection_id":187142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:31:20] local.INFO: Extracted packet for processing {"connection_id":187142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":187142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:31:20] local.INFO: GPS data processed {"connection_id":187142,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:31:20] local.INFO: Acknowledgment sent {"connection_id":187142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:31:51] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:31:51] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:31:51] local.INFO: Packet analysis {"connection_id":187142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:31:51] local.INFO: Extracted packet for processing {"connection_id":187142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:31:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:31: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-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":187142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:31:51] local.INFO: GPS data processed {"connection_id":187142,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:31:51] local.INFO: Acknowledgment sent {"connection_id":187142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:32:14] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:32:14] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:32:14] local.INFO: IMEI packet received {"connection_id":185669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":185669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:32:19] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:32:19] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:32:19] local.INFO: IMEI packet received {"connection_id":185669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":185669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:32:20] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:32:20] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:32:20] local.INFO: Packet analysis {"connection_id":185669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:32:20] local.INFO: Extracted packet for processing {"connection_id":185669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":185669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:32:20] local.INFO: GPS data processed {"connection_id":185669,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:32:20] local.INFO: Acknowledgment sent {"connection_id":185669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:32:52] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:32:52] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:32:52] local.INFO: Packet analysis {"connection_id":185669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:32:52] local.INFO: Extracted packet for processing {"connection_id":185669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:32:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:32: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-09-18 02:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":185669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:32:52] local.INFO: GPS data processed {"connection_id":185669,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:32:52] local.INFO: Acknowledgment sent {"connection_id":185669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:33:13] local.INFO: TCP Data received {"connection_id":185670,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:33:13] local.INFO: Processing buffer {"connection_id":185670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:33:13] local.INFO: IMEI packet received {"connection_id":185670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":185670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:33:19] local.INFO: TCP Data received {"connection_id":185670,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:33:19] local.INFO: Processing buffer {"connection_id":185670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:33:19] local.INFO: IMEI packet received {"connection_id":185670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:33:19] local.INFO: TCP Data received {"connection_id":185670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:33:19] local.INFO: Processing buffer {"connection_id":185670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1299ae8012d34c14006aa4440000a01182c..."} 
[2026-09-18 02:33:19] local.INFO: Packet analysis {"connection_id":185670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:33:19] local.INFO: Extracted packet for processing {"connection_id":185670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b129"} 
[2026-09-18 02:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157667328001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678689000,"timestamp_ms":1789678689000,"timestamp_seconds":1789678689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1299ae8"} 
[2026-09-18 02:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157667328001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157667328001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157667328001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":185670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:33:19] local.INFO: GPS data processed {"connection_id":185670,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:33:19] local.INFO: Acknowledgment sent {"connection_id":185670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:33:51] local.INFO: TCP Data received {"connection_id":185670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:33:51] local.INFO: Processing buffer {"connection_id":185670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:33:51] local.INFO: Packet analysis {"connection_id":185670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:33:51] local.INFO: Extracted packet for processing {"connection_id":185670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":185670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:33:51] local.INFO: GPS data processed {"connection_id":185670,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:33:51] local.INFO: Acknowledgment sent {"connection_id":185670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:34:19] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:34:19] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:34:19] local.INFO: IMEI packet received {"connection_id":188455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:34:24] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:34:24] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:34:24] local.INFO: IMEI packet received {"connection_id":188455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":188455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:34:25] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:34:25] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:34:25] local.INFO: Packet analysis {"connection_id":188455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:34:25] local.INFO: Extracted packet for processing {"connection_id":188455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:34:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":188455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:34:25] local.INFO: GPS data processed {"connection_id":188455,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:34:25] local.INFO: Acknowledgment sent {"connection_id":188455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:34:56] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:34:56] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:34:56] local.INFO: Packet analysis {"connection_id":188455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:34:56] local.INFO: Extracted packet for processing {"connection_id":188455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:34:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":188455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:34:56] local.INFO: GPS data processed {"connection_id":188455,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:34:56] local.INFO: Acknowledgment sent {"connection_id":188455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:35:14] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:35:14] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:35:14] local.INFO: IMEI packet received {"connection_id":185671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":185671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:35:19] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:35:19] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:35:19] local.INFO: IMEI packet received {"connection_id":185671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:35:19] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:35:19] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:35:19] local.INFO: Packet analysis {"connection_id":185671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:35:19] local.INFO: Extracted packet for processing {"connection_id":185671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":185671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:35:20] local.INFO: GPS data processed {"connection_id":185671,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:35:20] local.INFO: Acknowledgment sent {"connection_id":185671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:35:51] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:35:51] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:35:51] local.INFO: Packet analysis {"connection_id":185671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:35:51] local.INFO: Extracted packet for processing {"connection_id":185671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":185671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:35:51] local.INFO: GPS data processed {"connection_id":185671,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:35:51] local.INFO: Acknowledgment sent {"connection_id":185671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:36:13] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:36:13] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:36:13] local.INFO: IMEI packet received {"connection_id":185672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":185672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:36:19] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:36:19] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:36:19] local.INFO: IMEI packet received {"connection_id":185672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":185672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:36:20] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:36:20] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:36:20] local.INFO: Packet analysis {"connection_id":185672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:36:20] local.INFO: Extracted packet for processing {"connection_id":185672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:36:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":185672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:36:20] local.INFO: GPS data processed {"connection_id":185672,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:36:20] local.INFO: Acknowledgment sent {"connection_id":185672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:36:51] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:36:51] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:36:51] local.INFO: Packet analysis {"connection_id":185672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:36:51] local.INFO: Extracted packet for processing {"connection_id":185672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:36:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":185672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:36:51] local.INFO: GPS data processed {"connection_id":185672,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:36:51] local.INFO: Acknowledgment sent {"connection_id":185672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:37:13] local.INFO: TCP Data received {"connection_id":187143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:37:13] local.INFO: Processing buffer {"connection_id":187143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:37:13] local.INFO: IMEI packet received {"connection_id":187143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:37:19] local.INFO: TCP Data received {"connection_id":187143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:37:19] local.INFO: Processing buffer {"connection_id":187143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:37:19] local.INFO: IMEI packet received {"connection_id":187143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":187143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:37:20] local.INFO: TCP Data received {"connection_id":187143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:37:20] local.INFO: Processing buffer {"connection_id":187143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:37:20] local.INFO: Packet analysis {"connection_id":187143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:37:20] local.INFO: Extracted packet for processing {"connection_id":187143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":187143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:37:20] local.INFO: GPS data processed {"connection_id":187143,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:37:20] local.INFO: Acknowledgment sent {"connection_id":187143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:37:51] local.INFO: TCP Data received {"connection_id":187143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:37:51] local.INFO: Processing buffer {"connection_id":187143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:37:51] local.INFO: Packet analysis {"connection_id":187143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:37:51] local.INFO: Extracted packet for processing {"connection_id":187143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:37:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":187143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:37:51] local.INFO: GPS data processed {"connection_id":187143,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:37:51] local.INFO: Acknowledgment sent {"connection_id":187143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:38:13] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:38:13] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:38:13] local.INFO: IMEI packet received {"connection_id":187144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":187144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:38:19] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:38:19] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:38:19] local.INFO: IMEI packet received {"connection_id":187144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":187144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:38:20] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:38:20] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b12e32b0012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:38:20] local.INFO: Packet analysis {"connection_id":187144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:38:20] local.INFO: Extracted packet for processing {"connection_id":187144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b12e"} 
[2026-09-18 02:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789678990000,"timestamp_ms":1789678990000,"timestamp_seconds":1789678990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b12e32b0"} 
[2026-09-18 02:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157744384001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157744384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":187144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:38:20] local.INFO: GPS data processed {"connection_id":187144,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:38:20] local.INFO: Acknowledgment sent {"connection_id":187144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:38:51] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:38:51] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:38:51] local.INFO: Packet analysis {"connection_id":187144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:38:51] local.INFO: Extracted packet for processing {"connection_id":187144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:38: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-09-18 02:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":187144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:38:51] local.INFO: GPS data processed {"connection_id":187144,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:38:51] local.INFO: Acknowledgment sent {"connection_id":187144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:39:19] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:39:19] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:39:19] local.INFO: IMEI packet received {"connection_id":185673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:39:24] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:39:24] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:39:24] local.INFO: IMEI packet received {"connection_id":185673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":185673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:39:25] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:39:25] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:39:25] local.INFO: Packet analysis {"connection_id":185673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:39:25] local.INFO: Extracted packet for processing {"connection_id":185673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":185673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:39:25] local.INFO: GPS data processed {"connection_id":185673,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:39:25] local.INFO: Acknowledgment sent {"connection_id":185673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:39:56] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:39:56] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:39:56] local.INFO: Packet analysis {"connection_id":185673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:39:56] local.INFO: Extracted packet for processing {"connection_id":185673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:39:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":185673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:39:56] local.INFO: GPS data processed {"connection_id":185673,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:39:56] local.INFO: Acknowledgment sent {"connection_id":185673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:40:14] local.INFO: TCP Data received {"connection_id":187145,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:40:14] local.INFO: Processing buffer {"connection_id":187145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:40:14] local.INFO: IMEI packet received {"connection_id":187145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":187145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:40:19] local.INFO: TCP Data received {"connection_id":187145,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:40:19] local.INFO: Processing buffer {"connection_id":187145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:40:19] local.INFO: IMEI packet received {"connection_id":187145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":187145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:40:19] local.INFO: TCP Data received {"connection_id":187145,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:40:19] local.INFO: Processing buffer {"connection_id":187145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:40:19] local.INFO: Packet analysis {"connection_id":187145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:40:19] local.INFO: Extracted packet for processing {"connection_id":187145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":187145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:40:19] local.INFO: GPS data processed {"connection_id":187145,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:40:19] local.INFO: Acknowledgment sent {"connection_id":187145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:40:50] local.INFO: TCP Data received {"connection_id":187145,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:40:50] local.INFO: Processing buffer {"connection_id":187145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:40:50] local.INFO: Packet analysis {"connection_id":187145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:40:50] local.INFO: Extracted packet for processing {"connection_id":187145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:40:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":187145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:40:50] local.INFO: GPS data processed {"connection_id":187145,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:40:50] local.INFO: Acknowledgment sent {"connection_id":187145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:41:13] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:41:13] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:41:13] local.INFO: IMEI packet received {"connection_id":185845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":185845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:41:19] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:41:19] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:41:19] local.INFO: IMEI packet received {"connection_id":185845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":185845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:41:20] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:41:20] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:41:20] local.INFO: Packet analysis {"connection_id":185845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:41:20] local.INFO: Extracted packet for processing {"connection_id":185845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":185845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:41:20] local.INFO: GPS data processed {"connection_id":185845,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:41:20] local.INFO: Acknowledgment sent {"connection_id":185845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:41:51] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:41:51] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:41:51] local.INFO: Packet analysis {"connection_id":185845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:41:51] local.INFO: Extracted packet for processing {"connection_id":185845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:41:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:41: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-09-18 02:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":185845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:41:51] local.INFO: GPS data processed {"connection_id":185845,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:41:51] local.INFO: Acknowledgment sent {"connection_id":185845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:42:13] local.INFO: TCP Data received {"connection_id":185846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:42:13] local.INFO: Processing buffer {"connection_id":185846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:42:13] local.INFO: IMEI packet received {"connection_id":185846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":185846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:42:19] local.INFO: TCP Data received {"connection_id":185846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:42:19] local.INFO: Processing buffer {"connection_id":185846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:42:19] local.INFO: IMEI packet received {"connection_id":185846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":185846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:42:20] local.INFO: TCP Data received {"connection_id":185846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:42:20] local.INFO: Processing buffer {"connection_id":185846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:42:20] local.INFO: Packet analysis {"connection_id":185846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:42:20] local.INFO: Extracted packet for processing {"connection_id":185846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":185846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:42:20] local.INFO: GPS data processed {"connection_id":185846,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:42:20] local.INFO: Acknowledgment sent {"connection_id":185846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:42:51] local.INFO: TCP Data received {"connection_id":185846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:42:51] local.INFO: Processing buffer {"connection_id":185846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:42:51] local.INFO: Packet analysis {"connection_id":185846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:42:51] local.INFO: Extracted packet for processing {"connection_id":185846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:42: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-09-18 02:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":185846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:42:51] local.INFO: GPS data processed {"connection_id":185846,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:42:51] local.INFO: Acknowledgment sent {"connection_id":185846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:43:13] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:43:13] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:43:13] local.INFO: IMEI packet received {"connection_id":185674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":185674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:43:19] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:43:19] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:43:19] local.INFO: IMEI packet received {"connection_id":185674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":185674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:43:20] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:43:20] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:43:20] local.INFO: Packet analysis {"connection_id":185674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:43:20] local.INFO: Extracted packet for processing {"connection_id":185674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":185674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:43:20] local.INFO: GPS data processed {"connection_id":185674,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:43:20] local.INFO: Acknowledgment sent {"connection_id":185674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:43:51] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:43:51] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b132ca78012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:43:51] local.INFO: Packet analysis {"connection_id":185674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:43:51] local.INFO: Extracted packet for processing {"connection_id":185674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b132"} 
[2026-09-18 02:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157821440001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:43:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679291000,"timestamp_ms":1789679291000,"timestamp_seconds":1789679291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b132ca78"} 
[2026-09-18 02:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:43: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-09-18 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 02:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157821440001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157821440001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157821440001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":185674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:43:51] local.INFO: GPS data processed {"connection_id":185674,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:43:51] local.INFO: Acknowledgment sent {"connection_id":185674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:44:19] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:44:19] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:44:19] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:44:24] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:44:24] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:44:24] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:44:24] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:44:24] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:44:24] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:44:24] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:44:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:44:24] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:44:24] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:44:55] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:44:55] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:44:55] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:44:55] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:44:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:44: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-09-18 02: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-09-18 02:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:44:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:44:56] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:44:56] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:45:14] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:45:14] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:45:14] local.INFO: IMEI packet received {"connection_id":187146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":187146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:45:19] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:45:19] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:45:19] local.INFO: IMEI packet received {"connection_id":187146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":187146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:45:19] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:45:19] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:45:19] local.INFO: Packet analysis {"connection_id":187146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:45:19] local.INFO: Extracted packet for processing {"connection_id":187146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":187146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:45:19] local.INFO: GPS data processed {"connection_id":187146,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:45:19] local.INFO: Acknowledgment sent {"connection_id":187146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:45:51] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:45:51] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:45:51] local.INFO: Packet analysis {"connection_id":187146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:45:51] local.INFO: Extracted packet for processing {"connection_id":187146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:45:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:45: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-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":187146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:45:51] local.INFO: GPS data processed {"connection_id":187146,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:45:51] local.INFO: Acknowledgment sent {"connection_id":187146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:46:13] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:46:13] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:46:13] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:46:19] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:46:19] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:46:19] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:46:19] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:46:19] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:46:19] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:46:19] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:46:19] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:46:19] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:46:51] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:46:51] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:46:51] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:46:51] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:46:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:46: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-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:46:51] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:46:51] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:47:13] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:47:13] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:47:13] local.INFO: IMEI packet received {"connection_id":185675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":185675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:47:19] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:47:19] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:47:19] local.INFO: IMEI packet received {"connection_id":185675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":185675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:47:20] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:47:20] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:47:20] local.INFO: Packet analysis {"connection_id":185675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:47:20] local.INFO: Extracted packet for processing {"connection_id":185675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":185675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:47:20] local.INFO: GPS data processed {"connection_id":185675,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:47:20] local.INFO: Acknowledgment sent {"connection_id":185675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:47:51] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:47:51] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:47:51] local.INFO: Packet analysis {"connection_id":185675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:47:51] local.INFO: Extracted packet for processing {"connection_id":185675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:47:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:47: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-09-18 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":185675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:47:51] local.INFO: GPS data processed {"connection_id":185675,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:47:51] local.INFO: Acknowledgment sent {"connection_id":185675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:48:13] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:48:13] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:48:13] local.INFO: IMEI packet received {"connection_id":188458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":188458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:48:19] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:48:19] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:48:19] local.INFO: IMEI packet received {"connection_id":188458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":188458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:48:19] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:48:19] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:48:19] local.INFO: Packet analysis {"connection_id":188458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:48:19] local.INFO: Extracted packet for processing {"connection_id":188458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":188458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:48:19] local.INFO: GPS data processed {"connection_id":188458,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:48:19] local.INFO: Acknowledgment sent {"connection_id":188458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:48:51] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:48:51] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1376240012d34c14006aa4440000a01182d..."} 
[2026-09-18 02:48:51] local.INFO: Packet analysis {"connection_id":188458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:48:51] local.INFO: Extracted packet for processing {"connection_id":188458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b137"} 
[2026-09-18 02:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157898496001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679592000,"timestamp_ms":1789679592000,"timestamp_seconds":1789679592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1376240"} 
[2026-09-18 02:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:48: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-09-18 02:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 02:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157898496001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157898496001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157898496001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":188458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:48:51] local.INFO: GPS data processed {"connection_id":188458,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:48:51] local.INFO: Acknowledgment sent {"connection_id":188458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:49:19] local.INFO: TCP Data received {"connection_id":185847,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:49:19] local.INFO: Processing buffer {"connection_id":185847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:49:19] local.INFO: IMEI packet received {"connection_id":185847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":185847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:49:24] local.INFO: TCP Data received {"connection_id":185847,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:49:24] local.INFO: Processing buffer {"connection_id":185847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:49:24] local.INFO: IMEI packet received {"connection_id":185847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":185847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:49:25] local.INFO: TCP Data received {"connection_id":185847,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:49:25] local.INFO: Processing buffer {"connection_id":185847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:49:25] local.INFO: Packet analysis {"connection_id":185847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:49:25] local.INFO: Extracted packet for processing {"connection_id":185847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:49:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":185847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:49:25] local.INFO: GPS data processed {"connection_id":185847,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:49:25] local.INFO: Acknowledgment sent {"connection_id":185847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:49:56] local.INFO: TCP Data received {"connection_id":185847,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:49:56] local.INFO: Processing buffer {"connection_id":185847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:49:56] local.INFO: Packet analysis {"connection_id":185847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:49:56] local.INFO: Extracted packet for processing {"connection_id":185847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:49:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":185847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:49:56] local.INFO: GPS data processed {"connection_id":185847,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:49:56] local.INFO: Acknowledgment sent {"connection_id":185847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:50:13] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:50:13] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:50:13] local.INFO: IMEI packet received {"connection_id":185848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":185848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:50:19] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:50:19] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:50:19] local.INFO: IMEI packet received {"connection_id":185848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":185848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:50:22] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:50:22] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:50:22] local.INFO: Packet analysis {"connection_id":185848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:50:22] local.INFO: Extracted packet for processing {"connection_id":185848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:50:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":185848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:50:22] local.INFO: GPS data processed {"connection_id":185848,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:50:22] local.INFO: Acknowledgment sent {"connection_id":185848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:50:53] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:50:53] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:50:53] local.INFO: Packet analysis {"connection_id":185848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:50:53] local.INFO: Extracted packet for processing {"connection_id":185848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:50:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":185848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:50:53] local.INFO: GPS data processed {"connection_id":185848,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:50:53] local.INFO: Acknowledgment sent {"connection_id":185848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:51:13] local.INFO: TCP Data received {"connection_id":187147,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:51:13] local.INFO: Processing buffer {"connection_id":187147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:51:13] local.INFO: IMEI packet received {"connection_id":187147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":187147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:51:19] local.INFO: TCP Data received {"connection_id":187147,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:51:19] local.INFO: Processing buffer {"connection_id":187147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:51:19] local.INFO: IMEI packet received {"connection_id":187147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":187147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:51:20] local.INFO: TCP Data received {"connection_id":187147,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:51:20] local.INFO: Processing buffer {"connection_id":187147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:51:20] local.INFO: Packet analysis {"connection_id":187147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:51:20] local.INFO: Extracted packet for processing {"connection_id":187147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":187147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:51:20] local.INFO: GPS data processed {"connection_id":187147,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:51:20] local.INFO: Acknowledgment sent {"connection_id":187147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:51:51] local.INFO: TCP Data received {"connection_id":187147,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:51:51] local.INFO: Processing buffer {"connection_id":187147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:51:51] local.INFO: Packet analysis {"connection_id":187147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:51:51] local.INFO: Extracted packet for processing {"connection_id":187147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:51:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:51: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-09-18 02:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":187147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:51:51] local.INFO: GPS data processed {"connection_id":187147,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:51:51] local.INFO: Acknowledgment sent {"connection_id":187147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:52:13] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:52:13] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:52:13] local.INFO: IMEI packet received {"connection_id":188459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":188459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:52:18] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:52:18] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:52:18] local.INFO: IMEI packet received {"connection_id":188459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":188459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:52:19] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:52:19] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:52:19] local.INFO: Packet analysis {"connection_id":188459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:52:19] local.INFO: Extracted packet for processing {"connection_id":188459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:52:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":188459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:52:19] local.INFO: GPS data processed {"connection_id":188459,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:52:19] local.INFO: Acknowledgment sent {"connection_id":188459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:52:51] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:52:51] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:52:51] local.INFO: Packet analysis {"connection_id":188459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:52:51] local.INFO: Extracted packet for processing {"connection_id":188459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:52:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:52: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-09-18 02:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":188459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:52:51] local.INFO: GPS data processed {"connection_id":188459,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:52:51] local.INFO: Acknowledgment sent {"connection_id":188459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:53:13] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:53:13] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:53:13] local.INFO: IMEI packet received {"connection_id":188460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:53:18] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:53:18] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:53:18] local.INFO: IMEI packet received {"connection_id":188460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:53:19] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:53:19] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:53:19] local.INFO: Packet analysis {"connection_id":188460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:53:19] local.INFO: Extracted packet for processing {"connection_id":188460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:53:19] local.INFO: GPS data processed {"connection_id":188460,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:53:19] local.INFO: Acknowledgment sent {"connection_id":188460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:53:51] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:53:51] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b13bfa08012d34c14006aa4440000a01182e..."} 
[2026-09-18 02:53:51] local.INFO: Packet analysis {"connection_id":188460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:53:51] local.INFO: Extracted packet for processing {"connection_id":188460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b13b"} 
[2026-09-18 02:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458157975552001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:53:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789679893000,"timestamp_ms":1789679893000,"timestamp_seconds":1789679893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b13bfa08"} 
[2026-09-18 02:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:53: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-09-18 02:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 02:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458157975552001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458157975552001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458157975552001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":188460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:53:51] local.INFO: GPS data processed {"connection_id":188460,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:53:51] local.INFO: Acknowledgment sent {"connection_id":188460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:54:18] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:54:18] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:54:18] local.INFO: IMEI packet received {"connection_id":185849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":185849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:54:24] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:54:24] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:54:24] local.INFO: IMEI packet received {"connection_id":185849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":185849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:54:25] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:54:25] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:54:25] local.INFO: Packet analysis {"connection_id":185849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:54:25] local.INFO: Extracted packet for processing {"connection_id":185849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:54:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":185849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:54:25] local.INFO: GPS data processed {"connection_id":185849,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:54:25] local.INFO: Acknowledgment sent {"connection_id":185849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:54:56] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:54:56] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:54:56] local.INFO: Packet analysis {"connection_id":185849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:54:56] local.INFO: Extracted packet for processing {"connection_id":185849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:54:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":185849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:54:56] local.INFO: GPS data processed {"connection_id":185849,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:54:56] local.INFO: Acknowledgment sent {"connection_id":185849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:55:13] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:55:13] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:55:13] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:55:18] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:55:18] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:55:18] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:55:19] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:55:19] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:55:19] local.INFO: Packet analysis {"connection_id":188461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:55:19] local.INFO: Extracted packet for processing {"connection_id":188461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:55:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:55: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-09-18 02:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":188461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:55:19] local.INFO: GPS data processed {"connection_id":188461,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:55:19] local.INFO: Acknowledgment sent {"connection_id":188461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:55:51] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:55:51] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:55:51] local.INFO: Packet analysis {"connection_id":188461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:55:51] local.INFO: Extracted packet for processing {"connection_id":188461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:55:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:55: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":188461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:55:51] local.INFO: GPS data processed {"connection_id":188461,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:55:51] local.INFO: Acknowledgment sent {"connection_id":188461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:56:13] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:56:13] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:56:13] local.INFO: IMEI packet received {"connection_id":187148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":187148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:56:18] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:56:18] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:56:18] local.INFO: IMEI packet received {"connection_id":187148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":187148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:56:19] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:56:19] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:56:19] local.INFO: Packet analysis {"connection_id":187148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:56:19] local.INFO: Extracted packet for processing {"connection_id":187148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:56:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":187148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:56:19] local.INFO: GPS data processed {"connection_id":187148,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:56:19] local.INFO: Acknowledgment sent {"connection_id":187148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:56:51] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:56:51] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:56:51] local.INFO: Packet analysis {"connection_id":187148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:56:51] local.INFO: Extracted packet for processing {"connection_id":187148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:56:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:56: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-09-18 02:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":187148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:56:51] local.INFO: GPS data processed {"connection_id":187148,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:56:51] local.INFO: Acknowledgment sent {"connection_id":187148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:57:13] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:57:13] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:57:13] local.INFO: IMEI packet received {"connection_id":187149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":187149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:57:19] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:57:19] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:57:19] local.INFO: IMEI packet received {"connection_id":187149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":187149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:57:20] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:57:20] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:57:20] local.INFO: Packet analysis {"connection_id":187149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:57:20] local.INFO: Extracted packet for processing {"connection_id":187149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:57:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":187149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:57:20] local.INFO: GPS data processed {"connection_id":187149,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:57:20] local.INFO: Acknowledgment sent {"connection_id":187149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:57:51] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:57:51] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:57:51] local.INFO: Packet analysis {"connection_id":187149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:57:51] local.INFO: Extracted packet for processing {"connection_id":187149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:57:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:57: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":187149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:57:51] local.INFO: GPS data processed {"connection_id":187149,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:57:51] local.INFO: Acknowledgment sent {"connection_id":187149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:58:13] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:58:13] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:58:13] local.INFO: IMEI packet received {"connection_id":185850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":185850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:58:19] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:58:19] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:58:19] local.INFO: IMEI packet received {"connection_id":185850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":185850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:58:20] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:58:20] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:58:20] local.INFO: Packet analysis {"connection_id":185850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:58:20] local.INFO: Extracted packet for processing {"connection_id":185850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":185850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:58:20] local.INFO: GPS data processed {"connection_id":185850,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:58:20] local.INFO: Acknowledgment sent {"connection_id":185850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:58:51] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:58:51] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14091d0012d34c14006aa4440000a01182f..."} 
[2026-09-18 02:58:51] local.INFO: Packet analysis {"connection_id":185850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:58:51] local.INFO: Extracted packet for processing {"connection_id":185850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b140"} 
[2026-09-18 02:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02: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-09-18 02:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158052608001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680194000,"timestamp_ms":1789680194000,"timestamp_seconds":1789680194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14091d0"} 
[2026-09-18 02:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:58: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-09-18 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 02:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02: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-09-18 02:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158052608001,"66":25397,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158052608001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158052608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":185850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:58:51] local.INFO: GPS data processed {"connection_id":185850,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:58:51] local.INFO: Acknowledgment sent {"connection_id":185850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:59:19] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:59:19] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:59:19] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 02:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 02:59:23] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:59:24] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 02:59:24] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 02:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 02:59:25] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 02:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 02:59:25] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 02:59:25] local.INFO: Packet analysis {"connection_id":188462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 02:59:25] local.INFO: Extracted packet for processing {"connection_id":188462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 02:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:59:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 02:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 02:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":188462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:59:25] local.INFO: GPS data processed {"connection_id":188462,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:59:25] local.INFO: Acknowledgment sent {"connection_id":188462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 02:59:56] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 02:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 02:59:56] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 02:59:56] local.INFO: Packet analysis {"connection_id":188462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 02:59:56] local.INFO: Extracted packet for processing {"connection_id":188462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 02:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 02:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 02:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 02:59:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 02:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 02:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 02:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 02:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 02:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 02:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 02:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 02:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 02:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 02:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 02:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 02:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 02:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 02:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 02:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 02:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 02:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 02:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 02:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 02:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 02:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 02:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 02:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 02:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 02:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":188462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 02:59:56] local.INFO: GPS data processed {"connection_id":188462,"processed":1,"errors":0,"total":1} 
[2026-09-18 02:59:56] local.INFO: Acknowledgment sent {"connection_id":188462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:00:14] local.INFO: TCP Data received {"connection_id":185676,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:00:14] local.INFO: Processing buffer {"connection_id":185676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:00:14] local.INFO: IMEI packet received {"connection_id":185676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":185676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:00:18] local.INFO: TCP Data received {"connection_id":185676,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:00:18] local.INFO: Processing buffer {"connection_id":185676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:00:18] local.INFO: IMEI packet received {"connection_id":185676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":185676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:00:19] local.INFO: TCP Data received {"connection_id":185676,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:00:19] local.INFO: Processing buffer {"connection_id":185676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:00:19] local.INFO: Packet analysis {"connection_id":185676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:00:19] local.INFO: Extracted packet for processing {"connection_id":185676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:00:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":185676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:00:19] local.INFO: GPS data processed {"connection_id":185676,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:00:19] local.INFO: Acknowledgment sent {"connection_id":185676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:00:51] local.INFO: TCP Data received {"connection_id":185676,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:00:51] local.INFO: Processing buffer {"connection_id":185676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:00:51] local.INFO: Packet analysis {"connection_id":185676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:00:51] local.INFO: Extracted packet for processing {"connection_id":185676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:00:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":185676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:00:51] local.INFO: GPS data processed {"connection_id":185676,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:00:51] local.INFO: Acknowledgment sent {"connection_id":185676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:01:13] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:01:13] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:01:13] local.INFO: IMEI packet received {"connection_id":185851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":185851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:01:18] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:01:18] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:01:18] local.INFO: IMEI packet received {"connection_id":185851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":185851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:01:20] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:01:20] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:01:20] local.INFO: Packet analysis {"connection_id":185851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:01:20] local.INFO: Extracted packet for processing {"connection_id":185851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":185851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:01:20] local.INFO: GPS data processed {"connection_id":185851,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:01:20] local.INFO: Acknowledgment sent {"connection_id":185851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:01:51] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:01:51] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:01:51] local.INFO: Packet analysis {"connection_id":185851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:01:51] local.INFO: Extracted packet for processing {"connection_id":185851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:01:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":185851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:01:51] local.INFO: GPS data processed {"connection_id":185851,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:01:51] local.INFO: Acknowledgment sent {"connection_id":185851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:02:13] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:02:13] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:02:13] local.INFO: IMEI packet received {"connection_id":188463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":188463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:02:19] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:02:19] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:02:19] local.INFO: IMEI packet received {"connection_id":188463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":188463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:02:20] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:02:20] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:02:20] local.INFO: Packet analysis {"connection_id":188463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:02:20] local.INFO: Extracted packet for processing {"connection_id":188463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:02:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":188463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:02:20] local.INFO: GPS data processed {"connection_id":188463,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:02:20] local.INFO: Acknowledgment sent {"connection_id":188463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:02:52] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:02:52] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:02:52] local.INFO: Packet analysis {"connection_id":188463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:02:52] local.INFO: Extracted packet for processing {"connection_id":188463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":188463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:02:52] local.INFO: GPS data processed {"connection_id":188463,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:02:52] local.INFO: Acknowledgment sent {"connection_id":188463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:03:18] local.INFO: TCP Data received {"connection_id":185852,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:03:18] local.INFO: Processing buffer {"connection_id":185852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:03:18] local.INFO: IMEI packet received {"connection_id":185852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":185852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:03:23] local.INFO: TCP Data received {"connection_id":185852,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:03:23] local.INFO: Processing buffer {"connection_id":185852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:03:23] local.INFO: IMEI packet received {"connection_id":185852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":185852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:03:25] local.INFO: TCP Data received {"connection_id":185852,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:03:25] local.INFO: Processing buffer {"connection_id":185852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:03:25] local.INFO: Packet analysis {"connection_id":185852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:03:25] local.INFO: Extracted packet for processing {"connection_id":185852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:03:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":185852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:03:25] local.INFO: GPS data processed {"connection_id":185852,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:03:25] local.INFO: Acknowledgment sent {"connection_id":185852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:03:29] local.INFO: TCP Data received {"connection_id":185852,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:03:29] local.INFO: Processing buffer {"connection_id":185852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1452998012d34c14006aa4440000a011830..."} 
[2026-09-18 03:03:29] local.INFO: Packet analysis {"connection_id":185852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:03:29] local.INFO: Extracted packet for processing {"connection_id":185852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b145"} 
[2026-09-18 03:03:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158129664001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:03:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789680495000,"timestamp_ms":1789680495000,"timestamp_seconds":1789680495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1452998"} 
[2026-09-18 03:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158129664001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158129664001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:03:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158129664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":185852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:03:29] local.INFO: GPS data processed {"connection_id":185852,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:03:29] local.INFO: Acknowledgment sent {"connection_id":185852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:04:13] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:04:14] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:04:14] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:04:18] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:04:18] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:04:18] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:04:20] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:04:20] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:04:20] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:04:20] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:04:20] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:04:20] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:04:52] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:04:52] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:04:52] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:04:52] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:04:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:04:52] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:04:52] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:05:14] local.INFO: TCP Data received {"connection_id":185677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:05:14] local.INFO: Processing buffer {"connection_id":185677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:05:14] local.INFO: IMEI packet received {"connection_id":185677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":185677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:05:18] local.INFO: TCP Data received {"connection_id":185677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:05:18] local.INFO: Processing buffer {"connection_id":185677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:05:18] local.INFO: IMEI packet received {"connection_id":185677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":185677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:05:20] local.INFO: TCP Data received {"connection_id":185677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:05:20] local.INFO: Processing buffer {"connection_id":185677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:05:20] local.INFO: Packet analysis {"connection_id":185677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:05:20] local.INFO: Extracted packet for processing {"connection_id":185677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":185677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:05:20] local.INFO: GPS data processed {"connection_id":185677,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:05:20] local.INFO: Acknowledgment sent {"connection_id":185677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:05:51] local.INFO: TCP Data received {"connection_id":185677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:05:51] local.INFO: Processing buffer {"connection_id":185677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:05:51] local.INFO: Packet analysis {"connection_id":185677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:05:51] local.INFO: Extracted packet for processing {"connection_id":185677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:05:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":185677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:05:51] local.INFO: GPS data processed {"connection_id":185677,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:05:51] local.INFO: Acknowledgment sent {"connection_id":185677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:06:13] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:06:13] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:06:13] local.INFO: IMEI packet received {"connection_id":187150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":187150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:06:18] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:06:18] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:06:18] local.INFO: IMEI packet received {"connection_id":187150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":187150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:06:20] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:06:20] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:06:20] local.INFO: Packet analysis {"connection_id":187150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:06:20] local.INFO: Extracted packet for processing {"connection_id":187150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":187150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:06:20] local.INFO: GPS data processed {"connection_id":187150,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:06:20] local.INFO: Acknowledgment sent {"connection_id":187150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:06:51] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:06:51] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:06:51] local.INFO: Packet analysis {"connection_id":187150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:06:51] local.INFO: Extracted packet for processing {"connection_id":187150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:06:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":187150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:06:51] local.INFO: GPS data processed {"connection_id":187150,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:06:51] local.INFO: Acknowledgment sent {"connection_id":187150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:07:13] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:07:13] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:07:13] local.INFO: IMEI packet received {"connection_id":188465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:07:18] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:07:18] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:07:18] local.INFO: IMEI packet received {"connection_id":188465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":188465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:07:20] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:07:20] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:07:20] local.INFO: Packet analysis {"connection_id":188465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:07:20] local.INFO: Extracted packet for processing {"connection_id":188465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":188465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:07:20] local.INFO: GPS data processed {"connection_id":188465,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:07:20] local.INFO: Acknowledgment sent {"connection_id":188465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:07:52] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:07:52] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:07:52] local.INFO: Packet analysis {"connection_id":188465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:07:52] local.INFO: Extracted packet for processing {"connection_id":188465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":188465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:07:52] local.INFO: GPS data processed {"connection_id":188465,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:07:52] local.INFO: Acknowledgment sent {"connection_id":188465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:08:18] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:08:18] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:08:18] local.INFO: IMEI packet received {"connection_id":185853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":185853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:08:23] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:08:23] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:08:23] local.INFO: IMEI packet received {"connection_id":185853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":185853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:08:25] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:08:25] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:08:25] local.INFO: Packet analysis {"connection_id":185853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:08:25] local.INFO: Extracted packet for processing {"connection_id":185853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:08:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":185853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:08:25] local.INFO: GPS data processed {"connection_id":185853,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:08:25] local.INFO: Acknowledgment sent {"connection_id":185853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:08:29] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:08:29] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b149c160012d34c14006aa4440000a011830..."} 
[2026-09-18 03:08:29] local.INFO: Packet analysis {"connection_id":185853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:08:29] local.INFO: Extracted packet for processing {"connection_id":185853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b149"} 
[2026-09-18 03:08:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158206720001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:08:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789680796000,"timestamp_ms":1789680796000,"timestamp_seconds":1789680796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b149c160"} 
[2026-09-18 03:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158206720001,"66":25419,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158206720001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:08:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158206720001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":185853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:08:29] local.INFO: GPS data processed {"connection_id":185853,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:08:29] local.INFO: Acknowledgment sent {"connection_id":185853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:09:13] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:09:13] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:09:13] local.INFO: IMEI packet received {"connection_id":187151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":187151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:09:18] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:09:18] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:09:18] local.INFO: IMEI packet received {"connection_id":187151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":187151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:09:19] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:09:19] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:09:19] local.INFO: Packet analysis {"connection_id":187151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:09:19] local.INFO: Extracted packet for processing {"connection_id":187151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:09:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":187151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:09:19] local.INFO: GPS data processed {"connection_id":187151,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:09:19] local.INFO: Acknowledgment sent {"connection_id":187151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:09:51] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:09:51] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:09:51] local.INFO: Packet analysis {"connection_id":187151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:09:51] local.INFO: Extracted packet for processing {"connection_id":187151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:09:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":187151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:09:51] local.INFO: GPS data processed {"connection_id":187151,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:09:51] local.INFO: Acknowledgment sent {"connection_id":187151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:10:14] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:10:14] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:10:14] local.INFO: IMEI packet received {"connection_id":185854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":185854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:10:18] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:10:18] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:10:18] local.INFO: IMEI packet received {"connection_id":185854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":185854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:10:19] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:10:19] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:10:19] local.INFO: Packet analysis {"connection_id":185854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:10:19] local.INFO: Extracted packet for processing {"connection_id":185854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:10:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":185854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:10:19] local.INFO: GPS data processed {"connection_id":185854,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:10:19] local.INFO: Acknowledgment sent {"connection_id":185854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:10:51] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:10:51] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:10:51] local.INFO: Packet analysis {"connection_id":185854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:10:51] local.INFO: Extracted packet for processing {"connection_id":185854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:10:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":185854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:10:51] local.INFO: GPS data processed {"connection_id":185854,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:10:51] local.INFO: Acknowledgment sent {"connection_id":185854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:11:13] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:11:13] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:11:13] local.INFO: IMEI packet received {"connection_id":187152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":187152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:11:18] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:11:18] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:11:18] local.INFO: IMEI packet received {"connection_id":187152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":187152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:11:19] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:11:19] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:11:19] local.INFO: Packet analysis {"connection_id":187152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:11:19] local.INFO: Extracted packet for processing {"connection_id":187152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:11:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":187152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:11:19] local.INFO: GPS data processed {"connection_id":187152,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:11:19] local.INFO: Acknowledgment sent {"connection_id":187152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:11:51] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:11:51] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:11:51] local.INFO: Packet analysis {"connection_id":187152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:11:51] local.INFO: Extracted packet for processing {"connection_id":187152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:11:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":187152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:11:51] local.INFO: GPS data processed {"connection_id":187152,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:11:51] local.INFO: Acknowledgment sent {"connection_id":187152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:12:13] local.INFO: TCP Data received {"connection_id":185678,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:12:13] local.INFO: Processing buffer {"connection_id":185678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:12:13] local.INFO: IMEI packet received {"connection_id":185678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":185678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:12:18] local.INFO: TCP Data received {"connection_id":185678,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:12:18] local.INFO: Processing buffer {"connection_id":185678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:12:18] local.INFO: IMEI packet received {"connection_id":185678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":185678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:12:20] local.INFO: TCP Data received {"connection_id":185678,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:12:20] local.INFO: Processing buffer {"connection_id":185678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:12:20] local.INFO: Packet analysis {"connection_id":185678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:12:20] local.INFO: Extracted packet for processing {"connection_id":185678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":185678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:12:20] local.INFO: GPS data processed {"connection_id":185678,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:12:20] local.INFO: Acknowledgment sent {"connection_id":185678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:12:51] local.INFO: TCP Data received {"connection_id":185678,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:12:51] local.INFO: Processing buffer {"connection_id":185678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:12:51] local.INFO: Packet analysis {"connection_id":185678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:12:51] local.INFO: Extracted packet for processing {"connection_id":185678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:12:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":185678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:12:51] local.INFO: GPS data processed {"connection_id":185678,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:12:51] local.INFO: Acknowledgment sent {"connection_id":185678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:13:18] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:13:18] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:13:18] local.INFO: IMEI packet received {"connection_id":185679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":185679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:13:23] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:13:23] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:13:23] local.INFO: IMEI packet received {"connection_id":185679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":185679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:13:25] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:13:25] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:13:25] local.INFO: Packet analysis {"connection_id":185679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:13:25] local.INFO: Extracted packet for processing {"connection_id":185679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:13:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":185679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:13:25] local.INFO: GPS data processed {"connection_id":185679,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:13:25] local.INFO: Acknowledgment sent {"connection_id":185679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:13:29] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:13:29] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b14e5928012d34c14006aa4440000a011830..."} 
[2026-09-18 03:13:29] local.INFO: Packet analysis {"connection_id":185679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:13:29] local.INFO: Extracted packet for processing {"connection_id":185679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b14e"} 
[2026-09-18 03:13:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158283776001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:13:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789681097000,"timestamp_ms":1789681097000,"timestamp_seconds":1789681097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b14e5928"} 
[2026-09-18 03:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 03:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158283776001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158283776001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:13:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158283776001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":185679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:13:29] local.INFO: GPS data processed {"connection_id":185679,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:13:29] local.INFO: Acknowledgment sent {"connection_id":185679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:14:13] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:14:13] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:14:13] local.INFO: IMEI packet received {"connection_id":187153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":187153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:14:18] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:14:18] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:14:18] local.INFO: IMEI packet received {"connection_id":187153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":187153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:14:19] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:14:19] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:14:19] local.INFO: Packet analysis {"connection_id":187153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:14:19] local.INFO: Extracted packet for processing {"connection_id":187153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:14:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":187153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:14:19] local.INFO: GPS data processed {"connection_id":187153,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:14:19] local.INFO: Acknowledgment sent {"connection_id":187153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:14:51] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:14:51] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:14:51] local.INFO: Packet analysis {"connection_id":187153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:14:51] local.INFO: Extracted packet for processing {"connection_id":187153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":187153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:14:51] local.INFO: GPS data processed {"connection_id":187153,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:14:51] local.INFO: Acknowledgment sent {"connection_id":187153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:15:16] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:15:16] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:15:16] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:15:18] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:15:18] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:15:18] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:15:20] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:20] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:20] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:15:20] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:15:20] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:15:20] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:15:24] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:24] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:24] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:15:24] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:15:24] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:15:24] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:15:55] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:55] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:15:55] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:15:55] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:15: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-09-18 03: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-09-18 03:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:15:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:15:55] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:15:55] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:16:13] local.INFO: TCP Data received {"connection_id":185680,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:16:13] local.INFO: Processing buffer {"connection_id":185680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:16:13] local.INFO: IMEI packet received {"connection_id":185680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":185680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:16:18] local.INFO: TCP Data received {"connection_id":185680,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:16:18] local.INFO: Processing buffer {"connection_id":185680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:16:18] local.INFO: IMEI packet received {"connection_id":185680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":185680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:16:19] local.INFO: TCP Data received {"connection_id":185680,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:16:19] local.INFO: Processing buffer {"connection_id":185680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:16:19] local.INFO: Packet analysis {"connection_id":185680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:16:19] local.INFO: Extracted packet for processing {"connection_id":185680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:16:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":185680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:16:19] local.INFO: GPS data processed {"connection_id":185680,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:16:19] local.INFO: Acknowledgment sent {"connection_id":185680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:16:50] local.INFO: TCP Data received {"connection_id":185680,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:16:50] local.INFO: Processing buffer {"connection_id":185680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:16:50] local.INFO: Packet analysis {"connection_id":185680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:16:50] local.INFO: Extracted packet for processing {"connection_id":185680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:16:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":185680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:16:50] local.INFO: GPS data processed {"connection_id":185680,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:16:50] local.INFO: Acknowledgment sent {"connection_id":185680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:17:13] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:17:13] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:17:13] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:17:18] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:17:18] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:17:18] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:17:20] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:17:20] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:17:20] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:17:20] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:17:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:17:20] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:17:20] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:17:51] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:17:51] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:17:51] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:17:51] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:17:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:17:51] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:17:51] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:18:13] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:18:13] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:18:13] local.INFO: IMEI packet received {"connection_id":188468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:18:18] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:18:18] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:18:18] local.INFO: IMEI packet received {"connection_id":188468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:18:19] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:18:19] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:18:19] local.INFO: Packet analysis {"connection_id":188468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:18:19] local.INFO: Extracted packet for processing {"connection_id":188468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:18:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:18:19] local.INFO: GPS data processed {"connection_id":188468,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:18:19] local.INFO: Acknowledgment sent {"connection_id":188468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:18:51] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:18:51] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b152f0f0012d34c14006aa4440000a011830..."} 
[2026-09-18 03:18:51] local.INFO: Packet analysis {"connection_id":188468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:18:51] local.INFO: Extracted packet for processing {"connection_id":188468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b152"} 
[2026-09-18 03:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158360832001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:18:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789681398000,"timestamp_ms":1789681398000,"timestamp_seconds":1789681398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b152f0f0"} 
[2026-09-18 03:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 03:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158360832001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158360832001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158360832001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":188468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:18:51] local.INFO: GPS data processed {"connection_id":188468,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:18:51] local.INFO: Acknowledgment sent {"connection_id":188468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:20:11] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:11] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:11] local.INFO: IMEI packet received {"connection_id":188469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":188469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:20:18] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:18] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:18] local.INFO: IMEI packet received {"connection_id":185855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":185855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:20:30] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:30] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:20:30] local.INFO: IMEI packet received {"connection_id":185855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":185855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:21:51] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:21:51] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:21:51] local.INFO: IMEI packet received {"connection_id":185681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":185681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:21:53] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:21:53] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:21:53] local.INFO: IMEI packet received {"connection_id":185681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":185681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:21:56] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:21:56] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:21:56] local.INFO: Packet analysis {"connection_id":185681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:21:56] local.INFO: Extracted packet for processing {"connection_id":185681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:21:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789681699000,"timestamp_ms":1789681699000,"timestamp_seconds":1789681699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15788b8"} 
[2026-09-18 03:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158437888001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:21:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158437888001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":185681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:21:56] local.INFO: GPS data processed {"connection_id":185681,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:21:56] local.INFO: Acknowledgment sent {"connection_id":185681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:22:44] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.106.6.49","data_length":1348,"data_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:44] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:44] local.INFO: Packet analysis {"connection_id":185855,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:44] local.INFO: Extracted packet for processing {"connection_id":185855,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789681699000,"timestamp_ms":1789681699000,"timestamp_seconds":1789681699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15788b8"} 
[2026-09-18 03:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158437888001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158437888001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":185855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:22:44] local.INFO: GPS data processed {"connection_id":185855,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:22:44] local.INFO: Acknowledgment sent {"connection_id":185855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:22:44] local.INFO: Packet analysis {"connection_id":185855,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:44] local.INFO: Incomplete packet, waiting for more data {"connection_id":185855,"needed":795,"available":553} 
[2026-09-18 03:22:45] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.106.6.49","data_length":242,"data_hex":"000000000001a0b1376240012d34c14006aa4440000a01182d00000000000a00..."} 
[2026-09-18 03:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":242,"packet_hex":"000000000001a0b1376240012d34c14006aa4440000a01182d00000000000a00..."} 
[2026-09-18 03:22:45] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:45] local.INFO: Packet analysis {"connection_id":185855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:45] local.INFO: Extracted packet for processing {"connection_id":185855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789681699000,"timestamp_ms":1789681699000,"timestamp_seconds":1789681699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15788b8"} 
[2026-09-18 03:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158437888001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158437888001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":185855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:22:45] local.INFO: GPS data processed {"connection_id":185855,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:22:45] local.INFO: Acknowledgment sent {"connection_id":185855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:22:48] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:22:48] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:22:48] local.INFO: IMEI packet received {"connection_id":187154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":187154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:22:53] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:22:53] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:22:53] local.INFO: IMEI packet received {"connection_id":187154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":187154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:22:54] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:54] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:22:54] local.INFO: Packet analysis {"connection_id":187154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:54] local.INFO: Extracted packet for processing {"connection_id":187154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789681699000,"timestamp_ms":1789681699000,"timestamp_seconds":1789681699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15788b8"} 
[2026-09-18 03:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:22: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-09-18 03:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:22: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-09-18 03:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158437888001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158437888001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":187154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:22:54] local.INFO: GPS data processed {"connection_id":187154,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:22:54] local.INFO: Acknowledgment sent {"connection_id":187154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:23:23] local.INFO: TCP Data received {"connection_id":185682,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:23:23] local.INFO: Processing buffer {"connection_id":185682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:23:23] local.INFO: IMEI packet received {"connection_id":185682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":185682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:23:28] local.INFO: TCP Data received {"connection_id":185682,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:23:29] local.INFO: Processing buffer {"connection_id":185682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:23:29] local.INFO: IMEI packet received {"connection_id":185682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":185682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:23:30] local.INFO: TCP Data received {"connection_id":185682,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:23:30] local.INFO: Processing buffer {"connection_id":185682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:23:30] local.INFO: Packet analysis {"connection_id":185682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:23:30] local.INFO: Extracted packet for processing {"connection_id":185682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:23:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789681699000,"timestamp_ms":1789681699000,"timestamp_seconds":1789681699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15788b8"} 
[2026-09-18 03:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:23: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-09-18 03: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-09-18 03:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158437888001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:23:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158437888001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":185682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:23:30] local.INFO: GPS data processed {"connection_id":185682,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:23:30] local.INFO: Acknowledgment sent {"connection_id":185682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:23:34] local.INFO: TCP Data received {"connection_id":185682,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:23:34] local.INFO: Processing buffer {"connection_id":185682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15788b8012d34c14006aa4440000a011830..."} 
[2026-09-18 03:23:34] local.INFO: Packet analysis {"connection_id":185682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:23:34] local.INFO: Extracted packet for processing {"connection_id":185682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b157"} 
[2026-09-18 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:23:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 03:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 03:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789681699000,"timestamp_ms":1789681699000,"timestamp_seconds":1789681699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15788b8"} 
[2026-09-18 03:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03: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-09-18 03: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":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:23: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-09-18 03: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-09-18 03:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158437888001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 03:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158437888001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":185682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:23:34] local.INFO: GPS data processed {"connection_id":185682,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:23:34] local.INFO: Acknowledgment sent {"connection_id":185682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:24:14] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:24:14] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:24:14] local.INFO: IMEI packet received {"connection_id":187155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":187155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:24:19] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:24:19] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:24:19] local.INFO: IMEI packet received {"connection_id":187155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":187155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:24:20] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:24:20] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:24:20] local.INFO: Packet analysis {"connection_id":187155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:24:20] local.INFO: Extracted packet for processing {"connection_id":187155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":187155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:24:20] local.INFO: GPS data processed {"connection_id":187155,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:24:20] local.INFO: Acknowledgment sent {"connection_id":187155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:24:51] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:24:51] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:24:51] local.INFO: Packet analysis {"connection_id":187155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:24:51] local.INFO: Extracted packet for processing {"connection_id":187155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":187155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:24:51] local.INFO: GPS data processed {"connection_id":187155,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:24:51] local.INFO: Acknowledgment sent {"connection_id":187155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:25:13] local.INFO: TCP Data received {"connection_id":185856,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:25:13] local.INFO: Processing buffer {"connection_id":185856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:25:13] local.INFO: IMEI packet received {"connection_id":185856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":185856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:25:18] local.INFO: TCP Data received {"connection_id":185856,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:25:18] local.INFO: Processing buffer {"connection_id":185856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:25:18] local.INFO: IMEI packet received {"connection_id":185856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":185856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:25:20] local.INFO: TCP Data received {"connection_id":185856,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:25:20] local.INFO: Processing buffer {"connection_id":185856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:25:20] local.INFO: Packet analysis {"connection_id":185856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:25:20] local.INFO: Extracted packet for processing {"connection_id":185856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":185856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:25:20] local.INFO: GPS data processed {"connection_id":185856,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:25:20] local.INFO: Acknowledgment sent {"connection_id":185856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:25:51] local.INFO: TCP Data received {"connection_id":185856,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:25:51] local.INFO: Processing buffer {"connection_id":185856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:25:51] local.INFO: Packet analysis {"connection_id":185856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:25:51] local.INFO: Extracted packet for processing {"connection_id":185856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":185856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:25:51] local.INFO: GPS data processed {"connection_id":185856,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:25:51] local.INFO: Acknowledgment sent {"connection_id":185856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:26:13] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:26:14] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:26:14] local.INFO: IMEI packet received {"connection_id":185683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:26:18] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:26:18] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:26:18] local.INFO: IMEI packet received {"connection_id":185683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":185683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:26:19] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:26:19] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:26:19] local.INFO: Packet analysis {"connection_id":185683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:26:19] local.INFO: Extracted packet for processing {"connection_id":185683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":185683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:26:19] local.INFO: GPS data processed {"connection_id":185683,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:26:19] local.INFO: Acknowledgment sent {"connection_id":185683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:26:51] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:26:51] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:26:51] local.INFO: Packet analysis {"connection_id":185683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:26:51] local.INFO: Extracted packet for processing {"connection_id":185683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":185683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:26:51] local.INFO: GPS data processed {"connection_id":185683,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:26:51] local.INFO: Acknowledgment sent {"connection_id":185683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:27:19] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:27:19] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:27:19] local.INFO: IMEI packet received {"connection_id":185684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":185684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:27:24] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:27:24] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:27:24] local.INFO: IMEI packet received {"connection_id":185684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":185684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:27:25] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:27:25] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:27:25] local.INFO: Packet analysis {"connection_id":185684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:27:25] local.INFO: Extracted packet for processing {"connection_id":185684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":185684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:27:25] local.INFO: GPS data processed {"connection_id":185684,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:27:25] local.INFO: Acknowledgment sent {"connection_id":185684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:27:29] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:27:29] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:27:29] local.INFO: Packet analysis {"connection_id":185684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:27:29] local.INFO: Extracted packet for processing {"connection_id":185684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:27:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:27: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-09-18 03:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:27:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":185684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:27:29] local.INFO: GPS data processed {"connection_id":185684,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:27:29] local.INFO: Acknowledgment sent {"connection_id":185684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:28:13] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:28:13] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:28:13] local.INFO: IMEI packet received {"connection_id":187156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":187156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:28:18] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:28:18] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:28:18] local.INFO: IMEI packet received {"connection_id":187156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":187156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:28:19] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:28:19] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:28:19] local.INFO: Packet analysis {"connection_id":187156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:28:19] local.INFO: Extracted packet for processing {"connection_id":187156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":187156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:28:19] local.INFO: GPS data processed {"connection_id":187156,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:28:19] local.INFO: Acknowledgment sent {"connection_id":187156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:28:51] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:28:51] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b15c2080012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:28:51] local.INFO: Packet analysis {"connection_id":187156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:28:51] local.INFO: Extracted packet for processing {"connection_id":187156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b15c"} 
[2026-09-18 03:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682000000,"timestamp_ms":1789682000000,"timestamp_seconds":1789682000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b15c2080"} 
[2026-09-18 03:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 03:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158514944001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158514944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":187156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:28:51] local.INFO: GPS data processed {"connection_id":187156,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:28:51] local.INFO: Acknowledgment sent {"connection_id":187156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:29:13] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:29:13] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:29:13] local.INFO: IMEI packet received {"connection_id":188470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:29:18] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:29:18] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:29:18] local.INFO: IMEI packet received {"connection_id":188470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:29:19] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:29:19] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:29:19] local.INFO: Packet analysis {"connection_id":188470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:29:19] local.INFO: Extracted packet for processing {"connection_id":188470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":188470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:29:19] local.INFO: GPS data processed {"connection_id":188470,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:29:19] local.INFO: Acknowledgment sent {"connection_id":188470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:29:50] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:29:50] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:29:50] local.INFO: Packet analysis {"connection_id":188470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:29:50] local.INFO: Extracted packet for processing {"connection_id":188470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":188470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:29:50] local.INFO: GPS data processed {"connection_id":188470,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:29:50] local.INFO: Acknowledgment sent {"connection_id":188470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:30:13] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:30:13] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:30:13] local.INFO: IMEI packet received {"connection_id":188471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:30:19] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:30:19] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:30:19] local.INFO: IMEI packet received {"connection_id":188471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":188471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:30:20] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:30:20] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:30:20] local.INFO: Packet analysis {"connection_id":188471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:30:20] local.INFO: Extracted packet for processing {"connection_id":188471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:30:20] local.INFO: GPS data processed {"connection_id":188471,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:30:20] local.INFO: Acknowledgment sent {"connection_id":188471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:30:51] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:30:51] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:30:51] local.INFO: Packet analysis {"connection_id":188471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:30:51] local.INFO: Extracted packet for processing {"connection_id":188471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":188471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:30:51] local.INFO: GPS data processed {"connection_id":188471,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:30:51] local.INFO: Acknowledgment sent {"connection_id":188471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:31:13] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:31:13] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:31:13] local.INFO: IMEI packet received {"connection_id":185857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":185857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:31:18] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:31:18] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:31:18] local.INFO: IMEI packet received {"connection_id":185857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":185857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:31:20] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:31:20] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:31:20] local.INFO: Packet analysis {"connection_id":185857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:31:20] local.INFO: Extracted packet for processing {"connection_id":185857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":185857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:31:20] local.INFO: GPS data processed {"connection_id":185857,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:31:20] local.INFO: Acknowledgment sent {"connection_id":185857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:31:51] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:31:51] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:31:51] local.INFO: Packet analysis {"connection_id":185857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:31:51] local.INFO: Extracted packet for processing {"connection_id":185857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":185857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:31:51] local.INFO: GPS data processed {"connection_id":185857,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:31:51] local.INFO: Acknowledgment sent {"connection_id":185857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:32:18] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:32:18] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:32:18] local.INFO: IMEI packet received {"connection_id":185685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":185685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:32:23] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:32:23] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:32:23] local.INFO: IMEI packet received {"connection_id":185685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":185685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:32:25] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:32:25] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:32:25] local.INFO: Packet analysis {"connection_id":185685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:32:25] local.INFO: Extracted packet for processing {"connection_id":185685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:32:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":185685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:32:25] local.INFO: GPS data processed {"connection_id":185685,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:32:25] local.INFO: Acknowledgment sent {"connection_id":185685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:32:29] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:32:29] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:32:29] local.INFO: Packet analysis {"connection_id":185685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:32:29] local.INFO: Extracted packet for processing {"connection_id":185685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:32:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:32: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-09-18 03:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:32:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":185685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:32:29] local.INFO: GPS data processed {"connection_id":185685,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:32:29] local.INFO: Acknowledgment sent {"connection_id":185685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:33:13] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:33:13] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:33:13] local.INFO: IMEI packet received {"connection_id":187157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":187157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:33:18] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:33:18] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:33:18] local.INFO: IMEI packet received {"connection_id":187157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":187157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:33:19] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:33:19] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:33:19] local.INFO: Packet analysis {"connection_id":187157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:33:19] local.INFO: Extracted packet for processing {"connection_id":187157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":187157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:33:19] local.INFO: GPS data processed {"connection_id":187157,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:33:19] local.INFO: Acknowledgment sent {"connection_id":187157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:33:52] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:33:52] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b160b848012d34c14006aa4440000a01182c..."} 
[2026-09-18 03:33:52] local.INFO: Packet analysis {"connection_id":187157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:33:52] local.INFO: Extracted packet for processing {"connection_id":187157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b160"} 
[2026-09-18 03:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158592000001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789682301000,"timestamp_ms":1789682301000,"timestamp_seconds":1789682301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b160b848"} 
[2026-09-18 03:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158592000001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158592000001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158592000001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":187157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:33:52] local.INFO: GPS data processed {"connection_id":187157,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:33:52] local.INFO: Acknowledgment sent {"connection_id":187157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:34:13] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:34:13] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:34:13] local.INFO: IMEI packet received {"connection_id":185858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":185858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:34:18] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:34:18] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:34:18] local.INFO: IMEI packet received {"connection_id":185858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":185858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:34:19] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:34:19] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:34:19] local.INFO: Packet analysis {"connection_id":185858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:34:19] local.INFO: Extracted packet for processing {"connection_id":185858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":185858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:34:19] local.INFO: GPS data processed {"connection_id":185858,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:34:19] local.INFO: Acknowledgment sent {"connection_id":185858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:34:51] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:34:51] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:34:51] local.INFO: Packet analysis {"connection_id":185858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:34:51] local.INFO: Extracted packet for processing {"connection_id":185858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:34: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-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":185858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:34:51] local.INFO: GPS data processed {"connection_id":185858,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:34:51] local.INFO: Acknowledgment sent {"connection_id":185858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:35:13] local.INFO: TCP Data received {"connection_id":185686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:35:13] local.INFO: Processing buffer {"connection_id":185686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:35:13] local.INFO: IMEI packet received {"connection_id":185686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":185686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:35:19] local.INFO: TCP Data received {"connection_id":185686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:35:19] local.INFO: Processing buffer {"connection_id":185686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:35:19] local.INFO: IMEI packet received {"connection_id":185686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:35:19] local.INFO: TCP Data received {"connection_id":185686,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:35:19] local.INFO: Processing buffer {"connection_id":185686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:35:19] local.INFO: Packet analysis {"connection_id":185686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:35:19] local.INFO: Extracted packet for processing {"connection_id":185686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":185686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:35:19] local.INFO: GPS data processed {"connection_id":185686,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:35:19] local.INFO: Acknowledgment sent {"connection_id":185686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:35:52] local.INFO: TCP Data received {"connection_id":185686,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:35:52] local.INFO: Processing buffer {"connection_id":185686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:35:52] local.INFO: Packet analysis {"connection_id":185686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:35:52] local.INFO: Extracted packet for processing {"connection_id":185686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":185686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:35:52] local.INFO: GPS data processed {"connection_id":185686,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:35:52] local.INFO: Acknowledgment sent {"connection_id":185686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:36:13] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:36:13] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:36:13] local.INFO: IMEI packet received {"connection_id":185859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":185859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:36:18] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:36:18] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:36:18] local.INFO: IMEI packet received {"connection_id":185859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":185859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:36:19] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:36:19] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:36:19] local.INFO: Packet analysis {"connection_id":185859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:36:19] local.INFO: Extracted packet for processing {"connection_id":185859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":185859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:36:20] local.INFO: GPS data processed {"connection_id":185859,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:36:20] local.INFO: Acknowledgment sent {"connection_id":185859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:36:51] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:36:51] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:36:51] local.INFO: Packet analysis {"connection_id":185859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:36:51] local.INFO: Extracted packet for processing {"connection_id":185859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:36: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-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":185859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:36:51] local.INFO: GPS data processed {"connection_id":185859,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:36:51] local.INFO: Acknowledgment sent {"connection_id":185859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:37:18] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:37:18] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:37:18] local.INFO: IMEI packet received {"connection_id":185860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":185860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:37:24] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:37:24] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:37:24] local.INFO: IMEI packet received {"connection_id":185860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":185860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:37:25] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:37:25] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:37:25] local.INFO: Packet analysis {"connection_id":185860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:37:25] local.INFO: Extracted packet for processing {"connection_id":185860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:37:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":185860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:37:25] local.INFO: GPS data processed {"connection_id":185860,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:37:25] local.INFO: Acknowledgment sent {"connection_id":185860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:37:29] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:37:29] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:37:29] local.INFO: Packet analysis {"connection_id":185860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:37:29] local.INFO: Extracted packet for processing {"connection_id":185860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:37:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:37: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-09-18 03:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:37:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:37:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":185860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:37:29] local.INFO: GPS data processed {"connection_id":185860,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:37:29] local.INFO: Acknowledgment sent {"connection_id":185860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:38:14] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:38:14] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:38:14] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:38:18] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:38:18] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:38:18] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:38:19] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:38:19] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:38:19] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:38:19] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:38: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-09-18 03:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:38:19] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:38:19] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:38:52] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:38:52] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1655010012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:38:52] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:38:52] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b165"} 
[2026-09-18 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789682602000,"timestamp_ms":1789682602000,"timestamp_seconds":1789682602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1655010"} 
[2026-09-18 03:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:38: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-09-18 03:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158669056001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158669056001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:38:52] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:38:52] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:39:13] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:39:13] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:39:13] local.INFO: IMEI packet received {"connection_id":185861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":185861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:39:18] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:39:18] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:39:18] local.INFO: IMEI packet received {"connection_id":185861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":185861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:39:19] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:39:19] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:39:19] local.INFO: Packet analysis {"connection_id":185861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:39:19] local.INFO: Extracted packet for processing {"connection_id":185861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":185861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:39:19] local.INFO: GPS data processed {"connection_id":185861,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:39:19] local.INFO: Acknowledgment sent {"connection_id":185861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:39:51] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:39:51] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:39:51] local.INFO: Packet analysis {"connection_id":185861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:39:51] local.INFO: Extracted packet for processing {"connection_id":185861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":185861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:39:51] local.INFO: GPS data processed {"connection_id":185861,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:39:51] local.INFO: Acknowledgment sent {"connection_id":185861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:40:13] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:40:13] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:40:13] local.INFO: IMEI packet received {"connection_id":187158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":187158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:40:18] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:40:18] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:40:18] local.INFO: IMEI packet received {"connection_id":187158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":187158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:40:19] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:40:19] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:40:19] local.INFO: Packet analysis {"connection_id":187158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:40:19] local.INFO: Extracted packet for processing {"connection_id":187158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:40: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-09-18 03:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":187158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:40:19] local.INFO: GPS data processed {"connection_id":187158,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:40:19] local.INFO: Acknowledgment sent {"connection_id":187158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:40:50] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:40:51] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:40:51] local.INFO: Packet analysis {"connection_id":187158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:40:51] local.INFO: Extracted packet for processing {"connection_id":187158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":187158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:40:51] local.INFO: GPS data processed {"connection_id":187158,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:40:51] local.INFO: Acknowledgment sent {"connection_id":187158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:41:13] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:41:13] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:41:13] local.INFO: IMEI packet received {"connection_id":185862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":185862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:41:18] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:41:18] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:41:18] local.INFO: IMEI packet received {"connection_id":185862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":185862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:41:19] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:41:19] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:41:19] local.INFO: Packet analysis {"connection_id":185862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:41:19] local.INFO: Extracted packet for processing {"connection_id":185862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":185862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:41:19] local.INFO: GPS data processed {"connection_id":185862,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:41:19] local.INFO: Acknowledgment sent {"connection_id":185862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:41:51] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:41:51] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:41:51] local.INFO: Packet analysis {"connection_id":185862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:41:51] local.INFO: Extracted packet for processing {"connection_id":185862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":185862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:41:51] local.INFO: GPS data processed {"connection_id":185862,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:41:51] local.INFO: Acknowledgment sent {"connection_id":185862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:42:13] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:42:13] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:42:13] local.INFO: IMEI packet received {"connection_id":187159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":187159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:42:18] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:42:18] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:42:18] local.INFO: IMEI packet received {"connection_id":187159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":187159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:42:19] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:42:19] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:42:19] local.INFO: Packet analysis {"connection_id":187159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:42:19] local.INFO: Extracted packet for processing {"connection_id":187159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":187159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:42:19] local.INFO: GPS data processed {"connection_id":187159,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:42:19] local.INFO: Acknowledgment sent {"connection_id":187159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:42:50] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:42:50] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:42:50] local.INFO: Packet analysis {"connection_id":187159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:42:50] local.INFO: Extracted packet for processing {"connection_id":187159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":187159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:42:50] local.INFO: GPS data processed {"connection_id":187159,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:42:50] local.INFO: Acknowledgment sent {"connection_id":187159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:43:18] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:43:18] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:43:18] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:43:24] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:43:24] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:43:24] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:43:25] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:43:25] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:43:25] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:43:25] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:43:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:43:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:43:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:43:25] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:43:25] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:43:29] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:43:29] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b169e7d8012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:43:29] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:43:29] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b169"} 
[2026-09-18 03:43:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:43: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-09-18 03:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789682903000,"timestamp_ms":1789682903000,"timestamp_seconds":1789682903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b169e7d8"} 
[2026-09-18 03:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 03:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:43: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-09-18 03:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158746112001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:43:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:43:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158746112001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:43:29] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:43:29] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:44:13] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:44:13] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:44:13] local.INFO: IMEI packet received {"connection_id":187160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":187160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:44:19] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:44:19] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:44:19] local.INFO: IMEI packet received {"connection_id":187160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":187160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:44:20] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:44:20] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:44:20] local.INFO: Packet analysis {"connection_id":187160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:44:20] local.INFO: Extracted packet for processing {"connection_id":187160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:44:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":187160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:44:20] local.INFO: GPS data processed {"connection_id":187160,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:44:20] local.INFO: Acknowledgment sent {"connection_id":187160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:44:51] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:44:51] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:44:51] local.INFO: Packet analysis {"connection_id":187160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:44:51] local.INFO: Extracted packet for processing {"connection_id":187160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":187160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:44:51] local.INFO: GPS data processed {"connection_id":187160,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:44:51] local.INFO: Acknowledgment sent {"connection_id":187160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:45:13] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:45:13] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:45:13] local.INFO: IMEI packet received {"connection_id":187161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":187161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:45:18] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:45:18] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:45:18] local.INFO: IMEI packet received {"connection_id":187161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":187161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:45:20] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:45:20] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:45:20] local.INFO: Packet analysis {"connection_id":187161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:45:20] local.INFO: Extracted packet for processing {"connection_id":187161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":187161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:45:20] local.INFO: GPS data processed {"connection_id":187161,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:45:20] local.INFO: Acknowledgment sent {"connection_id":187161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:45:52] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:45:52] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:45:52] local.INFO: Packet analysis {"connection_id":187161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:45:52] local.INFO: Extracted packet for processing {"connection_id":187161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:45: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-09-18 03:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":187161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:45:52] local.INFO: GPS data processed {"connection_id":187161,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:45:52] local.INFO: Acknowledgment sent {"connection_id":187161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:46:13] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:46:13] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:46:13] local.INFO: IMEI packet received {"connection_id":187162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:46:18] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:46:18] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:46:18] local.INFO: IMEI packet received {"connection_id":187162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":187162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:46:19] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:46:19] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:46:19] local.INFO: Packet analysis {"connection_id":187162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:46:19] local.INFO: Extracted packet for processing {"connection_id":187162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":187162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:46:19] local.INFO: GPS data processed {"connection_id":187162,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:46:19] local.INFO: Acknowledgment sent {"connection_id":187162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:46:51] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:46:51] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:46:51] local.INFO: Packet analysis {"connection_id":187162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:46:51] local.INFO: Extracted packet for processing {"connection_id":187162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":187162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:46:51] local.INFO: GPS data processed {"connection_id":187162,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:46:51] local.INFO: Acknowledgment sent {"connection_id":187162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:47:13] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:47:13] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:47:13] local.INFO: IMEI packet received {"connection_id":185863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":185863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:47:18] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:47:18] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:47:18] local.INFO: IMEI packet received {"connection_id":185863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":185863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:47:19] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:47:19] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:47:19] local.INFO: Packet analysis {"connection_id":185863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:47:19] local.INFO: Extracted packet for processing {"connection_id":185863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":185863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:47:19] local.INFO: GPS data processed {"connection_id":185863,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:47:19] local.INFO: Acknowledgment sent {"connection_id":185863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:47:51] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:47:51] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:47:51] local.INFO: Packet analysis {"connection_id":185863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:47:51] local.INFO: Extracted packet for processing {"connection_id":185863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":185863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:47:51] local.INFO: GPS data processed {"connection_id":185863,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:47:51] local.INFO: Acknowledgment sent {"connection_id":185863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:48:18] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:48:18] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:48:18] local.INFO: IMEI packet received {"connection_id":185687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":185687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:48:23] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:48:23] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:48:23] local.INFO: IMEI packet received {"connection_id":185687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":185687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:48:24] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:48:24] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:48:24] local.INFO: Packet analysis {"connection_id":185687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:48:24] local.INFO: Extracted packet for processing {"connection_id":185687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":185687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:48:24] local.INFO: GPS data processed {"connection_id":185687,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:48:24] local.INFO: Acknowledgment sent {"connection_id":185687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:48:29] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:48:29] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b16e7fa0012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:48:29] local.INFO: Packet analysis {"connection_id":185687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:48:29] local.INFO: Extracted packet for processing {"connection_id":185687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b16e"} 
[2026-09-18 03:48:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158823168001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:48: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-09-18 03:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789683204000,"timestamp_ms":1789683204000,"timestamp_seconds":1789683204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b16e7fa0"} 
[2026-09-18 03:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 03:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158823168001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158823168001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:48:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:48:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158823168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":185687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:48:29] local.INFO: GPS data processed {"connection_id":185687,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:48:29] local.INFO: Acknowledgment sent {"connection_id":185687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:49:13] local.INFO: TCP Data received {"connection_id":185864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:49:13] local.INFO: Processing buffer {"connection_id":185864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:49:13] local.INFO: IMEI packet received {"connection_id":185864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":185864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:49:18] local.INFO: TCP Data received {"connection_id":185864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:49:18] local.INFO: Processing buffer {"connection_id":185864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:49:18] local.INFO: IMEI packet received {"connection_id":185864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":185864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:49:19] local.INFO: TCP Data received {"connection_id":185864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:19] local.INFO: Processing buffer {"connection_id":185864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:19] local.INFO: Packet analysis {"connection_id":185864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:49:19] local.INFO: Extracted packet for processing {"connection_id":185864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:49: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-09-18 03:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":185864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:49:19] local.INFO: GPS data processed {"connection_id":185864,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:49:19] local.INFO: Acknowledgment sent {"connection_id":185864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:49:24] local.INFO: TCP Data received {"connection_id":185864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:24] local.INFO: Processing buffer {"connection_id":185864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:24] local.INFO: Packet analysis {"connection_id":185864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:49:24] local.INFO: Extracted packet for processing {"connection_id":185864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":185864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:49:24] local.INFO: GPS data processed {"connection_id":185864,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:49:24] local.INFO: Acknowledgment sent {"connection_id":185864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:49:55] local.INFO: TCP Data received {"connection_id":185864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:55] local.INFO: Processing buffer {"connection_id":185864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:49:55] local.INFO: Packet analysis {"connection_id":185864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:49:55] local.INFO: Extracted packet for processing {"connection_id":185864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:49:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":185864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:49:55] local.INFO: GPS data processed {"connection_id":185864,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:49:55] local.INFO: Acknowledgment sent {"connection_id":185864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:50:13] local.INFO: TCP Data received {"connection_id":185688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:50:13] local.INFO: Processing buffer {"connection_id":185688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:50:13] local.INFO: IMEI packet received {"connection_id":185688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":185688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:50:18] local.INFO: TCP Data received {"connection_id":185688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:50:18] local.INFO: Processing buffer {"connection_id":185688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:50:18] local.INFO: IMEI packet received {"connection_id":185688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":185688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:50:19] local.INFO: TCP Data received {"connection_id":185688,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:50:19] local.INFO: Processing buffer {"connection_id":185688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:50:19] local.INFO: Packet analysis {"connection_id":185688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:50:19] local.INFO: Extracted packet for processing {"connection_id":185688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:50:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":185688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:50:19] local.INFO: GPS data processed {"connection_id":185688,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:50:19] local.INFO: Acknowledgment sent {"connection_id":185688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:50:51] local.INFO: TCP Data received {"connection_id":185688,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:50:51] local.INFO: Processing buffer {"connection_id":185688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:50:51] local.INFO: Packet analysis {"connection_id":185688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:50:51] local.INFO: Extracted packet for processing {"connection_id":185688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":185688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:50:51] local.INFO: GPS data processed {"connection_id":185688,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:50:51] local.INFO: Acknowledgment sent {"connection_id":185688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:51:13] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:51:13] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:51:13] local.INFO: IMEI packet received {"connection_id":187163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":187163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:51:18] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:51:18] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:51:18] local.INFO: IMEI packet received {"connection_id":187163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":187163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:51:19] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:51:19] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:51:19] local.INFO: Packet analysis {"connection_id":187163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:51:19] local.INFO: Extracted packet for processing {"connection_id":187163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":187163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:51:19] local.INFO: GPS data processed {"connection_id":187163,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:51:19] local.INFO: Acknowledgment sent {"connection_id":187163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:51:51] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:51:51] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:51:51] local.INFO: Packet analysis {"connection_id":187163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:51:51] local.INFO: Extracted packet for processing {"connection_id":187163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":187163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:51:51] local.INFO: GPS data processed {"connection_id":187163,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:51:51] local.INFO: Acknowledgment sent {"connection_id":187163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:52:13] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:52:13] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:52:13] local.INFO: IMEI packet received {"connection_id":188474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":188474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:52:19] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:52:19] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:52:19] local.INFO: IMEI packet received {"connection_id":188474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":188474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:52:20] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:52:20] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:52:20] local.INFO: Packet analysis {"connection_id":188474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:52:20] local.INFO: Extracted packet for processing {"connection_id":188474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":188474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:52:20] local.INFO: GPS data processed {"connection_id":188474,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:52:20] local.INFO: Acknowledgment sent {"connection_id":188474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:52:51] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:52:51] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:52:51] local.INFO: Packet analysis {"connection_id":188474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:52:51] local.INFO: Extracted packet for processing {"connection_id":188474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":188474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:52:51] local.INFO: GPS data processed {"connection_id":188474,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:52:51] local.INFO: Acknowledgment sent {"connection_id":188474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:53:13] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:53:13] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:53:13] local.INFO: IMEI packet received {"connection_id":187164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:53:18] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:53:18] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:53:18] local.INFO: IMEI packet received {"connection_id":187164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":187164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:53:19] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:53:19] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:53:19] local.INFO: Packet analysis {"connection_id":187164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:53:19] local.INFO: Extracted packet for processing {"connection_id":187164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":187164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:53:19] local.INFO: GPS data processed {"connection_id":187164,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:53:19] local.INFO: Acknowledgment sent {"connection_id":187164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:53:50] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:53:50] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1731768012d34c14006aa4440000a01182f..."} 
[2026-09-18 03:53:50] local.INFO: Packet analysis {"connection_id":187164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:53:50] local.INFO: Extracted packet for processing {"connection_id":187164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b173"} 
[2026-09-18 03:53:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158900224001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789683505000,"timestamp_ms":1789683505000,"timestamp_seconds":1789683505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1731768"} 
[2026-09-18 03:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158900224001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158900224001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:53:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158900224001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":187164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:53:50] local.INFO: GPS data processed {"connection_id":187164,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:53:50] local.INFO: Acknowledgment sent {"connection_id":187164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:54:18] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:54:18] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:54:18] local.INFO: IMEI packet received {"connection_id":185865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":185865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:54:23] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:54:23] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:54:23] local.INFO: IMEI packet received {"connection_id":185865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":185865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:54:24] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:54:24] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:54:24] local.INFO: Packet analysis {"connection_id":185865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:54:24] local.INFO: Extracted packet for processing {"connection_id":185865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":185865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:54:24] local.INFO: GPS data processed {"connection_id":185865,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:54:24] local.INFO: Acknowledgment sent {"connection_id":185865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:54:29] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:54:29] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:54:29] local.INFO: Packet analysis {"connection_id":185865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:54:29] local.INFO: Extracted packet for processing {"connection_id":185865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:54:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:54: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-09-18 03:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:54: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-09-18 03:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:54:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:54:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":185865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:54:29] local.INFO: GPS data processed {"connection_id":185865,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:54:29] local.INFO: Acknowledgment sent {"connection_id":185865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:55:13] local.INFO: TCP Data received {"connection_id":185866,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:55:13] local.INFO: Processing buffer {"connection_id":185866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:55:13] local.INFO: IMEI packet received {"connection_id":185866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":185866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:55:18] local.INFO: TCP Data received {"connection_id":185866,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:55:18] local.INFO: Processing buffer {"connection_id":185866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:55:18] local.INFO: IMEI packet received {"connection_id":185866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":185866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:55:19] local.INFO: TCP Data received {"connection_id":185866,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:55:19] local.INFO: Processing buffer {"connection_id":185866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:55:19] local.INFO: Packet analysis {"connection_id":185866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:55:19] local.INFO: Extracted packet for processing {"connection_id":185866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:55:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":185866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:55:19] local.INFO: GPS data processed {"connection_id":185866,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:55:19] local.INFO: Acknowledgment sent {"connection_id":185866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:55:51] local.INFO: TCP Data received {"connection_id":185866,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:55:51] local.INFO: Processing buffer {"connection_id":185866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:55:51] local.INFO: Packet analysis {"connection_id":185866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:55:51] local.INFO: Extracted packet for processing {"connection_id":185866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":185866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:55:51] local.INFO: GPS data processed {"connection_id":185866,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:55:51] local.INFO: Acknowledgment sent {"connection_id":185866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:56:13] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:56:13] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:56:13] local.INFO: IMEI packet received {"connection_id":185867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":185867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:56:18] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:56:18] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:56:18] local.INFO: IMEI packet received {"connection_id":185867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":185867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:56:19] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:56:19] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:56:19] local.INFO: Packet analysis {"connection_id":185867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:56:19] local.INFO: Extracted packet for processing {"connection_id":185867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":185867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:56:19] local.INFO: GPS data processed {"connection_id":185867,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:56:19] local.INFO: Acknowledgment sent {"connection_id":185867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:56:51] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:56:51] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:56:51] local.INFO: Packet analysis {"connection_id":185867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:56:51] local.INFO: Extracted packet for processing {"connection_id":185867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":185867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:56:51] local.INFO: GPS data processed {"connection_id":185867,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:56:51] local.INFO: Acknowledgment sent {"connection_id":185867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:57:13] local.INFO: TCP Data received {"connection_id":185689,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:57:13] local.INFO: Processing buffer {"connection_id":185689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:57:13] local.INFO: IMEI packet received {"connection_id":185689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":185689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:57:18] local.INFO: TCP Data received {"connection_id":185689,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:57:18] local.INFO: Processing buffer {"connection_id":185689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:57:18] local.INFO: IMEI packet received {"connection_id":185689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":185689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:57:19] local.INFO: TCP Data received {"connection_id":185689,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:57:19] local.INFO: Processing buffer {"connection_id":185689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:57:19] local.INFO: Packet analysis {"connection_id":185689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:57:19] local.INFO: Extracted packet for processing {"connection_id":185689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":185689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:57:19] local.INFO: GPS data processed {"connection_id":185689,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:57:19] local.INFO: Acknowledgment sent {"connection_id":185689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:57:51] local.INFO: TCP Data received {"connection_id":185689,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:57:51] local.INFO: Processing buffer {"connection_id":185689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:57:51] local.INFO: Packet analysis {"connection_id":185689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:57:51] local.INFO: Extracted packet for processing {"connection_id":185689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":185689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:57:51] local.INFO: GPS data processed {"connection_id":185689,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:57:51] local.INFO: Acknowledgment sent {"connection_id":185689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:58:13] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:58:13] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:58:13] local.INFO: IMEI packet received {"connection_id":185868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":185868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:58:18] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:58:18] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:58:18] local.INFO: IMEI packet received {"connection_id":185868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":185868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:58:19] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:58:19] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:58:19] local.INFO: Packet analysis {"connection_id":185868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:58:19] local.INFO: Extracted packet for processing {"connection_id":185868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":185868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:58:19] local.INFO: GPS data processed {"connection_id":185868,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:58:19] local.INFO: Acknowledgment sent {"connection_id":185868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:58:32] local.INFO: TCP Data received {"connection_id":185690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 03:58:32] local.INFO: Processing buffer {"connection_id":185690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 03:58:32] local.INFO: IMEI packet received {"connection_id":185690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 03:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":185690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:58:51] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:58:51] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b177af30012d34c14006aa4440000a01182e..."} 
[2026-09-18 03:58:51] local.INFO: Packet analysis {"connection_id":185868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:58:51] local.INFO: Extracted packet for processing {"connection_id":185868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b177"} 
[2026-09-18 03:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458158977280001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789683806000,"timestamp_ms":1789683806000,"timestamp_seconds":1789683806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b177af30"} 
[2026-09-18 03:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 03:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458158977280001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458158977280001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458158977280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":185868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:58:51] local.INFO: GPS data processed {"connection_id":185868,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:58:51] local.INFO: Acknowledgment sent {"connection_id":185868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:59:13] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:59:13] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:59:13] local.INFO: IMEI packet received {"connection_id":188475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 03:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":188475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 03:59:18] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:59:18] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 03:59:18] local.INFO: IMEI packet received {"connection_id":188475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 03:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":188475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 03:59:19] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:59:19] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:59:19] local.INFO: Packet analysis {"connection_id":188475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 03:59:19] local.INFO: Extracted packet for processing {"connection_id":188475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 03:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 03:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 03:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 03:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":188475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:59:19] local.INFO: GPS data processed {"connection_id":188475,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:59:19] local.INFO: Acknowledgment sent {"connection_id":188475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 03:59:51] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:59:51] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 03:59:51] local.INFO: Packet analysis {"connection_id":188475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 03:59:51] local.INFO: Extracted packet for processing {"connection_id":188475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 03:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 03: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-09-18 03:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 03:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 03:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 03:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 03:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 03:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 03:59: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-09-18 03:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 03:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 03: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-09-18 03:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 03:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 03:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 03:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 03:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 03:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 03:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 03:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 03:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 03:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 03:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 03:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 03:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 03:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 03:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 03:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 03:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":188475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 03:59:51] local.INFO: GPS data processed {"connection_id":188475,"processed":1,"errors":0,"total":1} 
[2026-09-18 03:59:51] local.INFO: Acknowledgment sent {"connection_id":188475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:00:13] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:00:13] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:00:13] local.INFO: IMEI packet received {"connection_id":185691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":185691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:00:18] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:00:18] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:00:18] local.INFO: IMEI packet received {"connection_id":185691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":185691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:00:19] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:00:19] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:00:19] local.INFO: Packet analysis {"connection_id":185691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:00:19] local.INFO: Extracted packet for processing {"connection_id":185691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":185691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:00:19] local.INFO: GPS data processed {"connection_id":185691,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:00:19] local.INFO: Acknowledgment sent {"connection_id":185691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:00:51] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:00:51] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:00:51] local.INFO: Packet analysis {"connection_id":185691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:00:51] local.INFO: Extracted packet for processing {"connection_id":185691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:00: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-09-18 04:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":185691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:00:51] local.INFO: GPS data processed {"connection_id":185691,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:00:51] local.INFO: Acknowledgment sent {"connection_id":185691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:01:13] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:01:13] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:01:13] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:01:18] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:01:18] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:01:18] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:01:19] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:01:19] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:01:19] local.INFO: Packet analysis {"connection_id":188476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:01:19] local.INFO: Extracted packet for processing {"connection_id":188476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":188476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:01:19] local.INFO: GPS data processed {"connection_id":188476,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:01:19] local.INFO: Acknowledgment sent {"connection_id":188476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:01:51] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:01:51] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:01:51] local.INFO: Packet analysis {"connection_id":188476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:01:51] local.INFO: Extracted packet for processing {"connection_id":188476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:01: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-09-18 04:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":188476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:01:51] local.INFO: GPS data processed {"connection_id":188476,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:01:51] local.INFO: Acknowledgment sent {"connection_id":188476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:02:13] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:02:13] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:02:13] local.INFO: IMEI packet received {"connection_id":185869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":185869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:02:19] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:02:19] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:02:19] local.INFO: IMEI packet received {"connection_id":185869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":185869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:02:20] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:02:20] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:02:20] local.INFO: Packet analysis {"connection_id":185869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:02:20] local.INFO: Extracted packet for processing {"connection_id":185869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":185869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:02:20] local.INFO: GPS data processed {"connection_id":185869,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:02:20] local.INFO: Acknowledgment sent {"connection_id":185869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:02:51] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:02:51] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:02:51] local.INFO: Packet analysis {"connection_id":185869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:02:51] local.INFO: Extracted packet for processing {"connection_id":185869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:02: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-09-18 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":185869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:02:51] local.INFO: GPS data processed {"connection_id":185869,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:02:51] local.INFO: Acknowledgment sent {"connection_id":185869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:03:14] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:03:14] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:03:14] local.INFO: IMEI packet received {"connection_id":185692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":185692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:03:18] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:03:18] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:03:18] local.INFO: IMEI packet received {"connection_id":185692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":185692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:03:19] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:03:19] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:03:19] local.INFO: Packet analysis {"connection_id":185692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:03:19] local.INFO: Extracted packet for processing {"connection_id":185692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":185692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:03:19] local.INFO: GPS data processed {"connection_id":185692,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:03:19] local.INFO: Acknowledgment sent {"connection_id":185692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:03:51] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:03:51] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b17c46f8012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:03:51] local.INFO: Packet analysis {"connection_id":185692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:03:51] local.INFO: Extracted packet for processing {"connection_id":185692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b17c"} 
[2026-09-18 04:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159054336001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789684107000,"timestamp_ms":1789684107000,"timestamp_seconds":1789684107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b17c46f8"} 
[2026-09-18 04:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159054336001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159054336001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159054336001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":185692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:03:51] local.INFO: GPS data processed {"connection_id":185692,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:03:51] local.INFO: Acknowledgment sent {"connection_id":185692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:04:02] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:04:02] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:04:02] local.INFO: IMEI packet received {"connection_id":188477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":188477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:04:13] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:04:13] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:04:13] local.INFO: IMEI packet received {"connection_id":187165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":187165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:04:19] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:04:19] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:04:19] local.INFO: IMEI packet received {"connection_id":187165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":187165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:04:20] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:04:20] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:04:20] local.INFO: Packet analysis {"connection_id":187165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:04:20] local.INFO: Extracted packet for processing {"connection_id":187165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":187165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:04:20] local.INFO: GPS data processed {"connection_id":187165,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:04:20] local.INFO: Acknowledgment sent {"connection_id":187165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:04:51] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:04:51] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:04:51] local.INFO: Packet analysis {"connection_id":187165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:04:51] local.INFO: Extracted packet for processing {"connection_id":187165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:04: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-09-18 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":187165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:04:52] local.INFO: GPS data processed {"connection_id":187165,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:04:52] local.INFO: Acknowledgment sent {"connection_id":187165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:05:14] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:05:14] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:05:14] local.INFO: IMEI packet received {"connection_id":185870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":185870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:05:18] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:05:18] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:05:18] local.INFO: IMEI packet received {"connection_id":185870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":185870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:05:19] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:05:19] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:05:19] local.INFO: Packet analysis {"connection_id":185870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:05:19] local.INFO: Extracted packet for processing {"connection_id":185870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":185870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:05:19] local.INFO: GPS data processed {"connection_id":185870,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:05:19] local.INFO: Acknowledgment sent {"connection_id":185870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:05:52] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:05:52] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:05:52] local.INFO: Packet analysis {"connection_id":185870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:05:52] local.INFO: Extracted packet for processing {"connection_id":185870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:05:52] local.INFO: GPS data processed {"connection_id":185870,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:05:52] local.INFO: Acknowledgment sent {"connection_id":185870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:06:13] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:06:13] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:06:13] local.INFO: IMEI packet received {"connection_id":188478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":188478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:06:18] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:06:18] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:06:18] local.INFO: IMEI packet received {"connection_id":188478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":188478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:06:20] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:06:20] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:06:20] local.INFO: Packet analysis {"connection_id":188478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:06:20] local.INFO: Extracted packet for processing {"connection_id":188478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":188478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:06:20] local.INFO: GPS data processed {"connection_id":188478,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:06:20] local.INFO: Acknowledgment sent {"connection_id":188478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:06:52] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:06:52] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:06:52] local.INFO: Packet analysis {"connection_id":188478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:06:52] local.INFO: Extracted packet for processing {"connection_id":188478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":188478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:06:52] local.INFO: GPS data processed {"connection_id":188478,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:06:52] local.INFO: Acknowledgment sent {"connection_id":188478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:07:21] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:07:21] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:07:21] local.INFO: IMEI packet received {"connection_id":185693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":185693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:07:23] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:07:23] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:07:23] local.INFO: IMEI packet received {"connection_id":185693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":185693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:07:24] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:07:24] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:07:24] local.INFO: Packet analysis {"connection_id":185693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:07:24] local.INFO: Extracted packet for processing {"connection_id":185693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":185693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:07:24] local.INFO: GPS data processed {"connection_id":185693,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:07:24] local.INFO: Acknowledgment sent {"connection_id":185693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:07:31] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:07:31] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:07:31] local.INFO: Packet analysis {"connection_id":185693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:07:31] local.INFO: Extracted packet for processing {"connection_id":185693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:07: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-09-18 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":185693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:07:31] local.INFO: GPS data processed {"connection_id":185693,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:07:31] local.INFO: Acknowledgment sent {"connection_id":185693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:08:13] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:08:13] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:08:13] local.INFO: IMEI packet received {"connection_id":185695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":185695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:08:18] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:08:18] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:08:18] local.INFO: IMEI packet received {"connection_id":185695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":185695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:08:20] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:08:20] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:08:20] local.INFO: Packet analysis {"connection_id":185695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:08:20] local.INFO: Extracted packet for processing {"connection_id":185695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":185695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:08:20] local.INFO: GPS data processed {"connection_id":185695,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:08:20] local.INFO: Acknowledgment sent {"connection_id":185695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:08:52] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:08:52] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b180dec0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:08:52] local.INFO: Packet analysis {"connection_id":185695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:08:52] local.INFO: Extracted packet for processing {"connection_id":185695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b180"} 
[2026-09-18 04:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159131392001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789684408000,"timestamp_ms":1789684408000,"timestamp_seconds":1789684408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b180dec0"} 
[2026-09-18 04:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:08: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":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159131392001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159131392001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159131392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":185695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:08:52] local.INFO: GPS data processed {"connection_id":185695,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:08:52] local.INFO: Acknowledgment sent {"connection_id":185695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:09:13] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:09:13] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:09:13] local.INFO: IMEI packet received {"connection_id":185696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":185696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:09:19] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:09:19] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:09:19] local.INFO: IMEI packet received {"connection_id":185696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":185696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:09:23] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:09:23] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:09:23] local.INFO: Packet analysis {"connection_id":185696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:09:23] local.INFO: Extracted packet for processing {"connection_id":185696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:09:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":185696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:09:23] local.INFO: GPS data processed {"connection_id":185696,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:09:23] local.INFO: Acknowledgment sent {"connection_id":185696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:09:37] local.INFO: TCP Data received {"connection_id":185694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:09:37] local.INFO: Processing buffer {"connection_id":185694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:09:37] local.INFO: IMEI packet received {"connection_id":185694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":185694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:09:55] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:09:55] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:09:55] local.INFO: Packet analysis {"connection_id":185696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:09:55] local.INFO: Extracted packet for processing {"connection_id":185696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:09:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":185696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:09:55] local.INFO: GPS data processed {"connection_id":185696,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:09:55] local.INFO: Acknowledgment sent {"connection_id":185696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:10:14] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:10:14] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:10:14] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:10:18] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:10:18] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:10:18] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:10:20] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:10:20] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:10:20] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:10:20] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:10:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:10:20] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:10:20] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:10:52] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:10:52] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:10:52] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:10:52] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:10:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:10:52] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:10:52] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:11:13] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:11:13] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:11:13] local.INFO: IMEI packet received {"connection_id":187166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":187166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:11:20] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:11:20] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:11:20] local.INFO: IMEI packet received {"connection_id":187166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":187166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:11:22] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:11:22] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:11:22] local.INFO: Packet analysis {"connection_id":187166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:11:22] local.INFO: Extracted packet for processing {"connection_id":187166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:11:22] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":187166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:11:22] local.INFO: GPS data processed {"connection_id":187166,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:11:22] local.INFO: Acknowledgment sent {"connection_id":187166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:11:54] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:11:54] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:11:54] local.INFO: Packet analysis {"connection_id":187166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:11:54] local.INFO: Extracted packet for processing {"connection_id":187166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:11: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-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:11:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":187166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:11:54] local.INFO: GPS data processed {"connection_id":187166,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:11:54] local.INFO: Acknowledgment sent {"connection_id":187166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:12:20] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:12:20] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:12:20] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:12:24] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:12:24] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:12:24] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:12:29] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:12:29] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:12:29] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:12:29] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:12:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:12:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:12:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:12:29] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:12:30] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:12:32] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:12:32] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:12:32] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:12:32] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04: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-09-18 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:12: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-09-18 04:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:12:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:12:32] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:12:32] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:13:13] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:13:13] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:13:13] local.INFO: IMEI packet received {"connection_id":187168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:13:18] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:13:18] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:13:18] local.INFO: IMEI packet received {"connection_id":187168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:13:19] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:13:19] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:13:19] local.INFO: Packet analysis {"connection_id":187168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:13:19] local.INFO: Extracted packet for processing {"connection_id":187168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:13:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":187168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:13:19] local.INFO: GPS data processed {"connection_id":187168,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:13:19] local.INFO: Acknowledgment sent {"connection_id":187168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:13:50] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:13:50] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1857688012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:13:50] local.INFO: Packet analysis {"connection_id":187168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:13:50] local.INFO: Extracted packet for processing {"connection_id":187168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b185"} 
[2026-09-18 04:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159208448001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789684709000,"timestamp_ms":1789684709000,"timestamp_seconds":1789684709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1857688"} 
[2026-09-18 04:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159208448001,"66":25397,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 04:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159208448001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:13:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 04:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159208448001,"power":25397,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":187168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:13:50] local.INFO: GPS data processed {"connection_id":187168,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:13:50] local.INFO: Acknowledgment sent {"connection_id":187168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:14:18] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:14:18] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:14:18] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:14:23] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:14:23] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:14:23] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:14:24] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:14:24] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:14:24] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:14:24] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:14:24] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:14:24] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:14:29] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:14:29] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:14:29] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:14:29] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:14:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:14: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-09-18 04:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:14:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:14:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:14:29] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:14:29] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:15:13] local.INFO: TCP Data received {"connection_id":185697,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:15:13] local.INFO: Processing buffer {"connection_id":185697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:15:13] local.INFO: IMEI packet received {"connection_id":185697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":185697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:15:18] local.INFO: TCP Data received {"connection_id":185697,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:15:18] local.INFO: Processing buffer {"connection_id":185697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:15:18] local.INFO: IMEI packet received {"connection_id":185697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":185697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:15:19] local.INFO: TCP Data received {"connection_id":185697,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:15:19] local.INFO: Processing buffer {"connection_id":185697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:15:19] local.INFO: Packet analysis {"connection_id":185697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:15:19] local.INFO: Extracted packet for processing {"connection_id":185697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:15:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":185697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:15:19] local.INFO: GPS data processed {"connection_id":185697,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:15:19] local.INFO: Acknowledgment sent {"connection_id":185697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:15:31] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:15:31] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:15:31] local.INFO: IMEI packet received {"connection_id":185871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":185871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:15:51] local.INFO: TCP Data received {"connection_id":185697,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:15:51] local.INFO: Processing buffer {"connection_id":185697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:15:51] local.INFO: Packet analysis {"connection_id":185697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:15:51] local.INFO: Extracted packet for processing {"connection_id":185697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:15: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-09-18 04:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":185697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:15:51] local.INFO: GPS data processed {"connection_id":185697,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:15:51] local.INFO: Acknowledgment sent {"connection_id":185697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:16:13] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:16:13] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:16:13] local.INFO: IMEI packet received {"connection_id":185698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":185698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:16:18] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:16:18] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:16:18] local.INFO: IMEI packet received {"connection_id":185698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":185698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:16:20] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:16:20] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:16:20] local.INFO: Packet analysis {"connection_id":185698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:16:20] local.INFO: Extracted packet for processing {"connection_id":185698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":185698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:16:20] local.INFO: GPS data processed {"connection_id":185698,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:16:20] local.INFO: Acknowledgment sent {"connection_id":185698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:16:51] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:16:51] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:16:51] local.INFO: Packet analysis {"connection_id":185698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:16:51] local.INFO: Extracted packet for processing {"connection_id":185698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:16: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-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":185698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:16:51] local.INFO: GPS data processed {"connection_id":185698,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:16:51] local.INFO: Acknowledgment sent {"connection_id":185698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:17:13] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:17:13] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:17:13] local.INFO: IMEI packet received {"connection_id":188482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":188482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:17:18] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:17:18] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:17:18] local.INFO: IMEI packet received {"connection_id":188482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":188482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:17:19] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:17:20] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:17:20] local.INFO: Packet analysis {"connection_id":188482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:17:20] local.INFO: Extracted packet for processing {"connection_id":188482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":188482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:17:20] local.INFO: GPS data processed {"connection_id":188482,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:17:20] local.INFO: Acknowledgment sent {"connection_id":188482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:17:51] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:17:51] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:17:51] local.INFO: Packet analysis {"connection_id":188482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:17:51] local.INFO: Extracted packet for processing {"connection_id":188482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:17: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-09-18 04:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":188482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:17:51] local.INFO: GPS data processed {"connection_id":188482,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:17:51] local.INFO: Acknowledgment sent {"connection_id":188482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:18:13] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:18:13] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:18:13] local.INFO: IMEI packet received {"connection_id":187169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":187169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:18:18] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:18:18] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:18:18] local.INFO: IMEI packet received {"connection_id":187169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":187169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:18:20] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:18:20] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:18:20] local.INFO: Packet analysis {"connection_id":187169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:18:20] local.INFO: Extracted packet for processing {"connection_id":187169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":187169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:18:20] local.INFO: GPS data processed {"connection_id":187169,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:18:20] local.INFO: Acknowledgment sent {"connection_id":187169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:18:51] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:18:51] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18a0e50012d34c14006aa4440000a01182f..."} 
[2026-09-18 04:18:51] local.INFO: Packet analysis {"connection_id":187169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:18:51] local.INFO: Extracted packet for processing {"connection_id":187169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18a"} 
[2026-09-18 04:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159285504001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685010000,"timestamp_ms":1789685010000,"timestamp_seconds":1789685010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18a0e50"} 
[2026-09-18 04:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:18: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-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159285504001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159285504001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159285504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":187169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:18:51] local.INFO: GPS data processed {"connection_id":187169,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:18:51] local.INFO: Acknowledgment sent {"connection_id":187169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:19:13] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:19:13] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:19:13] local.INFO: IMEI packet received {"connection_id":187170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":187170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:19:18] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:19:18] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:19:18] local.INFO: IMEI packet received {"connection_id":187170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":187170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:19:20] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:19:20] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:19:20] local.INFO: Packet analysis {"connection_id":187170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:19:20] local.INFO: Extracted packet for processing {"connection_id":187170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":187170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:19:20] local.INFO: GPS data processed {"connection_id":187170,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:19:20] local.INFO: Acknowledgment sent {"connection_id":187170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:19:51] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:19:51] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:19:51] local.INFO: Packet analysis {"connection_id":187170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:19:51] local.INFO: Extracted packet for processing {"connection_id":187170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:19: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-09-18 04:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:19:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":187170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:19:51] local.INFO: GPS data processed {"connection_id":187170,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:19:51] local.INFO: Acknowledgment sent {"connection_id":187170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:20:14] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:20:14] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:20:14] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:20:18] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:20:18] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:20:18] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:20:19] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:20:19] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:20:19] local.INFO: Packet analysis {"connection_id":187171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:20:19] local.INFO: Extracted packet for processing {"connection_id":187171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:20:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":187171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:20:19] local.INFO: GPS data processed {"connection_id":187171,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:20:19] local.INFO: Acknowledgment sent {"connection_id":187171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:20:52] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:20:52] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:20:52] local.INFO: Packet analysis {"connection_id":187171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:20:52] local.INFO: Extracted packet for processing {"connection_id":187171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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":795,"current_offset":40} 
[2026-09-18 04:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":187171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:20:52] local.INFO: GPS data processed {"connection_id":187171,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:20:52] local.INFO: Acknowledgment sent {"connection_id":187171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:20:56] local.INFO: TCP Data received {"connection_id":185872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:20:56] local.INFO: Processing buffer {"connection_id":185872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:20:56] local.INFO: IMEI packet received {"connection_id":185872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":185872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:21:13] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:21:13] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:21:13] local.INFO: IMEI packet received {"connection_id":187172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":187172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:21:18] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:21:18] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:21:18] local.INFO: IMEI packet received {"connection_id":187172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":187172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:21:20] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:21:20] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:21:20] local.INFO: Packet analysis {"connection_id":187172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:21:20] local.INFO: Extracted packet for processing {"connection_id":187172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":187172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:21:20] local.INFO: GPS data processed {"connection_id":187172,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:21:20] local.INFO: Acknowledgment sent {"connection_id":187172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:21:51] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:21:51] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:21:51] local.INFO: Packet analysis {"connection_id":187172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:21:51] local.INFO: Extracted packet for processing {"connection_id":187172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:21: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-09-18 04:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":187172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:21:51] local.INFO: GPS data processed {"connection_id":187172,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:21:51] local.INFO: Acknowledgment sent {"connection_id":187172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:22:13] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:22:13] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:22:13] local.INFO: IMEI packet received {"connection_id":185873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":185873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:22:18] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:22:18] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:22:18] local.INFO: IMEI packet received {"connection_id":185873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":185873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:22:20] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:22:20] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:22:20] local.INFO: Packet analysis {"connection_id":185873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:22:20] local.INFO: Extracted packet for processing {"connection_id":185873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":185873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:22:20] local.INFO: GPS data processed {"connection_id":185873,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:22:20] local.INFO: Acknowledgment sent {"connection_id":185873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:22:51] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:22:51] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:22:51] local.INFO: Packet analysis {"connection_id":185873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:22:51] local.INFO: Extracted packet for processing {"connection_id":185873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:22: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-09-18 04:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":185873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:22:51] local.INFO: GPS data processed {"connection_id":185873,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:22:51] local.INFO: Acknowledgment sent {"connection_id":185873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:23:13] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:23:13] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:23:13] local.INFO: IMEI packet received {"connection_id":188483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:23:18] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:23:18] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:23:18] local.INFO: IMEI packet received {"connection_id":188483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":188483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:23:20] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:23:20] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:23:20] local.INFO: Packet analysis {"connection_id":188483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:23:20] local.INFO: Extracted packet for processing {"connection_id":188483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":188483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:23:20] local.INFO: GPS data processed {"connection_id":188483,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:23:20] local.INFO: Acknowledgment sent {"connection_id":188483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:23:52] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:23:52] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b18ea618012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:23:52] local.INFO: Packet analysis {"connection_id":188483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:23:52] local.INFO: Extracted packet for processing {"connection_id":188483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b18e"} 
[2026-09-18 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159362560001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789685311000,"timestamp_ms":1789685311000,"timestamp_seconds":1789685311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b18ea618"} 
[2026-09-18 04:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:23: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159362560001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159362560001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159362560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":188483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:23:52] local.INFO: GPS data processed {"connection_id":188483,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:23:52] local.INFO: Acknowledgment sent {"connection_id":188483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:24:18] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:24:18] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:24:18] local.INFO: IMEI packet received {"connection_id":187173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":187173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:24:23] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:24:23] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:24:23] local.INFO: IMEI packet received {"connection_id":187173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":187173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:24:24] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:24:24] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:24:24] local.INFO: Packet analysis {"connection_id":187173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:24:24] local.INFO: Extracted packet for processing {"connection_id":187173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":187173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:24:24] local.INFO: GPS data processed {"connection_id":187173,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:24:24] local.INFO: Acknowledgment sent {"connection_id":187173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:24:29] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:24:29] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:24:29] local.INFO: Packet analysis {"connection_id":187173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:24:29] local.INFO: Extracted packet for processing {"connection_id":187173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:24: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-09-18 04:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:24:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:24:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":187173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:24:29] local.INFO: GPS data processed {"connection_id":187173,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:24:29] local.INFO: Acknowledgment sent {"connection_id":187173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:25:13] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:25:13] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:25:13] local.INFO: IMEI packet received {"connection_id":185874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":185874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:25:19] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:25:19] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:25:19] local.INFO: IMEI packet received {"connection_id":185874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":185874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:25:20] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:25:20] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:25:20] local.INFO: Packet analysis {"connection_id":185874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:25:20] local.INFO: Extracted packet for processing {"connection_id":185874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":185874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:25:20] local.INFO: GPS data processed {"connection_id":185874,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:25:20] local.INFO: Acknowledgment sent {"connection_id":185874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:25:51] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:25:51] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:25:51] local.INFO: Packet analysis {"connection_id":185874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:25:51] local.INFO: Extracted packet for processing {"connection_id":185874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:25: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-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":185874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:25:51] local.INFO: GPS data processed {"connection_id":185874,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:25:51] local.INFO: Acknowledgment sent {"connection_id":185874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:26:13] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:26:13] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:26:13] local.INFO: IMEI packet received {"connection_id":185699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":185699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:26:19] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:26:19] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:26:19] local.INFO: IMEI packet received {"connection_id":185699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:26:21] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:26:21] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:26:21] local.INFO: Packet analysis {"connection_id":185699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:26:21] local.INFO: Extracted packet for processing {"connection_id":185699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":185699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:26:21] local.INFO: GPS data processed {"connection_id":185699,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:26:21] local.INFO: Acknowledgment sent {"connection_id":185699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:26:52] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:26:52] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:26:52] local.INFO: Packet analysis {"connection_id":185699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:26:52] local.INFO: Extracted packet for processing {"connection_id":185699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:26: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-09-18 04:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":185699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:26:52] local.INFO: GPS data processed {"connection_id":185699,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:26:52] local.INFO: Acknowledgment sent {"connection_id":185699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:27:13] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:27:13] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:27:13] local.INFO: IMEI packet received {"connection_id":187174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":187174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:27:18] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:27:18] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:27:18] local.INFO: IMEI packet received {"connection_id":187174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":187174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:27:21] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:27:21] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:27:21] local.INFO: Packet analysis {"connection_id":187174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:27:21] local.INFO: Extracted packet for processing {"connection_id":187174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:27:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":187174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:27:21] local.INFO: GPS data processed {"connection_id":187174,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:27:21] local.INFO: Acknowledgment sent {"connection_id":187174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:27:52] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:27:52] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:27:52] local.INFO: Packet analysis {"connection_id":187174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:27:52] local.INFO: Extracted packet for processing {"connection_id":187174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":187174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:27:52] local.INFO: GPS data processed {"connection_id":187174,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:27:52] local.INFO: Acknowledgment sent {"connection_id":187174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:28:13] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:28:13] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:28:13] local.INFO: IMEI packet received {"connection_id":185875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":185875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:28:18] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:28:18] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:28:18] local.INFO: IMEI packet received {"connection_id":185875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":185875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:28:20] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:28:20] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:28:20] local.INFO: Packet analysis {"connection_id":185875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:28:20] local.INFO: Extracted packet for processing {"connection_id":185875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":185875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:28:20] local.INFO: GPS data processed {"connection_id":185875,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:28:20] local.INFO: Acknowledgment sent {"connection_id":185875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:28:26] local.INFO: TCP Data received {"connection_id":185700,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:28:26] local.INFO: Processing buffer {"connection_id":185700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:28:26] local.INFO: IMEI packet received {"connection_id":185700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":185700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:28:52] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:28:52] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1933de0012d34c14006aa4440000a01182d..."} 
[2026-09-18 04:28:52] local.INFO: Packet analysis {"connection_id":185875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:28:52] local.INFO: Extracted packet for processing {"connection_id":185875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b193"} 
[2026-09-18 04:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159439616001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789685612000,"timestamp_ms":1789685612000,"timestamp_seconds":1789685612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1933de0"} 
[2026-09-18 04:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159439616001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159439616001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159439616001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":185875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:28:52] local.INFO: GPS data processed {"connection_id":185875,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:28:52] local.INFO: Acknowledgment sent {"connection_id":185875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:29:13] local.INFO: TCP Data received {"connection_id":185876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:29:13] local.INFO: Processing buffer {"connection_id":185876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:29:13] local.INFO: IMEI packet received {"connection_id":185876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":185876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:29:18] local.INFO: TCP Data received {"connection_id":185876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:29:18] local.INFO: Processing buffer {"connection_id":185876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:29:18] local.INFO: IMEI packet received {"connection_id":185876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":185876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:29:21] local.INFO: TCP Data received {"connection_id":185876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:29:21] local.INFO: Processing buffer {"connection_id":185876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:29:21] local.INFO: Packet analysis {"connection_id":185876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:29:21] local.INFO: Extracted packet for processing {"connection_id":185876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":185876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:29:21] local.INFO: GPS data processed {"connection_id":185876,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:29:21] local.INFO: Acknowledgment sent {"connection_id":185876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:29:53] local.INFO: TCP Data received {"connection_id":185876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:29:53] local.INFO: Processing buffer {"connection_id":185876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:29:53] local.INFO: Packet analysis {"connection_id":185876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:29:53] local.INFO: Extracted packet for processing {"connection_id":185876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":185876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:29:53] local.INFO: GPS data processed {"connection_id":185876,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:29:53] local.INFO: Acknowledgment sent {"connection_id":185876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:30:13] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:30:13] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:30:13] local.INFO: IMEI packet received {"connection_id":185877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":185877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:30:18] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:30:18] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:30:18] local.INFO: IMEI packet received {"connection_id":185877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":185877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:30:19] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:30:19] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:30:19] local.INFO: Packet analysis {"connection_id":185877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:30:19] local.INFO: Extracted packet for processing {"connection_id":185877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":185877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:30:19] local.INFO: GPS data processed {"connection_id":185877,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:30:19] local.INFO: Acknowledgment sent {"connection_id":185877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:30:50] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:30:50] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:30:50] local.INFO: Packet analysis {"connection_id":185877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:30:50] local.INFO: Extracted packet for processing {"connection_id":185877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:30:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":185877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:30:50] local.INFO: GPS data processed {"connection_id":185877,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:30:50] local.INFO: Acknowledgment sent {"connection_id":185877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:31:13] local.INFO: TCP Data received {"connection_id":187175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:31:13] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:31:13] local.INFO: IMEI packet received {"connection_id":187175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:31:18] local.INFO: TCP Data received {"connection_id":187175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:31:18] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:31:18] local.INFO: IMEI packet received {"connection_id":187175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":187175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:31:19] local.INFO: TCP Data received {"connection_id":187175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:31:19] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:31:19] local.INFO: Packet analysis {"connection_id":187175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:31:19] local.INFO: Extracted packet for processing {"connection_id":187175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":187175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:31:19] local.INFO: GPS data processed {"connection_id":187175,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:31:19] local.INFO: Acknowledgment sent {"connection_id":187175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:31:51] local.INFO: TCP Data received {"connection_id":187175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:31:51] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:31:51] local.INFO: Packet analysis {"connection_id":187175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:31:51] local.INFO: Extracted packet for processing {"connection_id":187175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:31: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-09-18 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":187175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:31:51] local.INFO: GPS data processed {"connection_id":187175,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:31:51] local.INFO: Acknowledgment sent {"connection_id":187175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:32:13] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:32:13] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:32:13] local.INFO: IMEI packet received {"connection_id":185878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":185878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:32:18] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:32:18] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:32:18] local.INFO: IMEI packet received {"connection_id":185878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":185878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:32:19] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:32:19] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:32:19] local.INFO: Packet analysis {"connection_id":185878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:32:19] local.INFO: Extracted packet for processing {"connection_id":185878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:32:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:32:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":185878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:32:19] local.INFO: GPS data processed {"connection_id":185878,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:32:19] local.INFO: Acknowledgment sent {"connection_id":185878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:32:50] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:32:50] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:32:50] local.INFO: Packet analysis {"connection_id":185878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:32:50] local.INFO: Extracted packet for processing {"connection_id":185878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:32:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:32:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":185878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:32:50] local.INFO: GPS data processed {"connection_id":185878,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:32:50] local.INFO: Acknowledgment sent {"connection_id":185878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:33:13] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:33:13] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:33:13] local.INFO: IMEI packet received {"connection_id":188484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:33:18] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:33:18] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:33:18] local.INFO: IMEI packet received {"connection_id":188484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":188484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:33:20] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:33:20] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:33:20] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:33:20] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:33:20] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:33:20] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:33:46] local.INFO: TCP Data received {"connection_id":185701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:33:46] local.INFO: Processing buffer {"connection_id":185701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:33:46] local.INFO: IMEI packet received {"connection_id":185701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":185701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:33:53] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:33:53] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b197d5a8012d34c14006aa4440000a01182c..."} 
[2026-09-18 04:33:53] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:33:53] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b197"} 
[2026-09-18 04:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159516672001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789685913000,"timestamp_ms":1789685913000,"timestamp_seconds":1789685913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b197d5a8"} 
[2026-09-18 04:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 04:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159516672001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159516672001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159516672001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:33:53] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:33:53] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:34:12] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:12] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:12] local.INFO: IMEI packet received {"connection_id":187176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":187176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:34:13] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:13] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:13] local.INFO: IMEI packet received {"connection_id":187176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":187176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:34:18] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:18] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:34:18] local.INFO: IMEI packet received {"connection_id":187176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":187176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:34:19] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:34:19] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:34:19] local.INFO: Packet analysis {"connection_id":187176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:34:19] local.INFO: Extracted packet for processing {"connection_id":187176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":187176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:34:19] local.INFO: GPS data processed {"connection_id":187176,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:34:19] local.INFO: Acknowledgment sent {"connection_id":187176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:34:50] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:34:50] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:34:50] local.INFO: Packet analysis {"connection_id":187176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:34:50] local.INFO: Extracted packet for processing {"connection_id":187176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:34:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":187176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:34:50] local.INFO: GPS data processed {"connection_id":187176,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:34:50] local.INFO: Acknowledgment sent {"connection_id":187176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:35:13] local.INFO: TCP Data received {"connection_id":185879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:35:13] local.INFO: Processing buffer {"connection_id":185879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:35:13] local.INFO: IMEI packet received {"connection_id":185879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":185879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:35:18] local.INFO: TCP Data received {"connection_id":185879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:35:18] local.INFO: Processing buffer {"connection_id":185879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:35:18] local.INFO: IMEI packet received {"connection_id":185879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":185879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:35:20] local.INFO: TCP Data received {"connection_id":185879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:35:20] local.INFO: Processing buffer {"connection_id":185879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:35:20] local.INFO: Packet analysis {"connection_id":185879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:35:20] local.INFO: Extracted packet for processing {"connection_id":185879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":185879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:35:20] local.INFO: GPS data processed {"connection_id":185879,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:35:20] local.INFO: Acknowledgment sent {"connection_id":185879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:35:52] local.INFO: TCP Data received {"connection_id":185879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:35:52] local.INFO: Processing buffer {"connection_id":185879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:35:52] local.INFO: Packet analysis {"connection_id":185879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:35:52] local.INFO: Extracted packet for processing {"connection_id":185879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:35: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-09-18 04:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":185879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:35:52] local.INFO: GPS data processed {"connection_id":185879,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:35:52] local.INFO: Acknowledgment sent {"connection_id":185879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:36:18] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:36:18] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:36:18] local.INFO: IMEI packet received {"connection_id":185880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":185880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:36:23] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:36:23] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:36:23] local.INFO: IMEI packet received {"connection_id":185880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":185880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:36:24] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:24] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:24] local.INFO: Packet analysis {"connection_id":185880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:36:24] local.INFO: Extracted packet for processing {"connection_id":185880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":185880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:36:24] local.INFO: GPS data processed {"connection_id":185880,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:36:24] local.INFO: Acknowledgment sent {"connection_id":185880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:36:28] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:28] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:28] local.INFO: Packet analysis {"connection_id":185880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:36:28] local.INFO: Extracted packet for processing {"connection_id":185880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:36:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:36:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:36:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":185880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:36:28] local.INFO: GPS data processed {"connection_id":185880,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:36:28] local.INFO: Acknowledgment sent {"connection_id":185880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:36:34] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:34] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:36:34] local.INFO: Packet analysis {"connection_id":185880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:36:34] local.INFO: Extracted packet for processing {"connection_id":185880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 04:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04: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-09-18 04:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 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-09-18 04:36: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-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 04:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:36: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-09-18 04:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":185880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:36:34] local.INFO: GPS data processed {"connection_id":185880,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:36:34] local.INFO: Acknowledgment sent {"connection_id":185880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:37:13] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:37:13] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:37:13] local.INFO: IMEI packet received {"connection_id":187177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:37:18] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:37:18] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:37:18] local.INFO: IMEI packet received {"connection_id":187177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":187177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:37:19] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:19] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:19] local.INFO: Packet analysis {"connection_id":187177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:37:19] local.INFO: Extracted packet for processing {"connection_id":187177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":187177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:37:19] local.INFO: GPS data processed {"connection_id":187177,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:37:19] local.INFO: Acknowledgment sent {"connection_id":187177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:37:23] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:23] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:23] local.INFO: Packet analysis {"connection_id":187177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:37:23] local.INFO: Extracted packet for processing {"connection_id":187177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":187177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:37:23] local.INFO: GPS data processed {"connection_id":187177,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:37:23] local.INFO: Acknowledgment sent {"connection_id":187177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:37:55] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:55] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:37:55] local.INFO: Packet analysis {"connection_id":187177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:37:55] local.INFO: Extracted packet for processing {"connection_id":187177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:37:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":187177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:37:55] local.INFO: GPS data processed {"connection_id":187177,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:37:55] local.INFO: Acknowledgment sent {"connection_id":187177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:38:13] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:38:13] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:38:13] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:38:18] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:38:18] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:38:18] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:38:20] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:38:20] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:38:20] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:38:20] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:38:20] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:38:20] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:38:51] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:38:51] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b19c6d70012d34c14006aa4440000a01182b..."} 
[2026-09-18 04:38:51] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:38:51] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b19c"} 
[2026-09-18 04:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159593728001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789686214000,"timestamp_ms":1789686214000,"timestamp_seconds":1789686214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b19c6d70"} 
[2026-09-18 04:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 04:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159593728001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159593728001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159593728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:38:51] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:38:51] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:39:13] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:13] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:13] local.INFO: IMEI packet received {"connection_id":188486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":188486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:39:13] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:13] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:13] local.INFO: IMEI packet received {"connection_id":188486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":188486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:39:18] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:18] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:39:18] local.INFO: IMEI packet received {"connection_id":188486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":188486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:39:19] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:39:19] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:39:19] local.INFO: Packet analysis {"connection_id":188486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:39:19] local.INFO: Extracted packet for processing {"connection_id":188486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":188486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:39:19] local.INFO: GPS data processed {"connection_id":188486,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:39:19] local.INFO: Acknowledgment sent {"connection_id":188486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:39:22] local.INFO: TCP Data received {"connection_id":185702,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:39:22] local.INFO: Processing buffer {"connection_id":185702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:39:22] local.INFO: IMEI packet received {"connection_id":185702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":185702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:39:50] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:39:50] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:39:50] local.INFO: Packet analysis {"connection_id":188486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:39:50] local.INFO: Extracted packet for processing {"connection_id":188486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:39:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":188486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:39:50] local.INFO: GPS data processed {"connection_id":188486,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:39:50] local.INFO: Acknowledgment sent {"connection_id":188486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:40:13] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:40:13] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:40:13] local.INFO: IMEI packet received {"connection_id":185881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":185881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:40:18] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:40:18] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:40:18] local.INFO: IMEI packet received {"connection_id":185881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":185881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:40:19] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:40:19] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:40:19] local.INFO: Packet analysis {"connection_id":185881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:40:19] local.INFO: Extracted packet for processing {"connection_id":185881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":185881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:40:19] local.INFO: GPS data processed {"connection_id":185881,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:40:19] local.INFO: Acknowledgment sent {"connection_id":185881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:40:50] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:40:50] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:40:50] local.INFO: Packet analysis {"connection_id":185881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:40:50] local.INFO: Extracted packet for processing {"connection_id":185881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:40:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":185881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:40:50] local.INFO: GPS data processed {"connection_id":185881,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:40:50] local.INFO: Acknowledgment sent {"connection_id":185881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:41:13] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:41:13] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:41:13] local.INFO: IMEI packet received {"connection_id":185703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":185703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:41:18] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:41:18] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:41:18] local.INFO: IMEI packet received {"connection_id":185703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":185703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:41:19] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:41:19] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:41:19] local.INFO: Packet analysis {"connection_id":185703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:41:19] local.INFO: Extracted packet for processing {"connection_id":185703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":185703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:41:19] local.INFO: GPS data processed {"connection_id":185703,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:41:19] local.INFO: Acknowledgment sent {"connection_id":185703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:41:50] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:41:50] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:41:50] local.INFO: Packet analysis {"connection_id":185703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:41:50] local.INFO: Extracted packet for processing {"connection_id":185703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":185703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:41:50] local.INFO: GPS data processed {"connection_id":185703,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:41:50] local.INFO: Acknowledgment sent {"connection_id":185703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:42:13] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:42:13] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:42:13] local.INFO: IMEI packet received {"connection_id":187178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":187178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:42:18] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:42:18] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:42:18] local.INFO: IMEI packet received {"connection_id":187178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":187178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:42:19] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:42:19] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:42:19] local.INFO: Packet analysis {"connection_id":187178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:42:19] local.INFO: Extracted packet for processing {"connection_id":187178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":187178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:42:19] local.INFO: GPS data processed {"connection_id":187178,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:42:19] local.INFO: Acknowledgment sent {"connection_id":187178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:42:50] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:42:50] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:42:50] local.INFO: Packet analysis {"connection_id":187178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:42:50] local.INFO: Extracted packet for processing {"connection_id":187178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":187178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:42:50] local.INFO: GPS data processed {"connection_id":187178,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:42:50] local.INFO: Acknowledgment sent {"connection_id":187178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:43:13] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:43:13] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:43:13] local.INFO: IMEI packet received {"connection_id":185882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":185882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:43:18] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:43:18] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:43:18] local.INFO: IMEI packet received {"connection_id":185882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":185882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:43:20] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:43:20] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:43:20] local.INFO: Packet analysis {"connection_id":185882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:43:20] local.INFO: Extracted packet for processing {"connection_id":185882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":185882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:43:20] local.INFO: GPS data processed {"connection_id":185882,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:43:20] local.INFO: Acknowledgment sent {"connection_id":185882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:43:51] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:43:51] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a10538012d34c14006aa4440000a01182a..."} 
[2026-09-18 04:43:51] local.INFO: Packet analysis {"connection_id":185882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:43:51] local.INFO: Extracted packet for processing {"connection_id":185882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a1"} 
[2026-09-18 04:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159670784001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789686515000,"timestamp_ms":1789686515000,"timestamp_seconds":1789686515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a10538"} 
[2026-09-18 04:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159670784001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159670784001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159670784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":185882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:43:51] local.INFO: GPS data processed {"connection_id":185882,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:43:51] local.INFO: Acknowledgment sent {"connection_id":185882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:44:13] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:13] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:13] local.INFO: IMEI packet received {"connection_id":187179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":187179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:44:14] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:14] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:14] local.INFO: IMEI packet received {"connection_id":187179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":187179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:44:18] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:18] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:44:18] local.INFO: IMEI packet received {"connection_id":187179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":187179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:44:19] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:44:19] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:44:19] local.INFO: Packet analysis {"connection_id":187179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:44:19] local.INFO: Extracted packet for processing {"connection_id":187179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":187179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:44:19] local.INFO: GPS data processed {"connection_id":187179,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:44:19] local.INFO: Acknowledgment sent {"connection_id":187179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:44:50] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:44:50] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:44:50] local.INFO: Packet analysis {"connection_id":187179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:44:50] local.INFO: Extracted packet for processing {"connection_id":187179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:44:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":187179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:44:50] local.INFO: GPS data processed {"connection_id":187179,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:44:50] local.INFO: Acknowledgment sent {"connection_id":187179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:44:56] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:44:56] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:44:56] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:45:13] local.INFO: TCP Data received {"connection_id":185704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:45:13] local.INFO: Processing buffer {"connection_id":185704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:45:13] local.INFO: IMEI packet received {"connection_id":185704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":185704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:45:18] local.INFO: TCP Data received {"connection_id":185704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:45:18] local.INFO: Processing buffer {"connection_id":185704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:45:18] local.INFO: IMEI packet received {"connection_id":185704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":185704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:45:19] local.INFO: TCP Data received {"connection_id":185704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:45:19] local.INFO: Processing buffer {"connection_id":185704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:45:19] local.INFO: Packet analysis {"connection_id":185704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:45:19] local.INFO: Extracted packet for processing {"connection_id":185704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":185704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:45:19] local.INFO: GPS data processed {"connection_id":185704,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:45:19] local.INFO: Acknowledgment sent {"connection_id":185704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:45:51] local.INFO: TCP Data received {"connection_id":185704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:45:51] local.INFO: Processing buffer {"connection_id":185704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:45:51] local.INFO: Packet analysis {"connection_id":185704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:45:51] local.INFO: Extracted packet for processing {"connection_id":185704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":185704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:45:51] local.INFO: GPS data processed {"connection_id":185704,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:45:51] local.INFO: Acknowledgment sent {"connection_id":185704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:46:13] local.INFO: TCP Data received {"connection_id":185883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:46:13] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:46:13] local.INFO: IMEI packet received {"connection_id":185883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":185883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:46:18] local.INFO: TCP Data received {"connection_id":185883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:46:18] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:46:18] local.INFO: IMEI packet received {"connection_id":185883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":185883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:46:19] local.INFO: TCP Data received {"connection_id":185883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:46:19] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:46:19] local.INFO: Packet analysis {"connection_id":185883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:46:19] local.INFO: Extracted packet for processing {"connection_id":185883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":185883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:46:19] local.INFO: GPS data processed {"connection_id":185883,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:46:19] local.INFO: Acknowledgment sent {"connection_id":185883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:46:50] local.INFO: TCP Data received {"connection_id":185883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:46:50] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:46:50] local.INFO: Packet analysis {"connection_id":185883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:46:50] local.INFO: Extracted packet for processing {"connection_id":185883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:46:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":185883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:46:50] local.INFO: GPS data processed {"connection_id":185883,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:46:50] local.INFO: Acknowledgment sent {"connection_id":185883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:47:13] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:47:13] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:47:13] local.INFO: IMEI packet received {"connection_id":185705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":185705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:47:18] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:47:18] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:47:18] local.INFO: IMEI packet received {"connection_id":185705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":185705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:47:19] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:47:19] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:47:19] local.INFO: Packet analysis {"connection_id":185705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:47:19] local.INFO: Extracted packet for processing {"connection_id":185705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":185705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:47:19] local.INFO: GPS data processed {"connection_id":185705,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:47:19] local.INFO: Acknowledgment sent {"connection_id":185705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:47:50] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:47:50] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:47:50] local.INFO: Packet analysis {"connection_id":185705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:47:50] local.INFO: Extracted packet for processing {"connection_id":185705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:47:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":185705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:47:50] local.INFO: GPS data processed {"connection_id":185705,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:47:50] local.INFO: Acknowledgment sent {"connection_id":185705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:48:13] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:48:13] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:48:13] local.INFO: IMEI packet received {"connection_id":188489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":188489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:48:18] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:48:18] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:48:18] local.INFO: IMEI packet received {"connection_id":188489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":188489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:48:20] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:48:20] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:48:20] local.INFO: Packet analysis {"connection_id":188489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:48:20] local.INFO: Extracted packet for processing {"connection_id":188489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":188489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:48:20] local.INFO: GPS data processed {"connection_id":188489,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:48:20] local.INFO: Acknowledgment sent {"connection_id":188489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:48:51] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:48:51] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1a59d00012d34c14006aa4440000a011827..."} 
[2026-09-18 04:48:51] local.INFO: Packet analysis {"connection_id":188489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:48:51] local.INFO: Extracted packet for processing {"connection_id":188489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1a5"} 
[2026-09-18 04:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159747840001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789686816000,"timestamp_ms":1789686816000,"timestamp_seconds":1789686816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1a59d00"} 
[2026-09-18 04:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 04:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159747840001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159747840001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159747840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":188489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:48:51] local.INFO: GPS data processed {"connection_id":188489,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:48:51] local.INFO: Acknowledgment sent {"connection_id":188489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:49:13] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:13] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:13] local.INFO: IMEI packet received {"connection_id":185884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":185884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:49:15] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:15] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:15] local.INFO: IMEI packet received {"connection_id":185884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:49:18] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:18] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:49:18] local.INFO: IMEI packet received {"connection_id":185884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":185884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:49:20] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:49:20] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:49:20] local.INFO: Packet analysis {"connection_id":185884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:49:20] local.INFO: Extracted packet for processing {"connection_id":185884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:49:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":185884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:49:20] local.INFO: GPS data processed {"connection_id":185884,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:49:20] local.INFO: Acknowledgment sent {"connection_id":185884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:49:51] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:49:51] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:49:51] local.INFO: Packet analysis {"connection_id":185884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:49:51] local.INFO: Extracted packet for processing {"connection_id":185884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:49: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-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":185884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:49:51] local.INFO: GPS data processed {"connection_id":185884,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:49:51] local.INFO: Acknowledgment sent {"connection_id":185884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:50:13] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:50:13] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:50:13] local.INFO: IMEI packet received {"connection_id":187180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":187180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:50:18] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:50:18] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:50:18] local.INFO: IMEI packet received {"connection_id":187180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":187180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:50:19] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:50:19] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:50:19] local.INFO: Packet analysis {"connection_id":187180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:50:19] local.INFO: Extracted packet for processing {"connection_id":187180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:50:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":187180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:50:19] local.INFO: GPS data processed {"connection_id":187180,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:50:19] local.INFO: Acknowledgment sent {"connection_id":187180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:50:34] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:50:34] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:50:34] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:50:50] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:50:50] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:50:50] local.INFO: Packet analysis {"connection_id":187180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:50:50] local.INFO: Extracted packet for processing {"connection_id":187180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:50:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":187180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:50:50] local.INFO: GPS data processed {"connection_id":187180,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:50:50] local.INFO: Acknowledgment sent {"connection_id":187180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:51:13] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:51:13] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:51:13] local.INFO: IMEI packet received {"connection_id":185885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":185885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:51:18] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:51:18] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:51:18] local.INFO: IMEI packet received {"connection_id":185885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":185885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:51:19] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:51:19] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:51:19] local.INFO: Packet analysis {"connection_id":185885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:51:19] local.INFO: Extracted packet for processing {"connection_id":185885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":185885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:51:19] local.INFO: GPS data processed {"connection_id":185885,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:51:19] local.INFO: Acknowledgment sent {"connection_id":185885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:51:51] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:51:51] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:51:51] local.INFO: Packet analysis {"connection_id":185885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:51:51] local.INFO: Extracted packet for processing {"connection_id":185885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:51: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-09-18 04:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":185885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:51:51] local.INFO: GPS data processed {"connection_id":185885,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:51:51] local.INFO: Acknowledgment sent {"connection_id":185885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:52:13] local.INFO: TCP Data received {"connection_id":185706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:52:13] local.INFO: Processing buffer {"connection_id":185706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:52:13] local.INFO: IMEI packet received {"connection_id":185706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":185706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:52:18] local.INFO: TCP Data received {"connection_id":185706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:52:18] local.INFO: Processing buffer {"connection_id":185706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:52:18] local.INFO: IMEI packet received {"connection_id":185706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":185706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:52:19] local.INFO: TCP Data received {"connection_id":185706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:52:19] local.INFO: Processing buffer {"connection_id":185706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:52:19] local.INFO: Packet analysis {"connection_id":185706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:52:19] local.INFO: Extracted packet for processing {"connection_id":185706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":185706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:52:19] local.INFO: GPS data processed {"connection_id":185706,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:52:19] local.INFO: Acknowledgment sent {"connection_id":185706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:52:51] local.INFO: TCP Data received {"connection_id":185706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:52:51] local.INFO: Processing buffer {"connection_id":185706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:52:51] local.INFO: Packet analysis {"connection_id":185706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:52:51] local.INFO: Extracted packet for processing {"connection_id":185706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:52: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-09-18 04:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":185706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:52:51] local.INFO: GPS data processed {"connection_id":185706,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:52:51] local.INFO: Acknowledgment sent {"connection_id":185706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:53:13] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:53:13] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:53:13] local.INFO: IMEI packet received {"connection_id":188490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:53:18] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:53:18] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:53:18] local.INFO: IMEI packet received {"connection_id":188490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:53:19] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:53:19] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:53:19] local.INFO: Packet analysis {"connection_id":188490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:53:19] local.INFO: Extracted packet for processing {"connection_id":188490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:53:19] local.INFO: GPS data processed {"connection_id":188490,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:53:19] local.INFO: Acknowledgment sent {"connection_id":188490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:53:50] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:53:50] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aa34c8012d34c14006aa4440000a011828..."} 
[2026-09-18 04:53:50] local.INFO: Packet analysis {"connection_id":188490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:53:50] local.INFO: Extracted packet for processing {"connection_id":188490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1aa"} 
[2026-09-18 04:53:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159824896001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789687117000,"timestamp_ms":1789687117000,"timestamp_seconds":1789687117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aa34c8"} 
[2026-09-18 04:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159824896001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159824896001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:53:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159824896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":188490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:53:50] local.INFO: GPS data processed {"connection_id":188490,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:53:50] local.INFO: Acknowledgment sent {"connection_id":188490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:54:13] local.INFO: TCP Data received {"connection_id":185707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:13] local.INFO: Processing buffer {"connection_id":185707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:13] local.INFO: IMEI packet received {"connection_id":185707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":185707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:54:16] local.INFO: TCP Data received {"connection_id":185707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:16] local.INFO: Processing buffer {"connection_id":185707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:16] local.INFO: IMEI packet received {"connection_id":185707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":185707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:54:18] local.INFO: TCP Data received {"connection_id":185707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:18] local.INFO: Processing buffer {"connection_id":185707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:54:18] local.INFO: IMEI packet received {"connection_id":185707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":185707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:54:19] local.INFO: TCP Data received {"connection_id":185707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:54:19] local.INFO: Processing buffer {"connection_id":185707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:54:19] local.INFO: Packet analysis {"connection_id":185707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:54:19] local.INFO: Extracted packet for processing {"connection_id":185707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":185707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:54:19] local.INFO: GPS data processed {"connection_id":185707,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:54:19] local.INFO: Acknowledgment sent {"connection_id":185707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:54:50] local.INFO: TCP Data received {"connection_id":185707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:54:50] local.INFO: Processing buffer {"connection_id":185707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:54:50] local.INFO: Packet analysis {"connection_id":185707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:54:50] local.INFO: Extracted packet for processing {"connection_id":185707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":185707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:54:50] local.INFO: GPS data processed {"connection_id":185707,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:54:50] local.INFO: Acknowledgment sent {"connection_id":185707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:55:18] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:55:18] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:55:18] local.INFO: IMEI packet received {"connection_id":187182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":187182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:55:23] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:55:23] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:55:23] local.INFO: IMEI packet received {"connection_id":187182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":187182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:55:24] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:55:24] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:55:24] local.INFO: Packet analysis {"connection_id":187182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:55:24] local.INFO: Extracted packet for processing {"connection_id":187182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":187182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:55:24] local.INFO: GPS data processed {"connection_id":187182,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:55:24] local.INFO: Acknowledgment sent {"connection_id":187182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:55:29] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:55:29] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:55:29] local.INFO: Packet analysis {"connection_id":187182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:55:29] local.INFO: Extracted packet for processing {"connection_id":187182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:55:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:55: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-09-18 04:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:55:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:55:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":187182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:55:29] local.INFO: GPS data processed {"connection_id":187182,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:55:29] local.INFO: Acknowledgment sent {"connection_id":187182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:56:06] local.INFO: TCP Data received {"connection_id":187181,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:56:06] local.INFO: Processing buffer {"connection_id":187181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 04:56:06] local.INFO: IMEI packet received {"connection_id":187181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 04:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":187181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:56:13] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:56:13] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:56:13] local.INFO: IMEI packet received {"connection_id":187183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":187183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:56:18] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:56:18] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:56:18] local.INFO: IMEI packet received {"connection_id":187183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":187183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:56:19] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:56:19] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:56:19] local.INFO: Packet analysis {"connection_id":187183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:56:19] local.INFO: Extracted packet for processing {"connection_id":187183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":187183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:56:19] local.INFO: GPS data processed {"connection_id":187183,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:56:19] local.INFO: Acknowledgment sent {"connection_id":187183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:56:50] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:56:50] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:56:50] local.INFO: Packet analysis {"connection_id":187183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:56:50] local.INFO: Extracted packet for processing {"connection_id":187183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":187183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:56:50] local.INFO: GPS data processed {"connection_id":187183,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:56:50] local.INFO: Acknowledgment sent {"connection_id":187183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:57:13] local.INFO: TCP Data received {"connection_id":185708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:57:13] local.INFO: Processing buffer {"connection_id":185708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:57:13] local.INFO: IMEI packet received {"connection_id":185708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":185708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:57:19] local.INFO: TCP Data received {"connection_id":185708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:57:19] local.INFO: Processing buffer {"connection_id":185708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:57:19] local.INFO: IMEI packet received {"connection_id":185708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":185708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:57:20] local.INFO: TCP Data received {"connection_id":185708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:57:20] local.INFO: Processing buffer {"connection_id":185708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:57:20] local.INFO: Packet analysis {"connection_id":185708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:57:20] local.INFO: Extracted packet for processing {"connection_id":185708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":185708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:57:20] local.INFO: GPS data processed {"connection_id":185708,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:57:20] local.INFO: Acknowledgment sent {"connection_id":185708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:57:51] local.INFO: TCP Data received {"connection_id":185708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:57:51] local.INFO: Processing buffer {"connection_id":185708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:57:51] local.INFO: Packet analysis {"connection_id":185708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:57:51] local.INFO: Extracted packet for processing {"connection_id":185708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":185708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:57:51] local.INFO: GPS data processed {"connection_id":185708,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:57:51] local.INFO: Acknowledgment sent {"connection_id":185708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:58:13] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:58:13] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:58:13] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:58:18] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:58:18] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:58:18] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:58:19] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:58:19] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:58:19] local.INFO: Packet analysis {"connection_id":188491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:58:19] local.INFO: Extracted packet for processing {"connection_id":188491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":188491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:58:19] local.INFO: GPS data processed {"connection_id":188491,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:58:19] local.INFO: Acknowledgment sent {"connection_id":188491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:58:51] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:58:51] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1aecc90012d34c14006aa4440000a011828..."} 
[2026-09-18 04:58:51] local.INFO: Packet analysis {"connection_id":188491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:58:51] local.INFO: Extracted packet for processing {"connection_id":188491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ae"} 
[2026-09-18 04:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04: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-09-18 04:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159901952001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687418000,"timestamp_ms":1789687418000,"timestamp_seconds":1789687418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1aecc90"} 
[2026-09-18 04:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 04:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04: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-09-18 04:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159901952001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159901952001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159901952001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":188491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:58:51] local.INFO: GPS data processed {"connection_id":188491,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:58:51] local.INFO: Acknowledgment sent {"connection_id":188491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:59:13] local.INFO: TCP Data received {"connection_id":185709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:59:13] local.INFO: Processing buffer {"connection_id":185709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:59:13] local.INFO: IMEI packet received {"connection_id":185709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 04:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":185709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 04:59:17] local.INFO: TCP Data received {"connection_id":185709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:59:17] local.INFO: Processing buffer {"connection_id":185709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 04:59:17] local.INFO: IMEI packet received {"connection_id":185709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 04:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":185709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 04:59:18] local.INFO: TCP Data received {"connection_id":185709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 04:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 04:59:18] local.INFO: Processing buffer {"connection_id":185709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 04:59:18] local.INFO: Packet analysis {"connection_id":185709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 04:59:18] local.INFO: Extracted packet for processing {"connection_id":185709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 04:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 04:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":185709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:59:18] local.INFO: GPS data processed {"connection_id":185709,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:59:18] local.INFO: Acknowledgment sent {"connection_id":185709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 04:59:49] local.INFO: TCP Data received {"connection_id":185709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 04:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 04:59:49] local.INFO: Processing buffer {"connection_id":185709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 04:59:49] local.INFO: Packet analysis {"connection_id":185709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 04:59:49] local.INFO: Extracted packet for processing {"connection_id":185709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 04:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 04:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 04:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 04:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 04:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 04:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 04:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 04:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 04:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 04:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 04:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 04:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 04:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 04:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 04:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 04:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 04:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 04:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 04:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 04:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 04:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 04:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 04:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 04:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 04:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 04:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 04:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 04:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 04:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":185709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 04:59:49] local.INFO: GPS data processed {"connection_id":185709,"processed":1,"errors":0,"total":1} 
[2026-09-18 04:59:49] local.INFO: Acknowledgment sent {"connection_id":185709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:00:13] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:00:13] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:00:13] local.INFO: IMEI packet received {"connection_id":188492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":188492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:00:18] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:00:18] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:00:18] local.INFO: IMEI packet received {"connection_id":188492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":188492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:00:19] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:00:19] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:00:19] local.INFO: Packet analysis {"connection_id":188492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:00:19] local.INFO: Extracted packet for processing {"connection_id":188492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":188492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:00:19] local.INFO: GPS data processed {"connection_id":188492,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:00:19] local.INFO: Acknowledgment sent {"connection_id":188492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:00:50] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:00:50] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:00:50] local.INFO: Packet analysis {"connection_id":188492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:00:50] local.INFO: Extracted packet for processing {"connection_id":188492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:00:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":188492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:00:50] local.INFO: GPS data processed {"connection_id":188492,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:00:50] local.INFO: Acknowledgment sent {"connection_id":188492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:01:13] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:01:13] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:01:13] local.INFO: IMEI packet received {"connection_id":185887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":185887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:01:18] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:01:18] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:01:18] local.INFO: IMEI packet received {"connection_id":185887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":185887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:01:21] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:01:21] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:01:21] local.INFO: Packet analysis {"connection_id":185887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:01:21] local.INFO: Extracted packet for processing {"connection_id":185887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:01:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":185887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:01:21] local.INFO: GPS data processed {"connection_id":185887,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:01:21] local.INFO: Acknowledgment sent {"connection_id":185887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:01:41] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:01:41] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:01:41] local.INFO: IMEI packet received {"connection_id":185886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":185886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:01:52] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:01:52] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:01:52] local.INFO: Packet analysis {"connection_id":185887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:01:52] local.INFO: Extracted packet for processing {"connection_id":185887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:01: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-09-18 05:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":185887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:01:52] local.INFO: GPS data processed {"connection_id":185887,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:01:52] local.INFO: Acknowledgment sent {"connection_id":185887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:02:13] local.INFO: TCP Data received {"connection_id":185710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:02:13] local.INFO: Processing buffer {"connection_id":185710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:02:13] local.INFO: IMEI packet received {"connection_id":185710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":185710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:02:18] local.INFO: TCP Data received {"connection_id":185710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:02:18] local.INFO: Processing buffer {"connection_id":185710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:02:18] local.INFO: IMEI packet received {"connection_id":185710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":185710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:02:19] local.INFO: TCP Data received {"connection_id":185710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:02:19] local.INFO: Processing buffer {"connection_id":185710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:02:19] local.INFO: Packet analysis {"connection_id":185710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:02:19] local.INFO: Extracted packet for processing {"connection_id":185710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":185710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:02:19] local.INFO: GPS data processed {"connection_id":185710,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:02:19] local.INFO: Acknowledgment sent {"connection_id":185710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:02:51] local.INFO: TCP Data received {"connection_id":185710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:02:51] local.INFO: Processing buffer {"connection_id":185710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:02:51] local.INFO: Packet analysis {"connection_id":185710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:02:51] local.INFO: Extracted packet for processing {"connection_id":185710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:02: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-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":185710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:02:51] local.INFO: GPS data processed {"connection_id":185710,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:02:51] local.INFO: Acknowledgment sent {"connection_id":185710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:03:13] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:03:13] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:03:13] local.INFO: IMEI packet received {"connection_id":187185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":187185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:03:18] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:03:18] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:03:18] local.INFO: IMEI packet received {"connection_id":187185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":187185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:03:19] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:03:19] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:03:19] local.INFO: Packet analysis {"connection_id":187185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:03:19] local.INFO: Extracted packet for processing {"connection_id":187185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":187185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:03:19] local.INFO: GPS data processed {"connection_id":187185,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:03:19] local.INFO: Acknowledgment sent {"connection_id":187185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:03:51] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:03:51] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b36458012d34c14006aa4440000a011829..."} 
[2026-09-18 05:03:51] local.INFO: Packet analysis {"connection_id":187185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:03:51] local.INFO: Extracted packet for processing {"connection_id":187185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b3"} 
[2026-09-18 05:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458159979008001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789687719000,"timestamp_ms":1789687719000,"timestamp_seconds":1789687719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b36458"} 
[2026-09-18 05:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458159979008001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458159979008001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458159979008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":187185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:03:51] local.INFO: GPS data processed {"connection_id":187185,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:03:51] local.INFO: Acknowledgment sent {"connection_id":187185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:04:18] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:18] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:18] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:04:18] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:18] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:18] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:04:23] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:23] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:04:23] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:04:24] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:04:24] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:04:24] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:04:24] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:04:24] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:04:24] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:04:28] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:04:28] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:04:28] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:04:28] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:04:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:04:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:04:28] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:04:28] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:05:13] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:05:13] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:05:13] local.INFO: IMEI packet received {"connection_id":185888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":185888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:05:18] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:05:18] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:05:18] local.INFO: IMEI packet received {"connection_id":185888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":185888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:05:19] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:05:19] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:05:19] local.INFO: Packet analysis {"connection_id":185888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:05:19] local.INFO: Extracted packet for processing {"connection_id":185888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":185888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:05:19] local.INFO: GPS data processed {"connection_id":185888,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:05:19] local.INFO: Acknowledgment sent {"connection_id":185888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:05:50] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:05:50] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:05:50] local.INFO: Packet analysis {"connection_id":185888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:05:50] local.INFO: Extracted packet for processing {"connection_id":185888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":185888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:05:50] local.INFO: GPS data processed {"connection_id":185888,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:05:50] local.INFO: Acknowledgment sent {"connection_id":185888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:06:13] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:06:13] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:06:13] local.INFO: IMEI packet received {"connection_id":187186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":187186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:06:18] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:06:18] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:06:18] local.INFO: IMEI packet received {"connection_id":187186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":187186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:06:19] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:06:19] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:06:19] local.INFO: Packet analysis {"connection_id":187186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:06:19] local.INFO: Extracted packet for processing {"connection_id":187186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":187186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:06:19] local.INFO: GPS data processed {"connection_id":187186,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:06:19] local.INFO: Acknowledgment sent {"connection_id":187186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:06:50] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:06:50] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:06:50] local.INFO: Packet analysis {"connection_id":187186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:06:50] local.INFO: Extracted packet for processing {"connection_id":187186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":187186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:06:50] local.INFO: GPS data processed {"connection_id":187186,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:06:50] local.INFO: Acknowledgment sent {"connection_id":187186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:07:13] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:07:13] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:07:13] local.INFO: IMEI packet received {"connection_id":185889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":185889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:07:16] local.INFO: TCP Data received {"connection_id":187184,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:07:16] local.INFO: Processing buffer {"connection_id":187184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:07:16] local.INFO: IMEI packet received {"connection_id":187184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":187184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:07:18] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:07:18] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:07:18] local.INFO: IMEI packet received {"connection_id":185889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":185889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:07:19] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:07:19] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:07:19] local.INFO: Packet analysis {"connection_id":185889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:07:19] local.INFO: Extracted packet for processing {"connection_id":185889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":185889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:07:19] local.INFO: GPS data processed {"connection_id":185889,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:07:19] local.INFO: Acknowledgment sent {"connection_id":185889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:07:50] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:07:50] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:07:50] local.INFO: Packet analysis {"connection_id":185889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:07:50] local.INFO: Extracted packet for processing {"connection_id":185889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:07:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:07:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:07:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":185889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:07:50] local.INFO: GPS data processed {"connection_id":185889,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:07:50] local.INFO: Acknowledgment sent {"connection_id":185889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:08:18] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:08:18] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:08:18] local.INFO: IMEI packet received {"connection_id":188494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":188494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:08:23] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:08:23] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:08:23] local.INFO: IMEI packet received {"connection_id":188494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":188494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:08:24] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:08:24] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:08:24] local.INFO: Packet analysis {"connection_id":188494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:08:24] local.INFO: Extracted packet for processing {"connection_id":188494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":188494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:08:24] local.INFO: GPS data processed {"connection_id":188494,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:08:24] local.INFO: Acknowledgment sent {"connection_id":188494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:08:55] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:08:55] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:08:55] local.INFO: Packet analysis {"connection_id":188494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:08:55] local.INFO: Extracted packet for processing {"connection_id":188494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:08:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":188494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:08:55] local.INFO: GPS data processed {"connection_id":188494,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:08:55] local.INFO: Acknowledgment sent {"connection_id":188494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:09:13] local.INFO: TCP Data received {"connection_id":185712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:09:13] local.INFO: Processing buffer {"connection_id":185712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:09:13] local.INFO: IMEI packet received {"connection_id":185712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":185712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:09:18] local.INFO: TCP Data received {"connection_id":185712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:09:18] local.INFO: Processing buffer {"connection_id":185712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:09:18] local.INFO: IMEI packet received {"connection_id":185712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":185712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:09:19] local.INFO: TCP Data received {"connection_id":185712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:09:19] local.INFO: Processing buffer {"connection_id":185712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1b7fc20012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:09:19] local.INFO: Packet analysis {"connection_id":185712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:09:19] local.INFO: Extracted packet for processing {"connection_id":185712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1b7"} 
[2026-09-18 05:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160056064001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688020000,"timestamp_ms":1789688020000,"timestamp_seconds":1789688020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1b7fc20"} 
[2026-09-18 05:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 05:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160056064001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160056064001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160056064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":185712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:09:19] local.INFO: GPS data processed {"connection_id":185712,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:09:19] local.INFO: Acknowledgment sent {"connection_id":185712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:09:50] local.INFO: TCP Data received {"connection_id":185712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:09:50] local.INFO: Processing buffer {"connection_id":185712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:09:50] local.INFO: Packet analysis {"connection_id":185712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:09:50] local.INFO: Extracted packet for processing {"connection_id":185712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":185712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:09:50] local.INFO: GPS data processed {"connection_id":185712,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:09:50] local.INFO: Acknowledgment sent {"connection_id":185712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:10:13] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:10:13] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:10:13] local.INFO: IMEI packet received {"connection_id":187187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":187187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:10:18] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:10:18] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:10:18] local.INFO: IMEI packet received {"connection_id":187187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":187187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:10:19] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:10:19] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:10:19] local.INFO: Packet analysis {"connection_id":187187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:10:19] local.INFO: Extracted packet for processing {"connection_id":187187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":187187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:10:19] local.INFO: GPS data processed {"connection_id":187187,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:10:19] local.INFO: Acknowledgment sent {"connection_id":187187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:10:51] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:10:51] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:10:51] local.INFO: Packet analysis {"connection_id":187187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:10:51] local.INFO: Extracted packet for processing {"connection_id":187187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:10:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":187187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:10:51] local.INFO: GPS data processed {"connection_id":187187,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:10:51] local.INFO: Acknowledgment sent {"connection_id":187187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:11:18] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:11:18] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:11:18] local.INFO: IMEI packet received {"connection_id":187188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":187188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:11:23] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:11:23] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:11:23] local.INFO: IMEI packet received {"connection_id":187188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":187188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:11:24] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:11:24] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:11:24] local.INFO: Packet analysis {"connection_id":187188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:11:24] local.INFO: Extracted packet for processing {"connection_id":187188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":187188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:11:24] local.INFO: GPS data processed {"connection_id":187188,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:11:24] local.INFO: Acknowledgment sent {"connection_id":187188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:11:56] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:11:56] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:11:56] local.INFO: Packet analysis {"connection_id":187188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:11:56] local.INFO: Extracted packet for processing {"connection_id":187188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:11:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:11:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:11:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":187188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:11:56] local.INFO: GPS data processed {"connection_id":187188,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:11:56] local.INFO: Acknowledgment sent {"connection_id":187188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:12:13] local.INFO: TCP Data received {"connection_id":187189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:12:13] local.INFO: Processing buffer {"connection_id":187189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:12:13] local.INFO: IMEI packet received {"connection_id":187189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":187189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:12:18] local.INFO: TCP Data received {"connection_id":187189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:12:18] local.INFO: Processing buffer {"connection_id":187189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:12:18] local.INFO: IMEI packet received {"connection_id":187189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":187189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:12:19] local.INFO: TCP Data received {"connection_id":187189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:12:19] local.INFO: Processing buffer {"connection_id":187189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:12:19] local.INFO: Packet analysis {"connection_id":187189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:12:19] local.INFO: Extracted packet for processing {"connection_id":187189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":187189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:12:19] local.INFO: GPS data processed {"connection_id":187189,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:12:19] local.INFO: Acknowledgment sent {"connection_id":187189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:12:50] local.INFO: TCP Data received {"connection_id":187189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:12:50] local.INFO: Processing buffer {"connection_id":187189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:12:50] local.INFO: Packet analysis {"connection_id":187189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:12:50] local.INFO: Extracted packet for processing {"connection_id":187189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":187189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:12:50] local.INFO: GPS data processed {"connection_id":187189,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:12:50] local.INFO: Acknowledgment sent {"connection_id":187189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:12:51] local.INFO: TCP Data received {"connection_id":185711,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:12:51] local.INFO: Processing buffer {"connection_id":185711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:12:51] local.INFO: IMEI packet received {"connection_id":185711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":185711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:13:12] local.INFO: TCP Data received {"connection_id":185890,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:13:12] local.INFO: Processing buffer {"connection_id":185890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:13:12] local.INFO: IMEI packet received {"connection_id":185890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":185890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:13:13] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:13:13] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:13:13] local.INFO: IMEI packet received {"connection_id":185713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":185713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:13:18] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:13:18] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:13:18] local.INFO: IMEI packet received {"connection_id":185713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":185713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:13:19] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:13:19] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:13:19] local.INFO: Packet analysis {"connection_id":185713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:13:19] local.INFO: Extracted packet for processing {"connection_id":185713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":185713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:13:19] local.INFO: GPS data processed {"connection_id":185713,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:13:19] local.INFO: Acknowledgment sent {"connection_id":185713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:13:50] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:13:50] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:13:50] local.INFO: Packet analysis {"connection_id":185713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:13:50] local.INFO: Extracted packet for processing {"connection_id":185713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":185713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:13:50] local.INFO: GPS data processed {"connection_id":185713,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:13:50] local.INFO: Acknowledgment sent {"connection_id":185713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:14:13] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:14:13] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:14:13] local.INFO: IMEI packet received {"connection_id":187190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":187190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:14:18] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:14:18] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:14:18] local.INFO: IMEI packet received {"connection_id":187190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":187190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:14:19] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:14:19] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1bc93e8012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:14:19] local.INFO: Packet analysis {"connection_id":187190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:14:19] local.INFO: Extracted packet for processing {"connection_id":187190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1bc"} 
[2026-09-18 05:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160133120001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688321000,"timestamp_ms":1789688321000,"timestamp_seconds":1789688321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1bc93e8"} 
[2026-09-18 05:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160133120001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160133120001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160133120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":187190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:14:19] local.INFO: GPS data processed {"connection_id":187190,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:14:19] local.INFO: Acknowledgment sent {"connection_id":187190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:14:50] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:14:50] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:14:50] local.INFO: Packet analysis {"connection_id":187190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:14:50] local.INFO: Extracted packet for processing {"connection_id":187190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":187190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:14:50] local.INFO: GPS data processed {"connection_id":187190,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:14:50] local.INFO: Acknowledgment sent {"connection_id":187190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:15:13] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:15:13] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:15:13] local.INFO: IMEI packet received {"connection_id":185714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":185714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:15:18] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:15:18] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:15:18] local.INFO: IMEI packet received {"connection_id":185714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":185714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:15:19] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:15:19] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:15:19] local.INFO: Packet analysis {"connection_id":185714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:15:19] local.INFO: Extracted packet for processing {"connection_id":185714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:15:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":185714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:15:19] local.INFO: GPS data processed {"connection_id":185714,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:15:19] local.INFO: Acknowledgment sent {"connection_id":185714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:15:50] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:15:50] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:15:50] local.INFO: Packet analysis {"connection_id":185714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:15:50] local.INFO: Extracted packet for processing {"connection_id":185714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:15:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":185714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:15:50] local.INFO: GPS data processed {"connection_id":185714,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:15:50] local.INFO: Acknowledgment sent {"connection_id":185714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:16:13] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:16:13] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:16:13] local.INFO: IMEI packet received {"connection_id":188495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":188495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:16:18] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:16:18] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:16:18] local.INFO: IMEI packet received {"connection_id":188495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":188495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:16:20] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:16:20] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:16:20] local.INFO: Packet analysis {"connection_id":188495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:16:20] local.INFO: Extracted packet for processing {"connection_id":188495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":188495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:16:20] local.INFO: GPS data processed {"connection_id":188495,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:16:20] local.INFO: Acknowledgment sent {"connection_id":188495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:16:51] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:16:51] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:16:51] local.INFO: Packet analysis {"connection_id":188495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:16:51] local.INFO: Extracted packet for processing {"connection_id":188495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":188495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:16:51] local.INFO: GPS data processed {"connection_id":188495,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:16:51] local.INFO: Acknowledgment sent {"connection_id":188495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:17:13] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:17:13] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:17:13] local.INFO: IMEI packet received {"connection_id":185891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":185891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:17:18] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:17:18] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:17:18] local.INFO: IMEI packet received {"connection_id":185891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":185891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:17:19] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:17:19] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:17:19] local.INFO: Packet analysis {"connection_id":185891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:17:19] local.INFO: Extracted packet for processing {"connection_id":185891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":185891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:17:19] local.INFO: GPS data processed {"connection_id":185891,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:17:19] local.INFO: Acknowledgment sent {"connection_id":185891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:17:50] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:17:50] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:17:50] local.INFO: Packet analysis {"connection_id":185891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:17:50] local.INFO: Extracted packet for processing {"connection_id":185891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:17:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":185891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:17:50] local.INFO: GPS data processed {"connection_id":185891,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:17:50] local.INFO: Acknowledgment sent {"connection_id":185891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:18:13] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:18:13] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:18:13] local.INFO: IMEI packet received {"connection_id":185716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":185716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:18:18] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:18:18] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:18:18] local.INFO: IMEI packet received {"connection_id":185716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":185716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:18:19] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:18:19] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:18:19] local.INFO: Packet analysis {"connection_id":185716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:18:19] local.INFO: Extracted packet for processing {"connection_id":185716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":185716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:18:19] local.INFO: GPS data processed {"connection_id":185716,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:18:19] local.INFO: Acknowledgment sent {"connection_id":185716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:18:42] local.INFO: TCP Data received {"connection_id":185715,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:18:42] local.INFO: Processing buffer {"connection_id":185715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:18:42] local.INFO: IMEI packet received {"connection_id":185715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":185715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:18:51] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:18:51] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:18:51] local.INFO: Packet analysis {"connection_id":185716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:18:51] local.INFO: Extracted packet for processing {"connection_id":185716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":185716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:18:51] local.INFO: GPS data processed {"connection_id":185716,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:18:51] local.INFO: Acknowledgment sent {"connection_id":185716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:19:13] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:19:13] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:19:13] local.INFO: IMEI packet received {"connection_id":185892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":185892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:19:18] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:19:18] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:19:18] local.INFO: IMEI packet received {"connection_id":185892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":185892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:19:19] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:19:19] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c12bb0012d34c14006aa4440000a01182e..."} 
[2026-09-18 05:19:19] local.INFO: Packet analysis {"connection_id":185892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:19:19] local.INFO: Extracted packet for processing {"connection_id":185892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160210176001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789688622000,"timestamp_ms":1789688622000,"timestamp_seconds":1789688622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c12bb0"} 
[2026-09-18 05:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160210176001,"66":25191,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160210176001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160210176001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":185892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:19:19] local.INFO: GPS data processed {"connection_id":185892,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:19:19] local.INFO: Acknowledgment sent {"connection_id":185892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:19:50] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:19:50] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:19:50] local.INFO: Packet analysis {"connection_id":185892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:19:50] local.INFO: Extracted packet for processing {"connection_id":185892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160287232001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789688923000,"timestamp_ms":1789688923000,"timestamp_seconds":1789688923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c5c378"} 
[2026-09-18 05:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 05:19:50] 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-09-18 05:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160287232001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160287232001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:19:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160287232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":185892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:19:50] local.INFO: GPS data processed {"connection_id":185892,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:19:50] local.INFO: Acknowledgment sent {"connection_id":185892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:20:13] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:20:13] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:20:13] local.INFO: IMEI packet received {"connection_id":187191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":187191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:20:18] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:20:18] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:20:18] local.INFO: IMEI packet received {"connection_id":187191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":187191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:20:20] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:20:20] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:20:20] local.INFO: Packet analysis {"connection_id":187191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:20:20] local.INFO: Extracted packet for processing {"connection_id":187191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160287232001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789688923000,"timestamp_ms":1789688923000,"timestamp_seconds":1789688923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c5c378"} 
[2026-09-18 05:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 05:20:20] 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-09-18 05:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160287232001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160287232001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160287232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":187191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:20:20] local.INFO: GPS data processed {"connection_id":187191,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:20:20] local.INFO: Acknowledgment sent {"connection_id":187191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:20:51] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:20:51] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:20:51] local.INFO: Packet analysis {"connection_id":187191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:20:51] local.INFO: Extracted packet for processing {"connection_id":187191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160287232001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789688923000,"timestamp_ms":1789688923000,"timestamp_seconds":1789688923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c5c378"} 
[2026-09-18 05:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05: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-09-18 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 05:20:51] 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-09-18 05: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-09-18 05:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160287232001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160287232001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160287232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":187191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:20:51] local.INFO: GPS data processed {"connection_id":187191,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:20:51] local.INFO: Acknowledgment sent {"connection_id":187191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:21:33] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:21:33] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:21:33] local.INFO: IMEI packet received {"connection_id":187192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":187192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:21:33] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:21:33] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:21:33] local.INFO: IMEI packet received {"connection_id":187192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":187192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:21:34] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:21:34] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:21:34] local.INFO: Packet analysis {"connection_id":187192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:21:34] local.INFO: Extracted packet for processing {"connection_id":187192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 05:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160287232001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05: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-09-18 05:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789688923000,"timestamp_ms":1789688923000,"timestamp_seconds":1789688923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c5c378"} 
[2026-09-18 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-09-18 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-09-18 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 05:21:34] 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-09-18 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-09-18 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-09-18 05:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:21: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-09-18 05:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160287232001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160287232001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160287232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":187192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:21:34] local.INFO: GPS data processed {"connection_id":187192,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:21:34] local.INFO: Acknowledgment sent {"connection_id":187192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:21:39] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:21:39] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:21:39] local.INFO: Packet analysis {"connection_id":187192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:21:39] local.INFO: Extracted packet for processing {"connection_id":187192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160287232001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789688923000,"timestamp_ms":1789688923000,"timestamp_seconds":1789688923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c5c378"} 
[2026-09-18 05:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 05:21:39] 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-09-18 05:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160287232001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160287232001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160287232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":187192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:21:39] local.INFO: GPS data processed {"connection_id":187192,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:21:39] local.INFO: Acknowledgment sent {"connection_id":187192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:22:28] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:28] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:28] local.INFO: IMEI packet received {"connection_id":185893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":185893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:22:29] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:29] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:29] local.INFO: IMEI packet received {"connection_id":185893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":185893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:22:30] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:30] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:30] local.INFO: IMEI packet received {"connection_id":185893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":185893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:22:33] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:33] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:22:33] local.INFO: IMEI packet received {"connection_id":185893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":185893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:22:35] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:22:35] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c5c378012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:22:35] local.INFO: Packet analysis {"connection_id":185893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:22:35] local.INFO: Extracted packet for processing {"connection_id":185893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c5"} 
[2026-09-18 05:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160287232001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05: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-09-18 05:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789688923000,"timestamp_ms":1789688923000,"timestamp_seconds":1789688923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c5c378"} 
[2026-09-18 05:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05: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-09-18 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 05:22:35] 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-09-18 05:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160287232001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160287232001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160287232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":185893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:22:35] local.INFO: GPS data processed {"connection_id":185893,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:22:35] local.INFO: Acknowledgment sent {"connection_id":185893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:23:28] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:23:28] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:23:28] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:23:41] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:23:41] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:23:41] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:24:01] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:24:01] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:24:01] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:24:15] local.INFO: TCP Data received {"connection_id":187193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:24:15] local.INFO: Processing buffer {"connection_id":187193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:24:15] local.INFO: IMEI packet received {"connection_id":187193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":187193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:24:16] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:24:16] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:24:16] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:29:33] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:29:33] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:29:33] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:29:41] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:29:41] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:29:41] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:29:51] local.INFO: TCP Data received {"connection_id":188500,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:29:51] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:29:51] local.INFO: IMEI packet received {"connection_id":188500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":188500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:30:13] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:30:13] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:30:13] local.INFO: IMEI packet received {"connection_id":187194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":187194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:30:21] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:30:21] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:30:21] local.INFO: IMEI packet received {"connection_id":187194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":187194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:30:22] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ca5b40012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ca5b40012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:30:22] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ca5b40012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:30:22] local.INFO: Packet analysis {"connection_id":187194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ca"} 
[2026-09-18 05:30:22] local.INFO: Extracted packet for processing {"connection_id":187194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ca"} 
[2026-09-18 05:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160364288001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789689224000,"timestamp_ms":1789689224000,"timestamp_seconds":1789689224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ca5b40"} 
[2026-09-18 05:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160364288001,"66":25419,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160364288001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:30:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160364288001,"power":25419,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":187194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:30:22] local.INFO: GPS data processed {"connection_id":187194,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:30:22] local.INFO: Acknowledgment sent {"connection_id":187194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:31:03] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1cef308012d34c14006aa4440000a01182d..."} 
[2026-09-18 05:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1cef308012d34c14006aa4440000a01182d..."} 
[2026-09-18 05:31:03] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1cef308012d34c14006aa4440000a01182d..."} 
[2026-09-18 05:31:03] local.INFO: Packet analysis {"connection_id":187194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ce"} 
[2026-09-18 05:31:03] local.INFO: Extracted packet for processing {"connection_id":187194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ce"} 
[2026-09-18 05:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 05:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160441344001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 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-09-18 05:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789689525000,"timestamp_ms":1789689525000,"timestamp_seconds":1789689525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1cef308"} 
[2026-09-18 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-09-18 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-09-18 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":75,"data_length":795,"current_offset":136} 
[2026-09-18 05: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-09-18 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-09-18 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-09-18 05:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:31: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-09-18 05:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160441344001,"66":25419,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160441344001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:31:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160441344001,"power":25419,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":187194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:31:03] local.INFO: GPS data processed {"connection_id":187194,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:31:03] local.INFO: Acknowledgment sent {"connection_id":187194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:31:48] local.INFO: TCP Data received {"connection_id":185718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:31:48] local.INFO: Processing buffer {"connection_id":185718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:31:48] local.INFO: IMEI packet received {"connection_id":185718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":185718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:32:05] local.INFO: TCP Data received {"connection_id":185718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:32:05] local.INFO: Processing buffer {"connection_id":185718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:32:05] local.INFO: IMEI packet received {"connection_id":185718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":185718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:33:33] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:33:33] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:33:33] local.INFO: IMEI packet received {"connection_id":188502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":188502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:33:43] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:33:43] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:33:43] local.INFO: IMEI packet received {"connection_id":188502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":188502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:33:45] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1cef308012d34c14006aa4440000a01182d..."} 
[2026-09-18 05:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1cef308012d34c14006aa4440000a01182d..."} 
[2026-09-18 05:33:45] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1cef308012d34c14006aa4440000a01182d..."} 
[2026-09-18 05:33:45] local.INFO: Packet analysis {"connection_id":188502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ce"} 
[2026-09-18 05:33:45] local.INFO: Extracted packet for processing {"connection_id":188502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ce"} 
[2026-09-18 05:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160441344001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789689525000,"timestamp_ms":1789689525000,"timestamp_seconds":1789689525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1cef308"} 
[2026-09-18 05:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160441344001,"66":25419,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160441344001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:33:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160441344001,"power":25419,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":188502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:33:45] local.INFO: GPS data processed {"connection_id":188502,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:33:45] local.INFO: Acknowledgment sent {"connection_id":188502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:34:48] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:34:48] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:34:48] local.INFO: IMEI packet received {"connection_id":185719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":185719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:34:53] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:34:53] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:34:53] local.INFO: IMEI packet received {"connection_id":185719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":185719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:34:54] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:34:54] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:34:54] local.INFO: Packet analysis {"connection_id":185719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:34:54] local.INFO: Extracted packet for processing {"connection_id":185719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:34: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-09-18 05:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:34:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":185719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:34:54] local.INFO: GPS data processed {"connection_id":185719,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:34:54] local.INFO: Acknowledgment sent {"connection_id":185719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:35:18] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:35:18] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:35:18] local.INFO: IMEI packet received {"connection_id":185720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":185720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:35:24] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:35:24] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:35:24] local.INFO: IMEI packet received {"connection_id":185720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":185720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:35:25] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:35:25] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:35:25] local.INFO: Packet analysis {"connection_id":185720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:35:25] local.INFO: Extracted packet for processing {"connection_id":185720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:35:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":185720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:35:25] local.INFO: GPS data processed {"connection_id":185720,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:35:25] local.INFO: Acknowledgment sent {"connection_id":185720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:35:26] local.INFO: TCP Data received {"connection_id":185894,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:35:26] local.INFO: Processing buffer {"connection_id":185894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:35:26] local.INFO: IMEI packet received {"connection_id":185894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":185894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:35:56] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:35:56] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:35:56] local.INFO: Packet analysis {"connection_id":185720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:35:56] local.INFO: Extracted packet for processing {"connection_id":185720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:35:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":185720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:35:56] local.INFO: GPS data processed {"connection_id":185720,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:35:56] local.INFO: Acknowledgment sent {"connection_id":185720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:36:18] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:36:18] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:36:18] local.INFO: IMEI packet received {"connection_id":185721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":185721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:36:23] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:36:23] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:36:23] local.INFO: IMEI packet received {"connection_id":185721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":185721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:36:24] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:36:24] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:36:24] local.INFO: Packet analysis {"connection_id":185721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:36:24] local.INFO: Extracted packet for processing {"connection_id":185721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:36:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":185721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:36:24] local.INFO: GPS data processed {"connection_id":185721,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:36:24] local.INFO: Acknowledgment sent {"connection_id":185721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:36:28] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:36:28] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:36:28] local.INFO: Packet analysis {"connection_id":185721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:36:28] local.INFO: Extracted packet for processing {"connection_id":185721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:36:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:36: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-09-18 05: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-09-18 05:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:36:28] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:36:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":185721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:36:28] local.INFO: GPS data processed {"connection_id":185721,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:36:28] local.INFO: Acknowledgment sent {"connection_id":185721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:37:13] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:37:13] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:37:13] local.INFO: IMEI packet received {"connection_id":187196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:37:18] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:37:18] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:37:18] local.INFO: IMEI packet received {"connection_id":187196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":187196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:37:19] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:37:19] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:37:19] local.INFO: Packet analysis {"connection_id":187196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:37:19] local.INFO: Extracted packet for processing {"connection_id":187196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:37:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":187196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:37:19] local.INFO: GPS data processed {"connection_id":187196,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:37:19] local.INFO: Acknowledgment sent {"connection_id":187196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:37:50] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:37:50] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:37:50] local.INFO: Packet analysis {"connection_id":187196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:37:50] local.INFO: Extracted packet for processing {"connection_id":187196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:37:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:37:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:37:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":187196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:37:50] local.INFO: GPS data processed {"connection_id":187196,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:37:50] local.INFO: Acknowledgment sent {"connection_id":187196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:38:13] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:38:13] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:38:13] local.INFO: IMEI packet received {"connection_id":185722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":185722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:38:18] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:38:18] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:38:18] local.INFO: IMEI packet received {"connection_id":185722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":185722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:38:19] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:19] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:19] local.INFO: Packet analysis {"connection_id":185722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:38:19] local.INFO: Extracted packet for processing {"connection_id":185722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:38:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":185722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:38:19] local.INFO: GPS data processed {"connection_id":185722,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:38:19] local.INFO: Acknowledgment sent {"connection_id":185722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:38:23] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:23] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:23] local.INFO: Packet analysis {"connection_id":185722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:38:23] local.INFO: Extracted packet for processing {"connection_id":185722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:38:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":185722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:38:23] local.INFO: GPS data processed {"connection_id":185722,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:38:23] local.INFO: Acknowledgment sent {"connection_id":185722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:38:54] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:54] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:38:54] local.INFO: Packet analysis {"connection_id":185722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:38:54] local.INFO: Extracted packet for processing {"connection_id":185722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:38: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-09-18 05:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:38:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":185722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:38:54] local.INFO: GPS data processed {"connection_id":185722,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:38:54] local.INFO: Acknowledgment sent {"connection_id":185722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:39:13] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:39:13] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:39:13] local.INFO: IMEI packet received {"connection_id":187197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":187197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:39:18] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:39:18] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:39:18] local.INFO: IMEI packet received {"connection_id":187197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":187197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:39:19] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:39:19] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d38ad0012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:39:19] local.INFO: Packet analysis {"connection_id":187197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:39:19] local.INFO: Extracted packet for processing {"connection_id":187197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d3"} 
[2026-09-18 05:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789689826000,"timestamp_ms":1789689826000,"timestamp_seconds":1789689826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d38ad0"} 
[2026-09-18 05:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 05:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160518400001,"66":25343,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 05:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:39:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 05:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160518400001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":187197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:39:19] local.INFO: GPS data processed {"connection_id":187197,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:39:19] local.INFO: Acknowledgment sent {"connection_id":187197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:39:50] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:39:50] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:39:50] local.INFO: Packet analysis {"connection_id":187197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:39:50] local.INFO: Extracted packet for processing {"connection_id":187197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:39:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":187197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:39:50] local.INFO: GPS data processed {"connection_id":187197,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:39:50] local.INFO: Acknowledgment sent {"connection_id":187197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:40:13] local.INFO: TCP Data received {"connection_id":185895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:40:13] local.INFO: Processing buffer {"connection_id":185895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:40:13] local.INFO: IMEI packet received {"connection_id":185895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":185895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:40:18] local.INFO: TCP Data received {"connection_id":185895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:40:18] local.INFO: Processing buffer {"connection_id":185895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:40:18] local.INFO: IMEI packet received {"connection_id":185895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":185895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:40:19] local.INFO: TCP Data received {"connection_id":185895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:40:19] local.INFO: Processing buffer {"connection_id":185895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:40:19] local.INFO: Packet analysis {"connection_id":185895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:40:19] local.INFO: Extracted packet for processing {"connection_id":185895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":185895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:40:19] local.INFO: GPS data processed {"connection_id":185895,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:40:19] local.INFO: Acknowledgment sent {"connection_id":185895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:40:50] local.INFO: TCP Data received {"connection_id":185895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:40:50] local.INFO: Processing buffer {"connection_id":185895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:40:50] local.INFO: Packet analysis {"connection_id":185895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:40:50] local.INFO: Extracted packet for processing {"connection_id":185895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:40:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":185895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:40:50] local.INFO: GPS data processed {"connection_id":185895,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:40:50] local.INFO: Acknowledgment sent {"connection_id":185895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:41:01] local.INFO: TCP Data received {"connection_id":185723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:41:01] local.INFO: Processing buffer {"connection_id":185723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:41:01] local.INFO: IMEI packet received {"connection_id":185723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":185723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:41:13] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:41:13] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:41:13] local.INFO: IMEI packet received {"connection_id":188503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":188503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:41:18] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:41:18] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:41:18] local.INFO: IMEI packet received {"connection_id":188503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":188503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:41:19] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:41:19] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:41:19] local.INFO: Packet analysis {"connection_id":188503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:41:19] local.INFO: Extracted packet for processing {"connection_id":188503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":188503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:41:19] local.INFO: GPS data processed {"connection_id":188503,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:41:19] local.INFO: Acknowledgment sent {"connection_id":188503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:41:50] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:41:50] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:41:50] local.INFO: Packet analysis {"connection_id":188503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:41:50] local.INFO: Extracted packet for processing {"connection_id":188503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":188503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:41:50] local.INFO: GPS data processed {"connection_id":188503,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:41:50] local.INFO: Acknowledgment sent {"connection_id":188503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:42:13] local.INFO: TCP Data received {"connection_id":185724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:42:13] local.INFO: Processing buffer {"connection_id":185724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:42:13] local.INFO: IMEI packet received {"connection_id":185724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":185724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:42:22] local.INFO: TCP Data received {"connection_id":185724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:42:22] local.INFO: Processing buffer {"connection_id":185724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:42:22] local.INFO: IMEI packet received {"connection_id":185724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":185724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:42:23] local.INFO: TCP Data received {"connection_id":185724,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:42:23] local.INFO: Processing buffer {"connection_id":185724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:42:23] local.INFO: Packet analysis {"connection_id":185724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:42:23] local.INFO: Extracted packet for processing {"connection_id":185724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":185724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:42:23] local.INFO: GPS data processed {"connection_id":185724,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:42:23] local.INFO: Acknowledgment sent {"connection_id":185724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:42:55] local.INFO: TCP Data received {"connection_id":185724,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:42:55] local.INFO: Processing buffer {"connection_id":185724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:42:55] local.INFO: Packet analysis {"connection_id":185724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:42:55] local.INFO: Extracted packet for processing {"connection_id":185724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:42:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":185724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:42:55] local.INFO: GPS data processed {"connection_id":185724,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:42:55] local.INFO: Acknowledgment sent {"connection_id":185724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:43:13] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:43:13] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:43:13] local.INFO: IMEI packet received {"connection_id":187198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":187198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:43:18] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:43:18] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:43:18] local.INFO: IMEI packet received {"connection_id":187198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":187198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:43:19] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:43:19] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:43:19] local.INFO: Packet analysis {"connection_id":187198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:43:19] local.INFO: Extracted packet for processing {"connection_id":187198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":187198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:43:19] local.INFO: GPS data processed {"connection_id":187198,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:43:19] local.INFO: Acknowledgment sent {"connection_id":187198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:43:50] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:43:50] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:43:50] local.INFO: Packet analysis {"connection_id":187198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:43:50] local.INFO: Extracted packet for processing {"connection_id":187198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:43:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:43:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:43:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":187198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:43:50] local.INFO: GPS data processed {"connection_id":187198,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:43:50] local.INFO: Acknowledgment sent {"connection_id":187198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:44:18] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:44:18] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:44:18] local.INFO: IMEI packet received {"connection_id":185725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":185725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:44:23] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:44:23] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:44:23] local.INFO: IMEI packet received {"connection_id":185725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":185725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:44:24] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:44:24] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1d82298012d34c14006aa4440000a01182c..."} 
[2026-09-18 05:44:24] local.INFO: Packet analysis {"connection_id":185725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:44:24] local.INFO: Extracted packet for processing {"connection_id":185725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1d8"} 
[2026-09-18 05:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160595456001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789690127000,"timestamp_ms":1789690127000,"timestamp_seconds":1789690127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1d82298"} 
[2026-09-18 05:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 05:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160595456001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160595456001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160595456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":185725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:44:24] local.INFO: GPS data processed {"connection_id":185725,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:44:24] local.INFO: Acknowledgment sent {"connection_id":185725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:44:55] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:44:55] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:44:55] local.INFO: Packet analysis {"connection_id":185725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:44:55] local.INFO: Extracted packet for processing {"connection_id":185725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:44:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":185725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:44:55] local.INFO: GPS data processed {"connection_id":185725,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:44:55] local.INFO: Acknowledgment sent {"connection_id":185725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:45:13] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:45:13] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:45:13] local.INFO: IMEI packet received {"connection_id":187199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":187199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:45:18] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:45:18] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:45:18] local.INFO: IMEI packet received {"connection_id":187199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":187199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:45:19] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:45:19] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:45:19] local.INFO: Packet analysis {"connection_id":187199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:45:19] local.INFO: Extracted packet for processing {"connection_id":187199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":187199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:45:19] local.INFO: GPS data processed {"connection_id":187199,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:45:19] local.INFO: Acknowledgment sent {"connection_id":187199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:45:51] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:45:51] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:45:51] local.INFO: Packet analysis {"connection_id":187199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:45:51] local.INFO: Extracted packet for processing {"connection_id":187199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:45: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-09-18 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":187199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:45:51] local.INFO: GPS data processed {"connection_id":187199,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:45:51] local.INFO: Acknowledgment sent {"connection_id":187199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:46:13] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:46:13] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:46:13] local.INFO: IMEI packet received {"connection_id":185726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":185726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:46:20] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:46:20] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:46:20] local.INFO: IMEI packet received {"connection_id":185726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:46:21] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:46:21] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:46:21] local.INFO: Packet analysis {"connection_id":185726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:46:21] local.INFO: Extracted packet for processing {"connection_id":185726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:46:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":185726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:46:21] local.INFO: GPS data processed {"connection_id":185726,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:46:21] local.INFO: Acknowledgment sent {"connection_id":185726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:46:37] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:46:37] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:46:37] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:46:52] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:46:52] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:46:52] local.INFO: Packet analysis {"connection_id":185726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:46:52] local.INFO: Extracted packet for processing {"connection_id":185726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:46: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-09-18 05:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":185726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:46:52] local.INFO: GPS data processed {"connection_id":185726,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:46:52] local.INFO: Acknowledgment sent {"connection_id":185726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:47:18] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:47:18] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:47:18] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:47:23] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:47:23] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:47:23] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:47:24] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:47:24] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:47:24] local.INFO: Packet analysis {"connection_id":188505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:47:24] local.INFO: Extracted packet for processing {"connection_id":188505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":188505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:47:24] local.INFO: GPS data processed {"connection_id":188505,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:47:24] local.INFO: Acknowledgment sent {"connection_id":188505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:47:29] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:47:29] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:47:29] local.INFO: Packet analysis {"connection_id":188505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:47:29] local.INFO: Extracted packet for processing {"connection_id":188505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:47:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:47: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-09-18 05:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:47:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:47:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":188505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:47:29] local.INFO: GPS data processed {"connection_id":188505,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:47:29] local.INFO: Acknowledgment sent {"connection_id":188505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:48:13] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:48:13] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:48:13] local.INFO: IMEI packet received {"connection_id":187200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":187200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:48:18] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:48:18] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:48:18] local.INFO: IMEI packet received {"connection_id":187200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":187200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:48:20] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:48:20] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:48:20] local.INFO: Packet analysis {"connection_id":187200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:48:20] local.INFO: Extracted packet for processing {"connection_id":187200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":187200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:48:20] local.INFO: GPS data processed {"connection_id":187200,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:48:20] local.INFO: Acknowledgment sent {"connection_id":187200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:48:51] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:48:51] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:48:51] local.INFO: Packet analysis {"connection_id":187200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:48:51] local.INFO: Extracted packet for processing {"connection_id":187200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:48: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-09-18 05:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":187200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:48:51] local.INFO: GPS data processed {"connection_id":187200,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:48:51] local.INFO: Acknowledgment sent {"connection_id":187200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:49:13] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:49:13] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:49:13] local.INFO: IMEI packet received {"connection_id":188506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":188506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:49:18] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:49:18] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:49:18] local.INFO: IMEI packet received {"connection_id":188506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":188506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:49:19] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:49:19] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1dcba60012d34c14006aa4440000a01182b..."} 
[2026-09-18 05:49:19] local.INFO: Packet analysis {"connection_id":188506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:49:19] local.INFO: Extracted packet for processing {"connection_id":188506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1dc"} 
[2026-09-18 05:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160672512001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690428000,"timestamp_ms":1789690428000,"timestamp_seconds":1789690428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1dcba60"} 
[2026-09-18 05:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 05:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160672512001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160672512001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160672512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":188506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:49:19] local.INFO: GPS data processed {"connection_id":188506,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:49:19] local.INFO: Acknowledgment sent {"connection_id":188506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:49:50] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:49:50] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:49:50] local.INFO: Packet analysis {"connection_id":188506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:49:50] local.INFO: Extracted packet for processing {"connection_id":188506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:49:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:49:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:49:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":188506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:49:50] local.INFO: GPS data processed {"connection_id":188506,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:49:50] local.INFO: Acknowledgment sent {"connection_id":188506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:50:13] local.INFO: TCP Data received {"connection_id":185727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:50:13] local.INFO: Processing buffer {"connection_id":185727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:50:13] local.INFO: IMEI packet received {"connection_id":185727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":185727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:50:18] local.INFO: TCP Data received {"connection_id":185727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:50:18] local.INFO: Processing buffer {"connection_id":185727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:50:18] local.INFO: IMEI packet received {"connection_id":185727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":185727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:50:19] local.INFO: TCP Data received {"connection_id":185727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:50:19] local.INFO: Processing buffer {"connection_id":185727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:50:19] local.INFO: Packet analysis {"connection_id":185727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:50:19] local.INFO: Extracted packet for processing {"connection_id":185727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:50:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":185727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:50:19] local.INFO: GPS data processed {"connection_id":185727,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:50:19] local.INFO: Acknowledgment sent {"connection_id":185727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:50:50] local.INFO: TCP Data received {"connection_id":185727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:50:50] local.INFO: Processing buffer {"connection_id":185727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:50:50] local.INFO: Packet analysis {"connection_id":185727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:50:50] local.INFO: Extracted packet for processing {"connection_id":185727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:50:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":185727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:50:50] local.INFO: GPS data processed {"connection_id":185727,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:50:50] local.INFO: Acknowledgment sent {"connection_id":185727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:51:13] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:51:13] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:51:13] local.INFO: IMEI packet received {"connection_id":188507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":188507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:51:18] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:51:18] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:51:18] local.INFO: IMEI packet received {"connection_id":188507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":188507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:51:19] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:51:19] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:51:19] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:51:19] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:51:19] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:51:19] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:51:50] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:51:50] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:51:50] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:51:50] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:51:50] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:51:50] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:52:13] local.INFO: TCP Data received {"connection_id":185728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:52:13] local.INFO: Processing buffer {"connection_id":185728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:52:13] local.INFO: IMEI packet received {"connection_id":185728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":185728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:52:13] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:52:13] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:52:13] local.INFO: IMEI packet received {"connection_id":185896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":185896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:52:18] local.INFO: TCP Data received {"connection_id":185728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:52:18] local.INFO: Processing buffer {"connection_id":185728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:52:18] local.INFO: IMEI packet received {"connection_id":185728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":185728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:52:19] local.INFO: TCP Data received {"connection_id":185728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:52:19] local.INFO: Processing buffer {"connection_id":185728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:52:19] local.INFO: Packet analysis {"connection_id":185728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:52:19] local.INFO: Extracted packet for processing {"connection_id":185728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":185728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:52:19] local.INFO: GPS data processed {"connection_id":185728,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:52:19] local.INFO: Acknowledgment sent {"connection_id":185728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:52:50] local.INFO: TCP Data received {"connection_id":185728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:52:50] local.INFO: Processing buffer {"connection_id":185728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:52:50] local.INFO: Packet analysis {"connection_id":185728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:52:50] local.INFO: Extracted packet for processing {"connection_id":185728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:52:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:52:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":185728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:52:50] local.INFO: GPS data processed {"connection_id":185728,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:52:50] local.INFO: Acknowledgment sent {"connection_id":185728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:53:13] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:53:13] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:53:13] local.INFO: IMEI packet received {"connection_id":188509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:53:18] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:53:18] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:53:18] local.INFO: IMEI packet received {"connection_id":188509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:53:19] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:53:19] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:53:19] local.INFO: Packet analysis {"connection_id":188509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:53:19] local.INFO: Extracted packet for processing {"connection_id":188509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:53:19] local.INFO: GPS data processed {"connection_id":188509,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:53:19] local.INFO: Acknowledgment sent {"connection_id":188509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:53:51] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:53:51] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:53:51] local.INFO: Packet analysis {"connection_id":188509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:53:51] local.INFO: Extracted packet for processing {"connection_id":188509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:53: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-09-18 05:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":188509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:53:51] local.INFO: GPS data processed {"connection_id":188509,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:53:51] local.INFO: Acknowledgment sent {"connection_id":188509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:54:13] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:54:13] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:54:13] local.INFO: IMEI packet received {"connection_id":185729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":185729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:54:22] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:54:22] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:54:22] local.INFO: IMEI packet received {"connection_id":185729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":185729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:54:23] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:54:23] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e15228012d34c14006aa4440000a01182a..."} 
[2026-09-18 05:54:23] local.INFO: Packet analysis {"connection_id":185729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:54:23] local.INFO: Extracted packet for processing {"connection_id":185729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e1"} 
[2026-09-18 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160749568001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789690729000,"timestamp_ms":1789690729000,"timestamp_seconds":1789690729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e15228"} 
[2026-09-18 05:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160749568001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160749568001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160749568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":185729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:54:24] local.INFO: GPS data processed {"connection_id":185729,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:54:24] local.INFO: Acknowledgment sent {"connection_id":185729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:54:54] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:54:54] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:54:54] local.INFO: Packet analysis {"connection_id":185729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:54:54] local.INFO: Extracted packet for processing {"connection_id":185729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:54: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-09-18 05:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":185729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:54:54] local.INFO: GPS data processed {"connection_id":185729,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:54:54] local.INFO: Acknowledgment sent {"connection_id":185729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:55:13] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:55:13] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:55:13] local.INFO: IMEI packet received {"connection_id":187201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":187201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:55:18] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:55:18] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:55:18] local.INFO: IMEI packet received {"connection_id":187201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":187201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:55:19] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:19] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:19] local.INFO: Packet analysis {"connection_id":187201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:55:19] local.INFO: Extracted packet for processing {"connection_id":187201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:55:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":187201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:55:19] local.INFO: GPS data processed {"connection_id":187201,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:55:19] local.INFO: Acknowledgment sent {"connection_id":187201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:55:23] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:23] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:23] local.INFO: Packet analysis {"connection_id":187201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:55:23] local.INFO: Extracted packet for processing {"connection_id":187201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":187201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:55:23] local.INFO: GPS data processed {"connection_id":187201,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:55:23] local.INFO: Acknowledgment sent {"connection_id":187201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:55:54] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:54] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:55:54] local.INFO: Packet analysis {"connection_id":187201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:55:54] local.INFO: Extracted packet for processing {"connection_id":187201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:55: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-09-18 05:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":187201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:55:54] local.INFO: GPS data processed {"connection_id":187201,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:55:54] local.INFO: Acknowledgment sent {"connection_id":187201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:56:13] local.INFO: TCP Data received {"connection_id":185730,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:56:13] local.INFO: Processing buffer {"connection_id":185730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:56:13] local.INFO: IMEI packet received {"connection_id":185730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":185730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:56:18] local.INFO: TCP Data received {"connection_id":185730,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:56:18] local.INFO: Processing buffer {"connection_id":185730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:56:18] local.INFO: IMEI packet received {"connection_id":185730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":185730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:56:19] local.INFO: TCP Data received {"connection_id":185730,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:56:19] local.INFO: Processing buffer {"connection_id":185730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:56:19] local.INFO: Packet analysis {"connection_id":185730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:56:19] local.INFO: Extracted packet for processing {"connection_id":185730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":185730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:56:19] local.INFO: GPS data processed {"connection_id":185730,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:56:19] local.INFO: Acknowledgment sent {"connection_id":185730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:56:50] local.INFO: TCP Data received {"connection_id":185730,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:56:50] local.INFO: Processing buffer {"connection_id":185730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:56:50] local.INFO: Packet analysis {"connection_id":185730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:56:50] local.INFO: Extracted packet for processing {"connection_id":185730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":185730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:56:50] local.INFO: GPS data processed {"connection_id":185730,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:56:50] local.INFO: Acknowledgment sent {"connection_id":185730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:57:13] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:57:13] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:57:13] local.INFO: IMEI packet received {"connection_id":187202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":187202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:57:18] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:57:18] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:57:18] local.INFO: IMEI packet received {"connection_id":187202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":187202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:57:19] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:57:19] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:57:19] local.INFO: Packet analysis {"connection_id":187202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:57:19] local.INFO: Extracted packet for processing {"connection_id":187202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":187202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:57:19] local.INFO: GPS data processed {"connection_id":187202,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:57:19] local.INFO: Acknowledgment sent {"connection_id":187202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:57:47] local.INFO: TCP Data received {"connection_id":188508,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:57:47] local.INFO: Processing buffer {"connection_id":188508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:57:47] local.INFO: IMEI packet received {"connection_id":188508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":188508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:57:50] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:57:50] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:57:50] local.INFO: Packet analysis {"connection_id":187202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:57:50] local.INFO: Extracted packet for processing {"connection_id":187202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":187202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:57:50] local.INFO: GPS data processed {"connection_id":187202,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:57:50] local.INFO: Acknowledgment sent {"connection_id":187202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:58:11] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:58:11] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:58:11] local.INFO: IMEI packet received {"connection_id":188511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":188511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:58:13] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:58:13] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:58:13] local.INFO: IMEI packet received {"connection_id":188510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":188510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:58:16] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:58:16] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:58:16] local.INFO: IMEI packet received {"connection_id":188511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-18 05:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":188511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:58:17] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1c1c020012d34c60006aa49400018000009..."} 
[2026-09-18 05:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1c1c020012d34c60006aa49400018000009..."} 
[2026-09-18 05:58:17] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1c1c020012d34c60006aa49400018000009..."} 
[2026-09-18 05:58:17] local.INFO: Packet analysis {"connection_id":188511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:58:17] local.INFO: Extracted packet for processing {"connection_id":188511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1c1"} 
[2026-09-18 05:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111823168,"longitude_deg":75.843328,"latitude_deg":11.1823168,"altitude":24,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-18 05:58: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-09-18 05:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160295936001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987693568,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789688660000,"timestamp_ms":1789688660000,"timestamp_seconds":1789688660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1c1c020"} 
[2026-09-18 05:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 05:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 05:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-18 05:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-18 05:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-18 05:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-18 05:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160295936001,"66":28256,"97":206,"81":23296,"24":0,"16":0,"45":3802726963987693568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-18 05:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-18 05:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160295936001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:58:17] local.INFO: Odometer value is zero {"io_id":16,"note":"May indicate new vehicle or odometer reset"} 
[2026-09-18 05:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987693568,"description":"Unknown IO ID 45"} 
[2026-09-18 05:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160295936001,"power":28256,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":0,"unknown_45":3802726963987693568}} 
[2026-09-18 05:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":188511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:58:17] local.INFO: GPS data processed {"connection_id":188511,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:58:17] local.INFO: Acknowledgment sent {"connection_id":188511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:58:18] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:58:18] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:58:18] local.INFO: IMEI packet received {"connection_id":188510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:58:19] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:58:19] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:58:19] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:58:19] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:58:19] local.INFO: GPS data processed {"connection_id":188510,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:58:19] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:58:51] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:58:51] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:58:51] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:58:51] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:58: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-09-18 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:58:51] local.INFO: GPS data processed {"connection_id":188510,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:58:51] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:59:01] local.INFO: TCP Data received {"connection_id":188512,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:59:01] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 05:59:01] local.INFO: IMEI packet received {"connection_id":188512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 05:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":188512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:59:13] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:59:13] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:59:13] local.INFO: IMEI packet received {"connection_id":187203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 05:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 05:59:19] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:59:19] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 05:59:19] local.INFO: IMEI packet received {"connection_id":187203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 05:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":187203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 05:59:20] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:59:20] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1e5e9f0012d34c14006aa4440000a011829..."} 
[2026-09-18 05:59:20] local.INFO: Packet analysis {"connection_id":187203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:59:20] local.INFO: Extracted packet for processing {"connection_id":187203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1e5"} 
[2026-09-18 05:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 05:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160826624001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789691030000,"timestamp_ms":1789691030000,"timestamp_seconds":1789691030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1e5e9f0"} 
[2026-09-18 05:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 05:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 05:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 05:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160826624001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160826624001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160826624001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":187203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:59:20] local.INFO: GPS data processed {"connection_id":187203,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:59:20] local.INFO: Acknowledgment sent {"connection_id":187203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 05:59:51] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 05:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 05:59:51] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 05:59:51] local.INFO: Packet analysis {"connection_id":187203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 05:59:51] local.INFO: Extracted packet for processing {"connection_id":187203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 05:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 05: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-09-18 05:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 05:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 05:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 05:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 05:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 05:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 05:59: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-09-18 05:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 05:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 05: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-09-18 05:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 05:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 05:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 05:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 05:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 05:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 05:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 05:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 05:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 05:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 05:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 05:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 05:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 05:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 05:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 05:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 05:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":187203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 05:59:51] local.INFO: GPS data processed {"connection_id":187203,"processed":1,"errors":0,"total":1} 
[2026-09-18 05:59:51] local.INFO: Acknowledgment sent {"connection_id":187203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:00:13] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:00:13] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:00:13] local.INFO: IMEI packet received {"connection_id":187204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":187204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:00:18] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:00:18] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:00:18] local.INFO: IMEI packet received {"connection_id":187204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":187204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:00:19] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:00:19] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:00:19] local.INFO: Packet analysis {"connection_id":187204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:00:19] local.INFO: Extracted packet for processing {"connection_id":187204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":187204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:00:19] local.INFO: GPS data processed {"connection_id":187204,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:00:19] local.INFO: Acknowledgment sent {"connection_id":187204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:00:50] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:00:50] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:00:50] local.INFO: Packet analysis {"connection_id":187204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:00:50] local.INFO: Extracted packet for processing {"connection_id":187204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:00:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":187204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:00:50] local.INFO: GPS data processed {"connection_id":187204,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:00:50] local.INFO: Acknowledgment sent {"connection_id":187204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:01:13] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:01:13] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:01:13] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:01:18] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:01:18] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:01:18] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:01:19] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:01:19] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:01:19] local.INFO: Packet analysis {"connection_id":188513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:01:19] local.INFO: Extracted packet for processing {"connection_id":188513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":188513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:01:19] local.INFO: GPS data processed {"connection_id":188513,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:01:19] local.INFO: Acknowledgment sent {"connection_id":188513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:01:51] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:01:51] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:01:51] local.INFO: Packet analysis {"connection_id":188513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:01:51] local.INFO: Extracted packet for processing {"connection_id":188513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:01: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-09-18 06:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":188513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:01:51] local.INFO: GPS data processed {"connection_id":188513,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:01:51] local.INFO: Acknowledgment sent {"connection_id":188513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:02:13] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:02:13] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:02:13] local.INFO: IMEI packet received {"connection_id":188514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":188514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:02:18] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:02:18] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:02:18] local.INFO: IMEI packet received {"connection_id":188514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":188514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:02:19] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:02:19] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:02:19] local.INFO: Packet analysis {"connection_id":188514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:02:19] local.INFO: Extracted packet for processing {"connection_id":188514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":188514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:02:19] local.INFO: GPS data processed {"connection_id":188514,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:02:19] local.INFO: Acknowledgment sent {"connection_id":188514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:02:50] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:02:50] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:02:50] local.INFO: Packet analysis {"connection_id":188514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:02:50] local.INFO: Extracted packet for processing {"connection_id":188514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:02:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":188514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:02:50] local.INFO: GPS data processed {"connection_id":188514,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:02:50] local.INFO: Acknowledgment sent {"connection_id":188514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:03:13] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:03:13] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:03:13] local.INFO: IMEI packet received {"connection_id":188515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":188515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:03:18] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:03:18] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:03:18] local.INFO: IMEI packet received {"connection_id":188515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":188515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:03:19] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:03:19] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:03:19] local.INFO: Packet analysis {"connection_id":188515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:03:19] local.INFO: Extracted packet for processing {"connection_id":188515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":188515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:03:19] local.INFO: GPS data processed {"connection_id":188515,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:03:19] local.INFO: Acknowledgment sent {"connection_id":188515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:03:50] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:03:50] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:03:50] local.INFO: Packet analysis {"connection_id":188515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:03:50] local.INFO: Extracted packet for processing {"connection_id":188515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":188515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:03:50] local.INFO: GPS data processed {"connection_id":188515,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:03:50] local.INFO: Acknowledgment sent {"connection_id":188515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:04:18] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:04:18] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:04:18] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:04:24] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:04:24] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:04:24] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:04:25] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:04:25] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:04:25] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:04:25] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:04:25] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:04:25] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:04:29] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:04:29] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ea81b8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:04:29] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:04:29] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ea"} 
[2026-09-18 06:04:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06: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-09-18 06:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789691331000,"timestamp_ms":1789691331000,"timestamp_seconds":1789691331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ea81b8"} 
[2026-09-18 06:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 06:04: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-09-18 06: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-09-18 06:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160903680001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:04:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:04:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160903680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:04:29] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:04:29] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:04:45] local.INFO: TCP Data received {"connection_id":185731,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:04:45] local.INFO: Processing buffer {"connection_id":185731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:04:45] local.INFO: IMEI packet received {"connection_id":185731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:04:45] local.ERROR: TCP Connection error {"connection_id":185731,"code":2,"message":"client closed"} 
[2026-09-18 06:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":185731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:05:13] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:05:13] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:05:13] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:05:18] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:05:18] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:05:18] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:05:19] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:05:19] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:05:19] local.INFO: Packet analysis {"connection_id":188517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:05:19] local.INFO: Extracted packet for processing {"connection_id":188517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":188517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:05:19] local.INFO: GPS data processed {"connection_id":188517,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:05:19] local.INFO: Acknowledgment sent {"connection_id":188517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:05:50] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:05:50] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:05:50] local.INFO: Packet analysis {"connection_id":188517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:05:50] local.INFO: Extracted packet for processing {"connection_id":188517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":188517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:05:50] local.INFO: GPS data processed {"connection_id":188517,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:05:50] local.INFO: Acknowledgment sent {"connection_id":188517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:06:13] local.INFO: TCP Data received {"connection_id":185897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:06:13] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:06:13] local.INFO: IMEI packet received {"connection_id":185897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":185897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:06:18] local.INFO: TCP Data received {"connection_id":185897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:06:18] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:06:18] local.INFO: IMEI packet received {"connection_id":185897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":185897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:06:19] local.INFO: TCP Data received {"connection_id":185897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:06:19] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:06:19] local.INFO: Packet analysis {"connection_id":185897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:06:19] local.INFO: Extracted packet for processing {"connection_id":185897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":185897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:06:19] local.INFO: GPS data processed {"connection_id":185897,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:06:19] local.INFO: Acknowledgment sent {"connection_id":185897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:06:50] local.INFO: TCP Data received {"connection_id":185897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:06:50] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:06:50] local.INFO: Packet analysis {"connection_id":185897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:06:50] local.INFO: Extracted packet for processing {"connection_id":185897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":185897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:06:50] local.INFO: GPS data processed {"connection_id":185897,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:06:50] local.INFO: Acknowledgment sent {"connection_id":185897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:07:13] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:07:13] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:07:13] local.INFO: IMEI packet received {"connection_id":187205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":187205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:07:18] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:07:18] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:07:18] local.INFO: IMEI packet received {"connection_id":187205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":187205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:07:19] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:07:19] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:07:19] local.INFO: Packet analysis {"connection_id":187205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:07:19] local.INFO: Extracted packet for processing {"connection_id":187205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":187205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:07:19] local.INFO: GPS data processed {"connection_id":187205,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:07:19] local.INFO: Acknowledgment sent {"connection_id":187205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:07:51] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:07:51] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:07:51] local.INFO: Packet analysis {"connection_id":187205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:07:51] local.INFO: Extracted packet for processing {"connection_id":187205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":187205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:07:51] local.INFO: GPS data processed {"connection_id":187205,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:07:51] local.INFO: Acknowledgment sent {"connection_id":187205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:08:13] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:08:13] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:08:13] local.INFO: IMEI packet received {"connection_id":185732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":185732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:08:18] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:08:18] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:08:18] local.INFO: IMEI packet received {"connection_id":185732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":185732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:08:19] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:08:19] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:08:19] local.INFO: Packet analysis {"connection_id":185732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:08:19] local.INFO: Extracted packet for processing {"connection_id":185732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":185732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:08:19] local.INFO: GPS data processed {"connection_id":185732,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:08:19] local.INFO: Acknowledgment sent {"connection_id":185732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:08:49] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:08:49] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:08:49] local.INFO: Packet analysis {"connection_id":185732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:08:49] local.INFO: Extracted packet for processing {"connection_id":185732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":185732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:08:49] local.INFO: GPS data processed {"connection_id":185732,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:08:49] local.INFO: Acknowledgment sent {"connection_id":185732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:09:13] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:09:13] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:09:13] local.INFO: IMEI packet received {"connection_id":185898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":185898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:09:18] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:09:18] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:09:18] local.INFO: IMEI packet received {"connection_id":185898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":185898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:09:19] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:09:19] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1ef1980012d34c14006aa4440000a011824..."} 
[2026-09-18 06:09:19] local.INFO: Packet analysis {"connection_id":185898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:09:19] local.INFO: Extracted packet for processing {"connection_id":185898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1ef"} 
[2026-09-18 06:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458160980736001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691632000,"timestamp_ms":1789691632000,"timestamp_seconds":1789691632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1ef1980"} 
[2026-09-18 06:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458160980736001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458160980736001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458160980736001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":185898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:09:19] local.INFO: GPS data processed {"connection_id":185898,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:09:19] local.INFO: Acknowledgment sent {"connection_id":185898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:09:50] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:09:50] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:09:50] local.INFO: Packet analysis {"connection_id":185898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:09:50] local.INFO: Extracted packet for processing {"connection_id":185898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":185898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:09:50] local.INFO: GPS data processed {"connection_id":185898,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:09:50] local.INFO: Acknowledgment sent {"connection_id":185898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:10:11] local.INFO: TCP Data received {"connection_id":187206,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:10:11] local.INFO: Processing buffer {"connection_id":187206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:10:11] local.INFO: IMEI packet received {"connection_id":187206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":187206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:10:13] local.INFO: TCP Data received {"connection_id":188518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:10:13] local.INFO: Processing buffer {"connection_id":188518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:10:13] local.INFO: IMEI packet received {"connection_id":188518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":188518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:10:18] local.INFO: TCP Data received {"connection_id":188518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:10:18] local.INFO: Processing buffer {"connection_id":188518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:10:18] local.INFO: IMEI packet received {"connection_id":188518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":188518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:10:19] local.INFO: TCP Data received {"connection_id":188518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:10:19] local.INFO: Processing buffer {"connection_id":188518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:10:19] local.INFO: Packet analysis {"connection_id":188518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:10:19] local.INFO: Extracted packet for processing {"connection_id":188518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":188518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:10:19] local.INFO: GPS data processed {"connection_id":188518,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:10:19] local.INFO: Acknowledgment sent {"connection_id":188518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:10:51] local.INFO: TCP Data received {"connection_id":188518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:10:51] local.INFO: Processing buffer {"connection_id":188518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:10:51] local.INFO: Packet analysis {"connection_id":188518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:10:51] local.INFO: Extracted packet for processing {"connection_id":188518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:10: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-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:10:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":188518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:10:51] local.INFO: GPS data processed {"connection_id":188518,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:10:51] local.INFO: Acknowledgment sent {"connection_id":188518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:11:16] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:11:16] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:11:16] local.INFO: IMEI packet received {"connection_id":185733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":185733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:11:18] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:11:18] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:11:18] local.INFO: IMEI packet received {"connection_id":185733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":185733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:11:19] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:19] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:19] local.INFO: Packet analysis {"connection_id":185733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:11:19] local.INFO: Extracted packet for processing {"connection_id":185733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":185733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:11:19] local.INFO: GPS data processed {"connection_id":185733,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:11:19] local.INFO: Acknowledgment sent {"connection_id":185733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:11:24] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:24] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:24] local.INFO: Packet analysis {"connection_id":185733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:11:24] local.INFO: Extracted packet for processing {"connection_id":185733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":185733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:11:24] local.INFO: GPS data processed {"connection_id":185733,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:11:24] local.INFO: Acknowledgment sent {"connection_id":185733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:11:59] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:59] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:11:59] local.INFO: Packet analysis {"connection_id":185733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:11:59] local.INFO: Extracted packet for processing {"connection_id":185733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:11: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-09-18 06:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":185733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:11:59] local.INFO: GPS data processed {"connection_id":185733,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:11:59] local.INFO: Acknowledgment sent {"connection_id":185733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:12:13] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:12:13] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:12:13] local.INFO: IMEI packet received {"connection_id":185899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":185899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:12:18] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:12:18] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:12:18] local.INFO: IMEI packet received {"connection_id":185899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":185899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:12:19] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:12:19] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:12:19] local.INFO: Packet analysis {"connection_id":185899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:12:19] local.INFO: Extracted packet for processing {"connection_id":185899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":185899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:12:19] local.INFO: GPS data processed {"connection_id":185899,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:12:19] local.INFO: Acknowledgment sent {"connection_id":185899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:12:50] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:12:50] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:12:50] local.INFO: Packet analysis {"connection_id":185899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:12:50] local.INFO: Extracted packet for processing {"connection_id":185899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":185899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:12:50] local.INFO: GPS data processed {"connection_id":185899,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:12:50] local.INFO: Acknowledgment sent {"connection_id":185899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:13:13] local.INFO: TCP Data received {"connection_id":185734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:13:13] local.INFO: Processing buffer {"connection_id":185734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:13:13] local.INFO: IMEI packet received {"connection_id":185734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":185734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:13:18] local.INFO: TCP Data received {"connection_id":185734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:13:18] local.INFO: Processing buffer {"connection_id":185734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:13:18] local.INFO: IMEI packet received {"connection_id":185734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":185734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:13:19] local.INFO: TCP Data received {"connection_id":185734,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:13:19] local.INFO: Processing buffer {"connection_id":185734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:13:19] local.INFO: Packet analysis {"connection_id":185734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:13:19] local.INFO: Extracted packet for processing {"connection_id":185734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":185734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:13:19] local.INFO: GPS data processed {"connection_id":185734,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:13:19] local.INFO: Acknowledgment sent {"connection_id":185734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:13:50] local.INFO: TCP Data received {"connection_id":185734,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:13:50] local.INFO: Processing buffer {"connection_id":185734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:13:50] local.INFO: Packet analysis {"connection_id":185734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:13:50] local.INFO: Extracted packet for processing {"connection_id":185734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":185734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:13:50] local.INFO: GPS data processed {"connection_id":185734,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:13:50] local.INFO: Acknowledgment sent {"connection_id":185734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:14:18] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:14:18] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:14:18] local.INFO: IMEI packet received {"connection_id":185901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":185901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:14:24] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:14:24] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:14:24] local.INFO: IMEI packet received {"connection_id":185901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":185901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:14:25] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:14:25] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:14:25] local.INFO: Packet analysis {"connection_id":185901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:14:25] local.INFO: Extracted packet for processing {"connection_id":185901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":185901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:14:25] local.INFO: GPS data processed {"connection_id":185901,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:14:25] local.INFO: Acknowledgment sent {"connection_id":185901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:14:29] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:14:29] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f3b148012d34c14006aa4440000a011822..."} 
[2026-09-18 06:14:29] local.INFO: Packet analysis {"connection_id":185901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:14:29] local.INFO: Extracted packet for processing {"connection_id":185901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f3"} 
[2026-09-18 06:14:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161057792001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:14: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-09-18 06:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789691933000,"timestamp_ms":1789691933000,"timestamp_seconds":1789691933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f3b148"} 
[2026-09-18 06:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:14: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-09-18 06:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161057792001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161057792001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:14:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:14:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161057792001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":185901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:14:29] local.INFO: GPS data processed {"connection_id":185901,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:14:29] local.INFO: Acknowledgment sent {"connection_id":185901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:15:24] local.INFO: TCP Data received {"connection_id":188519,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:15:24] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:15:24] local.INFO: IMEI packet received {"connection_id":188519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":188519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:15:29] local.INFO: TCP Data received {"connection_id":188519,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:15:29] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:15:29] local.INFO: IMEI packet received {"connection_id":188519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":188519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:15:31] local.INFO: TCP Data received {"connection_id":188519,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:15:31] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:15:31] local.INFO: Packet analysis {"connection_id":188519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:15:31] local.INFO: Extracted packet for processing {"connection_id":188519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":188519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:15:31] local.INFO: GPS data processed {"connection_id":188519,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:15:31] local.INFO: Acknowledgment sent {"connection_id":188519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:15:34] local.INFO: TCP Data received {"connection_id":185900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:15:34] local.INFO: Processing buffer {"connection_id":185900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:15:34] local.INFO: IMEI packet received {"connection_id":185900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":185900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:16:13] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:16:13] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:16:13] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:16:18] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:16:18] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:16:18] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:16:19] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:16:19] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:16:19] local.INFO: Packet analysis {"connection_id":188520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:16:19] local.INFO: Extracted packet for processing {"connection_id":188520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:16:19] local.INFO: GPS data processed {"connection_id":188520,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:16:19] local.INFO: Acknowledgment sent {"connection_id":188520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:16:50] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:16:50] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:16:50] local.INFO: Packet analysis {"connection_id":188520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:16:50] local.INFO: Extracted packet for processing {"connection_id":188520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":188520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:16:50] local.INFO: GPS data processed {"connection_id":188520,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:16:50] local.INFO: Acknowledgment sent {"connection_id":188520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:17:13] local.INFO: TCP Data received {"connection_id":185735,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:17:13] local.INFO: Processing buffer {"connection_id":185735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:17:13] local.INFO: IMEI packet received {"connection_id":185735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":185735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:17:18] local.INFO: TCP Data received {"connection_id":185735,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:17:18] local.INFO: Processing buffer {"connection_id":185735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:17:18] local.INFO: IMEI packet received {"connection_id":185735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":185735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:17:19] local.INFO: TCP Data received {"connection_id":185735,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:17:19] local.INFO: Processing buffer {"connection_id":185735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:17:19] local.INFO: Packet analysis {"connection_id":185735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:17:19] local.INFO: Extracted packet for processing {"connection_id":185735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":185735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:17:19] local.INFO: GPS data processed {"connection_id":185735,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:17:19] local.INFO: Acknowledgment sent {"connection_id":185735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:17:50] local.INFO: TCP Data received {"connection_id":185735,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:17:50] local.INFO: Processing buffer {"connection_id":185735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:17:50] local.INFO: Packet analysis {"connection_id":185735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:17:50] local.INFO: Extracted packet for processing {"connection_id":185735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:17:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":185735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:17:50] local.INFO: GPS data processed {"connection_id":185735,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:17:50] local.INFO: Acknowledgment sent {"connection_id":185735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:18:13] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:18:13] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:18:13] local.INFO: IMEI packet received {"connection_id":185902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":185902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:18:18] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:18:18] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:18:18] local.INFO: IMEI packet received {"connection_id":185902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":185902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:18:19] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:18:19] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:18:19] local.INFO: Packet analysis {"connection_id":185902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:18:19] local.INFO: Extracted packet for processing {"connection_id":185902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":185902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:18:19] local.INFO: GPS data processed {"connection_id":185902,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:18:19] local.INFO: Acknowledgment sent {"connection_id":185902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:18:51] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:18:51] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:18:51] local.INFO: Packet analysis {"connection_id":185902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:18:51] local.INFO: Extracted packet for processing {"connection_id":185902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":185902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:18:51] local.INFO: GPS data processed {"connection_id":185902,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:18:51] local.INFO: Acknowledgment sent {"connection_id":185902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:19:18] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:19:18] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:19:18] local.INFO: IMEI packet received {"connection_id":185737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":185737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:19:23] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:19:23] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:19:23] local.INFO: IMEI packet received {"connection_id":185737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":185737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:19:24] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:19:24] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:19:24] local.INFO: Packet analysis {"connection_id":185737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:19:24] local.INFO: Extracted packet for processing {"connection_id":185737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":185737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:19:24] local.INFO: GPS data processed {"connection_id":185737,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:19:24] local.INFO: Acknowledgment sent {"connection_id":185737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:19:29] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:19:29] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1f84910012d34c14006aa4440000a011823..."} 
[2026-09-18 06:19:29] local.INFO: Packet analysis {"connection_id":185737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:19:29] local.INFO: Extracted packet for processing {"connection_id":185737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1f8"} 
[2026-09-18 06:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161134848001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:19: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-09-18 06:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789692234000,"timestamp_ms":1789692234000,"timestamp_seconds":1789692234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1f84910"} 
[2026-09-18 06:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161134848001,"66":25397,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161134848001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:19:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161134848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":185737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:19:29] local.INFO: GPS data processed {"connection_id":185737,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:19:29] local.INFO: Acknowledgment sent {"connection_id":185737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:20:13] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:20:13] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:20:13] local.INFO: IMEI packet received {"connection_id":185903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":185903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:20:18] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:20:18] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:20:18] local.INFO: IMEI packet received {"connection_id":185903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":185903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:20:19] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:20:19] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:20:19] local.INFO: Packet analysis {"connection_id":185903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:20:19] local.INFO: Extracted packet for processing {"connection_id":185903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:20:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":185903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:20:19] local.INFO: GPS data processed {"connection_id":185903,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:20:19] local.INFO: Acknowledgment sent {"connection_id":185903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:20:50] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:20:50] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:20:50] local.INFO: Packet analysis {"connection_id":185903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:20:50] local.INFO: Extracted packet for processing {"connection_id":185903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:20:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":185903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:20:50] local.INFO: GPS data processed {"connection_id":185903,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:20:50] local.INFO: Acknowledgment sent {"connection_id":185903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:21:06] local.INFO: TCP Data received {"connection_id":185736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:21:06] local.INFO: Processing buffer {"connection_id":185736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:21:06] local.INFO: IMEI packet received {"connection_id":185736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":185736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:21:13] local.INFO: TCP Data received {"connection_id":187207,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:21:13] local.INFO: Processing buffer {"connection_id":187207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:21:13] local.INFO: IMEI packet received {"connection_id":187207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":187207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:21:18] local.INFO: TCP Data received {"connection_id":187207,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:21:18] local.INFO: Processing buffer {"connection_id":187207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:21:18] local.INFO: IMEI packet received {"connection_id":187207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":187207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:21:19] local.INFO: TCP Data received {"connection_id":187207,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:21:19] local.INFO: Processing buffer {"connection_id":187207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:21:19] local.INFO: Packet analysis {"connection_id":187207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:21:19] local.INFO: Extracted packet for processing {"connection_id":187207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":187207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:21:19] local.INFO: GPS data processed {"connection_id":187207,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:21:19] local.INFO: Acknowledgment sent {"connection_id":187207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:21:50] local.INFO: TCP Data received {"connection_id":187207,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:21:50] local.INFO: Processing buffer {"connection_id":187207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:21:50] local.INFO: Packet analysis {"connection_id":187207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:21:50] local.INFO: Extracted packet for processing {"connection_id":187207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:21:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":187207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:21:50] local.INFO: GPS data processed {"connection_id":187207,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:21:50] local.INFO: Acknowledgment sent {"connection_id":187207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:22:13] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:22:13] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:22:13] local.INFO: IMEI packet received {"connection_id":185904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":185904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:22:18] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:22:18] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:22:18] local.INFO: IMEI packet received {"connection_id":185904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":185904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:22:19] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:22:19] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:22:19] local.INFO: Packet analysis {"connection_id":185904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:22:19] local.INFO: Extracted packet for processing {"connection_id":185904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":185904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:22:19] local.INFO: GPS data processed {"connection_id":185904,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:22:19] local.INFO: Acknowledgment sent {"connection_id":185904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:22:50] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:22:50] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:22:50] local.INFO: Packet analysis {"connection_id":185904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:22:50] local.INFO: Extracted packet for processing {"connection_id":185904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:22:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":185904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:22:50] local.INFO: GPS data processed {"connection_id":185904,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:22:50] local.INFO: Acknowledgment sent {"connection_id":185904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:23:13] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:23:13] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:23:13] local.INFO: IMEI packet received {"connection_id":187209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":187209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:23:18] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:23:18] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:23:18] local.INFO: IMEI packet received {"connection_id":187209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":187209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:23:19] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:23:19] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:23:19] local.INFO: Packet analysis {"connection_id":187209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:23:19] local.INFO: Extracted packet for processing {"connection_id":187209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":187209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:23:19] local.INFO: GPS data processed {"connection_id":187209,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:23:19] local.INFO: Acknowledgment sent {"connection_id":187209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:23:51] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:23:51] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:23:51] local.INFO: Packet analysis {"connection_id":187209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:23:51] local.INFO: Extracted packet for processing {"connection_id":187209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":187209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:23:51] local.INFO: GPS data processed {"connection_id":187209,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:23:51] local.INFO: Acknowledgment sent {"connection_id":187209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:24:18] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:24:18] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:24:18] local.INFO: IMEI packet received {"connection_id":185905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":185905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:24:23] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:24:23] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:24:23] local.INFO: IMEI packet received {"connection_id":185905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":185905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:24:24] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:24] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:24] local.INFO: Packet analysis {"connection_id":185905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:24:24] local.INFO: Extracted packet for processing {"connection_id":185905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":185905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:24:24] local.INFO: GPS data processed {"connection_id":185905,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:24:24] local.INFO: Acknowledgment sent {"connection_id":185905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:24:29] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:29] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:29] local.INFO: Packet analysis {"connection_id":185905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:24:29] local.INFO: Extracted packet for processing {"connection_id":185905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24: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-09-18 06:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:24:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:24:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":185905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:24:29] local.INFO: GPS data processed {"connection_id":185905,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:24:29] local.INFO: Acknowledgment sent {"connection_id":185905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:24:35] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:35] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b1fce0d8012d34c14006aa4440000a011825..."} 
[2026-09-18 06:24:35] local.INFO: Packet analysis {"connection_id":185905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:24:35] local.INFO: Extracted packet for processing {"connection_id":185905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b1fc"} 
[2026-09-18 06:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161211904001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06: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-09-18 06:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789692535000,"timestamp_ms":1789692535000,"timestamp_seconds":1789692535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b1fce0d8"} 
[2026-09-18 06:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:24: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-09-18 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-18 06:24: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-09-18 06:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161211904001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161211904001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161211904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":185905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:24:35] local.INFO: GPS data processed {"connection_id":185905,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:24:35] local.INFO: Acknowledgment sent {"connection_id":185905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:25:14] local.INFO: TCP Data received {"connection_id":185738,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:25:14] local.INFO: Processing buffer {"connection_id":185738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:25:14] local.INFO: IMEI packet received {"connection_id":185738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":185738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:25:18] local.INFO: TCP Data received {"connection_id":185738,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:25:18] local.INFO: Processing buffer {"connection_id":185738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:25:18] local.INFO: IMEI packet received {"connection_id":185738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":185738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:25:20] local.INFO: TCP Data received {"connection_id":185738,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:25:20] local.INFO: Processing buffer {"connection_id":185738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:25:20] local.INFO: Packet analysis {"connection_id":185738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:25:20] local.INFO: Extracted packet for processing {"connection_id":185738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":185738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:25:20] local.INFO: GPS data processed {"connection_id":185738,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:25:20] local.INFO: Acknowledgment sent {"connection_id":185738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:25:51] local.INFO: TCP Data received {"connection_id":185738,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:25:51] local.INFO: Processing buffer {"connection_id":185738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:25:51] local.INFO: Packet analysis {"connection_id":185738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:25:51] local.INFO: Extracted packet for processing {"connection_id":185738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":185738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:25:51] local.INFO: GPS data processed {"connection_id":185738,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:25:51] local.INFO: Acknowledgment sent {"connection_id":185738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:26:13] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:26:13] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:26:13] local.INFO: IMEI packet received {"connection_id":187210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":187210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:26:18] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:26:18] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:26:18] local.INFO: IMEI packet received {"connection_id":187210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":187210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:26:19] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:26:19] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:26:19] local.INFO: Packet analysis {"connection_id":187210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:26:19] local.INFO: Extracted packet for processing {"connection_id":187210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":187210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:26:19] local.INFO: GPS data processed {"connection_id":187210,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:26:19] local.INFO: Acknowledgment sent {"connection_id":187210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:26:41] local.INFO: TCP Data received {"connection_id":187208,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:26:41] local.INFO: Processing buffer {"connection_id":187208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:26:41] local.INFO: IMEI packet received {"connection_id":187208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":187208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:26:51] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:26:51] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:26:51] local.INFO: Packet analysis {"connection_id":187210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:26:51] local.INFO: Extracted packet for processing {"connection_id":187210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":187210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:26:51] local.INFO: GPS data processed {"connection_id":187210,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:26:51] local.INFO: Acknowledgment sent {"connection_id":187210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:27:13] local.INFO: TCP Data received {"connection_id":185906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:27:13] local.INFO: Processing buffer {"connection_id":185906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:27:13] local.INFO: IMEI packet received {"connection_id":185906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":185906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:27:18] local.INFO: TCP Data received {"connection_id":185906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:27:18] local.INFO: Processing buffer {"connection_id":185906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:27:18] local.INFO: IMEI packet received {"connection_id":185906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":185906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:27:19] local.INFO: TCP Data received {"connection_id":185906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:27:19] local.INFO: Processing buffer {"connection_id":185906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:27:19] local.INFO: Packet analysis {"connection_id":185906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:27:19] local.INFO: Extracted packet for processing {"connection_id":185906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":185906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:27:19] local.INFO: GPS data processed {"connection_id":185906,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:27:19] local.INFO: Acknowledgment sent {"connection_id":185906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:27:51] local.INFO: TCP Data received {"connection_id":185906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:27:51] local.INFO: Processing buffer {"connection_id":185906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:27:51] local.INFO: Packet analysis {"connection_id":185906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:27:51] local.INFO: Extracted packet for processing {"connection_id":185906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":185906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:27:51] local.INFO: GPS data processed {"connection_id":185906,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:27:51] local.INFO: Acknowledgment sent {"connection_id":185906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:28:13] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:28:13] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:28:13] local.INFO: IMEI packet received {"connection_id":187211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":187211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:28:18] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:28:18] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:28:18] local.INFO: IMEI packet received {"connection_id":187211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":187211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:28:19] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:28:19] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:28:19] local.INFO: Packet analysis {"connection_id":187211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:28:19] local.INFO: Extracted packet for processing {"connection_id":187211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":187211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:28:19] local.INFO: GPS data processed {"connection_id":187211,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:28:19] local.INFO: Acknowledgment sent {"connection_id":187211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:28:51] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:28:51] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:28:51] local.INFO: Packet analysis {"connection_id":187211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:28:51] local.INFO: Extracted packet for processing {"connection_id":187211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":187211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:28:51] local.INFO: GPS data processed {"connection_id":187211,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:28:51] local.INFO: Acknowledgment sent {"connection_id":187211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:29:18] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:29:18] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:29:18] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:29:23] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:29:23] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:29:23] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:29:25] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:29:25] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:29:25] local.INFO: Packet analysis {"connection_id":188522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:29:25] local.INFO: Extracted packet for processing {"connection_id":188522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":188522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:29:25] local.INFO: GPS data processed {"connection_id":188522,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:29:25] local.INFO: Acknowledgment sent {"connection_id":188522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:29:28] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:29:28] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20178a0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:29:28] local.INFO: Packet analysis {"connection_id":188522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:29:28] local.INFO: Extracted packet for processing {"connection_id":188522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b201"} 
[2026-09-18 06:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161288960001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789692836000,"timestamp_ms":1789692836000,"timestamp_seconds":1789692836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20178a0"} 
[2026-09-18 06:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161288960001,"66":25343,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161288960001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:29:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:29:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161288960001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":188522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:29:28] local.INFO: GPS data processed {"connection_id":188522,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:29:28] local.INFO: Acknowledgment sent {"connection_id":188522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:30:13] local.INFO: TCP Data received {"connection_id":185739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:30:13] local.INFO: Processing buffer {"connection_id":185739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:30:13] local.INFO: IMEI packet received {"connection_id":185739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":185739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:30:18] local.INFO: TCP Data received {"connection_id":185739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:30:18] local.INFO: Processing buffer {"connection_id":185739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:30:18] local.INFO: IMEI packet received {"connection_id":185739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":185739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:30:19] local.INFO: TCP Data received {"connection_id":185739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:30:19] local.INFO: Processing buffer {"connection_id":185739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:30:19] local.INFO: Packet analysis {"connection_id":185739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:30:19] local.INFO: Extracted packet for processing {"connection_id":185739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":185739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:30:19] local.INFO: GPS data processed {"connection_id":185739,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:30:19] local.INFO: Acknowledgment sent {"connection_id":185739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:30:50] local.INFO: TCP Data received {"connection_id":185739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:30:50] local.INFO: Processing buffer {"connection_id":185739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:30:50] local.INFO: Packet analysis {"connection_id":185739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:30:50] local.INFO: Extracted packet for processing {"connection_id":185739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:30:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":185739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:30:50] local.INFO: GPS data processed {"connection_id":185739,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:30:50] local.INFO: Acknowledgment sent {"connection_id":185739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:31:13] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:31:13] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:31:13] local.INFO: IMEI packet received {"connection_id":185740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":185740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:31:18] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:31:18] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:31:18] local.INFO: IMEI packet received {"connection_id":185740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":185740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:31:19] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:31:19] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:31:19] local.INFO: Packet analysis {"connection_id":185740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:31:19] local.INFO: Extracted packet for processing {"connection_id":185740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":185740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:31:19] local.INFO: GPS data processed {"connection_id":185740,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:31:19] local.INFO: Acknowledgment sent {"connection_id":185740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:31:51] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:31:51] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:31:51] local.INFO: Packet analysis {"connection_id":185740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:31:51] local.INFO: Extracted packet for processing {"connection_id":185740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":185740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:31:51] local.INFO: GPS data processed {"connection_id":185740,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:31:51] local.INFO: Acknowledgment sent {"connection_id":185740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:32:13] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:32:13] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:32:13] local.INFO: IMEI packet received {"connection_id":188523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":188523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:32:16] local.INFO: TCP Data received {"connection_id":188521,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:32:16] local.INFO: Processing buffer {"connection_id":188521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:32:16] local.INFO: IMEI packet received {"connection_id":188521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":188521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:32:18] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:32:18] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:32:18] local.INFO: IMEI packet received {"connection_id":188523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":188523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:32:19] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:32:19] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:32:19] local.INFO: Packet analysis {"connection_id":188523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:32:19] local.INFO: Extracted packet for processing {"connection_id":188523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:32:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:32:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":188523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:32:19] local.INFO: GPS data processed {"connection_id":188523,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:32:19] local.INFO: Acknowledgment sent {"connection_id":188523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:32:50] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:32:50] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:32:50] local.INFO: Packet analysis {"connection_id":188523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:32:50] local.INFO: Extracted packet for processing {"connection_id":188523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:32:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:32:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":188523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:32:50] local.INFO: GPS data processed {"connection_id":188523,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:32:50] local.INFO: Acknowledgment sent {"connection_id":188523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:33:18] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:33:18] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:33:18] local.INFO: IMEI packet received {"connection_id":187212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":187212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:33:23] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:33:23] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:33:23] local.INFO: IMEI packet received {"connection_id":187212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":187212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:33:24] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:33:24] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:33:24] local.INFO: Packet analysis {"connection_id":187212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:33:24] local.INFO: Extracted packet for processing {"connection_id":187212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":187212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:33:24] local.INFO: GPS data processed {"connection_id":187212,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:33:24] local.INFO: Acknowledgment sent {"connection_id":187212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:33:28] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:33:28] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:33:28] local.INFO: Packet analysis {"connection_id":187212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:33:28] local.INFO: Extracted packet for processing {"connection_id":187212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:33:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:33:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":187212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:33:29] local.INFO: GPS data processed {"connection_id":187212,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:33:29] local.INFO: Acknowledgment sent {"connection_id":187212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:34:13] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:34:13] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:34:13] local.INFO: IMEI packet received {"connection_id":185908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":185908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:34:18] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:34:18] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:34:18] local.INFO: IMEI packet received {"connection_id":185908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":185908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:34:20] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:34:20] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2061068012d34c14006aa4440000a011824..."} 
[2026-09-18 06:34:20] local.INFO: Packet analysis {"connection_id":185908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:34:20] local.INFO: Extracted packet for processing {"connection_id":185908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b206"} 
[2026-09-18 06:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161366016001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789693137000,"timestamp_ms":1789693137000,"timestamp_seconds":1789693137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2061068"} 
[2026-09-18 06:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 06:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161366016001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161366016001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161366016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":185908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:34:20] local.INFO: GPS data processed {"connection_id":185908,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:34:20] local.INFO: Acknowledgment sent {"connection_id":185908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:34:51] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:34:51] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:34:51] local.INFO: Packet analysis {"connection_id":185908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:34:51] local.INFO: Extracted packet for processing {"connection_id":185908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:34: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-09-18 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":185908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:34:51] local.INFO: GPS data processed {"connection_id":185908,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:34:51] local.INFO: Acknowledgment sent {"connection_id":185908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:35:13] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:35:13] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:35:13] local.INFO: IMEI packet received {"connection_id":187213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":187213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:35:18] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:35:18] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:35:18] local.INFO: IMEI packet received {"connection_id":187213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":187213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:35:19] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:35:19] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:35:19] local.INFO: Packet analysis {"connection_id":187213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:35:19] local.INFO: Extracted packet for processing {"connection_id":187213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":187213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:35:19] local.INFO: GPS data processed {"connection_id":187213,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:35:19] local.INFO: Acknowledgment sent {"connection_id":187213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:35:50] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:35:50] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:35:50] local.INFO: Packet analysis {"connection_id":187213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:35:50] local.INFO: Extracted packet for processing {"connection_id":187213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":187213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:35:50] local.INFO: GPS data processed {"connection_id":187213,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:35:50] local.INFO: Acknowledgment sent {"connection_id":187213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:36:13] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:36:13] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:36:13] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:36:18] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:36:18] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:36:18] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:36:19] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:36:19] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:36:19] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:36:19] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:36:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:36:19] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:36:19] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:36:50] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:36:50] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:36:50] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:36:50] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:36:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:36:50] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:36:50] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:37:13] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:37:13] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:37:13] local.INFO: IMEI packet received {"connection_id":187214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:37:18] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:37:18] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:37:18] local.INFO: IMEI packet received {"connection_id":187214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":187214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:37:19] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:37:19] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:37:19] local.INFO: Packet analysis {"connection_id":187214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:37:19] local.INFO: Extracted packet for processing {"connection_id":187214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":187214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:37:19] local.INFO: GPS data processed {"connection_id":187214,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:37:19] local.INFO: Acknowledgment sent {"connection_id":187214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:37:51] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:37:51] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:37:51] local.INFO: Packet analysis {"connection_id":187214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:37:51] local.INFO: Extracted packet for processing {"connection_id":187214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:37: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-09-18 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":187214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:37:51] local.INFO: GPS data processed {"connection_id":187214,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:37:51] local.INFO: Acknowledgment sent {"connection_id":187214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:37:51] local.INFO: TCP Data received {"connection_id":185907,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:37:51] local.INFO: Processing buffer {"connection_id":185907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:37:51] local.INFO: IMEI packet received {"connection_id":185907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":185907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:38:11] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:38:11] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:38:11] local.INFO: IMEI packet received {"connection_id":188525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":188525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:38:18] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:38:18] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:38:18] local.INFO: IMEI packet received {"connection_id":185909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":185909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:38:23] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:38:23] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:38:23] local.INFO: IMEI packet received {"connection_id":185909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":185909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:38:25] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:38:25] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:38:25] local.INFO: Packet analysis {"connection_id":185909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:38:25] local.INFO: Extracted packet for processing {"connection_id":185909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":185909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:38:25] local.INFO: GPS data processed {"connection_id":185909,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:38:25] local.INFO: Acknowledgment sent {"connection_id":185909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:38:28] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:38:28] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:38:28] local.INFO: Packet analysis {"connection_id":185909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:38:28] local.INFO: Extracted packet for processing {"connection_id":185909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:38:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:38:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:38:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":185909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:38:28] local.INFO: GPS data processed {"connection_id":185909,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:38:28] local.INFO: Acknowledgment sent {"connection_id":185909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:39:13] local.INFO: TCP Data received {"connection_id":187215,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:39:13] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:39:13] local.INFO: IMEI packet received {"connection_id":187215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":187215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:39:18] local.INFO: TCP Data received {"connection_id":187215,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:39:18] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:39:18] local.INFO: IMEI packet received {"connection_id":187215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":187215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:39:19] local.INFO: TCP Data received {"connection_id":187215,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:39:19] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20aa830012d34c14006aa4440000a011824..."} 
[2026-09-18 06:39:19] local.INFO: Packet analysis {"connection_id":187215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:39:19] local.INFO: Extracted packet for processing {"connection_id":187215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20a"} 
[2026-09-18 06:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161443072001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693438000,"timestamp_ms":1789693438000,"timestamp_seconds":1789693438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20aa830"} 
[2026-09-18 06:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 06:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161443072001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161443072001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161443072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":187215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:39:19] local.INFO: GPS data processed {"connection_id":187215,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:39:19] local.INFO: Acknowledgment sent {"connection_id":187215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:39:50] local.INFO: TCP Data received {"connection_id":187215,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:39:50] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:39:50] local.INFO: Packet analysis {"connection_id":187215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:39:50] local.INFO: Extracted packet for processing {"connection_id":187215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:39:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":187215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:39:50] local.INFO: GPS data processed {"connection_id":187215,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:39:50] local.INFO: Acknowledgment sent {"connection_id":187215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:40:13] local.INFO: TCP Data received {"connection_id":185910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:40:13] local.INFO: Processing buffer {"connection_id":185910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:40:13] local.INFO: IMEI packet received {"connection_id":185910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":185910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:40:18] local.INFO: TCP Data received {"connection_id":185910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:40:18] local.INFO: Processing buffer {"connection_id":185910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:40:18] local.INFO: IMEI packet received {"connection_id":185910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":185910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:40:19] local.INFO: TCP Data received {"connection_id":185910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:40:19] local.INFO: Processing buffer {"connection_id":185910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:40:19] local.INFO: Packet analysis {"connection_id":185910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:40:19] local.INFO: Extracted packet for processing {"connection_id":185910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":185910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:40:19] local.INFO: GPS data processed {"connection_id":185910,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:40:19] local.INFO: Acknowledgment sent {"connection_id":185910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:40:51] local.INFO: TCP Data received {"connection_id":185910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:40:51] local.INFO: Processing buffer {"connection_id":185910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:40:51] local.INFO: Packet analysis {"connection_id":185910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:40:51] local.INFO: Extracted packet for processing {"connection_id":185910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:40: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-09-18 06:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":185910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:40:51] local.INFO: GPS data processed {"connection_id":185910,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:40:51] local.INFO: Acknowledgment sent {"connection_id":185910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:41:13] local.INFO: TCP Data received {"connection_id":185911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:41:13] local.INFO: Processing buffer {"connection_id":185911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:41:13] local.INFO: IMEI packet received {"connection_id":185911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":185911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:41:18] local.INFO: TCP Data received {"connection_id":185911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:41:18] local.INFO: Processing buffer {"connection_id":185911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:41:18] local.INFO: IMEI packet received {"connection_id":185911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":185911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:41:19] local.INFO: TCP Data received {"connection_id":185911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:41:19] local.INFO: Processing buffer {"connection_id":185911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:41:19] local.INFO: Packet analysis {"connection_id":185911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:41:19] local.INFO: Extracted packet for processing {"connection_id":185911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:41: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-09-18 06:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":185911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:41:19] local.INFO: GPS data processed {"connection_id":185911,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:41:19] local.INFO: Acknowledgment sent {"connection_id":185911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:41:50] local.INFO: TCP Data received {"connection_id":185911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:41:50] local.INFO: Processing buffer {"connection_id":185911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:41:50] local.INFO: Packet analysis {"connection_id":185911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:41:50] local.INFO: Extracted packet for processing {"connection_id":185911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 06:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 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-09-18 06:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 06:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":185911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:41:50] local.INFO: GPS data processed {"connection_id":185911,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:41:50] local.INFO: Acknowledgment sent {"connection_id":185911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:42:18] local.INFO: TCP Data received {"connection_id":185912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:42:18] local.INFO: Processing buffer {"connection_id":185912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:42:18] local.INFO: IMEI packet received {"connection_id":185912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":185912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:42:23] local.INFO: TCP Data received {"connection_id":185912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:42:23] local.INFO: Processing buffer {"connection_id":185912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:42:23] local.INFO: IMEI packet received {"connection_id":185912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":185912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:42:24] local.INFO: TCP Data received {"connection_id":185912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:42:24] local.INFO: Processing buffer {"connection_id":185912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:42:24] local.INFO: Packet analysis {"connection_id":185912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:42:24] local.INFO: Extracted packet for processing {"connection_id":185912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":185912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:42:24] local.INFO: GPS data processed {"connection_id":185912,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:42:24] local.INFO: Acknowledgment sent {"connection_id":185912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:42:28] local.INFO: TCP Data received {"connection_id":185912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:42:28] local.INFO: Processing buffer {"connection_id":185912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:42:28] local.INFO: Packet analysis {"connection_id":185912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:42:28] local.INFO: Extracted packet for processing {"connection_id":185912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:42:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:42:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":185912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:42:28] local.INFO: GPS data processed {"connection_id":185912,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:42:28] local.INFO: Acknowledgment sent {"connection_id":185912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:43:13] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:43:13] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:43:13] local.INFO: IMEI packet received {"connection_id":188527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:43:18] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:43:18] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:43:18] local.INFO: IMEI packet received {"connection_id":188527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":188527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:43:19] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:43:19] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:43:19] local.INFO: Packet analysis {"connection_id":188527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:43:19] local.INFO: Extracted packet for processing {"connection_id":188527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":188527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:43:19] local.INFO: GPS data processed {"connection_id":188527,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:43:19] local.INFO: Acknowledgment sent {"connection_id":188527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:43:41] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:43:41] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:43:41] local.INFO: IMEI packet received {"connection_id":188526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":188526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:43:51] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:43:51] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:43:51] local.INFO: Packet analysis {"connection_id":188527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:43:51] local.INFO: Extracted packet for processing {"connection_id":188527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 06:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:43: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-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":188527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:43:51] local.INFO: GPS data processed {"connection_id":188527,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:43:51] local.INFO: Acknowledgment sent {"connection_id":188527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:44:13] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:44:13] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:44:13] local.INFO: IMEI packet received {"connection_id":185913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":185913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:44:18] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:44:18] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:44:18] local.INFO: IMEI packet received {"connection_id":185913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":185913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:44:19] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:44:19] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b20f3ff8012d34c14006aa4440000a011823..."} 
[2026-09-18 06:44:19] local.INFO: Packet analysis {"connection_id":185913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:44:19] local.INFO: Extracted packet for processing {"connection_id":185913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b20f"} 
[2026-09-18 06:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161520128001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789693739000,"timestamp_ms":1789693739000,"timestamp_seconds":1789693739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b20f3ff8"} 
[2026-09-18 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-09-18 06:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 06:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161520128001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161520128001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161520128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":185913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:44:19] local.INFO: GPS data processed {"connection_id":185913,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:44:19] local.INFO: Acknowledgment sent {"connection_id":185913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:44:50] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:44:50] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:44:50] local.INFO: Packet analysis {"connection_id":185913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:44:50] local.INFO: Extracted packet for processing {"connection_id":185913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:44:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":185913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:44:50] local.INFO: GPS data processed {"connection_id":185913,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:44:50] local.INFO: Acknowledgment sent {"connection_id":185913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:45:13] local.INFO: TCP Data received {"connection_id":185741,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:45:13] local.INFO: Processing buffer {"connection_id":185741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:45:13] local.INFO: IMEI packet received {"connection_id":185741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":185741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:45:18] local.INFO: TCP Data received {"connection_id":185741,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:45:18] local.INFO: Processing buffer {"connection_id":185741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:45:18] local.INFO: IMEI packet received {"connection_id":185741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":185741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:45:19] local.INFO: TCP Data received {"connection_id":185741,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:45:19] local.INFO: Processing buffer {"connection_id":185741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:45:19] local.INFO: Packet analysis {"connection_id":185741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:45:19] local.INFO: Extracted packet for processing {"connection_id":185741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":185741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:45:19] local.INFO: GPS data processed {"connection_id":185741,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:45:19] local.INFO: Acknowledgment sent {"connection_id":185741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:45:51] local.INFO: TCP Data received {"connection_id":185741,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:45:51] local.INFO: Processing buffer {"connection_id":185741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:45:51] local.INFO: Packet analysis {"connection_id":185741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:45:51] local.INFO: Extracted packet for processing {"connection_id":185741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:45: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-09-18 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":185741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:45:51] local.INFO: GPS data processed {"connection_id":185741,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:45:51] local.INFO: Acknowledgment sent {"connection_id":185741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:46:13] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:46:13] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:46:13] local.INFO: IMEI packet received {"connection_id":185914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":185914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:46:18] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:46:18] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:46:18] local.INFO: IMEI packet received {"connection_id":185914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":185914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:46:19] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:46:19] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:46:19] local.INFO: Packet analysis {"connection_id":185914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:46:19] local.INFO: Extracted packet for processing {"connection_id":185914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":185914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:46:19] local.INFO: GPS data processed {"connection_id":185914,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:46:19] local.INFO: Acknowledgment sent {"connection_id":185914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:46:50] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:46:50] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:46:50] local.INFO: Packet analysis {"connection_id":185914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:46:50] local.INFO: Extracted packet for processing {"connection_id":185914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:46:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":185914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:46:50] local.INFO: GPS data processed {"connection_id":185914,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:46:50] local.INFO: Acknowledgment sent {"connection_id":185914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:47:18] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:47:18] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:47:18] local.INFO: IMEI packet received {"connection_id":187216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":187216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:47:23] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:47:23] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:47:23] local.INFO: IMEI packet received {"connection_id":187216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":187216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:47:24] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:47:24] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:47:24] local.INFO: Packet analysis {"connection_id":187216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:47:24] local.INFO: Extracted packet for processing {"connection_id":187216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":187216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:47:24] local.INFO: GPS data processed {"connection_id":187216,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:47:24] local.INFO: Acknowledgment sent {"connection_id":187216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:47:28] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:47:28] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:47:28] local.INFO: Packet analysis {"connection_id":187216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:47:28] local.INFO: Extracted packet for processing {"connection_id":187216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:47:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:47: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-09-18 06: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-09-18 06:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:47:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:47:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":187216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:47:28] local.INFO: GPS data processed {"connection_id":187216,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:47:28] local.INFO: Acknowledgment sent {"connection_id":187216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:48:13] local.INFO: TCP Data received {"connection_id":185742,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:48:13] local.INFO: Processing buffer {"connection_id":185742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:48:13] local.INFO: IMEI packet received {"connection_id":185742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":185742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:48:18] local.INFO: TCP Data received {"connection_id":185742,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:48:18] local.INFO: Processing buffer {"connection_id":185742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:48:18] local.INFO: IMEI packet received {"connection_id":185742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":185742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:48:19] local.INFO: TCP Data received {"connection_id":185742,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:48:19] local.INFO: Processing buffer {"connection_id":185742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:48:19] local.INFO: Packet analysis {"connection_id":185742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:48:19] local.INFO: Extracted packet for processing {"connection_id":185742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":185742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:48:19] local.INFO: GPS data processed {"connection_id":185742,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:48:19] local.INFO: Acknowledgment sent {"connection_id":185742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:48:50] local.INFO: TCP Data received {"connection_id":185742,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:48:50] local.INFO: Processing buffer {"connection_id":185742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:48:50] local.INFO: Packet analysis {"connection_id":185742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:48:50] local.INFO: Extracted packet for processing {"connection_id":185742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 06:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":185742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:48:50] local.INFO: GPS data processed {"connection_id":185742,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:48:50] local.INFO: Acknowledgment sent {"connection_id":185742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:49:13] local.INFO: TCP Data received {"connection_id":185744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:49:13] local.INFO: Processing buffer {"connection_id":185744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:49:13] local.INFO: IMEI packet received {"connection_id":185744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":185744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:49:16] local.INFO: TCP Data received {"connection_id":185743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:49:16] local.INFO: Processing buffer {"connection_id":185743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:49:16] local.INFO: IMEI packet received {"connection_id":185743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":185743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:49:18] local.INFO: TCP Data received {"connection_id":185744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:49:18] local.INFO: Processing buffer {"connection_id":185744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:49:18] local.INFO: IMEI packet received {"connection_id":185744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":185744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:49:19] local.INFO: TCP Data received {"connection_id":185744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:49:19] local.INFO: Processing buffer {"connection_id":185744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b213d7c0012d34c14006aa4440000a011825..."} 
[2026-09-18 06:49:19] local.INFO: Packet analysis {"connection_id":185744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:49:19] local.INFO: Extracted packet for processing {"connection_id":185744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b213"} 
[2026-09-18 06:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 06:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161597184001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694040000,"timestamp_ms":1789694040000,"timestamp_seconds":1789694040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b213d7c0"} 
[2026-09-18 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-09-18 06:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 06:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161597184001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161597184001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161597184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":185744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:49:19] local.INFO: GPS data processed {"connection_id":185744,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:49:19] local.INFO: Acknowledgment sent {"connection_id":185744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:49:50] local.INFO: TCP Data received {"connection_id":185744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:49:50] local.INFO: Processing buffer {"connection_id":185744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:49:50] local.INFO: Packet analysis {"connection_id":185744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:49:50] local.INFO: Extracted packet for processing {"connection_id":185744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:49:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:49:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:49:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":185744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:49:51] local.INFO: GPS data processed {"connection_id":185744,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:49:51] local.INFO: Acknowledgment sent {"connection_id":185744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:50:13] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:50:13] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:50:13] local.INFO: IMEI packet received {"connection_id":188528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":188528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:50:18] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:50:18] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:50:18] local.INFO: IMEI packet received {"connection_id":188528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":188528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:50:19] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:50:19] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:50:19] local.INFO: Packet analysis {"connection_id":188528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:50:19] local.INFO: Extracted packet for processing {"connection_id":188528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:50:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":188528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:50:19] local.INFO: GPS data processed {"connection_id":188528,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:50:19] local.INFO: Acknowledgment sent {"connection_id":188528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:50:51] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:50:51] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:50:51] local.INFO: Packet analysis {"connection_id":188528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:50:51] local.INFO: Extracted packet for processing {"connection_id":188528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":188528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:50:51] local.INFO: GPS data processed {"connection_id":188528,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:50:51] local.INFO: Acknowledgment sent {"connection_id":188528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:51:18] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:51:18] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:51:18] local.INFO: IMEI packet received {"connection_id":188529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":188529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:51:23] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:51:23] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:51:23] local.INFO: IMEI packet received {"connection_id":188529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":188529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:51:25] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:51:25] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:51:25] local.INFO: Packet analysis {"connection_id":188529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:51:25] local.INFO: Extracted packet for processing {"connection_id":188529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:51:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":188529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:51:25] local.INFO: GPS data processed {"connection_id":188529,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:51:25] local.INFO: Acknowledgment sent {"connection_id":188529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:51:28] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:51:28] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:51:28] local.INFO: Packet analysis {"connection_id":188529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:51:28] local.INFO: Extracted packet for processing {"connection_id":188529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:51:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:51: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-09-18 06: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-09-18 06:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:51:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:51:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":188529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:51:28] local.INFO: GPS data processed {"connection_id":188529,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:51:28] local.INFO: Acknowledgment sent {"connection_id":188529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:52:13] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:52:13] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:52:13] local.INFO: IMEI packet received {"connection_id":187217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:52:18] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:52:18] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:52:18] local.INFO: IMEI packet received {"connection_id":187217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":187217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:52:19] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:52:19] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:52:19] local.INFO: Packet analysis {"connection_id":187217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:52:19] local.INFO: Extracted packet for processing {"connection_id":187217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":187217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:52:19] local.INFO: GPS data processed {"connection_id":187217,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:52:19] local.INFO: Acknowledgment sent {"connection_id":187217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:52:52] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:52:52] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:52:52] local.INFO: Packet analysis {"connection_id":187217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:52:52] local.INFO: Extracted packet for processing {"connection_id":187217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 06:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 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-09-18 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 06:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":187217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:52:52] local.INFO: GPS data processed {"connection_id":187217,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:52:52] local.INFO: Acknowledgment sent {"connection_id":187217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:53:13] local.INFO: TCP Data received {"connection_id":185745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:53:13] local.INFO: Processing buffer {"connection_id":185745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:53:13] local.INFO: IMEI packet received {"connection_id":185745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":185745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:53:18] local.INFO: TCP Data received {"connection_id":185745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:53:18] local.INFO: Processing buffer {"connection_id":185745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:53:18] local.INFO: IMEI packet received {"connection_id":185745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":185745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:53:19] local.INFO: TCP Data received {"connection_id":185745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:53:19] local.INFO: Processing buffer {"connection_id":185745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:53:19] local.INFO: Packet analysis {"connection_id":185745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:53:19] local.INFO: Extracted packet for processing {"connection_id":185745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":185745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:53:19] local.INFO: GPS data processed {"connection_id":185745,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:53:19] local.INFO: Acknowledgment sent {"connection_id":185745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:53:51] local.INFO: TCP Data received {"connection_id":185745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:53:51] local.INFO: Processing buffer {"connection_id":185745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:53:51] local.INFO: Packet analysis {"connection_id":185745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:53:51] local.INFO: Extracted packet for processing {"connection_id":185745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":185745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:53:51] local.INFO: GPS data processed {"connection_id":185745,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:53:51] local.INFO: Acknowledgment sent {"connection_id":185745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:54:13] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:54:13] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:54:13] local.INFO: IMEI packet received {"connection_id":188531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":188531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:54:18] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:54:18] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:54:18] local.INFO: IMEI packet received {"connection_id":188531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:54:19] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:54:19] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2186f88012d34c14006aa4440000a011826..."} 
[2026-09-18 06:54:19] local.INFO: Packet analysis {"connection_id":188531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:54:19] local.INFO: Extracted packet for processing {"connection_id":188531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b218"} 
[2026-09-18 06:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161674240001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694341000,"timestamp_ms":1789694341000,"timestamp_seconds":1789694341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2186f88"} 
[2026-09-18 06:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161674240001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161674240001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161674240001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":188531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:54:19] local.INFO: GPS data processed {"connection_id":188531,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:54:19] local.INFO: Acknowledgment sent {"connection_id":188531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:54:51] local.INFO: TCP Data received {"connection_id":188530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:54:51] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 06:54:51] local.INFO: IMEI packet received {"connection_id":188530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 06:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":188530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:54:51] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:54:51] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:54:51] local.INFO: Packet analysis {"connection_id":188531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:54:51] local.INFO: Extracted packet for processing {"connection_id":188531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:54: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-09-18 06:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":188531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:54:51] local.INFO: GPS data processed {"connection_id":188531,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:54:51] local.INFO: Acknowledgment sent {"connection_id":188531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:55:18] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:55:18] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:55:18] local.INFO: IMEI packet received {"connection_id":185915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":185915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:55:23] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:55:23] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:55:23] local.INFO: IMEI packet received {"connection_id":185915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":185915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:55:24] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:55:24] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:55:24] local.INFO: Packet analysis {"connection_id":185915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:55:24] local.INFO: Extracted packet for processing {"connection_id":185915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":185915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:55:24] local.INFO: GPS data processed {"connection_id":185915,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:55:24] local.INFO: Acknowledgment sent {"connection_id":185915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:55:28] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:55:28] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:55:28] local.INFO: Packet analysis {"connection_id":185915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:55:28] local.INFO: Extracted packet for processing {"connection_id":185915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:55:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:55:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:55:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":185915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:55:28] local.INFO: GPS data processed {"connection_id":185915,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:55:28] local.INFO: Acknowledgment sent {"connection_id":185915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:56:13] local.INFO: TCP Data received {"connection_id":185746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:56:13] local.INFO: Processing buffer {"connection_id":185746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:56:13] local.INFO: IMEI packet received {"connection_id":185746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":185746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:56:18] local.INFO: TCP Data received {"connection_id":185746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:56:18] local.INFO: Processing buffer {"connection_id":185746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:56:18] local.INFO: IMEI packet received {"connection_id":185746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":185746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:56:19] local.INFO: TCP Data received {"connection_id":185746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:56:19] local.INFO: Processing buffer {"connection_id":185746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:56:19] local.INFO: Packet analysis {"connection_id":185746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:56:19] local.INFO: Extracted packet for processing {"connection_id":185746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":185746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:56:19] local.INFO: GPS data processed {"connection_id":185746,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:56:19] local.INFO: Acknowledgment sent {"connection_id":185746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:56:51] local.INFO: TCP Data received {"connection_id":185746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:56:51] local.INFO: Processing buffer {"connection_id":185746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:56:51] local.INFO: Packet analysis {"connection_id":185746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:56:51] local.INFO: Extracted packet for processing {"connection_id":185746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:56: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-09-18 06:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":185746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:56:51] local.INFO: GPS data processed {"connection_id":185746,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:56:51] local.INFO: Acknowledgment sent {"connection_id":185746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:57:13] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:57:13] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:57:13] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:57:18] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:57:18] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:57:18] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:57:19] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:57:19] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:57:19] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:57:19] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:57:19] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:57:19] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:57:51] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:57:51] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:57:51] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:57:51] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:57: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-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:57:51] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:57:51] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:58:13] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:58:13] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:58:13] local.INFO: IMEI packet received {"connection_id":187218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":187218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:58:18] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:58:18] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:58:18] local.INFO: IMEI packet received {"connection_id":187218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":187218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:58:19] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:58:19] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:58:19] local.INFO: Packet analysis {"connection_id":187218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:58:19] local.INFO: Extracted packet for processing {"connection_id":187218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":187218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:58:19] local.INFO: GPS data processed {"connection_id":187218,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:58:19] local.INFO: Acknowledgment sent {"connection_id":187218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:58:51] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:58:51] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:58:51] local.INFO: Packet analysis {"connection_id":187218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:58:51] local.INFO: Extracted packet for processing {"connection_id":187218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:58: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-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":187218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:58:51] local.INFO: GPS data processed {"connection_id":187218,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:58:51] local.INFO: Acknowledgment sent {"connection_id":187218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:59:13] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:59:13] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:59:13] local.INFO: IMEI packet received {"connection_id":188534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 06:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":188534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 06:59:18] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:59:18] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 06:59:18] local.INFO: IMEI packet received {"connection_id":188534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 06:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":188534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 06:59:19] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:59:19] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b21d0750012d34c14006aa4440000a011826..."} 
[2026-09-18 06:59:19] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:59:19] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b21d"} 
[2026-09-18 06:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 06:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161751296001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694642000,"timestamp_ms":1789694642000,"timestamp_seconds":1789694642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b21d0750"} 
[2026-09-18 06:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 06:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 06:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161751296001,"66":25419,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161751296001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161751296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:59:19] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:59:19] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 06:59:52] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 06:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 06:59:52] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 06:59:52] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 06:59:52] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 06:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 06: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-09-18 06:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 06:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 06:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 06:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 06:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 06:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 06:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 06: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":75,"data_length":795,"current_offset":136} 
[2026-09-18 06:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 06: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-09-18 06:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 06:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 06:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 06:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 06:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 06:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 06:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 06:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 06:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 06:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 06:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 06:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 06:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 06:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 06:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 06:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 06:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 06:59:52] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-18 06:59:52] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:00:13] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:00:13] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:00:13] local.INFO: IMEI packet received {"connection_id":185916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":185916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:00:18] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:00:18] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:00:18] local.INFO: IMEI packet received {"connection_id":185916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":185916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:00:19] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:00:19] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:00:19] local.INFO: Packet analysis {"connection_id":185916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:00:19] local.INFO: Extracted packet for processing {"connection_id":185916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":185916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:00:19] local.INFO: GPS data processed {"connection_id":185916,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:00:19] local.INFO: Acknowledgment sent {"connection_id":185916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:00:22] local.INFO: TCP Data received {"connection_id":188533,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:00:22] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:00:22] local.INFO: IMEI packet received {"connection_id":188533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":188533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:00:50] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:00:50] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:00:50] local.INFO: Packet analysis {"connection_id":185916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:00:50] local.INFO: Extracted packet for processing {"connection_id":185916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:00:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":185916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:00:50] local.INFO: GPS data processed {"connection_id":185916,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:00:50] local.INFO: Acknowledgment sent {"connection_id":185916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:01:16] local.INFO: TCP Data received {"connection_id":185747,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:01:16] local.INFO: Processing buffer {"connection_id":185747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:01:16] local.INFO: IMEI packet received {"connection_id":185747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":185747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:01:18] local.INFO: TCP Data received {"connection_id":185747,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:01:18] local.INFO: Processing buffer {"connection_id":185747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:01:18] local.INFO: IMEI packet received {"connection_id":185747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":185747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:01:19] local.INFO: TCP Data received {"connection_id":185747,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:19] local.INFO: Processing buffer {"connection_id":185747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:19] local.INFO: Packet analysis {"connection_id":185747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:01:19] local.INFO: Extracted packet for processing {"connection_id":185747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":185747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:01:19] local.INFO: GPS data processed {"connection_id":185747,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:01:19] local.INFO: Acknowledgment sent {"connection_id":185747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:01:25] local.INFO: TCP Data received {"connection_id":185747,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:25] local.INFO: Processing buffer {"connection_id":185747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:25] local.INFO: Packet analysis {"connection_id":185747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:01:25] local.INFO: Extracted packet for processing {"connection_id":185747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":185747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:01:25] local.INFO: GPS data processed {"connection_id":185747,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:01:25] local.INFO: Acknowledgment sent {"connection_id":185747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:01:56] local.INFO: TCP Data received {"connection_id":185747,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:56] local.INFO: Processing buffer {"connection_id":185747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:01:56] local.INFO: Packet analysis {"connection_id":185747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:01:56] local.INFO: Extracted packet for processing {"connection_id":185747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:01:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:01:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:01:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":185747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:01:56] local.INFO: GPS data processed {"connection_id":185747,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:01:56] local.INFO: Acknowledgment sent {"connection_id":185747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:02:13] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:02:13] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:02:13] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:02:18] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:02:18] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:02:18] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:02:20] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:02:20] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:02:20] local.INFO: Packet analysis {"connection_id":188535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:02:20] local.INFO: Extracted packet for processing {"connection_id":188535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":188535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:02:20] local.INFO: GPS data processed {"connection_id":188535,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:02:20] local.INFO: Acknowledgment sent {"connection_id":188535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:02:51] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:02:51] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:02:51] local.INFO: Packet analysis {"connection_id":188535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:02:51] local.INFO: Extracted packet for processing {"connection_id":188535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":188535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:02:51] local.INFO: GPS data processed {"connection_id":188535,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:02:51] local.INFO: Acknowledgment sent {"connection_id":188535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:03:13] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:03:13] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:03:13] local.INFO: IMEI packet received {"connection_id":188536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":188536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:03:18] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:03:18] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:03:18] local.INFO: IMEI packet received {"connection_id":188536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":188536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:03:19] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:03:19] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:03:19] local.INFO: Packet analysis {"connection_id":188536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:03:19] local.INFO: Extracted packet for processing {"connection_id":188536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:03: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-09-18 07:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":188536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:03:19] local.INFO: GPS data processed {"connection_id":188536,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:03:19] local.INFO: Acknowledgment sent {"connection_id":188536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:03:51] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:03:51] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:03:51] local.INFO: Packet analysis {"connection_id":188536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:03:51] local.INFO: Extracted packet for processing {"connection_id":188536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":188536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:03:51] local.INFO: GPS data processed {"connection_id":188536,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:03:51] local.INFO: Acknowledgment sent {"connection_id":188536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:04:13] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:04:13] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:04:13] local.INFO: IMEI packet received {"connection_id":187220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":187220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:04:18] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:04:18] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:04:18] local.INFO: IMEI packet received {"connection_id":187220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":187220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:04:19] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:04:19] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2219f18012d34c14006aa4440000a011827..."} 
[2026-09-18 07:04:19] local.INFO: Packet analysis {"connection_id":187220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:04:19] local.INFO: Extracted packet for processing {"connection_id":187220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b221"} 
[2026-09-18 07:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161828352001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789694943000,"timestamp_ms":1789694943000,"timestamp_seconds":1789694943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2219f18"} 
[2026-09-18 07:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-18 07:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161828352001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161828352001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:04:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161828352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":187220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:04:19] local.INFO: GPS data processed {"connection_id":187220,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:04:19] local.INFO: Acknowledgment sent {"connection_id":187220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:04:50] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:04:50] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:04:50] local.INFO: Packet analysis {"connection_id":187220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:04:50] local.INFO: Extracted packet for processing {"connection_id":187220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":187220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:04:50] local.INFO: GPS data processed {"connection_id":187220,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:04:50] local.INFO: Acknowledgment sent {"connection_id":187220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:05:14] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:05:14] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:05:14] local.INFO: IMEI packet received {"connection_id":187221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":187221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:05:18] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:05:18] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:05:18] local.INFO: IMEI packet received {"connection_id":187221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":187221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:05:19] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:19] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:19] local.INFO: Packet analysis {"connection_id":187221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:05:19] local.INFO: Extracted packet for processing {"connection_id":187221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":187221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:05:19] local.INFO: GPS data processed {"connection_id":187221,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:05:19] local.INFO: Acknowledgment sent {"connection_id":187221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:05:23] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:23] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:23] local.INFO: Packet analysis {"connection_id":187221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:05:23] local.INFO: Extracted packet for processing {"connection_id":187221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":187221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:05:23] local.INFO: GPS data processed {"connection_id":187221,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:05:23] local.INFO: Acknowledgment sent {"connection_id":187221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:05:55] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:55] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:05:55] local.INFO: Packet analysis {"connection_id":187221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:05:55] local.INFO: Extracted packet for processing {"connection_id":187221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:05:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:05:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":187221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:05:55] local.INFO: GPS data processed {"connection_id":187221,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:05:55] local.INFO: Acknowledgment sent {"connection_id":187221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:05:56] local.INFO: TCP Data received {"connection_id":187219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:05:56] local.INFO: Processing buffer {"connection_id":187219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:05:56] local.INFO: IMEI packet received {"connection_id":187219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":187219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:06:13] local.INFO: TCP Data received {"connection_id":185917,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:06:13] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:06:13] local.INFO: IMEI packet received {"connection_id":185917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":185917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:06:18] local.INFO: TCP Data received {"connection_id":185917,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:06:18] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:06:18] local.INFO: IMEI packet received {"connection_id":185917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":185917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:06:19] local.INFO: TCP Data received {"connection_id":185917,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:06:19] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:06:19] local.INFO: Packet analysis {"connection_id":185917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:06:19] local.INFO: Extracted packet for processing {"connection_id":185917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 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-09-18 07:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 07:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":185917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:06:19] local.INFO: GPS data processed {"connection_id":185917,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:06:19] local.INFO: Acknowledgment sent {"connection_id":185917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:06:52] local.INFO: TCP Data received {"connection_id":185917,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:06:52] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:06:52] local.INFO: Packet analysis {"connection_id":185917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:06:52] local.INFO: Extracted packet for processing {"connection_id":185917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":185917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:06:52] local.INFO: GPS data processed {"connection_id":185917,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:06:52] local.INFO: Acknowledgment sent {"connection_id":185917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:07:13] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:07:13] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:07:13] local.INFO: IMEI packet received {"connection_id":187222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":187222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:07:18] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:07:18] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:07:18] local.INFO: IMEI packet received {"connection_id":187222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":187222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:07:19] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:07:19] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:07:19] local.INFO: Packet analysis {"connection_id":187222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:07:19] local.INFO: Extracted packet for processing {"connection_id":187222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":187222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:07:19] local.INFO: GPS data processed {"connection_id":187222,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:07:19] local.INFO: Acknowledgment sent {"connection_id":187222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:07:51] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:07:51] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:07:51] local.INFO: Packet analysis {"connection_id":187222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:07:51] local.INFO: Extracted packet for processing {"connection_id":187222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":187222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:07:51] local.INFO: GPS data processed {"connection_id":187222,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:07:51] local.INFO: Acknowledgment sent {"connection_id":187222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:08:13] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:08:13] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:08:13] local.INFO: IMEI packet received {"connection_id":187224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":187224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:08:18] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:08:18] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:08:18] local.INFO: IMEI packet received {"connection_id":187224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":187224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:08:19] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:08:19] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:08:19] local.INFO: Packet analysis {"connection_id":187224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:08:19] local.INFO: Extracted packet for processing {"connection_id":187224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":187224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:08:19] local.INFO: GPS data processed {"connection_id":187224,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:08:19] local.INFO: Acknowledgment sent {"connection_id":187224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:08:51] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:08:51] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:08:51] local.INFO: Packet analysis {"connection_id":187224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:08:51] local.INFO: Extracted packet for processing {"connection_id":187224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":187224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:08:51] local.INFO: GPS data processed {"connection_id":187224,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:08:51] local.INFO: Acknowledgment sent {"connection_id":187224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:09:13] local.INFO: TCP Data received {"connection_id":185918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:09:13] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:09:13] local.INFO: IMEI packet received {"connection_id":185918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":185918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:09:18] local.INFO: TCP Data received {"connection_id":185918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:09:18] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:09:18] local.INFO: IMEI packet received {"connection_id":185918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":185918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:09:19] local.INFO: TCP Data received {"connection_id":185918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:09:19] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22636e0012d34c14006aa4440000a011823..."} 
[2026-09-18 07:09:19] local.INFO: Packet analysis {"connection_id":185918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:09:19] local.INFO: Extracted packet for processing {"connection_id":185918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b226"} 
[2026-09-18 07:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161905408001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695244000,"timestamp_ms":1789695244000,"timestamp_seconds":1789695244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22636e0"} 
[2026-09-18 07:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161905408001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161905408001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161905408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":185918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:09:19] local.INFO: GPS data processed {"connection_id":185918,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:09:19] local.INFO: Acknowledgment sent {"connection_id":185918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:09:50] local.INFO: TCP Data received {"connection_id":185918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:09:50] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:09:50] local.INFO: Packet analysis {"connection_id":185918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:09:50] local.INFO: Extracted packet for processing {"connection_id":185918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":185918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:09:50] local.INFO: GPS data processed {"connection_id":185918,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:09:50] local.INFO: Acknowledgment sent {"connection_id":185918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:10:18] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:10:18] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:10:18] local.INFO: IMEI packet received {"connection_id":185748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":185748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:10:23] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:10:23] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:10:23] local.INFO: IMEI packet received {"connection_id":185748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":185748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:10:24] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:10:24] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:10:24] local.INFO: Packet analysis {"connection_id":185748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:10:24] local.INFO: Extracted packet for processing {"connection_id":185748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":185748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:10:24] local.INFO: GPS data processed {"connection_id":185748,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:10:24] local.INFO: Acknowledgment sent {"connection_id":185748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:10:55] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:10:55] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:10:55] local.INFO: Packet analysis {"connection_id":185748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:10:55] local.INFO: Extracted packet for processing {"connection_id":185748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:10:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":185748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:10:55] local.INFO: GPS data processed {"connection_id":185748,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:10:55] local.INFO: Acknowledgment sent {"connection_id":185748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:11:13] local.INFO: TCP Data received {"connection_id":185919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:11:13] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:11:13] local.INFO: IMEI packet received {"connection_id":185919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":185919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:11:18] local.INFO: TCP Data received {"connection_id":185919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:11:18] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:11:18] local.INFO: IMEI packet received {"connection_id":185919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":185919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:11:19] local.INFO: TCP Data received {"connection_id":185919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:11:19] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:11:19] local.INFO: Packet analysis {"connection_id":185919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:11:19] local.INFO: Extracted packet for processing {"connection_id":185919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":185919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:11:19] local.INFO: GPS data processed {"connection_id":185919,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:11:19] local.INFO: Acknowledgment sent {"connection_id":185919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:11:31] local.INFO: TCP Data received {"connection_id":187223,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:11:31] local.INFO: Processing buffer {"connection_id":187223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:11:31] local.INFO: IMEI packet received {"connection_id":187223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":187223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:11:50] local.INFO: TCP Data received {"connection_id":185919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:11:50] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:11:50] local.INFO: Packet analysis {"connection_id":185919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:11:50] local.INFO: Extracted packet for processing {"connection_id":185919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":185919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:11:50] local.INFO: GPS data processed {"connection_id":185919,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:11:50] local.INFO: Acknowledgment sent {"connection_id":185919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:12:13] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:12:13] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:12:13] local.INFO: IMEI packet received {"connection_id":188537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:12:18] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:12:18] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:12:18] local.INFO: IMEI packet received {"connection_id":188537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:12:19] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:12:19] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:12:19] local.INFO: Packet analysis {"connection_id":188537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:12:19] local.INFO: Extracted packet for processing {"connection_id":188537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:12: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-09-18 07:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":188537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:12:19] local.INFO: GPS data processed {"connection_id":188537,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:12:19] local.INFO: Acknowledgment sent {"connection_id":188537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:12:50] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:12:50] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:12:50] local.INFO: Packet analysis {"connection_id":188537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:12:50] local.INFO: Extracted packet for processing {"connection_id":188537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":188537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:12:50] local.INFO: GPS data processed {"connection_id":188537,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:12:50] local.INFO: Acknowledgment sent {"connection_id":188537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:13:13] local.INFO: TCP Data received {"connection_id":185749,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:13:13] local.INFO: Processing buffer {"connection_id":185749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:13:13] local.INFO: IMEI packet received {"connection_id":185749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":185749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:13:18] local.INFO: TCP Data received {"connection_id":185749,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:13:18] local.INFO: Processing buffer {"connection_id":185749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:13:18] local.INFO: IMEI packet received {"connection_id":185749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":185749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:13:19] local.INFO: TCP Data received {"connection_id":185749,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:13:19] local.INFO: Processing buffer {"connection_id":185749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:13:19] local.INFO: Packet analysis {"connection_id":185749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:13:19] local.INFO: Extracted packet for processing {"connection_id":185749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":185749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:13:19] local.INFO: GPS data processed {"connection_id":185749,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:13:19] local.INFO: Acknowledgment sent {"connection_id":185749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:13:50] local.INFO: TCP Data received {"connection_id":185749,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:13:50] local.INFO: Processing buffer {"connection_id":185749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:13:50] local.INFO: Packet analysis {"connection_id":185749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:13:50] local.INFO: Extracted packet for processing {"connection_id":185749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":185749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:13:50] local.INFO: GPS data processed {"connection_id":185749,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:13:50] local.INFO: Acknowledgment sent {"connection_id":185749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:14:13] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:14:13] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:14:13] local.INFO: IMEI packet received {"connection_id":187226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":187226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:14:18] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:14:18] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:14:18] local.INFO: IMEI packet received {"connection_id":187226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":187226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:14:20] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:14:20] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22acea8012d34c14006aa4440000a011826..."} 
[2026-09-18 07:14:20] local.INFO: Packet analysis {"connection_id":187226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:14:20] local.INFO: Extracted packet for processing {"connection_id":187226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22a"} 
[2026-09-18 07:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458161982464001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789695545000,"timestamp_ms":1789695545000,"timestamp_seconds":1789695545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22acea8"} 
[2026-09-18 07:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458161982464001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458161982464001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458161982464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":187226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:14:20] local.INFO: GPS data processed {"connection_id":187226,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:14:20] local.INFO: Acknowledgment sent {"connection_id":187226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:14:52] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:14:52] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:14:52] local.INFO: Packet analysis {"connection_id":187226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:14:52] local.INFO: Extracted packet for processing {"connection_id":187226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":187226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:14:52] local.INFO: GPS data processed {"connection_id":187226,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:14:52] local.INFO: Acknowledgment sent {"connection_id":187226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:15:18] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:15:18] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:15:18] local.INFO: IMEI packet received {"connection_id":185750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":185750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:15:23] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:15:23] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:15:23] local.INFO: IMEI packet received {"connection_id":185750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":185750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:15:24] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:15:24] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:15:24] local.INFO: Packet analysis {"connection_id":185750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:15:24] local.INFO: Extracted packet for processing {"connection_id":185750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":185750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:15:24] local.INFO: GPS data processed {"connection_id":185750,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:15:24] local.INFO: Acknowledgment sent {"connection_id":185750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:15:55] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:15:55] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:15:55] local.INFO: Packet analysis {"connection_id":185750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:15:55] local.INFO: Extracted packet for processing {"connection_id":185750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:15:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:15:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":185750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:15:55] local.INFO: GPS data processed {"connection_id":185750,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:15:55] local.INFO: Acknowledgment sent {"connection_id":185750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:16:13] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:16:13] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:16:13] local.INFO: IMEI packet received {"connection_id":188538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":188538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:16:18] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:16:18] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:16:18] local.INFO: IMEI packet received {"connection_id":188538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":188538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:16:19] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:16:19] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:16:19] local.INFO: Packet analysis {"connection_id":188538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:16:19] local.INFO: Extracted packet for processing {"connection_id":188538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:16:19] local.INFO: GPS data processed {"connection_id":188538,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:16:19] local.INFO: Acknowledgment sent {"connection_id":188538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:16:50] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:16:50] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:16:50] local.INFO: Packet analysis {"connection_id":188538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:16:50] local.INFO: Extracted packet for processing {"connection_id":188538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 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-09-18 07:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 07:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":188538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:16:50] local.INFO: GPS data processed {"connection_id":188538,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:16:50] local.INFO: Acknowledgment sent {"connection_id":188538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:17:06] local.INFO: TCP Data received {"connection_id":187225,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:17:06] local.INFO: Processing buffer {"connection_id":187225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:17:06] local.INFO: IMEI packet received {"connection_id":187225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":187225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:17:13] local.INFO: TCP Data received {"connection_id":185751,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:17:13] local.INFO: Processing buffer {"connection_id":185751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:17:13] local.INFO: IMEI packet received {"connection_id":185751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":185751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:17:18] local.INFO: TCP Data received {"connection_id":185751,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:17:18] local.INFO: Processing buffer {"connection_id":185751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:17:18] local.INFO: IMEI packet received {"connection_id":185751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":185751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:17:19] local.INFO: TCP Data received {"connection_id":185751,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:17:19] local.INFO: Processing buffer {"connection_id":185751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:17:19] local.INFO: Packet analysis {"connection_id":185751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:17:19] local.INFO: Extracted packet for processing {"connection_id":185751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":185751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:17:19] local.INFO: GPS data processed {"connection_id":185751,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:17:19] local.INFO: Acknowledgment sent {"connection_id":185751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:17:50] local.INFO: TCP Data received {"connection_id":185751,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:17:50] local.INFO: Processing buffer {"connection_id":185751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:17:50] local.INFO: Packet analysis {"connection_id":185751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:17:50] local.INFO: Extracted packet for processing {"connection_id":185751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:17:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":185751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:17:50] local.INFO: GPS data processed {"connection_id":185751,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:17:50] local.INFO: Acknowledgment sent {"connection_id":185751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:18:13] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:18:13] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:18:13] local.INFO: IMEI packet received {"connection_id":188540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:18:18] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:18:18] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:18:18] local.INFO: IMEI packet received {"connection_id":188540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:18:19] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:18:19] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:18:19] local.INFO: Packet analysis {"connection_id":188540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:18:19] local.INFO: Extracted packet for processing {"connection_id":188540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:18:19] local.INFO: GPS data processed {"connection_id":188540,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:18:19] local.INFO: Acknowledgment sent {"connection_id":188540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:18:50] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:18:50] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:18:50] local.INFO: Packet analysis {"connection_id":188540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:18:50] local.INFO: Extracted packet for processing {"connection_id":188540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:18:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:18:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":188540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:18:50] local.INFO: GPS data processed {"connection_id":188540,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:18:50] local.INFO: Acknowledgment sent {"connection_id":188540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:19:13] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:19:13] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:19:13] local.INFO: IMEI packet received {"connection_id":188541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":188541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:19:18] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:19:18] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:19:18] local.INFO: IMEI packet received {"connection_id":188541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":188541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:19:19] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:19:19] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b22f6670012d34c14006aa4440000a011826..."} 
[2026-09-18 07:19:19] local.INFO: Packet analysis {"connection_id":188541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:19:19] local.INFO: Extracted packet for processing {"connection_id":188541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b22f"} 
[2026-09-18 07:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789695846000,"timestamp_ms":1789695846000,"timestamp_seconds":1789695846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b22f6670"} 
[2026-09-18 07:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162059520001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162059520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":188541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:19:19] local.INFO: GPS data processed {"connection_id":188541,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:19:19] local.INFO: Acknowledgment sent {"connection_id":188541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:19:50] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:19:50] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:19:50] local.INFO: Packet analysis {"connection_id":188541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:19:50] local.INFO: Extracted packet for processing {"connection_id":188541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:19:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":188541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:19:50] local.INFO: GPS data processed {"connection_id":188541,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:19:50] local.INFO: Acknowledgment sent {"connection_id":188541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:20:18] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:20:18] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:20:18] local.INFO: IMEI packet received {"connection_id":187227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":187227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:20:23] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:20:23] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:20:23] local.INFO: IMEI packet received {"connection_id":187227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":187227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:20:24] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:20:24] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:20:24] local.INFO: Packet analysis {"connection_id":187227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:20:24] local.INFO: Extracted packet for processing {"connection_id":187227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":187227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:20:24] local.INFO: GPS data processed {"connection_id":187227,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:20:24] local.INFO: Acknowledgment sent {"connection_id":187227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:20:55] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:20:55] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:20:55] local.INFO: Packet analysis {"connection_id":187227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:20:55] local.INFO: Extracted packet for processing {"connection_id":187227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:20:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":187227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:20:55] local.INFO: GPS data processed {"connection_id":187227,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:20:55] local.INFO: Acknowledgment sent {"connection_id":187227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:21:13] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:21:13] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:21:13] local.INFO: IMEI packet received {"connection_id":187228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":187228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:21:18] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:21:18] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:21:18] local.INFO: IMEI packet received {"connection_id":187228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":187228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:21:19] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:21:19] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:21:19] local.INFO: Packet analysis {"connection_id":187228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:21:19] local.INFO: Extracted packet for processing {"connection_id":187228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":187228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:21:19] local.INFO: GPS data processed {"connection_id":187228,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:21:19] local.INFO: Acknowledgment sent {"connection_id":187228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:21:51] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:21:51] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:21:51] local.INFO: Packet analysis {"connection_id":187228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:21:51] local.INFO: Extracted packet for processing {"connection_id":187228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":187228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:21:51] local.INFO: GPS data processed {"connection_id":187228,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:21:51] local.INFO: Acknowledgment sent {"connection_id":187228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:22:13] local.INFO: TCP Data received {"connection_id":185920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:22:13] local.INFO: Processing buffer {"connection_id":185920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:22:13] local.INFO: IMEI packet received {"connection_id":185920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":185920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:22:18] local.INFO: TCP Data received {"connection_id":185920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:22:18] local.INFO: Processing buffer {"connection_id":185920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:22:18] local.INFO: IMEI packet received {"connection_id":185920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":185920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:22:19] local.INFO: TCP Data received {"connection_id":185920,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:22:19] local.INFO: Processing buffer {"connection_id":185920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:22:19] local.INFO: Packet analysis {"connection_id":185920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:22:19] local.INFO: Extracted packet for processing {"connection_id":185920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":185920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:22:19] local.INFO: GPS data processed {"connection_id":185920,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:22:19] local.INFO: Acknowledgment sent {"connection_id":185920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:22:41] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:22:41] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:22:41] local.INFO: IMEI packet received {"connection_id":188539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":188539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:22:50] local.INFO: TCP Data received {"connection_id":185920,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:22:50] local.INFO: Processing buffer {"connection_id":185920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:22:50] local.INFO: Packet analysis {"connection_id":185920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:22:50] local.INFO: Extracted packet for processing {"connection_id":185920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:22:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":185920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:22:50] local.INFO: GPS data processed {"connection_id":185920,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:22:50] local.INFO: Acknowledgment sent {"connection_id":185920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:23:11] local.INFO: TCP Data received {"connection_id":185752,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:23:11] local.INFO: Processing buffer {"connection_id":185752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:23:11] local.INFO: IMEI packet received {"connection_id":185752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":185752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:23:13] local.INFO: TCP Data received {"connection_id":185921,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:23:13] local.INFO: Processing buffer {"connection_id":185921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:23:13] local.INFO: IMEI packet received {"connection_id":185921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":185921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:23:18] local.INFO: TCP Data received {"connection_id":185921,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:23:18] local.INFO: Processing buffer {"connection_id":185921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:23:18] local.INFO: IMEI packet received {"connection_id":185921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":185921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:23:19] local.INFO: TCP Data received {"connection_id":185921,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:23:19] local.INFO: Processing buffer {"connection_id":185921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:23:19] local.INFO: Packet analysis {"connection_id":185921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:23:19] local.INFO: Extracted packet for processing {"connection_id":185921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":185921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:23:19] local.INFO: GPS data processed {"connection_id":185921,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:23:19] local.INFO: Acknowledgment sent {"connection_id":185921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:23:50] local.INFO: TCP Data received {"connection_id":185921,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:23:50] local.INFO: Processing buffer {"connection_id":185921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:23:50] local.INFO: Packet analysis {"connection_id":185921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:23:50] local.INFO: Extracted packet for processing {"connection_id":185921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":185921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:23:51] local.INFO: GPS data processed {"connection_id":185921,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:23:51] local.INFO: Acknowledgment sent {"connection_id":185921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:24:13] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:24:13] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:24:13] local.INFO: IMEI packet received {"connection_id":185922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":185922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:24:18] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:24:18] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:24:18] local.INFO: IMEI packet received {"connection_id":185922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":185922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:24:19] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:24:19] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b233fe38012d34c14006aa4440000a011827..."} 
[2026-09-18 07:24:19] local.INFO: Packet analysis {"connection_id":185922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:24:19] local.INFO: Extracted packet for processing {"connection_id":185922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b233"} 
[2026-09-18 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162136576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789696147000,"timestamp_ms":1789696147000,"timestamp_seconds":1789696147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b233fe38"} 
[2026-09-18 07:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162136576001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162136576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162136576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":185922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:24:19] local.INFO: GPS data processed {"connection_id":185922,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:24:19] local.INFO: Acknowledgment sent {"connection_id":185922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:24:50] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:24:50] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:24:50] local.INFO: Packet analysis {"connection_id":185922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:24:50] local.INFO: Extracted packet for processing {"connection_id":185922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:24:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:24:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:24:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":185922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:24:50] local.INFO: GPS data processed {"connection_id":185922,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:24:50] local.INFO: Acknowledgment sent {"connection_id":185922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:25:18] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:25:18] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:25:18] local.INFO: IMEI packet received {"connection_id":188542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":188542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:25:23] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:25:23] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:25:23] local.INFO: IMEI packet received {"connection_id":188542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":188542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:25:24] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:25:24] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:25:24] local.INFO: Packet analysis {"connection_id":188542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:25:24] local.INFO: Extracted packet for processing {"connection_id":188542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":188542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:25:24] local.INFO: GPS data processed {"connection_id":188542,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:25:24] local.INFO: Acknowledgment sent {"connection_id":188542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:25:55] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:25:55] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:25:55] local.INFO: Packet analysis {"connection_id":188542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:25:55] local.INFO: Extracted packet for processing {"connection_id":188542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:25:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:25:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:25:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":188542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:25:55] local.INFO: GPS data processed {"connection_id":188542,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:25:55] local.INFO: Acknowledgment sent {"connection_id":188542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:26:13] local.INFO: TCP Data received {"connection_id":185753,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:26:13] local.INFO: Processing buffer {"connection_id":185753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:26:13] local.INFO: IMEI packet received {"connection_id":185753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":185753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:26:18] local.INFO: TCP Data received {"connection_id":185753,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:26:18] local.INFO: Processing buffer {"connection_id":185753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:26:18] local.INFO: IMEI packet received {"connection_id":185753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":185753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:26:19] local.INFO: TCP Data received {"connection_id":185753,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:26:19] local.INFO: Processing buffer {"connection_id":185753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:26:19] local.INFO: Packet analysis {"connection_id":185753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:26:19] local.INFO: Extracted packet for processing {"connection_id":185753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":185753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:26:19] local.INFO: GPS data processed {"connection_id":185753,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:26:19] local.INFO: Acknowledgment sent {"connection_id":185753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:26:50] local.INFO: TCP Data received {"connection_id":185753,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:26:50] local.INFO: Processing buffer {"connection_id":185753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:26:50] local.INFO: Packet analysis {"connection_id":185753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:26:50] local.INFO: Extracted packet for processing {"connection_id":185753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":185753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:26:50] local.INFO: GPS data processed {"connection_id":185753,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:26:50] local.INFO: Acknowledgment sent {"connection_id":185753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:27:13] local.INFO: TCP Data received {"connection_id":185923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:27:13] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:27:13] local.INFO: IMEI packet received {"connection_id":185923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":185923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:27:18] local.INFO: TCP Data received {"connection_id":185923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:27:18] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:27:18] local.INFO: IMEI packet received {"connection_id":185923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":185923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:27:19] local.INFO: TCP Data received {"connection_id":185923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:27:19] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:27:19] local.INFO: Packet analysis {"connection_id":185923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:27:19] local.INFO: Extracted packet for processing {"connection_id":185923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 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-09-18 07:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 07:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":185923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:27:19] local.INFO: GPS data processed {"connection_id":185923,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:27:19] local.INFO: Acknowledgment sent {"connection_id":185923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:27:29] local.INFO: TCP Data received {"connection_id":185924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:29] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:29] local.INFO: IMEI packet received {"connection_id":185924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":185924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:27:30] local.INFO: TCP Data received {"connection_id":185924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:30] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:30] local.INFO: IMEI packet received {"connection_id":185924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":185924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:27:34] local.INFO: TCP Data received {"connection_id":185924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:34] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:27:34] local.INFO: IMEI packet received {"connection_id":185924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":185924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:27:35] local.INFO: TCP Data received {"connection_id":185924,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 07:27:35] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 07:27:35] local.INFO: Packet analysis {"connection_id":185924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 07:27:35] local.INFO: Extracted packet for processing {"connection_id":185924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 07:27:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 07:27:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 07:27:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 07:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185924,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185924,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185924,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 07:27:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 07:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":185924,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 07:27:35] local.ERROR: GPS data processing failed {"connection_id":185924,"error":"No valid data to process"} 
[2026-09-18 07:27:35] local.INFO: Acknowledgment sent {"connection_id":185924,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 07:27:51] local.INFO: TCP Data received {"connection_id":185923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:27:51] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:27:51] local.INFO: Packet analysis {"connection_id":185923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:27:51] local.INFO: Extracted packet for processing {"connection_id":185923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":185923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:27:51] local.INFO: GPS data processed {"connection_id":185923,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:27:51] local.INFO: Acknowledgment sent {"connection_id":185923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:28:18] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:18] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:18] local.INFO: IMEI packet received {"connection_id":187230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":187230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:28:20] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:20] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:20] local.INFO: IMEI packet received {"connection_id":187230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":187230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:28:23] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:23] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:28:23] local.INFO: IMEI packet received {"connection_id":187230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":187230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:28:31] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:28:31] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:28:31] local.INFO: Packet analysis {"connection_id":187230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:28:31] local.INFO: Extracted packet for processing {"connection_id":187230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07: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-09-18 07:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":187230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:28:31] local.INFO: GPS data processed {"connection_id":187230,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:28:31] local.INFO: Acknowledgment sent {"connection_id":187230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:28:36] local.INFO: TCP Data received {"connection_id":187229,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:28:36] local.INFO: Processing buffer {"connection_id":187229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:28:36] local.INFO: IMEI packet received {"connection_id":187229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":187229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:29:21] local.INFO: TCP Data received {"connection_id":185754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:29:21] local.INFO: Processing buffer {"connection_id":185754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:29:21] local.INFO: IMEI packet received {"connection_id":185754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":185754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:29:23] local.INFO: TCP Data received {"connection_id":185754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:29:23] local.INFO: Processing buffer {"connection_id":185754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:29:23] local.INFO: IMEI packet received {"connection_id":185754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":185754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:29:25] local.INFO: TCP Data received {"connection_id":185754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:29:25] local.INFO: Processing buffer {"connection_id":185754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:29:25] local.INFO: Packet analysis {"connection_id":185754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:29:25] local.INFO: Extracted packet for processing {"connection_id":185754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":185754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:29:25] local.INFO: GPS data processed {"connection_id":185754,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:29:25] local.INFO: Acknowledgment sent {"connection_id":185754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:30:03] local.INFO: TCP Data received {"connection_id":185754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:30:03] local.INFO: Processing buffer {"connection_id":185754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2389600012d34c14006aa4440000a011826..."} 
[2026-09-18 07:30:03] local.INFO: Packet analysis {"connection_id":185754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:30:03] local.INFO: Extracted packet for processing {"connection_id":185754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b238"} 
[2026-09-18 07:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162213632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07: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-09-18 07:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789696448000,"timestamp_ms":1789696448000,"timestamp_seconds":1789696448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2389600"} 
[2026-09-18 07:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07: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-09-18 07: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":107,"data_length":795,"current_offset":136} 
[2026-09-18 07:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:30: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-09-18 07:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162213632001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162213632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162213632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":185754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:30:03] local.INFO: GPS data processed {"connection_id":185754,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:30:03] local.INFO: Acknowledgment sent {"connection_id":185754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:30:52] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:30:52] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:30:52] local.INFO: IMEI packet received {"connection_id":187231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":187231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:30:53] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:30:53] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:30:53] local.INFO: IMEI packet received {"connection_id":187231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":187231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:30:55] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:30:55] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:30:55] local.INFO: Packet analysis {"connection_id":187231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:30:55] local.INFO: Extracted packet for processing {"connection_id":187231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:30:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:30:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":187231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:30:55] local.INFO: GPS data processed {"connection_id":187231,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:30:55] local.INFO: Acknowledgment sent {"connection_id":187231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:31:18] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:31:18] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:31:18] local.INFO: IMEI packet received {"connection_id":188543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":188543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:31:23] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:31:23] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:31:23] local.INFO: IMEI packet received {"connection_id":188543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":188543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:31:30] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:31:30] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:31:30] local.INFO: Packet analysis {"connection_id":188543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:31:30] local.INFO: Extracted packet for processing {"connection_id":188543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:31: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-09-18 07:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:31:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":188543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:31:30] local.INFO: GPS data processed {"connection_id":188543,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:31:30] local.INFO: Acknowledgment sent {"connection_id":188543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:31:32] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:31:32] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:31:32] local.INFO: Packet analysis {"connection_id":188543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:31:32] local.INFO: Extracted packet for processing {"connection_id":188543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:31: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-09-18 07:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:31:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":188543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:31:32] local.INFO: GPS data processed {"connection_id":188543,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:31:32] local.INFO: Acknowledgment sent {"connection_id":188543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:32:13] local.INFO: TCP Data received {"connection_id":185925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:32:13] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:32:13] local.INFO: IMEI packet received {"connection_id":185925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":185925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:32:18] local.INFO: TCP Data received {"connection_id":185925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:32:18] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:32:18] local.INFO: IMEI packet received {"connection_id":185925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":185925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:32:22] local.INFO: TCP Data received {"connection_id":185925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:32:22] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:32:22] local.INFO: Packet analysis {"connection_id":185925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:32:22] local.INFO: Extracted packet for processing {"connection_id":185925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:32:22] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":185925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:32:22] local.INFO: GPS data processed {"connection_id":185925,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:32:22] local.INFO: Acknowledgment sent {"connection_id":185925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:32:54] local.INFO: TCP Data received {"connection_id":185925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:32:54] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:32:54] local.INFO: Packet analysis {"connection_id":185925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:32:54] local.INFO: Extracted packet for processing {"connection_id":185925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:32:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":185925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:32:54] local.INFO: GPS data processed {"connection_id":185925,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:32:54] local.INFO: Acknowledgment sent {"connection_id":185925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:33:18] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:33:18] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:33:18] local.INFO: IMEI packet received {"connection_id":187232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":187232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:33:23] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:33:23] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:33:23] local.INFO: IMEI packet received {"connection_id":187232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":187232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:33:24] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:33:24] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:33:24] local.INFO: Packet analysis {"connection_id":187232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:33:24] local.INFO: Extracted packet for processing {"connection_id":187232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:33:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":187232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:33:24] local.INFO: GPS data processed {"connection_id":187232,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:33:24] local.INFO: Acknowledgment sent {"connection_id":187232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:33:28] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:33:28] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:33:28] local.INFO: Packet analysis {"connection_id":187232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:33:28] local.INFO: Extracted packet for processing {"connection_id":187232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:33:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:33:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":187232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:33:28] local.INFO: GPS data processed {"connection_id":187232,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:33:28] local.INFO: Acknowledgment sent {"connection_id":187232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:34:13] local.INFO: TCP Data received {"connection_id":185926,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:34:13] local.INFO: Processing buffer {"connection_id":185926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:34:13] local.INFO: IMEI packet received {"connection_id":185926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":185926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:34:13] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:34:13] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:34:13] local.INFO: IMEI packet received {"connection_id":187233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":187233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:34:22] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:34:22] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:34:22] local.INFO: IMEI packet received {"connection_id":187233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":187233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:34:38] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:34:38] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b23d2dc8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:34:38] local.INFO: Packet analysis {"connection_id":187233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:34:38] local.INFO: Extracted packet for processing {"connection_id":187233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b23d"} 
[2026-09-18 07:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162290688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789696749000,"timestamp_ms":1789696749000,"timestamp_seconds":1789696749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b23d2dc8"} 
[2026-09-18 07:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:34: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-09-18 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162290688001,"66":24636,"78":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-18 07:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162290688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:34:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-18 07:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162290688001,"power":24636,"unknown_78":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":187233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:34:38] local.INFO: GPS data processed {"connection_id":187233,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:34:38] local.INFO: Acknowledgment sent {"connection_id":187233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:35:13] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:35:13] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:35:13] local.INFO: IMEI packet received {"connection_id":188544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":188544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:35:18] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:35:18] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:35:18] local.INFO: IMEI packet received {"connection_id":188544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":188544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:35:19] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:35:19] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:35:19] local.INFO: Packet analysis {"connection_id":188544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:35:19] local.INFO: Extracted packet for processing {"connection_id":188544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:35:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:35:19] local.INFO: GPS data processed {"connection_id":188544,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:35:19] local.INFO: Acknowledgment sent {"connection_id":188544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:35:50] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:35:50] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:35:50] local.INFO: Packet analysis {"connection_id":188544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:35:50] local.INFO: Extracted packet for processing {"connection_id":188544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:35:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":188544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:35:50] local.INFO: GPS data processed {"connection_id":188544,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:35:50] local.INFO: Acknowledgment sent {"connection_id":188544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:36:13] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:36:13] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:36:13] local.INFO: IMEI packet received {"connection_id":185755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":185755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:36:18] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:36:18] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:36:18] local.INFO: IMEI packet received {"connection_id":185755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":185755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:36:19] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:36:19] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:36:19] local.INFO: Packet analysis {"connection_id":185755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:36:19] local.INFO: Extracted packet for processing {"connection_id":185755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:36: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-09-18 07:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:36:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":185755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:36:19] local.INFO: GPS data processed {"connection_id":185755,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:36:19] local.INFO: Acknowledgment sent {"connection_id":185755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:36:51] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:36:51] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:36:51] local.INFO: Packet analysis {"connection_id":185755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:36:51] local.INFO: Extracted packet for processing {"connection_id":185755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:36:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":185755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:36:51] local.INFO: GPS data processed {"connection_id":185755,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:36:51] local.INFO: Acknowledgment sent {"connection_id":185755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:37:18] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:37:18] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:37:18] local.INFO: IMEI packet received {"connection_id":185756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":185756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:37:23] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:37:23] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:37:23] local.INFO: IMEI packet received {"connection_id":185756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":185756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:37:24] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:37:24] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:37:24] local.INFO: Packet analysis {"connection_id":185756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:37:24] local.INFO: Extracted packet for processing {"connection_id":185756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:37:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":185756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:37:24] local.INFO: GPS data processed {"connection_id":185756,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:37:24] local.INFO: Acknowledgment sent {"connection_id":185756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:37:56] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:37:56] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:37:56] local.INFO: Packet analysis {"connection_id":185756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:37:56] local.INFO: Extracted packet for processing {"connection_id":185756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 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-09-18 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 07:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:37:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:37:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":185756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:37:56] local.INFO: GPS data processed {"connection_id":185756,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:37:56] local.INFO: Acknowledgment sent {"connection_id":185756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:38:13] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:38:13] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:38:13] local.INFO: IMEI packet received {"connection_id":188546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":188546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:38:18] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:38:18] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:38:18] local.INFO: IMEI packet received {"connection_id":188546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":188546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:38:20] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:38:20] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:38:20] local.INFO: Packet analysis {"connection_id":188546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:38:20] local.INFO: Extracted packet for processing {"connection_id":188546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:38: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-18 07:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:38:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":188546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:38:20] local.INFO: GPS data processed {"connection_id":188546,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:38:20] local.INFO: Acknowledgment sent {"connection_id":188546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:38:51] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:51] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:51] local.INFO: IMEI packet received {"connection_id":185927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":185927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:38:51] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:38:51] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:38:51] local.INFO: Packet analysis {"connection_id":188546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:38:51] local.INFO: Extracted packet for processing {"connection_id":188546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:38: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-18 07:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:38:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":188546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:38:51] local.INFO: GPS data processed {"connection_id":188546,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:38:51] local.INFO: Acknowledgment sent {"connection_id":188546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:38:52] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:52] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:52] local.INFO: IMEI packet received {"connection_id":185927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":185927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:38:53] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:53] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:53] local.INFO: IMEI packet received {"connection_id":185927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":185927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:38:56] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:56] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:38:56] local.INFO: IMEI packet received {"connection_id":185927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":185927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:38:57] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a0b2461320012d7fa7c005dc68700000000007..."} 
[2026-09-18 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b2461320012d7fa7c005dc68700000000007..."} 
[2026-09-18 07:38:57] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b2461320012d7fa7c005dc68700000000007..."} 
[2026-09-18 07:38:57] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b246"} 
[2026-09-18 07:38:57] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b246"} 
[2026-09-18 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763340736,"raw_latitude":98330736,"longitude_deg":76.3340736,"latitude_deg":9.8330736,"altitude":0,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d7fa7c0","hex_latitude":"05dc6870","is_valid_coordinates":true} 
[2026-09-18 07:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 07:38: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-09-18 07:38: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-09-18 07:38:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:38:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 07:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 07:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 07:38:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 07:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 07:38:57] local.ERROR: GPS data processing failed {"connection_id":185927,"error":"No valid data to process"} 
[2026-09-18 07:38:57] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 07:39:07] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0af793b68012d7fa48005dc65c8000b00972d..."} 
[2026-09-18 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af793b68012d7fa48005dc65c8000b00972d..."} 
[2026-09-18 07:39:07] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af793b68012d7fa48005dc65c8000b00972d..."} 
[2026-09-18 07:39:07] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-18 07:39:07] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-18 07:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150413312001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:07] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 07:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789650353000,"timestamp_ms":1789650353000,"timestamp_seconds":1789650353,"priority":1,"record_length":96,"hex_timestamp":"000001a0af793b68"} 
[2026-09-18 07:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 07:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:39:07] 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-09-18 07:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150413312001,"66":2231,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 07:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150413312001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-18 07:39:07] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458150413312001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-18 07:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:39:07] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:39:07] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:39:13] local.INFO: TCP Data received {"connection_id":185757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:39:13] local.INFO: Processing buffer {"connection_id":185757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:39:13] local.INFO: IMEI packet received {"connection_id":185757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":185757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:39:18] local.INFO: TCP Data received {"connection_id":185757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:39:18] local.INFO: Processing buffer {"connection_id":185757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:39:18] local.INFO: IMEI packet received {"connection_id":185757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":185757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:39:19] local.INFO: TCP Data received {"connection_id":185757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:39:19] local.INFO: Processing buffer {"connection_id":185757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b241c590012d34c14006aa4440000a011825..."} 
[2026-09-18 07:39:19] local.INFO: Packet analysis {"connection_id":185757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:39:19] local.INFO: Extracted packet for processing {"connection_id":185757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b241"} 
[2026-09-18 07:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162367744001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789697050000,"timestamp_ms":1789697050000,"timestamp_seconds":1789697050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b241c590"} 
[2026-09-18 07:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 07:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162367744001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162367744001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:39:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162367744001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":185757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:39:19] local.INFO: GPS data processed {"connection_id":185757,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:39:19] local.INFO: Acknowledgment sent {"connection_id":185757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:39:37] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":249,"data_hex":"00000000000000ed8e03000001a0b2465d58012d7fa74005dc6670000400000e..."} 
[2026-09-18 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a0b2465d58012d7fa74005dc6670000400000e..."} 
[2026-09-18 07:39:37] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a0b2465d58012d7fa74005dc6670000400000e..."} 
[2026-09-18 07:39:37] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a0b246"} 
[2026-09-18 07:39:37] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a0b246"} 
[2026-09-18 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":98330224,"longitude_deg":76.3340608,"latitude_deg":9.8330224,"altitude":4,"angle":0,"satellites":14,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05dc6670","is_valid_coordinates":true} 
[2026-09-18 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-09-18 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150490368001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457245441196032,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:37] 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-09-18 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789697351000,"timestamp_ms":1789697351000,"timestamp_seconds":1789697351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2465d58"} 
[2026-09-18 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":249,"current_offset":136} 
[2026-09-18 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:39:37] 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-09-18 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-18 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:39:37] 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-09-18 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150490368001,"66":13472,"53":206,"85":15104,"24":0,"16":134457245441196032,"45":9197617101658245120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-18 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150490368001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:39:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-18 07:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457245441196032,"km_value":134457245441196.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-18 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150490368001,"power":13472,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-18 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:39:37] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:39:37] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:39:46] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:39:46] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:39:46] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:39:50] local.INFO: TCP Data received {"connection_id":185757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:39:50] local.INFO: Processing buffer {"connection_id":185757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:39:50] local.INFO: Packet analysis {"connection_id":185757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:39:50] local.INFO: Extracted packet for processing {"connection_id":185757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:39:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":185757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:39:50] local.INFO: GPS data processed {"connection_id":185757,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:39:50] local.INFO: Acknowledgment sent {"connection_id":185757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:40:08] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a0b246af60012d7fa70005dc6588000a00000f..."} 
[2026-09-18 07:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b246af60012d7fa70005dc6588000a00000f..."} 
[2026-09-18 07:40:08] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b246af60012d7fa70005dc6588000a00000f..."} 
[2026-09-18 07:40:08] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b246"} 
[2026-09-18 07:40:08] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b246"} 
[2026-09-18 07:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98329992,"longitude_deg":76.3340544,"latitude_deg":9.8329992,"altitude":10,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6588","is_valid_coordinates":true} 
[2026-09-18 07:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 07:40: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-09-18 07:40: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-09-18 07:40:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:40:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 07:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 07:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 07:40:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 07:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 07:40:08] local.ERROR: GPS data processing failed {"connection_id":185927,"error":"No valid data to process"} 
[2026-09-18 07:40:08] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 07:40:18] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:40:18] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:40:18] local.INFO: IMEI packet received {"connection_id":187234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":187234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:40:23] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:40:23] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:40:23] local.INFO: IMEI packet received {"connection_id":187234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":187234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:40:24] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:40:24] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:40:24] local.INFO: Packet analysis {"connection_id":187234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:40:24] local.INFO: Extracted packet for processing {"connection_id":187234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":187234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:40:24] local.INFO: GPS data processed {"connection_id":187234,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:40:24] local.INFO: Acknowledgment sent {"connection_id":187234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:40:39] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a0b2470168012d7fa60005dc6590000c00000f..."} 
[2026-09-18 07:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b2470168012d7fa60005dc6590000c00000f..."} 
[2026-09-18 07:40:39] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b2470168012d7fa60005dc6590000c00000f..."} 
[2026-09-18 07:40:39] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b247"} 
[2026-09-18 07:40:39] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b247"} 
[2026-09-18 07:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":98330000,"longitude_deg":76.3340288,"latitude_deg":9.833,"altitude":12,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-18 07:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 07:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:40:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:40:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 07:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 07:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 07:40:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 07:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 07:40:39] local.ERROR: GPS data processing failed {"connection_id":185927,"error":"No valid data to process"} 
[2026-09-18 07:40:39] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 07:41:10] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a0b2475370012d7fa60005dc65b8000c00000f..."} 
[2026-09-18 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b2475370012d7fa60005dc65b8000c00000f..."} 
[2026-09-18 07:41:10] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b2475370012d7fa60005dc65b8000c00000f..."} 
[2026-09-18 07:41:10] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b247"} 
[2026-09-18 07:41:10] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b247"} 
[2026-09-18 07:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":98330040,"longitude_deg":76.3340288,"latitude_deg":9.833004,"altitude":12,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05dc65b8","is_valid_coordinates":true} 
[2026-09-18 07:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 07:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:41:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:41:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 07:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 07:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 07:41:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 07:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 07:41:10] local.ERROR: GPS data processing failed {"connection_id":185927,"error":"No valid data to process"} 
[2026-09-18 07:41:10] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 07:41:18] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:41:18] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:41:18] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:41:23] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:41:23] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:41:23] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:41:24] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:41:24] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:41:24] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:41:24] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:41:24] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:41:24] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:41:42] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e01000001a0b247a578012d7fa60005dc6618000c000012..."} 
[2026-09-18 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b247a578012d7fa60005dc6618000c000012..."} 
[2026-09-18 07:41:42] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b247a578012d7fa60005dc6618000c000012..."} 
[2026-09-18 07:41:42] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b247"} 
[2026-09-18 07:41:42] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b247"} 
[2026-09-18 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763340288,"raw_latitude":98330136,"longitude_deg":76.3340288,"latitude_deg":9.8330136,"altitude":12,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7fa600","hex_latitude":"05dc6618","is_valid_coordinates":true} 
[2026-09-18 07:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 07:41: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-09-18 07:41: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-09-18 07:41:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:41:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 07:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 07:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 07:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 07:41:42] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 07:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 07:41:42] local.ERROR: GPS data processing failed {"connection_id":185927,"error":"No valid data to process"} 
[2026-09-18 07:41:42] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 07:41:55] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:41:55] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:41:55] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:41:55] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:41:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:41:55] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:41:55] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:42:13] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b248ddf8012d7fed0005dc90200002004e13..."} 
[2026-09-18 07:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b248ddf8012d7fed0005dc90200002004e13..."} 
[2026-09-18 07:42:13] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b248ddf8012d7fed0005dc90200002004e13..."} 
[2026-09-18 07:42:13] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b248"} 
[2026-09-18 07:42:13] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b248"} 
[2026-09-18 07:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763358464,"raw_latitude":98340896,"longitude_deg":76.3358464,"latitude_deg":9.8340896,"altitude":2,"angle":78,"satellites":19,"speed":49,"hex_longitude":"2d7fed00","hex_latitude":"05dc9020","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162561792001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134458624125698048,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207116882124369920,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:13] 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-09-18 07:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789697515000,"timestamp_ms":1789697515000,"timestamp_seconds":1789697515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b248ddf8"} 
[2026-09-18 07:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:42:13] 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-09-18 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 07:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:42:13] 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-09-18 07:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162561792001,"66":13906,"53":206,"85":15104,"24":49,"16":134458624125698048,"45":9207116882124369920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-18 07:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162561792001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:42:13] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-18 07:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134458624125698048,"km_value":134458624125698.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207116882124369920,"description":"Unknown IO ID 45"} 
[2026-09-18 07:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162561792001,"power":13906,"unknown_53":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9207116882124369920}} 
[2026-09-18 07:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:42:14] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:42:14] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:42:28] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:42:28] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:42:28] local.INFO: IMEI packet received {"connection_id":187235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":187235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:42:34] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:42:34] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:42:34] local.INFO: IMEI packet received {"connection_id":187235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":187235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:42:35] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:42:35] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:42:35] local.INFO: Packet analysis {"connection_id":187235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:42:35] local.INFO: Extracted packet for processing {"connection_id":187235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:42: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-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":187235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:42:35] local.INFO: GPS data processed {"connection_id":187235,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:42:35] local.INFO: Acknowledgment sent {"connection_id":187235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:42:44] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b248f950012d80104005dc98200000004d13..."} 
[2026-09-18 07:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b248f950012d80104005dc98200000004d13..."} 
[2026-09-18 07:42:44] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b248f950012d80104005dc98200000004d13..."} 
[2026-09-18 07:42:44] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b248"} 
[2026-09-18 07:42:44] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b248"} 
[2026-09-18 07:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763367488,"raw_latitude":98342944,"longitude_deg":76.3367488,"latitude_deg":9.8342944,"altitude":0,"angle":77,"satellites":19,"speed":53,"hex_longitude":"2d801040","hex_latitude":"05dc9820","is_valid_coordinates":true} 
[2026-09-18 07:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162563840001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134459066507329536,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218024037472542720,"note":"Value kept but may cause issues"} 
[2026-09-18 07:42:44] 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-09-18 07:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789697522000,"timestamp_ms":1789697522000,"timestamp_seconds":1789697522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b248f950"} 
[2026-09-18 07:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-18 07:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:42:44] 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-09-18 07:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162563840001,"66":13939,"53":206,"85":15104,"24":53,"16":134459066507329536,"45":9218024037472542720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-18 07:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162563840001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:42:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-18 07:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134459066507329536,"km_value":134459066507329.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218024037472542720,"description":"Unknown IO ID 45"} 
[2026-09-18 07:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162563840001,"power":13939,"unknown_53":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9218024037472542720}} 
[2026-09-18 07:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:42:44] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:42:44] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:43:15] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b249dbe0012d80a58005dcb3e80004003913..."} 
[2026-09-18 07:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b249dbe0012d80a58005dcb3e80004003913..."} 
[2026-09-18 07:43:15] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b249dbe0012d80a58005dcb3e80004003913..."} 
[2026-09-18 07:43:15] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b249"} 
[2026-09-18 07:43:15] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b249"} 
[2026-09-18 07:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98350056,"longitude_deg":76.3405696,"latitude_deg":9.8350056,"altitude":4,"angle":57,"satellites":19,"speed":7,"hex_longitude":"2d80a580","hex_latitude":"05dcb3e8","is_valid_coordinates":true} 
[2026-09-18 07:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162578944001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461020717449216,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177773065450115072,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789697580000,"timestamp_ms":1789697580000,"timestamp_seconds":1789697580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b249dbe0"} 
[2026-09-18 07:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 07:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:43:15] 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-09-18 07:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162578944001,"66":13722,"251":206,"85":15104,"24":7,"16":134461020717449216,"45":-9177773065450115072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162578944001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:43:15] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:43:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461020717449216,"km_value":134461020717449.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177773065450115072,"description":"Unknown IO ID 45"} 
[2026-09-18 07:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162578944001,"power":13722,"unknown_251":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9177773065450115072}} 
[2026-09-18 07:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:43:15] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:43:15] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:43:18] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:43:18] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:43:18] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:43:23] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:43:23] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:43:23] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:43:24] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:43:24] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:43:24] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:43:24] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:43:24] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:43:24] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:43:31] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:31] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:31] local.INFO: IMEI packet received {"connection_id":187236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":187236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:43:34] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:34] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:34] local.INFO: IMEI packet received {"connection_id":187236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":187236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:43:36] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:36] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:43:36] local.INFO: IMEI packet received {"connection_id":187236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":187236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:43:36] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b249e3b0012d80a6c005dcb4d00004002d13..."} 
[2026-09-18 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b249e3b0012d80a6c005dcb4d00004002d13..."} 
[2026-09-18 07:43:36] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b249e3b0012d80a6c005dcb4d00004002d13..."} 
[2026-09-18 07:43:36] local.INFO: Packet analysis {"connection_id":187236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b249"} 
[2026-09-18 07:43:36] local.INFO: Extracted packet for processing {"connection_id":187236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b249"} 
[2026-09-18 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763406016,"raw_latitude":98350288,"longitude_deg":76.3406016,"latitude_deg":9.8350288,"altitude":4,"angle":45,"satellites":19,"speed":5,"hex_longitude":"2d80a6c0","hex_latitude":"05dcb4d0","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162580480001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461042192285696,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031547904,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789697582000,"timestamp_ms":1789697582000,"timestamp_seconds":1789697582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b249e3b0"} 
[2026-09-18 07:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 07:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:43:36] 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-09-18 07:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162580480001,"66":13559,"251":206,"85":15104,"24":5,"16":134461042192285696,"45":-9176787903031547904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162580480001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:43:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461042192285696,"km_value":134461042192285.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031547904,"description":"Unknown IO ID 45"} 
[2026-09-18 07:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162580480001,"power":13559,"unknown_251":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9176787903031547904}} 
[2026-09-18 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":187236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:43:37] local.INFO: GPS data processed {"connection_id":187236,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:43:37] local.INFO: Acknowledgment sent {"connection_id":187236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:43:41] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24a0ea8012d80a54005dcb3b0000400bd12..."} 
[2026-09-18 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24a0ea8012d80a54005dcb3b0000400bd12..."} 
[2026-09-18 07:43:41] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24a0ea8012d80a54005dcb3b0000400bd12..."} 
[2026-09-18 07:43:41] local.INFO: Packet analysis {"connection_id":187236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24a"} 
[2026-09-18 07:43:41] local.INFO: Extracted packet for processing {"connection_id":187236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24a"} 
[2026-09-18 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98350000,"longitude_deg":76.3405632,"latitude_deg":9.835,"altitude":4,"angle":189,"satellites":18,"speed":1,"hex_longitude":"2d80a540","hex_latitude":"05dcb3b0","is_valid_coordinates":true} 
[2026-09-18 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162580992001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176436059310600192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789697593000,"timestamp_ms":1789697593000,"timestamp_seconds":1789697593,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24a0ea8"} 
[2026-09-18 07:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 07:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:43:41] 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-09-18 07:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162580992001,"66":13341,"251":206,"85":15104,"24":1,"16":134461080846991360,"45":-9176436059310600192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162580992001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:43:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176436059310600192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162580992001,"power":13341,"unknown_251":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9176436059310600192}} 
[2026-09-18 07:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":187236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:43:41] local.INFO: GPS data processed {"connection_id":187236,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:43:41] local.INFO: Acknowledgment sent {"connection_id":187236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:44:06] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:44:06] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:44:06] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:44:06] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:44:06] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:44:06] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:44:13] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24a5cc8012d80a54005dcb380000300b313..."} 
[2026-09-18 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24a5cc8012d80a54005dcb380000300b313..."} 
[2026-09-18 07:44:13] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24a5cc8012d80a54005dcb380000300b313..."} 
[2026-09-18 07:44:13] local.INFO: Packet analysis {"connection_id":187236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24a"} 
[2026-09-18 07:44:13] local.INFO: Extracted packet for processing {"connection_id":187236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24a"} 
[2026-09-18 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":19,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 07:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162583808001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775739904,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789697613000,"timestamp_ms":1789697613000,"timestamp_seconds":1789697613,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24a5cc8"} 
[2026-09-18 07:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 07:44:13] 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-09-18 07:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:44:13] 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-09-18 07:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162583808001,"66":13624,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775739904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162583808001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:44:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775739904,"description":"Unknown IO ID 45"} 
[2026-09-18 07:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162583808001,"power":13624,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775739904}} 
[2026-09-18 07:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":187236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:44:13] local.INFO: GPS data processed {"connection_id":187236,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:44:13] local.INFO: Acknowledgment sent {"connection_id":187236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:44:13] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:44:13] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:44:13] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:44:21] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:44:21] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:44:21] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:44:22] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:44:22] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24674c8012d34c14006aa4440000a011825..."} 
[2026-09-18 07:44:22] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:44:22] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b246"} 
[2026-09-18 07:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162444800001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789697357000,"timestamp_ms":1789697357000,"timestamp_seconds":1789697357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24674c8"} 
[2026-09-18 07:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162444800001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 07:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162444800001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:44:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 07:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162444800001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:44:22] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:44:22] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:44:31] local.INFO: TCP Data received {"connection_id":185929,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:44:31] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:44:31] local.INFO: IMEI packet received {"connection_id":185929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":185929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:44:36] local.INFO: TCP Data received {"connection_id":185929,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:44:36] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:44:36] local.INFO: IMEI packet received {"connection_id":185929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":185929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:44:37] local.INFO: TCP Data received {"connection_id":185929,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24aaed0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24aaed0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:44:37] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24aaed0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:44:37] local.INFO: Packet analysis {"connection_id":185929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24a"} 
[2026-09-18 07:44:37] local.INFO: Extracted packet for processing {"connection_id":185929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24a"} 
[2026-09-18 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":22,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162588928001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775752192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789697634000,"timestamp_ms":1789697634000,"timestamp_seconds":1789697634,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24aaed0"} 
[2026-09-18 07:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 07:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:44:37] 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-09-18 07:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162588928001,"66":13243,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775752192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162588928001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:44:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775752192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162588928001,"power":13243,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775752192}} 
[2026-09-18 07:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":185929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:44:37] local.INFO: GPS data processed {"connection_id":185929,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:44:37] local.INFO: Acknowledgment sent {"connection_id":185929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:44:55] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:44:55] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:44:55] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:44:55] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-18 07:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:44:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:44:55] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:44:55] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:45:08] local.INFO: TCP Data received {"connection_id":185929,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b00d8012d80a54005dcb380000300b316..."} 
[2026-09-18 07:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b00d8012d80a54005dcb380000300b316..."} 
[2026-09-18 07:45:08] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b00d8012d80a54005dcb380000300b316..."} 
[2026-09-18 07:45:08] local.INFO: Packet analysis {"connection_id":185929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:08] local.INFO: Extracted packet for processing {"connection_id":185929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":22,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162594304001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775752192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789697655000,"timestamp_ms":1789697655000,"timestamp_seconds":1789697655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b00d8"} 
[2026-09-18 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-09-18 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 07:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 07:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:45:08] 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-09-18 07:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162594304001,"66":13580,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775752192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162594304001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:45:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775752192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162594304001,"power":13580,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775752192}} 
[2026-09-18 07:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":185929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:45:08] local.INFO: GPS data processed {"connection_id":185929,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:45:08] local.INFO: Acknowledgment sent {"connection_id":185929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:45:21] local.INFO: TCP Data received {"connection_id":185928,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:45:21] local.INFO: Processing buffer {"connection_id":185928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:45:21] local.INFO: IMEI packet received {"connection_id":185928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":185928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:45:31] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:45:31] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:45:31] local.INFO: IMEI packet received {"connection_id":187237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":187237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:45:36] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:45:36] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:45:36] local.INFO: IMEI packet received {"connection_id":187237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":187237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:45:37] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b52e0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b52e0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:45:37] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b52e0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:45:37] local.INFO: Packet analysis {"connection_id":187237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:37] local.INFO: Extracted packet for processing {"connection_id":187237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":22,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162599680001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775752192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789697676000,"timestamp_ms":1789697676000,"timestamp_seconds":1789697676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b52e0"} 
[2026-09-18 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:45: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-09-18 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635891,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2991178864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158411781,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2471478938380009472,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3033530372,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462202875,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3758173568,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147867827,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743911,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3012952064,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-7926328898871623675,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629279619862101,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,251,85,24,241,157,16,179,160,174,45,64,3,22,10,66,92,19,14,1,240,29,227,178,220,4,113,205,5,219,165,232,239,53,2,221,128,52,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-09-18 07:45:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216369689184436224,"timestamp_seconds":216369689184436.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:45:37] 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-09-18 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162599680001,"66":13406,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775752192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162599680001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:45:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775752192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162599680001,"power":13406,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775752192}} 
[2026-09-18 07:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":187237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:45:37] local.INFO: GPS data processed {"connection_id":187237,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:45:37] local.INFO: Acknowledgment sent {"connection_id":187237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:45:38] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:45:38] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:45:38] local.INFO: IMEI packet received {"connection_id":187238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":187238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:45:44] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:45:44] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:45:44] local.INFO: IMEI packet received {"connection_id":187238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":187238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:45:46] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:45:46] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:45:46] local.INFO: Packet analysis {"connection_id":187238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:46] local.INFO: Extracted packet for processing {"connection_id":187238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:45:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":187238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:45:46] local.INFO: GPS data processed {"connection_id":187238,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:45:46] local.INFO: Acknowledgment sent {"connection_id":187238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:45:49] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:45:49] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:45:49] local.INFO: Packet analysis {"connection_id":187238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:49] local.INFO: Extracted packet for processing {"connection_id":187238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:45:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":187238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:45:49] local.INFO: GPS data processed {"connection_id":187238,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:45:49] local.INFO: Acknowledgment sent {"connection_id":187238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:46:07] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:07] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:07] local.INFO: Packet analysis {"connection_id":187238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:07] local.INFO: Extracted packet for processing {"connection_id":187238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46: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-09-18 07:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46: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-09-18 07:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:46:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":187238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:46:07] local.INFO: GPS data processed {"connection_id":187238,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:46:07] local.INFO: Acknowledgment sent {"connection_id":187238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:46:08] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24ba4e8012d80a54005dcb380000300b315..."} 
[2026-09-18 07:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24ba4e8012d80a54005dcb380000300b315..."} 
[2026-09-18 07:46:08] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24ba4e8012d80a54005dcb380000300b315..."} 
[2026-09-18 07:46:08] local.INFO: Packet analysis {"connection_id":187237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:08] local.INFO: Extracted packet for processing {"connection_id":187237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162605056001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775752192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789697697000,"timestamp_ms":1789697697000,"timestamp_seconds":1789697697,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24ba4e8"} 
[2026-09-18 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-09-18 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 07:46:08] 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-09-18 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-09-18 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-09-18 07:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:46:08] 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-09-18 07:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162605056001,"66":13580,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775752192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162605056001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:46:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775752192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162605056001,"power":13580,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775752192}} 
[2026-09-18 07:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":187237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:46:08] local.INFO: GPS data processed {"connection_id":187237,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:46:08] local.INFO: Acknowledgment sent {"connection_id":187237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:46:13] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:46:13] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:46:13] local.INFO: IMEI packet received {"connection_id":188550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":188550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:46:19] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:46:19] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:46:19] local.INFO: IMEI packet received {"connection_id":188550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":188550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:46:20] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:20] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:20] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:20] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:46:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:46:20] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:46:20] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:46:23] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:23] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:23] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:23] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:46:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:46:23] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:46:23] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:46:31] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:46:31] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:46:31] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:46:36] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:46:36] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:46:36] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:46:37] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24bf6f0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24bf6f0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:46:37] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24bf6f0012d80a54005dcb380000300b316..."} 
[2026-09-18 07:46:37] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:37] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":22,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162610432001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775752192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789697718000,"timestamp_ms":1789697718000,"timestamp_seconds":1789697718,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24bf6f0"} 
[2026-09-18 07:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:46: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-09-18 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635891,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2991186864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158313477,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2471461346193965056,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3011510275,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947643,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2818649472,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3013869568,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-6521205814963208188,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648470514282923,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,251,85,24,241,157,16,179,160,82,45,64,3,22,10,66,174,1,240,187,227,178,220,4,113,205,14,165,176,18,239,52,2,221,5,128,53,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-09-18 07:46:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216369684889468928,"timestamp_seconds":216369684889468.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 07:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:46:37] 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-09-18 07:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162610432001,"66":13417,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775752192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162610432001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:46:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775752192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162610432001,"power":13417,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775752192}} 
[2026-09-18 07:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:46:37] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:46:37] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:46:56] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:56] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:46:56] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:56] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:46:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:46:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:46:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:46:56] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:46:56] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:47:08] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24c48f8012d80a54005dcb380000300b315..."} 
[2026-09-18 07:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24c48f8012d80a54005dcb380000300b315..."} 
[2026-09-18 07:47:08] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24c48f8012d80a54005dcb380000300b315..."} 
[2026-09-18 07:47:08] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24c"} 
[2026-09-18 07:47:08] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24c"} 
[2026-09-18 07:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349952,"longitude_deg":76.3405632,"latitude_deg":9.8349952,"altitude":3,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb380","is_valid_coordinates":true} 
[2026-09-18 07:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162615808001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461080846991360,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775752192,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789697739000,"timestamp_ms":1789697739000,"timestamp_seconds":1789697739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24c48f8"} 
[2026-09-18 07:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 07:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:47:08] 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-09-18 07:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162615808001,"66":13298,"251":206,"85":15104,"24":0,"16":134461080846991360,"45":-9176858271775752192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162615808001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:47:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461080846991360,"km_value":134461080846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775752192,"description":"Unknown IO ID 45"} 
[2026-09-18 07:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162615808001,"power":13298,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775752192}} 
[2026-09-18 07:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:47:08] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:47:08] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:47:13] local.INFO: TCP Data received {"connection_id":185758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:47:13] local.INFO: Processing buffer {"connection_id":185758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:47:13] local.INFO: IMEI packet received {"connection_id":185758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":185758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:47:18] local.INFO: TCP Data received {"connection_id":185758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:47:18] local.INFO: Processing buffer {"connection_id":185758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:47:18] local.INFO: IMEI packet received {"connection_id":185758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":185758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:47:19] local.INFO: TCP Data received {"connection_id":185758,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:47:19] local.INFO: Processing buffer {"connection_id":185758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:47:19] local.INFO: Packet analysis {"connection_id":185758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:47:19] local.INFO: Extracted packet for processing {"connection_id":185758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:47:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":185758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:47:19] local.INFO: GPS data processed {"connection_id":185758,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:47:19] local.INFO: Acknowledgment sent {"connection_id":185758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:47:36] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:47:36] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:47:36] local.INFO: IMEI packet received {"connection_id":188552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":188552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:47:39] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:47:39] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:47:39] local.INFO: IMEI packet received {"connection_id":188552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":188552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:47:40] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24de320012d80848005dca350000500f018..."} 
[2026-09-18 07:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24de320012d80848005dca350000500f018..."} 
[2026-09-18 07:47:40] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24de320012d80848005dca350000500f018..."} 
[2026-09-18 07:47:40] local.INFO: Packet analysis {"connection_id":188552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24d"} 
[2026-09-18 07:47:40] local.INFO: Extracted packet for processing {"connection_id":188552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24d"} 
[2026-09-18 07:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763397248,"raw_latitude":98345808,"longitude_deg":76.3397248,"latitude_deg":9.8345808,"altitude":5,"angle":240,"satellites":24,"speed":5,"hex_longitude":"2d808480","hex_latitude":"05dca350","is_valid_coordinates":true} 
[2026-09-18 07:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162647552001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461536113524736,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185795102287355904,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789697844000,"timestamp_ms":1789697844000,"timestamp_seconds":1789697844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24de320"} 
[2026-09-18 07:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 07:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:47:40] 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-09-18 07:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162647552001,"66":13059,"251":206,"85":15104,"24":5,"16":134461536113524736,"45":-9185795102287355904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162647552001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:47:40] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461536113524736,"km_value":134461536113524.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185795102287355904,"description":"Unknown IO ID 45"} 
[2026-09-18 07:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162647552001,"power":13059,"unknown_251":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9185795102287355904}} 
[2026-09-18 07:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":188552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:47:40] local.INFO: GPS data processed {"connection_id":188552,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:47:40] local.INFO: Acknowledgment sent {"connection_id":188552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:47:41] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24deaf0012d80838005dca3000005010519..."} 
[2026-09-18 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24deaf0012d80838005dca3000005010519..."} 
[2026-09-18 07:47:41] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24deaf0012d80838005dca3000005010519..."} 
[2026-09-18 07:47:41] local.INFO: Packet analysis {"connection_id":188552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24d"} 
[2026-09-18 07:47:41] local.INFO: Extracted packet for processing {"connection_id":188552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24d"} 
[2026-09-18 07:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763396992,"raw_latitude":98345728,"longitude_deg":76.3396992,"latitude_deg":9.8345728,"altitude":5,"angle":261,"satellites":25,"speed":6,"hex_longitude":"2d808380","hex_latitude":"05dca300","is_valid_coordinates":true} 
[2026-09-18 07:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162648064001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461544703459328,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186076577264087040,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789697846000,"timestamp_ms":1789697846000,"timestamp_seconds":1789697846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24deaf0"} 
[2026-09-18 07:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684391,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":251,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2991424864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158002181,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":45057,"corrected_to":0} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2977955841,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147867826,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3014459392,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702712320,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,251,85,24,241,157,16,180,160,219,45,128,163,4,25,10,66,203,165,3,179,176,192,1,240,51,227,178,220,113,205,141,162,96,239,52,2,221,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":203,"original":45057,"validated":0},{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-09-18 07:47:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360551956059848704,"timestamp_seconds":360551956059848.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 07:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:47:41] 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-09-18 07:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162648064001,"66":13276,"251":206,"85":15104,"24":6,"16":134461544703459328,"45":-9186076577264087040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162648064001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:47:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461544703459328,"km_value":134461544703459.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186076577264087040,"description":"Unknown IO ID 45"} 
[2026-09-18 07:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162648064001,"power":13276,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9186076577264087040}} 
[2026-09-18 07:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":188552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:47:41] local.INFO: GPS data processed {"connection_id":188552,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:47:41] local.INFO: Acknowledgment sent {"connection_id":188552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:47:52] local.INFO: TCP Data received {"connection_id":185758,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:47:52] local.INFO: Processing buffer {"connection_id":185758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:47:52] local.INFO: Packet analysis {"connection_id":185758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:47:52] local.INFO: Extracted packet for processing {"connection_id":185758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:47:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":185758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:47:52] local.INFO: GPS data processed {"connection_id":185758,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:47:52] local.INFO: Acknowledgment sent {"connection_id":185758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:48:13] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:48:13] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:48:13] local.INFO: IMEI packet received {"connection_id":187239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":187239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:48:13] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24e15e8012d80724005dc9ff00007011119..."} 
[2026-09-18 07:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24e15e8012d80724005dc9ff00007011119..."} 
[2026-09-18 07:48:13] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24e15e8012d80724005dc9ff00007011119..."} 
[2026-09-18 07:48:13] local.INFO: Packet analysis {"connection_id":188552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24e"} 
[2026-09-18 07:48:13] local.INFO: Extracted packet for processing {"connection_id":188552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24e"} 
[2026-09-18 07:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763392576,"raw_latitude":98344944,"longitude_deg":76.3392576,"latitude_deg":9.8344944,"altitude":7,"angle":273,"satellites":25,"speed":5,"hex_longitude":"2d807240","hex_latitude":"05dc9ff0","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162648576001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461759451824128,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186358052240818176,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789697857000,"timestamp_ms":1789697857000,"timestamp_seconds":1789697857,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24e15e8"} 
[2026-09-18 07:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 07:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:48:13] 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-09-18 07:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162648576001,"66":13189,"251":206,"85":15104,"24":5,"16":134461759451824128,"45":-9186358052240818176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162648576001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:48:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461759451824128,"km_value":134461759451824.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186358052240818176,"description":"Unknown IO ID 45"} 
[2026-09-18 07:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162648576001,"power":13189,"unknown_251":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9186358052240818176}} 
[2026-09-18 07:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":188552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:48:13] local.INFO: GPS data processed {"connection_id":188552,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:48:13] local.INFO: Acknowledgment sent {"connection_id":188552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:48:18] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:48:18] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:48:18] local.INFO: IMEI packet received {"connection_id":187239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":187239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:48:24] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:48:24] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:48:24] local.INFO: Packet analysis {"connection_id":187239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:48:24] local.INFO: Extracted packet for processing {"connection_id":187239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:48:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":187239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:48:24] local.INFO: GPS data processed {"connection_id":187239,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:48:24] local.INFO: Acknowledgment sent {"connection_id":187239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:48:33] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:48:33] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:48:33] local.INFO: IMEI packet received {"connection_id":185760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":185760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:48:33] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:48:33] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:48:33] local.INFO: IMEI packet received {"connection_id":185760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":185760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:48:34] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24e3140012d806f4005dca0d00006014119..."} 
[2026-09-18 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24e3140012d806f4005dca0d00006014119..."} 
[2026-09-18 07:48:34] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24e3140012d806f4005dca0d00006014119..."} 
[2026-09-18 07:48:34] local.INFO: Packet analysis {"connection_id":185760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24e"} 
[2026-09-18 07:48:34] local.INFO: Extracted packet for processing {"connection_id":185760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24e"} 
[2026-09-18 07:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763391808,"raw_latitude":98345168,"longitude_deg":76.3391808,"latitude_deg":9.8345168,"altitude":6,"angle":321,"satellites":25,"speed":9,"hex_longitude":"2d806f40","hex_latitude":"05dca0d0","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162651392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461802401497088,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191213495589277696,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789697864000,"timestamp_ms":1789697864000,"timestamp_seconds":1789697864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24e3140"} 
[2026-09-18 07:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 07:48:34] 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-09-18 07: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-09-18 07:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:48:34] 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-09-18 07:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162651392001,"66":13243,"251":206,"85":15104,"24":9,"16":134461802401497088,"45":-9191213495589277696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162651392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461802401497088,"km_value":134461802401497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191213495589277696,"description":"Unknown IO ID 45"} 
[2026-09-18 07:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162651392001,"power":13243,"unknown_251":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9191213495589277696}} 
[2026-09-18 07:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":185760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:48:34] local.INFO: GPS data processed {"connection_id":185760,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:48:34] local.INFO: Acknowledgment sent {"connection_id":185760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:48:34] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24e48b0012d8068c005dca9a00007014e18..."} 
[2026-09-18 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24e48b0012d8068c005dca9a00007014e18..."} 
[2026-09-18 07:48:34] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24e48b0012d8068c005dca9a00007014e18..."} 
[2026-09-18 07:48:34] local.INFO: Packet analysis {"connection_id":185760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24e"} 
[2026-09-18 07:48:34] local.INFO: Extracted packet for processing {"connection_id":185760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24e"} 
[2026-09-18 07:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763390144,"raw_latitude":98347424,"longitude_deg":76.3390144,"latitude_deg":9.8347424,"altitude":7,"angle":334,"satellites":24,"speed":19,"hex_longitude":"2d8068c0","hex_latitude":"05dca9a0","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162653184001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134461939840450560,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192057920519352320,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789697870000,"timestamp_ms":1789697870000,"timestamp_seconds":1789697870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24e48b0"} 
[2026-09-18 07:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 07:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:48:34] 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-09-18 07:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162653184001,"66":13178,"251":206,"85":15104,"24":19,"16":134461939840450560,"45":-9192057920519352320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-18 07:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162653184001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134461939840450560,"km_value":134461939840450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192057920519352320,"description":"Unknown IO ID 45"} 
[2026-09-18 07:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162653184001,"power":13178,"unknown_251":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9192057920519352320}} 
[2026-09-18 07:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":185760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:48:34] local.INFO: GPS data processed {"connection_id":185760,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:48:34] local.INFO: Acknowledgment sent {"connection_id":185760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:48:56] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:48:56] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:48:56] local.INFO: Packet analysis {"connection_id":187239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:48:56] local.INFO: Extracted packet for processing {"connection_id":187239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:48:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:48:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":187239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:48:56] local.INFO: GPS data processed {"connection_id":187239,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:48:56] local.INFO: Acknowledgment sent {"connection_id":187239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:49:05] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24f5e08012d80530005dd43d00002002919..."} 
[2026-09-18 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24f5e08012d80530005dd43d00002002919..."} 
[2026-09-18 07:49:05] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24f5e08012d80530005dd43d00002002919..."} 
[2026-09-18 07:49:05] local.INFO: Packet analysis {"connection_id":185760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:49:05] local.INFO: Extracted packet for processing {"connection_id":185760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763384576,"raw_latitude":98386896,"longitude_deg":76.3384576,"latitude_deg":9.8386896,"altitude":2,"angle":41,"satellites":25,"speed":23,"hex_longitude":"2d805300","hex_latitude":"05dd43d0","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162672640001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134464070144229376,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200431801065928704,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789697941000,"timestamp_ms":1789697941000,"timestamp_seconds":1789697941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24f5e08"} 
[2026-09-18 07:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:49:05] 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-09-18 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 07:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:49:05] 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-09-18 07:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162672640001,"66":13526,"249":206,"85":15104,"24":23,"16":134464070144229376,"45":-9200431801065928704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-09-18 07:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162672640001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:49:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-18 07:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134464070144229376,"km_value":134464070144229.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200431801065928704,"description":"Unknown IO ID 45"} 
[2026-09-18 07:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162672640001,"power":13526,"unknown_249":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9200431801065928704}} 
[2026-09-18 07:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":185760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:49:05] local.INFO: GPS data processed {"connection_id":185760,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:49:05] local.INFO: Acknowledgment sent {"connection_id":185760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:49:28] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:49:28] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:49:28] local.INFO: IMEI packet received {"connection_id":187240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":187240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:49:31] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:49:31] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:49:31] local.INFO: IMEI packet received {"connection_id":185930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":185930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:49:33] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:49:33] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:49:33] local.INFO: IMEI packet received {"connection_id":187240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":187240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:49:34] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:49:34] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24b33a0012d34c14006aa4440000a011824..."} 
[2026-09-18 07:49:34] local.INFO: Packet analysis {"connection_id":187240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:49:34] local.INFO: Extracted packet for processing {"connection_id":187240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24b"} 
[2026-09-18 07:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162523392001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07: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-09-18 07:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789697668000,"timestamp_ms":1789697668000,"timestamp_seconds":1789697668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24b33a0"} 
[2026-09-18 07:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07: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-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:49: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-09-18 07: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-09-18 07:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:49: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-09-18 07:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162523392001,"66":25430,"32":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"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-09-18 07:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162523392001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:49:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 07:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162523392001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":187240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:49:34] local.INFO: GPS data processed {"connection_id":187240,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:49:34] local.INFO: Acknowledgment sent {"connection_id":187240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:49:35] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:49:35] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:49:35] local.INFO: IMEI packet received {"connection_id":185930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":185930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:49:37] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24f61f0012d80554005dd45100002003719..."} 
[2026-09-18 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24f61f0012d80554005dd45100002003719..."} 
[2026-09-18 07:49:37] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24f61f0012d80554005dd45100002003719..."} 
[2026-09-18 07:49:37] local.INFO: Packet analysis {"connection_id":185930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:49:37] local.INFO: Extracted packet for processing {"connection_id":185930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763385152,"raw_latitude":98387216,"longitude_deg":76.3385152,"latitude_deg":9.8387216,"altitude":2,"angle":55,"satellites":25,"speed":25,"hex_longitude":"2d805540","hex_latitude":"05dd4510","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134464104503967744,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200009588600745984,"note":"Value kept but may cause issues"} 
[2026-09-18 07:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789697942000,"timestamp_ms":1789697942000,"timestamp_seconds":1789697942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24f61f0"} 
[2026-09-18 07:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:49: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-09-18 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 07:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:49:37] 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-09-18 07:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162672896001,"66":13189,"249":206,"85":15104,"24":25,"16":134464104503967744,"45":-9200009588600745984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-09-18 07:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:49:37] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-18 07:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134464104503967744,"km_value":134464104503967.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200009588600745984,"description":"Unknown IO ID 45"} 
[2026-09-18 07:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162672896001,"power":13189,"unknown_249":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9200009588600745984}} 
[2026-09-18 07:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":185930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:49:37] local.INFO: GPS data processed {"connection_id":185930,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:49:37] local.INFO: Acknowledgment sent {"connection_id":185930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:50:09] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2503cb0012d80740005dddba80004000c19..."} 
[2026-09-18 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2503cb0012d80740005dddba80004000c19..."} 
[2026-09-18 07:50:09] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2503cb0012d80740005dddba80004000c19..."} 
[2026-09-18 07:50:09] local.INFO: Packet analysis {"connection_id":185930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b250"} 
[2026-09-18 07:50:09] local.INFO: Extracted packet for processing {"connection_id":185930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b250"} 
[2026-09-18 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":98425768,"longitude_deg":76.3393024,"latitude_deg":9.8425768,"altitude":4,"angle":12,"satellites":25,"speed":35,"hex_longitude":"2d807400","hex_latitude":"05dddba8","is_valid_coordinates":true} 
[2026-09-18 07:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162685952001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134466367951732736,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190369070639888384,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789697998000,"timestamp_ms":1789697998000,"timestamp_seconds":1789697998,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2503cb0"} 
[2026-09-18 07:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2991570864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154348549,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":221,"raw_value":6509953274271569920,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818113742,"corrected_to":0} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4026609024,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221609877,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3715874816,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57887058127902011,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-7167477512019673083,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,249,85,24,241,157,16,184,160,25,45,64,186,3,10,66,230,1,240,51,227,183,178,221,4,113,205,14,222,104,56,239,52,2,5,41,34,79],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2818113742,"validated":0}]} 
[2026-09-18 07:50:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216566514653265920,"timestamp_seconds":216566514653265.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 07:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:50:09] 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-09-18 07:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162685952001,"66":12982,"249":206,"85":15104,"24":35,"16":134466367951732736,"45":-9190369070639888384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-09-18 07:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162685952001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:50:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-18 07:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134466367951732736,"km_value":134466367951732.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190369070639888384,"description":"Unknown IO ID 45"} 
[2026-09-18 07:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162685952001,"power":12982,"unknown_249":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9190369070639888384}} 
[2026-09-18 07:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":185930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:50:09] local.INFO: GPS data processed {"connection_id":185930,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:50:09] local.INFO: Acknowledgment sent {"connection_id":185930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:50:18] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:50:18] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:50:18] local.INFO: IMEI packet received {"connection_id":187241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":187241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:50:24] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:50:24] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:50:24] local.INFO: IMEI packet received {"connection_id":187241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":187241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:50:26] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:50:26] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:50:26] local.INFO: Packet analysis {"connection_id":187241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:50:26] local.INFO: Extracted packet for processing {"connection_id":187241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:26] 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-09-18 07:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:50: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-09-18 07:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:50:26] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":187241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:50:26] local.INFO: GPS data processed {"connection_id":187241,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:50:26] local.INFO: Acknowledgment sent {"connection_id":187241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:50:34] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:34] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:34] local.INFO: IMEI packet received {"connection_id":187242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":187242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:50:36] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:36] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:36] local.INFO: IMEI packet received {"connection_id":187242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":187242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:50:38] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:38] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:38] local.INFO: IMEI packet received {"connection_id":187242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":187242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:50:40] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:40] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:50:40] local.INFO: IMEI packet received {"connection_id":187242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":187242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:50:41] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2505808012d80794005ddf3f00004016219..."} 
[2026-09-18 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2505808012d80794005ddf3f00004016219..."} 
[2026-09-18 07:50:41] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2505808012d80794005ddf3f00004016219..."} 
[2026-09-18 07:50:41] local.INFO: Packet analysis {"connection_id":187242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b250"} 
[2026-09-18 07:50:41] local.INFO: Extracted packet for processing {"connection_id":187242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b250"} 
[2026-09-18 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763394368,"raw_latitude":98431984,"longitude_deg":76.3394368,"latitude_deg":9.8431984,"altitude":4,"angle":354,"satellites":25,"speed":33,"hex_longitude":"2d807940","hex_latitude":"05ddf3f0","is_valid_coordinates":true} 
[2026-09-18 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162687488001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134466677189378048,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914359343104,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789698005000,"timestamp_ms":1789698005000,"timestamp_seconds":1789698005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2505808"} 
[2026-09-18 07:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:50: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-09-18 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 07:50:41] 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-09-18 07:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:50:41] 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-09-18 07:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162687488001,"66":13374,"249":206,"85":15104,"24":33,"16":134466677189378048,"45":-9190720914359343104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-09-18 07:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162687488001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134466677189378048,"km_value":134466677189378.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914359343104,"description":"Unknown IO ID 45"} 
[2026-09-18 07:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162687488001,"power":13374,"unknown_249":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9190720914359343104}} 
[2026-09-18 07:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":187242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:50:41] local.INFO: GPS data processed {"connection_id":187242,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:50:41] local.INFO: Acknowledgment sent {"connection_id":187242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:50:41] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2505fd8012d80770005ddfaa00004015018..."} 
[2026-09-18 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2505fd8012d80770005ddfaa00004015018..."} 
[2026-09-18 07:50:41] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2505fd8012d80770005ddfaa00004015018..."} 
[2026-09-18 07:50:41] local.INFO: Packet analysis {"connection_id":187242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b250"} 
[2026-09-18 07:50:41] local.INFO: Extracted packet for processing {"connection_id":187242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b250"} 
[2026-09-18 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763393792,"raw_latitude":98433696,"longitude_deg":76.3393792,"latitude_deg":9.8433696,"altitude":4,"angle":336,"satellites":24,"speed":36,"hex_longitude":"2d807700","hex_latitude":"05ddfaa0","is_valid_coordinates":true} 
[2026-09-18 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162689280001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134466767383691264,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189243170730020864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789698007000,"timestamp_ms":1789698007000,"timestamp_seconds":1789698007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2505fd8"} 
[2026-09-18 07:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:50: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-09-18 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 07:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:50:41] 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-09-18 07:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162689280001,"66":13048,"249":206,"85":15104,"24":36,"16":134466767383691264,"45":-9189243170730020864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-09-18 07:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162689280001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134466767383691264,"km_value":134466767383691.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189243170730020864,"description":"Unknown IO ID 45"} 
[2026-09-18 07:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162689280001,"power":13048,"unknown_249":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9189243170730020864}} 
[2026-09-18 07:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":187242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:50:41] local.INFO: GPS data processed {"connection_id":187242,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:50:41] local.INFO: Acknowledgment sent {"connection_id":187242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:50:56] local.INFO: TCP Data received {"connection_id":185759,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:50:56] local.INFO: Processing buffer {"connection_id":185759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:50:56] local.INFO: IMEI packet received {"connection_id":185759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":185759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:50:58] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:50:58] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:50:58] local.INFO: Packet analysis {"connection_id":187241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:50:58] local.INFO: Extracted packet for processing {"connection_id":187241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:50:58] 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-09-18 07:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:50: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-09-18 07:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:50:58] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":187241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:50:58] local.INFO: GPS data processed {"connection_id":187241,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:50:58] local.INFO: Acknowledgment sent {"connection_id":187241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:51:13] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:51:13] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:51:13] local.INFO: IMEI packet received {"connection_id":185761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":185761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:51:13] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2512328012d80678005dea3680005000219..."} 
[2026-09-18 07:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2512328012d80678005dea3680005000219..."} 
[2026-09-18 07:51:13] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2512328012d80678005dea3680005000219..."} 
[2026-09-18 07:51:13] local.INFO: Packet analysis {"connection_id":187242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:51:13] local.INFO: Extracted packet for processing {"connection_id":187242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763389824,"raw_latitude":98476904,"longitude_deg":76.3389824,"latitude_deg":9.8476904,"altitude":5,"angle":2,"satellites":25,"speed":25,"hex_longitude":"2d806780","hex_latitude":"05dea368","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162701824001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134468910572371968,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194591195276513280,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789698057000,"timestamp_ms":1789698057000,"timestamp_seconds":1789698057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2512328"} 
[2026-09-18 07:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 07:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:51:13] 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-09-18 07:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162701824001,"66":13624,"100":206,"85":15104,"24":25,"16":134468910572371968,"45":-9194591195276513280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-18 07:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162701824001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:51:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-18 07:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134468910572371968,"km_value":134468910572371.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194591195276513280,"description":"Unknown IO ID 45"} 
[2026-09-18 07:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162701824001,"power":13624,"unknown_100":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9194591195276513280}} 
[2026-09-18 07:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":187242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:51:13] local.INFO: GPS data processed {"connection_id":187242,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:51:13] local.INFO: Acknowledgment sent {"connection_id":187242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:51:18] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:51:18] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:51:18] local.INFO: IMEI packet received {"connection_id":185761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":185761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:51:19] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:51:19] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:51:19] local.INFO: Packet analysis {"connection_id":185761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:51:19] local.INFO: Extracted packet for processing {"connection_id":185761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:19] 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-09-18 07:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:51:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":185761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:51:19] local.INFO: GPS data processed {"connection_id":185761,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:51:19] local.INFO: Acknowledgment sent {"connection_id":185761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:51:31] local.INFO: TCP Data received {"connection_id":185931,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:31] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:31] local.INFO: IMEI packet received {"connection_id":185931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":185931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:51:32] local.INFO: TCP Data received {"connection_id":185931,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:32] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:32] local.INFO: IMEI packet received {"connection_id":185931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":185931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:51:36] local.INFO: TCP Data received {"connection_id":185931,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:36] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:51:36] local.INFO: IMEI packet received {"connection_id":185931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":185931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:51:37] local.INFO: TCP Data received {"connection_id":185931,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2512af8012d8066c005dea8a00005015c19..."} 
[2026-09-18 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2512af8012d8066c005dea8a00005015c19..."} 
[2026-09-18 07:51:37] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2512af8012d8066c005dea8a00005015c19..."} 
[2026-09-18 07:51:37] local.INFO: Packet analysis {"connection_id":185931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:51:37] local.INFO: Extracted packet for processing {"connection_id":185931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763389632,"raw_latitude":98478240,"longitude_deg":76.3389632,"latitude_deg":9.847824,"altitude":5,"angle":348,"satellites":25,"speed":27,"hex_longitude":"2d8066c0","hex_latitude":"05dea8a0","is_valid_coordinates":true} 
[2026-09-18 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162702592001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134468974996881408,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194239351555135488,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698059000,"timestamp_ms":1789698059000,"timestamp_seconds":1789698059,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2512af8"} 
[2026-09-18 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:51: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-09-18 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:51:37] 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-09-18 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162702592001,"66":13656,"100":206,"85":15104,"24":27,"16":134468974996881408,"45":-9194239351555135488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-18 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162702592001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:51:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-18 07:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134468974996881408,"km_value":134468974996881.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194239351555135488,"description":"Unknown IO ID 45"} 
[2026-09-18 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162702592001,"power":13656,"unknown_100":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9194239351555135488}} 
[2026-09-18 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":185931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:51:37] local.INFO: GPS data processed {"connection_id":185931,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:51:37] local.INFO: Acknowledgment sent {"connection_id":185931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:51:51] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:51:51] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:51:51] local.INFO: Packet analysis {"connection_id":185761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:51:51] local.INFO: Extracted packet for processing {"connection_id":185761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:51:51] 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-09-18 07:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:51: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-09-18 07:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:51:51] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":185761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:51:51] local.INFO: GPS data processed {"connection_id":185761,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:51:51] local.INFO: Acknowledgment sent {"connection_id":185761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:52:08] local.INFO: TCP Data received {"connection_id":185931,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2515208012d80600005dec5280005000219..."} 
[2026-09-18 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2515208012d80600005dec5280005000219..."} 
[2026-09-18 07:52:08] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2515208012d80600005dec5280005000219..."} 
[2026-09-18 07:52:08] local.INFO: Packet analysis {"connection_id":185931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:52:08] local.INFO: Extracted packet for processing {"connection_id":185931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":98485544,"longitude_deg":76.3387904,"latitude_deg":9.8485544,"altitude":5,"angle":2,"satellites":25,"speed":29,"hex_longitude":"2d806000","hex_latitude":"05dec528","is_valid_coordinates":true} 
[2026-09-18 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162703104001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134469344364068864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194450457787326464,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789698069000,"timestamp_ms":1789698069000,"timestamp_seconds":1789698069,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2515208"} 
[2026-09-18 07:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 07:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:52:08] 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-09-18 07:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162703104001,"66":13613,"100":206,"85":15104,"24":29,"16":134469344364068864,"45":-9194450457787326464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-18 07:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162703104001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:52:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-18 07:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134469344364068864,"km_value":134469344364068.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194450457787326464,"description":"Unknown IO ID 45"} 
[2026-09-18 07:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162703104001,"power":13613,"unknown_100":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9194450457787326464}} 
[2026-09-18 07:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":185931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:52:08] local.INFO: GPS data processed {"connection_id":185931,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:52:08] local.INFO: Acknowledgment sent {"connection_id":185931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:52:13] local.INFO: TCP Data received {"connection_id":188553,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:52:13] local.INFO: Processing buffer {"connection_id":188553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:52:13] local.INFO: IMEI packet received {"connection_id":188553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":188553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:52:18] local.INFO: TCP Data received {"connection_id":188553,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:52:18] local.INFO: Processing buffer {"connection_id":188553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:52:18] local.INFO: IMEI packet received {"connection_id":188553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":188553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:52:19] local.INFO: TCP Data received {"connection_id":188553,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:52:19] local.INFO: Processing buffer {"connection_id":188553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:52:19] local.INFO: Packet analysis {"connection_id":188553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:52:19] local.INFO: Extracted packet for processing {"connection_id":188553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:19] 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-09-18 07:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:52:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":188553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:52:19] local.INFO: GPS data processed {"connection_id":188553,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:52:19] local.INFO: Acknowledgment sent {"connection_id":188553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:52:31] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:31] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:31] local.INFO: IMEI packet received {"connection_id":185762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":185762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:52:34] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:34] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:34] local.INFO: IMEI packet received {"connection_id":185762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":185762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:52:36] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:36] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:52:36] local.INFO: IMEI packet received {"connection_id":185762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":185762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:52:37] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2517d00012d80614005dee7c80003016719..."} 
[2026-09-18 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2517d00012d80614005dee7c80003016719..."} 
[2026-09-18 07:52:37] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2517d00012d80614005dee7c80003016719..."} 
[2026-09-18 07:52:37] local.INFO: Packet analysis {"connection_id":185762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:52:37] local.INFO: Extracted packet for processing {"connection_id":185762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763388224,"raw_latitude":98494408,"longitude_deg":76.3388224,"latitude_deg":9.8494408,"altitude":3,"angle":359,"satellites":25,"speed":35,"hex_longitude":"2d806140","hex_latitude":"05dee7c8","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162705664001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134469773860798464,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350413878253568,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698080000,"timestamp_ms":1789698080000,"timestamp_seconds":1789698080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2517d00"} 
[2026-09-18 07:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:52: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-09-18 07: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-18 07:52:37] 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-09-18 07: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-09-18 07:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:52:37] 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-09-18 07:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162705664001,"66":13537,"99":206,"85":15104,"24":35,"16":134469773860798464,"45":-9196350413878253568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-18 07:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162705664001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:52:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-18 07:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134469773860798464,"km_value":134469773860798.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350413878253568,"description":"Unknown IO ID 45"} 
[2026-09-18 07:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162705664001,"power":13537,"unknown_99":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9196350413878253568}} 
[2026-09-18 07:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":185762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:52:37] local.INFO: GPS data processed {"connection_id":185762,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:52:37] local.INFO: Acknowledgment sent {"connection_id":185762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:52:39] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b251a7f8012d80600005df0bb00005016718..."} 
[2026-09-18 07:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b251a7f8012d80600005df0bb00005016718..."} 
[2026-09-18 07:52:39] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b251a7f8012d80600005df0bb00005016718..."} 
[2026-09-18 07:52:39] local.INFO: Packet analysis {"connection_id":185762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:52:39] local.INFO: Extracted packet for processing {"connection_id":185762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":98503600,"longitude_deg":76.3387904,"latitude_deg":9.85036,"altitude":5,"angle":359,"satellites":24,"speed":31,"hex_longitude":"2d806000","hex_latitude":"05df0bb0","is_valid_coordinates":true} 
[2026-09-18 07:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162708480001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134470220537397248,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195998570155096064,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789698091000,"timestamp_ms":1789698091000,"timestamp_seconds":1789698091,"priority":1,"record_length":96,"hex_timestamp":"000001a0b251a7f8"} 
[2026-09-18 07:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":225,"data_length":795,"current_offset":136} 
[2026-09-18 07:52:39] 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-09-18 07:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:52:39] 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-09-18 07:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162708480001,"66":13559,"99":206,"85":15104,"24":31,"16":134470220537397248,"45":-9195998570155096064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-18 07:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162708480001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:52:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-18 07:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134470220537397248,"km_value":134470220537397.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195998570155096064,"description":"Unknown IO ID 45"} 
[2026-09-18 07:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162708480001,"power":13559,"unknown_99":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9195998570155096064}} 
[2026-09-18 07:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":185762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:52:39] local.INFO: GPS data processed {"connection_id":185762,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:52:39] local.INFO: Acknowledgment sent {"connection_id":185762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:52:51] local.INFO: TCP Data received {"connection_id":188553,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:52:51] local.INFO: Processing buffer {"connection_id":188553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:52:51] local.INFO: Packet analysis {"connection_id":188553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:52:51] local.INFO: Extracted packet for processing {"connection_id":188553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:52:51] 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-09-18 07:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:52: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-09-18 07:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:52:51] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":188553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:52:51] local.INFO: GPS data processed {"connection_id":188553,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:52:51] local.INFO: Acknowledgment sent {"connection_id":188553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:53:15] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b251dac0012d805e4005df2ff80005015a19..."} 
[2026-09-18 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b251dac0012d805e4005df2ff80005015a19..."} 
[2026-09-18 07:53:15] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b251dac0012d805e4005df2ff80005015a19..."} 
[2026-09-18 07:53:15] local.INFO: Packet analysis {"connection_id":185762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:53:15] local.INFO: Extracted packet for processing {"connection_id":185762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b251"} 
[2026-09-18 07:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763387456,"raw_latitude":98512888,"longitude_deg":76.3387456,"latitude_deg":9.8512888,"altitude":5,"angle":346,"satellites":25,"speed":32,"hex_longitude":"2d805e40","hex_latitude":"05df2ff8","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162711296001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134470671508963328,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350413873631232,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789698104000,"timestamp_ms":1789698104000,"timestamp_seconds":1789698104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b251dac0"} 
[2026-09-18 07:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":247,"data_length":795,"current_offset":136} 
[2026-09-18 07:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:53:15] 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-09-18 07:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162711296001,"66":13450,"99":206,"85":15104,"24":32,"16":134470671508963328,"45":-9196350413873631232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-18 07:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162711296001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:53:15] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-18 07:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134470671508963328,"km_value":134470671508963.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350413873631232,"description":"Unknown IO ID 45"} 
[2026-09-18 07:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162711296001,"power":13450,"unknown_99":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9196350413873631232}} 
[2026-09-18 07:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":185762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:53:15] local.INFO: GPS data processed {"connection_id":185762,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:53:15] local.INFO: Acknowledgment sent {"connection_id":185762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:53:19] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:53:19] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:53:19] local.INFO: IMEI packet received {"connection_id":185763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":185763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:53:23] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:53:23] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:53:23] local.INFO: IMEI packet received {"connection_id":185763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":185763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:53:24] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:53:24] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:53:24] local.INFO: Packet analysis {"connection_id":185763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:53:24] local.INFO: Extracted packet for processing {"connection_id":185763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:24] 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-09-18 07:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:53:24] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":185763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:53:24] local.INFO: GPS data processed {"connection_id":185763,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:53:24] local.INFO: Acknowledgment sent {"connection_id":185763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:53:28] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:53:28] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:53:28] local.INFO: Packet analysis {"connection_id":185763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:53:28] local.INFO: Extracted packet for processing {"connection_id":185763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:28] 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-09-18 07:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:53:28] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:53:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":185763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:53:28] local.INFO: GPS data processed {"connection_id":185763,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:53:28] local.INFO: Acknowledgment sent {"connection_id":185763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:53:36] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:36] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:36] local.INFO: IMEI packet received {"connection_id":185764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":185764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:53:37] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:37] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:37] local.INFO: IMEI packet received {"connection_id":185764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":185764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:53:41] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:41] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:53:41] local.INFO: IMEI packet received {"connection_id":185764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":185764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:53:42] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25349f0012d80124005dfd378000c01461a..."} 
[2026-09-18 07:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25349f0012d80124005dfd378000c01461a..."} 
[2026-09-18 07:53:42] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25349f0012d80124005dfd378000c01461a..."} 
[2026-09-18 07:53:42] local.INFO: Packet analysis {"connection_id":185764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:53:42] local.INFO: Extracted packet for processing {"connection_id":185764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763368000,"raw_latitude":98554744,"longitude_deg":76.3368,"latitude_deg":9.8554744,"altitude":12,"angle":326,"satellites":26,"speed":8,"hex_longitude":"2d801240","hex_latitude":"05dfd378","is_valid_coordinates":true} 
[2026-09-18 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162735616001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134472922071826432,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217742512090728448,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789698198000,"timestamp_ms":1789698198000,"timestamp_seconds":1789698198,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25349f0"} 
[2026-09-18 07:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 07:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:53:42] 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-09-18 07:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162735616001,"66":13515,"99":206,"85":15104,"24":8,"16":134472922071826432,"45":-9217742512090728448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-18 07:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162735616001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:53:42] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-18 07:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134472922071826432,"km_value":134472922071826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217742512090728448,"description":"Unknown IO ID 45"} 
[2026-09-18 07:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162735616001,"power":13515,"unknown_99":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9217742512090728448}} 
[2026-09-18 07:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":185764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:53:42] local.INFO: GPS data processed {"connection_id":185764,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:53:42] local.INFO: Acknowledgment sent {"connection_id":185764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:53:47] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2535990012d800f4005dfd8f0000c01531a..."} 
[2026-09-18 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2535990012d800f4005dfd8f0000c01531a..."} 
[2026-09-18 07:53:47] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2535990012d800f4005dfd8f0000c01531a..."} 
[2026-09-18 07:53:47] local.INFO: Packet analysis {"connection_id":185764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:53:47] local.INFO: Extracted packet for processing {"connection_id":185764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763367232,"raw_latitude":98556144,"longitude_deg":76.3367232,"latitude_deg":9.8556144,"altitude":12,"angle":339,"satellites":26,"speed":21,"hex_longitude":"2d800f40","hex_latitude":"05dfd8f0","is_valid_coordinates":true} 
[2026-09-18 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162738688001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134472999381237760,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218235093299791872,"note":"Value kept but may cause issues"} 
[2026-09-18 07:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789698202000,"timestamp_ms":1789698202000,"timestamp_seconds":1789698202,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2535990"} 
[2026-09-18 07:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 07:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":185764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":185764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":185764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:53:47] 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-09-18 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162738688001,"66":13200,"99":206,"85":15104,"24":21,"16":134472999381237760,"45":-9218235093299791872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-18 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162738688001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:53:47] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-18 07:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134472999381237760,"km_value":134472999381237.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218235093299791872,"description":"Unknown IO ID 45"} 
[2026-09-18 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162738688001,"power":13200,"unknown_99":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9218235093299791872}} 
[2026-09-18 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":185764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:53:47] local.INFO: GPS data processed {"connection_id":185764,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:53:47] local.INFO: Acknowledgment sent {"connection_id":185764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:54:13] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:54:13] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:54:13] local.INFO: IMEI packet received {"connection_id":187243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":187243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:54:19] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:54:19] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:54:19] local.INFO: IMEI packet received {"connection_id":187243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":187243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:54:21] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:54:21] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:54:21] local.INFO: Packet analysis {"connection_id":187243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:54:21] local.INFO: Extracted packet for processing {"connection_id":187243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:21] 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-09-18 07:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:54:21] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":187243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:54:21] local.INFO: GPS data processed {"connection_id":187243,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:54:21] local.INFO: Acknowledgment sent {"connection_id":187243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:54:28] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:28] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:28] local.INFO: IMEI packet received {"connection_id":187244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":187244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:54:31] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:31] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:31] local.INFO: IMEI packet received {"connection_id":187244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":187244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:54:36] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:36] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:54:36] local.INFO: IMEI packet received {"connection_id":187244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":187244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:54:37] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2538c58012d8003c005dffb58000a015d1a..."} 
[2026-09-18 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2538c58012d8003c005dffb58000a015d1a..."} 
[2026-09-18 07:54:37] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2538c58012d8003c005dffb58000a015d1a..."} 
[2026-09-18 07:54:37] local.INFO: Packet analysis {"connection_id":187244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:54:37] local.INFO: Extracted packet for processing {"connection_id":187244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763364288,"raw_latitude":98564952,"longitude_deg":76.3364288,"latitude_deg":9.8564952,"altitude":10,"angle":349,"satellites":26,"speed":31,"hex_longitude":"2d8003c0","hex_latitude":"05dffb58","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162739712001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134473450352803840,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219079518229565440,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698215000,"timestamp_ms":1789698215000,"timestamp_seconds":1789698215,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2538c58"} 
[2026-09-18 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:54: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-09-18 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-18 07:54:37] 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-09-18 07: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-09-18 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:54:37] 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-09-18 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162739712001,"66":13374,"99":206,"85":15104,"24":31,"16":134473450352803840,"45":-9219079518229565440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-18 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162739712001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:54:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-18 07:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134473450352803840,"km_value":134473450352803.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219079518229565440,"description":"Unknown IO ID 45"} 
[2026-09-18 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162739712001,"power":13374,"unknown_99":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9219079518229565440}} 
[2026-09-18 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":187244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:54:37] local.INFO: GPS data processed {"connection_id":187244,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:54:37] local.INFO: Acknowledgment sent {"connection_id":187244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:54:38] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b253b368012d7ffac005e01d60000801551a..."} 
[2026-09-18 07:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b253b368012d7ffac005e01d60000801551a..."} 
[2026-09-18 07:54:38] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b253b368012d7ffac005e01d60000801551a..."} 
[2026-09-18 07:54:38] local.INFO: Packet analysis {"connection_id":187244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:54:38] local.INFO: Extracted packet for processing {"connection_id":187244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b253"} 
[2026-09-18 07:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763361984,"raw_latitude":98573664,"longitude_deg":76.3361984,"latitude_deg":9.8573664,"altitude":8,"angle":341,"satellites":26,"speed":35,"hex_longitude":"2d7ffac0","hex_latitude":"05e01d60","is_valid_coordinates":true} 
[2026-09-18 07:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162743040001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134473888439468032,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222316480459483136,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789698225000,"timestamp_ms":1789698225000,"timestamp_seconds":1789698225,"priority":1,"record_length":96,"hex_timestamp":"000001a0b253b368"} 
[2026-09-18 07:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 07:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:54:38] 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-09-18 07:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162743040001,"66":13406,"121":206,"85":15104,"24":35,"16":134473888439468032,"45":-9222316480459483136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-18 07:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162743040001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 07:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134473888439468032,"km_value":134473888439468.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222316480459483136,"description":"Unknown IO ID 45"} 
[2026-09-18 07:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162743040001,"power":13406,"unknown_121":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9222316480459483136}} 
[2026-09-18 07:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":187244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:54:38] local.INFO: GPS data processed {"connection_id":187244,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:54:38] local.INFO: Acknowledgment sent {"connection_id":187244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:54:53] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:54:53] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b24fd720012d34c14006aa4440000a011825..."} 
[2026-09-18 07:54:53] local.INFO: Packet analysis {"connection_id":187243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:54:53] local.INFO: Extracted packet for processing {"connection_id":187243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b24f"} 
[2026-09-18 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:54:53] 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-09-18 07:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789697972000,"timestamp_ms":1789697972000,"timestamp_seconds":1789697972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b24fd720"} 
[2026-09-18 07:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 07:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162603008001,"66":25441,"142":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 07:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:54:53] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 07:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162603008001,"power":25441,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":187243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:54:53] local.INFO: GPS data processed {"connection_id":187243,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:54:53] local.INFO: Acknowledgment sent {"connection_id":187243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:55:09] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2549dc8012d7fa24005e0df400009011f19..."} 
[2026-09-18 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2549dc8012d7fa24005e0df400009011f19..."} 
[2026-09-18 07:55:09] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2549dc8012d7fa24005e0df400009011f19..."} 
[2026-09-18 07:55:09] local.INFO: Packet analysis {"connection_id":187244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:09] local.INFO: Extracted packet for processing {"connection_id":187244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":98623296,"longitude_deg":76.3339328,"latitude_deg":9.8623296,"altitude":9,"angle":287,"satellites":25,"speed":28,"hex_longitude":"2d7fa240","hex_latitude":"05e0df40","is_valid_coordinates":true} 
[2026-09-18 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162758912001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134476697348079616,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202683651313170432,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789698285000,"timestamp_ms":1789698285000,"timestamp_seconds":1789698285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2549dc8"} 
[2026-09-18 07:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 07:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:55:09] 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-09-18 07:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162758912001,"66":13493,"122":206,"85":15104,"24":28,"16":134476697348079616,"45":9202683651313170432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-09-18 07:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162758912001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:55:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 07:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134476697348079616,"km_value":134476697348079.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202683651313170432,"description":"Unknown IO ID 45"} 
[2026-09-18 07:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162758912001,"power":13493,"unknown_122":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9202683651313170432}} 
[2026-09-18 07:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":187244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:55:09] local.INFO: GPS data processed {"connection_id":187244,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:55:09] local.INFO: Acknowledgment sent {"connection_id":187244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:55:13] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:55:13] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:55:13] local.INFO: IMEI packet received {"connection_id":188555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:55:18] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:55:18] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:55:18] local.INFO: IMEI packet received {"connection_id":188555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":188555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:55:19] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:55:19] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:55:19] local.INFO: Packet analysis {"connection_id":188555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:19] local.INFO: Extracted packet for processing {"connection_id":188555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:55:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":188555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:55:19] local.INFO: GPS data processed {"connection_id":188555,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:55:19] local.INFO: Acknowledgment sent {"connection_id":188555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:55:31] local.INFO: TCP Data received {"connection_id":187245,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:31] local.INFO: Processing buffer {"connection_id":187245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:31] local.INFO: IMEI packet received {"connection_id":187245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":187245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:55:32] local.INFO: TCP Data received {"connection_id":187245,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:32] local.INFO: Processing buffer {"connection_id":187245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:32] local.INFO: IMEI packet received {"connection_id":187245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":187245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:55:36] local.INFO: TCP Data received {"connection_id":187245,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:36] local.INFO: Processing buffer {"connection_id":187245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:55:36] local.INFO: IMEI packet received {"connection_id":187245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":187245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:55:37] local.INFO: TCP Data received {"connection_id":187245,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b254b538012d7f8fc005e0e208000901141a..."} 
[2026-09-18 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b254b538012d7f8fc005e0e208000901141a..."} 
[2026-09-18 07:55:37] local.INFO: Processing buffer {"connection_id":187245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b254b538012d7f8fc005e0e208000901141a..."} 
[2026-09-18 07:55:37] local.INFO: Packet analysis {"connection_id":187245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:37] local.INFO: Extracted packet for processing {"connection_id":187245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":98624008,"longitude_deg":76.3334592,"latitude_deg":9.8624008,"altitude":9,"angle":276,"satellites":26,"speed":33,"hex_longitude":"2d7f8fc0","hex_latitude":"05e0e208","is_valid_coordinates":true} 
[2026-09-18 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-09-18 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162760960001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134476929276313600,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983783035715584,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698291000,"timestamp_ms":1789698291000,"timestamp_seconds":1789698291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b254b538"} 
[2026-09-18 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-09-18 07:55: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-09-18 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 07:55:37] 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-09-18 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-09-18 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-09-18 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:55:37] 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-09-18 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162760960001,"66":13243,"122":206,"85":15104,"24":33,"16":134476929276313600,"45":9196983783035715584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-09-18 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162760960001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:55:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 07:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134476929276313600,"km_value":134476929276313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983783035715584,"description":"Unknown IO ID 45"} 
[2026-09-18 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162760960001,"power":13243,"unknown_122":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9196983783035715584}} 
[2026-09-18 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":187245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:55:37] local.INFO: GPS data processed {"connection_id":187245,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:55:37] local.INFO: Acknowledgment sent {"connection_id":187245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:55:38] local.INFO: TCP Data received {"connection_id":187245,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b254e418012d7f6c0005e0e570000901181b..."} 
[2026-09-18 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b254e418012d7f6c0005e0e570000901181b..."} 
[2026-09-18 07:55:38] local.INFO: Processing buffer {"connection_id":187245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b254e418012d7f6c0005e0e570000901181b..."} 
[2026-09-18 07:55:38] local.INFO: Packet analysis {"connection_id":187245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:38] local.INFO: Extracted packet for processing {"connection_id":187245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763325440,"raw_latitude":98624880,"longitude_deg":76.332544,"latitude_deg":9.862488,"altitude":9,"angle":280,"satellites":27,"speed":25,"hex_longitude":"2d7f6c00","hex_latitude":"05e0e570","is_valid_coordinates":true} 
[2026-09-18 07:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162762496001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134477367362977792,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495966750720,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789698303000,"timestamp_ms":1789698303000,"timestamp_seconds":1789698303,"priority":1,"record_length":96,"hex_timestamp":"000001a0b254e418"} 
[2026-09-18 07:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 07:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:55:38] 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-09-18 07:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162762496001,"66":13102,"122":206,"85":15104,"24":25,"16":134477367362977792,"45":9191776495966750720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-09-18 07:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162762496001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:55:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 07:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134477367362977792,"km_value":134477367362977.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495966750720,"description":"Unknown IO ID 45"} 
[2026-09-18 07:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162762496001,"power":13102,"unknown_122":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9191776495966750720}} 
[2026-09-18 07:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":187245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:55:38] local.INFO: GPS data processed {"connection_id":187245,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:55:38] local.INFO: Acknowledgment sent {"connection_id":187245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:55:51] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:55:51] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:55:51] local.INFO: Packet analysis {"connection_id":188555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:51] local.INFO: Extracted packet for processing {"connection_id":188555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:55:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":188555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:55:51] local.INFO: GPS data processed {"connection_id":188555,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:55:51] local.INFO: Acknowledgment sent {"connection_id":188555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:56:09] local.INFO: TCP Data received {"connection_id":187245,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b254f7a0012d7f638005e0e6500009010d1b..."} 
[2026-09-18 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b254f7a0012d7f638005e0e6500009010d1b..."} 
[2026-09-18 07:56:09] local.INFO: Processing buffer {"connection_id":187245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b254f7a0012d7f638005e0e6500009010d1b..."} 
[2026-09-18 07:56:09] local.INFO: Packet analysis {"connection_id":187245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:56:09] local.INFO: Extracted packet for processing {"connection_id":187245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763323264,"raw_latitude":98625104,"longitude_deg":76.3323264,"latitude_deg":9.8625104,"altitude":9,"angle":269,"satellites":27,"speed":9,"hex_longitude":"2d7f6380","hex_latitude":"05e0e650","is_valid_coordinates":true} 
[2026-09-18 07:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162765568001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134477470442192896,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181713765549568000,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789698308000,"timestamp_ms":1789698308000,"timestamp_seconds":1789698308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b254f7a0"} 
[2026-09-18 07:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 07:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:56:09] 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-09-18 07:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162765568001,"66":13048,"122":206,"85":15104,"24":9,"16":134477470442192896,"45":9181713765549568000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-09-18 07:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162765568001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:56:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 07:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134477470442192896,"km_value":134477470442192.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181713765549568000,"description":"Unknown IO ID 45"} 
[2026-09-18 07:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162765568001,"power":13048,"unknown_122":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9181713765549568000}} 
[2026-09-18 07:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":187245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:56:09] local.INFO: GPS data processed {"connection_id":187245,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:56:09] local.INFO: Acknowledgment sent {"connection_id":187245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:56:13] local.INFO: TCP Data received {"connection_id":185932,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:56:13] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:56:13] local.INFO: IMEI packet received {"connection_id":185932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":185932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:56:18] local.INFO: TCP Data received {"connection_id":185932,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:56:18] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:56:18] local.INFO: IMEI packet received {"connection_id":185932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":185932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:56:19] local.INFO: TCP Data received {"connection_id":185932,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:56:19] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:56:19] local.INFO: Packet analysis {"connection_id":185932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:56:19] local.INFO: Extracted packet for processing {"connection_id":185932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:56:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":185932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:56:19] local.INFO: GPS data processed {"connection_id":185932,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:56:19] local.INFO: Acknowledgment sent {"connection_id":185932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:56:29] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:29] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:29] local.INFO: IMEI packet received {"connection_id":185765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":185765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:56:31] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:31] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:31] local.INFO: IMEI packet received {"connection_id":185765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":185765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:56:31] local.INFO: TCP Data received {"connection_id":188554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:56:31] local.INFO: Processing buffer {"connection_id":188554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 07:56:31] local.INFO: IMEI packet received {"connection_id":188554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":188554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:56:31] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:31] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:31] local.INFO: IMEI packet received {"connection_id":185765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":185765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:56:36] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:36] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:56:36] local.INFO: IMEI packet received {"connection_id":185765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":185765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:56:37] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2552a68012d7f620005e0e680000801201a..."} 
[2026-09-18 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2552a68012d7f620005e0e680000801201a..."} 
[2026-09-18 07:56:37] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2552a68012d7f620005e0e680000801201a..."} 
[2026-09-18 07:56:37] local.INFO: Packet analysis {"connection_id":185765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b255"} 
[2026-09-18 07:56:37] local.INFO: Extracted packet for processing {"connection_id":185765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b255"} 
[2026-09-18 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763322880,"raw_latitude":98625152,"longitude_deg":76.332288,"latitude_deg":9.8625152,"altitude":8,"angle":288,"satellites":26,"speed":3,"hex_longitude":"2d7f6200","hex_latitude":"05e0e680","is_valid_coordinates":true} 
[2026-09-18 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162766848001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134477491917029376,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179321228247584768,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698321000,"timestamp_ms":1789698321000,"timestamp_seconds":1789698321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2552a68"} 
[2026-09-18 07:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:56: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-09-18 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 07:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:56:37] 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-09-18 07:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162766848001,"66":13243,"122":206,"85":15104,"24":3,"16":134477491917029376,"45":9179321228247584768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-09-18 07:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162766848001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:56:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 07:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134477491917029376,"km_value":134477491917029.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179321228247584768,"description":"Unknown IO ID 45"} 
[2026-09-18 07:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162766848001,"power":13243,"unknown_122":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9179321228247584768}} 
[2026-09-18 07:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":185765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:56:37] local.INFO: GPS data processed {"connection_id":185765,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:56:37] local.INFO: Acknowledgment sent {"connection_id":185765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:56:51] local.INFO: TCP Data received {"connection_id":185932,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:56:51] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:56:51] local.INFO: Packet analysis {"connection_id":185932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:56:51] local.INFO: Extracted packet for processing {"connection_id":185932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:56:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":185932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:56:51] local.INFO: GPS data processed {"connection_id":185932,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:56:51] local.INFO: Acknowledgment sent {"connection_id":185932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:57:09] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2567288012d7e5c8005e0dac0000201091b..."} 
[2026-09-18 07:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2567288012d7e5c8005e0dac0000201091b..."} 
[2026-09-18 07:57:09] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2567288012d7e5c8005e0dac0000201091b..."} 
[2026-09-18 07:57:09] local.INFO: Packet analysis {"connection_id":185765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b256"} 
[2026-09-18 07:57:09] local.INFO: Extracted packet for processing {"connection_id":185765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b256"} 
[2026-09-18 07:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763255936,"raw_latitude":98622144,"longitude_deg":76.3255936,"latitude_deg":9.8622144,"altitude":2,"angle":265,"satellites":27,"speed":48,"hex_longitude":"2d7e5c80","hex_latitude":"05e0dac0","is_valid_coordinates":true} 
[2026-09-18 07:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162789632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134480859171389440,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115567146021847040,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789698405000,"timestamp_ms":1789698405000,"timestamp_seconds":1789698405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2567288"} 
[2026-09-18 07:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 07:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:57:09] 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-09-18 07:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162789632001,"66":13580,"103":206,"85":15104,"24":48,"16":134480859171389440,"45":9115567146021847040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 07:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162789632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:57:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 07:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134480859171389440,"km_value":134480859171389.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115567146021847040,"description":"Unknown IO ID 45"} 
[2026-09-18 07:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162789632001,"power":13580,"unknown_103":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9115567146021847040}} 
[2026-09-18 07:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":185765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:57:09] local.INFO: GPS data processed {"connection_id":185765,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:57:09] local.INFO: Acknowledgment sent {"connection_id":185765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:57:18] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:57:18] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:57:18] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:57:23] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:57:23] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:57:23] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:57:24] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:57:24] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:57:24] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:57:24] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:57:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:57:24] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:57:24] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:57:29] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:57:29] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:57:29] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:57:29] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:57:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:57:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:57:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:57:29] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:57:29] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:57:31] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:57:31] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:57:31] local.INFO: IMEI packet received {"connection_id":185933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":185933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:57:34] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:57:34] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:57:34] local.INFO: IMEI packet received {"connection_id":185933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":185933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:57:35] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2568de0012d7e394005e0dad8000101151b..."} 
[2026-09-18 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2568de0012d7e394005e0dad8000101151b..."} 
[2026-09-18 07:57:35] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2568de0012d7e394005e0dad8000101151b..."} 
[2026-09-18 07:57:35] local.INFO: Packet analysis {"connection_id":185933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b256"} 
[2026-09-18 07:57:35] local.INFO: Extracted packet for processing {"connection_id":185933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b256"} 
[2026-09-18 07:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":98622168,"longitude_deg":76.3246912,"latitude_deg":9.8622168,"altitude":1,"angle":277,"satellites":27,"speed":44,"hex_longitude":"2d7e3940","hex_latitude":"05e0dad8","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162791680001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134481288668119040,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105293309371924480,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789698412000,"timestamp_ms":1789698412000,"timestamp_seconds":1789698412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2568de0"} 
[2026-09-18 07:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635908,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2991981864,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":583497699735633930,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3903324163,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633105741797479,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483145422,"corrected_to":0} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802136,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3297378304,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3773982720,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-2702153312668483580,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561123740995157,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-09-18 07:57:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,85,24,241,157,16,197,160,83,45,218,3,27,10,66,55,192,220,196,48,1,240,94,227,178,224,4,113,205,37,184,40,239,50,2,221,5,30,126,53,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1483145422,"validated":0}]} 
[2026-09-18 07:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144406674624479232,"timestamp_seconds":144406674624479.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 07:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:57:35] 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-09-18 07:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162791680001,"66":13341,"103":206,"85":15104,"24":44,"16":134481288668119040,"45":9105293309371924480},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 07:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162791680001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:57:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 07:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134481288668119040,"km_value":134481288668119.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105293309371924480,"description":"Unknown IO ID 45"} 
[2026-09-18 07:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162791680001,"power":13341,"unknown_103":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9105293309371924480}} 
[2026-09-18 07:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":185933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:57:35] local.INFO: GPS data processed {"connection_id":185933,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:57:35] local.INFO: Acknowledgment sent {"connection_id":185933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:58:06] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2577070012d7e1b4005e15540000a01611b..."} 
[2026-09-18 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2577070012d7e1b4005e15540000a01611b..."} 
[2026-09-18 07:58:06] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2577070012d7e1b4005e15540000a01611b..."} 
[2026-09-18 07:58:06] local.INFO: Packet analysis {"connection_id":185933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b257"} 
[2026-09-18 07:58:06] local.INFO: Extracted packet for processing {"connection_id":185933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b257"} 
[2026-09-18 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763239232,"raw_latitude":98653504,"longitude_deg":76.3239232,"latitude_deg":9.8653504,"altitude":10,"angle":353,"satellites":27,"speed":55,"hex_longitude":"2d7e1b40","hex_latitude":"05e15540","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162806528001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134483247173206016,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088052967054057472,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789698470000,"timestamp_ms":1789698470000,"timestamp_seconds":1789698470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2577070"} 
[2026-09-18 07:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 07:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:58:06] 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-09-18 07:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162806528001,"66":13624,"105":206,"85":15104,"24":55,"16":134483247173206016,"45":9088052967054057472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-18 07:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162806528001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:58:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 07:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134483247173206016,"km_value":134483247173206.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088052967054057472,"description":"Unknown IO ID 45"} 
[2026-09-18 07:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162806528001,"power":13624,"unknown_105":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9088052967054057472}} 
[2026-09-18 07:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":185933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:58:06] local.INFO: GPS data processed {"connection_id":185933,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:58:06] local.INFO: Acknowledgment sent {"connection_id":185933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:58:13] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:58:13] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:58:13] local.INFO: IMEI packet received {"connection_id":185935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":185935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:58:18] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:58:18] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:58:18] local.INFO: IMEI packet received {"connection_id":185935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":185935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:58:19] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:19] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:19] local.INFO: Packet analysis {"connection_id":185935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:58:19] local.INFO: Extracted packet for processing {"connection_id":185935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:58:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":185935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:58:19] local.INFO: GPS data processed {"connection_id":185935,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:58:19] local.INFO: Acknowledgment sent {"connection_id":185935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:58:24] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:24] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:24] local.INFO: Packet analysis {"connection_id":185935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:58:24] local.INFO: Extracted packet for processing {"connection_id":185935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:58:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":185935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:58:24] local.INFO: GPS data processed {"connection_id":185935,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:58:24] local.INFO: Acknowledgment sent {"connection_id":185935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:58:31] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:58:31] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:58:31] local.INFO: IMEI packet received {"connection_id":188557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":188557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:58:36] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:58:36] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:58:36] local.INFO: IMEI packet received {"connection_id":188557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":188557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:58:37] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2578bc8012d7e174005e17b30000900011a..."} 
[2026-09-18 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2578bc8012d7e174005e17b30000900011a..."} 
[2026-09-18 07:58:37] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2578bc8012d7e174005e17b30000900011a..."} 
[2026-09-18 07:58:37] local.INFO: Packet analysis {"connection_id":188557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b257"} 
[2026-09-18 07:58:37] local.INFO: Extracted packet for processing {"connection_id":188557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b257"} 
[2026-09-18 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763238208,"raw_latitude":98663216,"longitude_deg":76.3238208,"latitude_deg":9.8663216,"altitude":9,"angle":1,"satellites":26,"speed":55,"hex_longitude":"2d7e1740","hex_latitude":"05e17b30","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162808320001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134483719619608576,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086927067149582336,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698477000,"timestamp_ms":1789698477000,"timestamp_seconds":1789698477,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2578bc8"} 
[2026-09-18 07:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:58: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-09-18 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 07:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:58:37] 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-09-18 07:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162808320001,"66":13613,"105":206,"85":15104,"24":55,"16":134483719619608576,"45":9086927067149582336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-18 07:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162808320001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:58:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 07:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134483719619608576,"km_value":134483719619608.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086927067149582336,"description":"Unknown IO ID 45"} 
[2026-09-18 07:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162808320001,"power":13613,"unknown_105":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9086927067149582336}} 
[2026-09-18 07:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":188557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:58:37] local.INFO: GPS data processed {"connection_id":188557,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:58:37] local.INFO: Acknowledgment sent {"connection_id":188557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:58:59] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:59] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:58:59] local.INFO: Packet analysis {"connection_id":185935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:58:59] local.INFO: Extracted packet for processing {"connection_id":185935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07: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-09-18 07:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07: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-09-18 07:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:58:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":185935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:58:59] local.INFO: GPS data processed {"connection_id":185935,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:58:59] local.INFO: Acknowledgment sent {"connection_id":185935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:59:09] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2584748012d7e1e8005e20ec0000601141b..."} 
[2026-09-18 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2584748012d7e1e8005e20ec0000601141b..."} 
[2026-09-18 07:59:09] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2584748012d7e1e8005e20ec0000601141b..."} 
[2026-09-18 07:59:09] local.INFO: Packet analysis {"connection_id":188557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 07:59:09] local.INFO: Extracted packet for processing {"connection_id":188557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98700992,"longitude_deg":76.3240064,"latitude_deg":9.8700992,"altitude":6,"angle":276,"satellites":27,"speed":24,"hex_longitude":"2d7e1e80","hex_latitude":"05e20ec0","is_valid_coordinates":true} 
[2026-09-18 07:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162821632001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134485721074368512,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089952923161300992,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789698525000,"timestamp_ms":1789698525000,"timestamp_seconds":1789698525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2584748"} 
[2026-09-18 07:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:59: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-09-18 07:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 07:59:09] 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-09-18 07:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:59:09] 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-09-18 07:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162821632001,"66":13613,"198":206,"85":15104,"24":24,"16":134485721074368512,"45":9089952923161300992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-18 07:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162821632001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:59:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-18 07:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134485721074368512,"km_value":134485721074368.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089952923161300992,"description":"Unknown IO ID 45"} 
[2026-09-18 07:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162821632001,"power":13613,"unknown_198":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9089952923161300992}} 
[2026-09-18 07:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":188557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:59:09] local.INFO: GPS data processed {"connection_id":188557,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:59:09] local.INFO: Acknowledgment sent {"connection_id":188557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:59:15] local.INFO: TCP Data received {"connection_id":185767,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:59:15] local.INFO: Processing buffer {"connection_id":185767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:59:15] local.INFO: IMEI packet received {"connection_id":185767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 07:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":185767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:59:19] local.INFO: TCP Data received {"connection_id":185767,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:59:19] local.INFO: Processing buffer {"connection_id":185767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 07:59:19] local.INFO: IMEI packet received {"connection_id":185767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 07:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":185767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:59:20] local.INFO: TCP Data received {"connection_id":185767,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:20] local.INFO: Processing buffer {"connection_id":185767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:20] local.INFO: Packet analysis {"connection_id":185767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:59:20] local.INFO: Extracted packet for processing {"connection_id":185767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":185767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:59:20] local.INFO: GPS data processed {"connection_id":185767,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:59:20] local.INFO: Acknowledgment sent {"connection_id":185767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:59:23] local.INFO: TCP Data received {"connection_id":185767,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:23] local.INFO: Processing buffer {"connection_id":185767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2545f48012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:23] local.INFO: Packet analysis {"connection_id":185767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:59:23] local.INFO: Extracted packet for processing {"connection_id":185767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b254"} 
[2026-09-18 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162680832001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789698269000,"timestamp_ms":1789698269000,"timestamp_seconds":1789698269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2545f48"} 
[2026-09-18 07:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 07:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 07:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162680832001,"66":25397,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162680832001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:59:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162680832001,"power":25397,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":185767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:59:23] local.INFO: GPS data processed {"connection_id":185767,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:59:23] local.INFO: Acknowledgment sent {"connection_id":185767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:59:31] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:59:31] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:59:31] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 07:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 07:59:36] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:59:36] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 07:59:36] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 07:59:38] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2587628012d7dfcc005e21240000801041b..."} 
[2026-09-18 07:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2587628012d7dfcc005e21240000801041b..."} 
[2026-09-18 07:59:38] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2587628012d7dfcc005e21240000801041b..."} 
[2026-09-18 07:59:38] local.INFO: Packet analysis {"connection_id":188558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 07:59:38] local.INFO: Extracted packet for processing {"connection_id":188558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763231424,"raw_latitude":98701888,"longitude_deg":76.3231424,"latitude_deg":9.8701888,"altitude":8,"angle":260,"satellites":27,"speed":37,"hex_longitude":"2d7dfcc0","hex_latitude":"05e21240","is_valid_coordinates":true} 
[2026-09-18 07:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162822400001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134486137686196224,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860836048896,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789698537000,"timestamp_ms":1789698537000,"timestamp_seconds":1789698537,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2587628"} 
[2026-09-18 07:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 07:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-18 07:59:38] 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-09-18 07:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 07:59:38] 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-09-18 07:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 07:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 07:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162822400001,"66":13602,"198":206,"85":15104,"24":37,"16":134486137686196224,"45":9087841860836048896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-18 07:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 07:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 07:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162822400001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:59:38] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-18 07:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 07:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134486137686196224,"km_value":134486137686196.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860836048896,"description":"Unknown IO ID 45"} 
[2026-09-18 07:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162822400001,"power":13602,"unknown_198":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9087841860836048896}} 
[2026-09-18 07:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":188558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:59:38] local.INFO: GPS data processed {"connection_id":188558,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:59:38] local.INFO: Acknowledgment sent {"connection_id":188558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 07:59:55] local.INFO: TCP Data received {"connection_id":185767,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:55] local.INFO: Processing buffer {"connection_id":185767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 07:59:55] local.INFO: Packet analysis {"connection_id":185767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 07:59:55] local.INFO: Extracted packet for processing {"connection_id":185767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 07:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 07:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 07:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 07:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 07:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 07:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 07:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 07:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 07:59: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-09-18 07:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 07:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 07:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 07:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 07:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 07:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 07:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 07:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 07:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 07:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 07:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 07:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 07:59:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 07:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 07:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 07:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 07:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 07:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":185767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 07:59:55] local.INFO: GPS data processed {"connection_id":185767,"processed":1,"errors":0,"total":1} 
[2026-09-18 07:59:55] local.INFO: Acknowledgment sent {"connection_id":185767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:00:09] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25889b0012d7de98005e20c00000800f71b..."} 
[2026-09-18 08:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25889b0012d7de98005e20c00000800f71b..."} 
[2026-09-18 08:00:09] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25889b0012d7de98005e20c00000800f71b..."} 
[2026-09-18 08:00:09] local.INFO: Packet analysis {"connection_id":188558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:09] local.INFO: Extracted packet for processing {"connection_id":188558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763226496,"raw_latitude":98700288,"longitude_deg":76.3226496,"latitude_deg":9.8700288,"altitude":8,"angle":247,"satellites":27,"speed":41,"hex_longitude":"2d7de980","hex_latitude":"05e20c00","is_valid_coordinates":true} 
[2026-09-18 08:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162825472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134486386794299392,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078342080372293632,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789698542000,"timestamp_ms":1789698542000,"timestamp_seconds":1789698542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25889b0"} 
[2026-09-18 08:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:00: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-09-18 08:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 08:00:09] 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-09-18 08:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:00:09] 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-09-18 08:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162825472001,"66":13428,"198":206,"85":15104,"24":41,"16":134486386794299392,"45":9078342080372293632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-18 08:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162825472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:00:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-18 08:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134486386794299392,"km_value":134486386794299.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078342080372293632,"description":"Unknown IO ID 45"} 
[2026-09-18 08:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162825472001,"power":13428,"unknown_198":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9078342080372293632}} 
[2026-09-18 08:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":188558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:00:09] local.INFO: GPS data processed {"connection_id":188558,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:00:09] local.INFO: Acknowledgment sent {"connection_id":188558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:00:13] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:00:13] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:00:13] local.INFO: IMEI packet received {"connection_id":187246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":187246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:00:18] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:00:18] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:00:18] local.INFO: IMEI packet received {"connection_id":187246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":187246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:00:19] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:00:19] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:00:19] local.INFO: Packet analysis {"connection_id":187246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:19] local.INFO: Extracted packet for processing {"connection_id":187246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:00:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":187246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:00:19] local.INFO: GPS data processed {"connection_id":187246,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:00:19] local.INFO: Acknowledgment sent {"connection_id":187246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:00:31] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:31] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:31] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:00:33] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:33] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:33] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:00:36] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:36] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:00:36] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:00:37] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258acd8012d7dc74005e1fc58000801001b..."} 
[2026-09-18 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258acd8012d7dc74005e1fc58000801001b..."} 
[2026-09-18 08:00:37] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258acd8012d7dc74005e1fc58000801001b..."} 
[2026-09-18 08:00:37] local.INFO: Packet analysis {"connection_id":188559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:37] local.INFO: Extracted packet for processing {"connection_id":188559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763217728,"raw_latitude":98696280,"longitude_deg":76.3217728,"latitude_deg":9.869628,"altitude":8,"angle":256,"satellites":27,"speed":31,"hex_longitude":"2d7dc740","hex_latitude":"05e1fc58","is_valid_coordinates":true} 
[2026-09-18 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162826752001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134486846355800064,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072923687070203904,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698551000,"timestamp_ms":1789698551000,"timestamp_seconds":1789698551,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258acd8"} 
[2026-09-18 08:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:00: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-09-18 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 08:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:00:37] 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-09-18 08:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162826752001,"66":13428,"198":206,"85":15104,"24":31,"16":134486846355800064,"45":9072923687070203904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-18 08:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162826752001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:00:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-18 08:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134486846355800064,"km_value":134486846355800.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072923687070203904,"description":"Unknown IO ID 45"} 
[2026-09-18 08:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162826752001,"power":13428,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9072923687070203904}} 
[2026-09-18 08:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":188559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:00:37] local.INFO: GPS data processed {"connection_id":188559,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:00:37] local.INFO: Acknowledgment sent {"connection_id":188559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:00:52] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:00:52] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:00:52] local.INFO: Packet analysis {"connection_id":187246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:52] local.INFO: Extracted packet for processing {"connection_id":187246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:00:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":187246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:00:52] local.INFO: GPS data processed {"connection_id":187246,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:00:52] local.INFO: Acknowledgment sent {"connection_id":187246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:01:08] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258b4a8012d7dc08005e1fba00009010d1b..."} 
[2026-09-18 08:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258b4a8012d7dc08005e1fba00009010d1b..."} 
[2026-09-18 08:01:08] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258b4a8012d7dc08005e1fba00009010d1b..."} 
[2026-09-18 08:01:08] local.INFO: Packet analysis {"connection_id":188559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:01:08] local.INFO: Extracted packet for processing {"connection_id":188559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763216000,"raw_latitude":98696096,"longitude_deg":76.3216,"latitude_deg":9.8696096,"altitude":9,"angle":269,"satellites":27,"speed":33,"hex_longitude":"2d7dc080","hex_latitude":"05e1fba0","is_valid_coordinates":true} 
[2026-09-18 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162829056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134486927960178688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063283169116837888,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789698553000,"timestamp_ms":1789698553000,"timestamp_seconds":1789698553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258b4a8"} 
[2026-09-18 08:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:01: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-09-18 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 08:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:01:08] 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-09-18 08:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162829056001,"66":13493,"198":206,"85":15104,"24":33,"16":134486927960178688,"45":9063283169116837888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-18 08:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162829056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:01:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-18 08:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134486927960178688,"km_value":134486927960178.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063283169116837888,"description":"Unknown IO ID 45"} 
[2026-09-18 08:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162829056001,"power":13493,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9063283169116837888}} 
[2026-09-18 08:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":188559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:01:08] local.INFO: GPS data processed {"connection_id":188559,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:01:08] local.INFO: Acknowledgment sent {"connection_id":188559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:01:13] local.INFO: TCP Data received {"connection_id":185768,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:01:13] local.INFO: Processing buffer {"connection_id":185768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:01:13] local.INFO: IMEI packet received {"connection_id":185768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":185768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:01:18] local.INFO: TCP Data received {"connection_id":185768,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:01:18] local.INFO: Processing buffer {"connection_id":185768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:01:18] local.INFO: IMEI packet received {"connection_id":185768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":185768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:01:19] local.INFO: TCP Data received {"connection_id":185768,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:01:19] local.INFO: Processing buffer {"connection_id":185768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:01:19] local.INFO: Packet analysis {"connection_id":185768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:01:19] local.INFO: Extracted packet for processing {"connection_id":185768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:01: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-09-18 08:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:01:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":185768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:01:19] local.INFO: GPS data processed {"connection_id":185768,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:01:19] local.INFO: Acknowledgment sent {"connection_id":185768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:01:32] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:32] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:32] local.INFO: IMEI packet received {"connection_id":185769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":185769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:01:35] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:35] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:35] local.INFO: IMEI packet received {"connection_id":185769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":185769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:01:36] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:36] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:36] local.INFO: IMEI packet received {"connection_id":185769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":185769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:01:38] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:38] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:01:38] local.INFO: IMEI packet received {"connection_id":185769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":185769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:01:39] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25acfb8012d7c754005e211e80003011a1e..."} 
[2026-09-18 08:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25acfb8012d7c754005e211e80003011a1e..."} 
[2026-09-18 08:01:39] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25acfb8012d7c754005e211e80003011a1e..."} 
[2026-09-18 08:01:39] local.INFO: Packet analysis {"connection_id":185769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25a"} 
[2026-09-18 08:01:39] local.INFO: Extracted packet for processing {"connection_id":185769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25a"} 
[2026-09-18 08:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763131200,"raw_latitude":98701800,"longitude_deg":76.31312,"latitude_deg":9.87018,"altitude":3,"angle":282,"satellites":30,"speed":35,"hex_longitude":"2d7c7540","hex_latitude":"05e211e8","is_valid_coordinates":true} 
[2026-09-18 08:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162861568001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134491025358979072,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978136988662800384,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:39] 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-09-18 08:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789698691000,"timestamp_ms":1789698691000,"timestamp_seconds":1789698691,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25acfb8"} 
[2026-09-18 08:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:01:39] 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-09-18 08:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162861568001,"66":13102,"43":206,"85":15104,"24":35,"16":134491025358979072,"45":8978136988662800384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-18 08:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162861568001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:01:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 08:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134491025358979072,"km_value":134491025358979.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978136988662800384,"description":"Unknown IO ID 45"} 
[2026-09-18 08:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162861568001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8978136988662800384}} 
[2026-09-18 08:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":185769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:01:39] local.INFO: GPS data processed {"connection_id":185769,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:01:39] local.INFO: Acknowledgment sent {"connection_id":185769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:01:52] local.INFO: TCP Data received {"connection_id":185768,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:01:52] local.INFO: Processing buffer {"connection_id":185768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:01:52] local.INFO: Packet analysis {"connection_id":185768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:01:52] local.INFO: Extracted packet for processing {"connection_id":185768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:01:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":185768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:01:52] local.INFO: GPS data processed {"connection_id":185768,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:01:52] local.INFO: Acknowledgment sent {"connection_id":185768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:02:06] local.INFO: TCP Data received {"connection_id":185766,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:02:06] local.INFO: Processing buffer {"connection_id":185766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:02:06] local.INFO: IMEI packet received {"connection_id":185766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":185766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:02:10] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25adb70012d7c6ac005e212f80003010e1e..."} 
[2026-09-18 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25adb70012d7c6ac005e212f80003010e1e..."} 
[2026-09-18 08:02:10] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25adb70012d7c6ac005e212f80003010e1e..."} 
[2026-09-18 08:02:10] local.INFO: Packet analysis {"connection_id":185769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25a"} 
[2026-09-18 08:02:10] local.INFO: Extracted packet for processing {"connection_id":185769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25a"} 
[2026-09-18 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763128512,"raw_latitude":98702072,"longitude_deg":76.3128512,"latitude_deg":9.8702072,"altitude":3,"angle":270,"satellites":30,"speed":33,"hex_longitude":"2d7c6ac0","hex_latitude":"05e212f8","is_valid_coordinates":true} 
[2026-09-18 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162864896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134491154207997952,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968144626990049280,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:10] 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-09-18 08:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789698694000,"timestamp_ms":1789698694000,"timestamp_seconds":1789698694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25adb70"} 
[2026-09-18 08:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 08:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:02:10] 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-09-18 08:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162864896001,"66":13059,"43":206,"85":15104,"24":33,"16":134491154207997952,"45":8968144626990049280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-18 08:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162864896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:02:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 08:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134491154207997952,"km_value":134491154207997.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968144626990049280,"description":"Unknown IO ID 45"} 
[2026-09-18 08:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162864896001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8968144626990049280}} 
[2026-09-18 08:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":185769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:02:10] local.INFO: GPS data processed {"connection_id":185769,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:02:10] local.INFO: Acknowledgment sent {"connection_id":185769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:02:18] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:02:18] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:02:18] local.INFO: IMEI packet received {"connection_id":185936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":185936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:02:24] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:02:25] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:02:25] local.INFO: IMEI packet received {"connection_id":185936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":185936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:02:26] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:02:26] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:02:26] local.INFO: Packet analysis {"connection_id":185936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:02:26] local.INFO: Extracted packet for processing {"connection_id":185936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:02: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-09-18 08: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-09-18 08:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:02:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":185936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:02:26] local.INFO: GPS data processed {"connection_id":185936,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:02:26] local.INFO: Acknowledgment sent {"connection_id":185936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:02:31] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:02:31] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:02:31] local.INFO: IMEI packet received {"connection_id":187247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":187247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:02:33] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:02:33] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:02:33] local.INFO: IMEI packet received {"connection_id":187247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":187247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:02:34] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25ae728012d7c620005e211f0000200ff1d..."} 
[2026-09-18 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25ae728012d7c620005e211f0000200ff1d..."} 
[2026-09-18 08:02:34] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25ae728012d7c620005e211f0000200ff1d..."} 
[2026-09-18 08:02:34] local.INFO: Packet analysis {"connection_id":187247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25a"} 
[2026-09-18 08:02:34] local.INFO: Extracted packet for processing {"connection_id":187247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25a"} 
[2026-09-18 08:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763126272,"raw_latitude":98701808,"longitude_deg":76.3126272,"latitude_deg":9.8701808,"altitude":2,"angle":255,"satellites":29,"speed":27,"hex_longitude":"2d7c6200","hex_latitude":"05e211f0","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162865664001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134491257287213056,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965189139734657024,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789698697000,"timestamp_ms":1789698697000,"timestamp_seconds":1789698697,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25ae728"} 
[2026-09-18 08:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:02: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-09-18 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168834555214,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399447,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2992230864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3449487360,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792513024,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,85,24,241,157,16,206,160,207,45,64,17,3,30,10,66,156,192,4,98,128,1,240,79,227,178,226,113,205,11,233,229,120,31,239,50,2,221,5,8,23],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-18 08:02:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216469779104464896,"timestamp_seconds":216469779104464.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:02:34] 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-09-18 08:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162865664001,"66":13526,"43":206,"85":15104,"24":27,"16":134491257287213056,"45":8965189139734657024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-18 08:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162865664001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:02:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 08:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134491257287213056,"km_value":134491257287213.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965189139734657024,"description":"Unknown IO ID 45"} 
[2026-09-18 08:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162865664001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8965189139734657024}} 
[2026-09-18 08:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":187247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:02:34] local.INFO: GPS data processed {"connection_id":187247,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:02:34] local.INFO: Acknowledgment sent {"connection_id":187247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:02:58] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:02:58] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:02:58] local.INFO: Packet analysis {"connection_id":185936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:02:58] local.INFO: Extracted packet for processing {"connection_id":185936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":185936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:02:58] local.INFO: GPS data processed {"connection_id":185936,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:02:58] local.INFO: Acknowledgment sent {"connection_id":185936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:03:05] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25c13f0012d7bd48005e1dc80000901031f..."} 
[2026-09-18 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25c13f0012d7bd48005e1dc80000901031f..."} 
[2026-09-18 08:03:05] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25c13f0012d7bd48005e1dc80000901031f..."} 
[2026-09-18 08:03:05] local.INFO: Packet analysis {"connection_id":187247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25c"} 
[2026-09-18 08:03:05] local.INFO: Extracted packet for processing {"connection_id":187247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25c"} 
[2026-09-18 08:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763090048,"raw_latitude":98688128,"longitude_deg":76.3090048,"latitude_deg":9.8688128,"altitude":9,"angle":259,"satellites":31,"speed":20,"hex_longitude":"2d7bd480","hex_latitude":"05e1dc80","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162882816001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134493340346351616,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092478976000,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789698774000,"timestamp_ms":1789698774000,"timestamp_seconds":1789698774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25c13f0"} 
[2026-09-18 08:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:03: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-09-18 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 08:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:03:05] 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-09-18 08:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162882816001,"66":13341,"43":206,"85":15104,"24":20,"16":134493340346351616,"45":8931975092478976000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-18 08:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162882816001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:03:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 08:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134493340346351616,"km_value":134493340346351.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092478976000,"description":"Unknown IO ID 45"} 
[2026-09-18 08:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162882816001,"power":13341,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8931975092478976000}} 
[2026-09-18 08:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":187247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:03:05] local.INFO: GPS data processed {"connection_id":187247,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:03:05] local.INFO: Acknowledgment sent {"connection_id":187247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:03:13] local.INFO: TCP Data received {"connection_id":185770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:03:13] local.INFO: Processing buffer {"connection_id":185770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:03:13] local.INFO: IMEI packet received {"connection_id":185770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":185770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:03:18] local.INFO: TCP Data received {"connection_id":185770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:03:18] local.INFO: Processing buffer {"connection_id":185770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:03:18] local.INFO: IMEI packet received {"connection_id":185770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":185770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:03:21] local.INFO: TCP Data received {"connection_id":185770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:03:21] local.INFO: Processing buffer {"connection_id":185770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:03:21] local.INFO: Packet analysis {"connection_id":185770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:03:21] local.INFO: Extracted packet for processing {"connection_id":185770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:03:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":185770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:03:21] local.INFO: GPS data processed {"connection_id":185770,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:03:21] local.INFO: Acknowledgment sent {"connection_id":185770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:03:31] local.INFO: TCP Data received {"connection_id":185937,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:31] local.INFO: Processing buffer {"connection_id":185937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:31] local.INFO: IMEI packet received {"connection_id":185937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":185937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:03:32] local.INFO: TCP Data received {"connection_id":185937,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:32] local.INFO: Processing buffer {"connection_id":185937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:32] local.INFO: IMEI packet received {"connection_id":185937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":185937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:03:36] local.INFO: TCP Data received {"connection_id":185937,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:36] local.INFO: Processing buffer {"connection_id":185937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:03:36] local.INFO: IMEI packet received {"connection_id":185937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":185937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:03:36] local.INFO: TCP Data received {"connection_id":185937,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25c17d8012d7bd2c005e1dbc8000a00f61f..."} 
[2026-09-18 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25c17d8012d7bd2c005e1dbc8000a00f61f..."} 
[2026-09-18 08:03:36] local.INFO: Processing buffer {"connection_id":185937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25c17d8012d7bd2c005e1dbc8000a00f61f..."} 
[2026-09-18 08:03:36] local.INFO: Packet analysis {"connection_id":185937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25c"} 
[2026-09-18 08:03:36] local.INFO: Extracted packet for processing {"connection_id":185937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25c"} 
[2026-09-18 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763089600,"raw_latitude":98687944,"longitude_deg":76.30896,"latitude_deg":9.8687944,"altitude":10,"angle":246,"satellites":31,"speed":21,"hex_longitude":"2d7bd2c0","hex_latitude":"05e1dbc8","is_valid_coordinates":true} 
[2026-09-18 08:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162886144001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134493361821188096,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922897524480311296,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789698775000,"timestamp_ms":1789698775000,"timestamp_seconds":1789698775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25c17d8"} 
[2026-09-18 08:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:03: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-09-18 08:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 08:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:03:36] 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-09-18 08:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162886144001,"66":13341,"43":206,"85":15104,"24":21,"16":134493361821188096,"45":8922897524480311296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-18 08:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162886144001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:03:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 08:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134493361821188096,"km_value":134493361821188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922897524480311296,"description":"Unknown IO ID 45"} 
[2026-09-18 08:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162886144001,"power":13341,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8922897524480311296}} 
[2026-09-18 08:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":185937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:03:37] local.INFO: GPS data processed {"connection_id":185937,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:03:37] local.INFO: Acknowledgment sent {"connection_id":185937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:03:54] local.INFO: TCP Data received {"connection_id":185770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:03:54] local.INFO: Processing buffer {"connection_id":185770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:03:54] local.INFO: Packet analysis {"connection_id":185770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:03:54] local.INFO: Extracted packet for processing {"connection_id":185770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:03:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":185770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:03:54] local.INFO: GPS data processed {"connection_id":185770,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:03:54] local.INFO: Acknowledgment sent {"connection_id":185770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:04:08] local.INFO: TCP Data received {"connection_id":185937,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25c1fa8012d7bcec005e1d968000900e81e..."} 
[2026-09-18 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25c1fa8012d7bcec005e1d968000900e81e..."} 
[2026-09-18 08:04:08] local.INFO: Processing buffer {"connection_id":185937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25c1fa8012d7bcec005e1d968000900e81e..."} 
[2026-09-18 08:04:08] local.INFO: Packet analysis {"connection_id":185937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25c"} 
[2026-09-18 08:04:08] local.INFO: Extracted packet for processing {"connection_id":185937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25c"} 
[2026-09-18 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763088576,"raw_latitude":98687336,"longitude_deg":76.3088576,"latitude_deg":9.8687336,"altitude":9,"angle":232,"satellites":30,"speed":22,"hex_longitude":"2d7bcec0","hex_latitude":"05e1d968","is_valid_coordinates":true} 
[2026-09-18 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162886400001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134493417655762944,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922404943271020544,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789698777000,"timestamp_ms":1789698777000,"timestamp_seconds":1789698777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25c1fa8"} 
[2026-09-18 08:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:04: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-09-18 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 08:04:08] 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-09-18 08:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:04:08] 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-09-18 08:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162886400001,"66":13319,"43":206,"85":15104,"24":22,"16":134493417655762944,"45":8922404943271020544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-18 08:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162886400001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:04:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 08:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134493417655762944,"km_value":134493417655762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922404943271020544,"description":"Unknown IO ID 45"} 
[2026-09-18 08:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162886400001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8922404943271020544}} 
[2026-09-18 08:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":185937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:04:08] local.INFO: GPS data processed {"connection_id":185937,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:04:08] local.INFO: Acknowledgment sent {"connection_id":185937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:04:13] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:04:13] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:04:13] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:04:19] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:04:19] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:04:19] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:04:19] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:04:19] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:04:19] local.INFO: Packet analysis {"connection_id":188560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:04:19] local.INFO: Extracted packet for processing {"connection_id":188560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:04:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":188560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:04:19] local.INFO: GPS data processed {"connection_id":188560,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:04:19] local.INFO: Acknowledgment sent {"connection_id":188560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:04:31] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:04:31] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:04:31] local.INFO: IMEI packet received {"connection_id":188561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":188561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:04:35] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:04:35] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:04:35] local.INFO: IMEI packet received {"connection_id":188561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":188561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:04:36] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d40b8012d7b400005e1a7d8000300b31e..."} 
[2026-09-18 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d40b8012d7b400005e1a7d8000300b31e..."} 
[2026-09-18 08:04:36] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d40b8012d7b400005e1a7d8000300b31e..."} 
[2026-09-18 08:04:36] local.INFO: Packet analysis {"connection_id":188561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:04:36] local.INFO: Extracted packet for processing {"connection_id":188561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763052032,"raw_latitude":98674648,"longitude_deg":76.3052032,"latitude_deg":9.8674648,"altitude":3,"angle":179,"satellites":30,"speed":14,"hex_longitude":"2d7b4000","hex_latitude":"05e1a7d8","is_valid_coordinates":true} 
[2026-09-18 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162905344001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881239227923849216,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134495350391046144,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:36] 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-09-18 08:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789698851000,"timestamp_ms":1789698851000,"timestamp_seconds":1789698851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d40b8"} 
[2026-09-18 08:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:04: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-09-18 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 08:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:04:36] 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-09-18 08:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162905344001,"66":13450,"45":8881239227923849216,"85":15104,"24":14,"16":134495350391046144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162905344001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881239227923849216,"description":"Unknown IO ID 45"} 
[2026-09-18 08:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134495350391046144,"km_value":134495350391046.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:04:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162905344001,"power":13450,"unknown_45":8881239227923849216,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-09-18 08:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":188561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:04:36] local.INFO: GPS data processed {"connection_id":188561,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:04:36] local.INFO: Acknowledgment sent {"connection_id":188561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:04:53] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:04:53] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b258e770012d34c14006aa4440000a011826..."} 
[2026-09-18 08:04:53] local.INFO: Packet analysis {"connection_id":188560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:04:53] local.INFO: Extracted packet for processing {"connection_id":188560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b258"} 
[2026-09-18 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162756864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789698566000,"timestamp_ms":1789698566000,"timestamp_seconds":1789698566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b258e770"} 
[2026-09-18 08:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 08:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162756864001,"66":25441,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162756864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:04:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162756864001,"power":25441,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":188560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:04:53] local.INFO: GPS data processed {"connection_id":188560,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:04:53] local.INFO: Acknowledgment sent {"connection_id":188560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:05:07] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d4888012d7b410005e1a448000300a71c..."} 
[2026-09-18 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d4888012d7b410005e1a448000300a71c..."} 
[2026-09-18 08:05:07] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d4888012d7b410005e1a448000300a71c..."} 
[2026-09-18 08:05:07] local.INFO: Packet analysis {"connection_id":188561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:07] local.INFO: Extracted packet for processing {"connection_id":188561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98673736,"longitude_deg":76.3052288,"latitude_deg":9.8673736,"altitude":3,"angle":167,"satellites":28,"speed":18,"hex_longitude":"2d7b4100","hex_latitude":"05e1a448","is_valid_coordinates":true} 
[2026-09-18 08:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162905856001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881098490435328000,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134495393340719104,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:07] 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-09-18 08:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789698853000,"timestamp_ms":1789698853000,"timestamp_seconds":1789698853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d4888"} 
[2026-09-18 08:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 08:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:05:07] 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-09-18 08:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162905856001,"66":13396,"45":8881098490435328000,"85":15104,"24":18,"16":134495393340719104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162905856001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881098490435328000,"description":"Unknown IO ID 45"} 
[2026-09-18 08:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134495393340719104,"km_value":134495393340719.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:05:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162905856001,"power":13396,"unknown_45":8881098490435328000,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-09-18 08:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":188561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:05:07] local.INFO: GPS data processed {"connection_id":188561,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:05:07] local.INFO: Acknowledgment sent {"connection_id":188561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:05:14] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:05:14] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:05:14] local.INFO: IMEI packet received {"connection_id":187248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":187248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:05:18] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:05:18] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:05:18] local.INFO: IMEI packet received {"connection_id":187248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":187248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:05:21] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:21] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:21] local.INFO: Packet analysis {"connection_id":187248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:21] local.INFO: Extracted packet for processing {"connection_id":187248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:05:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":187248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:05:21] local.INFO: GPS data processed {"connection_id":187248,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:05:21] local.INFO: Acknowledgment sent {"connection_id":187248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:05:24] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:24] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:24] local.INFO: Packet analysis {"connection_id":187248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:24] local.INFO: Extracted packet for processing {"connection_id":187248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:05:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":187248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:05:24] local.INFO: GPS data processed {"connection_id":187248,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:05:24] local.INFO: Acknowledgment sent {"connection_id":187248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:05:31] local.INFO: TCP Data received {"connection_id":185938,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:05:31] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:05:31] local.INFO: IMEI packet received {"connection_id":185938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":185938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:05:36] local.INFO: TCP Data received {"connection_id":185938,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:05:36] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:05:36] local.INFO: IMEI packet received {"connection_id":185938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":185938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:05:36] local.INFO: TCP Data received {"connection_id":185938,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d7380012d7b47c005e17ee8000400ab16..."} 
[2026-09-18 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d7380012d7b47c005e17ee8000400ab16..."} 
[2026-09-18 08:05:36] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d7380012d7b47c005e17ee8000400ab16..."} 
[2026-09-18 08:05:36] local.INFO: Packet analysis {"connection_id":185938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:36] local.INFO: Extracted packet for processing {"connection_id":185938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763054016,"raw_latitude":98664168,"longitude_deg":76.3054016,"latitude_deg":9.8664168,"altitude":4,"angle":171,"satellites":22,"speed":38,"hex_longitude":"2d7b47c0","hex_latitude":"05e17ee8","is_valid_coordinates":true} 
[2026-09-18 08:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162906368001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965411805184,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134495865787121664,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:36] 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-09-18 08:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789698864000,"timestamp_ms":1789698864000,"timestamp_seconds":1789698864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d7380"} 
[2026-09-18 08:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 08:05:36] 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-09-18 08:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:05:36] 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-09-18 08:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162906368001,"66":13406,"45":8881379965411805184,"85":15104,"24":38,"16":134495865787121664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162906368001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965411805184,"description":"Unknown IO ID 45"} 
[2026-09-18 08:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134495865787121664,"km_value":134495865787121.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:05:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162906368001,"power":13406,"unknown_45":8881379965411805184,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-09-18 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":185938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:05:37] local.INFO: GPS data processed {"connection_id":185938,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:05:37] local.INFO: Acknowledgment sent {"connection_id":185938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:05:55] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:55] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:05:55] local.INFO: Packet analysis {"connection_id":187248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:55] local.INFO: Extracted packet for processing {"connection_id":187248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:05:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:05:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":187248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:05:55] local.INFO: GPS data processed {"connection_id":187248,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:05:55] local.INFO: Acknowledgment sent {"connection_id":187248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:06:08] local.INFO: TCP Data received {"connection_id":185938,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d9a90012d7b4bc005e15d60000200bb16..."} 
[2026-09-18 08:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d9a90012d7b4bc005e15d60000200bb16..."} 
[2026-09-18 08:06:08] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d9a90012d7b4bc005e15d60000200bb16..."} 
[2026-09-18 08:06:08] local.INFO: Packet analysis {"connection_id":185938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:06:08] local.INFO: Extracted packet for processing {"connection_id":185938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98655584,"longitude_deg":76.305504,"latitude_deg":9.8655584,"altitude":2,"angle":187,"satellites":22,"speed":14,"hex_longitude":"2d7b4bc0","hex_latitude":"05e15d60","is_valid_coordinates":true} 
[2026-09-18 08:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162909184001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921502152704,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134496286693916672,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:08] 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-09-18 08:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789698874000,"timestamp_ms":1789698874000,"timestamp_seconds":1789698874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d9a90"} 
[2026-09-18 08:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:06: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-09-18 08:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 08:06:08] 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-09-18 08:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:06:08] 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-09-18 08:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162909184001,"66":12809,"45":8883279921502152704,"85":15104,"24":14,"16":134496286693916672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162909184001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921502152704,"description":"Unknown IO ID 45"} 
[2026-09-18 08:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134496286693916672,"km_value":134496286693916.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:06:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162909184001,"power":12809,"unknown_45":8883279921502152704,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-09-18 08:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":185938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:06:08] local.INFO: GPS data processed {"connection_id":185938,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:06:08] local.INFO: Acknowledgment sent {"connection_id":185938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:06:13] local.INFO: TCP Data received {"connection_id":185772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:06:13] local.INFO: Processing buffer {"connection_id":185772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:06:13] local.INFO: IMEI packet received {"connection_id":185772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":185772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:06:18] local.INFO: TCP Data received {"connection_id":185772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:06:18] local.INFO: Processing buffer {"connection_id":185772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:06:18] local.INFO: IMEI packet received {"connection_id":185772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":185772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:06:19] local.INFO: TCP Data received {"connection_id":185772,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:06:19] local.INFO: Processing buffer {"connection_id":185772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:06:19] local.INFO: Packet analysis {"connection_id":185772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:06:19] local.INFO: Extracted packet for processing {"connection_id":185772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 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-09-18 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:06:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":185772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:06:19] local.INFO: GPS data processed {"connection_id":185772,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:06:19] local.INFO: Acknowledgment sent {"connection_id":185772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:06:31] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:31] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:31] local.INFO: IMEI packet received {"connection_id":185939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":185939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:06:32] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:32] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:32] local.INFO: IMEI packet received {"connection_id":185939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":185939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:06:36] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:36] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:06:36] local.INFO: IMEI packet received {"connection_id":185939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":185939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:06:37] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25efe08012d7b2a4005e249800004016218..."} 
[2026-09-18 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25efe08012d7b2a4005e249800004016218..."} 
[2026-09-18 08:06:37] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25efe08012d7b2a4005e249800004016218..."} 
[2026-09-18 08:06:37] local.INFO: Packet analysis {"connection_id":185939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25e"} 
[2026-09-18 08:06:37] local.INFO: Extracted packet for processing {"connection_id":185939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25e"} 
[2026-09-18 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98716032,"longitude_deg":76.3046464,"latitude_deg":9.8716032,"altitude":4,"angle":354,"satellites":24,"speed":29,"hex_longitude":"2d7b2a40","hex_latitude":"05e24980","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162931712001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876383784583641088,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134499327530762240,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:37] 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-09-18 08:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698965000,"timestamp_ms":1789698965000,"timestamp_seconds":1789698965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25efe08"} 
[2026-09-18 08:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 08:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:06:37] 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-09-18 08:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162931712001,"66":13124,"45":8876383784583641088,"85":15104,"24":29,"16":134499327530762240},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162931712001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876383784583641088,"description":"Unknown IO ID 45"} 
[2026-09-18 08:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134499327530762240,"km_value":134499327530762.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:06:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162931712001,"power":13124,"unknown_45":8876383784583641088,"unknown_85":15104,"ignition":29,"odometer":null}} 
[2026-09-18 08:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":185939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:06:37] local.INFO: GPS data processed {"connection_id":185939,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:06:37] local.INFO: Acknowledgment sent {"connection_id":185939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:06:51] local.INFO: TCP Data received {"connection_id":185772,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:06:51] local.INFO: Processing buffer {"connection_id":185772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:06:51] local.INFO: Packet analysis {"connection_id":185772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:06:51] local.INFO: Extracted packet for processing {"connection_id":185772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:06:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":185772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:06:51] local.INFO: GPS data processed {"connection_id":185772,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:06:51] local.INFO: Acknowledgment sent {"connection_id":185772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:07:08] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25f30d0012d7b264005e26da80004015f19..."} 
[2026-09-18 08:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25f30d0012d7b264005e26da80004015f19..."} 
[2026-09-18 08:07:08] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25f30d0012d7b264005e26da80004015f19..."} 
[2026-09-18 08:07:08] local.INFO: Packet analysis {"connection_id":185939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:07:08] local.INFO: Extracted packet for processing {"connection_id":185939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":98725288,"longitude_deg":76.304544,"latitude_deg":9.8725288,"altitude":4,"angle":351,"satellites":25,"speed":29,"hex_longitude":"2d7b2640","hex_latitude":"05e26da8","is_valid_coordinates":true} 
[2026-09-18 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162935040001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409702465536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134499778502328320,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:08] 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-09-18 08:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789698978000,"timestamp_ms":1789698978000,"timestamp_seconds":1789698978,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25f30d0"} 
[2026-09-18 08:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:07: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-09-18 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-18 08:07: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-09-18 08:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:07:08] 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-09-18 08:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162935040001,"66":13526,"45":8874976409702465536,"85":15104,"24":29,"16":134499778502328320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162935040001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409702465536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134499778502328320,"km_value":134499778502328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:07:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162935040001,"power":13526,"unknown_45":8874976409702465536,"unknown_85":15104,"ignition":29,"odometer":null}} 
[2026-09-18 08:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":185939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:07:08] local.INFO: GPS data processed {"connection_id":185939,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:07:08] local.INFO: Acknowledgment sent {"connection_id":185939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:07:13] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:07:13] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:07:13] local.INFO: IMEI packet received {"connection_id":188562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:07:18] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:07:18] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:07:18] local.INFO: IMEI packet received {"connection_id":188562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":188562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:07:21] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:07:21] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:07:21] local.INFO: Packet analysis {"connection_id":188562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:07:21] local.INFO: Extracted packet for processing {"connection_id":188562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:07:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":188562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:07:21] local.INFO: GPS data processed {"connection_id":188562,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:07:21] local.INFO: Acknowledgment sent {"connection_id":188562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:07:31] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:31] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:31] local.INFO: IMEI packet received {"connection_id":187249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":187249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:07:34] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:34] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:34] local.INFO: IMEI packet received {"connection_id":187249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":187249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:07:36] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:36] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:07:36] local.INFO: IMEI packet received {"connection_id":187249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":187249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:07:37] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25f6398012d7b208005e290280003016119..."} 
[2026-09-18 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25f6398012d7b208005e290280003016119..."} 
[2026-09-18 08:07:37] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25f6398012d7b208005e290280003016119..."} 
[2026-09-18 08:07:37] local.INFO: Packet analysis {"connection_id":187249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:07:37] local.INFO: Extracted packet for processing {"connection_id":187249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98734120,"longitude_deg":76.3043968,"latitude_deg":9.873412,"altitude":3,"angle":353,"satellites":25,"speed":21,"hex_longitude":"2d7b2080","hex_latitude":"05e29028","is_valid_coordinates":true} 
[2026-09-18 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162938368001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850509797992448,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134500216588992512,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:37] 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-09-18 08:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789698991000,"timestamp_ms":1789698991000,"timestamp_seconds":1789698991,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25f6398"} 
[2026-09-18 08:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:07: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-09-18 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 08:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:07:37] 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-09-18 08:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162938368001,"66":13406,"45":8873850509797992448,"85":15104,"24":21,"16":134500216588992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 08:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162938368001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850509797992448,"description":"Unknown IO ID 45"} 
[2026-09-18 08:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134500216588992512,"km_value":134500216588992.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:07:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458162938368001,"power":13406,"unknown_45":8873850509797992448,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-09-18 08:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":187249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:07:37] local.INFO: GPS data processed {"connection_id":187249,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:07:37] local.INFO: Acknowledgment sent {"connection_id":187249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:07:41] local.INFO: TCP Data received {"connection_id":185771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:07:41] local.INFO: Processing buffer {"connection_id":185771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:07:41] local.INFO: IMEI packet received {"connection_id":185771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":185771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:07:52] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:07:52] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:07:52] local.INFO: Packet analysis {"connection_id":188562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:07:52] local.INFO: Extracted packet for processing {"connection_id":188562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:07:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":188562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:07:52] local.INFO: GPS data processed {"connection_id":188562,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:07:52] local.INFO: Acknowledgment sent {"connection_id":188562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:08:08] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25f9278012d7b1b4005e2b2380000016516..."} 
[2026-09-18 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25f9278012d7b1b4005e2b2380000016516..."} 
[2026-09-18 08:08:08] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25f9278012d7b1b4005e2b2380000016516..."} 
[2026-09-18 08:08:08] local.INFO: Packet analysis {"connection_id":187249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:08:08] local.INFO: Extracted packet for processing {"connection_id":187249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763042624,"raw_latitude":98742840,"longitude_deg":76.3042624,"latitude_deg":9.874284,"altitude":0,"angle":357,"satellites":22,"speed":37,"hex_longitude":"2d7b1b40","hex_latitude":"05e2b238","is_valid_coordinates":true} 
[2026-09-18 08:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162941696001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134500646085722112,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028684167168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:08] 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-09-18 08:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789699003000,"timestamp_ms":1789699003000,"timestamp_seconds":1789699003,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25f9278"} 
[2026-09-18 08:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 08:08:08] 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-09-18 08:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:08:08] 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-09-18 08:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162941696001,"66":13319,"207":206,"85":15104,"24":37,"16":134500646085722112,"45":8872232028684167168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-18 08:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162941696001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:08:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-18 08:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134500646085722112,"km_value":134500646085722.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028684167168,"description":"Unknown IO ID 45"} 
[2026-09-18 08:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162941696001,"power":13319,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8872232028684167168}} 
[2026-09-18 08:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":187249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:08:08] local.INFO: GPS data processed {"connection_id":187249,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:08:08] local.INFO: Acknowledgment sent {"connection_id":187249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:08:11] local.INFO: TCP Data received {"connection_id":185940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:08:11] local.INFO: Processing buffer {"connection_id":185940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:08:11] local.INFO: IMEI packet received {"connection_id":185940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":185940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:08:13] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:08:13] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:08:13] local.INFO: IMEI packet received {"connection_id":185941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":185941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:08:18] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:08:18] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:08:18] local.INFO: IMEI packet received {"connection_id":185941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":185941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:08:19] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:08:19] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:08:19] local.INFO: Packet analysis {"connection_id":185941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:08:19] local.INFO: Extracted packet for processing {"connection_id":185941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:08:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":185941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:08:19] local.INFO: GPS data processed {"connection_id":185941,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:08:19] local.INFO: Acknowledgment sent {"connection_id":185941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:08:36] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:08:36] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:08:36] local.INFO: IMEI packet received {"connection_id":185942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":185942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:08:37] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:08:37] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:08:37] local.INFO: IMEI packet received {"connection_id":185942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":185942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:08:39] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25fb5a0012d7b15c005e2d5600000016016..."} 
[2026-09-18 08:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25fb5a0012d7b15c005e2d5600000016016..."} 
[2026-09-18 08:08:39] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25fb5a0012d7b15c005e2d5600000016016..."} 
[2026-09-18 08:08:39] local.INFO: Packet analysis {"connection_id":185942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:08:39] local.INFO: Extracted packet for processing {"connection_id":185942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":98751840,"longitude_deg":76.3041216,"latitude_deg":9.875184,"altitude":0,"angle":352,"satellites":22,"speed":40,"hex_longitude":"2d7b15c0","hex_latitude":"05e2d560","is_valid_coordinates":true} 
[2026-09-18 08:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162944768001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134501084172386304,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870754285058668544,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] 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-09-18 08:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789699012000,"timestamp_ms":1789699012000,"timestamp_seconds":1789699012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25fb5a0"} 
[2026-09-18 08:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2992532864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3583836160,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789436928,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":94,"raw_value":5919983005031137285,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4917930780180475136,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:39] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,207,85,24,241,157,16,215,160,99,45,128,144,3,25,10,66,48,64,109,4,214,254,1,240,68,227,178,226,113,205,28,152,51,19,239,52,2,221,5,49,242,94,225],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-18 08:08:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":392620142821376,"timestamp_seconds":392620142821.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:08:39] 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-09-18 08:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162944768001,"66":13461,"207":206,"85":15104,"24":40,"16":134501084172386304,"45":8870754285058668544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-18 08:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162944768001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:08:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-18 08:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134501084172386304,"km_value":134501084172386.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870754285058668544,"description":"Unknown IO ID 45"} 
[2026-09-18 08:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162944768001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8870754285058668544}} 
[2026-09-18 08:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":185942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:08:39] local.INFO: GPS data processed {"connection_id":185942,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:08:39] local.INFO: Acknowledgment sent {"connection_id":185942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:08:42] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25fd8c8012d7b0fc005e2f7a80000015f15..."} 
[2026-09-18 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25fd8c8012d7b0fc005e2f7a80000015f15..."} 
[2026-09-18 08:08:42] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25fd8c8012d7b0fc005e2f7a80000015f15..."} 
[2026-09-18 08:08:42] local.INFO: Packet analysis {"connection_id":185942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:08:42] local.INFO: Extracted packet for processing {"connection_id":185942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25f"} 
[2026-09-18 08:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98760616,"longitude_deg":76.303968,"latitude_deg":9.8760616,"altitude":0,"angle":351,"satellites":21,"speed":35,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2f7a8","is_valid_coordinates":true} 
[2026-09-18 08:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162947072001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134501517964083200,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172689063936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:42] 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-09-18 08:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789699021000,"timestamp_ms":1789699021000,"timestamp_seconds":1789699021,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25fd8c8"} 
[2026-09-18 08:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:08: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-09-18 08: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 08:08:42] 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-09-18 08:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:08:42] 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-09-18 08:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162947072001,"66":13178,"207":206,"85":15104,"24":35,"16":134501517964083200,"45":8869206172689063936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-18 08:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162947072001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:08:42] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-18 08:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134501517964083200,"km_value":134501517964083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172689063936,"description":"Unknown IO ID 45"} 
[2026-09-18 08:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162947072001,"power":13178,"unknown_207":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8869206172689063936}} 
[2026-09-18 08:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":185942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:08:42] local.INFO: GPS data processed {"connection_id":185942,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:08:42] local.INFO: Acknowledgment sent {"connection_id":185942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:08:51] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:08:51] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:08:51] local.INFO: Packet analysis {"connection_id":185941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:08:51] local.INFO: Extracted packet for processing {"connection_id":185941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:08: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-09-18 08: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:08:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":185941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:08:51] local.INFO: GPS data processed {"connection_id":185941,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:08:51] local.INFO: Acknowledgment sent {"connection_id":185941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:09:13] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2601360012d7b094005e31a700000015814..."} 
[2026-09-18 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2601360012d7b094005e31a700000015814..."} 
[2026-09-18 08:09:13] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2601360012d7b094005e31a700000015814..."} 
[2026-09-18 08:09:13] local.INFO: Packet analysis {"connection_id":185942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b260"} 
[2026-09-18 08:09:13] local.INFO: Extracted packet for processing {"connection_id":185942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b260"} 
[2026-09-18 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98769520,"longitude_deg":76.3038016,"latitude_deg":9.876952,"altitude":0,"angle":344,"satellites":20,"speed":13,"hex_longitude":"2d7b0940","hex_latitude":"05e31a70","is_valid_coordinates":true} 
[2026-09-18 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162949376001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134501960345714688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322831046656,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789699036000,"timestamp_ms":1789699036000,"timestamp_seconds":1789699036,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2601360"} 
[2026-09-18 08:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:09: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-09-18 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-18 08:09:13] 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-09-18 08:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:09:13] 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-09-18 08:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162949376001,"66":12917,"207":206,"85":15104,"24":13,"16":134501960345714688,"45":8867517322831046656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-18 08:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162949376001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:09:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-18 08:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134501960345714688,"km_value":134501960345714.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322831046656,"description":"Unknown IO ID 45"} 
[2026-09-18 08:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162949376001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8867517322831046656}} 
[2026-09-18 08:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":185942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:09:13] local.INFO: GPS data processed {"connection_id":185942,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:09:13] local.INFO: Acknowledgment sent {"connection_id":185942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:09:20] local.INFO: TCP Data received {"connection_id":185773,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:09:20] local.INFO: Processing buffer {"connection_id":185773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:09:20] local.INFO: IMEI packet received {"connection_id":185773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:09:23] local.INFO: TCP Data received {"connection_id":185773,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:09:23] local.INFO: Processing buffer {"connection_id":185773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:09:23] local.INFO: IMEI packet received {"connection_id":185773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":185773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:09:24] local.INFO: TCP Data received {"connection_id":185773,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:09:24] local.INFO: Processing buffer {"connection_id":185773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:09:24] local.INFO: Packet analysis {"connection_id":185773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:09:24] local.INFO: Extracted packet for processing {"connection_id":185773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:09:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":185773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:09:24] local.INFO: GPS data processed {"connection_id":185773,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:09:24] local.INFO: Acknowledgment sent {"connection_id":185773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:09:28] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:28] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:28] local.INFO: IMEI packet received {"connection_id":187250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":187250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:09:31] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:31] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:31] local.INFO: IMEI packet received {"connection_id":187250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":187250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:09:34] local.INFO: TCP Data received {"connection_id":185773,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:09:34] local.INFO: Processing buffer {"connection_id":185773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b25d6f98012d34c14006aa4440000a011827..."} 
[2026-09-18 08:09:34] local.INFO: Packet analysis {"connection_id":185773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:09:34] local.INFO: Extracted packet for processing {"connection_id":185773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b25d"} 
[2026-09-18 08:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162832896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789698863000,"timestamp_ms":1789698863000,"timestamp_seconds":1789698863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b25d6f98"} 
[2026-09-18 08:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:09: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-09-18 08:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162832896001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162832896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:09:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162832896001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":185773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:09:34] local.INFO: GPS data processed {"connection_id":185773,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:09:34] local.INFO: Acknowledgment sent {"connection_id":185773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:09:36] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:36] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:09:36] local.INFO: IMEI packet received {"connection_id":187250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":187250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:09:38] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2602300012d7b08c005e31d780000016517..."} 
[2026-09-18 08:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2602300012d7b08c005e31d780000016517..."} 
[2026-09-18 08:09:38] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2602300012d7b08c005e31d780000016517..."} 
[2026-09-18 08:09:38] local.INFO: Packet analysis {"connection_id":187250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b260"} 
[2026-09-18 08:09:38] local.INFO: Extracted packet for processing {"connection_id":187250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b260"} 
[2026-09-18 08:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98770296,"longitude_deg":76.3037888,"latitude_deg":9.8770296,"altitude":0,"angle":357,"satellites":23,"speed":8,"hex_longitude":"2d7b08c0","hex_latitude":"05e31d78","is_valid_coordinates":true} 
[2026-09-18 08:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162953216001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134501999000420352,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735484706816,"note":"Value kept but may cause issues"} 
[2026-09-18 08:09:38] 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-09-18 08:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789699040000,"timestamp_ms":1789699040000,"timestamp_seconds":1789699040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2602300"} 
[2026-09-18 08:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:09: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-09-18 08:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 08:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:09:38] 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-09-18 08:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162953216001,"66":13417,"208":206,"85":15104,"24":8,"16":134501999000420352,"45":8865687735484706816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162953216001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:09:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134501999000420352,"km_value":134501999000420.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735484706816,"description":"Unknown IO ID 45"} 
[2026-09-18 08:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162953216001,"power":13417,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865687735484706816}} 
[2026-09-18 08:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":187250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:09:38] local.INFO: GPS data processed {"connection_id":187250,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:09:38] local.INFO: Acknowledgment sent {"connection_id":187250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:10:13] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:10:13] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:10:13] local.INFO: IMEI packet received {"connection_id":187251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":187251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:10:16] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2626520012d7a92c005e44668000101341d..."} 
[2026-09-18 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2626520012d7a92c005e44668000101341d..."} 
[2026-09-18 08:10:16] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2626520012d7a92c005e44668000101341d..."} 
[2026-09-18 08:10:16] local.INFO: Packet analysis {"connection_id":187250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b262"} 
[2026-09-18 08:10:16] local.INFO: Extracted packet for processing {"connection_id":187250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b262"} 
[2026-09-18 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763007680,"raw_latitude":98846312,"longitude_deg":76.300768,"latitude_deg":9.8846312,"altitude":1,"angle":308,"satellites":29,"speed":39,"hex_longitude":"2d7a92c0","hex_latitude":"05e44668","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162989568001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134506122169024512,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840425356343048192,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:16] 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-09-18 08:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789699188000,"timestamp_ms":1789699188000,"timestamp_seconds":1789699188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2626520"} 
[2026-09-18 08:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 08:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:10:16] 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-09-18 08:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162989568001,"66":13493,"208":206,"85":15104,"24":39,"16":134506122169024512,"45":8840425356343048192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162989568001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:10:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134506122169024512,"km_value":134506122169024.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840425356343048192,"description":"Unknown IO ID 45"} 
[2026-09-18 08:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162989568001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8840425356343048192}} 
[2026-09-18 08:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":187250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:10:16] local.INFO: GPS data processed {"connection_id":187250,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:10:16] local.INFO: Acknowledgment sent {"connection_id":187250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:10:18] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:10:18] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:10:18] local.INFO: IMEI packet received {"connection_id":187251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":187251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:10:19] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:10:19] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:10:19] local.INFO: Packet analysis {"connection_id":187251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:10:19] local.INFO: Extracted packet for processing {"connection_id":187251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 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-09-18 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:10:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":187251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:10:19] local.INFO: GPS data processed {"connection_id":187251,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:10:19] local.INFO: Acknowledgment sent {"connection_id":187251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:10:29] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:29] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:29] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:10:29] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:29] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:29] local.INFO: IMEI packet received {"connection_id":187252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":187252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:10:30] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:30] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:30] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:10:31] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:31] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:31] local.INFO: IMEI packet received {"connection_id":187252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":187252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:10:33] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:33] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:10:33] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:10:34] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 08:10:34] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 08:10:34] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 08:10:34] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:10:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:10:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 08:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 08:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 08:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 08:10:34] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 08:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 08:10:34] local.ERROR: GPS data processing failed {"connection_id":188563,"error":"No valid data to process"} 
[2026-09-18 08:10:34] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 08:10:53] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:10:53] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:10:53] local.INFO: Packet analysis {"connection_id":187251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:10:53] local.INFO: Extracted packet for processing {"connection_id":187251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:10:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":187251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:10:53] local.INFO: GPS data processed {"connection_id":187251,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:10:53] local.INFO: Acknowledgment sent {"connection_id":187251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:10:53] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:53] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:10:53] local.INFO: IMEI packet received {"connection_id":187252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":187252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:10:55] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2628460012d7a774005e45c18000201341d..."} 
[2026-09-18 08:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2628460012d7a774005e45c18000201341d..."} 
[2026-09-18 08:10:55] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2628460012d7a774005e45c18000201341d..."} 
[2026-09-18 08:10:55] local.INFO: Packet analysis {"connection_id":187252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b262"} 
[2026-09-18 08:10:55] local.INFO: Extracted packet for processing {"connection_id":187252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b262"} 
[2026-09-18 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763000640,"raw_latitude":98851864,"longitude_deg":76.300064,"latitude_deg":9.8851864,"altitude":2,"angle":308,"satellites":29,"speed":45,"hex_longitude":"2d7a7740","hex_latitude":"05e45c18","is_valid_coordinates":true} 
[2026-09-18 08:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162992128001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134506551665754112,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832332950764152832,"note":"Value kept but may cause issues"} 
[2026-09-18 08:10:55] 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-09-18 08:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789699196000,"timestamp_ms":1789699196000,"timestamp_seconds":1789699196,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2628460"} 
[2026-09-18 08:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 08:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:10:55] 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-09-18 08:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162992128001,"66":13102,"208":206,"85":15104,"24":45,"16":134506551665754112,"45":8832332950764152832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162992128001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:10:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134506551665754112,"km_value":134506551665754.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832332950764152832,"description":"Unknown IO ID 45"} 
[2026-09-18 08:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162992128001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8832332950764152832}} 
[2026-09-18 08:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":187252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:10:55] local.INFO: GPS data processed {"connection_id":187252,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:10:55] local.INFO: Acknowledgment sent {"connection_id":187252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:11:05] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 08:11:05] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 08:11:05] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 08:11:05] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 08:11:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:11:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:11:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 08:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 08:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 08:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 08:11:05] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 08:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 08:11:05] local.ERROR: GPS data processing failed {"connection_id":188563,"error":"No valid data to process"} 
[2026-09-18 08:11:05] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 08:11:12] local.INFO: TCP Data received {"connection_id":185943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:11:12] local.INFO: Processing buffer {"connection_id":185943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:11:12] local.INFO: IMEI packet received {"connection_id":185943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":185943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:11:18] local.INFO: TCP Data received {"connection_id":185943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:11:18] local.INFO: Processing buffer {"connection_id":185943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:11:18] local.INFO: IMEI packet received {"connection_id":185943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":185943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:11:19] local.INFO: TCP Data received {"connection_id":185943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:11:19] local.INFO: Processing buffer {"connection_id":185943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:11:19] local.INFO: Packet analysis {"connection_id":185943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:11:19] local.INFO: Extracted packet for processing {"connection_id":185943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:11:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":185943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:11:19] local.INFO: GPS data processed {"connection_id":185943,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:11:19] local.INFO: Acknowledgment sent {"connection_id":185943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:11:31] local.INFO: TCP Data received {"connection_id":185774,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:11:31] local.INFO: Processing buffer {"connection_id":185774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:11:31] local.INFO: IMEI packet received {"connection_id":185774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":185774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:11:36] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b262e6080100000000000000000000000000..."} 
[2026-09-18 08:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b262e6080100000000000000000000000000..."} 
[2026-09-18 08:11:36] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b262e6080100000000000000000000000000..."} 
[2026-09-18 08:11:36] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b262"} 
[2026-09-18 08:11:36] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b262"} 
[2026-09-18 08:11:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789699221000,"timestamp_ms":1789699221000,"timestamp_seconds":1789699221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b262e608"} 
[2026-09-18 08:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:11: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 08:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:11:36] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:11:36] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:11:36] local.INFO: TCP Data received {"connection_id":185774,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:11:36] local.INFO: Processing buffer {"connection_id":185774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:11:36] local.INFO: IMEI packet received {"connection_id":185774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":185774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:11:37] local.INFO: TCP Data received {"connection_id":185774,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b263a958012d79e28005e493280006012620..."} 
[2026-09-18 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b263a958012d79e28005e493280006012620..."} 
[2026-09-18 08:11:37] local.INFO: Processing buffer {"connection_id":185774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b263a958012d79e28005e493280006012620..."} 
[2026-09-18 08:11:37] local.INFO: Packet analysis {"connection_id":185774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:11:37] local.INFO: Extracted packet for processing {"connection_id":185774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98865960,"longitude_deg":76.296256,"latitude_deg":9.886596,"altitude":6,"angle":294,"satellites":32,"speed":7,"hex_longitude":"2d79e280","hex_latitude":"05e49328","is_valid_coordinates":true} 
[2026-09-18 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163013120001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134508939667570688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783004461100625920,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789699271000,"timestamp_ms":1789699271000,"timestamp_seconds":1789699271,"priority":1,"record_length":96,"hex_timestamp":"000001a0b263a958"} 
[2026-09-18 08:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 08:11:37] 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-09-18 08:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:11:37] 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-09-18 08:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163013120001,"66":13396,"102":206,"87":12288,"24":7,"16":134508939667570688,"45":8783004461100625920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 08:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163013120001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 08:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 08:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134508939667570688,"km_value":134508939667570.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783004461100625920,"description":"Unknown IO ID 45"} 
[2026-09-18 08:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163013120001,"power":13396,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8783004461100625920}} 
[2026-09-18 08:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":185774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:11:37] local.INFO: GPS data processed {"connection_id":185774,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:11:37] local.INFO: Acknowledgment sent {"connection_id":185774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:11:50] local.INFO: TCP Data received {"connection_id":185943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:11:50] local.INFO: Processing buffer {"connection_id":185943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:11:50] local.INFO: Packet analysis {"connection_id":185943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:11:50] local.INFO: Extracted packet for processing {"connection_id":185943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:11:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":185943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:11:50] local.INFO: GPS data processed {"connection_id":185943,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:11:50] local.INFO: Acknowledgment sent {"connection_id":185943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:12:09] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26338100100000000000000000000000000..."} 
[2026-09-18 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26338100100000000000000000000000000..."} 
[2026-09-18 08:12:09] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26338100100000000000000000000000000..."} 
[2026-09-18 08:12:09] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:09] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789699242000,"timestamp_ms":1789699242000,"timestamp_seconds":1789699242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2633810"} 
[2026-09-18 08:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:12:09] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 08:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:12:09] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:12:09] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:12:09] local.INFO: TCP Data received {"connection_id":185774,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b263ad40012d79e24005e493b8000501471f..."} 
[2026-09-18 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b263ad40012d79e24005e493b8000501471f..."} 
[2026-09-18 08:12:09] local.INFO: Processing buffer {"connection_id":185774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b263ad40012d79e24005e493b8000501471f..."} 
[2026-09-18 08:12:09] local.INFO: Packet analysis {"connection_id":185774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:09] local.INFO: Extracted packet for processing {"connection_id":185774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98866104,"longitude_deg":76.2962496,"latitude_deg":9.8866104,"altitude":5,"angle":327,"satellites":31,"speed":8,"hex_longitude":"2d79e240","hex_latitude":"05e493b8","is_valid_coordinates":true} 
[2026-09-18 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163013376001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134508948257505280,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123929600,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789699272000,"timestamp_ms":1789699272000,"timestamp_seconds":1789699272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b263ad40"} 
[2026-09-18 08:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 08:12:09] 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-09-18 08:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:12:09] 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-09-18 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163013376001,"66":13015,"102":206,"87":12288,"24":8,"16":134508948257505280,"45":8782722986123929600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 08:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163013376001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:12:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 08:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 08:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134508948257505280,"km_value":134508948257505.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123929600,"description":"Unknown IO ID 45"} 
[2026-09-18 08:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163013376001,"power":13015,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8782722986123929600}} 
[2026-09-18 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":185774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:12:09] local.INFO: GPS data processed {"connection_id":185774,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:12:09] local.INFO: Acknowledgment sent {"connection_id":185774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:12:18] local.INFO: TCP Data received {"connection_id":185944,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:12:18] local.INFO: Processing buffer {"connection_id":185944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:12:18] local.INFO: IMEI packet received {"connection_id":185944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":185944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:12:23] local.INFO: TCP Data received {"connection_id":185944,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:12:23] local.INFO: Processing buffer {"connection_id":185944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:12:23] local.INFO: IMEI packet received {"connection_id":185944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":185944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:12:25] local.INFO: TCP Data received {"connection_id":185944,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:12:25] local.INFO: Processing buffer {"connection_id":185944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:12:25] local.INFO: Packet analysis {"connection_id":185944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:12:25] local.INFO: Extracted packet for processing {"connection_id":185944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:12:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":185944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:12:25] local.INFO: GPS data processed {"connection_id":185944,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:12:25] local.INFO: Acknowledgment sent {"connection_id":185944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:12:36] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:12:36] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:12:36] local.INFO: IMEI packet received {"connection_id":185945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":185945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:12:40] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2638a180100000000000000000000000000..."} 
[2026-09-18 08:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2638a180100000000000000000000000000..."} 
[2026-09-18 08:12:40] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2638a180100000000000000000000000000..."} 
[2026-09-18 08:12:40] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:40] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789699263000,"timestamp_ms":1789699263000,"timestamp_seconds":1789699263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2638a18"} 
[2026-09-18 08:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:12:40] 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-09-18 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 08:12:40] 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-09-18 08:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:12:40] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:12:40] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:12:41] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:12:41] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:12:41] local.INFO: IMEI packet received {"connection_id":185945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":185945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:12:46] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b263b128012d79e1c005e494700005015e20..."} 
[2026-09-18 08:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b263b128012d79e1c005e494700005015e20..."} 
[2026-09-18 08:12:46] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b263b128012d79e1c005e494700005015e20..."} 
[2026-09-18 08:12:46] local.INFO: Packet analysis {"connection_id":185945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:46] local.INFO: Extracted packet for processing {"connection_id":185945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:12:46] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":98866288,"longitude_deg":76.2962368,"latitude_deg":9.8866288,"altitude":5,"angle":350,"satellites":32,"speed":8,"hex_longitude":"2d79e1c0","hex_latitude":"05e49470","is_valid_coordinates":true} 
[2026-09-18 08:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163013632001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134508961142407168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379788800,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789699273000,"timestamp_ms":1789699273000,"timestamp_seconds":1789699273,"priority":1,"record_length":96,"hex_timestamp":"000001a0b263b128"} 
[2026-09-18 08:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 08:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:12:46] 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-09-18 08:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163013632001,"66":13243,"102":206,"87":12288,"24":8,"16":134508961142407168,"45":8782652617379788800},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 08:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163013632001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 08:12:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 08:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134508961142407168,"km_value":134508961142407.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379788800,"description":"Unknown IO ID 45"} 
[2026-09-18 08:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163013632001,"power":13243,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8782652617379788800}} 
[2026-09-18 08:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":185945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:12:46] local.INFO: GPS data processed {"connection_id":185945,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:12:46] local.INFO: Acknowledgment sent {"connection_id":185945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:12:59] local.INFO: TCP Data received {"connection_id":185944,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:12:59] local.INFO: Processing buffer {"connection_id":185944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:12:59] local.INFO: Packet analysis {"connection_id":185944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:12:59] local.INFO: Extracted packet for processing {"connection_id":185944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:12:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":185944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:13:00] local.INFO: GPS data processed {"connection_id":185944,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:13:00] local.INFO: Acknowledgment sent {"connection_id":185944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:13:11] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b263dc200100000000000000000000000000..."} 
[2026-09-18 08:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b263dc200100000000000000000000000000..."} 
[2026-09-18 08:13:11] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b263dc200100000000000000000000000000..."} 
[2026-09-18 08:13:11] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:13:11] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b263"} 
[2026-09-18 08:13:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789699284000,"timestamp_ms":1789699284000,"timestamp_seconds":1789699284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b263dc20"} 
[2026-09-18 08:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 08:13:11] 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-09-18 08:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:13:11] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:13:11] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:13:23] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:13:23] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:13:23] local.INFO: IMEI packet received {"connection_id":187253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":187253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:13:24] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:13:24] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:13:24] local.INFO: IMEI packet received {"connection_id":187253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":187253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:13:26] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:13:26] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:13:26] local.INFO: Packet analysis {"connection_id":187253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:13:26] local.INFO: Extracted packet for processing {"connection_id":187253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:13:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":187253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:13:26] local.INFO: GPS data processed {"connection_id":187253,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:13:26] local.INFO: Acknowledgment sent {"connection_id":187253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:13:26] local.INFO: TCP Data received {"connection_id":185775,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:13:26] local.INFO: Processing buffer {"connection_id":185775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:13:26] local.INFO: IMEI packet received {"connection_id":185775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":185775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:13:29] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:13:29] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:13:29] local.INFO: Packet analysis {"connection_id":187253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:13:29] local.INFO: Extracted packet for processing {"connection_id":187253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:13:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:13:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:13:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":187253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:13:29] local.INFO: GPS data processed {"connection_id":187253,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:13:29] local.INFO: Acknowledgment sent {"connection_id":187253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:13:41] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2642e280100000000000000000000000000..."} 
[2026-09-18 08:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2642e280100000000000000000000000000..."} 
[2026-09-18 08:13:41] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2642e280100000000000000000000000000..."} 
[2026-09-18 08:13:41] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b264"} 
[2026-09-18 08:13:41] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b264"} 
[2026-09-18 08:13:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:13:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789699305000,"timestamp_ms":1789699305000,"timestamp_seconds":1789699305,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2642e28"} 
[2026-09-18 08:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:13:41] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:13:41] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:06] local.INFO: TCP Data received {"connection_id":185776,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:06] local.INFO: Processing buffer {"connection_id":185776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:06] local.INFO: IMEI packet received {"connection_id":185776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":185776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:14:08] local.INFO: TCP Data received {"connection_id":185776,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:08] local.INFO: Processing buffer {"connection_id":185776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:08] local.INFO: IMEI packet received {"connection_id":185776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":185776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:14:13] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26480300100000000000000000000000000..."} 
[2026-09-18 08:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26480300100000000000000000000000000..."} 
[2026-09-18 08:14:13] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26480300100000000000000000000000000..."} 
[2026-09-18 08:14:13] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b264"} 
[2026-09-18 08:14:13] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b264"} 
[2026-09-18 08:14: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-09-18 08:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789699326000,"timestamp_ms":1789699326000,"timestamp_seconds":1789699326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2648030"} 
[2026-09-18 08:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:14:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:14:13] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:14:13] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:14] local.INFO: TCP Data received {"connection_id":185776,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:14] local.INFO: Processing buffer {"connection_id":185776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:14] local.INFO: IMEI packet received {"connection_id":185776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":185776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:14:14] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:14:14] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:14:14] local.INFO: IMEI packet received {"connection_id":187254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":187254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:14:15] local.INFO: TCP Data received {"connection_id":185776,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2659970012d79e50005e493380008003e24..."} 
[2026-09-18 08:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2659970012d79e50005e493380008003e24..."} 
[2026-09-18 08:14:15] local.INFO: Processing buffer {"connection_id":185776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2659970012d79e50005e493380008003e24..."} 
[2026-09-18 08:14:15] local.INFO: Packet analysis {"connection_id":185776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:14:15] local.INFO: Extracted packet for processing {"connection_id":185776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:14:15] local.INFO: GPS Element Parsed {"raw_longitude":762963200,"raw_latitude":98865976,"longitude_deg":76.29632,"latitude_deg":9.8865976,"altitude":8,"angle":62,"satellites":36,"speed":10,"hex_longitude":"2d79e500","hex_latitude":"05e49338","is_valid_coordinates":true} 
[2026-09-18 08:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163045376001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134509145826000896,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783004461100564480,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789699398000,"timestamp_ms":1789699398000,"timestamp_seconds":1789699398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2659970"} 
[2026-09-18 08:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:14:15] 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-09-18 08:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163045376001,"66":13254,"182":206,"87":13824,"24":10,"16":134509145826000896,"45":8783004461100564480},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163045376001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:14:15] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:14:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134509145826000896,"km_value":134509145826000.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783004461100564480,"description":"Unknown IO ID 45"} 
[2026-09-18 08:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163045376001,"power":13254,"unknown_182":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8783004461100564480}} 
[2026-09-18 08:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":185776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:14:15] local.INFO: GPS data processed {"connection_id":185776,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:14:15] local.INFO: Acknowledgment sent {"connection_id":185776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:18] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:14:18] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:14:18] local.INFO: IMEI packet received {"connection_id":187254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":187254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:14:20] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:14:20] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:14:20] local.INFO: Packet analysis {"connection_id":187254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:14:20] local.INFO: Extracted packet for processing {"connection_id":187254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:14:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":187254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:14:20] local.INFO: GPS data processed {"connection_id":187254,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:14:20] local.INFO: Acknowledgment sent {"connection_id":187254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:33] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:14:33] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:14:33] local.INFO: IMEI packet received {"connection_id":185777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":185777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:14:36] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:36] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:36] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:14:38] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:14:38] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:14:38] local.INFO: IMEI packet received {"connection_id":185777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":185777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:14:39] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b264d2380100000000000000000000000000..."} 
[2026-09-18 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b264d2380100000000000000000000000000..."} 
[2026-09-18 08:14:39] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b264d2380100000000000000000000000000..."} 
[2026-09-18 08:14:39] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b264"} 
[2026-09-18 08:14:39] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b264"} 
[2026-09-18 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789699347000,"timestamp_ms":1789699347000,"timestamp_seconds":1789699347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b264d238"} 
[2026-09-18 08:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:14:39] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:14:39] local.INFO: GPS data processed {"connection_id":185777,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:14:39] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:41] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:41] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:14:41] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:14:43] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26524400100000000000000000000000000..."} 
[2026-09-18 08:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26524400100000000000000000000000000..."} 
[2026-09-18 08:14:43] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26524400100000000000000000000000000..."} 
[2026-09-18 08:14:43] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:14:43] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:14:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789699368000,"timestamp_ms":1789699368000,"timestamp_seconds":1789699368,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2652440"} 
[2026-09-18 08:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:14:43] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:14:43] local.INFO: GPS data processed {"connection_id":185777,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:14:43] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:47] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2659d58012d79e5c005e493900007004b24..."} 
[2026-09-18 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2659d58012d79e5c005e493900007004b24..."} 
[2026-09-18 08:14:47] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2659d58012d79e5c005e493900007004b24..."} 
[2026-09-18 08:14:47] local.INFO: Packet analysis {"connection_id":188564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:14:47] local.INFO: Extracted packet for processing {"connection_id":188564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":762963392,"raw_latitude":98866064,"longitude_deg":76.2963392,"latitude_deg":9.8866064,"altitude":7,"angle":75,"satellites":36,"speed":9,"hex_longitude":"2d79e5c0","hex_latitude":"05e49390","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163045888001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134509158710902784,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783426673565710336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789699399000,"timestamp_ms":1789699399000,"timestamp_seconds":1789699399,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2659d58"} 
[2026-09-18 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-09-18 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:14:47] 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-09-18 08:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163045888001,"66":13254,"182":206,"87":13824,"24":9,"16":134509158710902784,"45":8783426673565710336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163045888001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:14:47] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:14:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134509158710902784,"km_value":134509158710902.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783426673565710336,"description":"Unknown IO ID 45"} 
[2026-09-18 08:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163045888001,"power":13254,"unknown_182":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8783426673565710336}} 
[2026-09-18 08:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":188564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:14:47] local.INFO: GPS data processed {"connection_id":188564,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:14:47] local.INFO: Acknowledgment sent {"connection_id":188564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:14:54] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:14:54] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b261ec08012d34c14006aa4440000a011826..."} 
[2026-09-18 08:14:54] local.INFO: Packet analysis {"connection_id":187254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:14:54] local.INFO: Extracted packet for processing {"connection_id":187254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b261"} 
[2026-09-18 08:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162908928001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789699157000,"timestamp_ms":1789699157000,"timestamp_seconds":1789699157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b261ec08"} 
[2026-09-18 08:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:14: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-09-18 08:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162908928001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162908928001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:14:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162908928001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":187254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:14:54] local.INFO: GPS data processed {"connection_id":187254,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:14:54] local.INFO: Acknowledgment sent {"connection_id":187254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:15:13] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:15:13] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:15:13] local.INFO: IMEI packet received {"connection_id":188565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":188565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:15:14] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26576480100000000000000000000000000..."} 
[2026-09-18 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26576480100000000000000000000000000..."} 
[2026-09-18 08:15:14] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26576480100000000000000000000000000..."} 
[2026-09-18 08:15:14] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:15:14] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789699389000,"timestamp_ms":1789699389000,"timestamp_seconds":1789699389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2657648"} 
[2026-09-18 08:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 08:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:15:14] local.INFO: GPS data processed {"connection_id":185777,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:15:14] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:15:18] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:15:18] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:15:18] local.INFO: IMEI packet received {"connection_id":188565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":188565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:15:19] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:15:19] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:15:19] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:15:19] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:15:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:15:19] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:15:19] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:15:38] local.INFO: TCP Data received {"connection_id":185946,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:15:38] local.INFO: Processing buffer {"connection_id":185946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:15:38] local.INFO: IMEI packet received {"connection_id":185946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":185946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:15:46] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b265c8500100000000000000000000000000..."} 
[2026-09-18 08:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b265c8500100000000000000000000000000..."} 
[2026-09-18 08:15:46] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b265c8500100000000000000000000000000..."} 
[2026-09-18 08:15:46] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:15:46] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b265"} 
[2026-09-18 08:15:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789699410000,"timestamp_ms":1789699410000,"timestamp_seconds":1789699410,"priority":1,"record_length":96,"hex_timestamp":"000001a0b265c850"} 
[2026-09-18 08:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:15: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 08:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:15:46] local.INFO: GPS data processed {"connection_id":185777,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:15:46] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:15:51] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:15:51] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:15:51] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:15:51] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:15:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:15:51] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:15:51] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:16:13] local.INFO: TCP Data received {"connection_id":185946,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:13] local.INFO: Processing buffer {"connection_id":185946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:13] local.INFO: IMEI packet received {"connection_id":185946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":185946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:16:18] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:16:18] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:16:18] local.INFO: IMEI packet received {"connection_id":185778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":185778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:16:18] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2661a580100000000000000000000000000..."} 
[2026-09-18 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2661a580100000000000000000000000000..."} 
[2026-09-18 08:16:18] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2661a580100000000000000000000000000..."} 
[2026-09-18 08:16:18] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16:18] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16: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-09-18 08:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789699431000,"timestamp_ms":1789699431000,"timestamp_seconds":1789699431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2661a58"} 
[2026-09-18 08:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:16: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 08:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:16:18] local.INFO: GPS data processed {"connection_id":185777,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:16:18] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:16:23] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:16:23] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:16:23] local.INFO: IMEI packet received {"connection_id":185778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":185778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:16:25] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:16:25] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:16:25] local.INFO: Packet analysis {"connection_id":185778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16:25] local.INFO: Extracted packet for processing {"connection_id":185778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:16:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":185778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:16:25] local.INFO: GPS data processed {"connection_id":185778,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:16:25] local.INFO: Acknowledgment sent {"connection_id":185778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:16:29] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:16:29] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:16:29] local.INFO: Packet analysis {"connection_id":185778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16:29] local.INFO: Extracted packet for processing {"connection_id":185778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":185778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:16:29] local.INFO: GPS data processed {"connection_id":185778,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:16:29] local.INFO: Acknowledgment sent {"connection_id":185778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:16:32] local.INFO: TCP Data received {"connection_id":185947,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:32] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:32] local.INFO: IMEI packet received {"connection_id":185947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":185947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:16:36] local.INFO: TCP Data received {"connection_id":185947,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:36] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:16:36] local.INFO: IMEI packet received {"connection_id":185947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":185947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:16:37] local.INFO: TCP Data received {"connection_id":185947,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26752d8012d79f14005e521880008015e23..."} 
[2026-09-18 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26752d8012d79f14005e521880008015e23..."} 
[2026-09-18 08:16:37] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26752d8012d79f14005e521880008015e23..."} 
[2026-09-18 08:16:37] local.INFO: Packet analysis {"connection_id":185947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b267"} 
[2026-09-18 08:16:37] local.INFO: Extracted packet for processing {"connection_id":185947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b267"} 
[2026-09-18 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762966336,"raw_latitude":98902408,"longitude_deg":76.2966336,"latitude_deg":9.8902408,"altitude":8,"angle":350,"satellites":35,"speed":23,"hex_longitude":"2d79f140","hex_latitude":"05e52188","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163070720001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134511615432196096,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698130309120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:37] 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-09-18 08:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789699511000,"timestamp_ms":1789699511000,"timestamp_seconds":1789699511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26752d8"} 
[2026-09-18 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-09-18 08:16: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-09-18 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 08:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:16:37] 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-09-18 08:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163070720001,"66":13428,"39":206,"87":13824,"24":23,"16":134511615432196096,"45":8788774698130309120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163070720001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:16:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134511615432196096,"km_value":134511615432196.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698130309120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163070720001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8788774698130309120}} 
[2026-09-18 08:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":185947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:16:37] local.INFO: GPS data processed {"connection_id":185947,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:16:37] local.INFO: Acknowledgment sent {"connection_id":185947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:16:51] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2666c600100000000000000000000000000..."} 
[2026-09-18 08:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2666c600100000000000000000000000000..."} 
[2026-09-18 08:16:51] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2666c600100000000000000000000000000..."} 
[2026-09-18 08:16:51] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16:51] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:16: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-09-18 08:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961928376614912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:16:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789699452000,"timestamp_ms":1789699452000,"timestamp_seconds":1789699452,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2666c60"} 
[2026-09-18 08:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-18 08:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 08:16:51] local.INFO: GPS data processed {"connection_id":185777,"processed":0,"errors":0,"total":1} 
[2026-09-18 08:16:51] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:17:08] local.INFO: TCP Data received {"connection_id":185947,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b268c9d8012d79d70005e5b2a8000300a824..."} 
[2026-09-18 08:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b268c9d8012d79d70005e5b2a8000300a824..."} 
[2026-09-18 08:17:08] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b268c9d8012d79d70005e5b2a8000300a824..."} 
[2026-09-18 08:17:08] local.INFO: Packet analysis {"connection_id":185947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b268"} 
[2026-09-18 08:17:08] local.INFO: Extracted packet for processing {"connection_id":185947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b268"} 
[2026-09-18 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":762959616,"raw_latitude":98939560,"longitude_deg":76.2959616,"latitude_deg":9.893956,"altitude":3,"angle":168,"satellites":36,"speed":1,"hex_longitude":"2d79d700","hex_latitude":"05e5b2a8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163098368001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134513677016498176,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779486023910782976,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789699607000,"timestamp_ms":1789699607000,"timestamp_seconds":1789699607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b268c9d8"} 
[2026-09-18 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-09-18 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 08:17: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-09-18 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-09-18 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-09-18 08:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:17:08] 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-09-18 08:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163098368001,"66":13059,"182":206,"87":13824,"24":1,"16":134513677016498176,"45":8779486023910782976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163098368001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:17:08] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134513677016498176,"km_value":134513677016498.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779486023910782976,"description":"Unknown IO ID 45"} 
[2026-09-18 08:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163098368001,"power":13059,"unknown_182":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8779486023910782976}} 
[2026-09-18 08:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":185947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:17:08] local.INFO: GPS data processed {"connection_id":185947,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:17:08] local.INFO: Acknowledgment sent {"connection_id":185947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:17:13] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:17:13] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:17:13] local.INFO: IMEI packet received {"connection_id":188566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":188566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:17:18] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:17:18] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:17:18] local.INFO: IMEI packet received {"connection_id":188566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":188566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:17:19] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:17:19] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:17:19] local.INFO: Packet analysis {"connection_id":188566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:17:19] local.INFO: Extracted packet for processing {"connection_id":188566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:17:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":188566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:17:19] local.INFO: GPS data processed {"connection_id":188566,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:17:19] local.INFO: Acknowledgment sent {"connection_id":188566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:17:28] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:17:28] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:17:28] local.INFO: IMEI packet received {"connection_id":188567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":188567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:17:31] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:31] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:31] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:17:32] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:17:32] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:17:32] local.INFO: IMEI packet received {"connection_id":188567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":188567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:17:33] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26942f0012d0b10000702a8680012013a09..."} 
[2026-09-18 08:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26942f0012d0b10000702a8680012013a09..."} 
[2026-09-18 08:17:33] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26942f0012d0b10000702a8680012013a09..."} 
[2026-09-18 08:17:33] local.INFO: Packet analysis {"connection_id":188567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:17:33] local.INFO: Extracted packet for processing {"connection_id":188567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:17:33] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117614696,"longitude_deg":75.5699712,"latitude_deg":11.7614696,"altitude":18,"angle":314,"satellites":9,"speed":0,"hex_longitude":"2d0b1000","hex_latitude":"0702a868","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163102208001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961949851451392,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796855689177264128,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789699638000,"timestamp_ms":1789699638000,"timestamp_seconds":1789699638,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26942f0"} 
[2026-09-18 08:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:17: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-09-18 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-18 08:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163102208001,"66":14646,"17":206,"94":11008,"24":0,"16":32961949851451392,"45":796855689177264128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163102208001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:17:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32961949851451392,"km_value":32961949851451.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":796855689177264128,"description":"Unknown IO ID 45"} 
[2026-09-18 08:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163102208001,"power":14646,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796855689177264128}} 
[2026-09-18 08:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":188567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:17:34] local.INFO: GPS data processed {"connection_id":188567,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:17:34] local.INFO: Acknowledgment sent {"connection_id":188567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:17:41] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:41] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:41] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:17:42] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:42] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:17:42] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:17:43] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b268e918012d79d74005e5b0a8000300b424..."} 
[2026-09-18 08:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b268e918012d79d74005e5b0a8000300b424..."} 
[2026-09-18 08:17:43] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b268e918012d79d74005e5b0a8000300b424..."} 
[2026-09-18 08:17:43] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b268"} 
[2026-09-18 08:17:43] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b268"} 
[2026-09-18 08:17:43] local.INFO: GPS Element Parsed {"raw_longitude":762959680,"raw_latitude":98939048,"longitude_deg":76.295968,"latitude_deg":9.8939048,"altitude":3,"angle":180,"satellites":36,"speed":10,"hex_longitude":"2d79d740","hex_latitude":"05e5b0a8","is_valid_coordinates":true} 
[2026-09-18 08:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163099392001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134513707081269248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779486023910598656,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789699615000,"timestamp_ms":1789699615000,"timestamp_seconds":1789699615,"priority":1,"record_length":96,"hex_timestamp":"000001a0b268e918"} 
[2026-09-18 08:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899352,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2993169864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3090677762,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":850788558,"corrected_to":0} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3854098432,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3892391289,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3221611960,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085554,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3815047168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818502,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,182,87,24,241,157,16,227,160,186,45,181,3,36,10,66,2,35,178,128,1,240,7,229,4,113,205,5,115,212,168,239,50,221,6,39],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":850788558,"validated":0}]} 
[2026-09-18 08:17:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216357654686138368,"timestamp_seconds":216357654686138.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:17:43] 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-09-18 08:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163099392001,"66":13363,"182":206,"87":13824,"24":10,"16":134513707081269248,"45":8779486023910598656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163099392001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:17:43] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:17:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134513707081269248,"km_value":134513707081269.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779486023910598656,"description":"Unknown IO ID 45"} 
[2026-09-18 08:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163099392001,"power":13363,"unknown_182":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8779486023910598656}} 
[2026-09-18 08:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:17:43] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:17:43] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:17:44] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2691410012d79da0005e59a58000500a824..."} 
[2026-09-18 08:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2691410012d79da0005e59a58000500a824..."} 
[2026-09-18 08:17:44] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2691410012d79da0005e59a58000500a824..."} 
[2026-09-18 08:17:44] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:17:44] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":762960384,"raw_latitude":98933336,"longitude_deg":76.2960384,"latitude_deg":9.8933336,"altitude":5,"angle":168,"satellites":36,"speed":21,"hex_longitude":"2d79da00","hex_latitude":"05e59a58","is_valid_coordinates":true} 
[2026-09-18 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163101440001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134513986254143488,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779556392654645248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789699626000,"timestamp_ms":1789699626000,"timestamp_seconds":1789699626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2691410"} 
[2026-09-18 08:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 08:17:44] 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-09-18 08:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:17:44] 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-09-18 08:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163101440001,"66":13406,"182":206,"87":13824,"24":21,"16":134513986254143488,"45":8779556392654645248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163101440001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:17:44] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:17:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134513986254143488,"km_value":134513986254143.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779556392654645248,"description":"Unknown IO ID 45"} 
[2026-09-18 08:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163101440001,"power":13406,"unknown_182":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8779556392654645248}} 
[2026-09-18 08:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:17:44] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:17:44] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:17:53] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:17:53] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:17:53] local.INFO: Packet analysis {"connection_id":188566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:17:53] local.INFO: Extracted packet for processing {"connection_id":188566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:17:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":188566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:17:53] local.INFO: GPS data processed {"connection_id":188566,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:17:53] local.INFO: Acknowledgment sent {"connection_id":188566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:05] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2695678012d0b10000702a850001200af09..."} 
[2026-09-18 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2695678012d0b10000702a850001200af09..."} 
[2026-09-18 08:18:05] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2695678012d0b10000702a850001200af09..."} 
[2026-09-18 08:18:05] local.INFO: Packet analysis {"connection_id":188567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:05] local.INFO: Extracted packet for processing {"connection_id":188567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:05] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117614672,"longitude_deg":75.5699712,"latitude_deg":11.7614672,"altitude":18,"angle":175,"satellites":9,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"0702a850","is_valid_coordinates":true} 
[2026-09-18 08:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163107328001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961954146418688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153939968,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789699643000,"timestamp_ms":1789699643000,"timestamp_seconds":1789699643,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2695678"} 
[2026-09-18 08:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163107328001,"66":14678,"17":206,"94":11008,"24":1,"16":32961954146418688,"45":797137164153939968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163107328001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32961954146418688,"km_value":32961954146418.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153939968,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163107328001,"power":14678,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153939968}} 
[2026-09-18 08:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":188567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:05] local.INFO: GPS data processed {"connection_id":188567,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:05] local.INFO: Acknowledgment sent {"connection_id":188567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:12] local.INFO: TCP Data received {"connection_id":185948,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:18:12] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:18:12] local.INFO: IMEI packet received {"connection_id":185948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":185948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:18:15] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2694ac0012d79e1c005e57680000500a823..."} 
[2026-09-18 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2694ac0012d79e1c005e57680000500a823..."} 
[2026-09-18 08:18:15] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2694ac0012d79e1c005e57680000500a823..."} 
[2026-09-18 08:18:15] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:15] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:15] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":98924160,"longitude_deg":76.2962368,"latitude_deg":9.892416,"altitude":5,"angle":168,"satellites":35,"speed":29,"hex_longitude":"2d79e1c0","hex_latitude":"05e57680","is_valid_coordinates":true} 
[2026-09-18 08:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163104256001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134514441520676864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780330448839137280,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789699640000,"timestamp_ms":1789699640000,"timestamp_seconds":1789699640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2694ac0"} 
[2026-09-18 08:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:15] 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-09-18 08:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:18:15] 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-09-18 08:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163104256001,"66":13319,"182":206,"87":13824,"24":29,"16":134514441520676864,"45":8780330448839137280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163104256001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:15] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:18:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134514441520676864,"km_value":134514441520676.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780330448839137280,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163104256001,"power":13319,"unknown_182":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8780330448839137280}} 
[2026-09-18 08:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:15] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:15] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:18] local.INFO: TCP Data received {"connection_id":185948,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:18:18] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:18:18] local.INFO: IMEI packet received {"connection_id":185948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":185948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:18:19] local.INFO: TCP Data received {"connection_id":185948,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:18:19] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:18:19] local.INFO: Packet analysis {"connection_id":185948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:18:19] local.INFO: Extracted packet for processing {"connection_id":185948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":185948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:19] local.INFO: GPS data processed {"connection_id":185948,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:19] local.INFO: Acknowledgment sent {"connection_id":185948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:29] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:18:29] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:18:29] local.INFO: IMEI packet received {"connection_id":185949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":185949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:18:33] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:18:33] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:18:33] local.INFO: IMEI packet received {"connection_id":185949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":185949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:18:34] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b269fe70012d0b10000702a530001200880a..."} 
[2026-09-18 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b269fe70012d0b10000702a530001200880a..."} 
[2026-09-18 08:18:34] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b269fe70012d0b10000702a530001200880a..."} 
[2026-09-18 08:18:34] local.INFO: Packet analysis {"connection_id":185949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:34] local.INFO: Extracted packet for processing {"connection_id":185949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:34] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117613872,"longitude_deg":75.5699712,"latitude_deg":11.7613872,"altitude":18,"angle":136,"satellites":10,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"0702a530","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163119360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32962009980993536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153735168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699686000,"timestamp_ms":1789699686000,"timestamp_seconds":1789699686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b269fe70"} 
[2026-09-18 08:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163119360001,"66":14537,"17":206,"94":11008,"24":1,"16":32962009980993536,"45":797137164153735168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163119360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32962009980993536,"km_value":32962009980993.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153735168,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163119360001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153735168}} 
[2026-09-18 08:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":185949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:35] local.INFO: GPS data processed {"connection_id":185949,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:35] local.INFO: Acknowledgment sent {"connection_id":185949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:36] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:18:36] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:18:36] local.INFO: IMEI packet received {"connection_id":187255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":187255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:18:36] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26a0258012d0b10000702a520001200650a..."} 
[2026-09-18 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26a0258012d0b10000702a520001200650a..."} 
[2026-09-18 08:18:36] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26a0258012d0b10000702a520001200650a..."} 
[2026-09-18 08:18:36] local.INFO: Packet analysis {"connection_id":185949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:18:36] local.INFO: Extracted packet for processing {"connection_id":185949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:18:36] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117613856,"longitude_deg":75.5699712,"latitude_deg":11.7613856,"altitude":18,"angle":101,"satellites":10,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"0702a520","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163119616001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32962009980993536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153729024,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789699687000,"timestamp_ms":1789699687000,"timestamp_seconds":1789699687,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26a0258"} 
[2026-09-18 08:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163119616001,"66":14580,"17":206,"94":11008,"24":1,"16":32962009980993536,"45":797137164153729024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163119616001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32962009980993536,"km_value":32962009980993.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153729024,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163119616001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153729024}} 
[2026-09-18 08:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":185949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:36] local.INFO: GPS data processed {"connection_id":185949,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:36] local.INFO: Acknowledgment sent {"connection_id":185949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:41] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:18:41] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:18:41] local.INFO: IMEI packet received {"connection_id":187255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":187255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:18:43] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26979a0012d79e98005e551e8000600a823..."} 
[2026-09-18 08:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26979a0012d79e98005e551e8000600a823..."} 
[2026-09-18 08:18:43] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26979a0012d79e98005e551e8000600a823..."} 
[2026-09-18 08:18:43] local.INFO: Packet analysis {"connection_id":187255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:43] local.INFO: Extracted packet for processing {"connection_id":187255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:18:43] local.INFO: GPS Element Parsed {"raw_longitude":762964352,"raw_latitude":98914792,"longitude_deg":76.2964352,"latitude_deg":9.8914792,"altitude":6,"angle":168,"satellites":35,"speed":32,"hex_longitude":"2d79e980","hex_latitude":"05e551e8","is_valid_coordinates":true} 
[2026-09-18 08:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163107840001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134514905377144832,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511879906295808,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789699652000,"timestamp_ms":1789699652000,"timestamp_seconds":1789699652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26979a0"} 
[2026-09-18 08:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2993205864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3854018560,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-5172384163436551168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":850788558,"corrected_to":0} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242610,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3815636992,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57758127504643894,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-5872692619261902843,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,182,87,24,241,157,16,228,160,20,45,154,5,36,10,66,227,233,64,176,3,201,1,240,178,229,4,113,205,11,215,35,239,47,2,221,9,7,104],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":850788558,"validated":0}]} 
[2026-09-18 08:18:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360472838468861952,"timestamp_seconds":360472838468861.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:18:43] 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-09-18 08:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163107840001,"66":13515,"182":206,"87":13824,"24":32,"16":134514905377144832,"45":8782511879906295808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163107840001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:43] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134514905377144832,"km_value":134514905377144.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511879906295808,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163107840001,"power":13515,"unknown_182":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8782511879906295808}} 
[2026-09-18 08:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":187255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:43] local.INFO: GPS data processed {"connection_id":187255,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:43] local.INFO: Acknowledgment sent {"connection_id":187255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:18:51] local.INFO: TCP Data received {"connection_id":185948,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:18:51] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:18:51] local.INFO: Packet analysis {"connection_id":185948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:18:51] local.INFO: Extracted packet for processing {"connection_id":185948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:18:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":185948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:18:51] local.INFO: GPS data processed {"connection_id":185948,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:18:51] local.INFO: Acknowledgment sent {"connection_id":185948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:19:01] local.INFO: TCP Data received {"connection_id":185779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:19:01] local.INFO: Processing buffer {"connection_id":185779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:19:01] local.INFO: IMEI packet received {"connection_id":185779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":185779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:19:08] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26a11f8012d0b10400702a520001200a80a..."} 
[2026-09-18 08:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26a11f8012d0b10400702a520001200a80a..."} 
[2026-09-18 08:19:08] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26a11f8012d0b10400702a520001200a80a..."} 
[2026-09-18 08:19:08] local.INFO: Packet analysis {"connection_id":185949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:19:08] local.INFO: Extracted packet for processing {"connection_id":185949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613856,"longitude_deg":75.5699776,"latitude_deg":11.7613856,"altitude":18,"angle":168,"satellites":10,"speed":1,"hex_longitude":"2d0b1040","hex_latitude":"0702a520","is_valid_coordinates":true} 
[2026-09-18 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163119872001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32962018570928128,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153724928,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789699691000,"timestamp_ms":1789699691000,"timestamp_seconds":1789699691,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26a11f8"} 
[2026-09-18 08:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:19: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-09-18 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-18 08:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163119872001,"66":14635,"17":206,"94":11008,"24":1,"16":32962018570928128,"45":797137164153724928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163119872001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:19:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32962018570928128,"km_value":32962018570928.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153724928,"description":"Unknown IO ID 45"} 
[2026-09-18 08:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163119872001,"power":14635,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153724928}} 
[2026-09-18 08:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":185949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:19:08] local.INFO: GPS data processed {"connection_id":185949,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:19:08] local.INFO: Acknowledgment sent {"connection_id":185949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:19:13] local.INFO: TCP Data received {"connection_id":185950,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:19:13] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:19:13] local.INFO: IMEI packet received {"connection_id":185950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":185950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:19:14] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b269a880012d79f08005e52f90000400a825..."} 
[2026-09-18 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b269a880012d79f08005e52f90000400a825..."} 
[2026-09-18 08:19:14] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b269a880012d79f08005e52f90000400a825..."} 
[2026-09-18 08:19:14] local.INFO: Packet analysis {"connection_id":187255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:19:14] local.INFO: Extracted packet for processing {"connection_id":187255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":762966144,"raw_latitude":98906000,"longitude_deg":76.2966144,"latitude_deg":9.8906,"altitude":4,"angle":168,"satellites":37,"speed":27,"hex_longitude":"2d79f080","hex_latitude":"05e52f90","is_valid_coordinates":true} 
[2026-09-18 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163110912001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134515343463809024,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784693310973405184,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789699664000,"timestamp_ms":1789699664000,"timestamp_seconds":1789699664,"priority":1,"record_length":96,"hex_timestamp":"000001a0b269a880"} 
[2026-09-18 08:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 08:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:19:14] 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-09-18 08:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163110912001,"66":13602,"182":206,"87":13824,"24":27,"16":134515343463809024,"45":8784693310973405184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163110912001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:19:14] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:19:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134515343463809024,"km_value":134515343463809.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784693310973405184,"description":"Unknown IO ID 45"} 
[2026-09-18 08:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163110912001,"power":13602,"unknown_182":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8784693310973405184}} 
[2026-09-18 08:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":187255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:19:14] local.INFO: GPS data processed {"connection_id":187255,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:19:14] local.INFO: Acknowledgment sent {"connection_id":187255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:19:18] local.INFO: TCP Data received {"connection_id":185950,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:19:18] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:19:18] local.INFO: IMEI packet received {"connection_id":185950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":185950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:19:19] local.INFO: TCP Data received {"connection_id":185950,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:19:19] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:19:19] local.INFO: Packet analysis {"connection_id":185950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:19:19] local.INFO: Extracted packet for processing {"connection_id":185950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:19:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":185950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:19:19] local.INFO: GPS data processed {"connection_id":185950,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:19:19] local.INFO: Acknowledgment sent {"connection_id":185950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:19:29] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:19:29] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:19:29] local.INFO: IMEI packet received {"connection_id":188569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":188569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:19:31] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:19:31] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:19:31] local.INFO: IMEI packet received {"connection_id":187256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":187256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:19:33] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:19:33] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:19:33] local.INFO: IMEI packet received {"connection_id":188569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":188569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:19:34] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:19:34] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:19:34] local.INFO: IMEI packet received {"connection_id":187256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":187256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:19:34] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26af0a0012d0b0b800702a418001100d10a..."} 
[2026-09-18 08:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26af0a0012d0b0b800702a418001100d10a..."} 
[2026-09-18 08:19:34] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26af0a0012d0b0b800702a418001100d10a..."} 
[2026-09-18 08:19:34] local.INFO: Packet analysis {"connection_id":188569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:19:34] local.INFO: Extracted packet for processing {"connection_id":188569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:19:34] local.INFO: GPS Element Parsed {"raw_longitude":755698560,"raw_latitude":117613592,"longitude_deg":75.569856,"latitude_deg":11.7613592,"altitude":17,"angle":209,"satellites":10,"speed":1,"hex_longitude":"2d0b0b80","hex_latitude":"0702a418","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32962168894783488,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795800158014322688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699748000,"timestamp_ms":1789699748000,"timestamp_seconds":1789699748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26af0a0"} 
[2026-09-18 08:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:19: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-09-18 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-18 08:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163135232001,"66":14580,"17":206,"94":11008,"24":1,"16":32962168894783488,"45":795800158014322688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:19:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32962168894783488,"km_value":32962168894783.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795800158014322688,"description":"Unknown IO ID 45"} 
[2026-09-18 08:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163135232001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":795800158014322688}} 
[2026-09-18 08:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":188569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:19:35] local.INFO: GPS data processed {"connection_id":188569,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:19:35] local.INFO: Acknowledgment sent {"connection_id":188569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:19:35] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b269df30012d79f7c005e50c80000100a926..."} 
[2026-09-18 08:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b269df30012d79f7c005e50c80000100a926..."} 
[2026-09-18 08:19:35] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b269df30012d79f7c005e50c80000100a926..."} 
[2026-09-18 08:19:35] local.INFO: Packet analysis {"connection_id":187256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:19:35] local.INFO: Extracted packet for processing {"connection_id":187256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:19:35] local.INFO: GPS Element Parsed {"raw_longitude":762968000,"raw_latitude":98897024,"longitude_deg":76.2968,"latitude_deg":9.8897024,"altitude":1,"angle":169,"satellites":38,"speed":31,"hex_longitude":"2d79f7c0","hex_latitude":"05e50c80","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163113984001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134515785845440512,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786663635808129024,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:35] 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-09-18 08:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789699678000,"timestamp_ms":1789699678000,"timestamp_seconds":1789699678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b269df30"} 
[2026-09-18 08:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:19: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-09-18 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 08:19:35] 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-09-18 08: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-09-18 08:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:19:35] 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-09-18 08:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163113984001,"66":13439,"39":206,"87":13824,"24":31,"16":134515785845440512,"45":8786663635808129024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163113984001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:19:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134515785845440512,"km_value":134515785845440.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786663635808129024,"description":"Unknown IO ID 45"} 
[2026-09-18 08:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163113984001,"power":13439,"unknown_39":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8786663635808129024}} 
[2026-09-18 08:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":187256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:19:35] local.INFO: GPS data processed {"connection_id":187256,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:19:35] local.INFO: Acknowledgment sent {"connection_id":187256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:19:51] local.INFO: TCP Data received {"connection_id":185950,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:19:51] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26683d0012d34c14006aa4440000a011826..."} 
[2026-09-18 08:19:51] local.INFO: Packet analysis {"connection_id":185950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:19:51] local.INFO: Extracted packet for processing {"connection_id":185950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b266"} 
[2026-09-18 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458162984192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789699458000,"timestamp_ms":1789699458000,"timestamp_seconds":1789699458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26683d0"} 
[2026-09-18 08:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458162984192001,"66":25321,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458162984192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:19:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458162984192001,"power":25321,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":185950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:19:51] local.INFO: GPS data processed {"connection_id":185950,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:19:51] local.INFO: Acknowledgment sent {"connection_id":185950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:07] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b269fa88012d79fd4005e4f5f00000009b26..."} 
[2026-09-18 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b269fa88012d79fd4005e4f5f00000009b26..."} 
[2026-09-18 08:20:07] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b269fa88012d79fd4005e4f5f00000009b26..."} 
[2026-09-18 08:20:07] local.INFO: Packet analysis {"connection_id":187256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:20:07] local.INFO: Extracted packet for processing {"connection_id":187256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b269"} 
[2026-09-18 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":762969408,"raw_latitude":98891248,"longitude_deg":76.2969408,"latitude_deg":9.8891248,"altitude":0,"angle":155,"satellites":38,"speed":35,"hex_longitude":"2d79fd40","hex_latitude":"05e4f5f0","is_valid_coordinates":true} 
[2026-09-18 08:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163117568001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134516073608249344,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788704329386983424,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:07] 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-09-18 08:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789699685000,"timestamp_ms":1789699685000,"timestamp_seconds":1789699685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b269fa88"} 
[2026-09-18 08:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 08:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:20:07] 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-09-18 08:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163117568001,"66":13472,"39":206,"87":13824,"24":35,"16":134516073608249344,"45":8788704329386983424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163117568001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:20:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134516073608249344,"km_value":134516073608249.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788704329386983424,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163117568001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8788704329386983424}} 
[2026-09-18 08:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":187256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:07] local.INFO: GPS data processed {"connection_id":187256,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:07] local.INFO: Acknowledgment sent {"connection_id":187256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:13] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26bbfa8012d0b21c00702bd10001600890a..."} 
[2026-09-18 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26bbfa8012d0b21c00702bd10001600890a..."} 
[2026-09-18 08:20:13] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26bbfa8012d0b21c00702bd10001600890a..."} 
[2026-09-18 08:20:13] local.INFO: Packet analysis {"connection_id":188569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:20:13] local.INFO: Extracted packet for processing {"connection_id":188569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:20:13] local.INFO: GPS Element Parsed {"raw_longitude":755704256,"raw_latitude":117619984,"longitude_deg":75.5704256,"latitude_deg":11.7619984,"altitude":22,"angle":137,"satellites":10,"speed":13,"hex_longitude":"2d0b21c0","hex_latitude":"0702bd10","is_valid_coordinates":true} 
[2026-09-18 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163148800001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32963148147326976,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801781501271076864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789699801000,"timestamp_ms":1789699801000,"timestamp_seconds":1789699801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26bbfa8"} 
[2026-09-18 08:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:20: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-09-18 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 08:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163148800001,"66":14580,"17":206,"94":11008,"24":13,"16":32963148147326976,"45":801781501271076864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163148800001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32963148147326976,"km_value":32963148147326.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":801781501271076864,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163148800001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":801781501271076864}} 
[2026-09-18 08:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":188569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:13] local.INFO: GPS data processed {"connection_id":188569,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:13] local.INFO: Acknowledgment sent {"connection_id":188569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:18] local.INFO: TCP Data received {"connection_id":185780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:20:18] local.INFO: Processing buffer {"connection_id":185780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:20:18] local.INFO: IMEI packet received {"connection_id":185780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":185780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:20:23] local.INFO: TCP Data received {"connection_id":185780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:20:23] local.INFO: Processing buffer {"connection_id":185780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:20:23] local.INFO: IMEI packet received {"connection_id":185780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":185780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:20:24] local.INFO: TCP Data received {"connection_id":185780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:20:24] local.INFO: Processing buffer {"connection_id":185780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:20:24] local.INFO: Packet analysis {"connection_id":185780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:20:24] local.INFO: Extracted packet for processing {"connection_id":185780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":185780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:24] local.INFO: GPS data processed {"connection_id":185780,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:24] local.INFO: Acknowledgment sent {"connection_id":185780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:28] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:28] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:28] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:20:29] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:29] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:29] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:20:31] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:31] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:31] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:20:32] local.INFO: TCP Data received {"connection_id":185951,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:20:32] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:20:32] local.INFO: IMEI packet received {"connection_id":185951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":185951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:20:32] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:32] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:20:32] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:20:33] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26c2920012d0b45c00702a388001100970a..."} 
[2026-09-18 08:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26c2920012d0b45c00702a388001100970a..."} 
[2026-09-18 08:20:33] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26c2920012d0b45c00702a388001100970a..."} 
[2026-09-18 08:20:33] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:20:33] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:20:33] local.INFO: GPS Element Parsed {"raw_longitude":755713472,"raw_latitude":117613448,"longitude_deg":75.5713472,"latitude_deg":11.7613448,"altitude":17,"angle":151,"satellites":10,"speed":18,"hex_longitude":"2d0b45c0","hex_latitude":"0702a388","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163154432001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32963758032683008,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810788700524705792,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789699828000,"timestamp_ms":1789699828000,"timestamp_seconds":1789699828,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26c2920"} 
[2026-09-18 08:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08: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":125,"data_length":795,"current_offset":136} 
[2026-09-18 08:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163154432001,"66":13678,"17":206,"94":11008,"24":18,"16":32963758032683008,"45":810788700524705792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163154432001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32963758032683008,"km_value":32963758032683.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":810788700524705792,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163154432001,"power":13678,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":810788700524705792}} 
[2026-09-18 08:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859225,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:33] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:33] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:34] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26c30f0012d0b48800702a0d8001000800a..."} 
[2026-09-18 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26c30f0012d0b48800702a0d8001000800a..."} 
[2026-09-18 08:20:34] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26c30f0012d0b48800702a0d8001000800a..."} 
[2026-09-18 08:20:34] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:20:34] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":755714176,"raw_latitude":117612760,"longitude_deg":75.5714176,"latitude_deg":11.761276,"altitude":16,"angle":128,"satellites":10,"speed":15,"hex_longitude":"2d0b4880","hex_latitude":"0702a0d8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163155968001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32963805277323264,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812266444151818240,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699830000,"timestamp_ms":1789699830000,"timestamp_seconds":1789699830,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26c30f0"} 
[2026-09-18 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-09-18 08:20: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-09-18 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 08:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163155968001,"66":14515,"17":206,"94":11008,"24":15,"16":32963805277323264,"45":812266444151818240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163155968001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32963805277323264,"km_value":32963805277323.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":812266444151818240,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163155968001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":812266444151818240}} 
[2026-09-18 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859226,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:34] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:34] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:36] local.INFO: TCP Data received {"connection_id":185951,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:20:36] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:20:36] local.INFO: IMEI packet received {"connection_id":185951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":185951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:20:37] local.INFO: TCP Data received {"connection_id":185951,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26a19c8012d7a0e4005e4db780000009025..."} 
[2026-09-18 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26a19c8012d7a0e4005e4db780000009025..."} 
[2026-09-18 08:20:37] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26a19c8012d7a0e4005e4db780000009025..."} 
[2026-09-18 08:20:37] local.INFO: Packet analysis {"connection_id":185951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:20:37] local.INFO: Extracted packet for processing {"connection_id":185951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26a"} 
[2026-09-18 08:20:37] local.INFO: GPS Element Parsed {"raw_longitude":762973760,"raw_latitude":98884472,"longitude_deg":76.297376,"latitude_deg":9.8884472,"altitude":0,"angle":144,"satellites":37,"speed":42,"hex_longitude":"2d7a0e40","hex_latitude":"05e4db78","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163119360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134516464450273280,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790252441757413376,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:37] 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-09-18 08:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789699693000,"timestamp_ms":1789699693000,"timestamp_seconds":1789699693,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26a19c8"} 
[2026-09-18 08:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:20:37] 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-09-18 08:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163119360001,"66":13526,"39":206,"87":13824,"24":42,"16":134516464450273280,"45":8790252441757413376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163119360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:20:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134516464450273280,"km_value":134516464450273.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790252441757413376,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163119360001,"power":13526,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8790252441757413376}} 
[2026-09-18 08:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":185951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:37] local.INFO: GPS data processed {"connection_id":185951,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:37] local.INFO: Acknowledgment sent {"connection_id":185951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:20:56] local.INFO: TCP Data received {"connection_id":185780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:20:56] local.INFO: Processing buffer {"connection_id":185780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:20:56] local.INFO: Packet analysis {"connection_id":185780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:20:56] local.INFO: Extracted packet for processing {"connection_id":185780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:20:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:20: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-09-18 08:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:20:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:20:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":185780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:20:57] local.INFO: GPS data processed {"connection_id":185780,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:20:57] local.INFO: Acknowledgment sent {"connection_id":185780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:21:06] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26c34d8012d0b4ac00702a0780010006a0a..."} 
[2026-09-18 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26c34d8012d0b4ac00702a0780010006a0a..."} 
[2026-09-18 08:21:06] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26c34d8012d0b4ac00702a0780010006a0a..."} 
[2026-09-18 08:21:06] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:21:06] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":755714752,"raw_latitude":117612664,"longitude_deg":75.5714752,"latitude_deg":11.7612664,"altitude":16,"angle":106,"satellites":10,"speed":17,"hex_longitude":"2d0b4ac0","hex_latitude":"0702a078","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163156480001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32963831047127040,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813040500337596416,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789699831000,"timestamp_ms":1789699831000,"timestamp_seconds":1789699831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26c34d8"} 
[2026-09-18 08:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:21: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-09-18 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 08:21:06] 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-09-18 08: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-09-18 08:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163156480001,"66":14515,"17":206,"94":11008,"24":17,"16":32963831047127040,"45":813040500337596416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163156480001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:21:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32963831047127040,"km_value":32963831047127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":813040500337596416,"description":"Unknown IO ID 45"} 
[2026-09-18 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163156480001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":813040500337596416}} 
[2026-09-18 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859229,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:21:06] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:21:06] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:21:09] local.INFO: TCP Data received {"connection_id":185951,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26bf270012d7acec005e411a00001008726..."} 
[2026-09-18 08:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26bf270012d7acec005e411a00001008726..."} 
[2026-09-18 08:21:09] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26bf270012d7acec005e411a00001008726..."} 
[2026-09-18 08:21:09] local.INFO: Packet analysis {"connection_id":185951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:21:09] local.INFO: Extracted packet for processing {"connection_id":185951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832800,"longitude_deg":76.302304,"latitude_deg":9.88328,"altitude":1,"angle":135,"satellites":38,"speed":0,"hex_longitude":"2d7acec0","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-09-18 08:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163147008001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134519947668750336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130857472,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] 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-09-18 08:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789699814000,"timestamp_ms":1789699814000,"timestamp_seconds":1789699814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26bf270"} 
[2026-09-18 08:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169203653976,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818532,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2993340864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13457447,"corrected_to":0} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147869805,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3885039616,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,39,87,24,241,157,16,233,160,82,45,128,4,37,10,66,232,47,62,7,36,11,1,240,247,227,178,228,113,205,96,239,53,2,221,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":247,"original":13457447,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-18 08:21:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72206191316500480,"timestamp_seconds":72206191316500.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:21:09] 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-09-18 08:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163147008001,"66":13243,"39":206,"87":13824,"24":0,"16":134519947668750336,"45":8849010343130857472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163147008001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:21:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:21:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134519947668750336,"km_value":134519947668750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130857472,"description":"Unknown IO ID 45"} 
[2026-09-18 08:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163147008001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8849010343130857472}} 
[2026-09-18 08:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":185951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:21:09] local.INFO: GPS data processed {"connection_id":185951,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:21:09] local.INFO: Acknowledgment sent {"connection_id":185951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:21:13] local.INFO: TCP Data received {"connection_id":185781,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:21:13] local.INFO: Processing buffer {"connection_id":185781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:21:13] local.INFO: IMEI packet received {"connection_id":185781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":185781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:21:18] local.INFO: TCP Data received {"connection_id":185781,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:21:18] local.INFO: Processing buffer {"connection_id":185781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:21:18] local.INFO: IMEI packet received {"connection_id":185781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":185781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:21:19] local.INFO: TCP Data received {"connection_id":185781,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:21:19] local.INFO: Processing buffer {"connection_id":185781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:21:19] local.INFO: Packet analysis {"connection_id":185781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:21:19] local.INFO: Extracted packet for processing {"connection_id":185781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:21:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":185781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:21:19] local.INFO: GPS data processed {"connection_id":185781,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:21:19] local.INFO: Acknowledgment sent {"connection_id":185781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:21:27] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:27] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:27] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:21:28] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:28] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:28] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:21:31] local.INFO: TCP Data received {"connection_id":185952,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:21:31] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:21:31] local.INFO: IMEI packet received {"connection_id":185952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":185952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:21:33] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:33] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:21:33] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:21:34] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26c38c0012d0b4cc00702a0300010005c0a..."} 
[2026-09-18 08:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26c38c0012d0b4cc00702a0300010005c0a..."} 
[2026-09-18 08:21:34] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26c38c0012d0b4cc00702a0300010005c0a..."} 
[2026-09-18 08:21:34] local.INFO: Packet analysis {"connection_id":188571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:21:34] local.INFO: Extracted packet for processing {"connection_id":188571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:21:34] local.INFO: GPS Element Parsed {"raw_longitude":755715264,"raw_latitude":117612592,"longitude_deg":75.5715264,"latitude_deg":11.7612592,"altitude":16,"angle":92,"satellites":10,"speed":20,"hex_longitude":"2d0b4cc0","hex_latitude":"0702a030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163156736001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32963856816930816,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813673819035170816,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699832000,"timestamp_ms":1789699832000,"timestamp_seconds":1789699832,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26c38c0"} 
[2026-09-18 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-09-18 08:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 08:21:34] 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-09-18 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-09-18 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-09-18 08:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163156736001,"66":14515,"17":206,"94":11008,"24":20,"16":32963856816930816,"45":813673819035170816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163156736001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:21:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32963856816930816,"km_value":32963856816930.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":813673819035170816,"description":"Unknown IO ID 45"} 
[2026-09-18 08:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163156736001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":813673819035170816}} 
[2026-09-18 08:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":188571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859232,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:21:34] local.INFO: GPS data processed {"connection_id":188571,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:21:34] local.INFO: Acknowledgment sent {"connection_id":188571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:21:36] local.INFO: TCP Data received {"connection_id":185952,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:21:36] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:21:36] local.INFO: IMEI packet received {"connection_id":185952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":185952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:21:38] local.INFO: TCP Data received {"connection_id":185952,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26c4478012d7acec005e411a00001008727..."} 
[2026-09-18 08:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26c4478012d7acec005e411a00001008727..."} 
[2026-09-18 08:21:38] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26c4478012d7acec005e411a00001008727..."} 
[2026-09-18 08:21:38] local.INFO: Packet analysis {"connection_id":185952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:21:38] local.INFO: Extracted packet for processing {"connection_id":185952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832800,"longitude_deg":76.302304,"latitude_deg":9.88328,"altitude":1,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2d7acec0","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-09-18 08:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163152384001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134519947668750336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363333120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:38] 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-09-18 08:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789699835000,"timestamp_ms":1789699835000,"timestamp_seconds":1789699835,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26c4478"} 
[2026-09-18 08:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 08:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:21:38] 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-09-18 08:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163152384001,"66":13461,"39":206,"87":13824,"24":0,"16":134519947668750336,"45":8849221449363333120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163152384001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:21:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:21:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134519947668750336,"km_value":134519947668750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363333120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163152384001,"power":13461,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8849221449363333120}} 
[2026-09-18 08:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":185952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:21:38] local.INFO: GPS data processed {"connection_id":185952,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:21:38] local.INFO: Acknowledgment sent {"connection_id":185952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:21:50] local.INFO: TCP Data received {"connection_id":185781,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:21:50] local.INFO: Processing buffer {"connection_id":185781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:21:50] local.INFO: Packet analysis {"connection_id":185781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:21:50] local.INFO: Extracted packet for processing {"connection_id":185781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:21:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":185781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:21:50] local.INFO: GPS data processed {"connection_id":185781,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:21:50] local.INFO: Acknowledgment sent {"connection_id":185781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:22:09] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26d59d0012d0bb5000702a320001000780b..."} 
[2026-09-18 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26d59d0012d0bb5000702a320001000780b..."} 
[2026-09-18 08:22:09] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26d59d0012d0bb5000702a320001000780b..."} 
[2026-09-18 08:22:09] local.INFO: Packet analysis {"connection_id":188571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:22:09] local.INFO: Extracted packet for processing {"connection_id":188571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":755741952,"raw_latitude":117613344,"longitude_deg":75.5741952,"latitude_deg":11.7613344,"altitude":16,"angle":120,"satellites":11,"speed":16,"hex_longitude":"2d0bb500","hex_latitude":"0702a320","is_valid_coordinates":true} 
[2026-09-18 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163175168001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32965252681302016,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842243529171666944,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789699906000,"timestamp_ms":1789699906000,"timestamp_seconds":1789699906,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26d59d0"} 
[2026-09-18 08:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163175168001,"66":14439,"17":206,"94":11008,"24":16,"16":32965252681302016,"45":842243529171666944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163175168001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32965252681302016,"km_value":32965252681302.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":842243529171666944,"description":"Unknown IO ID 45"} 
[2026-09-18 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163175168001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":842243529171666944}} 
[2026-09-18 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":188571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:22:09] local.INFO: GPS data processed {"connection_id":188571,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:22:09] local.INFO: Acknowledgment sent {"connection_id":188571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:22:09] local.INFO: TCP Data received {"connection_id":185952,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26c9680012d7acec005e411a00001008725..."} 
[2026-09-18 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26c9680012d7acec005e411a00001008725..."} 
[2026-09-18 08:22:09] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26c9680012d7acec005e411a00001008725..."} 
[2026-09-18 08:22:09] local.INFO: Packet analysis {"connection_id":185952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:22:09] local.INFO: Extracted packet for processing {"connection_id":185952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832800,"longitude_deg":76.302304,"latitude_deg":9.88328,"altitude":1,"angle":135,"satellites":37,"speed":0,"hex_longitude":"2d7acec0","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-09-18 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163157760001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134519947668750336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363333120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:09] 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-09-18 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789699856000,"timestamp_ms":1789699856000,"timestamp_seconds":1789699856,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26c9680"} 
[2026-09-18 08:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 08:22:09] 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-09-18 08:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:22:09] 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-09-18 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163157760001,"66":13472,"39":206,"87":13824,"24":0,"16":134519947668750336,"45":8849221449363333120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163157760001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134519947668750336,"km_value":134519947668750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363333120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163157760001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8849221449363333120}} 
[2026-09-18 08:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":185952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:22:10] local.INFO: GPS data processed {"connection_id":185952,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:22:10] local.INFO: Acknowledgment sent {"connection_id":185952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:22:18] local.INFO: TCP Data received {"connection_id":185953,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:22:18] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:22:18] local.INFO: IMEI packet received {"connection_id":185953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":185953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:22:28] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:28] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:28] local.INFO: IMEI packet received {"connection_id":185954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":185954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:22:31] local.INFO: TCP Data received {"connection_id":185782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:31] local.INFO: Processing buffer {"connection_id":185782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:31] local.INFO: IMEI packet received {"connection_id":185782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":185782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:22:32] local.INFO: TCP Data received {"connection_id":185782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:32] local.INFO: Processing buffer {"connection_id":185782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:32] local.INFO: IMEI packet received {"connection_id":185782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":185782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:22:32] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:32] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:32] local.INFO: IMEI packet received {"connection_id":185954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":185954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:22:33] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:33] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:22:33] local.INFO: IMEI packet received {"connection_id":185954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":185954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:22:33] local.INFO: TCP Data received {"connection_id":185953,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:22:33] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:22:33] local.INFO: IMEI packet received {"connection_id":185953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":185953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:22:34] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26d5db8012d0bb6800702a340001000690b..."} 
[2026-09-18 08:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26d5db8012d0bb6800702a340001000690b..."} 
[2026-09-18 08:22:34] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26d5db8012d0bb6800702a340001000690b..."} 
[2026-09-18 08:22:34] local.INFO: Packet analysis {"connection_id":185954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:22:34] local.INFO: Extracted packet for processing {"connection_id":185954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:22:34] local.INFO: GPS Element Parsed {"raw_longitude":755742336,"raw_latitude":117613376,"longitude_deg":75.5742336,"latitude_deg":11.7613376,"altitude":16,"angle":105,"satellites":11,"speed":14,"hex_longitude":"2d0bb680","hex_latitude":"0702a340","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163175936001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32965269861171200,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843580535310852096,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699907000,"timestamp_ms":1789699907000,"timestamp_seconds":1789699907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26d5db8"} 
[2026-09-18 08:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163175936001,"66":14439,"17":206,"94":11008,"24":14,"16":32965269861171200,"45":843580535310852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163175936001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:22:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32965269861171200,"km_value":32965269861171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":843580535310852096,"description":"Unknown IO ID 45"} 
[2026-09-18 08:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163175936001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":843580535310852096}} 
[2026-09-18 08:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":185954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:22:34] local.INFO: GPS data processed {"connection_id":185954,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:22:34] local.INFO: Acknowledgment sent {"connection_id":185954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:22:34] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26d61a0012d0bb8000702a3c0001000510b..."} 
[2026-09-18 08:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26d61a0012d0bb8000702a3c0001000510b..."} 
[2026-09-18 08:22:34] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26d61a0012d0bb8000702a3c0001000510b..."} 
[2026-09-18 08:22:34] local.INFO: Packet analysis {"connection_id":185954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:22:34] local.INFO: Extracted packet for processing {"connection_id":185954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:22:34] local.INFO: GPS Element Parsed {"raw_longitude":755742720,"raw_latitude":117613504,"longitude_deg":75.574272,"latitude_deg":11.7613504,"altitude":16,"angle":81,"satellites":11,"speed":13,"hex_longitude":"2d0bb800","hex_latitude":"0702a3c0","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163176192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32965287041040384,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844002747775926272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699908000,"timestamp_ms":1789699908000,"timestamp_seconds":1789699908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26d61a0"} 
[2026-09-18 08:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163176192001,"66":14439,"17":206,"94":11008,"24":13,"16":32965287041040384,"45":844002747775926272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 08:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163176192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:22:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32965287041040384,"km_value":32965287041040.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":844002747775926272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163176192001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":844002747775926272}} 
[2026-09-18 08:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":185954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:22:35] local.INFO: GPS data processed {"connection_id":185954,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:22:35] local.INFO: Acknowledgment sent {"connection_id":185954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:22:38] local.INFO: TCP Data received {"connection_id":185782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:38] local.INFO: Processing buffer {"connection_id":185782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:22:38] local.INFO: IMEI packet received {"connection_id":185782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":185782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:22:39] local.INFO: TCP Data received {"connection_id":185782,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26ce888012d7acec005e411a00001008727..."} 
[2026-09-18 08:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26ce888012d7acec005e411a00001008727..."} 
[2026-09-18 08:22:39] local.INFO: Processing buffer {"connection_id":185782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26ce888012d7acec005e411a00001008727..."} 
[2026-09-18 08:22:39] local.INFO: Packet analysis {"connection_id":185782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:22:39] local.INFO: Extracted packet for processing {"connection_id":185782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26c"} 
[2026-09-18 08:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832800,"longitude_deg":76.302304,"latitude_deg":9.88328,"altitude":1,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2d7acec0","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-09-18 08:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163163136001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134519947668750336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363333120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:39] 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-09-18 08:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789699877000,"timestamp_ms":1789699877000,"timestamp_seconds":1789699877,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26ce888"} 
[2026-09-18 08:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:22:39] 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-09-18 08:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163163136001,"66":13472,"39":206,"87":13824,"24":0,"16":134519947668750336,"45":8849221449363333120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163163136001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:22:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:22:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134519947668750336,"km_value":134519947668750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363333120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163163136001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8849221449363333120}} 
[2026-09-18 08:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":185782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:22:39] local.INFO: GPS data processed {"connection_id":185782,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:22:39] local.INFO: Acknowledgment sent {"connection_id":185782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:22:55] local.INFO: TCP Data received {"connection_id":185953,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:22:55] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:22:55] local.INFO: Packet analysis {"connection_id":185953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:22:55] local.INFO: Extracted packet for processing {"connection_id":185953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:22: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-09-18 08: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-09-18 08:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:22:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":185953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:22:55] local.INFO: GPS data processed {"connection_id":185953,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:22:55] local.INFO: Acknowledgment sent {"connection_id":185953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:23:05] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26e57b8012d0bfcc00702ac10001800510b..."} 
[2026-09-18 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26e57b8012d0bfcc00702ac10001800510b..."} 
[2026-09-18 08:23:05] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26e57b8012d0bfcc00702ac10001800510b..."} 
[2026-09-18 08:23:05] local.INFO: Packet analysis {"connection_id":185954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26e"} 
[2026-09-18 08:23:05] local.INFO: Extracted packet for processing {"connection_id":185954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26e"} 
[2026-09-18 08:23:05] local.INFO: GPS Element Parsed {"raw_longitude":755760320,"raw_latitude":117615632,"longitude_deg":75.576032,"latitude_deg":11.7615632,"altitude":24,"angle":81,"satellites":11,"speed":9,"hex_longitude":"2d0bfcc0","hex_latitude":"0702ac10","is_valid_coordinates":true} 
[2026-09-18 08:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163191552001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966158919401472,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862580096239357952,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789699971000,"timestamp_ms":1789699971000,"timestamp_seconds":1789699971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26e57b8"} 
[2026-09-18 08:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 08:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163191552001,"66":14439,"37":206,"94":11008,"24":9,"16":32966158919401472,"45":862580096239357952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163191552001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:23:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:23:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966158919401472,"km_value":32966158919401.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":862580096239357952,"description":"Unknown IO ID 45"} 
[2026-09-18 08:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163191552001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":862580096239357952}} 
[2026-09-18 08:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":185954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:23:06] local.INFO: GPS data processed {"connection_id":185954,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:23:06] local.INFO: Acknowledgment sent {"connection_id":185954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:23:11] local.INFO: TCP Data received {"connection_id":185782,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26d3a90012d7acec005e411a00001008726..."} 
[2026-09-18 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26d3a90012d7acec005e411a00001008726..."} 
[2026-09-18 08:23:11] local.INFO: Processing buffer {"connection_id":185782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26d3a90012d7acec005e411a00001008726..."} 
[2026-09-18 08:23:11] local.INFO: Packet analysis {"connection_id":185782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:23:11] local.INFO: Extracted packet for processing {"connection_id":185782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832800,"longitude_deg":76.302304,"latitude_deg":9.88328,"altitude":1,"angle":135,"satellites":38,"speed":0,"hex_longitude":"2d7acec0","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-09-18 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163168512001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134519947668750336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363333120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:11] 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-09-18 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789699898000,"timestamp_ms":1789699898000,"timestamp_seconds":1789699898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26d3a90"} 
[2026-09-18 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:23:11] 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-09-18 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163168512001,"66":13406,"39":206,"87":13824,"24":0,"16":134519947668750336,"45":8849221449363333120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163168512001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:23:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:23:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134519947668750336,"km_value":134519947668750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363333120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163168512001,"power":13406,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8849221449363333120}} 
[2026-09-18 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":185782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:23:11] local.INFO: GPS data processed {"connection_id":185782,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:23:11] local.INFO: Acknowledgment sent {"connection_id":185782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:23:29] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:23:29] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:23:29] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:23:31] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:32] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:32] local.INFO: IMEI packet received {"connection_id":185783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":185783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:23:32] local.INFO: TCP Data received {"connection_id":185956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:32] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:32] local.INFO: IMEI packet received {"connection_id":185956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":185956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:23:32] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:32] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:32] local.INFO: IMEI packet received {"connection_id":185783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":185783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:23:33] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:23:33] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:23:33] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:23:33] local.INFO: TCP Data received {"connection_id":185956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:33] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:33] local.INFO: IMEI packet received {"connection_id":185956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":185956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:23:34] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:34] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:34] local.INFO: IMEI packet received {"connection_id":185783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":185783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:23:34] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:23:34] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:23:34] local.INFO: Packet analysis {"connection_id":188572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:23:34] local.INFO: Extracted packet for processing {"connection_id":188572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 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-09-18 08:23: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-09-18 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:23: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-09-18 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-09-18 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-09-18 08:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:23:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":188572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:23:34] local.INFO: GPS data processed {"connection_id":188572,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:23:34] local.INFO: Acknowledgment sent {"connection_id":188572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:23:36] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:36] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:23:36] local.INFO: IMEI packet received {"connection_id":185783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":185783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:23:38] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26d8c98012d7acec005e411a00001008726..."} 
[2026-09-18 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26d8c98012d7acec005e411a00001008726..."} 
[2026-09-18 08:23:38] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26d8c98012d7acec005e411a00001008726..."} 
[2026-09-18 08:23:38] local.INFO: Packet analysis {"connection_id":185783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:23:38] local.INFO: Extracted packet for processing {"connection_id":185783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26d"} 
[2026-09-18 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832800,"longitude_deg":76.302304,"latitude_deg":9.88328,"altitude":1,"angle":135,"satellites":38,"speed":0,"hex_longitude":"2d7acec0","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-09-18 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163173888001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134519947668750336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363333120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:38] 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-09-18 08:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789699919000,"timestamp_ms":1789699919000,"timestamp_seconds":1789699919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26d8c98"} 
[2026-09-18 08:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 08:23:38] 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-09-18 08:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:23:38] 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-09-18 08:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163173888001,"66":13406,"39":206,"87":13824,"24":0,"16":134519947668750336,"45":8849221449363333120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 08:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163173888001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:23:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 08:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134519947668750336,"km_value":134519947668750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363333120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163173888001,"power":13406,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8849221449363333120}} 
[2026-09-18 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":185783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:23:38] local.INFO: GPS data processed {"connection_id":185783,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:23:38] local.INFO: Acknowledgment sent {"connection_id":185783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:23:38] local.INFO: TCP Data received {"connection_id":185956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:38] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:23:38] local.INFO: IMEI packet received {"connection_id":185956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":185956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:23:39] local.INFO: TCP Data received {"connection_id":185956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26e82b0012d0c07800702af38001800450b..."} 
[2026-09-18 08:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26e82b0012d0c07800702af38001800450b..."} 
[2026-09-18 08:23:39] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26e82b0012d0c07800702af38001800450b..."} 
[2026-09-18 08:23:39] local.INFO: Packet analysis {"connection_id":185956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26e"} 
[2026-09-18 08:23:39] local.INFO: Extracted packet for processing {"connection_id":185956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26e"} 
[2026-09-18 08:23:39] local.INFO: GPS Element Parsed {"raw_longitude":755763072,"raw_latitude":117616440,"longitude_deg":75.5763072,"latitude_deg":11.761644,"altitude":24,"angle":69,"satellites":11,"speed":12,"hex_longitude":"2d0c0780","hex_latitude":"0702af38","is_valid_coordinates":true} 
[2026-09-18 08:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163192576001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966296358354944,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863776364890427392,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789699982000,"timestamp_ms":1789699982000,"timestamp_seconds":1789699982,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26e82b0"} 
[2026-09-18 08:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:23: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-09-18 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163192576001,"66":14309,"37":206,"94":11008,"24":12,"16":32966296358354944,"45":863776364890427392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163192576001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:23:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:23:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966296358354944,"km_value":32966296358354.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":863776364890427392,"description":"Unknown IO ID 45"} 
[2026-09-18 08:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163192576001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":863776364890427392}} 
[2026-09-18 08:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":185956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:23:39] local.INFO: GPS data processed {"connection_id":185956,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:23:39] local.INFO: Acknowledgment sent {"connection_id":185956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:23:43] local.INFO: TCP Data received {"connection_id":185956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26e8698012d0c08c00702af58001800500b..."} 
[2026-09-18 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26e8698012d0c08c00702af58001800500b..."} 
[2026-09-18 08:23:43] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26e8698012d0c08c00702af58001800500b..."} 
[2026-09-18 08:23:43] local.INFO: Packet analysis {"connection_id":185956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26e"} 
[2026-09-18 08:23:43] local.INFO: Extracted packet for processing {"connection_id":185956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26e"} 
[2026-09-18 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":755763392,"raw_latitude":117616472,"longitude_deg":75.5763392,"latitude_deg":11.7616472,"altitude":24,"angle":80,"satellites":11,"speed":10,"hex_longitude":"2d0c08c0","hex_latitude":"0702af58","is_valid_coordinates":true} 
[2026-09-18 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163195392001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966313538224128,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866802220890273792,"note":"Value kept but may cause issues"} 
[2026-09-18 08:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789699983000,"timestamp_ms":1789699983000,"timestamp_seconds":1789699983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26e8698"} 
[2026-09-18 08:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 08:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163195392001,"66":14428,"37":206,"94":11008,"24":10,"16":32966313538224128,"45":866802220890273792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163195392001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966313538224128,"km_value":32966313538224.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":866802220890273792,"description":"Unknown IO ID 45"} 
[2026-09-18 08:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163195392001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":866802220890273792}} 
[2026-09-18 08:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":185956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859246,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:23:43] local.INFO: GPS data processed {"connection_id":185956,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:23:43] local.INFO: Acknowledgment sent {"connection_id":185956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:24:11] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f0780012d7aaf8005e3da88000700fa27..."} 
[2026-09-18 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f0780012d7aaf8005e3da88000700fa27..."} 
[2026-09-18 08:24:11] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f0780012d7aaf8005e3da88000700fa27..."} 
[2026-09-18 08:24:11] local.INFO: Packet analysis {"connection_id":185783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:24:11] local.INFO: Extracted packet for processing {"connection_id":185783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763015040,"raw_latitude":98818696,"longitude_deg":76.301504,"latitude_deg":9.8818696,"altitude":7,"angle":250,"satellites":39,"speed":6,"hex_longitude":"2d7aaf80","hex_latitude":"05e3da88","is_valid_coordinates":true} 
[2026-09-18 08:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163202816001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521030000508928,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841129043779420160,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:11] 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-09-18 08:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789700016000,"timestamp_ms":1789700016000,"timestamp_seconds":1789700016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f0780"} 
[2026-09-18 08:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-18 08:24:11] 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-09-18 08:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:24:11] 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-09-18 08:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163202816001,"66":13450,"208":206,"85":15104,"24":6,"16":134521030000508928,"45":8841129043779420160},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163202816001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:24:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521030000508928,"km_value":134521030000508.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841129043779420160,"description":"Unknown IO ID 45"} 
[2026-09-18 08:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163202816001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8841129043779420160}} 
[2026-09-18 08:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":185783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:24:11] local.INFO: GPS data processed {"connection_id":185783,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:24:11] local.INFO: Acknowledgment sent {"connection_id":185783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:24:13] local.INFO: TCP Data received {"connection_id":187257,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:24:13] local.INFO: Processing buffer {"connection_id":187257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:24:13] local.INFO: IMEI packet received {"connection_id":187257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":187257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:24:18] local.INFO: TCP Data received {"connection_id":187257,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:24:18] local.INFO: Processing buffer {"connection_id":187257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:24:18] local.INFO: IMEI packet received {"connection_id":187257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":187257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:24:19] local.INFO: TCP Data received {"connection_id":187257,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:24:19] local.INFO: Processing buffer {"connection_id":187257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:24:19] local.INFO: Packet analysis {"connection_id":187257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:24:19] local.INFO: Extracted packet for processing {"connection_id":187257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:24:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":187257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:24:19] local.INFO: GPS data processed {"connection_id":187257,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:24:19] local.INFO: Acknowledgment sent {"connection_id":187257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:24:28] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:24:28] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:24:28] local.INFO: IMEI packet received {"connection_id":188573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":188573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:24:31] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:24:31] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:24:31] local.INFO: IMEI packet received {"connection_id":187258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":187258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:24:33] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:24:33] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:24:33] local.INFO: IMEI packet received {"connection_id":188573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":188573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:24:34] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f8480012d0c23000702ae58001700db0e..."} 
[2026-09-18 08:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f8480012d0c23000702ae58001700db0e..."} 
[2026-09-18 08:24:34] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f8480012d0c23000702ae58001700db0e..."} 
[2026-09-18 08:24:34] local.INFO: Packet analysis {"connection_id":188573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:24:34] local.INFO: Extracted packet for processing {"connection_id":188573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616216,"longitude_deg":75.5770112,"latitude_deg":11.7616216,"altitude":23,"angle":219,"satellites":14,"speed":1,"hex_longitude":"2d0c2300","hex_latitude":"0702ae58","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163211520001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874613151493967872,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700048000,"timestamp_ms":1789700048000,"timestamp_seconds":1789700048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f8480"} 
[2026-09-18 08:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 08:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163211520001,"66":14461,"37":206,"94":11008,"24":1,"16":32966721560117248,"45":874613151493967872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163211520001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:24:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:24:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":874613151493967872,"description":"Unknown IO ID 45"} 
[2026-09-18 08:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163211520001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":874613151493967872}} 
[2026-09-18 08:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":188573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:24:34] local.INFO: GPS data processed {"connection_id":188573,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:24:34] local.INFO: Acknowledgment sent {"connection_id":188573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:24:36] local.INFO: TCP Data received {"connection_id":185955,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:24:36] local.INFO: Processing buffer {"connection_id":185955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:24:36] local.INFO: IMEI packet received {"connection_id":185955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":185955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:24:36] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:24:36] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:24:36] local.INFO: IMEI packet received {"connection_id":187258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":187258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:24:38] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f0f50012d7aae0005e3da400007010f27..."} 
[2026-09-18 08:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f0f50012d7aae0005e3da400007010f27..."} 
[2026-09-18 08:24:38] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f0f50012d7aae0005e3da400007010f27..."} 
[2026-09-18 08:24:38] local.INFO: Packet analysis {"connection_id":187258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:24:38] local.INFO: Extracted packet for processing {"connection_id":187258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763014656,"raw_latitude":98818624,"longitude_deg":76.3014656,"latitude_deg":9.8818624,"altitude":7,"angle":271,"satellites":39,"speed":8,"hex_longitude":"2d7aae00","hex_latitude":"05e3da40","is_valid_coordinates":true} 
[2026-09-18 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163204096001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521051475345408,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840425356337514496,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:38] 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-09-18 08:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789700018000,"timestamp_ms":1789700018000,"timestamp_seconds":1789700018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f0f50"} 
[2026-09-18 08:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 08:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:24:38] 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-09-18 08:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163204096001,"66":13222,"208":206,"85":15104,"24":8,"16":134521051475345408,"45":8840425356337514496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163204096001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:24:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521051475345408,"km_value":134521051475345.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840425356337514496,"description":"Unknown IO ID 45"} 
[2026-09-18 08:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163204096001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8840425356337514496}} 
[2026-09-18 08:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":187258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:24:38] local.INFO: GPS data processed {"connection_id":187258,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:24:38] local.INFO: Acknowledgment sent {"connection_id":187258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:24:53] local.INFO: TCP Data received {"connection_id":187257,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:24:53] local.INFO: Processing buffer {"connection_id":187257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26b1b98012d34c14006aa4440000a011825..."} 
[2026-09-18 08:24:53] local.INFO: Packet analysis {"connection_id":187257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:24:53] local.INFO: Extracted packet for processing {"connection_id":187257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26b"} 
[2026-09-18 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163061248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789699759000,"timestamp_ms":1789699759000,"timestamp_seconds":1789699759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26b1b98"} 
[2026-09-18 08:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 08:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163061248001,"66":25430,"9":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-18 08:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163061248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:24:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 08:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163061248001,"power":25430,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":187257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:24:53] local.INFO: GPS data processed {"connection_id":187257,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:24:53] local.INFO: Acknowledgment sent {"connection_id":187257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:25:05] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:25:05] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:25:05] local.INFO: Packet analysis {"connection_id":188573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:05] local.INFO: Extracted packet for processing {"connection_id":188573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616224,"longitude_deg":75.5770112,"latitude_deg":11.7616224,"altitude":23,"angle":219,"satellites":14,"speed":0,"hex_longitude":"2d0c2300","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-09-18 08:25: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-09-18 08:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749759488,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789700051000,"timestamp_ms":1789700051000,"timestamp_seconds":1789700051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f9038"} 
[2026-09-18 08:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 08:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163212288001,"66":14428,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749759488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:25:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:25:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749759488,"description":"Unknown IO ID 45"} 
[2026-09-18 08:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163212288001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749759488}} 
[2026-09-18 08:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":188573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:25:05] local.INFO: GPS data processed {"connection_id":188573,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:25:05] local.INFO: Acknowledgment sent {"connection_id":188573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:25:09] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f5d70012d7aa00005e3da700006010924..."} 
[2026-09-18 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f5d70012d7aa00005e3da700006010924..."} 
[2026-09-18 08:25:09] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f5d70012d7aa00005e3da700006010924..."} 
[2026-09-18 08:25:09] local.INFO: Packet analysis {"connection_id":187258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:09] local.INFO: Extracted packet for processing {"connection_id":187258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":98818672,"longitude_deg":76.3011072,"latitude_deg":9.8818672,"altitude":6,"angle":265,"satellites":36,"speed":6,"hex_longitude":"2d7aa000","hex_latitude":"05e3da70","is_valid_coordinates":true} 
[2026-09-18 08:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163204608001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521223274037248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840003143872430080,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789700038000,"timestamp_ms":1789700038000,"timestamp_seconds":1789700038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f5d70"} 
[2026-09-18 08:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 08:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:25:09] 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-09-18 08:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163204608001,"66":13450,"208":206,"85":15104,"24":6,"16":134521223274037248,"45":8840003143872430080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163204608001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:25:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521223274037248,"km_value":134521223274037.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840003143872430080,"description":"Unknown IO ID 45"} 
[2026-09-18 08:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163204608001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8840003143872430080}} 
[2026-09-18 08:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":187258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:25:09] local.INFO: GPS data processed {"connection_id":187258,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:25:09] local.INFO: Acknowledgment sent {"connection_id":187258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:25:12] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:25:12] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:25:12] local.INFO: IMEI packet received {"connection_id":187259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":187259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:25:23] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:25:23] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:25:23] local.INFO: IMEI packet received {"connection_id":187259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":187259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:25:27] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:25:27] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:25:27] local.INFO: Packet analysis {"connection_id":187259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:27] local.INFO: Extracted packet for processing {"connection_id":187259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:25:27] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:25:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":187259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:25:27] local.INFO: GPS data processed {"connection_id":187259,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:25:27] local.INFO: Acknowledgment sent {"connection_id":187259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:25:28] local.INFO: TCP Data received {"connection_id":185957,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:25:28] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:25:28] local.INFO: IMEI packet received {"connection_id":185957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":185957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:25:33] local.INFO: TCP Data received {"connection_id":185957,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:25:33] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:25:33] local.INFO: IMEI packet received {"connection_id":185957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":185957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:25:34] local.INFO: TCP Data received {"connection_id":185957,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:25:34] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:25:34] local.INFO: Packet analysis {"connection_id":185957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:34] local.INFO: Extracted packet for processing {"connection_id":185957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:34] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616224,"longitude_deg":75.5770112,"latitude_deg":11.7616224,"altitude":23,"angle":219,"satellites":14,"speed":0,"hex_longitude":"2d0c2300","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-09-18 08:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163213056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749761536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700051000,"timestamp_ms":1789700051000,"timestamp_seconds":1789700051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f9038"} 
[2026-09-18 08:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:25: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-09-18 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163213056001,"66":14428,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749761536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163213056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:25:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:25:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749761536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163213056001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749761536}} 
[2026-09-18 08:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":185957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:25:34] local.INFO: GPS data processed {"connection_id":185957,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:25:34] local.INFO: Acknowledgment sent {"connection_id":185957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:25:36] local.INFO: TCP Data received {"connection_id":185784,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:25:36] local.INFO: Processing buffer {"connection_id":185784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:25:36] local.INFO: IMEI packet received {"connection_id":185784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":185784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:25:41] local.INFO: TCP Data received {"connection_id":185784,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:25:41] local.INFO: Processing buffer {"connection_id":185784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:25:41] local.INFO: IMEI packet received {"connection_id":185784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":185784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:25:42] local.INFO: TCP Data received {"connection_id":185784,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26faf78012d7a924005e3d8000006010026..."} 
[2026-09-18 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26faf78012d7a924005e3d8000006010026..."} 
[2026-09-18 08:25:42] local.INFO: Processing buffer {"connection_id":185784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26faf78012d7a924005e3d8000006010026..."} 
[2026-09-18 08:25:42] local.INFO: Packet analysis {"connection_id":185784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:42] local.INFO: Extracted packet for processing {"connection_id":185784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:42] local.INFO: GPS Element Parsed {"raw_longitude":763007552,"raw_latitude":98818048,"longitude_deg":76.3007552,"latitude_deg":9.8818048,"altitude":6,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d7a9240","hex_latitude":"05e3d800","is_valid_coordinates":true} 
[2026-09-18 08:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163209728001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521395072729088,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494198493184,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:42] 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-09-18 08:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789700059000,"timestamp_ms":1789700059000,"timestamp_seconds":1789700059,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26faf78"} 
[2026-09-18 08:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 08:25:42] 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-09-18 08:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:25:42] 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-09-18 08:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163209728001,"66":13319,"208":206,"85":15104,"24":0,"16":134521395072729088,"45":8836062494198493184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163209728001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:25:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521395072729088,"km_value":134521395072729.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494198493184,"description":"Unknown IO ID 45"} 
[2026-09-18 08:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163209728001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8836062494198493184}} 
[2026-09-18 08:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":185784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:25:43] local.INFO: GPS data processed {"connection_id":185784,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:25:43] local.INFO: Acknowledgment sent {"connection_id":185784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:25:45] local.INFO: TCP Data received {"connection_id":185784,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26ff9b0012d7a920005e3d8080006010e24..."} 
[2026-09-18 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26ff9b0012d7a920005e3d8080006010e24..."} 
[2026-09-18 08:25:45] local.INFO: Processing buffer {"connection_id":185784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26ff9b0012d7a920005e3d8080006010e24..."} 
[2026-09-18 08:25:45] local.INFO: Packet analysis {"connection_id":185784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:45] local.INFO: Extracted packet for processing {"connection_id":185784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:25:45] local.INFO: GPS Element Parsed {"raw_longitude":763007488,"raw_latitude":98818056,"longitude_deg":76.3007488,"latitude_deg":9.8818056,"altitude":6,"angle":270,"satellites":36,"speed":5,"hex_longitude":"2d7a9200","hex_latitude":"05e3d808","is_valid_coordinates":true} 
[2026-09-18 08:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215104001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521399367696384,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832192213268561920,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789700078000,"timestamp_ms":1789700078000,"timestamp_seconds":1789700078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26ff9b0"} 
[2026-09-18 08:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2993608864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2010857207834073344,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3221611484,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422303,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3927900160,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823020032,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.WARNING: Large IO value detected {"io_id":110,"raw_value":-8466766004610727931,"note":"Value kept but may cause issues"} 
[2026-09-18 08:25:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,234,160,93,45,218,6,36,10,66,15,7,39,128,1,240,138,227,178,4,113,205,9,248,239,51,2,221,5,8,14,110],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-18 08:25:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432627202413035520,"timestamp_seconds":432627202413035.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:25:45] 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-09-18 08:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215104001,"66":13341,"208":206,"85":15104,"24":5,"16":134521399367696384,"45":8832192213268561920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215104001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:25:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:25:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521399367696384,"km_value":134521399367696.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832192213268561920,"description":"Unknown IO ID 45"} 
[2026-09-18 08:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215104001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8832192213268561920}} 
[2026-09-18 08:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":185784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:25:45] local.INFO: GPS data processed {"connection_id":185784,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:25:45] local.INFO: Acknowledgment sent {"connection_id":185784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:26:05] local.INFO: TCP Data received {"connection_id":185957,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:26:05] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:26:05] local.INFO: Packet analysis {"connection_id":185957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:05] local.INFO: Extracted packet for processing {"connection_id":185957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616224,"longitude_deg":75.5770112,"latitude_deg":11.7616224,"altitude":23,"angle":219,"satellites":14,"speed":0,"hex_longitude":"2d0c2300","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-09-18 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163213056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749761536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789700051000,"timestamp_ms":1789700051000,"timestamp_seconds":1789700051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f9038"} 
[2026-09-18 08:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08: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-09-18 08: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-09-18 08: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-09-18 08:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163213056001,"66":14428,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749761536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163213056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:26:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:26:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749761536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163213056001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749761536}} 
[2026-09-18 08:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":185957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:26:05] local.INFO: GPS data processed {"connection_id":185957,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:26:05] local.INFO: Acknowledgment sent {"connection_id":185957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:26:15] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:26:15] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:26:15] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:26:26] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:26:26] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:26:26] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:26:27] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:27] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:27] local.INFO: IMEI packet received {"connection_id":185786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":185786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:26:28] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:26:28] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:26:28] local.INFO: IMEI packet received {"connection_id":185785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":185785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:26:28] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:26:28] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:26:28] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:28] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:26:28] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:26:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:26:28] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:26:28] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:26:30] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:26:30] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:26:30] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:30] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:26:30] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:26:30] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:26:30] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:26:33] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:26:33] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:26:33] local.INFO: IMEI packet received {"connection_id":185785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":185785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:26:33] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:26:33] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:26:33] local.INFO: Packet analysis {"connection_id":185785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:33] local.INFO: Extracted packet for processing {"connection_id":185785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616224,"longitude_deg":75.5770112,"latitude_deg":11.7616224,"altitude":23,"angle":219,"satellites":14,"speed":0,"hex_longitude":"2d0c2300","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-09-18 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163213056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749761536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789700051000,"timestamp_ms":1789700051000,"timestamp_seconds":1789700051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f9038"} 
[2026-09-18 08:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:26: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-09-18 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163213056001,"66":14428,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749761536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163213056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:26:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:26:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749761536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163213056001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749761536}} 
[2026-09-18 08:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":185785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:26:34] local.INFO: GPS data processed {"connection_id":185785,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:26:34] local.INFO: Acknowledgment sent {"connection_id":185785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:26:34] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:34] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:34] local.INFO: IMEI packet received {"connection_id":185786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":185786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:26:36] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:36] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:26:36] local.INFO: IMEI packet received {"connection_id":185786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":185786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:26:38] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2700d38012d7a8e0005e3d710000600f624..."} 
[2026-09-18 08:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2700d38012d7a8e0005e3d710000600f624..."} 
[2026-09-18 08:26:38] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2700d38012d7a8e0005e3d710000600f624..."} 
[2026-09-18 08:26:38] local.INFO: Packet analysis {"connection_id":185786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:26:38] local.INFO: Extracted packet for processing {"connection_id":185786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763006464,"raw_latitude":98817808,"longitude_deg":76.3006464,"latitude_deg":9.8817808,"altitude":6,"angle":246,"satellites":36,"speed":10,"hex_longitude":"2d7a8e00","hex_latitude":"05e3d710","is_valid_coordinates":true} 
[2026-09-18 08:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163220480001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521450907303936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831699632059308032,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:38] 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-09-18 08:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789700083000,"timestamp_ms":1789700083000,"timestamp_seconds":1789700083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2700d38"} 
[2026-09-18 08:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 08:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:26:38] 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-09-18 08:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163220480001,"66":13102,"208":206,"85":15104,"24":10,"16":134521450907303936,"45":8831699632059308032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163220480001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:26:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521450907303936,"km_value":134521450907303.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831699632059308032,"description":"Unknown IO ID 45"} 
[2026-09-18 08:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163220480001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8831699632059308032}} 
[2026-09-18 08:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":185786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:26:38] local.INFO: GPS data processed {"connection_id":185786,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:26:38] local.INFO: Acknowledgment sent {"connection_id":185786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:26:44] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2702890012d7a85c005e3d4100006010426..."} 
[2026-09-18 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2702890012d7a85c005e3d4100006010426..."} 
[2026-09-18 08:26:44] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2702890012d7a85c005e3d4100006010426..."} 
[2026-09-18 08:26:44] local.INFO: Packet analysis {"connection_id":185786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:26:44] local.INFO: Extracted packet for processing {"connection_id":185786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763004352,"raw_latitude":98817040,"longitude_deg":76.3004352,"latitude_deg":9.881704,"altitude":6,"angle":260,"satellites":38,"speed":9,"hex_longitude":"2d7a85c0","hex_latitude":"05e3d410","is_valid_coordinates":true} 
[2026-09-18 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163221248001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521558281486336,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830995944617480192,"note":"Value kept but may cause issues"} 
[2026-09-18 08:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789700090000,"timestamp_ms":1789700090000,"timestamp_seconds":1789700090,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2702890"} 
[2026-09-18 08:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 08:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:26:44] 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-09-18 08:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163221248001,"66":13189,"208":206,"85":15104,"24":9,"16":134521558281486336,"45":8830995944617480192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163221248001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:26:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521558281486336,"km_value":134521558281486.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830995944617480192,"description":"Unknown IO ID 45"} 
[2026-09-18 08:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163221248001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8830995944617480192}} 
[2026-09-18 08:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":185786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:26:44] local.INFO: GPS data processed {"connection_id":185786,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:26:44] local.INFO: Acknowledgment sent {"connection_id":185786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:27:05] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:27:05] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:27:05] local.INFO: Packet analysis {"connection_id":185785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:27:05] local.INFO: Extracted packet for processing {"connection_id":185785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:27:05] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616224,"longitude_deg":75.5770112,"latitude_deg":11.7616224,"altitude":23,"angle":219,"satellites":14,"speed":0,"hex_longitude":"2d0c2300","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-09-18 08:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163213056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749761536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789700051000,"timestamp_ms":1789700051000,"timestamp_seconds":1789700051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f9038"} 
[2026-09-18 08:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:27: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-09-18 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:27: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-09-18 08: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-09-18 08:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163213056001,"66":14428,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749761536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163213056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:27:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:27:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749761536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163213056001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749761536}} 
[2026-09-18 08:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":185785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:27:05] local.INFO: GPS data processed {"connection_id":185785,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:27:05] local.INFO: Acknowledgment sent {"connection_id":185785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:27:13] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:27:13] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:27:13] local.INFO: IMEI packet received {"connection_id":187260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":187260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:27:15] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2703c18012d7a810005e3d3600007011725..."} 
[2026-09-18 08:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2703c18012d7a810005e3d3600007011725..."} 
[2026-09-18 08:27:15] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2703c18012d7a810005e3d3600007011725..."} 
[2026-09-18 08:27:15] local.INFO: Packet analysis {"connection_id":185786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:27:15] local.INFO: Extracted packet for processing {"connection_id":185786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763003136,"raw_latitude":98816864,"longitude_deg":76.3003136,"latitude_deg":9.8816864,"altitude":7,"angle":279,"satellites":37,"speed":7,"hex_longitude":"2d7a8100","hex_latitude":"05e3d360","is_valid_coordinates":true} 
[2026-09-18 08:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163223040001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521614116061184,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828673776059420672,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789700095000,"timestamp_ms":1789700095000,"timestamp_seconds":1789700095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2703c18"} 
[2026-09-18 08:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 08:27:15] 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-09-18 08:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:27:15] 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-09-18 08:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163223040001,"66":12961,"208":206,"85":15104,"24":7,"16":134521614116061184,"45":8828673776059420672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163223040001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:27:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521614116061184,"km_value":134521614116061.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828673776059420672,"description":"Unknown IO ID 45"} 
[2026-09-18 08:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163223040001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8828673776059420672}} 
[2026-09-18 08:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":185786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:27:15] local.INFO: GPS data processed {"connection_id":185786,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:27:15] local.INFO: Acknowledgment sent {"connection_id":185786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:27:28] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:27:28] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:27:28] local.INFO: IMEI packet received {"connection_id":187261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":187261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:27:30] local.INFO: TCP Data received {"connection_id":187262,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:30] local.INFO: Processing buffer {"connection_id":187262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:30] local.INFO: IMEI packet received {"connection_id":187262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":187262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:27:31] local.INFO: TCP Data received {"connection_id":187262,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:31] local.INFO: Processing buffer {"connection_id":187262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:31] local.INFO: IMEI packet received {"connection_id":187262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":187262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:27:32] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:27:32] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:27:32] local.INFO: IMEI packet received {"connection_id":187260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":187260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:27:33] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:27:33] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:27:33] local.INFO: IMEI packet received {"connection_id":187261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":187261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:27:34] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:27:34] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:27:34] local.INFO: Packet analysis {"connection_id":187260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:27:34] local.INFO: Extracted packet for processing {"connection_id":187260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08: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-09-18 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:27: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-09-18 08:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:27: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-09-18 08:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":187260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:27:34] local.INFO: GPS data processed {"connection_id":187260,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:27:34] local.INFO: Acknowledgment sent {"connection_id":187260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:27:34] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:27:34] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26f9038012d0c23000702ae60001700db0e..."} 
[2026-09-18 08:27:34] local.INFO: Packet analysis {"connection_id":187261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:27:34] local.INFO: Extracted packet for processing {"connection_id":187261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:27:34] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117616224,"longitude_deg":75.5770112,"latitude_deg":11.7616224,"altitude":23,"angle":219,"satellites":14,"speed":0,"hex_longitude":"2d0c2300","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-09-18 08:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163213056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749761536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700051000,"timestamp_ms":1789700051000,"timestamp_seconds":1789700051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26f9038"} 
[2026-09-18 08:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:27: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-09-18 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163213056001,"66":14428,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749761536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163213056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749761536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163213056001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749761536}} 
[2026-09-18 08:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":187261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:27:34] local.INFO: GPS data processed {"connection_id":187261,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:27:34] local.INFO: Acknowledgment sent {"connection_id":187261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:27:36] local.INFO: TCP Data received {"connection_id":187262,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:36] local.INFO: Processing buffer {"connection_id":187262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:27:36] local.INFO: IMEI packet received {"connection_id":187262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":187262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:27:37] local.INFO: TCP Data received {"connection_id":187262,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2708a38012d7a808005e3d3680007011925..."} 
[2026-09-18 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2708a38012d7a808005e3d3680007011925..."} 
[2026-09-18 08:27:37] local.INFO: Processing buffer {"connection_id":187262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2708a38012d7a808005e3d3680007011925..."} 
[2026-09-18 08:27:37] local.INFO: Packet analysis {"connection_id":187262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:27:37] local.INFO: Extracted packet for processing {"connection_id":187262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763003008,"raw_latitude":98816872,"longitude_deg":76.3003008,"latitude_deg":9.8816872,"altitude":7,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d7a8080","hex_latitude":"05e3d368","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163224320001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521622705995776,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827336769920000000,"note":"Value kept but may cause issues"} 
[2026-09-18 08:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789700115000,"timestamp_ms":1789700115000,"timestamp_seconds":1789700115,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2708a38"} 
[2026-09-18 08:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 08:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:27:37] 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-09-18 08:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163224320001,"66":13472,"208":206,"85":15104,"24":0,"16":134521622705995776,"45":8827336769920000000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163224320001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:27:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521622705995776,"km_value":134521622705995.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827336769920000000,"description":"Unknown IO ID 45"} 
[2026-09-18 08:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163224320001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8827336769920000000}} 
[2026-09-18 08:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":187262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:27:37] local.INFO: GPS data processed {"connection_id":187262,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:27:37] local.INFO: Acknowledgment sent {"connection_id":187262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:05] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b272a930012d0c21c00702ae30001700db1b..."} 
[2026-09-18 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b272a930012d0c21c00702ae30001700db1b..."} 
[2026-09-18 08:28:05] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b272a930012d0c21c00702ae30001700db1b..."} 
[2026-09-18 08:28:05] local.INFO: Packet analysis {"connection_id":187261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b272"} 
[2026-09-18 08:28:05] local.INFO: Extracted packet for processing {"connection_id":187261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b272"} 
[2026-09-18 08:28:05] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117616176,"longitude_deg":75.5769792,"latitude_deg":11.7616176,"altitude":23,"angle":219,"satellites":27,"speed":0,"hex_longitude":"2d0c21c0","hex_latitude":"0702ae30","is_valid_coordinates":true} 
[2026-09-18 08:28: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-09-18 08:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163213056001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782749761536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789700254000,"timestamp_ms":1789700254000,"timestamp_seconds":1789700254,"priority":1,"record_length":96,"hex_timestamp":"000001a0b272a930"} 
[2026-09-18 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-09-18 08:28: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-09-18 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:28: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-09-18 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-09-18 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-09-18 08:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163213056001,"66":12689,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874542782749761536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163213056001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:28:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782749761536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163213056001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874542782749761536}} 
[2026-09-18 08:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":187261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:05] local.INFO: GPS data processed {"connection_id":187261,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:05] local.INFO: Acknowledgment sent {"connection_id":187261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:09] local.INFO: TCP Data received {"connection_id":187262,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b270a1a8012d7a7e8005e3d3280007010525..."} 
[2026-09-18 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b270a1a8012d7a7e8005e3d3280007010525..."} 
[2026-09-18 08:28:09] local.INFO: Processing buffer {"connection_id":187262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b270a1a8012d7a7e8005e3d3280007010525..."} 
[2026-09-18 08:28:09] local.INFO: Packet analysis {"connection_id":187262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:28:09] local.INFO: Extracted packet for processing {"connection_id":187262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763002496,"raw_latitude":98816808,"longitude_deg":76.3002496,"latitude_deg":9.8816808,"altitude":7,"angle":261,"satellites":37,"speed":3,"hex_longitude":"2d7a7e80","hex_latitude":"05e3d328","is_valid_coordinates":true} 
[2026-09-18 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163229440001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521648475799552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827196032431646720,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789700121000,"timestamp_ms":1789700121000,"timestamp_seconds":1789700121,"priority":1,"record_length":96,"hex_timestamp":"000001a0b270a1a8"} 
[2026-09-18 08:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:28:09] 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-09-18 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163229440001,"66":13243,"208":206,"85":15104,"24":3,"16":134521648475799552,"45":8827196032431646720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163229440001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521648475799552,"km_value":134521648475799.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827196032431646720,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163229440001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8827196032431646720}} 
[2026-09-18 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":187262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:09] local.INFO: GPS data processed {"connection_id":187262,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:09] local.INFO: Acknowledgment sent {"connection_id":187262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:17] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:28:17] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:28:17] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:28:23] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:28:23] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:28:23] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:28:24] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:28:24] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:28:24] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:28:24] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:24] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:24] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:24] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:32] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:32] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:32] local.INFO: IMEI packet received {"connection_id":185787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":185787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:28:33] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:33] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:33] local.INFO: IMEI packet received {"connection_id":185959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":185959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:28:33] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:33] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:33] local.INFO: IMEI packet received {"connection_id":185959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":185959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:28:33] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:33] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:33] local.INFO: IMEI packet received {"connection_id":185787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":185787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:28:36] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:36] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:28:36] local.INFO: IMEI packet received {"connection_id":185959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":185959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:28:36] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:36] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:28:36] local.INFO: IMEI packet received {"connection_id":185787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":185787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:28:37] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b272a930012d0c21c00702ae30001700db1b..."} 
[2026-09-18 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b272a930012d0c21c00702ae30001700db1b..."} 
[2026-09-18 08:28:37] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b272a930012d0c21c00702ae30001700db1b..."} 
[2026-09-18 08:28:37] local.INFO: Packet analysis {"connection_id":185959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b272"} 
[2026-09-18 08:28:37] local.INFO: Extracted packet for processing {"connection_id":185959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b272"} 
[2026-09-18 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117616176,"longitude_deg":75.5769792,"latitude_deg":11.7616176,"altitude":23,"angle":219,"satellites":27,"speed":0,"hex_longitude":"2d0c21c0","hex_latitude":"0702ae30","is_valid_coordinates":true} 
[2026-09-18 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163265024001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966721560117248,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939028860928,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789700254000,"timestamp_ms":1789700254000,"timestamp_seconds":1789700254,"priority":1,"record_length":96,"hex_timestamp":"000001a0b272a930"} 
[2026-09-18 08:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 08:28: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-09-18 08: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-09-18 08:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163265024001,"66":12689,"37":206,"94":11008,"24":0,"16":32966721560117248,"45":874190939028860928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163265024001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966721560117248,"km_value":32966721560117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939028860928,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163265024001,"power":12689,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874190939028860928}} 
[2026-09-18 08:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":185959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:37] local.INFO: GPS data processed {"connection_id":185959,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:37] local.INFO: Acknowledgment sent {"connection_id":185959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:37] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b270a978012d7a7d4005e3d2d8000700f725..."} 
[2026-09-18 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b270a978012d7a7d4005e3d2d8000700f725..."} 
[2026-09-18 08:28:37] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b270a978012d7a7d4005e3d2d8000700f725..."} 
[2026-09-18 08:28:37] local.INFO: Packet analysis {"connection_id":185787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:28:37] local.INFO: Extracted packet for processing {"connection_id":185787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763002176,"raw_latitude":98816728,"longitude_deg":76.3002176,"latitude_deg":9.8816728,"altitude":7,"angle":247,"satellites":37,"speed":4,"hex_longitude":"2d7a7d40","hex_latitude":"05e3d2d8","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163230976001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521665655668736,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082478209024,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789700123000,"timestamp_ms":1789700123000,"timestamp_seconds":1789700123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b270a978"} 
[2026-09-18 08:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 08:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:28:37] 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-09-18 08:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163230976001,"66":13189,"208":206,"85":15104,"24":4,"16":134521665655668736,"45":8826633082478209024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163230976001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521665655668736,"km_value":134521665655668.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082478209024,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163230976001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8826633082478209024}} 
[2026-09-18 08:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":185787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:37] local.INFO: GPS data processed {"connection_id":185787,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:37] local.INFO: Acknowledgment sent {"connection_id":185787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:38] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2730308012d0c25800702ad080017005a1a..."} 
[2026-09-18 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2730308012d0c25800702ad080017005a1a..."} 
[2026-09-18 08:28:38] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2730308012d0c25800702ad080017005a1a..."} 
[2026-09-18 08:28:38] local.INFO: Packet analysis {"connection_id":185959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b273"} 
[2026-09-18 08:28:38] local.INFO: Extracted packet for processing {"connection_id":185959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b273"} 
[2026-09-18 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":755770752,"raw_latitude":117615880,"longitude_deg":75.5770752,"latitude_deg":11.761588,"altitude":23,"angle":90,"satellites":26,"speed":5,"hex_longitude":"2d0c2580","hex_latitude":"0702ad08","is_valid_coordinates":true} 
[2026-09-18 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163265024001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966755919855616,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939028860928,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789700277000,"timestamp_ms":1789700277000,"timestamp_seconds":1789700277,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2730308"} 
[2026-09-18 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 08:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163265024001,"66":14439,"37":206,"94":11008,"24":5,"16":32966755919855616,"45":874190939028860928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163265024001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:28:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966755919855616,"km_value":32966755919855.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939028860928,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163265024001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":874190939028860928}} 
[2026-09-18 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":185959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:38] local.INFO: GPS data processed {"connection_id":185959,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:38] local.INFO: Acknowledgment sent {"connection_id":185959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:42] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b270ad60012d7a7d0005e3d2c80007010223..."} 
[2026-09-18 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b270ad60012d7a7d0005e3d2c80007010223..."} 
[2026-09-18 08:28:42] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b270ad60012d7a7d0005e3d2c80007010223..."} 
[2026-09-18 08:28:42] local.INFO: Packet analysis {"connection_id":185787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:28:42] local.INFO: Extracted packet for processing {"connection_id":185787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763002112,"raw_latitude":98816712,"longitude_deg":76.3002112,"latitude_deg":9.8816712,"altitude":7,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d7a7d00","hex_latitude":"05e3d2c8","is_valid_coordinates":true} 
[2026-09-18 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163231488001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521669950636032,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826281238757300224,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:42] 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-09-18 08:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789700124000,"timestamp_ms":1789700124000,"timestamp_seconds":1789700124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b270ad60"} 
[2026-09-18 08:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 08:28:42] 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-09-18 08:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:28:42] 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-09-18 08:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163231488001,"66":13276,"208":206,"85":15104,"24":0,"16":134521669950636032,"45":8826281238757300224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163231488001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521669950636032,"km_value":134521669950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826281238757300224,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163231488001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826281238757300224}} 
[2026-09-18 08:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":185787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:42] local.INFO: GPS data processed {"connection_id":185787,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:42] local.INFO: Acknowledgment sent {"connection_id":185787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:28:55] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:28:55] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:28:55] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:28:55] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:28:55] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:28:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:28:55] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:28:55] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:29:09] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2730ec0012d0c26c00702ad38001800491b..."} 
[2026-09-18 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2730ec0012d0c26c00702ad38001800491b..."} 
[2026-09-18 08:29:09] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2730ec0012d0c26c00702ad38001800491b..."} 
[2026-09-18 08:29:09] local.INFO: Packet analysis {"connection_id":185959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b273"} 
[2026-09-18 08:29:09] local.INFO: Extracted packet for processing {"connection_id":185959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b273"} 
[2026-09-18 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117615928,"longitude_deg":75.5771072,"latitude_deg":11.7615928,"altitude":24,"angle":73,"satellites":27,"speed":4,"hex_longitude":"2d0c26c0","hex_latitude":"0702ad38","is_valid_coordinates":true} 
[2026-09-18 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163270912001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966773099724800,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875246470191450112,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789700280000,"timestamp_ms":1789700280000,"timestamp_seconds":1789700280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2730ec0"} 
[2026-09-18 08:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163270912001,"66":14374,"37":206,"94":11008,"24":4,"16":32966773099724800,"45":875246470191450112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163270912001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:29:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:29:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966773099724800,"km_value":32966773099724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":875246470191450112,"description":"Unknown IO ID 45"} 
[2026-09-18 08:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163270912001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":875246470191450112}} 
[2026-09-18 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":185959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:29:09] local.INFO: GPS data processed {"connection_id":185959,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:29:09] local.INFO: Acknowledgment sent {"connection_id":185959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:29:13] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:29:13] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:29:13] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:29:13] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b270fb80012d7a7c8005e3d2d80008010225..."} 
[2026-09-18 08:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b270fb80012d7a7c8005e3d2d80008010225..."} 
[2026-09-18 08:29:13] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b270fb80012d7a7c8005e3d2d80008010225..."} 
[2026-09-18 08:29:13] local.INFO: Packet analysis {"connection_id":185787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:29:13] local.INFO: Extracted packet for processing {"connection_id":185787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b270"} 
[2026-09-18 08:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763001984,"raw_latitude":98816728,"longitude_deg":76.3001984,"latitude_deg":9.8816728,"altitude":8,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d7a7c80","hex_latitude":"05e3d2d8","is_valid_coordinates":true} 
[2026-09-18 08:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163231744001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521674245603328,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826210870013118464,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789700144000,"timestamp_ms":1789700144000,"timestamp_seconds":1789700144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b270fb80"} 
[2026-09-18 08:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 08:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:29:13] 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-09-18 08:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163231744001,"66":13200,"208":206,"85":15104,"24":0,"16":134521674245603328,"45":8826210870013118464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163231744001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:29:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521674245603328,"km_value":134521674245603.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826210870013118464,"description":"Unknown IO ID 45"} 
[2026-09-18 08:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163231744001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826210870013118464}} 
[2026-09-18 08:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":185787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:29:13] local.INFO: GPS data processed {"connection_id":185787,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:29:13] local.INFO: Acknowledgment sent {"connection_id":185787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:29:18] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:29:18] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:29:18] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:29:20] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:29:20] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:29:20] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:29:20] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:29:20] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:29:20] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:29:20] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:29:27] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:27] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:27] local.INFO: IMEI packet received {"connection_id":185960,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":185960,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:29:28] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:28] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:28] local.INFO: IMEI packet received {"connection_id":185960,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":185960,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:29:31] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:31] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:31] local.INFO: IMEI packet received {"connection_id":185961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":185961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:29:32] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:32] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:29:32] local.INFO: IMEI packet received {"connection_id":185960,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":185960,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:29:33] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2735ce0012d0c28400702ad60001800481b..."} 
[2026-09-18 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2735ce0012d0c28400702ad60001800481b..."} 
[2026-09-18 08:29:33] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2735ce0012d0c28400702ad60001800481b..."} 
[2026-09-18 08:29:33] local.INFO: Packet analysis {"connection_id":185960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b273"} 
[2026-09-18 08:29:33] local.INFO: Extracted packet for processing {"connection_id":185960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b273"} 
[2026-09-18 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615968,"longitude_deg":75.5771456,"latitude_deg":11.7615968,"altitude":24,"angle":72,"satellites":27,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad60","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163271680001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32966794574561280,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598313912350720,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789700300000,"timestamp_ms":1789700300000,"timestamp_seconds":1789700300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2735ce0"} 
[2026-09-18 08:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:29: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-09-18 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 08:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163271680001,"66":14537,"37":206,"94":11008,"24":0,"16":32966794574561280,"45":875598313912350720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163271680001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:29:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:29:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32966794574561280,"km_value":32966794574561.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598313912350720,"description":"Unknown IO ID 45"} 
[2026-09-18 08:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163271680001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875598313912350720}} 
[2026-09-18 08:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":185960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:29:33] local.INFO: GPS data processed {"connection_id":185960,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:29:33] local.INFO: Acknowledgment sent {"connection_id":185960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:29:33] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:33] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:33] local.INFO: IMEI packet received {"connection_id":185961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":185961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:29:35] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:35] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:29:35] local.INFO: IMEI packet received {"connection_id":185961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":185961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:29:37] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2714d88012d7a7c8005e3d2d80008010226..."} 
[2026-09-18 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2714d88012d7a7c8005e3d2d80008010226..."} 
[2026-09-18 08:29:37] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2714d88012d7a7c8005e3d2d80008010226..."} 
[2026-09-18 08:29:37] local.INFO: Packet analysis {"connection_id":185961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b271"} 
[2026-09-18 08:29:37] local.INFO: Extracted packet for processing {"connection_id":185961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b271"} 
[2026-09-18 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763001984,"raw_latitude":98816728,"longitude_deg":76.3001984,"latitude_deg":9.8816728,"altitude":8,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d7a7c80","hex_latitude":"05e3d2d8","is_valid_coordinates":true} 
[2026-09-18 08:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163236864001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521674245603328,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826070132524767232,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789700165000,"timestamp_ms":1789700165000,"timestamp_seconds":1789700165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2714d88"} 
[2026-09-18 08:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":144,"data_length":795,"current_offset":136} 
[2026-09-18 08:29:37] 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-09-18 08: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-09-18 08:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:29:37] 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-09-18 08:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163236864001,"66":13515,"208":206,"85":15104,"24":0,"16":134521674245603328,"45":8826070132524767232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163236864001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521674245603328,"km_value":134521674245603.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826070132524767232,"description":"Unknown IO ID 45"} 
[2026-09-18 08:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163236864001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826070132524767232}} 
[2026-09-18 08:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":185961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:29:37] local.INFO: GPS data processed {"connection_id":185961,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:29:37] local.INFO: Acknowledgment sent {"connection_id":185961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:29:51] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:29:51] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b26fb360012d34c14006aa4440000a011825..."} 
[2026-09-18 08:29:51] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:29:51] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b26f"} 
[2026-09-18 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163138304001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789700060000,"timestamp_ms":1789700060000,"timestamp_seconds":1789700060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b26fb360"} 
[2026-09-18 08:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:29: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-09-18 08:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163138304001,"66":25375,"226":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-18 08:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163138304001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:29:51] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 08:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163138304001,"power":25375,"unknown_226":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:29:51] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:29:51] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:30:08] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2747df0012d7a808005e3d3a00002005428..."} 
[2026-09-18 08:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2747df0012d7a808005e3d3a00002005428..."} 
[2026-09-18 08:30:08] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2747df0012d7a808005e3d3a00002005428..."} 
[2026-09-18 08:30:08] local.INFO: Packet analysis {"connection_id":185961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:08] local.INFO: Extracted packet for processing {"connection_id":185961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763003008,"raw_latitude":98816928,"longitude_deg":76.3003008,"latitude_deg":9.8816928,"altitude":2,"angle":84,"satellites":40,"speed":8,"hex_longitude":"2d7a8080","hex_latitude":"05e3d3a0","is_valid_coordinates":true} 
[2026-09-18 08:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163295232001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521721490243584,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826844188710772736,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:08] 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-09-18 08:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789700374000,"timestamp_ms":1789700374000,"timestamp_seconds":1789700374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2747df0"} 
[2026-09-18 08:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-18 08:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:30:08] 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-09-18 08:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163295232001,"66":13276,"208":206,"85":15104,"24":8,"16":134521721490243584,"45":8826844188710772736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163295232001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:30:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521721490243584,"km_value":134521721490243.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826844188710772736,"description":"Unknown IO ID 45"} 
[2026-09-18 08:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163295232001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8826844188710772736}} 
[2026-09-18 08:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":185961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:30:08] local.INFO: GPS data processed {"connection_id":185961,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:30:08] local.INFO: Acknowledgment sent {"connection_id":185961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:30:12] local.INFO: TCP Data received {"connection_id":185958,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:30:12] local.INFO: Processing buffer {"connection_id":185958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:30:12] local.INFO: IMEI packet received {"connection_id":185958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":185958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:30:13] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b274c440012d0c14000703a758001100241b..."} 
[2026-09-18 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b274c440012d0c14000703a758001100241b..."} 
[2026-09-18 08:30:13] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b274c440012d0c14000703a758001100241b..."} 
[2026-09-18 08:30:13] local.INFO: Packet analysis {"connection_id":185960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:13] local.INFO: Extracted packet for processing {"connection_id":185960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755766272,"raw_latitude":117679960,"longitude_deg":75.5766272,"latitude_deg":11.767996,"altitude":17,"angle":36,"satellites":27,"speed":30,"hex_longitude":"2d0c1400","hex_latitude":"0703a758","is_valid_coordinates":true} 
[2026-09-18 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163298816001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32970007210098688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867857752068173824,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789700392000,"timestamp_ms":1789700392000,"timestamp_seconds":1789700392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b274c440"} 
[2026-09-18 08:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163298816001,"66":14537,"37":206,"94":11008,"24":30,"16":32970007210098688,"45":867857752068173824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163298816001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:30:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:30:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32970007210098688,"km_value":32970007210098.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":867857752068173824,"description":"Unknown IO ID 45"} 
[2026-09-18 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163298816001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":867857752068173824}} 
[2026-09-18 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":185960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:30:13] local.INFO: GPS data processed {"connection_id":185960,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:30:13] local.INFO: Acknowledgment sent {"connection_id":185960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:30:18] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:30:18] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:30:18] local.INFO: IMEI packet received {"connection_id":187263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":187263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:30:24] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:30:24] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:30:24] local.INFO: IMEI packet received {"connection_id":187263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":187263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:30:25] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:30:25] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:30:25] local.INFO: Packet analysis {"connection_id":187263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:25] local.INFO: Extracted packet for processing {"connection_id":187263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":187263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:30:25] local.INFO: GPS data processed {"connection_id":187263,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:30:25] local.INFO: Acknowledgment sent {"connection_id":187263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:30:25] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:25] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:25] local.INFO: IMEI packet received {"connection_id":185788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":185788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:30:28] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:28] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:28] local.INFO: IMEI packet received {"connection_id":185788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":185788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:30:28] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:28] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:28] local.INFO: IMEI packet received {"connection_id":185788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":185788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:30:28] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:30:28] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:30:28] local.INFO: Packet analysis {"connection_id":187263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:28] local.INFO: Extracted packet for processing {"connection_id":187263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:30:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:30:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":187263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:30:28] local.INFO: GPS data processed {"connection_id":187263,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:30:28] local.INFO: Acknowledgment sent {"connection_id":187263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:30:31] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:30:31] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:30:31] local.INFO: IMEI packet received {"connection_id":185789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":185789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:30:32] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:32] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:30:32] local.INFO: IMEI packet received {"connection_id":185788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":185788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:30:34] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b274d7c8012d0c1e800703b2f8001200341b..."} 
[2026-09-18 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b274d7c8012d0c1e800703b2f8001200341b..."} 
[2026-09-18 08:30:34] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b274d7c8012d0c1e800703b2f8001200341b..."} 
[2026-09-18 08:30:34] local.INFO: Packet analysis {"connection_id":185788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:34] local.INFO: Extracted packet for processing {"connection_id":185788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755768960,"raw_latitude":117682936,"longitude_deg":75.576896,"latitude_deg":11.7682936,"altitude":18,"angle":52,"satellites":27,"speed":32,"hex_longitude":"2d0c1e80","hex_latitude":"0703b2f8","is_valid_coordinates":true} 
[2026-09-18 08:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163300352001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32970200483627008,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870320658115418112,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700397000,"timestamp_ms":1789700397000,"timestamp_seconds":1789700397,"priority":1,"record_length":96,"hex_timestamp":"000001a0b274d7c8"} 
[2026-09-18 08:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 08:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163300352001,"66":14450,"37":206,"94":11008,"24":32,"16":32970200483627008,"45":870320658115418112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163300352001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:30:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:30:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32970200483627008,"km_value":32970200483627.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":870320658115418112,"description":"Unknown IO ID 45"} 
[2026-09-18 08:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163300352001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":870320658115418112}} 
[2026-09-18 08:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":185788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859287,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:30:34] local.INFO: GPS data processed {"connection_id":185788,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:30:34] local.INFO: Acknowledgment sent {"connection_id":185788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:30:37] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:30:37] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:30:37] local.INFO: IMEI packet received {"connection_id":185789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":185789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:30:40] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27489a8012d7a83c005e3d4500003004826..."} 
[2026-09-18 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27489a8012d7a83c005e3d4500003004826..."} 
[2026-09-18 08:30:40] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27489a8012d7a83c005e3d4500003004826..."} 
[2026-09-18 08:30:40] local.INFO: Packet analysis {"connection_id":185789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:40] local.INFO: Extracted packet for processing {"connection_id":185789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763003840,"raw_latitude":98817104,"longitude_deg":76.300384,"latitude_deg":9.8817104,"altitude":3,"angle":72,"satellites":38,"speed":10,"hex_longitude":"2d7a83c0","hex_latitude":"05e3d450","is_valid_coordinates":true} 
[2026-09-18 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163295744001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134521764439916544,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827196032431661056,"note":"Value kept but may cause issues"} 
[2026-09-18 08:30:40] 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-09-18 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789700377000,"timestamp_ms":1789700377000,"timestamp_seconds":1789700377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27489a8"} 
[2026-09-18 08:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 08:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:30:40] 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-09-18 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163295744001,"66":12765,"208":206,"85":15104,"24":10,"16":134521764439916544,"45":8827196032431661056},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163295744001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:30:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134521764439916544,"km_value":134521764439916.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827196032431661056,"description":"Unknown IO ID 45"} 
[2026-09-18 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163295744001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8827196032431661056}} 
[2026-09-18 08:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":185789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:30:40] local.INFO: GPS data processed {"connection_id":185789,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:30:40] local.INFO: Acknowledgment sent {"connection_id":185789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:31:05] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b274eb50012d0c2c800703bab80013003f1b..."} 
[2026-09-18 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b274eb50012d0c2c800703bab80013003f1b..."} 
[2026-09-18 08:31:05] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b274eb50012d0c2c800703bab80013003f1b..."} 
[2026-09-18 08:31:05] local.INFO: Packet analysis {"connection_id":185788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:31:05] local.INFO: Extracted packet for processing {"connection_id":185788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:31:05] local.INFO: GPS Element Parsed {"raw_longitude":755772544,"raw_latitude":117684920,"longitude_deg":75.5772544,"latitude_deg":11.768492,"altitude":19,"angle":63,"satellites":27,"speed":31,"hex_longitude":"2d0c2c80","hex_latitude":"0703bab8","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163301632001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32970398052122624,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873276145371641856,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789700402000,"timestamp_ms":1789700402000,"timestamp_seconds":1789700402,"priority":1,"record_length":96,"hex_timestamp":"000001a0b274eb50"} 
[2026-09-18 08:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 08:31:05] 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-09-18 08: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-09-18 08:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163301632001,"66":14461,"37":206,"94":11008,"24":31,"16":32970398052122624,"45":873276145371641856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 08:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163301632001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:31:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 08:31:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32970398052122624,"km_value":32970398052122.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":873276145371641856,"description":"Unknown IO ID 45"} 
[2026-09-18 08:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163301632001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":873276145371641856}} 
[2026-09-18 08:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":185788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859289,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:31:05] local.INFO: GPS data processed {"connection_id":185788,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:31:05] local.INFO: Acknowledgment sent {"connection_id":185788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:31:12] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b274c058012d7a97c005e3da380004005628..."} 
[2026-09-18 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b274c058012d7a97c005e3da380004005628..."} 
[2026-09-18 08:31:12] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b274c058012d7a97c005e3da380004005628..."} 
[2026-09-18 08:31:12] local.INFO: Packet analysis {"connection_id":185789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:31:12] local.INFO: Extracted packet for processing {"connection_id":185789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763008960,"raw_latitude":98818616,"longitude_deg":76.300896,"latitude_deg":9.8818616,"altitude":4,"angle":86,"satellites":40,"speed":14,"hex_longitude":"2d7a97c0","hex_latitude":"05e3da38","is_valid_coordinates":true} 
[2026-09-18 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163296512001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134522017842987008,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828110826106015744,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:12] 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-09-18 08:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789700391000,"timestamp_ms":1789700391000,"timestamp_seconds":1789700391,"priority":1,"record_length":96,"hex_timestamp":"000001a0b274c058"} 
[2026-09-18 08:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 08:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:31:12] 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-09-18 08:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163296512001,"66":13602,"208":206,"85":15104,"24":14,"16":134522017842987008,"45":8828110826106015744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163296512001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:31:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134522017842987008,"km_value":134522017842987.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828110826106015744,"description":"Unknown IO ID 45"} 
[2026-09-18 08:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163296512001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8828110826106015744}} 
[2026-09-18 08:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":185789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:31:12] local.INFO: GPS data processed {"connection_id":185789,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:31:12] local.INFO: Acknowledgment sent {"connection_id":185789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:31:23] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:31:23] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:31:23] local.INFO: IMEI packet received {"connection_id":185790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":185790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:31:28] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:31:28] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:31:28] local.INFO: IMEI packet received {"connection_id":185790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":185790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:31:28] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:28] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:28] local.INFO: IMEI packet received {"connection_id":185962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":185962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:31:29] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:31:29] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:31:29] local.INFO: Packet analysis {"connection_id":185790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:31:29] local.INFO: Extracted packet for processing {"connection_id":185790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:31:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31: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-09-18 08:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:31: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-09-18 08:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:31:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:31:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":185790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:31:29] local.INFO: GPS data processed {"connection_id":185790,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:31:29] local.INFO: Acknowledgment sent {"connection_id":185790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:31:31] local.INFO: TCP Data received {"connection_id":187264,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:31] local.INFO: Processing buffer {"connection_id":187264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:31] local.INFO: IMEI packet received {"connection_id":187264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":187264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:31:32] local.INFO: TCP Data received {"connection_id":187264,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:32] local.INFO: Processing buffer {"connection_id":187264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:32] local.INFO: IMEI packet received {"connection_id":187264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":187264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:31:32] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:32] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:32] local.INFO: IMEI packet received {"connection_id":185962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":185962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:31:32] local.INFO: TCP Data received {"connection_id":187264,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:32] local.INFO: Processing buffer {"connection_id":187264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:32] local.INFO: IMEI packet received {"connection_id":187264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":187264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:31:33] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:33] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:31:33] local.INFO: IMEI packet received {"connection_id":185962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":185962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:31:34] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b275c9f8012d0c884007040d30001d00381a..."} 
[2026-09-18 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b275c9f8012d0c884007040d30001d00381a..."} 
[2026-09-18 08:31:34] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b275c9f8012d0c884007040d30001d00381a..."} 
[2026-09-18 08:31:34] local.INFO: Packet analysis {"connection_id":185962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:31:34] local.INFO: Extracted packet for processing {"connection_id":185962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":755796032,"raw_latitude":117706032,"longitude_deg":75.5796032,"latitude_deg":11.7706032,"altitude":29,"angle":56,"satellites":26,"speed":29,"hex_longitude":"2d0c8840","hex_latitude":"07040d30","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163313408001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32972021549760512,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894668243606206464,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700459000,"timestamp_ms":1789700459000,"timestamp_seconds":1789700459,"priority":1,"record_length":96,"hex_timestamp":"000001a0b275c9f8"} 
[2026-09-18 08:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:31: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-09-18 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 08:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163313408001,"66":14407,"16":32972021549760512,"94":11008,"24":29,"45":894668243606206464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 08:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163313408001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32972021549760512,"km_value":32972021549760.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:31:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":894668243606206464,"description":"Unknown IO ID 45"} 
[2026-09-18 08:31:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458163313408001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":894668243606206464}} 
[2026-09-18 08:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":185962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:31:34] local.INFO: GPS data processed {"connection_id":185962,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:31:34] local.INFO: Acknowledgment sent {"connection_id":185962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:31:36] local.INFO: TCP Data received {"connection_id":187264,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:36] local.INFO: Processing buffer {"connection_id":187264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:31:36] local.INFO: IMEI packet received {"connection_id":187264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":187264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:31:38] local.INFO: TCP Data received {"connection_id":187264,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2751260012d7aad8005e3da980005005f25..."} 
[2026-09-18 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2751260012d7aad8005e3da980005005f25..."} 
[2026-09-18 08:31:38] local.INFO: Processing buffer {"connection_id":187264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2751260012d7aad8005e3da980005005f25..."} 
[2026-09-18 08:31:38] local.INFO: Packet analysis {"connection_id":187264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:31:38] local.INFO: Extracted packet for processing {"connection_id":187264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763014528,"raw_latitude":98818712,"longitude_deg":76.3014528,"latitude_deg":9.8818712,"altitude":5,"angle":95,"satellites":37,"speed":5,"hex_longitude":"2d7aad80","hex_latitude":"05e3da98","is_valid_coordinates":true} 
[2026-09-18 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163300096001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134522284130959360,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833740325640615936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:38] 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-09-18 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789700412000,"timestamp_ms":1789700412000,"timestamp_seconds":1789700412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2751260"} 
[2026-09-18 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 08:31:38] 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-09-18 08:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:31:38] 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-09-18 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163300096001,"66":12961,"208":206,"85":15104,"24":5,"16":134522284130959360,"45":8833740325640615936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163300096001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:31:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134522284130959360,"km_value":134522284130959.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833740325640615936,"description":"Unknown IO ID 45"} 
[2026-09-18 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163300096001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8833740325640615936}} 
[2026-09-18 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":187264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:31:38] local.INFO: GPS data processed {"connection_id":187264,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:31:38] local.INFO: Acknowledgment sent {"connection_id":187264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:31:39] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b275e550012d0c960007041890001d002c18..."} 
[2026-09-18 08:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b275e550012d0c960007041890001d002c18..."} 
[2026-09-18 08:31:39] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b275e550012d0c960007041890001d002c18..."} 
[2026-09-18 08:31:39] local.INFO: Packet analysis {"connection_id":185962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:31:39] local.INFO: Extracted packet for processing {"connection_id":185962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:31:39] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":117708944,"longitude_deg":75.5799552,"latitude_deg":11.7708944,"altitude":29,"angle":44,"satellites":24,"speed":28,"hex_longitude":"2d0c9600","hex_latitude":"07041890","is_valid_coordinates":true} 
[2026-09-18 08:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163317504001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32972240593092608,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903042124164706304,"note":"Value kept but may cause issues"} 
[2026-09-18 08:31:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789700466000,"timestamp_ms":1789700466000,"timestamp_seconds":1789700466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b275e550"} 
[2026-09-18 08:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 08:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163317504001,"66":13961,"16":32972240593092608,"94":11008,"24":28,"45":903042124164706304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 08:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163317504001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32972240593092608,"km_value":32972240593092.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:31:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":903042124164706304,"description":"Unknown IO ID 45"} 
[2026-09-18 08:31:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458163317504001,"power":13961,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":903042124164706304}} 
[2026-09-18 08:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":185962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:31:39] local.INFO: GPS data processed {"connection_id":185962,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:31:39] local.INFO: Acknowledgment sent {"connection_id":185962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:32:09] local.INFO: TCP Data received {"connection_id":187264,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27679c0012d7adbc005e3d8d00006009824..."} 
[2026-09-18 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27679c0012d7adbc005e3d8d00006009824..."} 
[2026-09-18 08:32:09] local.INFO: Processing buffer {"connection_id":187264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27679c0012d7adbc005e3d8d00006009824..."} 
[2026-09-18 08:32:09] local.INFO: Packet analysis {"connection_id":187264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b276"} 
[2026-09-18 08:32:09] local.INFO: Extracted packet for processing {"connection_id":187264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b276"} 
[2026-09-18 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763026368,"raw_latitude":98818256,"longitude_deg":76.3026368,"latitude_deg":9.8818256,"altitude":6,"angle":152,"satellites":36,"speed":4,"hex_longitude":"2d7adbc0","hex_latitude":"05e3d8d0","is_valid_coordinates":true} 
[2026-09-18 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163328256001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134522967030759424,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852669517824411648,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789700504000,"timestamp_ms":1789700504000,"timestamp_seconds":1789700504,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27679c0"} 
[2026-09-18 08:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 08:32:09] 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-09-18 08:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:32:09] 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-09-18 08:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163328256001,"66":13374,"208":206,"85":15104,"24":4,"16":134522967030759424,"45":8852669517824411648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163328256001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:32:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134522967030759424,"km_value":134522967030759.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852669517824411648,"description":"Unknown IO ID 45"} 
[2026-09-18 08:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163328256001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8852669517824411648}} 
[2026-09-18 08:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":187264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:32:09] local.INFO: GPS data processed {"connection_id":187264,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:32:09] local.INFO: Acknowledgment sent {"connection_id":187264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:32:10] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b275f4f0012d0c9d8007042218001e00201a..."} 
[2026-09-18 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b275f4f0012d0c9d8007042218001e00201a..."} 
[2026-09-18 08:32:10] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b275f4f0012d0c9d8007042218001e00201a..."} 
[2026-09-18 08:32:10] local.INFO: Packet analysis {"connection_id":185962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:32:10] local.INFO: Extracted packet for processing {"connection_id":185962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b275"} 
[2026-09-18 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":755801472,"raw_latitude":117711384,"longitude_deg":75.5801472,"latitude_deg":11.7711384,"altitude":30,"angle":32,"satellites":26,"speed":31,"hex_longitude":"2d0c9d80","hex_latitude":"07042218","is_valid_coordinates":true} 
[2026-09-18 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32972390916947968,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912405095223296,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 08:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789700470000,"timestamp_ms":1789700470000,"timestamp_seconds":1789700470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b275f4f0"} 
[2026-09-18 08:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 08:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163319296001,"66":14428,"16":32972390916947968,"94":11008,"24":31,"45":906912405095223296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 08:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32972390916947968,"km_value":32972390916947.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:32:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912405095223296,"description":"Unknown IO ID 45"} 
[2026-09-18 08:32:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458163319296001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":906912405095223296}} 
[2026-09-18 08:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":185962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859296,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:32:10] local.INFO: GPS data processed {"connection_id":185962,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:32:10] local.INFO: Acknowledgment sent {"connection_id":185962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:32:18] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:32:18] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:32:18] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:32:23] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:32:23] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:32:23] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:32:24] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:32:24] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:32:24] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:32:24] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:32:24] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:32:24] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:32:28] local.INFO: TCP Data received {"connection_id":185963,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:32:28] local.INFO: Processing buffer {"connection_id":185963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:32:28] local.INFO: IMEI packet received {"connection_id":185963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":185963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:32:31] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:32:31] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:32:31] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:32:31] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:32: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-09-18 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:32: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-09-18 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:32: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-09-18 08:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:32:31] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:32:31] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:32:36] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:32:36] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:32:36] local.INFO: IMEI packet received {"connection_id":185964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":185964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:32:41] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:32:41] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:32:41] local.INFO: IMEI packet received {"connection_id":185964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":185964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:32:42] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2768578012d7adc4005e3d750000600a425..."} 
[2026-09-18 08:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2768578012d7adc4005e3d750000600a425..."} 
[2026-09-18 08:32:42] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2768578012d7adc4005e3d750000600a425..."} 
[2026-09-18 08:32:42] local.INFO: Packet analysis {"connection_id":185964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b276"} 
[2026-09-18 08:32:42] local.INFO: Extracted packet for processing {"connection_id":185964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b276"} 
[2026-09-18 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763026496,"raw_latitude":98817872,"longitude_deg":76.3026496,"latitude_deg":9.8817872,"altitude":6,"angle":164,"satellites":37,"speed":5,"hex_longitude":"2d7adc40","hex_latitude":"05e3d750","is_valid_coordinates":true} 
[2026-09-18 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163329024001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134522988505595904,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852880624056848384,"note":"Value kept but may cause issues"} 
[2026-09-18 08:32:42] 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-09-18 08:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789700507000,"timestamp_ms":1789700507000,"timestamp_seconds":1789700507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2768578"} 
[2026-09-18 08:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 08:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:32:42] 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-09-18 08:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163329024001,"66":13526,"208":206,"85":15104,"24":5,"16":134522988505595904,"45":8852880624056848384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163329024001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:32:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134522988505595904,"km_value":134522988505595.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852880624056848384,"description":"Unknown IO ID 45"} 
[2026-09-18 08:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163329024001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8852880624056848384}} 
[2026-09-18 08:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":185964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:32:42] local.INFO: GPS data processed {"connection_id":185964,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:32:42] local.INFO: Acknowledgment sent {"connection_id":185964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:33:13] local.INFO: TCP Data received {"connection_id":185791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:33:13] local.INFO: Processing buffer {"connection_id":185791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:33:13] local.INFO: IMEI packet received {"connection_id":185791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":185791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:33:14] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b276cfb0012d7ae5c005e3b5a0000600a126..."} 
[2026-09-18 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b276cfb0012d7ae5c005e3b5a0000600a126..."} 
[2026-09-18 08:33:14] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b276cfb0012d7ae5c005e3b5a0000600a126..."} 
[2026-09-18 08:33:14] local.INFO: Packet analysis {"connection_id":185964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b276"} 
[2026-09-18 08:33:14] local.INFO: Extracted packet for processing {"connection_id":185964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b276"} 
[2026-09-18 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763028928,"raw_latitude":98809248,"longitude_deg":76.3028928,"latitude_deg":9.8809248,"altitude":6,"angle":161,"satellites":38,"speed":7,"hex_longitude":"2d7ae5c0","hex_latitude":"05e3b5a0","is_valid_coordinates":true} 
[2026-09-18 08:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163329792001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134523426592260096,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853021361545105408,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:14] 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-09-18 08:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789700526000,"timestamp_ms":1789700526000,"timestamp_seconds":1789700526,"priority":1,"record_length":96,"hex_timestamp":"000001a0b276cfb0"} 
[2026-09-18 08:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 08:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:33:14] 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-09-18 08:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163329792001,"66":13276,"208":206,"85":15104,"24":7,"16":134523426592260096,"45":8853021361545105408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163329792001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134523426592260096,"km_value":134523426592260.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853021361545105408,"description":"Unknown IO ID 45"} 
[2026-09-18 08:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163329792001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8853021361545105408}} 
[2026-09-18 08:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":185964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:33:14] local.INFO: GPS data processed {"connection_id":185964,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:33:14] local.INFO: Acknowledgment sent {"connection_id":185964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:33:18] local.INFO: TCP Data received {"connection_id":185791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:33:18] local.INFO: Processing buffer {"connection_id":185791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:33:18] local.INFO: IMEI packet received {"connection_id":185791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":185791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:33:19] local.INFO: TCP Data received {"connection_id":185791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:33:19] local.INFO: Processing buffer {"connection_id":185791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:33:19] local.INFO: Packet analysis {"connection_id":185791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:33:19] local.INFO: Extracted packet for processing {"connection_id":185791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 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-09-18 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":185791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:33:19] local.INFO: GPS data processed {"connection_id":185791,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:33:19] local.INFO: Acknowledgment sent {"connection_id":185791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:33:31] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:31] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:31] local.INFO: IMEI packet received {"connection_id":187265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":187265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:33:32] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:32] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:32] local.INFO: IMEI packet received {"connection_id":187265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":187265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:33:34] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:34] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:33:34] local.INFO: IMEI packet received {"connection_id":187265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":187265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:33:35] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2771dd0012d7ae90005e3aba8000500a229..."} 
[2026-09-18 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2771dd0012d7ae90005e3aba8000500a229..."} 
[2026-09-18 08:33:35] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2771dd0012d7ae90005e3aba8000500a229..."} 
[2026-09-18 08:33:35] local.INFO: Packet analysis {"connection_id":187265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b277"} 
[2026-09-18 08:33:35] local.INFO: Extracted packet for processing {"connection_id":187265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b277"} 
[2026-09-18 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763029760,"raw_latitude":98806696,"longitude_deg":76.302976,"latitude_deg":9.8806696,"altitude":5,"angle":162,"satellites":41,"speed":20,"hex_longitude":"2d7ae900","hex_latitude":"05e3aba8","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163334656001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134523555441278976,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855695373821648896,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789700546000,"timestamp_ms":1789700546000,"timestamp_seconds":1789700546,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2771dd0"} 
[2026-09-18 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 08:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:33:35] 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-09-18 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163334656001,"66":13580,"208":206,"85":15104,"24":20,"16":134523555441278976,"45":8855695373821648896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163334656001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134523555441278976,"km_value":134523555441278.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855695373821648896,"description":"Unknown IO ID 45"} 
[2026-09-18 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163334656001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8855695373821648896}} 
[2026-09-18 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":187265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:33:35] local.INFO: GPS data processed {"connection_id":187265,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:33:35] local.INFO: Acknowledgment sent {"connection_id":187265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:33:36] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2776bf0012d7af44005e38a08000600a125..."} 
[2026-09-18 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2776bf0012d7af44005e38a08000600a125..."} 
[2026-09-18 08:33:36] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2776bf0012d7af44005e38a08000600a125..."} 
[2026-09-18 08:33:36] local.INFO: Packet analysis {"connection_id":187265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b277"} 
[2026-09-18 08:33:36] local.INFO: Extracted packet for processing {"connection_id":187265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b277"} 
[2026-09-18 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98798088,"longitude_deg":76.303264,"latitude_deg":9.8798088,"altitude":6,"angle":161,"satellites":37,"speed":19,"hex_longitude":"2d7af440","hex_latitude":"05e38a08","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163339776001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134523997822910464,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856610167495305216,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789700566000,"timestamp_ms":1789700566000,"timestamp_seconds":1789700566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2776bf0"} 
[2026-09-18 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-09-18 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635947,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2994094864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2455618483149340672,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3662151686,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368979408,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":70,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2147869659,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3957653504,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822825472,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-2738182097218306042,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163107329625685,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:36] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,208,85,24,241,157,16,236,160,207,45,192,181,6,38,10,66,133,64,215,37,235,121,1,240,62,227,178,4,113,205,3,70,218,104,40,239,53,2,221,5,122,52,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-18 08:33:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360466267168309248,"timestamp_seconds":360466267168309.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:33:36] 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-09-18 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163339776001,"66":13526,"208":206,"85":15104,"24":19,"16":134523997822910464,"45":8856610167495305216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163339776001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:33:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134523997822910464,"km_value":134523997822910.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856610167495305216,"description":"Unknown IO ID 45"} 
[2026-09-18 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163339776001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8856610167495305216}} 
[2026-09-18 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":187265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:33:36] local.INFO: GPS data processed {"connection_id":187265,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:33:36] local.INFO: Acknowledgment sent {"connection_id":187265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:33:51] local.INFO: TCP Data received {"connection_id":185791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:33:51] local.INFO: Processing buffer {"connection_id":185791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:33:51] local.INFO: Packet analysis {"connection_id":185791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:33:51] local.INFO: Extracted packet for processing {"connection_id":185791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:33: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-09-18 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":185791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:33:51] local.INFO: GPS data processed {"connection_id":185791,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:33:51] local.INFO: Acknowledgment sent {"connection_id":185791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:33:52] local.INFO: TCP Data received {"connection_id":185963,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185963,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:33:52] local.INFO: Processing buffer {"connection_id":185963,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:33:52] local.INFO: IMEI packet received {"connection_id":185963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":185963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:34:03] local.INFO: TCP Data received {"connection_id":185965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185965,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:34:03] local.INFO: Processing buffer {"connection_id":185965,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:34:03] local.INFO: IMEI packet received {"connection_id":185965,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":185965,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:34:07] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b277ae58012d7afe4005e367e80008009f25..."} 
[2026-09-18 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b277ae58012d7afe4005e367e80008009f25..."} 
[2026-09-18 08:34:07] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b277ae58012d7afe4005e367e80008009f25..."} 
[2026-09-18 08:34:07] local.INFO: Packet analysis {"connection_id":187265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b277"} 
[2026-09-18 08:34:07] local.INFO: Extracted packet for processing {"connection_id":187265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b277"} 
[2026-09-18 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763035200,"raw_latitude":98789352,"longitude_deg":76.30352,"latitude_deg":9.8789352,"altitude":8,"angle":159,"satellites":37,"speed":28,"hex_longitude":"2d7afe40","hex_latitude":"05e367e8","is_valid_coordinates":true} 
[2026-09-18 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163344896001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134524440204541952,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760981096448,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789700583000,"timestamp_ms":1789700583000,"timestamp_seconds":1789700583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b277ae58"} 
[2026-09-18 08:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 08:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:34:07] 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-09-18 08:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163344896001,"66":13406,"208":206,"85":15104,"24":28,"16":134524440204541952,"45":8859776760981096448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163344896001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:34:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134524440204541952,"km_value":134524440204541.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760981096448,"description":"Unknown IO ID 45"} 
[2026-09-18 08:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163344896001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8859776760981096448}} 
[2026-09-18 08:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":187265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:34:08] local.INFO: GPS data processed {"connection_id":187265,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:34:08] local.INFO: Acknowledgment sent {"connection_id":187265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:34:14] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:34:14] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:34:14] local.INFO: IMEI packet received {"connection_id":185792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":185792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:34:18] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:34:18] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:34:18] local.INFO: IMEI packet received {"connection_id":185792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":185792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:34:19] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:34:19] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:34:19] local.INFO: Packet analysis {"connection_id":185792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:34:19] local.INFO: Extracted packet for processing {"connection_id":185792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 08:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":185792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:34:19] local.INFO: GPS data processed {"connection_id":185792,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:34:19] local.INFO: Acknowledgment sent {"connection_id":185792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:34:31] local.INFO: TCP Data received {"connection_id":185966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:34:31] local.INFO: Processing buffer {"connection_id":185966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:34:31] local.INFO: IMEI packet received {"connection_id":185966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":185966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:34:37] local.INFO: TCP Data received {"connection_id":185966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:34:37] local.INFO: Processing buffer {"connection_id":185966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:34:37] local.INFO: IMEI packet received {"connection_id":185966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":185966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:34:40] local.INFO: TCP Data received {"connection_id":185966,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278ac40012d7b094005e338400006015b18..."} 
[2026-09-18 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278ac40012d7b094005e338400006015b18..."} 
[2026-09-18 08:34:40] local.INFO: Processing buffer {"connection_id":185966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278ac40012d7b094005e338400006015b18..."} 
[2026-09-18 08:34:40] local.INFO: Packet analysis {"connection_id":185966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:34:40] local.INFO: Extracted packet for processing {"connection_id":185966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98777152,"longitude_deg":76.3038016,"latitude_deg":9.8777152,"altitude":6,"angle":347,"satellites":24,"speed":9,"hex_longitude":"2d7b0940","hex_latitude":"05e33840","is_valid_coordinates":true} 
[2026-09-18 08:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163365632001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134525196118786048,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104230770688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:40] 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-09-18 08:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789700648000,"timestamp_ms":1789700648000,"timestamp_seconds":1789700648,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278ac40"} 
[2026-09-18 08:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:34: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-09-18 08:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:34:40] 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-09-18 08:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163365632001,"66":13406,"208":206,"85":15104,"24":9,"16":134525196118786048,"45":8865758104230770688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163365632001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:34:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134525196118786048,"km_value":134525196118786.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104230770688,"description":"Unknown IO ID 45"} 
[2026-09-18 08:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163365632001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865758104230770688}} 
[2026-09-18 08:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":185966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:34:40] local.INFO: GPS data processed {"connection_id":185966,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:34:40] local.INFO: Acknowledgment sent {"connection_id":185966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:34:51] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:34:51] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2744b28012d34c14006aa4440000a011828..."} 
[2026-09-18 08:34:51] local.INFO: Packet analysis {"connection_id":185792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:34:51] local.INFO: Extracted packet for processing {"connection_id":185792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b274"} 
[2026-09-18 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163215360001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789700361000,"timestamp_ms":1789700361000,"timestamp_seconds":1789700361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2744b28"} 
[2026-09-18 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-09-18 08:34: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-09-18 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163215360001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163215360001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163215360001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":185792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:34:51] local.INFO: GPS data processed {"connection_id":185792,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:34:51] local.INFO: Acknowledgment sent {"connection_id":185792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:35:12] local.INFO: TCP Data received {"connection_id":185966,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d7b014005e359c8000601541e..."} 
[2026-09-18 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d7b014005e359c8000601541e..."} 
[2026-09-18 08:35:12] local.INFO: Processing buffer {"connection_id":185966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d7b014005e359c8000601541e..."} 
[2026-09-18 08:35:12] local.INFO: Packet analysis {"connection_id":185966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:35:12] local.INFO: Extracted packet for processing {"connection_id":185966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763035968,"raw_latitude":98785736,"longitude_deg":76.3035968,"latitude_deg":9.8785736,"altitude":6,"angle":340,"satellites":30,"speed":29,"hex_longitude":"2d7b0140","hex_latitude":"05e359c8","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163365888001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134525625615515648,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735486660608,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:12] 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-09-18 08:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 08:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 08:35:12] 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-09-18 08: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-09-18 08:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:35:12] 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-09-18 08:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163365888001,"66":13624,"208":206,"85":15104,"24":29,"16":134525625615515648,"45":8865687735486660608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163365888001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:35:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134525625615515648,"km_value":134525625615515.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735486660608,"description":"Unknown IO ID 45"} 
[2026-09-18 08:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163365888001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8865687735486660608}} 
[2026-09-18 08:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":185966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:35:12] local.INFO: GPS data processed {"connection_id":185966,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:35:12] local.INFO: Acknowledgment sent {"connection_id":185966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:35:13] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:35:13] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:35:13] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:35:17] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:35:17] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:35:17] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:35:19] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:35:19] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:35:19] local.INFO: Packet analysis {"connection_id":188579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:35:19] local.INFO: Extracted packet for processing {"connection_id":188579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 08:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:35:19] local.INFO: GPS data processed {"connection_id":188579,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:35:19] local.INFO: Acknowledgment sent {"connection_id":188579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:35:31] local.INFO: TCP Data received {"connection_id":185968,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:35:31] local.INFO: Processing buffer {"connection_id":185968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:35:31] local.INFO: IMEI packet received {"connection_id":185968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":185968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:35:36] local.INFO: TCP Data received {"connection_id":185968,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:35:36] local.INFO: Processing buffer {"connection_id":185968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:35:36] local.INFO: IMEI packet received {"connection_id":185968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":185968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:35:37] local.INFO: TCP Data received {"connection_id":185968,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27915b8012d7af6c005e37d180008015923..."} 
[2026-09-18 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27915b8012d7af6c005e37d180008015923..."} 
[2026-09-18 08:35:37] local.INFO: Processing buffer {"connection_id":185968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27915b8012d7af6c005e37d180008015923..."} 
[2026-09-18 08:35:37] local.INFO: Packet analysis {"connection_id":185968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:35:37] local.INFO: Extracted packet for processing {"connection_id":185968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763033280,"raw_latitude":98794776,"longitude_deg":76.303328,"latitude_deg":9.8794776,"altitude":8,"angle":345,"satellites":35,"speed":23,"hex_longitude":"2d7af6c0","hex_latitude":"05e37d18","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134526085177016320,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863435935675172864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789700675000,"timestamp_ms":1789700675000,"timestamp_seconds":1789700675,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27915b8"} 
[2026-09-18 08:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 08:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:35:37] 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-09-18 08:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":13319,"208":206,"85":15104,"24":23,"16":134526085177016320,"45":8863435935675172864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:35:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134526085177016320,"km_value":134526085177016.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863435935675172864,"description":"Unknown IO ID 45"} 
[2026-09-18 08:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8863435935675172864}} 
[2026-09-18 08:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":185968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:35:37] local.INFO: GPS data processed {"connection_id":185968,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:35:37] local.INFO: Acknowledgment sent {"connection_id":185968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:35:46] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:35:46] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:35:46] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:35:50] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:35:50] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:35:50] local.INFO: Packet analysis {"connection_id":188579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:35:50] local.INFO: Extracted packet for processing {"connection_id":188579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":188579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:35:50] local.INFO: GPS data processed {"connection_id":188579,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:35:50] local.INFO: Acknowledgment sent {"connection_id":188579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:36:08] local.INFO: TCP Data received {"connection_id":185968,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27940b0012d7af1c005e38da80008014c26..."} 
[2026-09-18 08:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27940b0012d7af1c005e38da80008014c26..."} 
[2026-09-18 08:36:08] local.INFO: Processing buffer {"connection_id":185968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27940b0012d7af1c005e38da80008014c26..."} 
[2026-09-18 08:36:08] local.INFO: Packet analysis {"connection_id":185968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:36:08] local.INFO: Extracted packet for processing {"connection_id":185968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763032000,"raw_latitude":98799016,"longitude_deg":76.3032,"latitude_deg":9.8799016,"altitude":8,"angle":332,"satellites":38,"speed":22,"hex_longitude":"2d7af1c0","hex_latitude":"05e38da8","is_valid_coordinates":true} 
[2026-09-18 08:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163372800001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134526299925381120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860480448422025216,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] 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-09-18 08:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789700686000,"timestamp_ms":1789700686000,"timestamp_seconds":1789700686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27940b0"} 
[2026-09-18 08:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2994246864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":237,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4010455493958246400,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811985408,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2147869494,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3991339008,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7063897310380392453,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,238,160,226,45,64,89,6,30,10,66,172,56,237,168,128,1,240,227,178,4,113,205,5,152,12,72,239,52,2,221,116,120],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-18 08:36:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576840234140368896,"timestamp_seconds":576840234140368.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:36:08] 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-09-18 08:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163372800001,"66":13493,"208":206,"85":15104,"24":22,"16":134526299925381120,"45":8860480448422025216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163372800001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:36:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134526299925381120,"km_value":134526299925381.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860480448422025216,"description":"Unknown IO ID 45"} 
[2026-09-18 08:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163372800001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8860480448422025216}} 
[2026-09-18 08:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":185968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:36:09] local.INFO: GPS data processed {"connection_id":185968,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:36:09] local.INFO: Acknowledgment sent {"connection_id":185968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:36:13] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:36:13] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:36:13] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:36:18] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:36:18] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:36:18] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:36:19] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:36:19] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:36:19] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:36:19] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:36:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:36:19] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:36:19] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:36:32] local.INFO: TCP Data received {"connection_id":185969,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:32] local.INFO: Processing buffer {"connection_id":185969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:32] local.INFO: IMEI packet received {"connection_id":185969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":185969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:36:33] local.INFO: TCP Data received {"connection_id":185969,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:33] local.INFO: Processing buffer {"connection_id":185969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:33] local.INFO: IMEI packet received {"connection_id":185969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":185969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:36:36] local.INFO: TCP Data received {"connection_id":185969,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:36] local.INFO: Processing buffer {"connection_id":185969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:36:36] local.INFO: IMEI packet received {"connection_id":185969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":185969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:36:39] local.INFO: TCP Data received {"connection_id":185969,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2795050012d7aeec005e39480000a015726..."} 
[2026-09-18 08:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2795050012d7aeec005e39480000a015726..."} 
[2026-09-18 08:36:39] local.INFO: Processing buffer {"connection_id":185969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2795050012d7aeec005e39480000a015726..."} 
[2026-09-18 08:36:39] local.INFO: Packet analysis {"connection_id":185969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:36:39] local.INFO: Extracted packet for processing {"connection_id":185969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763031232,"raw_latitude":98800768,"longitude_deg":76.3031232,"latitude_deg":9.8800768,"altitude":10,"angle":343,"satellites":38,"speed":12,"hex_longitude":"2d7aeec0","hex_latitude":"05e39480","is_valid_coordinates":true} 
[2026-09-18 08:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163375616001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134526394414661632,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859073073539557376,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789700690000,"timestamp_ms":1789700690000,"timestamp_seconds":1789700690,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2795050"} 
[2026-09-18 08:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 08:36:39] 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-09-18 08:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:36:39] 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-09-18 08:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163375616001,"66":13374,"208":206,"85":15104,"24":12,"16":134526394414661632,"45":8859073073539557376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163375616001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:36:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134526394414661632,"km_value":134526394414661.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859073073539557376,"description":"Unknown IO ID 45"} 
[2026-09-18 08:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163375616001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8859073073539557376}} 
[2026-09-18 08:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":185969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:36:39] local.INFO: GPS data processed {"connection_id":185969,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:36:39] local.INFO: Acknowledgment sent {"connection_id":185969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:36:44] local.INFO: TCP Data received {"connection_id":185969,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2798ae8012d7ae40005e3b6e00007015827..."} 
[2026-09-18 08:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2798ae8012d7ae40005e3b6e00007015827..."} 
[2026-09-18 08:36:44] local.INFO: Processing buffer {"connection_id":185969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2798ae8012d7ae40005e3b6e00007015827..."} 
[2026-09-18 08:36:44] local.INFO: Packet analysis {"connection_id":185969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:36:44] local.INFO: Extracted packet for processing {"connection_id":185969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:36:44] local.INFO: GPS Element Parsed {"raw_longitude":763028480,"raw_latitude":98809568,"longitude_deg":76.302848,"latitude_deg":9.8809568,"altitude":7,"angle":344,"satellites":39,"speed":30,"hex_longitude":"2d7ae400","hex_latitude":"05e3b6e0","is_valid_coordinates":true} 
[2026-09-18 08:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163376640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134526841091260416,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858228648609873920,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789700705000,"timestamp_ms":1789700705000,"timestamp_seconds":1789700705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2798ae8"} 
[2026-09-18 08:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 08:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:36:44] 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-09-18 08:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163376640001,"66":13102,"208":206,"85":15104,"24":30,"16":134526841091260416,"45":8858228648609873920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163376640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:36:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:36:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134526841091260416,"km_value":134526841091260.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858228648609873920,"description":"Unknown IO ID 45"} 
[2026-09-18 08:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163376640001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8858228648609873920}} 
[2026-09-18 08:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":185969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:36:44] local.INFO: GPS data processed {"connection_id":185969,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:36:44] local.INFO: Acknowledgment sent {"connection_id":185969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:36:51] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:36:51] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:36:51] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:36:51] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:36:51] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:36:51] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:37:15] local.INFO: TCP Data received {"connection_id":185969,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b279d908012d7adbc005e3d3680008015525..."} 
[2026-09-18 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b279d908012d7adbc005e3d3680008015525..."} 
[2026-09-18 08:37:15] local.INFO: Processing buffer {"connection_id":185969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b279d908012d7adbc005e3d3680008015525..."} 
[2026-09-18 08:37:15] local.INFO: Packet analysis {"connection_id":185969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:37:15] local.INFO: Extracted packet for processing {"connection_id":185969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b279"} 
[2026-09-18 08:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763026368,"raw_latitude":98816872,"longitude_deg":76.3026368,"latitude_deg":9.8816872,"altitude":8,"angle":341,"satellites":37,"speed":9,"hex_longitude":"2d7adbc0","hex_latitude":"05e3d368","is_valid_coordinates":true} 
[2026-09-18 08:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163380480001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527210458447872,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855202792612487168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789700725000,"timestamp_ms":1789700725000,"timestamp_seconds":1789700725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b279d908"} 
[2026-09-18 08:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 08:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:37:15] 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-09-18 08:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163380480001,"66":13526,"208":206,"85":15104,"24":9,"16":134527210458447872,"45":8855202792612487168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163380480001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:37:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527210458447872,"km_value":134527210458447.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855202792612487168,"description":"Unknown IO ID 45"} 
[2026-09-18 08:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163380480001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8855202792612487168}} 
[2026-09-18 08:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":185969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:37:15] local.INFO: GPS data processed {"connection_id":185969,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:37:15] local.INFO: Acknowledgment sent {"connection_id":185969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:37:18] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:37:18] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:37:18] local.INFO: IMEI packet received {"connection_id":187268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":187268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:37:23] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:37:23] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:37:23] local.INFO: IMEI packet received {"connection_id":187268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":187268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:37:24] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:37:24] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:37:24] local.INFO: Packet analysis {"connection_id":187268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:37:24] local.INFO: Extracted packet for processing {"connection_id":187268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 08:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":187268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:37:24] local.INFO: GPS data processed {"connection_id":187268,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:37:24] local.INFO: Acknowledgment sent {"connection_id":187268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:37:28] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:37:28] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:37:28] local.INFO: Packet analysis {"connection_id":187268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:37:28] local.INFO: Extracted packet for processing {"connection_id":187268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 08:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:37:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:37:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":187268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:37:28] local.INFO: GPS data processed {"connection_id":187268,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:37:28] local.INFO: Acknowledgment sent {"connection_id":187268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:37:36] local.INFO: TCP Data received {"connection_id":185793,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:37:36] local.INFO: Processing buffer {"connection_id":185793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:37:36] local.INFO: IMEI packet received {"connection_id":185793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":185793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:37:41] local.INFO: TCP Data received {"connection_id":185793,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:37:41] local.INFO: Processing buffer {"connection_id":185793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:37:41] local.INFO: IMEI packet received {"connection_id":185793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":185793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:37:42] local.INFO: TCP Data received {"connection_id":185793,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27a07e8012d7ad80005e3e1080007016027..."} 
[2026-09-18 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27a07e8012d7ad80005e3e1080007016027..."} 
[2026-09-18 08:37:42] local.INFO: Processing buffer {"connection_id":185793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27a07e8012d7ad80005e3e1080007016027..."} 
[2026-09-18 08:37:42] local.INFO: Packet analysis {"connection_id":185793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:37:42] local.INFO: Extracted packet for processing {"connection_id":185793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763025408,"raw_latitude":98820360,"longitude_deg":76.3025408,"latitude_deg":9.882036,"altitude":7,"angle":352,"satellites":39,"speed":14,"hex_longitude":"2d7ad800","hex_latitude":"05e3e108","is_valid_coordinates":true} 
[2026-09-18 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163385600001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527386552107008,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852880624056494080,"note":"Value kept but may cause issues"} 
[2026-09-18 08:37:42] 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-09-18 08:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789700737000,"timestamp_ms":1789700737000,"timestamp_seconds":1789700737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27a07e8"} 
[2026-09-18 08:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 08:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:37:42] 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-09-18 08:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163385600001,"66":12765,"208":206,"85":15104,"24":14,"16":134527386552107008,"45":8852880624056494080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163385600001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:37:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527386552107008,"km_value":134527386552107.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852880624056494080,"description":"Unknown IO ID 45"} 
[2026-09-18 08:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163385600001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8852880624056494080}} 
[2026-09-18 08:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":185793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:37:42] local.INFO: GPS data processed {"connection_id":185793,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:37:42] local.INFO: Acknowledgment sent {"connection_id":185793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:38:13] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:38:13] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:38:13] local.INFO: IMEI packet received {"connection_id":188582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":188582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:38:13] local.INFO: TCP Data received {"connection_id":185793,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27a13a0012d7ad74005e3e4500007015428..."} 
[2026-09-18 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27a13a0012d7ad74005e3e4500007015428..."} 
[2026-09-18 08:38:13] local.INFO: Processing buffer {"connection_id":185793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27a13a0012d7ad74005e3e4500007015428..."} 
[2026-09-18 08:38:13] local.INFO: Packet analysis {"connection_id":185793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:38:13] local.INFO: Extracted packet for processing {"connection_id":185793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":98821200,"longitude_deg":76.3025216,"latitude_deg":9.88212,"altitude":7,"angle":340,"satellites":40,"speed":9,"hex_longitude":"2d7ad740","hex_latitude":"05e3e450","is_valid_coordinates":true} 
[2026-09-18 08:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163388672001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527429501779968,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851825092894722048,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789700740000,"timestamp_ms":1789700740000,"timestamp_seconds":1789700740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27a13a0"} 
[2026-09-18 08:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 08:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:38:13] 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-09-18 08:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163388672001,"66":13048,"208":206,"85":15104,"24":9,"16":134527429501779968,"45":8851825092894722048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163388672001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:38:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527429501779968,"km_value":134527429501779.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851825092894722048,"description":"Unknown IO ID 45"} 
[2026-09-18 08:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163388672001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8851825092894722048}} 
[2026-09-18 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":185793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:38:13] local.INFO: GPS data processed {"connection_id":185793,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:38:13] local.INFO: Acknowledgment sent {"connection_id":185793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:38:18] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:38:18] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:38:18] local.INFO: IMEI packet received {"connection_id":188582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":188582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:38:19] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:38:19] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:38:19] local.INFO: Packet analysis {"connection_id":188582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:38:19] local.INFO: Extracted packet for processing {"connection_id":188582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:38: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-09-18 08:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":188582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:38:19] local.INFO: GPS data processed {"connection_id":188582,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:38:19] local.INFO: Acknowledgment sent {"connection_id":188582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:38:37] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:38:37] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:38:37] local.INFO: IMEI packet received {"connection_id":187269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":187269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:38:38] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:38:38] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:38:38] local.INFO: IMEI packet received {"connection_id":187269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":187269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:38:39] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27a3ab0012d7ad70005e3e6980006016226..."} 
[2026-09-18 08:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27a3ab0012d7ad70005e3e6980006016226..."} 
[2026-09-18 08:38:39] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27a3ab0012d7ad70005e3e6980006016226..."} 
[2026-09-18 08:38:39] local.INFO: Packet analysis {"connection_id":187269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:38:39] local.INFO: Extracted packet for processing {"connection_id":187269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763025152,"raw_latitude":98821784,"longitude_deg":76.3025152,"latitude_deg":9.8821784,"altitude":6,"angle":354,"satellites":38,"speed":7,"hex_longitude":"2d7ad700","hex_latitude":"05e3e698","is_valid_coordinates":true} 
[2026-09-18 08:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163389440001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527459566551040,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851613986662404096,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789700750000,"timestamp_ms":1789700750000,"timestamp_seconds":1789700750,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27a3ab0"} 
[2026-09-18 08:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 08:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:38:39] 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-09-18 08:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163389440001,"66":13450,"208":206,"85":15104,"24":7,"16":134527459566551040,"45":8851613986662404096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163389440001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:38:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527459566551040,"km_value":134527459566551.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851613986662404096,"description":"Unknown IO ID 45"} 
[2026-09-18 08:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163389440001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8851613986662404096}} 
[2026-09-18 08:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":187269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:38:39] local.INFO: GPS data processed {"connection_id":187269,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:38:39] local.INFO: Acknowledgment sent {"connection_id":187269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:38:41] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27a7930012d7acec005e40a580006015523..."} 
[2026-09-18 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27a7930012d7acec005e40a580006015523..."} 
[2026-09-18 08:38:41] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27a7930012d7acec005e40a580006015523..."} 
[2026-09-18 08:38:41] local.INFO: Packet analysis {"connection_id":187269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:38:41] local.INFO: Extracted packet for processing {"connection_id":187269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98830936,"longitude_deg":76.302304,"latitude_deg":9.8830936,"altitude":6,"angle":341,"satellites":35,"speed":26,"hex_longitude":"2d7acec0","hex_latitude":"05e40a58","is_valid_coordinates":true} 
[2026-09-18 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163392000001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527914833084416,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851543617918375936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:41] 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-09-18 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789700766000,"timestamp_ms":1789700766000,"timestamp_seconds":1789700766,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27a7930"} 
[2026-09-18 08:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 08:38:41] 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-09-18 08:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:38:41] 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-09-18 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163392000001,"66":12841,"208":206,"85":15104,"24":26,"16":134527914833084416,"45":8851543617918375936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163392000001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:38:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527914833084416,"km_value":134527914833084.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851543617918375936,"description":"Unknown IO ID 45"} 
[2026-09-18 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163392000001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8851543617918375936}} 
[2026-09-18 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":187269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:38:41] local.INFO: GPS data processed {"connection_id":187269,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:38:41] local.INFO: Acknowledgment sent {"connection_id":187269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:38:50] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:38:50] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:38:50] local.INFO: Packet analysis {"connection_id":188582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:38:50] local.INFO: Extracted packet for processing {"connection_id":188582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:38:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":188582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:38:50] local.INFO: GPS data processed {"connection_id":188582,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:38:50] local.INFO: Acknowledgment sent {"connection_id":188582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:39:04] local.INFO: TCP Data received {"connection_id":185970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:04] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:04] local.INFO: IMEI packet received {"connection_id":185970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":185970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:39:05] local.INFO: TCP Data received {"connection_id":185970,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27c9440012d0d61000705e7f00014000f1b..."} 
[2026-09-18 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27c9440012d0d61000705e7f00014000f1b..."} 
[2026-09-18 08:39:05] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27c9440012d0d61000705e7f00014000f1b..."} 
[2026-09-18 08:39:05] local.INFO: Packet analysis {"connection_id":185970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27c"} 
[2026-09-18 08:39:05] local.INFO: Extracted packet for processing {"connection_id":185970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27c"} 
[2026-09-18 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":117827568,"longitude_deg":75.585152,"latitude_deg":11.7827568,"altitude":20,"angle":15,"satellites":27,"speed":11,"hex_longitude":"2d0d6100","hex_latitude":"0705e7f0","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163430912001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32984068933025792,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963770350421012480,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789700904000,"timestamp_ms":1789700904000,"timestamp_seconds":1789700904,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27c9440"} 
[2026-09-18 08:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2994488864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":584342150435569674,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504102919208960,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3610247189,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753791399,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4026608909,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84738716908062159,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6193665433148160,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.WARNING: Large IO value detected {"io_id":13,"raw_value":8664933404613541911,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,167,94,24,241,157,16,46,160,113,45,221,19,27,10,66,109,192,220,101,1,240,92,227,178,5,4,205,77,97,28,239,56,2,117,7,22,26,206,80,40,13],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0}]} 
[2026-09-18 08:39:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441184982072164352,"timestamp_seconds":1441184982072164.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163430912001,"66":14537,"167":206,"94":11008,"24":11,"16":32984068933025792,"45":963770350421012480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 08:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163430912001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:39:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 08:39:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32984068933025792,"km_value":32984068933025.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":963770350421012480,"description":"Unknown IO ID 45"} 
[2026-09-18 08:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163430912001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":963770350421012480}} 
[2026-09-18 08:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":185970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:39:05] local.INFO: GPS data processed {"connection_id":185970,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:39:05] local.INFO: Acknowledgment sent {"connection_id":185970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:39:13] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27a7930012d7acec005e40a580006015523..."} 
[2026-09-18 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27a7930012d7acec005e40a580006015523..."} 
[2026-09-18 08:39:13] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27a7930012d7acec005e40a580006015523..."} 
[2026-09-18 08:39:13] local.INFO: Packet analysis {"connection_id":187269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:39:13] local.INFO: Extracted packet for processing {"connection_id":187269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98830936,"longitude_deg":76.302304,"latitude_deg":9.8830936,"altitude":6,"angle":341,"satellites":35,"speed":26,"hex_longitude":"2d7acec0","hex_latitude":"05e40a58","is_valid_coordinates":true} 
[2026-09-18 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163396096001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527914833084416,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449362855936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789700766000,"timestamp_ms":1789700766000,"timestamp_seconds":1789700766,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27a7930"} 
[2026-09-18 08:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 08:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:39:13] 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-09-18 08:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163396096001,"66":12841,"208":206,"85":15104,"24":26,"16":134527914833084416,"45":8849221449362855936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163396096001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:39:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527914833084416,"km_value":134527914833084.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449362855936,"description":"Unknown IO ID 45"} 
[2026-09-18 08:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163396096001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8849221449362855936}} 
[2026-09-18 08:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":187269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:39:13] local.INFO: GPS data processed {"connection_id":187269,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:39:13] local.INFO: Acknowledgment sent {"connection_id":187269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:39:13] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:39:13] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:39:13] local.INFO: IMEI packet received {"connection_id":187270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":187270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:39:18] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:39:18] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:39:18] local.INFO: IMEI packet received {"connection_id":187270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":187270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:39:19] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:39:19] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:39:19] local.INFO: Packet analysis {"connection_id":187270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:39:19] local.INFO: Extracted packet for processing {"connection_id":187270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:39: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-09-18 08:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":187270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:39:19] local.INFO: GPS data processed {"connection_id":187270,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:39:19] local.INFO: Acknowledgment sent {"connection_id":187270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:39:29] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:29] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:29] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:39:31] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:39:31] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:39:31] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:39:31] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:31] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:39:31] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:39:32] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27c9ff8012d0d61800705eb28001601671b..."} 
[2026-09-18 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27c9ff8012d0d61800705eb28001601671b..."} 
[2026-09-18 08:39:32] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27c9ff8012d0d61800705eb28001601671b..."} 
[2026-09-18 08:39:32] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27c"} 
[2026-09-18 08:39:32] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27c"} 
[2026-09-18 08:39:32] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":117828392,"longitude_deg":75.5851648,"latitude_deg":11.7828392,"altitude":22,"angle":359,"satellites":27,"speed":10,"hex_longitude":"2d0d6180","hex_latitude":"0705eb28","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163431424001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32984111882698752,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051825397854208,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789700907000,"timestamp_ms":1789700907000,"timestamp_seconds":1789700907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27c9ff8"} 
[2026-09-18 08:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 08:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163431424001,"66":14396,"167":206,"94":11008,"24":10,"16":32984111882698752,"45":964051825397854208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 08:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163431424001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:39:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 08:39:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32984111882698752,"km_value":32984111882698.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051825397854208,"description":"Unknown IO ID 45"} 
[2026-09-18 08:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163431424001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":964051825397854208}} 
[2026-09-18 08:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:39:32] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:39:32] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:39:36] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:39:36] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:39:36] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:39:37] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27a84e8012d7acc8005e410600007014125..."} 
[2026-09-18 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27a84e8012d7acc8005e410600007014125..."} 
[2026-09-18 08:39:37] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27a84e8012d7acc8005e410600007014125..."} 
[2026-09-18 08:39:37] local.INFO: Packet analysis {"connection_id":188584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:39:37] local.INFO: Extracted packet for processing {"connection_id":188584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27a"} 
[2026-09-18 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98832480,"longitude_deg":76.3022464,"latitude_deg":9.883248,"altitude":7,"angle":321,"satellites":37,"speed":19,"hex_longitude":"2d7acc80","hex_latitude":"05e41060","is_valid_coordinates":true} 
[2026-09-18 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163396096001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134527996437463040,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449362855936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789700769000,"timestamp_ms":1789700769000,"timestamp_seconds":1789700769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27a84e8"} 
[2026-09-18 08:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 08:39: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-09-18 08:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:39:37] 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-09-18 08:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163396096001,"66":12841,"208":206,"85":15104,"24":19,"16":134527996437463040,"45":8849221449362855936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 08:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163396096001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:39:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 08:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 08:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134527996437463040,"km_value":134527996437463.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449362855936,"description":"Unknown IO ID 45"} 
[2026-09-18 08:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163396096001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8849221449362855936}} 
[2026-09-18 08:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":188584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:39:37] local.INFO: GPS data processed {"connection_id":188584,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:39:37] local.INFO: Acknowledgment sent {"connection_id":188584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:39:50] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:39:50] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b278e2f0012d34c14006aa4440000a011827..."} 
[2026-09-18 08:39:50] local.INFO: Packet analysis {"connection_id":187270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:39:50] local.INFO: Extracted packet for processing {"connection_id":187270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b278"} 
[2026-09-18 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163292416001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789700662000,"timestamp_ms":1789700662000,"timestamp_seconds":1789700662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b278e2f0"} 
[2026-09-18 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-09-18 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 08:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 08:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163292416001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163292416001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:39:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163292416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":187270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:39:50] local.INFO: GPS data processed {"connection_id":187270,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:39:50] local.INFO: Acknowledgment sent {"connection_id":187270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:40:03] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27db550012d0da24007063c80001a015e1b..."} 
[2026-09-18 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27db550012d0da24007063c80001a015e1b..."} 
[2026-09-18 08:40:03] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27db550012d0da24007063c80001a015e1b..."} 
[2026-09-18 08:40:03] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:03] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117849216,"longitude_deg":75.5868224,"latitude_deg":11.7849216,"altitude":26,"angle":350,"satellites":27,"speed":24,"hex_longitude":"2d0da240","hex_latitude":"07063c80","is_valid_coordinates":true} 
[2026-09-18 08:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163449856001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32985739675303936,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805121837056,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789700978000,"timestamp_ms":1789700978000,"timestamp_seconds":1789700978,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27db550"} 
[2026-09-18 08:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 08:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163449856001,"66":14439,"167":206,"94":11008,"24":24,"16":32985739675303936,"45":982558805121837056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 08:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163449856001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:40:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 08:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32985739675303936,"km_value":32985739675303.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805121837056,"description":"Unknown IO ID 45"} 
[2026-09-18 08:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163449856001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":982558805121837056}} 
[2026-09-18 08:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:40:04] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:40:04] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:40:09] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27defe8012d7ac54005e41a300008014623..."} 
[2026-09-18 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27defe8012d7ac54005e41a300008014623..."} 
[2026-09-18 08:40:09] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27defe8012d7ac54005e41a300008014623..."} 
[2026-09-18 08:40:09] local.INFO: Packet analysis {"connection_id":188584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:09] local.INFO: Extracted packet for processing {"connection_id":188584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763020608,"raw_latitude":98834992,"longitude_deg":76.3020608,"latitude_deg":9.8834992,"altitude":8,"angle":326,"satellites":35,"speed":10,"hex_longitude":"2d7ac540","hex_latitude":"05e41a30","is_valid_coordinates":true} 
[2026-09-18 08:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163453184001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134528151056285696,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846969649550049280,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789700993000,"timestamp_ms":1789700993000,"timestamp_seconds":1789700993,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27defe8"} 
[2026-09-18 08:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-18 08:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:40:09] 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-09-18 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163453184001,"66":13135,"95":206,"87":13824,"24":10,"16":134528151056285696,"45":8846969649550049280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-18 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163453184001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:40:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 08:40:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134528151056285696,"km_value":134528151056285.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846969649550049280,"description":"Unknown IO ID 45"} 
[2026-09-18 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163453184001,"power":13135,"unknown_95":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8846969649550049280}} 
[2026-09-18 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:40:09] local.INFO: GPS data processed {"connection_id":188584,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:40:09] local.INFO: Acknowledgment sent {"connection_id":188584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:40:13] local.INFO: TCP Data received {"connection_id":185971,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:40:13] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:40:13] local.INFO: IMEI packet received {"connection_id":185971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":185971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:40:18] local.INFO: TCP Data received {"connection_id":185971,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:40:18] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:40:18] local.INFO: IMEI packet received {"connection_id":185971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":185971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:40:19] local.INFO: TCP Data received {"connection_id":185971,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:40:19] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:40:19] local.INFO: Packet analysis {"connection_id":185971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:19] local.INFO: Extracted packet for processing {"connection_id":185971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:40: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-09-18 08:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":185971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:40:19] local.INFO: GPS data processed {"connection_id":185971,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:40:19] local.INFO: Acknowledgment sent {"connection_id":185971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:40:28] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:28] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:28] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:40:30] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:30] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:30] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:40:34] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:34] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:40:34] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:40:34] local.INFO: TCP Data received {"connection_id":185972,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:40:34] local.INFO: Processing buffer {"connection_id":185972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:40:34] local.INFO: IMEI packet received {"connection_id":185972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":185972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:40:34] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27dccc0012d0da08007064b90001a00031b..."} 
[2026-09-18 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27dccc0012d0da08007064b90001a00031b..."} 
[2026-09-18 08:40:34] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27dccc0012d0da08007064b90001a00031b..."} 
[2026-09-18 08:40:34] local.INFO: Packet analysis {"connection_id":188585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:34] local.INFO: Extracted packet for processing {"connection_id":188585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:34] local.INFO: GPS Element Parsed {"raw_longitude":755867776,"raw_latitude":117853072,"longitude_deg":75.5867776,"latitude_deg":11.7853072,"altitude":26,"angle":3,"satellites":27,"speed":15,"hex_longitude":"2d0da080","hex_latitude":"07064b90","is_valid_coordinates":true} 
[2026-09-18 08:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163450368001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32985928653864960,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067633766400,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789700984000,"timestamp_ms":1789700984000,"timestamp_seconds":1789700984,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27dccc0"} 
[2026-09-18 08:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 08:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163450368001,"66":14396,"167":206,"94":11008,"24":15,"16":32985928653864960,"45":982418067633766400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 08:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163450368001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:40:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 08:40:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32985928653864960,"km_value":32985928653864.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067633766400,"description":"Unknown IO ID 45"} 
[2026-09-18 08:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163450368001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":982418067633766400}} 
[2026-09-18 08:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":188585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:40:35] local.INFO: GPS data processed {"connection_id":188585,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:40:35] local.INFO: Acknowledgment sent {"connection_id":188585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:40:50] local.INFO: TCP Data received {"connection_id":185971,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:40:50] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:40:50] local.INFO: Packet analysis {"connection_id":185971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:50] local.INFO: Extracted packet for processing {"connection_id":185971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:40:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":185971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:40:50] local.INFO: GPS data processed {"connection_id":185971,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:40:50] local.INFO: Acknowledgment sent {"connection_id":185971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:41:05] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27efd70012d0dcf4007067ef8001b004b1c..."} 
[2026-09-18 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27efd70012d0dcf4007067ef8001b004b1c..."} 
[2026-09-18 08:41:05] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27efd70012d0dcf4007067ef8001b004b1c..."} 
[2026-09-18 08:41:05] local.INFO: Packet analysis {"connection_id":188585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27e"} 
[2026-09-18 08:41:05] local.INFO: Extracted packet for processing {"connection_id":188585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27e"} 
[2026-09-18 08:41:05] local.INFO: GPS Element Parsed {"raw_longitude":755879744,"raw_latitude":117866232,"longitude_deg":75.5879744,"latitude_deg":11.7866232,"altitude":27,"angle":75,"satellites":28,"speed":15,"hex_longitude":"2d0dcf40","hex_latitude":"07067ef8","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163471616001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32986907906408448,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994591860380844032,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789701062000,"timestamp_ms":1789701062000,"timestamp_seconds":1789701062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27efd70"} 
[2026-09-18 08:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 08:41: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-09-18 08: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-09-18 08:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163471616001,"66":14374,"167":206,"94":11008,"24":15,"16":32986907906408448,"45":994591860380844032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 08:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163471616001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:41:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 08:41:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 08:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32986907906408448,"km_value":32986907906408.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":994591860380844032,"description":"Unknown IO ID 45"} 
[2026-09-18 08:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163471616001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":994591860380844032}} 
[2026-09-18 08:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":188585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859338,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:41:05] local.INFO: GPS data processed {"connection_id":188585,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:41:05] local.INFO: Acknowledgment sent {"connection_id":188585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:41:16] local.INFO: TCP Data received {"connection_id":185972,"ip":"42.106.6.39","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 08:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185972,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 08:41:16] local.INFO: Processing buffer {"connection_id":185972,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 08:41:16] local.INFO: IMEI packet received {"connection_id":185972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":185972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:41:19] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:41:19] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:41:19] local.INFO: IMEI packet received {"connection_id":188586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":188586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:41:22] local.INFO: TCP Data received {"connection_id":185794,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:41:22] local.INFO: Processing buffer {"connection_id":185794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:41:22] local.INFO: IMEI packet received {"connection_id":185794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":185794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:41:23] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:41:23] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:41:23] local.INFO: IMEI packet received {"connection_id":188586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":188586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:41:24] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:41:24] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:41:24] local.INFO: Packet analysis {"connection_id":188586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:41:24] local.INFO: Extracted packet for processing {"connection_id":188586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":188586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:41:24] local.INFO: GPS data processed {"connection_id":188586,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:41:24] local.INFO: Acknowledgment sent {"connection_id":188586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:41:27] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:41:27] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:41:27] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:41:28] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:41:28] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:41:28] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:41:29] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:41:29] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:41:29] local.INFO: Packet analysis {"connection_id":188586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:41:29] local.INFO: Extracted packet for processing {"connection_id":188586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:41:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:41: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-09-18 08:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 08:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:41:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:41:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":188586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:41:29] local.INFO: GPS data processed {"connection_id":188586,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:41:29] local.INFO: Acknowledgment sent {"connection_id":188586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:41:36] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:41:36] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 08:41:36] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:42:13] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:42:13] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:42:13] local.INFO: IMEI packet received {"connection_id":185973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":185973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:42:18] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:42:18] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:42:18] local.INFO: IMEI packet received {"connection_id":185973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":185973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:42:19] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:42:19] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:42:19] local.INFO: Packet analysis {"connection_id":185973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:42:19] local.INFO: Extracted packet for processing {"connection_id":185973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:42: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-09-18 08:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":185973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:42:19] local.INFO: GPS data processed {"connection_id":185973,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:42:19] local.INFO: Acknowledgment sent {"connection_id":185973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:42:50] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:42:50] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:42:50] local.INFO: Packet analysis {"connection_id":185973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:42:50] local.INFO: Extracted packet for processing {"connection_id":185973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":185973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:42:50] local.INFO: GPS data processed {"connection_id":185973,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:42:50] local.INFO: Acknowledgment sent {"connection_id":185973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:43:13] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:43:13] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:43:13] local.INFO: IMEI packet received {"connection_id":187271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":187271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:43:18] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:43:18] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:43:18] local.INFO: IMEI packet received {"connection_id":187271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":187271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:43:19] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:43:19] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:43:19] local.INFO: Packet analysis {"connection_id":187271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:43:19] local.INFO: Extracted packet for processing {"connection_id":187271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":187271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:43:19] local.INFO: GPS data processed {"connection_id":187271,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:43:19] local.INFO: Acknowledgment sent {"connection_id":187271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:43:50] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:43:50] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:43:50] local.INFO: Packet analysis {"connection_id":187271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:43:50] local.INFO: Extracted packet for processing {"connection_id":187271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:43:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 08:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:43:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:43:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":187271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:43:50] local.INFO: GPS data processed {"connection_id":187271,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:43:50] local.INFO: Acknowledgment sent {"connection_id":187271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:44:12] local.INFO: TCP Data received {"connection_id":187274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:44:12] local.INFO: Processing buffer {"connection_id":187274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:44:12] local.INFO: IMEI packet received {"connection_id":187274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":187274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:44:18] local.INFO: TCP Data received {"connection_id":187274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:44:18] local.INFO: Processing buffer {"connection_id":187274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:44:18] local.INFO: IMEI packet received {"connection_id":187274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":187274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:44:19] local.INFO: TCP Data received {"connection_id":187274,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:44:19] local.INFO: Processing buffer {"connection_id":187274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:44:19] local.INFO: Packet analysis {"connection_id":187274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:44:19] local.INFO: Extracted packet for processing {"connection_id":187274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":187274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:44:19] local.INFO: GPS data processed {"connection_id":187274,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:44:19] local.INFO: Acknowledgment sent {"connection_id":187274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:44:51] local.INFO: TCP Data received {"connection_id":187274,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:44:51] local.INFO: Processing buffer {"connection_id":187274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b27d7ab8012d34c14006aa4440000a011827..."} 
[2026-09-18 08:44:51] local.INFO: Packet analysis {"connection_id":187274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:44:51] local.INFO: Extracted packet for processing {"connection_id":187274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b27d"} 
[2026-09-18 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789700963000,"timestamp_ms":1789700963000,"timestamp_seconds":1789700963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b27d7ab8"} 
[2026-09-18 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-09-18 08:44: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-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163369472001,"66":25375,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163369472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":187274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:44:51] local.INFO: GPS data processed {"connection_id":187274,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:44:51] local.INFO: Acknowledgment sent {"connection_id":187274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:45:12] local.INFO: TCP Data received {"connection_id":185977,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:45:12] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:45:12] local.INFO: IMEI packet received {"connection_id":185977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":185977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:45:18] local.INFO: TCP Data received {"connection_id":185977,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:45:18] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:45:18] local.INFO: IMEI packet received {"connection_id":185977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":185977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:45:18] local.INFO: TCP Data received {"connection_id":185977,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:45:18] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:45:18] local.INFO: Packet analysis {"connection_id":185977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:45:18] local.INFO: Extracted packet for processing {"connection_id":185977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 08:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":185977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:45:18] local.INFO: GPS data processed {"connection_id":185977,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:45:18] local.INFO: Acknowledgment sent {"connection_id":185977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:45:50] local.INFO: TCP Data received {"connection_id":185977,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:45:50] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:45:50] local.INFO: Packet analysis {"connection_id":185977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:45:50] local.INFO: Extracted packet for processing {"connection_id":185977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 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-09-18 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:45:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:45:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":185977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:45:50] local.INFO: GPS data processed {"connection_id":185977,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:45:50] local.INFO: Acknowledgment sent {"connection_id":185977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:46:06] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:06] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:06] local.INFO: IMEI packet received {"connection_id":188592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":188592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:46:07] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b281dbd0012d79f30005e519100005015d27..."} 
[2026-09-18 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b281dbd0012d79f30005e519100005015d27..."} 
[2026-09-18 08:46:07] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b281dbd0012d79f30005e519100005015d27..."} 
[2026-09-18 08:46:07] local.INFO: Packet analysis {"connection_id":188592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b281"} 
[2026-09-18 08:46:07] local.INFO: Extracted packet for processing {"connection_id":188592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b281"} 
[2026-09-18 08:46:07] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":98900240,"longitude_deg":76.2966784,"latitude_deg":9.890024,"altitude":5,"angle":349,"satellites":39,"speed":32,"hex_longitude":"2d79f300","hex_latitude":"05e51910","is_valid_coordinates":true} 
[2026-09-18 08:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163517440001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134534773895856128,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789619123060004864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789701250000,"timestamp_ms":1789701250000,"timestamp_seconds":1789701250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b281dbd0"} 
[2026-09-18 08:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 08:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163517440001,"66":13189,"95":206,"87":13824,"24":32,"16":134534773895856128,"45":8789619123060004864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-18 08:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163517440001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:46:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 08:46:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134534773895856128,"km_value":134534773895856.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789619123060004864,"description":"Unknown IO ID 45"} 
[2026-09-18 08:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163517440001,"power":13189,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8789619123060004864}} 
[2026-09-18 08:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":188592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:46:07] local.INFO: GPS data processed {"connection_id":188592,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:46:07] local.INFO: Acknowledgment sent {"connection_id":188592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:46:18] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:46:18] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:46:18] local.INFO: IMEI packet received {"connection_id":185795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":185795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:46:23] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:46:23] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:46:23] local.INFO: IMEI packet received {"connection_id":185795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":185795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:46:24] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:46:24] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:46:24] local.INFO: Packet analysis {"connection_id":185795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:46:24] local.INFO: Extracted packet for processing {"connection_id":185795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 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-09-18 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":185795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:46:24] local.INFO: GPS data processed {"connection_id":185795,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:46:24] local.INFO: Acknowledgment sent {"connection_id":185795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:46:30] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:30] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:30] local.INFO: IMEI packet received {"connection_id":185978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":185978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:46:31] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:31] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:31] local.INFO: IMEI packet received {"connection_id":185978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":185978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:46:33] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:46:33] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:46:33] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:46:34] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28327d8012d0e3500070695c0001e00c31c..."} 
[2026-09-18 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28327d8012d0e3500070695c0001e00c31c..."} 
[2026-09-18 08:46:34] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28327d8012d0e3500070695c0001e00c31c..."} 
[2026-09-18 08:46:34] local.INFO: Packet analysis {"connection_id":188593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:46:34] local.INFO: Extracted packet for processing {"connection_id":188593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117872064,"longitude_deg":75.5905792,"latitude_deg":11.7872064,"altitude":30,"angle":195,"satellites":28,"speed":1,"hex_longitude":"2d0e3500","hex_latitude":"070695c0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163541504001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32991696794943488,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023865257960298496,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789701335000,"timestamp_ms":1789701335000,"timestamp_seconds":1789701335,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28327d8"} 
[2026-09-18 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-09-18 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 08:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163541504001,"66":14537,"219":206,"94":10240,"24":1,"16":32991696794943488,"45":1023865257960298496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 08:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163541504001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:46:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 08:46:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32991696794943488,"km_value":32991696794943.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023865257960298496,"description":"Unknown IO ID 45"} 
[2026-09-18 08:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163541504001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1023865257960298496}} 
[2026-09-18 08:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":188593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:46:34] local.INFO: GPS data processed {"connection_id":188593,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:46:34] local.INFO: Acknowledgment sent {"connection_id":188593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:46:36] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:36] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:46:36] local.INFO: IMEI packet received {"connection_id":185978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":185978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:46:37] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28381b0012d79c0c005e663e0000400001f..."} 
[2026-09-18 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28381b0012d79c0c005e663e0000400001f..."} 
[2026-09-18 08:46:37] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28381b0012d79c0c005e663e0000400001f..."} 
[2026-09-18 08:46:37] local.INFO: Packet analysis {"connection_id":185978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:46:37] local.INFO: Extracted packet for processing {"connection_id":185978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762953920,"raw_latitude":98984928,"longitude_deg":76.295392,"latitude_deg":9.8984928,"altitude":4,"angle":0,"satellites":31,"speed":5,"hex_longitude":"2d79c0c0","hex_latitude":"05e663e0","is_valid_coordinates":true} 
[2026-09-18 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163543808001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134538961488969728,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774771318060134400,"note":"Value kept but may cause issues"} 
[2026-09-18 08:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701358000,"timestamp_ms":1789701358000,"timestamp_seconds":1789701358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28381b0"} 
[2026-09-18 08:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 08:46: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-09-18 08:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163543808001,"66":13243,"182":206,"87":13824,"24":5,"16":134538961488969728,"45":8774771318060134400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 08:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163543808001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:46:37] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 08:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134538961488969728,"km_value":134538961488969.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774771318060134400,"description":"Unknown IO ID 45"} 
[2026-09-18 08:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163543808001,"power":13243,"unknown_182":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8774771318060134400}} 
[2026-09-18 08:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":185978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:46:37] local.INFO: GPS data processed {"connection_id":185978,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:46:37] local.INFO: Acknowledgment sent {"connection_id":185978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:46:56] local.INFO: TCP Data received {"connection_id":185975,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:46:56] local.INFO: Processing buffer {"connection_id":185975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:46:56] local.INFO: IMEI packet received {"connection_id":185975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":185975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:47:05] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2843d30012d0e29c007068188001f01291c..."} 
[2026-09-18 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2843d30012d0e29c007068188001f01291c..."} 
[2026-09-18 08:47:05] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2843d30012d0e29c007068188001f01291c..."} 
[2026-09-18 08:47:05] local.INFO: Packet analysis {"connection_id":188593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:47:05] local.INFO: Extracted packet for processing {"connection_id":188593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":755902912,"raw_latitude":117866888,"longitude_deg":75.5902912,"latitude_deg":11.7866888,"altitude":31,"angle":297,"satellites":28,"speed":2,"hex_longitude":"2d0e29c0","hex_latitude":"07068188","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163559168001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32992018917490688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020769033215109120,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789701406000,"timestamp_ms":1789701406000,"timestamp_seconds":1789701406,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2843d30"} 
[2026-09-18 08:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":179,"data_length":795,"current_offset":136} 
[2026-09-18 08:47:05] 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-09-18 08: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-09-18 08:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163559168001,"66":14233,"219":206,"94":10240,"24":2,"16":32992018917490688,"45":1020769033215109120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 08:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163559168001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:47:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 08:47:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32992018917490688,"km_value":32992018917490.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020769033215109120,"description":"Unknown IO ID 45"} 
[2026-09-18 08:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163559168001,"power":14233,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1020769033215109120}} 
[2026-09-18 08:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":188593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:47:05] local.INFO: GPS data processed {"connection_id":188593,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:47:05] local.INFO: Acknowledgment sent {"connection_id":188593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:47:08] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b283b478012d79c08005e664e80004015c20..."} 
[2026-09-18 08:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b283b478012d79c08005e664e80004015c20..."} 
[2026-09-18 08:47:08] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b283b478012d79c08005e664e80004015c20..."} 
[2026-09-18 08:47:08] local.INFO: Packet analysis {"connection_id":185978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:47:08] local.INFO: Extracted packet for processing {"connection_id":185978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:47:08] local.INFO: GPS Element Parsed {"raw_longitude":762953856,"raw_latitude":98985192,"longitude_deg":76.2953856,"latitude_deg":9.8985192,"altitude":4,"angle":348,"satellites":32,"speed":3,"hex_longitude":"2d79c080","hex_latitude":"05e664e8","is_valid_coordinates":true} 
[2026-09-18 08:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163547648001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134538978668838912,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8773223205690400768,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789701371000,"timestamp_ms":1789701371000,"timestamp_seconds":1789701371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b283b478"} 
[2026-09-18 08:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":187,"data_length":795,"current_offset":136} 
[2026-09-18 08:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163547648001,"66":13352,"183":206,"87":13824,"24":3,"16":134538978668838912,"45":8773223205690400768},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-18 08:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163547648001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134538978668838912,"km_value":134538978668838.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8773223205690400768,"description":"Unknown IO ID 45"} 
[2026-09-18 08:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163547648001,"power":13352,"unknown_183":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8773223205690400768}} 
[2026-09-18 08:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":185978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:47:08] local.INFO: GPS data processed {"connection_id":185978,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:47:08] local.INFO: Acknowledgment sent {"connection_id":185978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:47:25] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:25] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:25] local.INFO: IMEI packet received {"connection_id":185796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":185796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:47:26] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:26] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:26] local.INFO: IMEI packet received {"connection_id":185796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":185796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:47:27] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:27] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:27] local.INFO: IMEI packet received {"connection_id":185796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":185796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:47:28] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:28] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:47:28] local.INFO: IMEI packet received {"connection_id":185796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":185796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:47:31] local.INFO: TCP Data received {"connection_id":185797,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:47:31] local.INFO: Processing buffer {"connection_id":185797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:47:31] local.INFO: IMEI packet received {"connection_id":185797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":185797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:47:36] local.INFO: TCP Data received {"connection_id":185797,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:47:36] local.INFO: Processing buffer {"connection_id":185797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:47:36] local.INFO: IMEI packet received {"connection_id":185797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":185797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:47:37] local.INFO: TCP Data received {"connection_id":185797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b283fac8012d79be8005e682f8000300011e..."} 
[2026-09-18 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b283fac8012d79be8005e682f8000300011e..."} 
[2026-09-18 08:47:37] local.INFO: Processing buffer {"connection_id":185797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b283fac8012d79be8005e682f8000300011e..."} 
[2026-09-18 08:47:37] local.INFO: Packet analysis {"connection_id":185797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:47:37] local.INFO: Extracted packet for processing {"connection_id":185797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b283"} 
[2026-09-18 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":762953344,"raw_latitude":98992888,"longitude_deg":76.2953344,"latitude_deg":9.8992888,"altitude":3,"angle":1,"satellites":30,"speed":15,"hex_longitude":"2d79be80","hex_latitude":"05e682f8","is_valid_coordinates":true} 
[2026-09-18 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163550976001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134539352330993664,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8773152836946290688,"note":"Value kept but may cause issues"} 
[2026-09-18 08:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701389000,"timestamp_ms":1789701389000,"timestamp_seconds":1789701389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b283fac8"} 
[2026-09-18 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163550976001,"66":13363,"183":206,"87":13824,"24":15,"16":134539352330993664,"45":8773152836946290688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-18 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163550976001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:47:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-18 08:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134539352330993664,"km_value":134539352330993.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8773152836946290688,"description":"Unknown IO ID 45"} 
[2026-09-18 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163550976001,"power":13363,"unknown_183":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8773152836946290688}} 
[2026-09-18 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":185797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:47:37] local.INFO: GPS data processed {"connection_id":185797,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:47:37] local.INFO: Acknowledgment sent {"connection_id":185797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:48:08] local.INFO: TCP Data received {"connection_id":185797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2843560012d79bc0005e6a2e80002015f1a..."} 
[2026-09-18 08:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2843560012d79bc0005e6a2e80002015f1a..."} 
[2026-09-18 08:48:08] local.INFO: Processing buffer {"connection_id":185797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2843560012d79bc0005e6a2e80002015f1a..."} 
[2026-09-18 08:48:08] local.INFO: Packet analysis {"connection_id":185797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:48:08] local.INFO: Extracted packet for processing {"connection_id":185797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":762952704,"raw_latitude":99001064,"longitude_deg":76.2952704,"latitude_deg":9.9001064,"altitude":2,"angle":351,"satellites":26,"speed":22,"hex_longitude":"2d79bc00","hex_latitude":"05e6a2e8","is_valid_coordinates":true} 
[2026-09-18 08:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163555584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134539751762952192,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772589886994839552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789701404000,"timestamp_ms":1789701404000,"timestamp_seconds":1789701404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2843560"} 
[2026-09-18 08:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 08:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163555584001,"66":13363,"183":206,"87":13824,"24":22,"16":134539751762952192,"45":8772589886994839552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-18 08:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163555584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:48:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-18 08:48:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134539751762952192,"km_value":134539751762952.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772589886994839552,"description":"Unknown IO ID 45"} 
[2026-09-18 08:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163555584001,"power":13363,"unknown_183":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8772589886994839552}} 
[2026-09-18 08:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":185797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:48:08] local.INFO: GPS data processed {"connection_id":185797,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:48:08] local.INFO: Acknowledgment sent {"connection_id":185797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:48:18] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:48:18] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:48:18] local.INFO: IMEI packet received {"connection_id":185979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":185979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:48:23] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:48:23] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:48:23] local.INFO: IMEI packet received {"connection_id":185979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":185979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:48:24] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:48:24] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:48:24] local.INFO: Packet analysis {"connection_id":185979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:48:24] local.INFO: Extracted packet for processing {"connection_id":185979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 08:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":185979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:48:24] local.INFO: GPS data processed {"connection_id":185979,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:48:24] local.INFO: Acknowledgment sent {"connection_id":185979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:48:31] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:31] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:31] local.INFO: IMEI packet received {"connection_id":185799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":185799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:48:34] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:34] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:34] local.INFO: IMEI packet received {"connection_id":185799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":185799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:48:38] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:38] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:48:38] local.INFO: IMEI packet received {"connection_id":185799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":185799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:48:39] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2846828012d79b90005e6c5d8000501601e..."} 
[2026-09-18 08:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2846828012d79b90005e6c5d8000501601e..."} 
[2026-09-18 08:48:39] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2846828012d79b90005e6c5d8000501601e..."} 
[2026-09-18 08:48:39] local.INFO: Packet analysis {"connection_id":185799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:48:39] local.INFO: Extracted packet for processing {"connection_id":185799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:48:39] local.INFO: GPS Element Parsed {"raw_longitude":762951936,"raw_latitude":99010008,"longitude_deg":76.2951936,"latitude_deg":9.9010008,"altitude":5,"angle":352,"satellites":30,"speed":27,"hex_longitude":"2d79b900","hex_latitude":"05e6c5d8","is_valid_coordinates":true} 
[2026-09-18 08:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163559424001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134540189849616384,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771886199555155968,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789701417000,"timestamp_ms":1789701417000,"timestamp_seconds":1789701417,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2846828"} 
[2026-09-18 08:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 08:48:39] 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-09-18 08:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163559424001,"66":13461,"181":206,"87":13824,"24":27,"16":134540189849616384,"45":8771886199555155968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 08:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163559424001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:48:39] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 08:48:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134540189849616384,"km_value":134540189849616.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771886199555155968,"description":"Unknown IO ID 45"} 
[2026-09-18 08:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163559424001,"power":13461,"unknown_181":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8771886199555155968}} 
[2026-09-18 08:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":185799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:48:39] local.INFO: GPS data processed {"connection_id":185799,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:48:39] local.INFO: Acknowledgment sent {"connection_id":185799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:48:50] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b284a2c0012d79b58005e6e8e80007016320..."} 
[2026-09-18 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b284a2c0012d79b58005e6e8e80007016320..."} 
[2026-09-18 08:48:50] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b284a2c0012d79b58005e6e8e80007016320..."} 
[2026-09-18 08:48:50] local.INFO: Packet analysis {"connection_id":185799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:48:50] local.INFO: Extracted packet for processing {"connection_id":185799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":762951040,"raw_latitude":99018984,"longitude_deg":76.295104,"latitude_deg":9.9018984,"altitude":7,"angle":355,"satellites":32,"speed":24,"hex_longitude":"2d79b580","hex_latitude":"05e6e8e8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163562752001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134540627936280576,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771041774627313664,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701432000,"timestamp_ms":1789701432000,"timestamp_seconds":1789701432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b284a2c0"} 
[2026-09-18 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-09-18 08:48: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-09-18 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 08:48:50] 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-09-18 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-09-18 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-09-18 08:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163562752001,"66":13363,"181":206,"87":13824,"24":24,"16":134540627936280576,"45":8771041774627313664},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 08:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163562752001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:48:50] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 08:48:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134540627936280576,"km_value":134540627936280.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771041774627313664,"description":"Unknown IO ID 45"} 
[2026-09-18 08:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163562752001,"power":13363,"unknown_181":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8771041774627313664}} 
[2026-09-18 08:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":185799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:48:50] local.INFO: GPS data processed {"connection_id":185799,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:48:50] local.INFO: Acknowledgment sent {"connection_id":185799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:48:55] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:48:55] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:48:55] local.INFO: Packet analysis {"connection_id":185979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:48:55] local.INFO: Extracted packet for processing {"connection_id":185979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 08:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:48: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-09-18 08: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-09-18 08:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:48:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:48:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":185979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:48:55] local.INFO: GPS data processed {"connection_id":185979,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:48:55] local.INFO: Acknowledgment sent {"connection_id":185979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:49:13] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:49:13] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:49:13] local.INFO: IMEI packet received {"connection_id":187276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":187276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:49:18] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:49:18] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:49:18] local.INFO: IMEI packet received {"connection_id":187276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":187276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:49:19] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:49:19] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:49:19] local.INFO: Packet analysis {"connection_id":187276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:49:19] local.INFO: Extracted packet for processing {"connection_id":187276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 08:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":187276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:49:19] local.INFO: GPS data processed {"connection_id":187276,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:49:19] local.INFO: Acknowledgment sent {"connection_id":187276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:49:36] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:49:36] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:49:36] local.INFO: IMEI packet received {"connection_id":185980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":185980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:49:41] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:49:41] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:49:41] local.INFO: IMEI packet received {"connection_id":185980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":185980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:49:42] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b284dd58012d79b34005e70c280007016721..."} 
[2026-09-18 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b284dd58012d79b34005e70c280007016721..."} 
[2026-09-18 08:49:42] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b284dd58012d79b34005e70c280007016721..."} 
[2026-09-18 08:49:42] local.INFO: Packet analysis {"connection_id":185980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:49:42] local.INFO: Extracted packet for processing {"connection_id":185980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b284"} 
[2026-09-18 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":762950464,"raw_latitude":99028008,"longitude_deg":76.2950464,"latitude_deg":9.9028008,"altitude":7,"angle":359,"satellites":33,"speed":24,"hex_longitude":"2d79b340","hex_latitude":"05e70c28","is_valid_coordinates":true} 
[2026-09-18 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163566592001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134541066022944768,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770056612211124224,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789701447000,"timestamp_ms":1789701447000,"timestamp_seconds":1789701447,"priority":1,"record_length":96,"hex_timestamp":"000001a0b284dd58"} 
[2026-09-18 08:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 08:49:42] 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-09-18 08:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163566592001,"66":13363,"181":206,"87":13824,"24":24,"16":134541066022944768,"45":8770056612211124224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 08:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163566592001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:49:42] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 08:49:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134541066022944768,"km_value":134541066022944.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770056612211124224,"description":"Unknown IO ID 45"} 
[2026-09-18 08:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163566592001,"power":13363,"unknown_181":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8770056612211124224}} 
[2026-09-18 08:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":185980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:49:42] local.INFO: GPS data processed {"connection_id":185980,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:49:42] local.INFO: Acknowledgment sent {"connection_id":185980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:49:51] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:49:51] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2821280012d34c14006aa4440000a011828..."} 
[2026-09-18 08:49:51] local.INFO: Packet analysis {"connection_id":187276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:49:51] local.INFO: Extracted packet for processing {"connection_id":187276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b282"} 
[2026-09-18 08:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163446528001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789701264000,"timestamp_ms":1789701264000,"timestamp_seconds":1789701264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2821280"} 
[2026-09-18 08:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:49: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-09-18 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 08:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163446528001,"66":25430,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163446528001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163446528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":187276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:49:51] local.INFO: GPS data processed {"connection_id":187276,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:49:51] local.INFO: Acknowledgment sent {"connection_id":187276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:50:12] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:50:12] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:50:12] local.INFO: IMEI packet received {"connection_id":188595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":188595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:50:14] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28517f0012d79b20005e72f600006016621..."} 
[2026-09-18 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28517f0012d79b20005e72f600006016621..."} 
[2026-09-18 08:50:14] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28517f0012d79b20005e72f600006016621..."} 
[2026-09-18 08:50:14] local.INFO: Packet analysis {"connection_id":185980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b285"} 
[2026-09-18 08:50:14] local.INFO: Extracted packet for processing {"connection_id":185980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b285"} 
[2026-09-18 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":762950144,"raw_latitude":99037024,"longitude_deg":76.2950144,"latitude_deg":9.9037024,"altitude":6,"angle":358,"satellites":33,"speed":15,"hex_longitude":"2d79b200","hex_latitude":"05e72f60","is_valid_coordinates":true} 
[2026-09-18 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163570432001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134541504109608960,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769423293515835392,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789701462000,"timestamp_ms":1789701462000,"timestamp_seconds":1789701462,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28517f0"} 
[2026-09-18 08:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 08:50:14] 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-09-18 08:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163570432001,"66":13189,"181":206,"87":13824,"24":15,"16":134541504109608960,"45":8769423293515835392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 08:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163570432001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:50:14] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 08:50:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134541504109608960,"km_value":134541504109608.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769423293515835392,"description":"Unknown IO ID 45"} 
[2026-09-18 08:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163570432001,"power":13189,"unknown_181":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8769423293515835392}} 
[2026-09-18 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":185980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:50:14] local.INFO: GPS data processed {"connection_id":185980,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:50:14] local.INFO: Acknowledgment sent {"connection_id":185980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:50:18] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:50:18] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:50:18] local.INFO: IMEI packet received {"connection_id":188595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":188595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:50:20] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:50:20] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:50:20] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:50:20] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:50:20] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:50:20] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:50:29] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:29] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:29] local.INFO: IMEI packet received {"connection_id":185801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":185801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:50:31] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:31] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:31] local.INFO: IMEI packet received {"connection_id":185801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":185801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:50:36] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:36] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:50:36] local.INFO: IMEI packet received {"connection_id":185801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":185801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:50:38] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2856610012d79b14005e734c00006016122..."} 
[2026-09-18 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2856610012d79b14005e734c00006016122..."} 
[2026-09-18 08:50:38] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2856610012d79b14005e734c00006016122..."} 
[2026-09-18 08:50:38] local.INFO: Packet analysis {"connection_id":185801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b285"} 
[2026-09-18 08:50:38] local.INFO: Extracted packet for processing {"connection_id":185801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b285"} 
[2026-09-18 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762949952,"raw_latitude":99038400,"longitude_deg":76.2949952,"latitude_deg":9.90384,"altitude":6,"angle":353,"satellites":34,"speed":0,"hex_longitude":"2d79b140","hex_latitude":"05e734c0","is_valid_coordinates":true} 
[2026-09-18 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163574272001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134541572829085696,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769071449797255168,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789701482000,"timestamp_ms":1789701482000,"timestamp_seconds":1789701482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2856610"} 
[2026-09-18 08:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 08:50:38] 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-09-18 08:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163574272001,"66":13178,"181":206,"87":13824,"24":0,"16":134541572829085696,"45":8769071449797255168},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163574272001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:50:38] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 08:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134541572829085696,"km_value":134541572829085.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769071449797255168,"description":"Unknown IO ID 45"} 
[2026-09-18 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163574272001,"power":13178,"unknown_181":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8769071449797255168}} 
[2026-09-18 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":185801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:50:38] local.INFO: GPS data processed {"connection_id":185801,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:50:38] local.INFO: Acknowledgment sent {"connection_id":185801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:50:51] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:50:51] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:50:51] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:50:51] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:50:51] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:50:51] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:51:12] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:51:12] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:51:12] local.INFO: IMEI packet received {"connection_id":185802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":185802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:51:13] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28811a8012d79ad4005e7eac8000501672a..."} 
[2026-09-18 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28811a8012d79ad4005e7eac8000501672a..."} 
[2026-09-18 08:51:13] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28811a8012d79ad4005e7eac8000501672a..."} 
[2026-09-18 08:51:13] local.INFO: Packet analysis {"connection_id":185801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:51:13] local.INFO: Extracted packet for processing {"connection_id":185801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":762948928,"raw_latitude":99085000,"longitude_deg":76.2948928,"latitude_deg":9.9085,"altitude":5,"angle":359,"satellites":42,"speed":32,"hex_longitude":"2d79ad40","hex_latitude":"05e7eac8","is_valid_coordinates":true} 
[2026-09-18 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163622144001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134543853456719872,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768860343575449600,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:13] 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-09-18 08:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789701657000,"timestamp_ms":1789701657000,"timestamp_seconds":1789701657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28811a8"} 
[2026-09-18 08:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:51: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-09-18 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 08:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163622144001,"66":13243,"31":206,"87":13824,"24":32,"16":134543853456719872,"45":8768860343575449600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 08:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163622144001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:51:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 08:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134543853456719872,"km_value":134543853456719.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768860343575449600,"description":"Unknown IO ID 45"} 
[2026-09-18 08:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163622144001,"power":13243,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8768860343575449600}} 
[2026-09-18 08:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":185801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:51:13] local.INFO: GPS data processed {"connection_id":185801,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:51:13] local.INFO: Acknowledgment sent {"connection_id":185801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:51:18] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:51:18] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:51:18] local.INFO: IMEI packet received {"connection_id":185802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":185802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:51:19] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:51:19] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:51:19] local.INFO: Packet analysis {"connection_id":185802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:51:19] local.INFO: Extracted packet for processing {"connection_id":185802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":185802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:51:19] local.INFO: GPS data processed {"connection_id":185802,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:51:19] local.INFO: Acknowledgment sent {"connection_id":185802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:51:29] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:29] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:29] local.INFO: IMEI packet received {"connection_id":187277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":187277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:51:31] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:31] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:31] local.INFO: IMEI packet received {"connection_id":187277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":187277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:51:37] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:37] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:51:37] local.INFO: IMEI packet received {"connection_id":187277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":187277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:51:40] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2882d00012d79ac0005e800400004015928..."} 
[2026-09-18 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2882d00012d79ac0005e800400004015928..."} 
[2026-09-18 08:51:40] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2882d00012d79ac0005e800400004015928..."} 
[2026-09-18 08:51:40] local.INFO: Packet analysis {"connection_id":187277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:51:40] local.INFO: Extracted packet for processing {"connection_id":187277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:51:40] local.INFO: GPS Element Parsed {"raw_longitude":762948608,"raw_latitude":99090496,"longitude_deg":76.2948608,"latitude_deg":9.9090496,"altitude":4,"angle":345,"satellites":40,"speed":32,"hex_longitude":"2d79ac00","hex_latitude":"05e80040","is_valid_coordinates":true} 
[2026-09-18 08:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163624192001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134544119744692224,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767734443670161408,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:40] 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-09-18 08:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789701664000,"timestamp_ms":1789701664000,"timestamp_seconds":1789701664,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2882d00"} 
[2026-09-18 08:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 08:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163624192001,"66":13363,"31":206,"87":13824,"24":32,"16":134544119744692224,"45":8767734443670161408},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 08:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163624192001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:51:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 08:51:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134544119744692224,"km_value":134544119744692.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767734443670161408,"description":"Unknown IO ID 45"} 
[2026-09-18 08:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163624192001,"power":13363,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8767734443670161408}} 
[2026-09-18 08:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":187277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:51:40] local.INFO: GPS data processed {"connection_id":187277,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:51:40] local.INFO: Acknowledgment sent {"connection_id":187277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:51:50] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:51:50] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:51:50] local.INFO: Packet analysis {"connection_id":185802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:51:50] local.INFO: Extracted packet for processing {"connection_id":185802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":185802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:51:50] local.INFO: GPS data processed {"connection_id":185802,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:51:50] local.INFO: Acknowledgment sent {"connection_id":185802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:52:10] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28838b8012d79a88005e809480004014d27..."} 
[2026-09-18 08:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28838b8012d79a88005e809480004014d27..."} 
[2026-09-18 08:52:10] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28838b8012d79a88005e809480004014d27..."} 
[2026-09-18 08:52:10] local.INFO: Packet analysis {"connection_id":187277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:52:10] local.INFO: Extracted packet for processing {"connection_id":187277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":762947712,"raw_latitude":99092808,"longitude_deg":76.2947712,"latitude_deg":9.9092808,"altitude":4,"angle":333,"satellites":39,"speed":33,"hex_longitude":"2d79a880","hex_latitude":"05e80948","is_valid_coordinates":true} 
[2026-09-18 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163625984001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134544240003776512,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767382599950680064,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:10] 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-09-18 08:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789701667000,"timestamp_ms":1789701667000,"timestamp_seconds":1789701667,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28838b8"} 
[2026-09-18 08:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 08:52:10] 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-09-18 08:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163625984001,"66":13048,"31":206,"87":13824,"24":33,"16":134544240003776512,"45":8767382599950680064},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 08:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163625984001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:52:11] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 08:52:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134544240003776512,"km_value":134544240003776.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767382599950680064,"description":"Unknown IO ID 45"} 
[2026-09-18 08:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163625984001,"power":13048,"unknown_31":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8767382599950680064}} 
[2026-09-18 08:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":187277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:52:11] local.INFO: GPS data processed {"connection_id":187277,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:52:11] local.INFO: Acknowledgment sent {"connection_id":187277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:52:18] local.INFO: TCP Data received {"connection_id":185982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:52:18] local.INFO: Processing buffer {"connection_id":185982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:52:18] local.INFO: IMEI packet received {"connection_id":185982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":185982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:52:23] local.INFO: TCP Data received {"connection_id":185982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:52:23] local.INFO: Processing buffer {"connection_id":185982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:52:23] local.INFO: IMEI packet received {"connection_id":185982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":185982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:52:24] local.INFO: TCP Data received {"connection_id":185982,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:52:24] local.INFO: Processing buffer {"connection_id":185982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:52:24] local.INFO: Packet analysis {"connection_id":185982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:52:24] local.INFO: Extracted packet for processing {"connection_id":185982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":185982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:52:24] local.INFO: GPS data processed {"connection_id":185982,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:52:24] local.INFO: Acknowledgment sent {"connection_id":185982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:52:28] local.INFO: TCP Data received {"connection_id":185982,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:52:28] local.INFO: Processing buffer {"connection_id":185982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:52:28] local.INFO: Packet analysis {"connection_id":185982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:52:28] local.INFO: Extracted packet for processing {"connection_id":185982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:52:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":185982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:52:28] local.INFO: GPS data processed {"connection_id":185982,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:52:28] local.INFO: Acknowledgment sent {"connection_id":185982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:52:31] local.INFO: TCP Data received {"connection_id":185798,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:52:31] local.INFO: Processing buffer {"connection_id":185798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:52:31] local.INFO: IMEI packet received {"connection_id":185798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":185798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:52:31] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:31] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:31] local.INFO: IMEI packet received {"connection_id":188596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":188596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:52:32] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:32] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:32] local.INFO: IMEI packet received {"connection_id":188596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":188596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:52:32] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:32] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:32] local.INFO: IMEI packet received {"connection_id":185803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":185803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:52:33] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:33] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:33] local.INFO: IMEI packet received {"connection_id":185803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":185803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:52:34] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:34] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:34] local.INFO: IMEI packet received {"connection_id":188596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":188596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:52:36] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:36] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:52:36] local.INFO: IMEI packet received {"connection_id":188596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":188596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:52:37] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28857f8012d799e4005e81fc80003015927..."} 
[2026-09-18 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28857f8012d799e4005e81fc80003015927..."} 
[2026-09-18 08:52:37] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28857f8012d799e4005e81fc80003015927..."} 
[2026-09-18 08:52:37] local.INFO: Packet analysis {"connection_id":188596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:52:37] local.INFO: Extracted packet for processing {"connection_id":188596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762945088,"raw_latitude":99098568,"longitude_deg":76.2945088,"latitude_deg":9.9098568,"altitude":3,"angle":345,"satellites":39,"speed":31,"hex_longitude":"2d799e40","hex_latitude":"05e81fc8","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163626752001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134544549241421824,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766397437532784640,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:37] 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-09-18 08:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701675000,"timestamp_ms":1789701675000,"timestamp_seconds":1789701675,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28857f8"} 
[2026-09-18 08:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 08:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163626752001,"66":13472,"31":206,"87":13824,"24":31,"16":134544549241421824,"45":8766397437532784640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163626752001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134544549241421824,"km_value":134544549241421.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766397437532784640,"description":"Unknown IO ID 45"} 
[2026-09-18 08:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163626752001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8766397437532784640}} 
[2026-09-18 08:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":188596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:52:37] local.INFO: GPS data processed {"connection_id":188596,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:52:37] local.INFO: Acknowledgment sent {"connection_id":188596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:52:37] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2888ac0012d7993c005e842100003015628..."} 
[2026-09-18 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2888ac0012d7993c005e842100003015628..."} 
[2026-09-18 08:52:37] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2888ac0012d7993c005e842100003015628..."} 
[2026-09-18 08:52:37] local.INFO: Packet analysis {"connection_id":188596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:52:37] local.INFO: Extracted packet for processing {"connection_id":188596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762942400,"raw_latitude":99107344,"longitude_deg":76.29424,"latitude_deg":9.9107344,"altitude":3,"angle":342,"satellites":40,"speed":28,"hex_longitude":"2d7993c0","hex_latitude":"05e84210","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163628800001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134544991623053312,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8763512319022974976,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52: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-09-18 08:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701688000,"timestamp_ms":1789701688000,"timestamp_seconds":1789701688,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2888ac0"} 
[2026-09-18 08:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 08:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163628800001,"66":13406,"30":206,"87":13824,"24":28,"16":134544991623053312,"45":8763512319022974976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-09-18 08:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163628800001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134544991623053312,"km_value":134544991623053.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8763512319022974976,"description":"Unknown IO ID 45"} 
[2026-09-18 08:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163628800001,"power":13406,"unknown_30":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8763512319022974976}} 
[2026-09-18 08:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":188596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:52:37] local.INFO: GPS data processed {"connection_id":188596,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:52:37] local.INFO: Acknowledgment sent {"connection_id":188596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:52:38] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:38] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:52:38] local.INFO: IMEI packet received {"connection_id":185803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":185803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:52:38] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2892ed0012d0e3d0007070350002a014f1a..."} 
[2026-09-18 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2892ed0012d0e3d0007070350002a014f1a..."} 
[2026-09-18 08:52:38] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2892ed0012d0e3d0007070350002a014f1a..."} 
[2026-09-18 08:52:38] local.INFO: Packet analysis {"connection_id":185803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b289"} 
[2026-09-18 08:52:38] local.INFO: Extracted packet for processing {"connection_id":185803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b289"} 
[2026-09-18 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117900112,"longitude_deg":75.590784,"latitude_deg":11.7900112,"altitude":42,"angle":335,"satellites":26,"speed":11,"hex_longitude":"2d0e3d00","hex_latitude":"07070350","is_valid_coordinates":true} 
[2026-09-18 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163642368001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32995094114074624,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057780977664,"note":"Value kept but may cause issues"} 
[2026-09-18 08:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789701730000,"timestamp_ms":1789701730000,"timestamp_seconds":1789701730,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2892ed0"} 
[2026-09-18 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 08:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163642368001,"66":14428,"219":206,"94":10240,"24":11,"16":32995094114074624,"45":1026117057780977664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163642368001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32995094114074624,"km_value":32995094114074.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057780977664,"description":"Unknown IO ID 45"} 
[2026-09-18 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163642368001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026117057780977664}} 
[2026-09-18 08:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":185803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859377,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:52:39] local.INFO: GPS data processed {"connection_id":185803,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:52:39] local.INFO: Acknowledgment sent {"connection_id":185803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:53:08] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b288d8e0012d798a0005e85de80004015228..."} 
[2026-09-18 08:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b288d8e0012d798a0005e85de80004015228..."} 
[2026-09-18 08:53:08] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b288d8e0012d798a0005e85de80004015228..."} 
[2026-09-18 08:53:08] local.INFO: Packet analysis {"connection_id":188596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:53:08] local.INFO: Extracted packet for processing {"connection_id":188596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b288"} 
[2026-09-18 08:53:08] local.INFO: GPS Element Parsed {"raw_longitude":762939904,"raw_latitude":99114472,"longitude_deg":76.2939904,"latitude_deg":9.9114472,"altitude":4,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d798a00","hex_latitude":"05e85de8","is_valid_coordinates":true} 
[2026-09-18 08:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163632128001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134545360990240768,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8760556831769759744,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789701708000,"timestamp_ms":1789701708000,"timestamp_seconds":1789701708,"priority":1,"record_length":96,"hex_timestamp":"000001a0b288d8e0"} 
[2026-09-18 08:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 08:53:08] 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-09-18 08:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163632128001,"66":13222,"202":206,"87":13824,"24":0,"16":134545360990240768,"45":8760556831769759744},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-09-18 08:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163632128001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:53:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134545360990240768,"km_value":134545360990240.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8760556831769759744,"description":"Unknown IO ID 45"} 
[2026-09-18 08:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163632128001,"power":13222,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8760556831769759744}} 
[2026-09-18 08:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":188596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:53:08] local.INFO: GPS data processed {"connection_id":188596,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:53:08] local.INFO: Acknowledgment sent {"connection_id":188596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:53:10] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28932b8012d0e3c0007070418002a01391a..."} 
[2026-09-18 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28932b8012d0e3c0007070418002a01391a..."} 
[2026-09-18 08:53:10] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28932b8012d0e3c0007070418002a01391a..."} 
[2026-09-18 08:53:10] local.INFO: Packet analysis {"connection_id":185803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b289"} 
[2026-09-18 08:53:10] local.INFO: Extracted packet for processing {"connection_id":185803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b289"} 
[2026-09-18 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":755907584,"raw_latitude":117900312,"longitude_deg":75.5907584,"latitude_deg":11.7900312,"altitude":42,"angle":313,"satellites":26,"speed":11,"hex_longitude":"2d0e3c00","hex_latitude":"07070418","is_valid_coordinates":true} 
[2026-09-18 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163642880001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32995111293943808,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292769792,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789701731000,"timestamp_ms":1789701731000,"timestamp_seconds":1789701731,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28932b8"} 
[2026-09-18 08:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163642880001,"66":13733,"219":206,"94":10240,"24":11,"16":32995111293943808,"45":1025976320292769792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 08:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163642880001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:53:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 08:53:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32995111293943808,"km_value":32995111293943.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292769792,"description":"Unknown IO ID 45"} 
[2026-09-18 08:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163642880001,"power":13733,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1025976320292769792}} 
[2026-09-18 08:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":185803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:53:10] local.INFO: GPS data processed {"connection_id":185803,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:53:10] local.INFO: Acknowledgment sent {"connection_id":185803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:53:11] local.INFO: TCP Data received {"connection_id":187279,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:53:11] local.INFO: Processing buffer {"connection_id":187279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:53:11] local.INFO: IMEI packet received {"connection_id":187279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":187279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:53:13] local.INFO: TCP Data received {"connection_id":187278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:53:13] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:53:13] local.INFO: IMEI packet received {"connection_id":187278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:53:18] local.INFO: TCP Data received {"connection_id":187278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:53:18] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:53:18] local.INFO: IMEI packet received {"connection_id":187278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":187278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:53:19] local.INFO: TCP Data received {"connection_id":187278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:53:19] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:53:19] local.INFO: Packet analysis {"connection_id":187278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:53:19] local.INFO: Extracted packet for processing {"connection_id":187278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 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-09-18 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":187278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:53:19] local.INFO: GPS data processed {"connection_id":187278,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:53:19] local.INFO: Acknowledgment sent {"connection_id":187278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:53:27] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:27] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:27] local.INFO: IMEI packet received {"connection_id":187280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":187280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:53:27] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:27] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:27] local.INFO: IMEI packet received {"connection_id":187280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":187280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:53:28] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:28] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:28] local.INFO: IMEI packet received {"connection_id":187280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":187280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:53:29] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:29] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:53:29] local.INFO: IMEI packet received {"connection_id":187280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":187280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:53:31] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:53:31] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:53:31] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:53:36] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:53:36] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:53:36] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:53:37] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28a53c8012d78e8c005e8a750000a012929..."} 
[2026-09-18 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28a53c8012d78e8c005e8a750000a012929..."} 
[2026-09-18 08:53:37] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28a53c8012d78e8c005e8a750000a012929..."} 
[2026-09-18 08:53:37] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:53:37] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762898624,"raw_latitude":99133264,"longitude_deg":76.2898624,"latitude_deg":9.9133264,"altitude":10,"angle":297,"satellites":41,"speed":7,"hex_longitude":"2d78e8c0","hex_latitude":"05e8a750","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163659008001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134547645912842240,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8721150335036602368,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701805000,"timestamp_ms":1789701805000,"timestamp_seconds":1789701805,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28a53c8"} 
[2026-09-18 08:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 08:53:37] 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-09-18 08: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-09-18 08:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163659008001,"66":13319,"203":206,"87":13824,"24":7,"16":134547645912842240,"45":8721150335036602368},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 08:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163659008001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134547645912842240,"km_value":134547645912842.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8721150335036602368,"description":"Unknown IO ID 45"} 
[2026-09-18 08:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163659008001,"power":13319,"mnc":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8721150335036602368}} 
[2026-09-18 08:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:53:37] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:53:37] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:53:51] local.INFO: TCP Data received {"connection_id":187278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:53:51] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:53:51] local.INFO: Packet analysis {"connection_id":187278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:53:51] local.INFO: Extracted packet for processing {"connection_id":187278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 08:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":187278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:53:51] local.INFO: GPS data processed {"connection_id":187278,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:53:51] local.INFO: Acknowledgment sent {"connection_id":187278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:54:08] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28a57b0012d78e80005e8a7b8000a013929..."} 
[2026-09-18 08:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28a57b0012d78e80005e8a7b8000a013929..."} 
[2026-09-18 08:54:08] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28a57b0012d78e80005e8a7b8000a013929..."} 
[2026-09-18 08:54:08] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:54:08] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762898432,"raw_latitude":99133368,"longitude_deg":76.2898432,"latitude_deg":9.9133368,"altitude":10,"angle":313,"satellites":41,"speed":7,"hex_longitude":"2d78e800","hex_latitude":"05e8a7b8","is_valid_coordinates":true} 
[2026-09-18 08:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163662080001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134547654502776832,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712424610758873088,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789701806000,"timestamp_ms":1789701806000,"timestamp_seconds":1789701806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28a57b0"} 
[2026-09-18 08:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2995364864,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2312554497,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":232,"raw_value":8338414744457193728,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768213198,"corrected_to":0} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3489738105,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407085,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900481536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57752715845850934,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-7755197263508406267,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,203,87,24,241,157,16,2,160,36,45,192,162,12,41,10,66,1,64,148,11,38,238,240,116,227,178,232,4,113,205,171,114,39,239,52,202,222,5,8,30,139,137],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":768213198,"validated":0},{"io_id":202,"original":13522742,"validated":0}]} 
[2026-09-18 08:54:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720902671426846720,"timestamp_seconds":720902671426846.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163662080001,"66":13319,"203":206,"87":13824,"24":7,"16":134547654502776832,"45":8712424610758873088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 08:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163662080001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134547654502776832,"km_value":134547654502776.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712424610758873088,"description":"Unknown IO ID 45"} 
[2026-09-18 08:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163662080001,"power":13319,"mnc":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8712424610758873088}} 
[2026-09-18 08:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:54:08] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:54:08] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:54:13] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:54:13] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:54:13] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:54:18] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:54:18] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:54:18] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:54:19] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:54:19] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:54:19] local.INFO: Packet analysis {"connection_id":188598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:54:19] local.INFO: Extracted packet for processing {"connection_id":188598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 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-09-18 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":188598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:54:19] local.INFO: GPS data processed {"connection_id":188598,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:54:19] local.INFO: Acknowledgment sent {"connection_id":188598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:54:31] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:54:31] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:54:31] local.INFO: IMEI packet received {"connection_id":185805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":185805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:54:36] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:54:36] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:54:36] local.INFO: IMEI packet received {"connection_id":185805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":185805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:54:37] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28a5b98012d78e78005e8a858000a015329..."} 
[2026-09-18 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28a5b98012d78e78005e8a858000a015329..."} 
[2026-09-18 08:54:37] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28a5b98012d78e78005e8a858000a015329..."} 
[2026-09-18 08:54:37] local.INFO: Packet analysis {"connection_id":185805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:54:37] local.INFO: Extracted packet for processing {"connection_id":185805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762898304,"raw_latitude":99133528,"longitude_deg":76.2898304,"latitude_deg":9.9133528,"altitude":10,"angle":339,"satellites":41,"speed":8,"hex_longitude":"2d78e780","hex_latitude":"05e8a858","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163662336001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134547663092711424,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712213504526366720,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701807000,"timestamp_ms":1789701807000,"timestamp_seconds":1789701807,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28a5b98"} 
[2026-09-18 08:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57752715845850934,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13446603,"corrected_to":0} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2314090497,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":8980177691356571904,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768213198,"corrected_to":0} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3355520377,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2147870859,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407085,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900653568,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-6629297356666372091,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,203,87,24,241,157,16,2,160,83,45,192,167,10,41,66,36,162,12,1,64,240,247,227,178,232,4,113,205,32,214,77,112,40,239,52,202,222,5,9,25,137],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13446603,"validated":0},{"io_id":205,"original":768213198,"validated":0},{"io_id":202,"original":13522742,"validated":0}]} 
[2026-09-18 08:54:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720920263612891136,"timestamp_seconds":720920263612891.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163662336001,"66":13319,"203":206,"87":13824,"24":8,"16":134547663092711424,"45":8712213504526366720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 08:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163662336001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134547663092711424,"km_value":134547663092711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712213504526366720,"description":"Unknown IO ID 45"} 
[2026-09-18 08:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163662336001,"power":13319,"mnc":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8712213504526366720}} 
[2026-09-18 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":185805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:54:37] local.INFO: GPS data processed {"connection_id":185805,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:54:37] local.INFO: Acknowledgment sent {"connection_id":185805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:54:50] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:54:50] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b286aa48012d34c14006aa4440000a011828..."} 
[2026-09-18 08:54:50] local.INFO: Packet analysis {"connection_id":188598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:54:50] local.INFO: Extracted packet for processing {"connection_id":188598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b286"} 
[2026-09-18 08:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701565000,"timestamp_ms":1789701565000,"timestamp_seconds":1789701565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b286aa48"} 
[2026-09-18 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-09-18 08:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 08:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163523584001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163523584001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":188598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:54:50] local.INFO: GPS data processed {"connection_id":188598,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:54:50] local.INFO: Acknowledgment sent {"connection_id":188598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:55:08] local.INFO: TCP Data received {"connection_id":185805,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28aa9b8012d78e28005e8b3c00005014f2a..."} 
[2026-09-18 08:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28aa9b8012d78e28005e8b3c00005014f2a..."} 
[2026-09-18 08:55:08] local.INFO: Processing buffer {"connection_id":185805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28aa9b8012d78e28005e8b3c00005014f2a..."} 
[2026-09-18 08:55:08] local.INFO: Packet analysis {"connection_id":185805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:55:08] local.INFO: Extracted packet for processing {"connection_id":185805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:55:08] local.INFO: GPS Element Parsed {"raw_longitude":762897024,"raw_latitude":99136448,"longitude_deg":76.2897024,"latitude_deg":9.9136448,"altitude":5,"angle":335,"satellites":42,"speed":6,"hex_longitude":"2d78e280","hex_latitude":"05e8b3c0","is_valid_coordinates":true} 
[2026-09-18 08:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163662592001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134547822006501376,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712072767038052352,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789701827000,"timestamp_ms":1789701827000,"timestamp_seconds":1789701827,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28aa9b8"} 
[2026-09-18 08:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57752715845850934,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2315370497,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":232,"raw_value":9169328880000313088,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-09-18 08:55:08] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3901452288,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-6066347403245371387,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,203,87,24,241,157,16,2,160,45,167,10,41,66,83,192,36,1,240,29,227,178,232,4,113,205,35,238,57,64,239,52,202,222,5,38,137],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":768278734,"validated":0},{"io_id":202,"original":13522742,"validated":0}]} 
[2026-09-18 08:55:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720948850915278848,"timestamp_seconds":720948850915278.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 08:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163662592001,"66":13037,"203":206,"87":13824,"24":6,"16":134547822006501376,"45":8712072767038052352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 08:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163662592001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:55:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134547822006501376,"km_value":134547822006501.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712072767038052352,"description":"Unknown IO ID 45"} 
[2026-09-18 08:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163662592001,"power":13037,"mnc":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8712072767038052352}} 
[2026-09-18 08:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":185805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:55:08] local.INFO: GPS data processed {"connection_id":185805,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:55:08] local.INFO: Acknowledgment sent {"connection_id":185805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:55:14] local.INFO: TCP Data received {"connection_id":185983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:55:14] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:55:14] local.INFO: IMEI packet received {"connection_id":185983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":185983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:55:18] local.INFO: TCP Data received {"connection_id":185983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:55:18] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:55:18] local.INFO: IMEI packet received {"connection_id":185983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":185983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:55:20] local.INFO: TCP Data received {"connection_id":185983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:55:20] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:55:20] local.INFO: Packet analysis {"connection_id":185983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:55:20] local.INFO: Extracted packet for processing {"connection_id":185983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":185983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:55:20] local.INFO: GPS data processed {"connection_id":185983,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:55:20] local.INFO: Acknowledgment sent {"connection_id":185983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:55:31] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:55:31] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:55:31] local.INFO: IMEI packet received {"connection_id":187282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":187282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:55:36] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:55:36] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:55:36] local.INFO: IMEI packet received {"connection_id":187282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":187282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:55:37] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28ae068012d78db8005e8ca200005015b2a..."} 
[2026-09-18 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28ae068012d78db8005e8ca200005015b2a..."} 
[2026-09-18 08:55:37] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28ae068012d78db8005e8ca200005015b2a..."} 
[2026-09-18 08:55:37] local.INFO: Packet analysis {"connection_id":187282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:55:37] local.INFO: Extracted packet for processing {"connection_id":187282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28a"} 
[2026-09-18 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":762895232,"raw_latitude":99142176,"longitude_deg":76.2895232,"latitude_deg":9.9142176,"altitude":5,"angle":347,"satellites":42,"speed":9,"hex_longitude":"2d78db80","hex_latitude":"05e8ca20","is_valid_coordinates":true} 
[2026-09-18 08:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163667712001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134548114064277504,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710665392155246592,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789701841000,"timestamp_ms":1789701841000,"timestamp_seconds":1789701841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28ae068"} 
[2026-09-18 08:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-18 08:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163667712001,"66":12961,"203":206,"87":13824,"24":9,"16":134548114064277504,"45":8710665392155246592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 08:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163667712001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:55:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134548114064277504,"km_value":134548114064277.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710665392155246592,"description":"Unknown IO ID 45"} 
[2026-09-18 08:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163667712001,"power":12961,"mnc":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8710665392155246592}} 
[2026-09-18 08:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":187282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:55:37] local.INFO: GPS data processed {"connection_id":187282,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:55:37] local.INFO: Acknowledgment sent {"connection_id":187282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:55:52] local.INFO: TCP Data received {"connection_id":185983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:55:52] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:55:52] local.INFO: Packet analysis {"connection_id":185983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:55:52] local.INFO: Extracted packet for processing {"connection_id":185983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08: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-09-18 08:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08: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-09-18 08:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":185983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:55:52] local.INFO: GPS data processed {"connection_id":185983,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:55:52] local.INFO: Acknowledgment sent {"connection_id":185983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:56:08] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28c3058012d78c78005e8fa58000600342a..."} 
[2026-09-18 08:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28c3058012d78c78005e8fa58000600342a..."} 
[2026-09-18 08:56:08] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28c3058012d78c78005e8fa58000600342a..."} 
[2026-09-18 08:56:08] local.INFO: Packet analysis {"connection_id":187282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28c"} 
[2026-09-18 08:56:08] local.INFO: Extracted packet for processing {"connection_id":187282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28c"} 
[2026-09-18 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":762890112,"raw_latitude":99154520,"longitude_deg":76.2890112,"latitude_deg":9.915452,"altitude":6,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d78c780","hex_latitude":"05e8fa58","is_valid_coordinates":true} 
[2026-09-18 08:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134548788374142976,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703065567788685312,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789701927000,"timestamp_ms":1789701927000,"timestamp_seconds":1789701927,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28c3058"} 
[2026-09-18 08:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 08:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163690752001,"66":13222,"132":206,"87":13824,"24":0,"16":134548788374142976,"45":8703065567788685312},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 08:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:56:08] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 08:56:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134548788374142976,"km_value":134548788374142.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703065567788685312,"description":"Unknown IO ID 45"} 
[2026-09-18 08:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163690752001,"power":13222,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8703065567788685312}} 
[2026-09-18 08:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":187282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:56:08] local.INFO: GPS data processed {"connection_id":187282,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:56:08] local.INFO: Acknowledgment sent {"connection_id":187282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:56:12] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:56:12] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:56:12] local.INFO: IMEI packet received {"connection_id":188599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":188599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:56:18] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:56:18] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:56:18] local.INFO: IMEI packet received {"connection_id":188599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":188599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:56:19] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:56:19] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:56:19] local.INFO: Packet analysis {"connection_id":188599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:56:19] local.INFO: Extracted packet for processing {"connection_id":188599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":188599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:56:19] local.INFO: GPS data processed {"connection_id":188599,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:56:19] local.INFO: Acknowledgment sent {"connection_id":188599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:56:32] local.INFO: TCP Data received {"connection_id":185985,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:32] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:32] local.INFO: IMEI packet received {"connection_id":185985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":185985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:56:34] local.INFO: TCP Data received {"connection_id":185985,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:34] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:34] local.INFO: IMEI packet received {"connection_id":185985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":185985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:56:36] local.INFO: TCP Data received {"connection_id":185985,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:36] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:36] local.INFO: IMEI packet received {"connection_id":185985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":185985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:56:41] local.INFO: TCP Data received {"connection_id":185985,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:41] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:56:41] local.INFO: IMEI packet received {"connection_id":185985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":185985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:56:42] local.INFO: TCP Data received {"connection_id":185985,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28c7a90012d78ca8005e8fb30000800442b..."} 
[2026-09-18 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28c7a90012d78ca8005e8fb30000800442b..."} 
[2026-09-18 08:56:42] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28c7a90012d78ca8005e8fb30000800442b..."} 
[2026-09-18 08:56:42] local.INFO: Packet analysis {"connection_id":185985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28c"} 
[2026-09-18 08:56:42] local.INFO: Extracted packet for processing {"connection_id":185985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28c"} 
[2026-09-18 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":762890880,"raw_latitude":99154736,"longitude_deg":76.289088,"latitude_deg":9.9154736,"altitude":8,"angle":68,"satellites":43,"speed":12,"hex_longitude":"2d78ca80","hex_latitude":"05e8fb30","is_valid_coordinates":true} 
[2026-09-18 08:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163693312001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134548827028848640,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703065567788685312,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789701946000,"timestamp_ms":1789701946000,"timestamp_seconds":1789701946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28c7a90"} 
[2026-09-18 08:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 08:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163693312001,"66":13276,"132":206,"87":13824,"24":12,"16":134548827028848640,"45":8703065567788685312},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 08:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163693312001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:56:42] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 08:56:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134548827028848640,"km_value":134548827028848.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703065567788685312,"description":"Unknown IO ID 45"} 
[2026-09-18 08:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163693312001,"power":13276,"unknown_132":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8703065567788685312}} 
[2026-09-18 08:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":185985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:56:42] local.INFO: GPS data processed {"connection_id":185985,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:56:42] local.INFO: Acknowledgment sent {"connection_id":185985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:56:50] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:56:50] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:56:50] local.INFO: Packet analysis {"connection_id":188599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:56:50] local.INFO: Extracted packet for processing {"connection_id":188599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":188599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:56:50] local.INFO: GPS data processed {"connection_id":188599,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:56:50] local.INFO: Acknowledgment sent {"connection_id":188599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:57:12] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:57:12] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:57:12] local.INFO: IMEI packet received {"connection_id":185986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":185986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:57:14] local.INFO: TCP Data received {"connection_id":185985,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28cc8b0012d78e78005e90608000900432a..."} 
[2026-09-18 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28cc8b0012d78e78005e90608000900432a..."} 
[2026-09-18 08:57:14] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28cc8b0012d78e78005e90608000900432a..."} 
[2026-09-18 08:57:14] local.INFO: Packet analysis {"connection_id":185985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28c"} 
[2026-09-18 08:57:14] local.INFO: Extracted packet for processing {"connection_id":185985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28c"} 
[2026-09-18 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":762898304,"raw_latitude":99157512,"longitude_deg":76.2898304,"latitude_deg":9.9157512,"altitude":9,"angle":67,"satellites":42,"speed":23,"hex_longitude":"2d78e780","hex_latitude":"05e90608","is_valid_coordinates":true} 
[2026-09-18 08:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163698176001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134549209280937984,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703909992718872576,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789701966000,"timestamp_ms":1789701966000,"timestamp_seconds":1789701966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28cc8b0"} 
[2026-09-18 08:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 08:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 08:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 08:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 08:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163698176001,"66":13319,"132":206,"87":13824,"24":23,"16":134549209280937984,"45":8703909992718872576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 08:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 08:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163698176001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 08:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134549209280937984,"km_value":134549209280937.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703909992718872576,"description":"Unknown IO ID 45"} 
[2026-09-18 08:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163698176001,"power":13319,"unknown_132":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8703909992718872576}} 
[2026-09-18 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":185985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:57:14] local.INFO: GPS data processed {"connection_id":185985,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:57:14] local.INFO: Acknowledgment sent {"connection_id":185985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:57:18] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:57:18] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:57:18] local.INFO: IMEI packet received {"connection_id":185986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":185986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:57:19] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:57:19] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:57:19] local.INFO: Packet analysis {"connection_id":185986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:57:19] local.INFO: Extracted packet for processing {"connection_id":185986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":185986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:57:19] local.INFO: GPS data processed {"connection_id":185986,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:57:19] local.INFO: Acknowledgment sent {"connection_id":185986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:57:28] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:28] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:28] local.INFO: IMEI packet received {"connection_id":185988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 08:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":185988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:57:29] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:29] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:29] local.INFO: IMEI packet received {"connection_id":185988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":185988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:57:31] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:31] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:31] local.INFO: IMEI packet received {"connection_id":185988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":185988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:57:32] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:32] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 08:57:32] local.INFO: IMEI packet received {"connection_id":185988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 08:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":185988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:57:50] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:57:50] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:57:50] local.INFO: Packet analysis {"connection_id":185986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:57:50] local.INFO: Extracted packet for processing {"connection_id":185986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 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-09-18 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":185986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:57:50] local.INFO: GPS data processed {"connection_id":185986,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:57:50] local.INFO: Acknowledgment sent {"connection_id":185986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:58:18] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:58:18] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:58:18] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:58:23] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:58:23] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:58:23] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:58:24] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:58:24] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:58:24] local.INFO: Packet analysis {"connection_id":188600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:58:24] local.INFO: Extracted packet for processing {"connection_id":188600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":188600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:58:24] local.INFO: GPS data processed {"connection_id":188600,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:58:24] local.INFO: Acknowledgment sent {"connection_id":188600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:58:26] local.INFO: TCP Data received {"connection_id":185806,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:58:26] local.INFO: Processing buffer {"connection_id":185806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 08:58:26] local.INFO: IMEI packet received {"connection_id":185806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":185806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:58:28] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:58:28] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:58:28] local.INFO: Packet analysis {"connection_id":188600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:58:28] local.INFO: Extracted packet for processing {"connection_id":188600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 08:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:58:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:58:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":188600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:58:28] local.INFO: GPS data processed {"connection_id":188600,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:58:28] local.INFO: Acknowledgment sent {"connection_id":188600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:58:31] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:31] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:31] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:58:33] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:33] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:33] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:58:38] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:38] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:58:38] local.INFO: IMEI packet received {"connection_id":185808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":185808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:58:39] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28ed420012d0bb48007071c28001300c11b..."} 
[2026-09-18 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28ed420012d0bb48007071c28001300c11b..."} 
[2026-09-18 08:58:39] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28ed420012d0bb48007071c28001300c11b..."} 
[2026-09-18 08:58:39] local.INFO: Packet analysis {"connection_id":185808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28e"} 
[2026-09-18 08:58:39] local.INFO: Extracted packet for processing {"connection_id":185808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28e"} 
[2026-09-18 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117906472,"longitude_deg":75.5741824,"latitude_deg":11.7906472,"altitude":19,"angle":193,"satellites":27,"speed":21,"hex_longitude":"2d0bb480","hex_latitude":"07071c28","is_valid_coordinates":true} 
[2026-09-18 08:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163736576001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33004985423757312,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954177308672,"note":"Value kept but may cause issues"} 
[2026-09-18 08:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789702100000,"timestamp_ms":1789702100000,"timestamp_seconds":1789702100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28ed420"} 
[2026-09-18 08:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 08:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163736576001,"66":14428,"221":206,"94":10240,"24":21,"16":33004985423757312,"45":843087954177308672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 08:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163736576001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:58:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 08:58:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33004985423757312,"km_value":33004985423757.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954177308672,"description":"Unknown IO ID 45"} 
[2026-09-18 08:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163736576001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":843087954177308672}} 
[2026-09-18 08:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":185808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:58:39] local.INFO: GPS data processed {"connection_id":185808,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:58:39] local.INFO: Acknowledgment sent {"connection_id":185808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:59:10] local.INFO: TCP Data received {"connection_id":185808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28ed808012d0bb3c007071a68001300ce1b..."} 
[2026-09-18 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28ed808012d0bb3c007071a68001300ce1b..."} 
[2026-09-18 08:59:10] local.INFO: Processing buffer {"connection_id":185808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28ed808012d0bb3c007071a68001300ce1b..."} 
[2026-09-18 08:59:10] local.INFO: Packet analysis {"connection_id":185808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28e"} 
[2026-09-18 08:59:10] local.INFO: Extracted packet for processing {"connection_id":185808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28e"} 
[2026-09-18 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":755741632,"raw_latitude":117906024,"longitude_deg":75.5741632,"latitude_deg":11.7906024,"altitude":19,"angle":206,"satellites":27,"speed":19,"hex_longitude":"2d0bb3c0","hex_latitude":"07071a68","is_valid_coordinates":true} 
[2026-09-18 08:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163737600001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33005006898593792,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797897537536,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789702101000,"timestamp_ms":1789702101000,"timestamp_seconds":1789702101,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28ed808"} 
[2026-09-18 08:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 08:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163737600001,"66":14548,"221":206,"94":10240,"24":19,"16":33005006898593792,"45":843439797897537536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 08:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163737600001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 08:59:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33005006898593792,"km_value":33005006898593.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797897537536,"description":"Unknown IO ID 45"} 
[2026-09-18 08:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163737600001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":843439797897537536}} 
[2026-09-18 08:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":185808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859401,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:59:10] local.INFO: GPS data processed {"connection_id":185808,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:59:10] local.INFO: Acknowledgment sent {"connection_id":185808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:59:13] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:59:13] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:59:13] local.INFO: IMEI packet received {"connection_id":187283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 08:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:59:18] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:59:18] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 08:59:18] local.INFO: IMEI packet received {"connection_id":187283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 08:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":187283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:59:19] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:59:19] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:59:19] local.INFO: Packet analysis {"connection_id":187283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:59:19] local.INFO: Extracted packet for processing {"connection_id":187283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 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-09-18 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":187283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:59:19] local.INFO: GPS data processed {"connection_id":187283,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:59:19] local.INFO: Acknowledgment sent {"connection_id":187283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:59:28] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:59:28] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:59:28] local.INFO: IMEI packet received {"connection_id":187284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 08:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":187284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 08:59:33] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:59:33] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 08:59:33] local.INFO: IMEI packet received {"connection_id":187284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 08:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":187284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 08:59:34] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28edbf0012d0bb20007071938001400e01a..."} 
[2026-09-18 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28edbf0012d0bb20007071938001400e01a..."} 
[2026-09-18 08:59:34] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28edbf0012d0bb20007071938001400e01a..."} 
[2026-09-18 08:59:34] local.INFO: Packet analysis {"connection_id":187284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28e"} 
[2026-09-18 08:59:34] local.INFO: Extracted packet for processing {"connection_id":187284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28e"} 
[2026-09-18 08:59:34] local.INFO: GPS Element Parsed {"raw_longitude":755741184,"raw_latitude":117905720,"longitude_deg":75.5741184,"latitude_deg":11.790572,"altitude":20,"angle":224,"satellites":26,"speed":20,"hex_longitude":"2d0bb200","hex_latitude":"07071938","is_valid_coordinates":true} 
[2026-09-18 08:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 08:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163737856001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33005032668397568,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843228691664889856,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702102000,"timestamp_ms":1789702102000,"timestamp_seconds":1789702102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28edbf0"} 
[2026-09-18 08:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 08:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 08:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 08:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 08:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 08:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 08:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 08:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 08:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163737856001,"66":14396,"221":206,"94":10240,"24":20,"16":33005032668397568,"45":843228691664889856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 08:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 08:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 08:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163737856001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:59:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 08:59:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 08:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33005032668397568,"km_value":33005032668397.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":843228691664889856,"description":"Unknown IO ID 45"} 
[2026-09-18 08:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163737856001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":843228691664889856}} 
[2026-09-18 08:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":187284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:59:34] local.INFO: GPS data processed {"connection_id":187284,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:59:34] local.INFO: Acknowledgment sent {"connection_id":187284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 08:59:50] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:59:50] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28b4210012d34c14006aa4440000a011828..."} 
[2026-09-18 08:59:50] local.INFO: Packet analysis {"connection_id":187283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:59:50] local.INFO: Extracted packet for processing {"connection_id":187283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28b"} 
[2026-09-18 08:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 08:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163600640001,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 08:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 08:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789701866000,"timestamp_ms":1789701866000,"timestamp_seconds":1789701866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28b4210"} 
[2026-09-18 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-09-18 08:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 08:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 08:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 08:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 08:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 08:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 08:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 08:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 08:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163600640001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 08:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 08:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 08:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163600640001,"description":"Unknown IO ID 0"} 
[2026-09-18 08:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 08:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 08:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 08:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 08:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163600640001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 08:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":187283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 08:59:50] local.INFO: GPS data processed {"connection_id":187283,"processed":1,"errors":0,"total":1} 
[2026-09-18 08:59:50] local.INFO: Acknowledgment sent {"connection_id":187283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:00:05] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29052f0012d0af10007067190000d00db1c..."} 
[2026-09-18 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29052f0012d0af10007067190000d00db1c..."} 
[2026-09-18 09:00:05] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29052f0012d0af10007067190000d00db1c..."} 
[2026-09-18 09:00:05] local.INFO: Packet analysis {"connection_id":187284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:00:05] local.INFO: Extracted packet for processing {"connection_id":187284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":755691776,"raw_latitude":117862800,"longitude_deg":75.5691776,"latitude_deg":11.78628,"altitude":13,"angle":219,"satellites":28,"speed":6,"hex_longitude":"2d0af100","hex_latitude":"07067190","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163757568001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33008434282496000,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789889183567400960,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702198000,"timestamp_ms":1789702198000,"timestamp_seconds":1789702198,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29052f0"} 
[2026-09-18 09:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163757568001,"66":14450,"163":206,"94":10240,"24":6,"16":33008434282496000,"45":789889183567400960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 09:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163757568001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:00:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 09:00:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33008434282496000,"km_value":33008434282496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":789889183567400960,"description":"Unknown IO ID 45"} 
[2026-09-18 09:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163757568001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":789889183567400960}} 
[2026-09-18 09:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":187284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:00:05] local.INFO: GPS data processed {"connection_id":187284,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:00:05] local.INFO: Acknowledgment sent {"connection_id":187284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:00:12] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:00:12] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:00:12] local.INFO: IMEI packet received {"connection_id":185809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":185809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:00:18] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:00:18] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:00:18] local.INFO: IMEI packet received {"connection_id":185809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":185809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:00:19] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:00:19] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:00:19] local.INFO: Packet analysis {"connection_id":185809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:00:19] local.INFO: Extracted packet for processing {"connection_id":185809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 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-09-18 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":185809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:00:19] local.INFO: GPS data processed {"connection_id":185809,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:00:19] local.INFO: Acknowledgment sent {"connection_id":185809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:00:28] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:00:28] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:00:28] local.INFO: IMEI packet received {"connection_id":185810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":185810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:00:32] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:00:32] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:00:32] local.INFO: IMEI packet received {"connection_id":185810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":185810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:00:33] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2905ac0012d0af04007067080000d00c61c..."} 
[2026-09-18 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2905ac0012d0af04007067080000d00c61c..."} 
[2026-09-18 09:00:33] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2905ac0012d0af04007067080000d00c61c..."} 
[2026-09-18 09:00:33] local.INFO: Packet analysis {"connection_id":185810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:00:33] local.INFO: Extracted packet for processing {"connection_id":185810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":755691584,"raw_latitude":117862528,"longitude_deg":75.5691584,"latitude_deg":11.7862528,"altitude":13,"angle":198,"satellites":28,"speed":5,"hex_longitude":"2d0af040","hex_latitude":"07067080","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163762688001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33008451462365184,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788411439939424256,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789702200000,"timestamp_ms":1789702200000,"timestamp_seconds":1789702200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2905ac0"} 
[2026-09-18 09:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:00: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-09-18 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 09:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163762688001,"66":14515,"163":206,"94":10240,"24":5,"16":33008451462365184,"45":788411439939424256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163762688001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:00:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 09:00:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33008451462365184,"km_value":33008451462365.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":788411439939424256,"description":"Unknown IO ID 45"} 
[2026-09-18 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163762688001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":788411439939424256}} 
[2026-09-18 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":185810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:00:33] local.INFO: GPS data processed {"connection_id":185810,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:00:33] local.INFO: Acknowledgment sent {"connection_id":185810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:00:50] local.INFO: TCP Data received {"connection_id":185809,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:00:50] local.INFO: Processing buffer {"connection_id":185809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:00:50] local.INFO: Packet analysis {"connection_id":185809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:00:50] local.INFO: Extracted packet for processing {"connection_id":185809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 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-09-18 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:00:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":185809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:00:50] local.INFO: GPS data processed {"connection_id":185809,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:00:50] local.INFO: Acknowledgment sent {"connection_id":185809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:01:04] local.INFO: TCP Data received {"connection_id":185810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2906290012d0af00007066f48000d00ae1c..."} 
[2026-09-18 09:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2906290012d0af00007066f48000d00ae1c..."} 
[2026-09-18 09:01:04] local.INFO: Processing buffer {"connection_id":185810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2906290012d0af00007066f48000d00ae1c..."} 
[2026-09-18 09:01:04] local.INFO: Packet analysis {"connection_id":185810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:01:04] local.INFO: Extracted packet for processing {"connection_id":185810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:01:04] local.INFO: GPS Element Parsed {"raw_longitude":755691520,"raw_latitude":117862216,"longitude_deg":75.569152,"latitude_deg":11.7862216,"altitude":13,"angle":174,"satellites":28,"speed":6,"hex_longitude":"2d0af000","hex_latitude":"07066f48","is_valid_coordinates":true} 
[2026-09-18 09:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163763200001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33008464347267072,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788200333706821632,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789702202000,"timestamp_ms":1789702202000,"timestamp_seconds":1789702202,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2906290"} 
[2026-09-18 09:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:01: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-09-18 09:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 09:01:04] 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-09-18 09:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163763200001,"66":14537,"163":206,"94":10240,"24":6,"16":33008464347267072,"45":788200333706821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 09:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163763200001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:01:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 09:01:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33008464347267072,"km_value":33008464347267.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":788200333706821632,"description":"Unknown IO ID 45"} 
[2026-09-18 09:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163763200001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":788200333706821632}} 
[2026-09-18 09:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":185810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:01:05] local.INFO: GPS data processed {"connection_id":185810,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:01:05] local.INFO: Acknowledgment sent {"connection_id":185810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:01:12] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:01:12] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:01:12] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:01:18] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:01:18] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:01:18] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:01:19] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:01:19] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:01:19] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:01:19] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 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-09-18 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:01:19] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:01:19] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:01:28] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:01:28] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:01:28] local.INFO: IMEI packet received {"connection_id":185989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":185989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:01:33] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:01:33] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:01:33] local.INFO: IMEI packet received {"connection_id":185989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":185989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:01:33] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2907de8012d0af340070663c8000d00a01d..."} 
[2026-09-18 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2907de8012d0af340070663c8000d00a01d..."} 
[2026-09-18 09:01:33] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2907de8012d0af340070663c8000d00a01d..."} 
[2026-09-18 09:01:33] local.INFO: Packet analysis {"connection_id":185989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:01:33] local.INFO: Extracted packet for processing {"connection_id":185989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":755692352,"raw_latitude":117859272,"longitude_deg":75.5692352,"latitude_deg":11.7859272,"altitude":13,"angle":160,"satellites":29,"speed":27,"hex_longitude":"2d0af340","hex_latitude":"070663c8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163763712001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33008614671122432,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788129964962564096,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789702209000,"timestamp_ms":1789702209000,"timestamp_seconds":1789702209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2907de8"} 
[2026-09-18 09:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:01: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-09-18 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163763712001,"66":14428,"163":206,"94":10240,"24":27,"16":33008614671122432,"45":788129964962564096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 09:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163763712001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:01:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 09:01:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33008614671122432,"km_value":33008614671122.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":788129964962564096,"description":"Unknown IO ID 45"} 
[2026-09-18 09:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163763712001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":788129964962564096}} 
[2026-09-18 09:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":185989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:01:34] local.INFO: GPS data processed {"connection_id":185989,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:01:34] local.INFO: Acknowledgment sent {"connection_id":185989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:01:50] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:01:50] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:01:50] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:01:50] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 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-09-18 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:01:50] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:01:50] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:02:05] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2909d28012d0affc007064b38000f00931c..."} 
[2026-09-18 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2909d28012d0affc007064b38000f00931c..."} 
[2026-09-18 09:02:05] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2909d28012d0affc007064b38000f00931c..."} 
[2026-09-18 09:02:05] local.INFO: Packet analysis {"connection_id":185989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:02:05] local.INFO: Extracted packet for processing {"connection_id":185989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b290"} 
[2026-09-18 09:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755695552,"raw_latitude":117852984,"longitude_deg":75.5695552,"latitude_deg":11.7852984,"altitude":15,"angle":147,"satellites":28,"speed":32,"hex_longitude":"2d0affc0","hex_latitude":"07064b38","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163765504001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33008958268506112,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789044758636120064,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702217000,"timestamp_ms":1789702217000,"timestamp_seconds":1789702217,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2909d28"} 
[2026-09-18 09:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:02: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-09-18 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:02: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-09-18 09: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-09-18 09:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163765504001,"66":14439,"163":206,"94":10240,"24":32,"16":33008958268506112,"45":789044758636120064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 09:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163765504001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:02:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 09:02:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33008958268506112,"km_value":33008958268506.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":789044758636120064,"description":"Unknown IO ID 45"} 
[2026-09-18 09:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163765504001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":789044758636120064}} 
[2026-09-18 09:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":185989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:02:05] local.INFO: GPS data processed {"connection_id":185989,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:02:05] local.INFO: Acknowledgment sent {"connection_id":185989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:02:18] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:02:18] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:02:18] local.INFO: IMEI packet received {"connection_id":185811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":185811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:02:23] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:02:23] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:02:23] local.INFO: IMEI packet received {"connection_id":185811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":185811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:02:24] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:02:24] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:02:24] local.INFO: Packet analysis {"connection_id":185811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:02:24] local.INFO: Extracted packet for processing {"connection_id":185811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 09:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 09:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":185811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:02:24] local.INFO: GPS data processed {"connection_id":185811,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:02:24] local.INFO: Acknowledgment sent {"connection_id":185811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:02:28] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:02:28] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:02:28] local.INFO: IMEI packet received {"connection_id":187286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":187286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:02:28] local.INFO: TCP Data received {"connection_id":185811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:02:28] local.INFO: Processing buffer {"connection_id":185811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:02:28] local.INFO: Packet analysis {"connection_id":185811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:02:28] local.INFO: Extracted packet for processing {"connection_id":185811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:02:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 09:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 09:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:02:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:02:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":185811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:02:28] local.INFO: GPS data processed {"connection_id":185811,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:02:28] local.INFO: Acknowledgment sent {"connection_id":185811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:02:33] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:02:33] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:02:33] local.INFO: IMEI packet received {"connection_id":187286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":187286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:02:34] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2924308012d0b544007060c880014000b1b..."} 
[2026-09-18 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2924308012d0b544007060c880014000b1b..."} 
[2026-09-18 09:02:34] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2924308012d0b544007060c880014000b1b..."} 
[2026-09-18 09:02:34] local.INFO: Packet analysis {"connection_id":187286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b292"} 
[2026-09-18 09:02:34] local.INFO: Extracted packet for processing {"connection_id":187286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b292"} 
[2026-09-18 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836936,"longitude_deg":75.5717184,"latitude_deg":11.7836936,"altitude":20,"angle":11,"satellites":27,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060c88","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163789824001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33010525931569152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371335680,"note":"Value kept but may cause issues"} 
[2026-09-18 09:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702325000,"timestamp_ms":1789702325000,"timestamp_seconds":1789702325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2924308"} 
[2026-09-18 09:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:02: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-09-18 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163789824001,"66":14407,"165":206,"94":10240,"24":0,"16":33010525931569152,"45":816347831371335680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163789824001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:02:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:02:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33010525931569152,"km_value":33010525931569.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371335680,"description":"Unknown IO ID 45"} 
[2026-09-18 09:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163789824001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816347831371335680}} 
[2026-09-18 09:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":187286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:02:34] local.INFO: GPS data processed {"connection_id":187286,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:02:34] local.INFO: Acknowledgment sent {"connection_id":187286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:02:36] local.INFO: TCP Data received {"connection_id":185991,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:02:36] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:02:36] local.INFO: IMEI packet received {"connection_id":185991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":185991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:02:43] local.INFO: TCP Data received {"connection_id":185991,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:02:43] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:02:43] local.INFO: IMEI packet received {"connection_id":185991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":185991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:03:02] local.INFO: TCP Data received {"connection_id":185991,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2921bf8012d78834005e9c5d8000a004d2a..."} 
[2026-09-18 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2921bf8012d78834005e9c5d8000a004d2a..."} 
[2026-09-18 09:03:02] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2921bf8012d78834005e9c5d8000a004d2a..."} 
[2026-09-18 09:03:02] local.INFO: Packet analysis {"connection_id":185991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b292"} 
[2026-09-18 09:03:02] local.INFO: Extracted packet for processing {"connection_id":185991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b292"} 
[2026-09-18 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":762872640,"raw_latitude":99206616,"longitude_deg":76.287264,"latitude_deg":9.9206616,"altitude":10,"angle":77,"satellites":42,"speed":12,"hex_longitude":"2d788340","hex_latitude":"05e9c5d8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163792384001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134552954492420096,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683573425664782336,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789702315000,"timestamp_ms":1789702315000,"timestamp_seconds":1789702315,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2921bf8"} 
[2026-09-18 09:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:02] 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-09-18 09: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-09-18 09:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163792384001,"66":13406,"180":206,"87":12288,"24":12,"16":134552954492420096,"45":8683573425664782336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,87,24,16,45]} 
[2026-09-18 09:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163792384001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:02] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-18 09:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 09:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134552954492420096,"km_value":134552954492420.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683573425664782336,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163792384001,"power":13406,"unknown_180":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8683573425664782336}} 
[2026-09-18 09:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":185991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:02] local.INFO: GPS data processed {"connection_id":185991,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:02] local.INFO: Acknowledgment sent {"connection_id":185991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:05] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2926248012d0b53c007060c98001400d01a..."} 
[2026-09-18 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2926248012d0b53c007060c98001400d01a..."} 
[2026-09-18 09:03:05] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2926248012d0b53c007060c98001400d01a..."} 
[2026-09-18 09:03:05] local.INFO: Packet analysis {"connection_id":187286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b292"} 
[2026-09-18 09:03:05] local.INFO: Extracted packet for processing {"connection_id":187286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b292"} 
[2026-09-18 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836952,"longitude_deg":75.5717056,"latitude_deg":11.7836952,"altitude":20,"angle":208,"satellites":26,"speed":1,"hex_longitude":"2d0b53c0","hex_latitude":"07060c98","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163795200001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33010530226536448,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371335680,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702333000,"timestamp_ms":1789702333000,"timestamp_seconds":1789702333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2926248"} 
[2026-09-18 09:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03: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-09-18 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163795200001,"66":13656,"165":206,"94":10240,"24":1,"16":33010530226536448,"45":816347831371335680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163795200001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:03:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33010530226536448,"km_value":33010530226536.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371335680,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163795200001,"power":13656,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816347831371335680}} 
[2026-09-18 09:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":187286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:05] local.INFO: GPS data processed {"connection_id":187286,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:05] local.INFO: Acknowledgment sent {"connection_id":187286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:13] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:03:13] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:03:13] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:03:18] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:03:18] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:03:18] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:03:19] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:03:19] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:03:19] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:03:19] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 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-09-18 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:19] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:19] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:31] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:31] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:31] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:03:31] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:03:31] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:03:31] local.INFO: IMEI packet received {"connection_id":185992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":185992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:03:33] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:33] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:33] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:03:34] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:34] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:03:34] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:03:34] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0b2..."} 
[2026-09-18 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0b2..."} 
[2026-09-18 09:03:34] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0b2..."} 
[2026-09-18 09:03:34] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:03:35] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29396e0012d0b2a4007061370001301131c..."} 
[2026-09-18 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29396e0012d0b2a4007061370001301131c..."} 
[2026-09-18 09:03:35] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b2938b28012d0b2e40070611500013012c1c..."} 
[2026-09-18 09:03:35] local.INFO: Packet analysis {"connection_id":188604,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:35] local.INFO: Extracted packet for processing {"connection_id":188604,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755707456,"raw_latitude":117838160,"longitude_deg":75.5707456,"latitude_deg":11.783816,"altitude":19,"angle":300,"satellites":28,"speed":27,"hex_longitude":"2d0b2e40","hex_latitude":"07061150","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163812864001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33011187356532736,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814166400300902400,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789702409000,"timestamp_ms":1789702409000,"timestamp_seconds":1789702409,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2938b28"} 
[2026-09-18 09:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03: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-09-18 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163812864001,"66":14374,"165":206,"94":10240,"24":27,"16":33011187356532736,"45":814166400300902400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163812864001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33011187356532736,"km_value":33011187356532.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":814166400300902400,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163812864001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":814166400300902400}} 
[2026-09-18 09:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":188604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:35] local.INFO: GPS data processed {"connection_id":188604,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:35] local.INFO: Acknowledgment sent {"connection_id":188604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:35] local.INFO: Packet analysis {"connection_id":188604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:35] local.INFO: Extracted packet for processing {"connection_id":188604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755706432,"raw_latitude":117838704,"longitude_deg":75.5706432,"latitude_deg":11.7838704,"altitude":19,"angle":275,"satellites":28,"speed":9,"hex_longitude":"2d0b2a40","hex_latitude":"07061370","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163816704001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33011247486074880,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805651782256644096,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789702412000,"timestamp_ms":1789702412000,"timestamp_seconds":1789702412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29396e0"} 
[2026-09-18 09:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03: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-09-18 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:03: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-09-18 09: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-09-18 09:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163816704001,"66":14396,"165":206,"94":10240,"24":9,"16":33011247486074880,"45":805651782256644096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163816704001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33011247486074880,"km_value":33011247486074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":805651782256644096,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163816704001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":805651782256644096}} 
[2026-09-18 09:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":188604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:36] local.INFO: GPS data processed {"connection_id":188604,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:36] local.INFO: Acknowledgment sent {"connection_id":188604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:36] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2939ac8012d0b294007061338001300f31b..."} 
[2026-09-18 09:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2939ac8012d0b294007061338001300f31b..."} 
[2026-09-18 09:03:36] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2939ac8012d0b294007061338001300f31b..."} 
[2026-09-18 09:03:36] local.INFO: Packet analysis {"connection_id":188604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:36] local.INFO: Extracted packet for processing {"connection_id":188604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:36] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838648,"longitude_deg":75.5706176,"latitude_deg":11.7838648,"altitude":19,"angle":243,"satellites":27,"speed":8,"hex_longitude":"2d0b2940","hex_latitude":"07061338","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163817472001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33011256076009472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804525882349940736,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789702413000,"timestamp_ms":1789702413000,"timestamp_seconds":1789702413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2939ac8"} 
[2026-09-18 09:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03: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-09-18 09: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":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163817472001,"66":14396,"165":206,"94":10240,"24":8,"16":33011256076009472,"45":804525882349940736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163817472001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:03:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33011256076009472,"km_value":33011256076009.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":804525882349940736,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163817472001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":804525882349940736}} 
[2026-09-18 09:03:36] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:03:36] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:03:36] local.INFO: IMEI packet received {"connection_id":185992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":185992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":188604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:36] local.INFO: GPS data processed {"connection_id":188604,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:36] local.INFO: Acknowledgment sent {"connection_id":188604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:37] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29321b0012d78e88005e9a6b00000007628..."} 
[2026-09-18 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29321b0012d78e88005e9a6b00000007628..."} 
[2026-09-18 09:03:37] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29321b0012d78e88005e9a6b00000007628..."} 
[2026-09-18 09:03:37] local.INFO: Packet analysis {"connection_id":185992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:37] local.INFO: Extracted packet for processing {"connection_id":185992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":762898560,"raw_latitude":99198640,"longitude_deg":76.289856,"latitude_deg":9.919864,"altitude":0,"angle":118,"satellites":40,"speed":14,"hex_longitude":"2d78e880","hex_latitude":"05e9a6b0","is_valid_coordinates":true} 
[2026-09-18 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163809280001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134554384716529664,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711509817101365248,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702382000,"timestamp_ms":1789702382000,"timestamp_seconds":1789702382,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29321b0"} 
[2026-09-18 09:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163809280001,"66":13102,"130":206,"87":13824,"24":14,"16":134554384716529664,"45":8711509817101365248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,87,24,16,45]} 
[2026-09-18 09:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163809280001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:37] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-18 09:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134554384716529664,"km_value":134554384716529.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711509817101365248,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163809280001,"power":13102,"unknown_130":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8711509817101365248}} 
[2026-09-18 09:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":185992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:37] local.INFO: GPS data processed {"connection_id":185992,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:37] local.INFO: Acknowledgment sent {"connection_id":185992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:03:50] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:03:50] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:03:50] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:03:50] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 09:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 09:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:03:50] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:03:50] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:01] local.INFO: TCP Data received {"connection_id":185812,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:04:01] local.INFO: Processing buffer {"connection_id":185812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:04:01] local.INFO: IMEI packet received {"connection_id":185812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":185812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:04:08] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2939eb0012d0b28c0070612a8001200d31b..."} 
[2026-09-18 09:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2939eb0012d0b28c0070612a8001200d31b..."} 
[2026-09-18 09:04:08] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2939eb0012d0b28c0070612a8001200d31b..."} 
[2026-09-18 09:04:08] local.INFO: Packet analysis {"connection_id":188604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:08] local.INFO: Extracted packet for processing {"connection_id":188604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117838504,"longitude_deg":75.5706048,"latitude_deg":11.7838504,"altitude":18,"angle":211,"satellites":27,"speed":8,"hex_longitude":"2d0b28c0","hex_latitude":"070612a8","is_valid_coordinates":true} 
[2026-09-18 09:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163817728001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33011268960911360,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407373215744,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702414000,"timestamp_ms":1789702414000,"timestamp_seconds":1789702414,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2939eb0"} 
[2026-09-18 09:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:04: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-09-18 09:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163817728001,"66":14396,"165":206,"94":10240,"24":8,"16":33011268960911360,"45":804244407373215744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163817728001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33011268960911360,"km_value":33011268960911.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407373215744,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163817728001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":804244407373215744}} 
[2026-09-18 09:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":188604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:08] local.INFO: GPS data processed {"connection_id":188604,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:08] local.INFO: Acknowledgment sent {"connection_id":188604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:08] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2932d68012d78eb8005e9a4d00000008428..."} 
[2026-09-18 09:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2932d68012d78eb8005e9a4d00000008428..."} 
[2026-09-18 09:04:08] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2932d68012d78eb8005e9a4d00000008428..."} 
[2026-09-18 09:04:08] local.INFO: Packet analysis {"connection_id":185992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:08] local.INFO: Extracted packet for processing {"connection_id":185992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:08] local.INFO: GPS Element Parsed {"raw_longitude":762899328,"raw_latitude":99198160,"longitude_deg":76.2899328,"latitude_deg":9.919816,"altitude":0,"angle":132,"satellites":40,"speed":11,"hex_longitude":"2d78eb80","hex_latitude":"05e9a4d0","is_valid_coordinates":true} 
[2026-09-18 09:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163809792001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134554427666202624,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712354242031431680,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702385000,"timestamp_ms":1789702385000,"timestamp_seconds":1789702385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2932d68"} 
[2026-09-18 09:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163809792001,"66":13319,"128":206,"87":13824,"24":11,"16":134554427666202624,"45":8712354242031431680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 09:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163809792001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134554427666202624,"km_value":134554427666202.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712354242031431680,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163809792001,"power":13319,"unknown_128":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8712354242031431680}} 
[2026-09-18 09:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":185992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:08] local.INFO: GPS data processed {"connection_id":185992,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:08] local.INFO: Acknowledgment sent {"connection_id":185992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:13] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:04:13] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:04:13] local.INFO: IMEI packet received {"connection_id":187287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":187287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:04:18] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:04:18] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:04:18] local.INFO: IMEI packet received {"connection_id":187287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":187287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:04:19] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:04:19] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b28fd9d8012d34c14006aa4440000a011829..."} 
[2026-09-18 09:04:19] local.INFO: Packet analysis {"connection_id":187287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:04:19] local.INFO: Extracted packet for processing {"connection_id":187287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b28f"} 
[2026-09-18 09:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163677696001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702167000,"timestamp_ms":1789702167000,"timestamp_seconds":1789702167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b28fd9d8"} 
[2026-09-18 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-09-18 09:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163677696001,"66":25451,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163677696001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163677696001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":187287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:19] local.INFO: GPS data processed {"connection_id":187287,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:19] local.INFO: Acknowledgment sent {"connection_id":187287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:28] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:28] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:28] local.INFO: IMEI packet received {"connection_id":185813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":185813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:04:29] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:29] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:29] local.INFO: IMEI packet received {"connection_id":185813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":185813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:04:33] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:33] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:04:33] local.INFO: IMEI packet received {"connection_id":185813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":185813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:04:34] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2943708012d0b1f8007059b98000e010a1c..."} 
[2026-09-18 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2943708012d0b1f8007059b98000e010a1c..."} 
[2026-09-18 09:04:34] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2943708012d0b1f8007059b98000e010a1c..."} 
[2026-09-18 09:04:34] local.INFO: Packet analysis {"connection_id":185813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:04:34] local.INFO: Extracted packet for processing {"connection_id":185813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:04:34] local.INFO: GPS Element Parsed {"raw_longitude":755703680,"raw_latitude":117808024,"longitude_deg":75.570368,"latitude_deg":11.7808024,"altitude":14,"angle":266,"satellites":28,"speed":12,"hex_longitude":"2d0b1f80","hex_latitude":"07059b98","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163827712001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33012802264236032,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801922238807508992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702453000,"timestamp_ms":1789702453000,"timestamp_seconds":1789702453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2943708"} 
[2026-09-18 09:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:04: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-09-18 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163827712001,"66":14537,"165":206,"94":10240,"24":12,"16":33012802264236032,"45":801922238807508992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163827712001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:04:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33012802264236032,"km_value":33012802264236.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":801922238807508992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163827712001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":801922238807508992}} 
[2026-09-18 09:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":185813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:34] local.INFO: GPS data processed {"connection_id":185813,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:34] local.INFO: Acknowledgment sent {"connection_id":185813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:39] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:39] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:39] local.INFO: IMEI packet received {"connection_id":185814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":185814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:04:41] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:41] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:41] local.INFO: IMEI packet received {"connection_id":185814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":185814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:04:45] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:45] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:45] local.INFO: IMEI packet received {"connection_id":185814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":185814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:04:46] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:46] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:04:46] local.INFO: IMEI packet received {"connection_id":185814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":185814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:04:47] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2933150012d78ec4005e9a3d80001008f28..."} 
[2026-09-18 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2933150012d78ec4005e9a3d80001008f28..."} 
[2026-09-18 09:04:47] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2933150012d78ec4005e9a3d80001008f28..."} 
[2026-09-18 09:04:47] local.INFO: Packet analysis {"connection_id":185814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:47] local.INFO: Extracted packet for processing {"connection_id":185814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:47] local.INFO: GPS Element Parsed {"raw_longitude":762899520,"raw_latitude":99197912,"longitude_deg":76.289952,"latitude_deg":9.9197912,"altitude":1,"angle":143,"satellites":40,"speed":14,"hex_longitude":"2d78ec40","hex_latitude":"05e9a3d8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163810560001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134554444846071808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713198666961440768,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789702386000,"timestamp_ms":1789702386000,"timestamp_seconds":1789702386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2933150"} 
[2026-09-18 09:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:04: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-09-18 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2995972864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2466154497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-6710363436189800960,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2323775694,"corrected_to":0} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3892391288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278090,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3919820800,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57854661189588790,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-1794683156695007227,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,128,87,24,241,157,16,8,160,33,45,166,40,10,66,130,25,167,1,38,240,220,227,178,233,4,113,205,20,238,211,39,239,52,2,222,5,13,192,146],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2323775694,"validated":0}]} 
[2026-09-18 09:04:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":145307334279168,"timestamp_seconds":145307334279.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":185814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":185814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":185814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163810560001,"66":13319,"128":206,"87":13824,"24":14,"16":134554444846071808,"45":8713198666961440768},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 09:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163810560001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:47] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 09:04:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134554444846071808,"km_value":134554444846071.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713198666961440768,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163810560001,"power":13319,"unknown_128":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8713198666961440768}} 
[2026-09-18 09:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":185814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:47] local.INFO: GPS data processed {"connection_id":185814,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:47] local.INFO: Acknowledgment sent {"connection_id":185814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:50] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b293e118012d34c14006aa4440000a011827..."} 
[2026-09-18 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b293e118012d34c14006aa4440000a011827..."} 
[2026-09-18 09:04:50] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b293e118012d34c14006aa4440000a011827..."} 
[2026-09-18 09:04:50] local.INFO: Packet analysis {"connection_id":187287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:50] local.INFO: Extracted packet for processing {"connection_id":187287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-18 09:04: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-09-18 09:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163754752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702431000,"timestamp_ms":1789702431000,"timestamp_seconds":1789702431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b293e118"} 
[2026-09-18 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-09-18 09:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163754752001,"66":25441,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163754752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163754752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":187287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:50] local.INFO: GPS data processed {"connection_id":187287,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:50] local.INFO: Acknowledgment sent {"connection_id":187287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:04:52] local.INFO: TCP Data received {"connection_id":185814,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29373b8012d78fc4005e98b300002009b25..."} 
[2026-09-18 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29373b8012d78fc4005e98b300002009b25..."} 
[2026-09-18 09:04:52] local.INFO: Processing buffer {"connection_id":185814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29373b8012d78fc4005e98b300002009b25..."} 
[2026-09-18 09:04:52] local.INFO: Packet analysis {"connection_id":185814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:52] local.INFO: Extracted packet for processing {"connection_id":185814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":762903616,"raw_latitude":99191600,"longitude_deg":76.2903616,"latitude_deg":9.91916,"altitude":2,"angle":155,"satellites":37,"speed":16,"hex_longitude":"2d78fc40","hex_latitude":"05e98b30","is_valid_coordinates":true} 
[2026-09-18 09:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163810816001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134554809918291968,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713409773193910272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789702403000,"timestamp_ms":1789702403000,"timestamp_seconds":1789702403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29373b8"} 
[2026-09-18 09:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2995973864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13470338,"corrected_to":0} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2466922497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-6649564841219512832,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2323775694,"corrected_to":0} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2281778552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2147871143,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3919872000,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57854661189588790,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-1513208179984285691,"note":"Value kept but may cause issues"} 
[2026-09-18 09:04:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,128,87,24,241,157,16,8,160,45,164,40,10,66,33,166,130,25,1,240,247,227,178,233,4,113,205,17,254,218,38,239,52,2,222,5,15,192,146],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":247,"original":13470338,"validated":0},{"io_id":205,"original":2323775694,"validated":0}]} 
[2026-09-18 09:04:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72214996000309248,"timestamp_seconds":72214996000309.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163810816001,"66":13276,"128":206,"87":13824,"24":16,"16":134554809918291968,"45":8713409773193910272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 09:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163810816001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:04:52] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 09:04:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134554809918291968,"km_value":134554809918291.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713409773193910272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163810816001,"power":13276,"unknown_128":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8713409773193910272}} 
[2026-09-18 09:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":185814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:04:52] local.INFO: GPS data processed {"connection_id":185814,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:04:52] local.INFO: Acknowledgment sent {"connection_id":185814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:05:05] local.INFO: TCP Data received {"connection_id":185813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2946200012d0b0b4007059b18001501171c..."} 
[2026-09-18 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2946200012d0b0b4007059b18001501171c..."} 
[2026-09-18 09:05:05] local.INFO: Processing buffer {"connection_id":185813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2946200012d0b0b4007059b18001501171c..."} 
[2026-09-18 09:05:05] local.INFO: Packet analysis {"connection_id":185813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:05] local.INFO: Extracted packet for processing {"connection_id":185813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:05] local.INFO: GPS Element Parsed {"raw_longitude":755698496,"raw_latitude":117807896,"longitude_deg":75.5698496,"latitude_deg":11.7807896,"altitude":21,"angle":279,"satellites":28,"speed":15,"hex_longitude":"2d0b0b40","hex_latitude":"07059b18","is_valid_coordinates":true} 
[2026-09-18 09:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163827968001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33013051372339200,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026342447104,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702464000,"timestamp_ms":1789702464000,"timestamp_seconds":1789702464,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2946200"} 
[2026-09-18 09:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:05: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-09-18 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163827968001,"66":14439,"165":206,"94":10240,"24":15,"16":33013051372339200,"45":801500026342447104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163827968001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:05:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:05:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33013051372339200,"km_value":33013051372339.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026342447104,"description":"Unknown IO ID 45"} 
[2026-09-18 09:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163827968001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":801500026342447104}} 
[2026-09-18 09:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":185813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:05:05] local.INFO: GPS data processed {"connection_id":185813,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:05:05] local.INFO: Acknowledgment sent {"connection_id":185813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:05:12] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:12] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:12] local.INFO: IMEI packet received {"connection_id":188605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":188605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:05:15] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:15] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:15] local.INFO: IMEI packet received {"connection_id":188605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":188605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:05:19] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:19] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:05:19] local.INFO: IMEI packet received {"connection_id":188605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":188605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:05:20] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2940ff8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2940ff8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:05:20] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2940ff8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:05:20] local.INFO: Packet analysis {"connection_id":188605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:20] local.INFO: Extracted packet for processing {"connection_id":188605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-18 09:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163822336001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789702443000,"timestamp_ms":1789702443000,"timestamp_seconds":1789702443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2940ff8"} 
[2026-09-18 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-09-18 09:05: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-09-18 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 09:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163822336001,"66":25223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163822336001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163822336001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-18 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":188605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:05:20] local.INFO: GPS data processed {"connection_id":188605,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:05:20] local.INFO: Acknowledgment sent {"connection_id":188605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:05:28] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:28] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:28] local.INFO: IMEI packet received {"connection_id":187288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":187288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:05:29] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:29] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:29] local.INFO: IMEI packet received {"connection_id":187288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":187288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:05:33] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:33] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:05:33] local.INFO: IMEI packet received {"connection_id":187288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":187288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:05:34] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2946db8012d0b074007059b48001701081c..."} 
[2026-09-18 09:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2946db8012d0b074007059b48001701081c..."} 
[2026-09-18 09:05:34] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2946db8012d0b074007059b48001701081c..."} 
[2026-09-18 09:05:34] local.INFO: Packet analysis {"connection_id":187288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:34] local.INFO: Extracted packet for processing {"connection_id":187288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:34] local.INFO: GPS Element Parsed {"raw_longitude":755697472,"raw_latitude":117807944,"longitude_deg":75.5697472,"latitude_deg":11.7807944,"altitude":23,"angle":264,"satellites":28,"speed":12,"hex_longitude":"2d0b0740","hex_latitude":"07059b48","is_valid_coordinates":true} 
[2026-09-18 09:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163830784001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33013098616979456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795800158064023552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702467000,"timestamp_ms":1789702467000,"timestamp_seconds":1789702467,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2946db8"} 
[2026-09-18 09:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:05: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-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163830784001,"66":14515,"165":206,"94":10240,"24":12,"16":33013098616979456,"45":795800158064023552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163830784001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:05:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:05:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33013098616979456,"km_value":33013098616979.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795800158064023552,"description":"Unknown IO ID 45"} 
[2026-09-18 09:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163830784001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":795800158064023552}} 
[2026-09-18 09:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":187288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:05:34] local.INFO: GPS data processed {"connection_id":187288,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:05:34] local.INFO: Acknowledgment sent {"connection_id":187288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:05:51] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29413e0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29413e0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:05:51] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29413e0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:05:51] local.INFO: Packet analysis {"connection_id":188605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:51] local.INFO: Extracted packet for processing {"connection_id":188605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-18 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163825408001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789702444000,"timestamp_ms":1789702444000,"timestamp_seconds":1789702444,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29413e0"} 
[2026-09-18 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-09-18 09:05: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-09-18 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-18 09:05:51] 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-09-18 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-09-18 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-09-18 09:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163825408001,"66":25321,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163825408001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163825408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-18 09:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":188605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:05:51] local.INFO: GPS data processed {"connection_id":188605,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:05:51] local.INFO: Acknowledgment sent {"connection_id":188605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:05] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b294bbd8012d0afbc007059a38001801021d..."} 
[2026-09-18 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b294bbd8012d0afbc007059a38001801021d..."} 
[2026-09-18 09:06:05] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b294bbd8012d0afbc007059a38001801021d..."} 
[2026-09-18 09:06:05] local.INFO: Packet analysis {"connection_id":187288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:05] local.INFO: Extracted packet for processing {"connection_id":187288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:05] local.INFO: GPS Element Parsed {"raw_longitude":755694528,"raw_latitude":117807672,"longitude_deg":75.5694528,"latitude_deg":11.7807672,"altitude":24,"angle":258,"satellites":29,"speed":10,"hex_longitude":"2d0afbc0","hex_latitude":"07059a38","is_valid_coordinates":true} 
[2026-09-18 09:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163831552001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33013240350900224,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794674258157193216,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702487000,"timestamp_ms":1789702487000,"timestamp_seconds":1789702487,"priority":1,"record_length":96,"hex_timestamp":"000001a0b294bbd8"} 
[2026-09-18 09:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:06: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-09-18 09:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 09:06:05] 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-09-18 09:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163831552001,"66":14407,"165":206,"94":10240,"24":10,"16":33013240350900224,"45":794674258157193216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163831552001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:06:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:06:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33013240350900224,"km_value":33013240350900.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":794674258157193216,"description":"Unknown IO ID 45"} 
[2026-09-18 09:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163831552001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":794674258157193216}} 
[2026-09-18 09:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":187288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:06:05] local.INFO: GPS data processed {"connection_id":187288,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:06:05] local.INFO: Acknowledgment sent {"connection_id":187288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:11] local.INFO: TCP Data received {"connection_id":185815,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:11] local.INFO: Processing buffer {"connection_id":185815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:11] local.INFO: IMEI packet received {"connection_id":185815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":185815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:06:12] local.INFO: TCP Data received {"connection_id":187290,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:12] local.INFO: Processing buffer {"connection_id":187290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:12] local.INFO: IMEI packet received {"connection_id":187290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":187290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:06:14] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:14] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:14] local.INFO: IMEI packet received {"connection_id":187289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":187289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:06:15] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:15] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:15] local.INFO: IMEI packet received {"connection_id":187289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":187289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:16] local.INFO: TCP Data received {"connection_id":187290,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:16] local.INFO: Processing buffer {"connection_id":187290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:16] local.INFO: IMEI packet received {"connection_id":187290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":187290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:17] local.INFO: TCP Data received {"connection_id":187290,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:17] local.INFO: Processing buffer {"connection_id":187290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:06:17] local.INFO: IMEI packet received {"connection_id":187290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":187290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:18] local.INFO: TCP Data received {"connection_id":187290,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29442c0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29442c0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:18] local.INFO: Processing buffer {"connection_id":187290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29442c0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:18] local.INFO: Packet analysis {"connection_id":187290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:18] local.INFO: Extracted packet for processing {"connection_id":187290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163825664001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789702456000,"timestamp_ms":1789702456000,"timestamp_seconds":1789702456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29442c0"} 
[2026-09-18 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-09-18 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 09:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163825664001,"66":25093,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163825664001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163825664001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-18 09:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":187290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:06:18] local.INFO: GPS data processed {"connection_id":187290,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:06:18] local.INFO: Acknowledgment sent {"connection_id":187290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:19] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:19] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:06:19] local.INFO: IMEI packet received {"connection_id":187289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":187289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:19] local.INFO: TCP Data received {"connection_id":187290,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29494c8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29494c8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:19] local.INFO: Processing buffer {"connection_id":187290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29494c8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:19] local.INFO: Packet analysis {"connection_id":187290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:19] local.INFO: Extracted packet for processing {"connection_id":187290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-18 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702477000,"timestamp_ms":1789702477000,"timestamp_seconds":1789702477,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29494c8"} 
[2026-09-18 09:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 09:06:19] 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-09-18 09:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163828736001,"66":27745,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163828736001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-18 09:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":187290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:06:19] local.INFO: GPS data processed {"connection_id":187290,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:06:19] local.INFO: Acknowledgment sent {"connection_id":187290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:20] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-18 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-18 09:06:20] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-18 09:06:20] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 09:06:20] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06: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-09-18 09:06:20] 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-09-18 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 09:06:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 09:06:20] local.ERROR: GPS data processing failed {"connection_id":187289,"error":"No valid data to process"} 
[2026-09-18 09:06:20] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 09:06:28] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:28] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:28] local.INFO: IMEI packet received {"connection_id":187291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":187291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:06:29] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:29] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:29] local.INFO: IMEI packet received {"connection_id":187291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":187291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:35] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:35] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:06:35] local.INFO: IMEI packet received {"connection_id":187291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":187291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:36] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:36] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:36] local.INFO: IMEI packet received {"connection_id":185816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":185816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:06:36] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b294fe40012d0ae700070593d8001f01121e..."} 
[2026-09-18 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b294fe40012d0ae700070593d8001f01121e..."} 
[2026-09-18 09:06:36] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b294fe40012d0ae700070593d8001f01121e..."} 
[2026-09-18 09:06:36] local.INFO: Packet analysis {"connection_id":187291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:36] local.INFO: Extracted packet for processing {"connection_id":187291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:36] local.INFO: GPS Element Parsed {"raw_longitude":755689216,"raw_latitude":117806040,"longitude_deg":75.5689216,"latitude_deg":11.780604,"altitude":31,"angle":274,"satellites":30,"speed":15,"hex_longitude":"2d0ae700","hex_latitude":"070593d8","is_valid_coordinates":true} 
[2026-09-18 09:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163836672001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33013502343905280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791437295924951040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789702504000,"timestamp_ms":1789702504000,"timestamp_seconds":1789702504,"priority":1,"record_length":96,"hex_timestamp":"000001a0b294fe40"} 
[2026-09-18 09:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:06: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-09-18 09:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163836672001,"66":14428,"165":206,"94":10240,"24":15,"16":33013502343905280,"45":791437295924951040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163836672001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:06:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:06:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33013502343905280,"km_value":33013502343905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":791437295924951040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163836672001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":791437295924951040}} 
[2026-09-18 09:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":187291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:06:36] local.INFO: GPS data processed {"connection_id":187291,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:06:36] local.INFO: Acknowledgment sent {"connection_id":187291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:41] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:41] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:06:41] local.INFO: IMEI packet received {"connection_id":185816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":185816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:06:42] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b293ae50012d790ac005e96f40000100a725..."} 
[2026-09-18 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b293ae50012d790ac005e96f40000100a725..."} 
[2026-09-18 09:06:42] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b293ae50012d790ac005e96f40000100a725..."} 
[2026-09-18 09:06:42] local.INFO: Packet analysis {"connection_id":185816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:06:42] local.INFO: Extracted packet for processing {"connection_id":185816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:06:42] local.INFO: GPS Element Parsed {"raw_longitude":762907328,"raw_latitude":99184448,"longitude_deg":76.2907328,"latitude_deg":9.9184448,"altitude":1,"angle":167,"satellites":37,"speed":8,"hex_longitude":"2d790ac0","hex_latitude":"05e96f40","is_valid_coordinates":true} 
[2026-09-18 09:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163815168001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134555200760315904,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8717913372819664896,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789702418000,"timestamp_ms":1789702418000,"timestamp_seconds":1789702418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b293ae50"} 
[2026-09-18 09:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:06: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-09-18 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 09:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163815168001,"66":13472,"128":206,"87":13824,"24":8,"16":134555200760315904,"45":8717913372819664896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 09:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163815168001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:06:42] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 09:06:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134555200760315904,"km_value":134555200760315.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8717913372819664896,"description":"Unknown IO ID 45"} 
[2026-09-18 09:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163815168001,"power":13472,"unknown_128":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8717913372819664896}} 
[2026-09-18 09:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":185816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:06:42] local.INFO: GPS data processed {"connection_id":185816,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:06:42] local.INFO: Acknowledgment sent {"connection_id":185816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:50] local.INFO: TCP Data received {"connection_id":187290,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b294e6d0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b294e6d0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:50] local.INFO: Processing buffer {"connection_id":187290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b294e6d0012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:06:50] local.INFO: Packet analysis {"connection_id":187290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:50] local.INFO: Extracted packet for processing {"connection_id":187290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b294"} 
[2026-09-18 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163834112001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702498000,"timestamp_ms":1789702498000,"timestamp_seconds":1789702498,"priority":1,"record_length":96,"hex_timestamp":"000001a0b294e6d0"} 
[2026-09-18 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-09-18 09:06: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-09-18 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 09:06:50] 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-09-18 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-09-18 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-09-18 09:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163834112001,"66":27821,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163834112001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163834112001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-18 09:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":187290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:06:50] local.INFO: GPS data processed {"connection_id":187290,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:06:50] local.INFO: Acknowledgment sent {"connection_id":187290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:06:51] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-18 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-18 09:06:51] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-18 09:06:51] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 09:06:51] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 09:06: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-09-18 09:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:06:51] 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-09-18 09:06:51] 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-09-18 09:06:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 09:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 09:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 09:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 09:06:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 09:06:51] local.ERROR: GPS data processing failed {"connection_id":187289,"error":"No valid data to process"} 
[2026-09-18 09:06:51] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 09:07:07] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296c360012d0a86c00705a8f0001a01341b..."} 
[2026-09-18 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296c360012d0a86c00705a8f0001a01341b..."} 
[2026-09-18 09:07:07] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296c360012d0a86c00705a8f0001a01341b..."} 
[2026-09-18 09:07:07] local.INFO: Packet analysis {"connection_id":187291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:07] local.INFO: Extracted packet for processing {"connection_id":187291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":755664576,"raw_latitude":117811440,"longitude_deg":75.5664576,"latitude_deg":11.781144,"altitude":26,"angle":308,"satellites":27,"speed":12,"hex_longitude":"2d0a86c0","hex_latitude":"0705a8f0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163866624001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33014962632785920,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763571273229750272,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789702620000,"timestamp_ms":1789702620000,"timestamp_seconds":1789702620,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296c360"} 
[2026-09-18 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-09-18 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-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163866624001,"66":14515,"165":206,"94":10240,"24":12,"16":33014962632785920,"45":763571273229750272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163866624001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33014962632785920,"km_value":33014962632785.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":763571273229750272,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163866624001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":763571273229750272}} 
[2026-09-18 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":187291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:07] local.INFO: GPS data processed {"connection_id":187291,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:07] local.INFO: Acknowledgment sent {"connection_id":187291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:14] local.INFO: TCP Data received {"connection_id":185816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b293b238012d790b0005e96ed80001009925..."} 
[2026-09-18 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b293b238012d790b0005e96ed80001009925..."} 
[2026-09-18 09:07:14] local.INFO: Processing buffer {"connection_id":185816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b293b238012d790b0005e96ed80001009925..."} 
[2026-09-18 09:07:14] local.INFO: Packet analysis {"connection_id":185816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:07:14] local.INFO: Extracted packet for processing {"connection_id":185816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b293"} 
[2026-09-18 09:07:14] local.INFO: GPS Element Parsed {"raw_longitude":762907392,"raw_latitude":99184344,"longitude_deg":76.2907392,"latitude_deg":9.9184344,"altitude":1,"angle":153,"satellites":37,"speed":5,"hex_longitude":"2d790b00","hex_latitude":"05e96ed8","is_valid_coordinates":true} 
[2026-09-18 09:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163819008001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134555205055283200,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8721994759980138496,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789702419000,"timestamp_ms":1789702419000,"timestamp_seconds":1789702419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b293b238"} 
[2026-09-18 09:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07: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-09-18 09:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163819008001,"66":13472,"128":206,"87":13824,"24":5,"16":134555205055283200,"45":8721994759980138496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 09:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163819008001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:14] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 09:07:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134555205055283200,"km_value":134555205055283.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8721994759980138496,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163819008001,"power":13472,"unknown_128":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8721994759980138496}} 
[2026-09-18 09:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":185816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:14] local.INFO: GPS data processed {"connection_id":185816,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:14] local.INFO: Acknowledgment sent {"connection_id":185816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:18] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:07:18] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:07:18] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:07:22] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296b3c00100000000000000000000000000..."} 
[2026-09-18 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296b3c00100000000000000000000000000..."} 
[2026-09-18 09:07:22] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296b3c00100000000000000000000000000..."} 
[2026-09-18 09:07:22] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:22] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789702616000,"timestamp_ms":1789702616000,"timestamp_seconds":1789702616,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296b3c0"} 
[2026-09-18 09:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 09:07:22] local.INFO: GPS data processed {"connection_id":187289,"processed":0,"errors":0,"total":1} 
[2026-09-18 09:07:22] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:23] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:07:23] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:07:23] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:07:24] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29538d8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29538d8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:07:24] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29538d8012d34bf8006aa4428000a011827..."} 
[2026-09-18 09:07:24] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:07:24] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163839488001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789702519000,"timestamp_ms":1789702519000,"timestamp_seconds":1789702519,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29538d8"} 
[2026-09-18 09:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:24] 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-09-18 09: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-09-18 09:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163839488001,"66":27745,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163839488001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163839488001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-18 09:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:24] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:24] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:28] local.INFO: TCP Data received {"connection_id":185993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:07:28] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:07:28] local.INFO: IMEI packet received {"connection_id":185993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":185993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:07:29] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2956f88012d34c04006aa45700007005427..."} 
[2026-09-18 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2956f88012d34c04006aa45700007005427..."} 
[2026-09-18 09:07:29] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2956f88012d34c04006aa45700007005427..."} 
[2026-09-18 09:07:29] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:07:29] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:07:29] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111822192,"longitude_deg":75.8431808,"latitude_deg":11.1822192,"altitude":7,"angle":84,"satellites":39,"speed":3,"hex_longitude":"2d34c040","hex_latitude":"06aa4570","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177082876788736,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07: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-09-18 09:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789702533000,"timestamp_ms":1789702533000,"timestamp_seconds":1789702533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2956f88"} 
[2026-09-18 09:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07: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-09-18 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163844864001,"66":27876,"97":206,"81":23296,"24":3,"16":405177082876788736,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:07:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177082876788736,"km_value":405177082876788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163844864001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-18 09:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:29] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:29] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:31] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:07:31] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:07:31] local.INFO: IMEI packet received {"connection_id":187292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":187292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:07:33] local.INFO: TCP Data received {"connection_id":185993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:07:33] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:07:33] local.INFO: IMEI packet received {"connection_id":185993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":185993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:07:34] local.INFO: TCP Data received {"connection_id":185993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296c748012d0a86000705a958001a01201b..."} 
[2026-09-18 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296c748012d0a86000705a958001a01201b..."} 
[2026-09-18 09:07:34] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296c748012d0a86000705a958001a01201b..."} 
[2026-09-18 09:07:34] local.INFO: Packet analysis {"connection_id":185993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:34] local.INFO: Extracted packet for processing {"connection_id":185993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:34] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117811544,"longitude_deg":75.5664384,"latitude_deg":11.7811544,"altitude":26,"angle":288,"satellites":27,"speed":11,"hex_longitude":"2d0a8600","hex_latitude":"0705a958","is_valid_coordinates":true} 
[2026-09-18 09:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163870720001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33014975517687808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758504723650768896,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702621000,"timestamp_ms":1789702621000,"timestamp_seconds":1789702621,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296c748"} 
[2026-09-18 09:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07: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-09-18 09:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:34] 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-09-18 09:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163870720001,"66":14374,"165":206,"94":10240,"24":11,"16":33014975517687808,"45":758504723650768896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163870720001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33014975517687808,"km_value":33014975517687.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":758504723650768896,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163870720001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":758504723650768896}} 
[2026-09-18 09:07:34] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2958310012d34c14006aa45880007006028..."} 
[2026-09-18 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2958310012d34c14006aa45880007006028..."} 
[2026-09-18 09:07:34] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2958310012d34c14006aa45880007006028..."} 
[2026-09-18 09:07:34] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:07:34] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822216,"longitude_deg":75.8432064,"latitude_deg":11.1822216,"altitude":7,"angle":96,"satellites":40,"speed":2,"hex_longitude":"2d34c140","hex_latitude":"06aa4588","is_valid_coordinates":true} 
[2026-09-18 09:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163848448001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177100056657920,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871357440,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07: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-09-18 09:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702538000,"timestamp_ms":1789702538000,"timestamp_seconds":1789702538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2958310"} 
[2026-09-18 09:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09: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-09-18 09:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 09:07: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-09-18 09:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163848448001,"66":27767,"97":206,"81":23296,"24":2,"16":405177100056657920,"45":3801108482871357440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163848448001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177100056657920,"km_value":405177100056657.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871357440,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163848448001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801108482871357440}} 
[2026-09-18 09:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:34] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:34] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":185993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:34] local.INFO: GPS data processed {"connection_id":185993,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:34] local.INFO: Acknowledgment sent {"connection_id":185993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:36] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:07:36] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:07:36] local.INFO: IMEI packet received {"connection_id":187292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":187292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:07:37] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296deb8012d79398005e924800005009928..."} 
[2026-09-18 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296deb8012d79398005e924800005009928..."} 
[2026-09-18 09:07:37] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296deb8012d79398005e924800005009928..."} 
[2026-09-18 09:07:37] local.INFO: Packet analysis {"connection_id":187292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:37] local.INFO: Extracted packet for processing {"connection_id":187292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":762919296,"raw_latitude":99165312,"longitude_deg":76.2919296,"latitude_deg":9.9165312,"altitude":5,"angle":153,"satellites":40,"speed":23,"hex_longitude":"2d793980","hex_latitude":"05e92480","is_valid_coordinates":true} 
[2026-09-18 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163867136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134556295976976384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8733675971509342208,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702627000,"timestamp_ms":1789702627000,"timestamp_seconds":1789702627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296deb8"} 
[2026-09-18 09:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169572752778,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2996084864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2504298497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2281778553,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912093696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,203,87,24,241,157,16,10,160,58,45,64,6,33,66,232,36,150,1,240,161,227,178,233,4,113,205,242,52,208,32,239,51,2,222,5,128],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768278734,"validated":0}]} 
[2026-09-18 09:07:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432506256133980160,"timestamp_seconds":432506256133980.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163867136001,"66":13363,"132":206,"87":13824,"24":23,"16":134556295976976384,"45":8733675971509342208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 09:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163867136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:07:37] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 09:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134556295976976384,"km_value":134556295976976.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8733675971509342208,"description":"Unknown IO ID 45"} 
[2026-09-18 09:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163867136001,"power":13363,"unknown_132":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8733675971509342208}} 
[2026-09-18 09:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":187292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:07:37] local.INFO: GPS data processed {"connection_id":187292,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:07:37] local.INFO: Acknowledgment sent {"connection_id":187292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:07:53] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29705c80100000000000000000000000000..."} 
[2026-09-18 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29705c80100000000000000000000000000..."} 
[2026-09-18 09:07:53] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29705c80100000000000000000000000000..."} 
[2026-09-18 09:07:53] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:07:53] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:07:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789702637000,"timestamp_ms":1789702637000,"timestamp_seconds":1789702637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29705c8"} 
[2026-09-18 09:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:07: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 09:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 09:07:53] local.INFO: GPS data processed {"connection_id":187289,"processed":0,"errors":0,"total":1} 
[2026-09-18 09:07:53] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:05] local.INFO: TCP Data received {"connection_id":185993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296d300012d0a82c00705aaa00019013f1b..."} 
[2026-09-18 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296d300012d0a82c00705aaa00019013f1b..."} 
[2026-09-18 09:08:05] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296d300012d0a82c00705aaa00019013f1b..."} 
[2026-09-18 09:08:05] local.INFO: Packet analysis {"connection_id":185993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:08:05] local.INFO: Extracted packet for processing {"connection_id":185993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:08:05] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811872,"longitude_deg":75.5663552,"latitude_deg":11.7811872,"altitude":25,"angle":319,"satellites":27,"speed":12,"hex_longitude":"2d0a82c0","hex_latitude":"0705aaa0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163870976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33015018467360768,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617418262528,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702624000,"timestamp_ms":1789702624000,"timestamp_seconds":1789702624,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296d300"} 
[2026-09-18 09:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09: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-09-18 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:08: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-09-18 09: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-09-18 09:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163870976001,"66":14461,"165":206,"94":10240,"24":12,"16":33015018467360768,"45":758293617418262528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163870976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:08:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33015018467360768,"km_value":33015018467360.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617418262528,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163870976001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":758293617418262528}} 
[2026-09-18 09:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":185993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:05] local.INFO: GPS data processed {"connection_id":185993,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:05] local.INFO: Acknowledgment sent {"connection_id":185993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:08] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296f240012d79414005e918680005008a27..."} 
[2026-09-18 09:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296f240012d79414005e918680005008a27..."} 
[2026-09-18 09:08:08] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296f240012d79414005e918680005008a27..."} 
[2026-09-18 09:08:08] local.INFO: Packet analysis {"connection_id":187292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:08:08] local.INFO: Extracted packet for processing {"connection_id":187292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:08:08] local.INFO: GPS Element Parsed {"raw_longitude":762921280,"raw_latitude":99162216,"longitude_deg":76.292128,"latitude_deg":9.9162216,"altitude":5,"angle":138,"satellites":39,"speed":32,"hex_longitude":"2d794140","hex_latitude":"05e91868","is_valid_coordinates":true} 
[2026-09-18 09:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163872512001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134556472070635520,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8735153715136462848,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702632000,"timestamp_ms":1789702632000,"timestamp_seconds":1789702632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296f240"} 
[2026-09-18 09:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 09:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163872512001,"66":13428,"132":206,"87":13824,"24":32,"16":134556472070635520,"45":8735153715136462848},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 09:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163872512001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:08] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 09:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134556472070635520,"km_value":134556472070635.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8735153715136462848,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163872512001,"power":13428,"unknown_132":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8735153715136462848}} 
[2026-09-18 09:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":187292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:08] local.INFO: GPS data processed {"connection_id":187292,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:08] local.INFO: Acknowledgment sent {"connection_id":187292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:12] local.INFO: TCP Data received {"connection_id":187293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:08:12] local.INFO: Processing buffer {"connection_id":187293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:08:12] local.INFO: IMEI packet received {"connection_id":187293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":187293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:08:19] local.INFO: TCP Data received {"connection_id":187293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:08:19] local.INFO: Processing buffer {"connection_id":187293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:08:19] local.INFO: IMEI packet received {"connection_id":187293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":187293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:08:21] local.INFO: TCP Data received {"connection_id":187293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2958ae0012d34c20006aa45900007005427..."} 
[2026-09-18 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2958ae0012d34c20006aa45900007005427..."} 
[2026-09-18 09:08:21] local.INFO: Processing buffer {"connection_id":187293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2958ae0012d34c20006aa45900007005427..."} 
[2026-09-18 09:08:21] local.INFO: Packet analysis {"connection_id":187293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:08:21] local.INFO: Extracted packet for processing {"connection_id":187293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111822224,"longitude_deg":75.8432256,"latitude_deg":11.1822224,"altitude":7,"angle":84,"satellites":39,"speed":2,"hex_longitude":"2d34c200","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163849728001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177104351625216,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848074240,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789702540000,"timestamp_ms":1789702540000,"timestamp_seconds":1789702540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2958ae0"} 
[2026-09-18 09:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08: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-09-18 09:08: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-09-18 09:08: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-09-18 09:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163849728001,"66":27800,"97":206,"81":23296,"24":2,"16":405177104351625216,"45":3801389957848074240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163849728001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177104351625216,"km_value":405177104351625.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848074240,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163849728001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801389957848074240}} 
[2026-09-18 09:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":187293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:21] local.INFO: GPS data processed {"connection_id":187293,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:21] local.INFO: Acknowledgment sent {"connection_id":187293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:24] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29757d00100000000000000000000000000..."} 
[2026-09-18 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29757d00100000000000000000000000000..."} 
[2026-09-18 09:08:24] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29757d00100000000000000000000000000..."} 
[2026-09-18 09:08:24] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:24] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789702658000,"timestamp_ms":1789702658000,"timestamp_seconds":1789702658,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29757d0"} 
[2026-09-18 09:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 09:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 09:08:24] local.INFO: GPS data processed {"connection_id":187289,"processed":0,"errors":0,"total":1} 
[2026-09-18 09:08:24] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:29] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:29] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:29] local.INFO: IMEI packet received {"connection_id":185818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":185818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:08:31] local.INFO: TCP Data received {"connection_id":185817,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:08:31] local.INFO: Processing buffer {"connection_id":185817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:08:31] local.INFO: IMEI packet received {"connection_id":185817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":185817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:08:34] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:34] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:34] local.INFO: IMEI packet received {"connection_id":185818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":185818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:08:36] local.INFO: TCP Data received {"connection_id":185817,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:08:36] local.INFO: Processing buffer {"connection_id":185817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:08:36] local.INFO: IMEI packet received {"connection_id":185817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":185817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:08:37] local.INFO: TCP Data received {"connection_id":185817,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29705c8012d794c0005e909680005009c22..."} 
[2026-09-18 09:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29705c8012d794c0005e909680005009c22..."} 
[2026-09-18 09:08:37] local.INFO: Processing buffer {"connection_id":185817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29705c8012d794c0005e909680005009c22..."} 
[2026-09-18 09:08:37] local.INFO: Packet analysis {"connection_id":185817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:37] local.INFO: Extracted packet for processing {"connection_id":185817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762924032,"raw_latitude":99158376,"longitude_deg":76.2924032,"latitude_deg":9.9158376,"altitude":5,"angle":156,"satellites":34,"speed":36,"hex_longitude":"2d794c00","hex_latitude":"05e90968","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163873792001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134556703998869504,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8737335146205177856,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702637000,"timestamp_ms":1789702637000,"timestamp_seconds":1789702637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29705c8"} 
[2026-09-18 09:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 09:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163873792001,"66":13602,"132":206,"87":13824,"24":36,"16":134556703998869504,"45":8737335146205177856},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 09:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163873792001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:37] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 09:08:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134556703998869504,"km_value":134556703998869.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8737335146205177856,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163873792001,"power":13602,"unknown_132":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8737335146205177856}} 
[2026-09-18 09:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":185817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:37] local.INFO: GPS data processed {"connection_id":185817,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:37] local.INFO: Acknowledgment sent {"connection_id":185817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:38] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:38] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:08:38] local.INFO: IMEI packet received {"connection_id":185818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":185818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:08:39] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b296e2a0012d0a7fc00705af90001a014b1c..."} 
[2026-09-18 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b296e2a0012d0a7fc00705af90001a014b1c..."} 
[2026-09-18 09:08:39] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b296e2a0012d0a7fc00705af90001a014b1c..."} 
[2026-09-18 09:08:39] local.INFO: Packet analysis {"connection_id":185818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:08:39] local.INFO: Extracted packet for processing {"connection_id":185818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b296"} 
[2026-09-18 09:08:39] local.INFO: GPS Element Parsed {"raw_longitude":755662784,"raw_latitude":117813136,"longitude_deg":75.5662784,"latitude_deg":11.7813136,"altitude":26,"angle":331,"satellites":28,"speed":18,"hex_longitude":"2d0a7fc0","hex_latitude":"0705af90","is_valid_coordinates":true} 
[2026-09-18 09:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163871744001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33015087186837504,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823744036864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789702628000,"timestamp_ms":1789702628000,"timestamp_seconds":1789702628,"priority":1,"record_length":96,"hex_timestamp":"000001a0b296e2a0"} 
[2026-09-18 09:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08: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-09-18 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 09:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163871744001,"66":14439,"165":206,"94":10240,"24":18,"16":33015087186837504,"45":757378823744036864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163871744001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:08:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33015087186837504,"km_value":33015087186837.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823744036864,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163871744001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":757378823744036864}} 
[2026-09-18 09:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":185818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:39] local.INFO: GPS data processed {"connection_id":185818,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:39] local.INFO: Acknowledgment sent {"connection_id":185818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:43] local.INFO: TCP Data received {"connection_id":185818,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2970d98012d0a77c00705bef8001c015a1c..."} 
[2026-09-18 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2970d98012d0a77c00705bef8001c015a1c..."} 
[2026-09-18 09:08:43] local.INFO: Processing buffer {"connection_id":185818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2970d98012d0a77c00705bef8001c015a1c..."} 
[2026-09-18 09:08:43] local.INFO: Packet analysis {"connection_id":185818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:43] local.INFO: Extracted packet for processing {"connection_id":185818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117817080,"longitude_deg":75.5660736,"latitude_deg":11.781708,"altitude":28,"angle":346,"satellites":28,"speed":11,"hex_longitude":"2d0a77c0","hex_latitude":"0705bef8","is_valid_coordinates":true} 
[2026-09-18 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163872768001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33015306230169600,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756534398814228480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789702639000,"timestamp_ms":1789702639000,"timestamp_seconds":1789702639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2970d98"} 
[2026-09-18 09:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163872768001,"66":14646,"165":206,"94":10240,"24":11,"16":33015306230169600,"45":756534398814228480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163872768001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:08:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33015306230169600,"km_value":33015306230169.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":756534398814228480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163872768001,"power":14646,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":756534398814228480}} 
[2026-09-18 09:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":185818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:44] local.INFO: GPS data processed {"connection_id":185818,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:44] local.INFO: Acknowledgment sent {"connection_id":185818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:52] local.INFO: TCP Data received {"connection_id":187293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:08:52] local.INFO: Processing buffer {"connection_id":187293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:08:52] local.INFO: Packet analysis {"connection_id":187293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:08:52] local.INFO: Extracted packet for processing {"connection_id":187293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822224,"longitude_deg":75.8432384,"latitude_deg":11.1822224,"altitude":6,"angle":91,"satellites":39,"speed":2,"hex_longitude":"2d34c280","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:08: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-09-18 09:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080609280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789702542000,"timestamp_ms":1789702542000,"timestamp_seconds":1789702542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29592b0"} 
[2026-09-18 09:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08: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-09-18 09:08: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-09-18 09:08: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-09-18 09:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850240001,"66":27908,"97":206,"81":23296,"24":2,"16":405177112941559808,"45":3801601064080609280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080609280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850240001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080609280}} 
[2026-09-18 09:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":187293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:08:52] local.INFO: GPS data processed {"connection_id":187293,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:08:52] local.INFO: Acknowledgment sent {"connection_id":187293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:08:55] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b297a9d80100000000000000000000000000..."} 
[2026-09-18 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b297a9d80100000000000000000000000000..."} 
[2026-09-18 09:08:55] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b297a9d80100000000000000000000000000..."} 
[2026-09-18 09:08:55] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:55] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:08:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:08:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789702679000,"timestamp_ms":1789702679000,"timestamp_seconds":1789702679,"priority":1,"record_length":96,"hex_timestamp":"000001a0b297a9d8"} 
[2026-09-18 09:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:08:55] 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-09-18 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 09:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 09:08:55] local.INFO: GPS data processed {"connection_id":187289,"processed":0,"errors":0,"total":1} 
[2026-09-18 09:08:55] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:08] local.INFO: TCP Data received {"connection_id":185817,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29753e8012d7957c005e8ecf8000500a223..."} 
[2026-09-18 09:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29753e8012d7957c005e8ecf8000500a223..."} 
[2026-09-18 09:09:08] local.INFO: Processing buffer {"connection_id":185817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29753e8012d7957c005e8ecf8000500a223..."} 
[2026-09-18 09:09:08] local.INFO: Packet analysis {"connection_id":185817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:09:08] local.INFO: Extracted packet for processing {"connection_id":185817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:09:08] local.INFO: GPS Element Parsed {"raw_longitude":762927040,"raw_latitude":99151096,"longitude_deg":76.292704,"latitude_deg":9.9151096,"altitude":5,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7957c0","hex_latitude":"05e8ecf8","is_valid_coordinates":true} 
[2026-09-18 09:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163875072001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134557094840893440,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8740361002203834368,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702657000,"timestamp_ms":1789702657000,"timestamp_seconds":1789702657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29753e8"} 
[2026-09-18 09:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:08] 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-09-18 09:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163875072001,"66":13559,"203":206,"87":13824,"24":0,"16":134557094840893440,"45":8740361002203834368},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 09:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163875072001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:09:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134557094840893440,"km_value":134557094840893.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8740361002203834368,"description":"Unknown IO ID 45"} 
[2026-09-18 09:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163875072001,"power":13559,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8740361002203834368}} 
[2026-09-18 09:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":185817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:09:08] local.INFO: GPS data processed {"connection_id":185817,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:09:08] local.INFO: Acknowledgment sent {"connection_id":185817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:12] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:09:12] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:09:12] local.INFO: IMEI packet received {"connection_id":185819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":185819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:09:18] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:09:18] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:09:18] local.INFO: IMEI packet received {"connection_id":185819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":185819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:09:20] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:09:20] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:09:20] local.INFO: Packet analysis {"connection_id":185819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:09:20] local.INFO: Extracted packet for processing {"connection_id":185819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822224,"longitude_deg":75.8432384,"latitude_deg":11.1822224,"altitude":6,"angle":91,"satellites":39,"speed":2,"hex_longitude":"2d34c280","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080609280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789702542000,"timestamp_ms":1789702542000,"timestamp_seconds":1789702542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29592b0"} 
[2026-09-18 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09: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-09-18 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:20] 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-09-18 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850240001,"66":27908,"97":206,"81":23296,"24":2,"16":405177112941559808,"45":3801601064080609280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080609280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850240001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080609280}} 
[2026-09-18 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":185819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:09:20] local.INFO: GPS data processed {"connection_id":185819,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:09:20] local.INFO: Acknowledgment sent {"connection_id":185819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:24] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:24] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:24] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:09:26] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b297fbe00100000000000000000000000000..."} 
[2026-09-18 09:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b297fbe00100000000000000000000000000..."} 
[2026-09-18 09:09:26] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b297fbe00100000000000000000000000000..."} 
[2026-09-18 09:09:26] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:09:26] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:09:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789702700000,"timestamp_ms":1789702700000,"timestamp_seconds":1789702700,"priority":1,"record_length":96,"hex_timestamp":"000001a0b297fbe0"} 
[2026-09-18 09:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09:26] 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-09-18 09:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 09:09:26] local.INFO: GPS data processed {"connection_id":187289,"processed":0,"errors":0,"total":1} 
[2026-09-18 09:09:26] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:28] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:28] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:28] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:09:29] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:29] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:29] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:09:30] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:30] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:30] local.INFO: IMEI packet received {"connection_id":185820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":185820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:09:31] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:31] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:31] local.INFO: IMEI packet received {"connection_id":185820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":185820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:09:33] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:33] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:09:33] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:09:34] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2986940012d0a73c007060730001300021a..."} 
[2026-09-18 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2986940012d0a73c007060730001300021a..."} 
[2026-09-18 09:09:34] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2986940012d0a73c007060730001300021a..."} 
[2026-09-18 09:09:34] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:09:34] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117835568,"longitude_deg":75.5659712,"latitude_deg":11.7835568,"altitude":19,"angle":2,"satellites":26,"speed":0,"hex_longitude":"2d0a73c0","hex_latitude":"07060730","is_valid_coordinates":true} 
[2026-09-18 09:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163893248001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016225353170944,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843575808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702728000,"timestamp_ms":1789702728000,"timestamp_seconds":1789702728,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2986940"} 
[2026-09-18 09:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09: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-09-18 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163893248001,"66":14428,"165":206,"94":10240,"24":0,"16":33016225353170944,"45":753227067843575808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163893248001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:09:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:09:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016225353170944,"km_value":33016225353170.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843575808,"description":"Unknown IO ID 45"} 
[2026-09-18 09:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163893248001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753227067843575808}} 
[2026-09-18 09:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:09:34] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:09:34] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:36] local.INFO: TCP Data received {"connection_id":185994,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:09:36] local.INFO: Processing buffer {"connection_id":185994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:09:36] local.INFO: IMEI packet received {"connection_id":185994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":185994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:09:36] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b298bb48012d0a73c0070607300013000219..."} 
[2026-09-18 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b298bb48012d0a73c0070607300013000219..."} 
[2026-09-18 09:09:36] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b298bb48012d0a73c0070607300013000219..."} 
[2026-09-18 09:09:36] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:09:36] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117835568,"longitude_deg":75.5659712,"latitude_deg":11.7835568,"altitude":19,"angle":2,"satellites":25,"speed":0,"hex_longitude":"2d0a73c0","hex_latitude":"07060730","is_valid_coordinates":true} 
[2026-09-18 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163898368001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016225353170944,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099443200,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789702749000,"timestamp_ms":1789702749000,"timestamp_seconds":1789702749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b298bb48"} 
[2026-09-18 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09: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-09-18 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:09: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-09-18 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163898368001,"66":14439,"165":206,"94":10240,"24":0,"16":33016225353170944,"45":753156699099443200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163898368001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:09:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:09:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016225353170944,"km_value":33016225353170.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099443200,"description":"Unknown IO ID 45"} 
[2026-09-18 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163898368001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753156699099443200}} 
[2026-09-18 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:09:36] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:09:36] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:41] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:41] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:09:41] local.INFO: IMEI packet received {"connection_id":185820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":185820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:09:42] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2979650012d79634005e8d148000300b322..."} 
[2026-09-18 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2979650012d79634005e8d148000300b322..."} 
[2026-09-18 09:09:42] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2979650012d79634005e8d148000300b322..."} 
[2026-09-18 09:09:42] local.INFO: Packet analysis {"connection_id":185820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:09:42] local.INFO: Extracted packet for processing {"connection_id":185820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":762929984,"raw_latitude":99144008,"longitude_deg":76.2929984,"latitude_deg":9.9144008,"altitude":3,"angle":179,"satellites":34,"speed":5,"hex_longitude":"2d796340","hex_latitude":"05e8d148","is_valid_coordinates":true} 
[2026-09-18 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163880192001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134557468503048192,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743668333178320896,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789702674000,"timestamp_ms":1789702674000,"timestamp_seconds":1789702674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2979650"} 
[2026-09-18 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163880192001,"66":13189,"203":206,"87":13824,"24":5,"16":134557468503048192,"45":8743668333178320896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163880192001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:09:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134557468503048192,"km_value":134557468503048.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743668333178320896,"description":"Unknown IO ID 45"} 
[2026-09-18 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163880192001,"power":13189,"mnc":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8743668333178320896}} 
[2026-09-18 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":185820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:09:42] local.INFO: GPS data processed {"connection_id":185820,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:09:42] local.INFO: Acknowledgment sent {"connection_id":185820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:51] local.INFO: TCP Data received {"connection_id":185819,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:09:51] local.INFO: Processing buffer {"connection_id":185819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:09:51] local.INFO: Packet analysis {"connection_id":185819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:09:51] local.INFO: Extracted packet for processing {"connection_id":185819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822224,"longitude_deg":75.8432384,"latitude_deg":11.1822224,"altitude":6,"angle":91,"satellites":39,"speed":2,"hex_longitude":"2d34c280","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080609280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789702542000,"timestamp_ms":1789702542000,"timestamp_seconds":1789702542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29592b0"} 
[2026-09-18 09:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09: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-09-18 09:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:51] 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-09-18 09:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850240001,"66":27908,"97":206,"81":23296,"24":2,"16":405177112941559808,"45":3801601064080609280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080609280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850240001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080609280}} 
[2026-09-18 09:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":185819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:09:51] local.INFO: GPS data processed {"connection_id":185819,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:09:51] local.INFO: Acknowledgment sent {"connection_id":185819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:09:57] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2984de80100000000000000000000000000..."} 
[2026-09-18 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2984de80100000000000000000000000000..."} 
[2026-09-18 09:09:57] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2984de80100000000000000000000000000..."} 
[2026-09-18 09:09:57] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:09:57] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:09:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-18 09:09:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789702721000,"timestamp_ms":1789702721000,"timestamp_seconds":1789702721,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2984de8"} 
[2026-09-18 09:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 09:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 09:09:57] local.INFO: GPS data processed {"connection_id":187289,"processed":0,"errors":0,"total":1} 
[2026-09-18 09:09:57] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:08] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b298d2b8012d0a7380070607980012015b1a..."} 
[2026-09-18 09:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b298d2b8012d0a7380070607980012015b1a..."} 
[2026-09-18 09:10:08] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b298d2b8012d0a7380070607980012015b1a..."} 
[2026-09-18 09:10:08] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:10:08] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835672,"longitude_deg":75.5659648,"latitude_deg":11.7835672,"altitude":18,"angle":347,"satellites":26,"speed":1,"hex_longitude":"2d0a7380","hex_latitude":"07060798","is_valid_coordinates":true} 
[2026-09-18 09:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163903744001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016229648138240,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099443200,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702755000,"timestamp_ms":1789702755000,"timestamp_seconds":1789702755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b298d2b8"} 
[2026-09-18 09:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10: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-09-18 09:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163903744001,"66":14450,"153":206,"94":10240,"24":1,"16":33016229648138240,"45":753156699099443200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-18 09:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163903744001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 09:10:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016229648138240,"km_value":33016229648138.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099443200,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163903744001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753156699099443200}} 
[2026-09-18 09:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859462,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:08] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:08] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:13] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:10:13] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:10:13] local.INFO: IMEI packet received {"connection_id":187294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":187294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:10:15] local.INFO: TCP Data received {"connection_id":185820,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b297e470012d79630005e8d128000300b324..."} 
[2026-09-18 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b297e470012d79630005e8d128000300b324..."} 
[2026-09-18 09:10:15] local.INFO: Processing buffer {"connection_id":185820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b297e470012d79630005e8d128000300b324..."} 
[2026-09-18 09:10:15] local.INFO: Packet analysis {"connection_id":185820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:10:15] local.INFO: Extracted packet for processing {"connection_id":185820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b297"} 
[2026-09-18 09:10:15] local.INFO: GPS Element Parsed {"raw_longitude":762929920,"raw_latitude":99143976,"longitude_deg":76.292992,"latitude_deg":9.9143976,"altitude":3,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d796300","hex_latitude":"05e8d128","is_valid_coordinates":true} 
[2026-09-18 09:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163884544001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134557472798015488,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746905295408678912,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789702694000,"timestamp_ms":1789702694000,"timestamp_seconds":1789702694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b297e470"} 
[2026-09-18 09:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10: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-09-18 09:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:15] 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-09-18 09:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163884544001,"66":13319,"203":206,"87":13824,"24":0,"16":134557472798015488,"45":8746905295408678912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 09:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163884544001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134557472798015488,"km_value":134557472798015.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746905295408678912,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163884544001,"power":13319,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8746905295408678912}} 
[2026-09-18 09:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":185820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:15] local.INFO: GPS data processed {"connection_id":185820,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:15] local.INFO: Acknowledgment sent {"connection_id":185820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:20] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:10:20] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:10:20] local.INFO: IMEI packet received {"connection_id":187294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":187294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:10:22] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:10:22] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:10:22] local.INFO: Packet analysis {"connection_id":187294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:10:22] local.INFO: Extracted packet for processing {"connection_id":187294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822224,"longitude_deg":75.8432384,"latitude_deg":11.1822224,"altitude":6,"angle":91,"satellites":39,"speed":2,"hex_longitude":"2d34c280","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:10: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-09-18 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080609280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789702542000,"timestamp_ms":1789702542000,"timestamp_seconds":1789702542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29592b0"} 
[2026-09-18 09:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10: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-09-18 09:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850240001,"66":27908,"97":206,"81":23296,"24":2,"16":405177112941559808,"45":3801601064080609280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080609280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850240001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080609280}} 
[2026-09-18 09:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":187294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:22] local.INFO: GPS data processed {"connection_id":187294,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:22] local.INFO: Acknowledgment sent {"connection_id":187294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:28] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b299d870012d196b400720ded00038007f09..."} 
[2026-09-18 09:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b299d870012d196b400720ded00038007f09..."} 
[2026-09-18 09:10:28] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b299d870012d196b400720ded00038007f09..."} 
[2026-09-18 09:10:28] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b299"} 
[2026-09-18 09:10:28] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b299"} 
[2026-09-18 09:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119594704,"longitude_deg":75.6640576,"latitude_deg":11.9594704,"altitude":56,"angle":127,"satellites":9,"speed":8,"hex_longitude":"2d196b40","hex_latitude":"0720ded0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163919616001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144802603040768,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829165166770427904,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789702822000,"timestamp_ms":1789702822000,"timestamp_seconds":1789702822,"priority":1,"record_length":96,"hex_timestamp":"000001a0b299d870"} 
[2026-09-18 09:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10:28] 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-09-18 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163919616001,"66":14233,"103":206,"83":41984,"24":8,"16":21144802603040768,"45":1829165166770427904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163919616001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21144802603040768,"km_value":21144802603040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829165166770427904,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163919616001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1829165166770427904}} 
[2026-09-18 09:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:28] local.INFO: GPS data processed {"connection_id":187289,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:28] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:28] local.INFO: TCP Data received {"connection_id":185995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:10:28] local.INFO: Processing buffer {"connection_id":185995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:10:28] local.INFO: IMEI packet received {"connection_id":185995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":185995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:10:31] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:31] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:31] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:10:33] local.INFO: TCP Data received {"connection_id":185995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:10:33] local.INFO: Processing buffer {"connection_id":185995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:10:33] local.INFO: IMEI packet received {"connection_id":185995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":185995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:10:33] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:33] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:33] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:10:34] local.INFO: TCP Data received {"connection_id":185995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b298ee10012d0a734007060780001200c61b..."} 
[2026-09-18 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b298ee10012d0a734007060780001200c61b..."} 
[2026-09-18 09:10:34] local.INFO: Processing buffer {"connection_id":185995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b298ee10012d0a734007060780001200c61b..."} 
[2026-09-18 09:10:34] local.INFO: Packet analysis {"connection_id":185995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:10:34] local.INFO: Extracted packet for processing {"connection_id":185995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835648,"longitude_deg":75.5659584,"latitude_deg":11.7835648,"altitude":18,"angle":198,"satellites":27,"speed":2,"hex_longitude":"2d0a7340","hex_latitude":"07060780","is_valid_coordinates":true} 
[2026-09-18 09:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163905280001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016238238072832,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355292160,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702762000,"timestamp_ms":1789702762000,"timestamp_seconds":1789702762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b298ee10"} 
[2026-09-18 09:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10: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-09-18 09:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:34] 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-09-18 09:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163905280001,"66":14613,"153":206,"94":10240,"24":2,"16":33016238238072832,"45":753086330355292160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-18 09:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163905280001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 09:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016238238072832,"km_value":33016238238072.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355292160,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163905280001,"power":14613,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753086330355292160}} 
[2026-09-18 09:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":185995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:34] local.INFO: GPS data processed {"connection_id":185995,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:34] local.INFO: Acknowledgment sent {"connection_id":185995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:36] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:36] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:10:36] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:10:37] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2980f68012d79640005e8cf280003009c24..."} 
[2026-09-18 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2980f68012d79640005e8cf280003009c24..."} 
[2026-09-18 09:10:37] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2980f68012d79640005e8cf280003009c24..."} 
[2026-09-18 09:10:37] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:10:37] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762930176,"raw_latitude":99143464,"longitude_deg":76.2930176,"latitude_deg":9.9143464,"altitude":3,"angle":156,"satellites":36,"speed":4,"hex_longitude":"2d796400","hex_latitude":"05e8cf28","is_valid_coordinates":true} 
[2026-09-18 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163889664001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134557498567819264,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746834926664493056,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702705000,"timestamp_ms":1789702705000,"timestamp_seconds":1789702705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2980f68"} 
[2026-09-18 09:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2996210864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4226629545105833989,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57752720140818230,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912093696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2532458497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3301138552641954048,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1954808014,"corrected_to":0} 
[2026-09-18 09:10:37] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871012,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,203,87,24,241,157,16,11,160,150,45,64,209,3,34,10,66,83,192,236,5,35,1,240,227,178,233,4,113,205,32,222,57,128,40,239,52,132,2,6],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1954808014,"validated":0}]} 
[2026-09-18 09:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216369749313978368,"timestamp_seconds":216369749313978.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163889664001,"66":13493,"203":206,"87":13824,"24":4,"16":134557498567819264,"45":8746834926664493056},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 09:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163889664001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134557498567819264,"km_value":134557498567819.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746834926664493056,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163889664001,"power":13493,"mnc":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8746834926664493056}} 
[2026-09-18 09:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:37] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:37] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:53] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:10:53] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:10:53] local.INFO: Packet analysis {"connection_id":187294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:10:53] local.INFO: Extracted packet for processing {"connection_id":187294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822224,"longitude_deg":75.8432384,"latitude_deg":11.1822224,"altitude":6,"angle":91,"satellites":39,"speed":2,"hex_longitude":"2d34c280","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080609280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789702542000,"timestamp_ms":1789702542000,"timestamp_seconds":1789702542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29592b0"} 
[2026-09-18 09:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 09:10:53] 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-09-18 09:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850240001,"66":27908,"97":206,"81":23296,"24":2,"16":405177112941559808,"45":3801601064080609280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080609280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850240001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080609280}} 
[2026-09-18 09:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":187294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:10:53] local.INFO: GPS data processed {"connection_id":187294,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:10:53] local.INFO: Acknowledgment sent {"connection_id":187294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:10:54] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:54] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:54] local.INFO: IMEI packet received {"connection_id":185821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":185821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:10:57] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:57] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:57] local.INFO: IMEI packet received {"connection_id":185821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":185821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:10:59] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:59] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:10:59] local.INFO: IMEI packet received {"connection_id":185821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":185821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:00] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b299dc58012d196bc00720de48003900a009..."} 
[2026-09-18 09:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b299dc58012d196bc00720de48003900a009..."} 
[2026-09-18 09:11:00] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b299dc58012d196bc00720de48003900a009..."} 
[2026-09-18 09:11:00] local.INFO: Packet analysis {"connection_id":185821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b299"} 
[2026-09-18 09:11:00] local.INFO: Extracted packet for processing {"connection_id":185821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b299"} 
[2026-09-18 09:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119594568,"longitude_deg":75.6640704,"latitude_deg":11.9594568,"altitude":57,"angle":160,"satellites":9,"speed":8,"hex_longitude":"2d196bc0","hex_latitude":"0720de48","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163922432001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144811192975360,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072816660480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789702823000,"timestamp_ms":1789702823000,"timestamp_seconds":1789702823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b299dc58"} 
[2026-09-18 09:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11: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-09-18 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163922432001,"66":13852,"103":206,"83":41984,"24":8,"16":21144811192975360,"45":1831628072816660480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163922432001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21144811192975360,"km_value":21144811192975.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072816660480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163922432001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831628072816660480}} 
[2026-09-18 09:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":185821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:00] local.INFO: GPS data processed {"connection_id":185821,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:00] local.INFO: Acknowledgment sent {"connection_id":185821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:00] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b299e428012d196c400720dc98003900b009..."} 
[2026-09-18 09:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b299e428012d196c400720dc98003900b009..."} 
[2026-09-18 09:11:00] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b299e428012d196c400720dc98003900b009..."} 
[2026-09-18 09:11:00] local.INFO: Packet analysis {"connection_id":185821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b299"} 
[2026-09-18 09:11:00] local.INFO: Extracted packet for processing {"connection_id":185821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b299"} 
[2026-09-18 09:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119594136,"longitude_deg":75.6640832,"latitude_deg":11.9594136,"altitude":57,"angle":176,"satellites":9,"speed":10,"hex_longitude":"2d196c40","hex_latitude":"0720dc98","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163922688001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144836962779136,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810304980992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789702825000,"timestamp_ms":1789702825000,"timestamp_seconds":1789702825,"priority":1,"record_length":96,"hex_timestamp":"000001a0b299e428"} 
[2026-09-18 09:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11: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-09-18 09: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163922688001,"66":14070,"103":206,"83":41984,"24":10,"16":21144836962779136,"45":1831768810304980992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163922688001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21144836962779136,"km_value":21144836962779.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810304980992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163922688001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1831768810304980992}} 
[2026-09-18 09:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":185821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:00] local.INFO: GPS data processed {"connection_id":185821,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:00] local.INFO: Acknowledgment sent {"connection_id":185821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:05] local.INFO: TCP Data received {"connection_id":185995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3248012d0a74c00705fb90001300ac1d..."} 
[2026-09-18 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3248012d0a74c00705fb90001300ac1d..."} 
[2026-09-18 09:11:05] local.INFO: Processing buffer {"connection_id":185995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3248012d0a74c00705fb90001300ac1d..."} 
[2026-09-18 09:11:05] local.INFO: Packet analysis {"connection_id":185995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:05] local.INFO: Extracted packet for processing {"connection_id":185995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:05] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117832592,"longitude_deg":75.5659968,"latitude_deg":11.7832592,"altitude":19,"angle":172,"satellites":29,"speed":12,"hex_longitude":"2d0a74c0","hex_latitude":"0705fb90","is_valid_coordinates":true} 
[2026-09-18 09:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163927552001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016418626699264,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587259904,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702845000,"timestamp_ms":1789702845000,"timestamp_seconds":1789702845,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3248"} 
[2026-09-18 09:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11: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-09-18 09:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163927552001,"66":14374,"153":206,"94":10240,"24":12,"16":33016418626699264,"45":753297436587259904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-18 09:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163927552001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 09:11:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016418626699264,"km_value":33016418626699.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587259904,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163927552001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753297436587259904}} 
[2026-09-18 09:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":185995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859471,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:05] local.INFO: GPS data processed {"connection_id":185995,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:05] local.INFO: Acknowledgment sent {"connection_id":185995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:08] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2984de8012d79700005e8ac20000300a024..."} 
[2026-09-18 09:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2984de8012d79700005e8ac20000300a024..."} 
[2026-09-18 09:11:08] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2984de8012d79700005e8ac20000300a024..."} 
[2026-09-18 09:11:08] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:11:08] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b298"} 
[2026-09-18 09:11:08] local.INFO: GPS Element Parsed {"raw_longitude":762933248,"raw_latitude":99134496,"longitude_deg":76.2933248,"latitude_deg":9.9134496,"altitude":3,"angle":160,"satellites":36,"speed":33,"hex_longitude":"2d797000","hex_latitude":"05e8ac20","is_valid_coordinates":true} 
[2026-09-18 09:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163892480001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134557962424287232,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8747116401641072640,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702721000,"timestamp_ms":1789702721000,"timestamp_seconds":1789702721,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2984de8"} 
[2026-09-18 09:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:08] 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-09-18 09:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163892480001,"66":13417,"203":206,"87":13824,"24":33,"16":134557962424287232,"45":8747116401641072640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-09-18 09:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163892480001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134557962424287232,"km_value":134557962424287.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8747116401641072640,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163892480001,"power":13417,"mnc":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8747116401641072640}} 
[2026-09-18 09:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:08] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:08] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:12] local.INFO: TCP Data received {"connection_id":185996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:11:12] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:11:12] local.INFO: IMEI packet received {"connection_id":185996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":185996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:11:18] local.INFO: TCP Data received {"connection_id":185996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:11:18] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:11:18] local.INFO: IMEI packet received {"connection_id":185996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":185996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:19] local.INFO: TCP Data received {"connection_id":185996,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:11:19] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29592b0012d34c28006aa45900006005b27..."} 
[2026-09-18 09:11:19] local.INFO: Packet analysis {"connection_id":185996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:11:19] local.INFO: Extracted packet for processing {"connection_id":185996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b295"} 
[2026-09-18 09:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822224,"longitude_deg":75.8432384,"latitude_deg":11.1822224,"altitude":6,"angle":91,"satellites":39,"speed":2,"hex_longitude":"2d34c280","hex_latitude":"06aa4590","is_valid_coordinates":true} 
[2026-09-18 09:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080609280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702542000,"timestamp_ms":1789702542000,"timestamp_seconds":1789702542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29592b0"} 
[2026-09-18 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-09-18 09:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 09:11: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-09-18 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-09-18 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-09-18 09:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850240001,"66":27908,"97":206,"81":23296,"24":2,"16":405177112941559808,"45":3801601064080609280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080609280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850240001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080609280}} 
[2026-09-18 09:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":185996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:19] local.INFO: GPS data processed {"connection_id":185996,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:19] local.INFO: Acknowledgment sent {"connection_id":185996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:26] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:26] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:26] local.INFO: IMEI packet received {"connection_id":185822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":185822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:11:28] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:28] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:28] local.INFO: IMEI packet received {"connection_id":185822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":185822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:28] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:28] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:28] local.INFO: IMEI packet received {"connection_id":185822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":185822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:31] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:31] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:31] local.INFO: IMEI packet received {"connection_id":185997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":185997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:11:31] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:31] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:31] local.INFO: IMEI packet received {"connection_id":185997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":185997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:32] local.INFO: TCP Data received {"connection_id":185821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29aab60012d1945400720ab90002f011709..."} 
[2026-09-18 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29aab60012d1945400720ab90002f011709..."} 
[2026-09-18 09:11:32] local.INFO: Processing buffer {"connection_id":185821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29aab60012d1945400720ab90002f011709..."} 
[2026-09-18 09:11:32] local.INFO: Packet analysis {"connection_id":185821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:32] local.INFO: Extracted packet for processing {"connection_id":185821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756630848,"raw_latitude":119581584,"longitude_deg":75.6630848,"latitude_deg":11.9581584,"altitude":47,"angle":279,"satellites":9,"speed":32,"hex_longitude":"2d194540","hex_latitude":"0720ab90","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163935488001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146048143556608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879697754112,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789702876000,"timestamp_ms":1789702876000,"timestamp_seconds":1789702876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29aab60"} 
[2026-09-18 09:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163935488001,"66":14265,"103":206,"83":41984,"24":32,"16":21146048143556608,"45":1823957879697754112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163935488001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146048143556608,"km_value":21146048143556.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879697754112,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163935488001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1823957879697754112}} 
[2026-09-18 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":185821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:32] local.INFO: GPS data processed {"connection_id":185821,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:32] local.INFO: Acknowledgment sent {"connection_id":185821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:36] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:36] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:11:36] local.INFO: IMEI packet received {"connection_id":185822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":185822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:36] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:36] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:11:36] local.INFO: IMEI packet received {"connection_id":185997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":185997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:37] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a6510012d0a75c00705e848001300ba1d..."} 
[2026-09-18 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a6510012d0a75c00705e848001300ba1d..."} 
[2026-09-18 09:11:37] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a6510012d0a75c00705e848001300ba1d..."} 
[2026-09-18 09:11:37] local.INFO: Packet analysis {"connection_id":185822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:37] local.INFO: Extracted packet for processing {"connection_id":185822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117827656,"longitude_deg":75.5660224,"latitude_deg":11.7827656,"altitude":19,"angle":186,"satellites":29,"speed":18,"hex_longitude":"2d0a75c0","hex_latitude":"0705e848","is_valid_coordinates":true} 
[2026-09-18 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928320001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016659144867840,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075392000,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702858000,"timestamp_ms":1789702858000,"timestamp_seconds":1789702858,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a6510"} 
[2026-09-18 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11: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-09-18 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928320001,"66":14396,"153":206,"94":10240,"24":18,"16":33016659144867840,"45":753438174075392000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928320001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016659144867840,"km_value":33016659144867.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075392000,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928320001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":753438174075392000}} 
[2026-09-18 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":185822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:37] local.INFO: GPS data processed {"connection_id":185822,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:37] local.INFO: Acknowledgment sent {"connection_id":185822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:37] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a9008012d79b98005e7aa200008014a28..."} 
[2026-09-18 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a9008012d79b98005e7aa200008014a28..."} 
[2026-09-18 09:11:37] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a9008012d79b98005e7aa200008014a28..."} 
[2026-09-18 09:11:37] local.INFO: Packet analysis {"connection_id":185997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:37] local.INFO: Extracted packet for processing {"connection_id":185997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99068448,"longitude_deg":76.2952064,"latitude_deg":9.9068448,"altitude":8,"angle":330,"satellites":40,"speed":6,"hex_longitude":"2d79b980","hex_latitude":"05e7aa20","is_valid_coordinates":true} 
[2026-09-18 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163930112001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134561445642764288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724595576832,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:37] 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-09-18 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702869000,"timestamp_ms":1789702869000,"timestamp_seconds":1789702869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a9008"} 
[2026-09-18 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:37] 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-09-18 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163930112001,"66":13580,"31":206,"87":13824,"24":6,"16":134561445642764288,"45":8771604724595576832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163930112001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134561445642764288,"km_value":134561445642764.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724595576832,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163930112001,"power":13580,"unknown_31":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8771604724595576832}} 
[2026-09-18 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":185997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:37] local.INFO: GPS data processed {"connection_id":185997,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:37] local.INFO: Acknowledgment sent {"connection_id":185997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:51] local.INFO: TCP Data received {"connection_id":185996,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:11:51] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:11:51] local.INFO: Packet analysis {"connection_id":185996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:51] local.INFO: Extracted packet for processing {"connection_id":185996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 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-09-18 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:51] 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-09-18 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-09-18 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-09-18 09:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":185996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:11:51] local.INFO: GPS data processed {"connection_id":185996,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:11:51] local.INFO: Acknowledgment sent {"connection_id":185996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:11:54] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:54] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:54] local.INFO: IMEI packet received {"connection_id":185998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":185998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:11:54] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:54] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:54] local.INFO: IMEI packet received {"connection_id":185998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":185998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:57] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:57] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:57] local.INFO: IMEI packet received {"connection_id":185998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":185998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:59] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:59] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:11:59] local.INFO: IMEI packet received {"connection_id":185998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":185998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:11:59] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ab718012d193bc00720b168002d012909..."} 
[2026-09-18 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ab718012d193bc00720b168002d012909..."} 
[2026-09-18 09:11:59] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ab718012d193bc00720b168002d012909..."} 
[2026-09-18 09:11:59] local.INFO: Packet analysis {"connection_id":185998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:59] local.INFO: Extracted packet for processing {"connection_id":185998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756628416,"raw_latitude":119583080,"longitude_deg":75.6628416,"latitude_deg":11.958308,"altitude":45,"angle":297,"satellites":9,"speed":35,"hex_longitude":"2d193bc0","hex_latitude":"0720b168","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163936256001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146185582510080,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820932023698296832,"note":"Value kept but may cause issues"} 
[2026-09-18 09:11: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-09-18 09:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789702879000,"timestamp_ms":1789702879000,"timestamp_seconds":1789702879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ab718"} 
[2026-09-18 09:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 09:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163936256001,"66":14265,"103":206,"83":41984,"24":35,"16":21146185582510080,"45":1820932023698296832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163936256001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:11:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146185582510080,"km_value":21146185582510.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820932023698296832,"description":"Unknown IO ID 45"} 
[2026-09-18 09:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163936256001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1820932023698296832}} 
[2026-09-18 09:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":185998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:00] local.INFO: GPS data processed {"connection_id":185998,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:00] local.INFO: Acknowledgment sent {"connection_id":185998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:08] local.INFO: TCP Data received {"connection_id":185822,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a70c8012d0a74c00705e3b0001300cb1d..."} 
[2026-09-18 09:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a70c8012d0a74c00705e3b0001300cb1d..."} 
[2026-09-18 09:12:08] local.INFO: Processing buffer {"connection_id":185822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a70c8012d0a74c00705e3b0001300cb1d..."} 
[2026-09-18 09:12:08] local.INFO: Packet analysis {"connection_id":185822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:08] local.INFO: Extracted packet for processing {"connection_id":185822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:08] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117826480,"longitude_deg":75.5659968,"latitude_deg":11.782648,"altitude":19,"angle":203,"satellites":29,"speed":14,"hex_longitude":"2d0a74c0","hex_latitude":"0705e3b0","is_valid_coordinates":true} 
[2026-09-18 09:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163931648001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33016719274409984,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649050839040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702861000,"timestamp_ms":1789702861000,"timestamp_seconds":1789702861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a70c8"} 
[2026-09-18 09:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12: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-09-18 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163931648001,"66":14439,"153":206,"94":10240,"24":14,"16":33016719274409984,"45":753719649050839040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163931648001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33016719274409984,"km_value":33016719274409.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649050839040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163931648001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753719649050839040}} 
[2026-09-18 09:12:08] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a93f0012d79b90005e7aae00008015e28..."} 
[2026-09-18 09:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a93f0012d79b90005e7aae00008015e28..."} 
[2026-09-18 09:12:08] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a93f0012d79b90005e7aae00008015e28..."} 
[2026-09-18 09:12:08] local.INFO: Packet analysis {"connection_id":185997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:08] local.INFO: Extracted packet for processing {"connection_id":185997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:08] local.INFO: GPS Element Parsed {"raw_longitude":762951936,"raw_latitude":99068640,"longitude_deg":76.2951936,"latitude_deg":9.906864,"altitude":8,"angle":350,"satellites":40,"speed":9,"hex_longitude":"2d79b900","hex_latitude":"05e7aae0","is_valid_coordinates":true} 
[2026-09-18 09:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163934464001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134561454232698880,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512130629632,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] 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-09-18 09:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789702870000,"timestamp_ms":1789702870000,"timestamp_seconds":1789702870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a93f0"} 
[2026-09-18 09:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635981,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2996394864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2446139593406283776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13460766,"corrected_to":0} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2575466497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":231,"raw_value":4232577025,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937916363,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696465102,"corrected_to":0} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2952867193,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221612544,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906504962690647,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3893647360,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-6989580127066128382,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:08] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,31,87,24,241,157,16,14,160,77,45,168,6,39,10,66,30,255,183,3,37,193,192,1,240,203,227,178,231,4,113,205,22,122,174,208,34,239,52,2,222,5,28,121,54],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":203,"original":13460766,"validated":0},{"io_id":205,"original":1696465102,"validated":0}]} 
[2026-09-18 09:12:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576823762939674624,"timestamp_seconds":576823762939674.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163934464001,"66":13559,"31":206,"87":13824,"24":9,"16":134561454232698880,"45":8771182512130629632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163934464001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134561454232698880,"km_value":134561454232698.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512130629632,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163934464001,"power":13559,"unknown_31":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8771182512130629632}} 
[2026-09-18 09:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":185997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:08] local.INFO: GPS data processed {"connection_id":185997,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:08] local.INFO: Acknowledgment sent {"connection_id":185997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":185822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:08] local.INFO: GPS data processed {"connection_id":185822,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:08] local.INFO: Acknowledgment sent {"connection_id":185822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:18] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:12:18] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:12:18] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:12:23] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:12:23] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:12:23] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:12:24] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:12:24] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:12:24] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:24] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:24] 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-09-18 09:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:24] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:24] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:28] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:12:28] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:12:28] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:12:28] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:12:28] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:12:28] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:28] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:28] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:28] 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-09-18 09:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:12:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:28] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:28] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:30] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29bb500012d18a44007216ef80001013b0a..."} 
[2026-09-18 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29bb500012d18a44007216ef80001013b0a..."} 
[2026-09-18 09:12:30] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29bb500012d18a44007216ef80001013b0a..."} 
[2026-09-18 09:12:30] local.INFO: Packet analysis {"connection_id":185998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:12:30] local.INFO: Extracted packet for processing {"connection_id":185998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756589632,"raw_latitude":119631608,"longitude_deg":75.6589632,"latitude_deg":11.9631608,"altitude":1,"angle":315,"satellites":10,"speed":36,"hex_longitude":"2d18a440","hex_latitude":"07216ef8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163951616001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149372448243712,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780962577016539136,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789702944000,"timestamp_ms":1789702944000,"timestamp_seconds":1789702944,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29bb500"} 
[2026-09-18 09:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163951616001,"66":14298,"103":206,"83":41984,"24":36,"16":21149372448243712,"45":1780962577016539136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163951616001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149372448243712,"km_value":21149372448243.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780962577016539136,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163951616001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1780962577016539136}} 
[2026-09-18 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":185998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:30] local.INFO: GPS data processed {"connection_id":185998,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:30] local.INFO: Acknowledgment sent {"connection_id":185998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:33] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:33] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:33] local.INFO: IMEI packet received {"connection_id":188611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":188611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:12:33] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:12:33] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:12:33] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:12:34] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29b99a8012d0a51c007057bb8000e01061e..."} 
[2026-09-18 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29b99a8012d0a51c007057bb8000e01061e..."} 
[2026-09-18 09:12:34] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29b99a8012d0a51c007057bb8000e01061e..."} 
[2026-09-18 09:12:34] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:12:34] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":755651008,"raw_latitude":117799864,"longitude_deg":75.5651008,"latitude_deg":11.7799864,"altitude":14,"angle":262,"satellites":30,"speed":17,"hex_longitude":"2d0a51c0","hex_latitude":"07057bb8","is_valid_coordinates":true} 
[2026-09-18 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163949824001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33018329887145984,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749075311928645632,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789702937000,"timestamp_ms":1789702937000,"timestamp_seconds":1789702937,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29b99a8"} 
[2026-09-18 09:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12: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-09-18 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163949824001,"66":14396,"165":206,"94":10240,"24":17,"16":33018329887145984,"45":749075311928645632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163949824001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:12:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33018329887145984,"km_value":33018329887145.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":749075311928645632,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163949824001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":749075311928645632}} 
[2026-09-18 09:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:34] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:34] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:36] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:36] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:36] local.INFO: IMEI packet received {"connection_id":188611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":188611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:12:37] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:37] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:12:37] local.INFO: IMEI packet received {"connection_id":188611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":188611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:12:38] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ae210012d79b70005e7bdc80008016425..."} 
[2026-09-18 09:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ae210012d79b70005e7bdc80008016425..."} 
[2026-09-18 09:12:38] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ae210012d79b70005e7bdc80008016425..."} 
[2026-09-18 09:12:38] local.INFO: Packet analysis {"connection_id":188611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:38] local.INFO: Extracted packet for processing {"connection_id":188611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:12:38] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99073480,"longitude_deg":76.2951424,"latitude_deg":9.907348,"altitude":8,"angle":356,"satellites":37,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7bdc8","is_valid_coordinates":true} 
[2026-09-18 09:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163934720001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134561694750867456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771041774642323456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:38] 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-09-18 09:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789702890000,"timestamp_ms":1789702890000,"timestamp_seconds":1789702890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ae210"} 
[2026-09-18 09:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163934720001,"66":13254,"31":206,"87":13824,"24":0,"16":134561694750867456,"45":8771041774642323456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163934720001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:12:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134561694750867456,"km_value":134561694750867.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771041774642323456,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163934720001,"power":13254,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771041774642323456}} 
[2026-09-18 09:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":188611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:38] local.INFO: GPS data processed {"connection_id":188611,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:38] local.INFO: Acknowledgment sent {"connection_id":188611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:42] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29b3418012d79b70005e7bdc80008016428..."} 
[2026-09-18 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29b3418012d79b70005e7bdc80008016428..."} 
[2026-09-18 09:12:42] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29b3418012d79b70005e7bdc80008016428..."} 
[2026-09-18 09:12:42] local.INFO: Packet analysis {"connection_id":188611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:12:42] local.INFO: Extracted packet for processing {"connection_id":188611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:12:42] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99073480,"longitude_deg":76.2951424,"latitude_deg":9.907348,"altitude":8,"angle":356,"satellites":40,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7bdc8","is_valid_coordinates":true} 
[2026-09-18 09:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163939840001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134561694750867456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824690141184,"note":"Value kept but may cause issues"} 
[2026-09-18 09:12:42] 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-09-18 09:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789702911000,"timestamp_ms":1789702911000,"timestamp_seconds":1789702911,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29b3418"} 
[2026-09-18 09:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:12: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-09-18 09:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 09:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163939840001,"66":13493,"31":206,"87":13824,"24":0,"16":134561694750867456,"45":8770478824690141184},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163939840001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:12:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:12:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134561694750867456,"km_value":134561694750867.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824690141184,"description":"Unknown IO ID 45"} 
[2026-09-18 09:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163939840001,"power":13493,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824690141184}} 
[2026-09-18 09:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":188611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:12:42] local.INFO: GPS data processed {"connection_id":188611,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:12:42] local.INFO: Acknowledgment sent {"connection_id":188611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:12:57] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:12:57] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:12:57] local.INFO: IMEI packet received {"connection_id":185823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":185823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:12:59] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:12:59] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:12:59] local.INFO: IMEI packet received {"connection_id":185823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":185823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:00] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:00] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:00] local.INFO: IMEI packet received {"connection_id":185823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":185823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:00] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29bbcd0012d189ec007217340000201290b..."} 
[2026-09-18 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29bbcd0012d189ec007217340000201290b..."} 
[2026-09-18 09:13:00] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29bbcd0012d189ec007217340000201290b..."} 
[2026-09-18 09:13:00] local.INFO: Packet analysis {"connection_id":185823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:00] local.INFO: Extracted packet for processing {"connection_id":185823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756588224,"raw_latitude":119632704,"longitude_deg":75.6588224,"latitude_deg":11.9632704,"altitude":2,"angle":297,"satellites":11,"speed":32,"hex_longitude":"2d189ec0","hex_latitude":"07217340","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163953664001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149458347589632,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775614552460687360,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789702946000,"timestamp_ms":1789702946000,"timestamp_seconds":1789702946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29bbcd0"} 
[2026-09-18 09:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163953664001,"66":13689,"103":206,"83":41984,"24":32,"16":21149458347589632,"45":1775614552460687360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163953664001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149458347589632,"km_value":21149458347589.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775614552460687360,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163953664001,"power":13689,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1775614552460687360}} 
[2026-09-18 09:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":185823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:00] local.INFO: GPS data processed {"connection_id":185823,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:00] local.INFO: Acknowledgment sent {"connection_id":185823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:05] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29bc4a0012d189780072175d80001011e0b..."} 
[2026-09-18 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29bc4a0012d189780072175d80001011e0b..."} 
[2026-09-18 09:13:05] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29bc4a0012d189780072175d80001011e0b..."} 
[2026-09-18 09:13:05] local.INFO: Packet analysis {"connection_id":185823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:05] local.INFO: Extracted packet for processing {"connection_id":185823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119633368,"longitude_deg":75.6586368,"latitude_deg":11.9633368,"altitude":1,"angle":286,"satellites":11,"speed":36,"hex_longitude":"2d189780","hex_latitude":"072175d8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163954176001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149552836870144,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774066440089059328,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13: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-09-18 09:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702948000,"timestamp_ms":1789702948000,"timestamp_seconds":1789702948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29bc4a0"} 
[2026-09-18 09:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163954176001,"66":14243,"103":206,"83":41984,"24":36,"16":21149552836870144,"45":1774066440089059328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163954176001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149552836870144,"km_value":21149552836870.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774066440089059328,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163954176001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1774066440089059328}} 
[2026-09-18 09:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":185823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:05] local.INFO: GPS data processed {"connection_id":185823,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:05] local.INFO: Acknowledgment sent {"connection_id":185823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:05] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29b9d90012d0a500007057bc8000e01171d..."} 
[2026-09-18 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29b9d90012d0a500007057bc8000e01171d..."} 
[2026-09-18 09:13:05] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29b9d90012d0a500007057bc8000e01171d..."} 
[2026-09-18 09:13:05] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:05] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":755650560,"raw_latitude":117799880,"longitude_deg":75.565056,"latitude_deg":11.779988,"altitude":14,"angle":279,"satellites":29,"speed":17,"hex_longitude":"2d0a5000","hex_latitude":"07057bc8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163951872001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33018351361982464,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743586549882140672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789702938000,"timestamp_ms":1789702938000,"timestamp_seconds":1789702938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29b9d90"} 
[2026-09-18 09:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163951872001,"66":14396,"165":206,"94":10240,"24":17,"16":33018351361982464,"45":743586549882140672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 09:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163951872001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33018351361982464,"km_value":33018351361982.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":743586549882140672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163951872001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":743586549882140672}} 
[2026-09-18 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:06] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:06] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:13] local.INFO: TCP Data received {"connection_id":187295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:13:13] local.INFO: Processing buffer {"connection_id":187295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:13:13] local.INFO: IMEI packet received {"connection_id":187295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:13:13] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29b5358012d79b58005e7c4000008015728..."} 
[2026-09-18 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29b5358012d79b58005e7c4000008015728..."} 
[2026-09-18 09:13:13] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29b5358012d79b58005e7c4000008015728..."} 
[2026-09-18 09:13:13] local.INFO: Packet analysis {"connection_id":188611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:13] local.INFO: Extracted packet for processing {"connection_id":188611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:13] local.INFO: GPS Element Parsed {"raw_longitude":762951040,"raw_latitude":99075072,"longitude_deg":76.295104,"latitude_deg":9.9075072,"altitude":8,"angle":343,"satellites":40,"speed":15,"hex_longitude":"2d79b580","hex_latitude":"05e7c400","is_valid_coordinates":true} 
[2026-09-18 09:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163945216001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134561776355246080,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824690141184,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:13] 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-09-18 09:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789702919000,"timestamp_ms":1789702919000,"timestamp_seconds":1789702919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29b5358"} 
[2026-09-18 09:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13: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-09-18 09:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:13] 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-09-18 09:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163945216001,"66":13450,"31":206,"87":13824,"24":15,"16":134561776355246080,"45":8770478824690141184},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163945216001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134561776355246080,"km_value":134561776355246.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824690141184,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163945216001,"power":13450,"unknown_31":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8770478824690141184}} 
[2026-09-18 09:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":188611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:13] local.INFO: GPS data processed {"connection_id":188611,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:13] local.INFO: Acknowledgment sent {"connection_id":188611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:18] local.INFO: TCP Data received {"connection_id":187295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:13:18] local.INFO: Processing buffer {"connection_id":187295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:13:18] local.INFO: IMEI packet received {"connection_id":187295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:19] local.INFO: TCP Data received {"connection_id":187295,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:13:19] local.INFO: Processing buffer {"connection_id":187295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:13:19] local.INFO: Packet analysis {"connection_id":187295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:13:19] local.INFO: Extracted packet for processing {"connection_id":187295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:13: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-09-18 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":187295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:19] local.INFO: GPS data processed {"connection_id":187295,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:19] local.INFO: Acknowledgment sent {"connection_id":187295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:28] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:13:28] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:13:28] local.INFO: IMEI packet received {"connection_id":185824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":185824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:13:29] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 09:13:29] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 09:13:29] local.INFO: IMEI packet received {"connection_id":185824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":185824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:30] local.INFO: TCP Data received {"connection_id":185824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:13:30] local.INFO: Processing buffer {"connection_id":185824,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 09:13:30] local.INFO: IMEI packet received {"connection_id":185824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":185824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:31] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:13:31] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:13:31] local.INFO: IMEI packet received {"connection_id":187296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":187296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:13:36] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:13:36] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:13:36] local.INFO: IMEI packet received {"connection_id":187296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":187296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:36] local.INFO: TCP Data received {"connection_id":185823,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29c9b78012d1818400721a8d8002300040c..."} 
[2026-09-18 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29c9b78012d1818400721a8d8002300040c..."} 
[2026-09-18 09:13:36] local.INFO: Processing buffer {"connection_id":185823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29c9b78012d1818400721a8d8002300040c..."} 
[2026-09-18 09:13:36] local.INFO: Packet analysis {"connection_id":185823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:13:36] local.INFO: Extracted packet for processing {"connection_id":185823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119646424,"longitude_deg":75.6553792,"latitude_deg":11.9646424,"altitude":35,"angle":4,"satellites":12,"speed":11,"hex_longitude":"2d181840","hex_latitude":"0721a8d8","is_valid_coordinates":true} 
[2026-09-18 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163968256001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21151292298625024,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724875776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13: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-09-18 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789703003000,"timestamp_ms":1789703003000,"timestamp_seconds":1789703003,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29c9b78"} 
[2026-09-18 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163968256001,"66":13961,"105":206,"83":41984,"24":11,"16":21151292298625024,"45":1736208055724875776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163968256001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21151292298625024,"km_value":21151292298625.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724875776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163968256001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1736208055724875776}} 
[2026-09-18 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":185823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:36] local.INFO: GPS data processed {"connection_id":185823,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:36] local.INFO: Acknowledgment sent {"connection_id":185823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:37] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29b95c0012d79ad4005e7e8180009016427..."} 
[2026-09-18 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29b95c0012d79ad4005e7e8180009016427..."} 
[2026-09-18 09:13:37] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29b95c0012d79ad4005e7e8180009016427..."} 
[2026-09-18 09:13:37] local.INFO: Packet analysis {"connection_id":187296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:37] local.INFO: Extracted packet for processing {"connection_id":187296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762948928,"raw_latitude":99084312,"longitude_deg":76.2948928,"latitude_deg":9.9084312,"altitude":9,"angle":356,"satellites":39,"speed":26,"hex_longitude":"2d79ad40","hex_latitude":"05e7e818","is_valid_coordinates":true} 
[2026-09-18 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163947264001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134562235916746752,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770056612225482752,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:37] 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-09-18 09:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789702936000,"timestamp_ms":1789702936000,"timestamp_seconds":1789702936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29b95c0"} 
[2026-09-18 09:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163947264001,"66":13526,"31":206,"87":13824,"24":26,"16":134562235916746752,"45":8770056612225482752},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163947264001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:13:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134562235916746752,"km_value":134562235916746.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770056612225482752,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163947264001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8770056612225482752}} 
[2026-09-18 09:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":187296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:37] local.INFO: GPS data processed {"connection_id":187296,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:37] local.INFO: Acknowledgment sent {"connection_id":187296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:50] local.INFO: TCP Data received {"connection_id":187295,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:13:50] local.INFO: Processing buffer {"connection_id":187295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:13:50] local.INFO: Packet analysis {"connection_id":187295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:13:50] local.INFO: Extracted packet for processing {"connection_id":187295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:50] 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-09-18 09:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":187295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:50] local.INFO: GPS data processed {"connection_id":187295,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:50] local.INFO: Acknowledgment sent {"connection_id":187295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:13:54] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:54] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:54] local.INFO: IMEI packet received {"connection_id":185825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":185825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:13:58] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:58] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:13:58] local.INFO: IMEI packet received {"connection_id":185825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":185825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:13:58] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29c9f60012d1819000721aa40002400160c..."} 
[2026-09-18 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29c9f60012d1819000721aa40002400160c..."} 
[2026-09-18 09:13:58] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29c9f60012d1819000721aa40002400160c..."} 
[2026-09-18 09:13:58] local.INFO: Packet analysis {"connection_id":185825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:13:58] local.INFO: Extracted packet for processing {"connection_id":185825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119646784,"longitude_deg":75.6553984,"latitude_deg":11.9646784,"altitude":36,"angle":22,"satellites":12,"speed":15,"hex_longitude":"2d181900","hex_latitude":"0721aa40","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163968768001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21151313773461504,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724988416,"note":"Value kept but may cause issues"} 
[2026-09-18 09:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789703004000,"timestamp_ms":1789703004000,"timestamp_seconds":1789703004,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29c9f60"} 
[2026-09-18 09:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 09:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163968768001,"66":13961,"105":206,"83":41984,"24":15,"16":21151313773461504,"45":1736208055724988416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163968768001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21151313773461504,"km_value":21151313773461.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724988416,"description":"Unknown IO ID 45"} 
[2026-09-18 09:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163968768001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1736208055724988416}} 
[2026-09-18 09:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":185825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:13:58] local.INFO: GPS data processed {"connection_id":185825,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:13:58] local.INFO: Acknowledgment sent {"connection_id":185825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:14:13] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:14:13] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:14:13] local.INFO: IMEI packet received {"connection_id":185826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":185826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:14:17] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29b95c0012d79ad4005e7e8180009016427..."} 
[2026-09-18 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29b95c0012d79ad4005e7e8180009016427..."} 
[2026-09-18 09:14:17] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29b95c0012d79ad4005e7e8180009016427..."} 
[2026-09-18 09:14:17] local.INFO: Packet analysis {"connection_id":187296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:14:17] local.INFO: Extracted packet for processing {"connection_id":187296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29b"} 
[2026-09-18 09:14:17] local.INFO: GPS Element Parsed {"raw_longitude":762948928,"raw_latitude":99084312,"longitude_deg":76.2948928,"latitude_deg":9.9084312,"altitude":9,"angle":356,"satellites":39,"speed":26,"hex_longitude":"2d79ad40","hex_latitude":"05e7e818","is_valid_coordinates":true} 
[2026-09-18 09:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163951616001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134562235916746752,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767734443669985280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:17] 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-09-18 09:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789702936000,"timestamp_ms":1789702936000,"timestamp_seconds":1789702936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29b95c0"} 
[2026-09-18 09:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:14: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-09-18 09:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 09:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163951616001,"66":13526,"31":206,"87":13824,"24":26,"16":134562235916746752,"45":8767734443669985280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163951616001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:14:17] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:14:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134562235916746752,"km_value":134562235916746.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767734443669985280,"description":"Unknown IO ID 45"} 
[2026-09-18 09:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163951616001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8767734443669985280}} 
[2026-09-18 09:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":187296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:14:17] local.INFO: GPS data processed {"connection_id":187296,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:14:17] local.INFO: Acknowledgment sent {"connection_id":187296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:14:18] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:14:18] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:14:18] local.INFO: IMEI packet received {"connection_id":185826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":185826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:14:19] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:14:19] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:14:19] local.INFO: Packet analysis {"connection_id":185826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:14:19] local.INFO: Extracted packet for processing {"connection_id":185826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:14: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-09-18 09:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":185826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:14:19] local.INFO: GPS data processed {"connection_id":185826,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:14:19] local.INFO: Acknowledgment sent {"connection_id":185826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:14:29] local.INFO: TCP Data received {"connection_id":185825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ca730012d181b000721ad80002600230c..."} 
[2026-09-18 09:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ca730012d181b000721ad80002600230c..."} 
[2026-09-18 09:14:29] local.INFO: Processing buffer {"connection_id":185825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ca730012d181b000721ad80002600230c..."} 
[2026-09-18 09:14:29] local.INFO: Packet analysis {"connection_id":185825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:14:29] local.INFO: Extracted packet for processing {"connection_id":185825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119647616,"longitude_deg":75.6554496,"latitude_deg":11.9647616,"altitude":38,"angle":35,"satellites":12,"speed":20,"hex_longitude":"2d181b00","hex_latitude":"0721ad80","is_valid_coordinates":true} 
[2026-09-18 09:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163969024001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21151361018101760,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161957613568,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789703006000,"timestamp_ms":1789703006000,"timestamp_seconds":1789703006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ca730"} 
[2026-09-18 09:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 09:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163969024001,"66":14265,"105":206,"83":41984,"24":20,"16":21151361018101760,"45":1736419161957613568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163969024001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21151361018101760,"km_value":21151361018101.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161957613568,"description":"Unknown IO ID 45"} 
[2026-09-18 09:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163969024001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1736419161957613568}} 
[2026-09-18 09:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":185825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:14:30] local.INFO: GPS data processed {"connection_id":185825,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:14:30] local.INFO: Acknowledgment sent {"connection_id":185825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:14:31] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:14:31] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:14:31] local.INFO: IMEI packet received {"connection_id":185828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":185828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:14:33] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:14:33] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:14:33] local.INFO: IMEI packet received {"connection_id":185828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":185828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:14:34] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29d2430012d79af0005e7ff58000500ac29..."} 
[2026-09-18 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29d2430012d79af0005e7ff58000500ac29..."} 
[2026-09-18 09:14:34] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29d2430012d79af0005e7ff58000500ac29..."} 
[2026-09-18 09:14:34] local.INFO: Packet analysis {"connection_id":185828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:14:34] local.INFO: Extracted packet for processing {"connection_id":185828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762949376,"raw_latitude":99090264,"longitude_deg":76.2949376,"latitude_deg":9.9090264,"altitude":5,"angle":172,"satellites":41,"speed":26,"hex_longitude":"2d79af00","hex_latitude":"05e7ff58","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163977216001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134563180809551872,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767804812416004096,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789703038000,"timestamp_ms":1789703038000,"timestamp_seconds":1789703038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29d2430"} 
[2026-09-18 09:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 09:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163977216001,"66":13624,"202":206,"87":13824,"24":26,"16":134563180809551872,"45":8767804812416004096},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-09-18 09:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163977216001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134563180809551872,"km_value":134563180809551.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767804812416004096,"description":"Unknown IO ID 45"} 
[2026-09-18 09:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163977216001,"power":13624,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8767804812416004096}} 
[2026-09-18 09:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":185828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:14:34] local.INFO: GPS data processed {"connection_id":185828,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:14:34] local.INFO: Acknowledgment sent {"connection_id":185828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:14:50] local.INFO: TCP Data received {"connection_id":185826,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:14:50] local.INFO: Processing buffer {"connection_id":185826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:14:50] local.INFO: Packet analysis {"connection_id":185826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:14:50] local.INFO: Extracted packet for processing {"connection_id":185826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:14:50] 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-09-18 09:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":185826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:14:50] local.INFO: GPS data processed {"connection_id":185826,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:14:50] local.INFO: Acknowledgment sent {"connection_id":185826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:14:54] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:54] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:54] local.INFO: IMEI packet received {"connection_id":185829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":185829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:14:54] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:54] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:54] local.INFO: IMEI packet received {"connection_id":185829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":185829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:14:56] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:56] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:14:56] local.INFO: IMEI packet received {"connection_id":185829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":185829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:15:06] local.INFO: TCP Data received {"connection_id":185828,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29d5ae0012d79b1c005e7da80000500a827..."} 
[2026-09-18 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29d5ae0012d79b1c005e7da80000500a827..."} 
[2026-09-18 09:15:06] local.INFO: Processing buffer {"connection_id":185828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29d5ae0012d79b1c005e7da80000500a827..."} 
[2026-09-18 09:15:06] local.INFO: Packet analysis {"connection_id":185828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:15:06] local.INFO: Extracted packet for processing {"connection_id":185828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762950080,"raw_latitude":99080832,"longitude_deg":76.295008,"latitude_deg":9.9080832,"altitude":5,"angle":168,"satellites":39,"speed":26,"hex_longitude":"2d79b1c0","hex_latitude":"05e7da80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163977728001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134563640371052544,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768227024880752640,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789703052000,"timestamp_ms":1789703052000,"timestamp_seconds":1789703052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29d5ae0"} 
[2026-09-18 09:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 09:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163977728001,"66":13439,"202":206,"87":13824,"24":26,"16":134563640371052544,"45":8768227024880752640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-09-18 09:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163977728001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:15:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134563640371052544,"km_value":134563640371052.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768227024880752640,"description":"Unknown IO ID 45"} 
[2026-09-18 09:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163977728001,"power":13439,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8768227024880752640}} 
[2026-09-18 09:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":185828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:15:06] local.INFO: GPS data processed {"connection_id":185828,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:15:06] local.INFO: Acknowledgment sent {"connection_id":185828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:15:07] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29cd610012d182fc00721cc40002e00210c..."} 
[2026-09-18 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29cd610012d182fc00721cc40002e00210c..."} 
[2026-09-18 09:15:07] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29cd610012d182fc00721cc40002e00210c..."} 
[2026-09-18 09:15:07] local.INFO: Packet analysis {"connection_id":185829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:15:07] local.INFO: Extracted packet for processing {"connection_id":185829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29c"} 
[2026-09-18 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":119655488,"longitude_deg":75.6559808,"latitude_deg":11.9655488,"altitude":46,"angle":33,"satellites":12,"speed":37,"hex_longitude":"2d182fc0","hex_latitude":"0721cc40","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163969536001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21151820579602432,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111911247872,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15: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-09-18 09:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789703018000,"timestamp_ms":1789703018000,"timestamp_seconds":1789703018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29cd610"} 
[2026-09-18 09:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 09:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163969536001,"66":14113,"105":206,"83":41984,"24":37,"16":21151820579602432,"45":1736982111911247872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163969536001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21151820579602432,"km_value":21151820579602.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111911247872,"description":"Unknown IO ID 45"} 
[2026-09-18 09:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163969536001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1736982111911247872}} 
[2026-09-18 09:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":185829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:15:07] local.INFO: GPS data processed {"connection_id":185829,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:15:07] local.INFO: Acknowledgment sent {"connection_id":185829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:15:11] local.INFO: TCP Data received {"connection_id":188612,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:15:11] local.INFO: Processing buffer {"connection_id":188612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:15:11] local.INFO: IMEI packet received {"connection_id":188612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":188612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:15:12] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:15:12] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:15:12] local.INFO: IMEI packet received {"connection_id":185999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":185999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:15:18] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:15:18] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:15:18] local.INFO: IMEI packet received {"connection_id":185999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":185999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:15:20] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:15:20] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:15:20] local.INFO: Packet analysis {"connection_id":185999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:15:20] local.INFO: Extracted packet for processing {"connection_id":185999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 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-09-18 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":185999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:15:20] local.INFO: GPS data processed {"connection_id":185999,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:15:20] local.INFO: Acknowledgment sent {"connection_id":185999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:15:32] local.INFO: TCP Data received {"connection_id":186000,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:15:32] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:15:32] local.INFO: IMEI packet received {"connection_id":186000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":186000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:15:36] local.INFO: TCP Data received {"connection_id":186000,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:15:36] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:15:36] local.INFO: IMEI packet received {"connection_id":186000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":186000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:15:37] local.INFO: TCP Data received {"connection_id":186000,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29da900012d79b8c005e7bb40000400ae29..."} 
[2026-09-18 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29da900012d79b8c005e7bb40000400ae29..."} 
[2026-09-18 09:15:37] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29da900012d79b8c005e7bb40000400ae29..."} 
[2026-09-18 09:15:37] local.INFO: Packet analysis {"connection_id":186000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:15:37] local.INFO: Extracted packet for processing {"connection_id":186000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762951872,"raw_latitude":99072832,"longitude_deg":76.2951872,"latitude_deg":9.9072832,"altitude":4,"angle":174,"satellites":41,"speed":17,"hex_longitude":"2d79b8c0","hex_latitude":"05e7bb40","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163981312001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564039803011072,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769001081064292352,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703072000,"timestamp_ms":1789703072000,"timestamp_seconds":1789703072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29da900"} 
[2026-09-18 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163981312001,"66":13559,"32":206,"87":13824,"24":17,"16":134564039803011072,"45":8769001081064292352},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-18 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163981312001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:15:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-18 09:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564039803011072,"km_value":134564039803011.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769001081064292352,"description":"Unknown IO ID 45"} 
[2026-09-18 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163981312001,"power":13559,"unknown_32":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8769001081064292352}} 
[2026-09-18 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":186000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:15:37] local.INFO: GPS data processed {"connection_id":186000,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:15:37] local.INFO: Acknowledgment sent {"connection_id":186000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:15:52] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:15:52] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:15:52] local.INFO: Packet analysis {"connection_id":185999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:15:52] local.INFO: Extracted packet for processing {"connection_id":185999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":185999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:15:52] local.INFO: GPS data processed {"connection_id":185999,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:15:52] local.INFO: Acknowledgment sent {"connection_id":185999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:15:55] local.INFO: TCP Data received {"connection_id":185829,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29e6868012d18fc000722fd28005b003810..."} 
[2026-09-18 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29e6868012d18fc000722fd28005b003810..."} 
[2026-09-18 09:15:55] local.INFO: Processing buffer {"connection_id":185829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29e6868012d18fc000722fd28005b003810..."} 
[2026-09-18 09:15:55] local.INFO: Packet analysis {"connection_id":185829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:15:55] local.INFO: Extracted packet for processing {"connection_id":185829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756612096,"raw_latitude":119733544,"longitude_deg":75.6612096,"latitude_deg":11.9733544,"altitude":91,"angle":56,"satellites":16,"speed":45,"hex_longitude":"2d18fc00","hex_latitude":"0722fd28","is_valid_coordinates":true} 
[2026-09-18 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163998720001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21156996015194112,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799117713041971200,"note":"Value kept but may cause issues"} 
[2026-09-18 09:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789703121000,"timestamp_ms":1789703121000,"timestamp_seconds":1789703121,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29e6868"} 
[2026-09-18 09:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:15:55] 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-09-18 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163998720001,"66":14048,"105":206,"83":41984,"24":45,"16":21156996015194112,"45":1799117713041971200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163998720001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:15:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21156996015194112,"km_value":21156996015194.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799117713041971200,"description":"Unknown IO ID 45"} 
[2026-09-18 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163998720001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1799117713041971200}} 
[2026-09-18 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":185829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:15:55] local.INFO: GPS data processed {"connection_id":185829,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:15:55] local.INFO: Acknowledgment sent {"connection_id":185829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:06] local.INFO: TCP Data received {"connection_id":186001,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:06] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:06] local.INFO: IMEI packet received {"connection_id":186001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":186001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:16:08] local.INFO: TCP Data received {"connection_id":186000,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29dc458012d79ba0005e7b0d00004009e28..."} 
[2026-09-18 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29dc458012d79ba0005e7b0d00004009e28..."} 
[2026-09-18 09:16:08] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29dc458012d79ba0005e7b0d00004009e28..."} 
[2026-09-18 09:16:08] local.INFO: Packet analysis {"connection_id":186000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:16:08] local.INFO: Extracted packet for processing {"connection_id":186000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29d"} 
[2026-09-18 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":762952192,"raw_latitude":99070160,"longitude_deg":76.2952192,"latitude_deg":9.907016,"altitude":4,"angle":158,"satellites":40,"speed":9,"hex_longitude":"2d79ba00","hex_latitude":"05e7b0d0","is_valid_coordinates":true} 
[2026-09-18 09:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163986432001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564168652029952,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770971405899218944,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:08] 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-09-18 09:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703079000,"timestamp_ms":1789703079000,"timestamp_seconds":1789703079,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29dc458"} 
[2026-09-18 09:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 09:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163986432001,"66":12385,"31":206,"87":13824,"24":9,"16":134564168652029952,"45":8770971405899218944},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163986432001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564168652029952,"km_value":134564168652029.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770971405899218944,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163986432001,"power":12385,"unknown_31":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8770971405899218944}} 
[2026-09-18 09:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":186000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:09] local.INFO: GPS data processed {"connection_id":186000,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:09] local.INFO: Acknowledgment sent {"connection_id":186000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:09] local.INFO: TCP Data received {"connection_id":186001,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:09] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:09] local.INFO: IMEI packet received {"connection_id":186001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":186001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:16:12] local.INFO: TCP Data received {"connection_id":187297,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:16:12] local.INFO: Processing buffer {"connection_id":187297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:16:12] local.INFO: IMEI packet received {"connection_id":187297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":187297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:16:13] local.INFO: TCP Data received {"connection_id":186001,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:13] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:13] local.INFO: IMEI packet received {"connection_id":186001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":186001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:16:13] local.INFO: TCP Data received {"connection_id":186001,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29e7038012d190280072303a00059002810..."} 
[2026-09-18 09:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29e7038012d190280072303a00059002810..."} 
[2026-09-18 09:16:13] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29e7038012d190280072303a00059002810..."} 
[2026-09-18 09:16:13] local.INFO: Packet analysis {"connection_id":186001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:13] local.INFO: Extracted packet for processing {"connection_id":186001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756613760,"raw_latitude":119735200,"longitude_deg":75.661376,"latitude_deg":11.97352,"altitude":89,"angle":40,"satellites":16,"speed":44,"hex_longitude":"2d190280","hex_latitude":"072303a0","is_valid_coordinates":true} 
[2026-09-18 09:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157111979311104,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800313981693143040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789703123000,"timestamp_ms":1789703123000,"timestamp_seconds":1789703123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29e7038"} 
[2026-09-18 09:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16:13] 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-09-18 09:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163998976001,"66":14070,"105":206,"83":41984,"24":44,"16":21157111979311104,"45":1800313981693143040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157111979311104,"km_value":21157111979311.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800313981693143040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163998976001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1800313981693143040}} 
[2026-09-18 09:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":186001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:13] local.INFO: GPS data processed {"connection_id":186001,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:13] local.INFO: Acknowledgment sent {"connection_id":186001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:14] local.INFO: TCP Data received {"connection_id":186001,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29e8f78012d191b80072322900052002d0f..."} 
[2026-09-18 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29e8f78012d191b80072322900052002d0f..."} 
[2026-09-18 09:16:14] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29e8f78012d191b80072322900052002d0f..."} 
[2026-09-18 09:16:14] local.INFO: Packet analysis {"connection_id":186001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:14] local.INFO: Extracted packet for processing {"connection_id":186001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756620160,"raw_latitude":119743120,"longitude_deg":75.662016,"latitude_deg":11.974312,"altitude":82,"angle":45,"satellites":15,"speed":54,"hex_longitude":"2d191b80","hex_latitude":"07232290","is_valid_coordinates":true} 
[2026-09-18 09:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163999488001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157601605582848,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802143569042186240,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789703131000,"timestamp_ms":1789703131000,"timestamp_seconds":1789703131,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29e8f78"} 
[2026-09-18 09:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16: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-09-18 09:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 09:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163999488001,"66":14070,"105":206,"83":41984,"24":54,"16":21157601605582848,"45":1802143569042186240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 09:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163999488001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 09:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157601605582848,"km_value":21157601605582.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802143569042186240,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163999488001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1802143569042186240}} 
[2026-09-18 09:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":186001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:14] local.INFO: GPS data processed {"connection_id":186001,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:14] local.INFO: Acknowledgment sent {"connection_id":186001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:18] local.INFO: TCP Data received {"connection_id":187297,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:16:18] local.INFO: Processing buffer {"connection_id":187297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:16:18] local.INFO: IMEI packet received {"connection_id":187297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":187297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:16:19] local.INFO: TCP Data received {"connection_id":187297,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:16:19] local.INFO: Processing buffer {"connection_id":187297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29a3630012d34c90006aa45380006005521..."} 
[2026-09-18 09:16:19] local.INFO: Packet analysis {"connection_id":187297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:16:19] local.INFO: Extracted packet for processing {"connection_id":187297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29a"} 
[2026-09-18 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163850752001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568964608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789702846000,"timestamp_ms":1789702846000,"timestamp_seconds":1789702846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29a3630"} 
[2026-09-18 09:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:16: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-09-18 09:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163850752001,"66":26082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3801741801568964608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163850752001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568964608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163850752001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801741801568964608}} 
[2026-09-18 09:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":187297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:19] local.INFO: GPS data processed {"connection_id":187297,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:19] local.INFO: Acknowledgment sent {"connection_id":187297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:31] local.INFO: TCP Data received {"connection_id":188613,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:16:31] local.INFO: Processing buffer {"connection_id":188613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:16:31] local.INFO: IMEI packet received {"connection_id":188613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":188613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:16:36] local.INFO: TCP Data received {"connection_id":188613,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:16:36] local.INFO: Processing buffer {"connection_id":188613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:16:36] local.INFO: IMEI packet received {"connection_id":188613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":188613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:16:37] local.INFO: TCP Data received {"connection_id":188613,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29e1278012d79ba8005e7aed80004009528..."} 
[2026-09-18 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29e1278012d79ba8005e7aed80004009528..."} 
[2026-09-18 09:16:37] local.INFO: Processing buffer {"connection_id":188613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29e1278012d79ba8005e7aed80004009528..."} 
[2026-09-18 09:16:37] local.INFO: Packet analysis {"connection_id":188613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:37] local.INFO: Extracted packet for processing {"connection_id":188613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163988224001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771323249619423232,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:37] 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-09-18 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703099000,"timestamp_ms":1789703099000,"timestamp_seconds":1789703099,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29e1278"} 
[2026-09-18 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 09:16: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-09-18 09: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-09-18 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163988224001,"66":13243,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771323249619423232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163988224001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771323249619423232,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163988224001,"power":13243,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771323249619423232}} 
[2026-09-18 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":188613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:37] local.INFO: GPS data processed {"connection_id":188613,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:37] local.INFO: Acknowledgment sent {"connection_id":188613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:50] local.INFO: TCP Data received {"connection_id":187297,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:16:50] local.INFO: Processing buffer {"connection_id":187297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:16:50] local.INFO: Packet analysis {"connection_id":187297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:50] local.INFO: Extracted packet for processing {"connection_id":187297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:16:50] 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-09-18 09:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":187297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:50] local.INFO: GPS data processed {"connection_id":187297,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:50] local.INFO: Acknowledgment sent {"connection_id":187297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:16:54] local.INFO: TCP Data received {"connection_id":186002,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:54] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:54] local.INFO: IMEI packet received {"connection_id":186002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":186002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:16:56] local.INFO: TCP Data received {"connection_id":186002,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:56] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:16:56] local.INFO: IMEI packet received {"connection_id":186002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":186002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:16:57] local.INFO: TCP Data received {"connection_id":186002,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29f75f0012d1a21000723b258002d004010..."} 
[2026-09-18 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29f75f0012d1a21000723b258002d004010..."} 
[2026-09-18 09:16:57] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29f75f0012d1a21000723b258002d004010..."} 
[2026-09-18 09:16:57] local.INFO: Packet analysis {"connection_id":186002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:16:57] local.INFO: Extracted packet for processing {"connection_id":186002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756687104,"raw_latitude":119779928,"longitude_deg":75.6687104,"latitude_deg":11.9779928,"altitude":45,"angle":64,"satellites":16,"speed":42,"hex_longitude":"2d1a2100","hex_latitude":"0723b258","is_valid_coordinates":true} 
[2026-09-18 09:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164015616001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161522910724096,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878493656486064128,"note":"Value kept but may cause issues"} 
[2026-09-18 09:16: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-09-18 09:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789703190000,"timestamp_ms":1789703190000,"timestamp_seconds":1789703190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29f75f0"} 
[2026-09-18 09:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164015616001,"66":14298,"42":206,"83":42752,"24":42,"16":21161522910724096,"45":1878493656486064128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164015616001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:16:57] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161522910724096,"km_value":21161522910724.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878493656486064128,"description":"Unknown IO ID 45"} 
[2026-09-18 09:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164015616001,"power":14298,"unknown_42":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1878493656486064128}} 
[2026-09-18 09:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":186002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:16:57] local.INFO: GPS data processed {"connection_id":186002,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:16:57] local.INFO: Acknowledgment sent {"connection_id":186002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:17:08] local.INFO: TCP Data received {"connection_id":188613,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29e6480012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29e6480012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:17:08] local.INFO: Processing buffer {"connection_id":188613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29e6480012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:17:08] local.INFO: Packet analysis {"connection_id":188613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:08] local.INFO: Extracted packet for processing {"connection_id":188613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163993344001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:08] 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-09-18 09:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703120000,"timestamp_ms":1789703120000,"timestamp_seconds":1789703120,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29e6480"} 
[2026-09-18 09:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 09:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163993344001,"66":13406,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163993344001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:17:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163993344001,"power":13406,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":188613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:17:08] local.INFO: GPS data processed {"connection_id":188613,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:17:08] local.INFO: Acknowledgment sent {"connection_id":188613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:17:13] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:17:13] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:17:13] local.INFO: IMEI packet received {"connection_id":186003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":186003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:17:18] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:17:18] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:17:18] local.INFO: IMEI packet received {"connection_id":186003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":186003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:17:19] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:17:19] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:17:19] local.INFO: Packet analysis {"connection_id":186003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:19] local.INFO: Extracted packet for processing {"connection_id":186003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:17:19] 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-09-18 09:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":186003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:17:20] local.INFO: GPS data processed {"connection_id":186003,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:17:20] local.INFO: Acknowledgment sent {"connection_id":186003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:17:28] local.INFO: TCP Data received {"connection_id":186002,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29f8590012d1a2fc00723bc58002e003110..."} 
[2026-09-18 09:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29f8590012d1a2fc00723bc58002e003110..."} 
[2026-09-18 09:17:28] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29f8590012d1a2fc00723bc58002e003110..."} 
[2026-09-18 09:17:28] local.INFO: Packet analysis {"connection_id":186002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:17:28] local.INFO: Extracted packet for processing {"connection_id":186002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756690880,"raw_latitude":119782488,"longitude_deg":75.669088,"latitude_deg":11.9782488,"altitude":46,"angle":49,"satellites":16,"speed":47,"hex_longitude":"2d1a2fc0","hex_latitude":"0723bc58","is_valid_coordinates":true} 
[2026-09-18 09:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164016640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161741954056192,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882786149881239552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789703194000,"timestamp_ms":1789703194000,"timestamp_seconds":1789703194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29f8590"} 
[2026-09-18 09:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 09:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164016640001,"66":14341,"42":206,"83":42752,"24":47,"16":21161741954056192,"45":1882786149881239552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164016640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:17:28] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161741954056192,"km_value":21161741954056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882786149881239552,"description":"Unknown IO ID 45"} 
[2026-09-18 09:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164016640001,"power":14341,"unknown_42":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1882786149881239552}} 
[2026-09-18 09:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":186002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:17:28] local.INFO: GPS data processed {"connection_id":186002,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:17:28] local.INFO: Acknowledgment sent {"connection_id":186002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:17:31] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:17:31] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:17:31] local.INFO: IMEI packet received {"connection_id":188614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":188614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:17:36] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:17:36] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:17:36] local.INFO: IMEI packet received {"connection_id":188614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":188614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:17:37] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29eb688012d79ba8005e7aed80004009525..."} 
[2026-09-18 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29eb688012d79ba8005e7aed80004009525..."} 
[2026-09-18 09:17:37] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29eb688012d79ba8005e7aed80004009525..."} 
[2026-09-18 09:17:37] local.INFO: Packet analysis {"connection_id":188614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:37] local.INFO: Extracted packet for processing {"connection_id":188614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163998720001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:37] 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-09-18 09:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703141000,"timestamp_ms":1789703141000,"timestamp_seconds":1789703141,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29eb688"} 
[2026-09-18 09:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 09:17:37] 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-09-18 09: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-09-18 09:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163998720001,"66":13526,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163998720001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:17:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:17:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163998720001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":188614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:17:37] local.INFO: GPS data processed {"connection_id":188614,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:17:37] local.INFO: Acknowledgment sent {"connection_id":188614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:17:51] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:17:51] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:17:51] local.INFO: Packet analysis {"connection_id":186003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:51] local.INFO: Extracted packet for processing {"connection_id":186003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:17: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-09-18 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:17:51] 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-09-18 09: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-09-18 09:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":186003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:17:51] local.INFO: GPS data processed {"connection_id":186003,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:17:51] local.INFO: Acknowledgment sent {"connection_id":186003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:18:06] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:18:06] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:18:06] local.INFO: IMEI packet received {"connection_id":185833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":185833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:18:07] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:18:07] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:18:07] local.INFO: IMEI packet received {"connection_id":185833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":185833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:18:07] local.INFO: TCP Data received {"connection_id":185833,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185833,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:18:07] local.INFO: Processing buffer {"connection_id":185833,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:18:07] local.INFO: IMEI packet received {"connection_id":185833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":185833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:18:09] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29f0890012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29f0890012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:18:09] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29f0890012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:18:09] local.INFO: Packet analysis {"connection_id":188614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:18:09] local.INFO: Extracted packet for processing {"connection_id":188614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:18:09] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164004096001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:09] 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-09-18 09:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789703162000,"timestamp_ms":1789703162000,"timestamp_seconds":1789703162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29f0890"} 
[2026-09-18 09:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 09:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164004096001,"66":13580,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164004096001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:18:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:18:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164004096001,"power":13580,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":188614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:18:09] local.INFO: GPS data processed {"connection_id":188614,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:18:09] local.INFO: Acknowledgment sent {"connection_id":188614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:18:13] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:18:13] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:18:13] local.INFO: IMEI packet received {"connection_id":185835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":185835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:18:18] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:18:18] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:18:18] local.INFO: IMEI packet received {"connection_id":185835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":185835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:18:19] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:18:19] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:18:19] local.INFO: Packet analysis {"connection_id":185835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:18:19] local.INFO: Extracted packet for processing {"connection_id":185835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:18:19] 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-09-18 09:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":185835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:18:19] local.INFO: GPS data processed {"connection_id":185835,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:18:19] local.INFO: Acknowledgment sent {"connection_id":185835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:18:31] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:18:31] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:18:31] local.INFO: IMEI packet received {"connection_id":186004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":186004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:18:36] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:18:36] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:18:36] local.INFO: IMEI packet received {"connection_id":186004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":186004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:18:37] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29f5a98012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29f5a98012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:18:37] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29f5a98012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:18:37] local.INFO: Packet analysis {"connection_id":186004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:18:37] local.INFO: Extracted packet for processing {"connection_id":186004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164009472001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] 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-09-18 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703183000,"timestamp_ms":1789703183000,"timestamp_seconds":1789703183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29f5a98"} 
[2026-09-18 09:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635984,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2996656864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635068541840842,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2445196212429651968,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2646890497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2966421508,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696530638,"corrected_to":0} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3221612475,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024933,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-5836658623092621307,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035450862670237271,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,31,87,24,241,157,16,17,160,182,45,128,174,4,37,10,66,100,39,18,1,240,187,227,178,231,113,205,9,169,184,64,41,239,52,32,2,222,5,26,121,53,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1696530638,"validated":0}]} 
[2026-09-18 09:18:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288394370887974912,"timestamp_seconds":288394370887974.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164009472001,"66":13580,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164009472001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:18:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164009472001,"power":13580,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":186004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:18:37] local.INFO: GPS data processed {"connection_id":186004,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:18:37] local.INFO: Acknowledgment sent {"connection_id":186004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:18:50] local.INFO: TCP Data received {"connection_id":185835,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:18:50] local.INFO: Processing buffer {"connection_id":185835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:18:50] local.INFO: Packet analysis {"connection_id":185835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:18:50] local.INFO: Extracted packet for processing {"connection_id":185835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:18:50] 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-09-18 09:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:18:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:18:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":185835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:18:50] local.INFO: GPS data processed {"connection_id":185835,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:18:50] local.INFO: Acknowledgment sent {"connection_id":185835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:18:58] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:18:58] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:18:58] local.INFO: IMEI packet received {"connection_id":185837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":185837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:19:03] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:19:03] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:19:03] local.INFO: IMEI packet received {"connection_id":185837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":185837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:19:04] local.INFO: TCP Data received {"connection_id":185837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a0f8a8012d0a4fc007043da8000c00cd1c..."} 
[2026-09-18 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a0f8a8012d0a4fc007043da8000c00cd1c..."} 
[2026-09-18 09:19:04] local.INFO: Processing buffer {"connection_id":185837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a0f8a8012d0a4fc007043da8000c00cd1c..."} 
[2026-09-18 09:19:04] local.INFO: Packet analysis {"connection_id":185837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:19:04] local.INFO: Extracted packet for processing {"connection_id":185837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":755650496,"raw_latitude":117718440,"longitude_deg":75.5650496,"latitude_deg":11.771844,"altitude":12,"angle":205,"satellites":28,"speed":0,"hex_longitude":"2d0a4fc0","hex_latitude":"07043da8","is_valid_coordinates":true} 
[2026-09-18 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164036864001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33024660668940288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743375443628830720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789703289000,"timestamp_ms":1789703289000,"timestamp_seconds":1789703289,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a0f8a8"} 
[2026-09-18 09:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:19: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-09-18 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-18 09:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164036864001,"66":14439,"96":206,"94":10240,"24":0,"16":33024660668940288,"45":743375443628830720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-18 09:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164036864001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:19:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 09:19:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33024660668940288,"km_value":33024660668940.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":743375443628830720,"description":"Unknown IO ID 45"} 
[2026-09-18 09:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164036864001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":743375443628830720}} 
[2026-09-18 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":185837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:19:04] local.INFO: GPS data processed {"connection_id":185837,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:19:04] local.INFO: Acknowledgment sent {"connection_id":185837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:19:08] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29faca0012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29faca0012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:19:08] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29faca0012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:19:08] local.INFO: Packet analysis {"connection_id":186004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:19:08] local.INFO: Extracted packet for processing {"connection_id":186004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:19:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164014848001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] 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-09-18 09:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703204000,"timestamp_ms":1789703204000,"timestamp_seconds":1789703204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29faca0"} 
[2026-09-18 09:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635984,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2996676864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937930528,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2445093957848268800,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2652010497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2933391364,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696530638,"corrected_to":0} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3887808512,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-5638500240106455035,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540039363120727,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,31,87,24,241,157,16,17,160,8,45,128,174,4,39,10,66,182,37,100,1,240,94,227,178,231,113,205,196,186,208,40,239,48,2,222,5,121,52,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1696530638,"validated":0}]} 
[2026-09-18 09:19:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288394370887974912,"timestamp_seconds":288394370887974.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164014848001,"66":13515,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164014848001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:19:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:19:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164014848001,"power":13515,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":186004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:19:08] local.INFO: GPS data processed {"connection_id":186004,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:19:08] local.INFO: Acknowledgment sent {"connection_id":186004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:19:13] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:19:13] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:19:13] local.INFO: IMEI packet received {"connection_id":187298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":187298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:19:18] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:19:18] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:19:18] local.INFO: IMEI packet received {"connection_id":187298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":187298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:19:20] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:19:20] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:19:20] local.INFO: Packet analysis {"connection_id":187298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:19:20] local.INFO: Extracted packet for processing {"connection_id":187298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":187298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:19:20] local.INFO: GPS data processed {"connection_id":187298,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:19:20] local.INFO: Acknowledgment sent {"connection_id":187298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:19:36] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:19:36] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:19:36] local.INFO: IMEI packet received {"connection_id":188615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":188615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:19:39] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:19:39] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:19:39] local.INFO: IMEI packet received {"connection_id":188615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":188615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:19:41] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ffea8012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ffea8012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:19:41] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ffea8012d79ba8005e7aed80004009527..."} 
[2026-09-18 09:19:41] local.INFO: Packet analysis {"connection_id":188615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:19:41] local.INFO: Extracted packet for processing {"connection_id":188615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29f"} 
[2026-09-18 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164020224001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:41] 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-09-18 09:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789703225000,"timestamp_ms":1789703225000,"timestamp_seconds":1789703225,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ffea8"} 
[2026-09-18 09:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 09:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164020224001,"66":13602,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164020224001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:19:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164020224001,"power":13602,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":188615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:19:41] local.INFO: GPS data processed {"connection_id":188615,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:19:41] local.INFO: Acknowledgment sent {"connection_id":188615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:19:43] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a050b0012d79ba8005e7aed80004009524..."} 
[2026-09-18 09:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a050b0012d79ba8005e7aed80004009524..."} 
[2026-09-18 09:19:43] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a050b0012d79ba8005e7aed80004009524..."} 
[2026-09-18 09:19:43] local.INFO: Packet analysis {"connection_id":188615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:19:43] local.INFO: Extracted packet for processing {"connection_id":188615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:19:43] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164025600001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:43] 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-09-18 09:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789703246000,"timestamp_ms":1789703246000,"timestamp_seconds":1789703246,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a050b0"} 
[2026-09-18 09:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 09:19:43] 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-09-18 09:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164025600001,"66":13526,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164025600001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:19:43] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:19:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164025600001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":188615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:19:43] local.INFO: GPS data processed {"connection_id":188615,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:19:43] local.INFO: Acknowledgment sent {"connection_id":188615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:19:52] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:19:52] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:19:52] local.INFO: Packet analysis {"connection_id":187298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:19:52] local.INFO: Extracted packet for processing {"connection_id":187298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":187298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:19:52] local.INFO: GPS data processed {"connection_id":187298,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:19:52] local.INFO: Acknowledgment sent {"connection_id":187298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:20:03] local.INFO: TCP Data received {"connection_id":187299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:03] local.INFO: Processing buffer {"connection_id":187299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:03] local.INFO: IMEI packet received {"connection_id":187299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":187299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:20:08] local.INFO: TCP Data received {"connection_id":187299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:08] local.INFO: Processing buffer {"connection_id":187299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:08] local.INFO: IMEI packet received {"connection_id":187299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":187299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:20:08] local.INFO: TCP Data received {"connection_id":187299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a25838012d0a5c40070473c00012002d1f..."} 
[2026-09-18 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a25838012d0a5c40070473c00012002d1f..."} 
[2026-09-18 09:20:08] local.INFO: Processing buffer {"connection_id":187299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a25838012d0a5c40070473c00012002d1f..."} 
[2026-09-18 09:20:08] local.INFO: Packet analysis {"connection_id":187299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:20:08] local.INFO: Extracted packet for processing {"connection_id":187299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":755653696,"raw_latitude":117732288,"longitude_deg":75.5653696,"latitude_deg":11.7732288,"altitude":18,"angle":45,"satellites":31,"speed":18,"hex_longitude":"2d0a5c40","hex_latitude":"070473c0","is_valid_coordinates":true} 
[2026-09-18 09:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164064512001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33025704345993216,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745838349678362624,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703379000,"timestamp_ms":1789703379000,"timestamp_seconds":1789703379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a25838"} 
[2026-09-18 09:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164064512001,"66":14537,"178":206,"94":10240,"24":18,"16":33025704345993216,"45":745838349678362624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-18 09:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164064512001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:20:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-18 09:20:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33025704345993216,"km_value":33025704345993.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":745838349678362624,"description":"Unknown IO ID 45"} 
[2026-09-18 09:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164064512001,"power":14537,"unknown_178":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":745838349678362624}} 
[2026-09-18 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":187299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:20:09] local.INFO: GPS data processed {"connection_id":187299,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:20:09] local.INFO: Acknowledgment sent {"connection_id":187299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:20:12] local.INFO: TCP Data received {"connection_id":186005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:20:12] local.INFO: Processing buffer {"connection_id":186005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:20:12] local.INFO: IMEI packet received {"connection_id":186005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:20:14] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a0a2b8012d79ba8005e7aed80004009526..."} 
[2026-09-18 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a0a2b8012d79ba8005e7aed80004009526..."} 
[2026-09-18 09:20:14] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a0a2b8012d79ba8005e7aed80004009526..."} 
[2026-09-18 09:20:14] local.INFO: Packet analysis {"connection_id":188615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:20:14] local.INFO: Extracted packet for processing {"connection_id":188615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164030976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:14] 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-09-18 09:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789703267000,"timestamp_ms":1789703267000,"timestamp_seconds":1789703267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a0a2b8"} 
[2026-09-18 09:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:20: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-09-18 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 09:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164030976001,"66":13602,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164030976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164030976001,"power":13602,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":188615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:20:14] local.INFO: GPS data processed {"connection_id":188615,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:20:14] local.INFO: Acknowledgment sent {"connection_id":188615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:20:18] local.INFO: TCP Data received {"connection_id":186005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:20:18] local.INFO: Processing buffer {"connection_id":186005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:20:18] local.INFO: IMEI packet received {"connection_id":186005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":186005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:20:19] local.INFO: TCP Data received {"connection_id":186005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:20:19] local.INFO: Processing buffer {"connection_id":186005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:20:19] local.INFO: Packet analysis {"connection_id":186005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:20:19] local.INFO: Extracted packet for processing {"connection_id":186005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:20:19] 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-09-18 09:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:20:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":186005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:20:19] local.INFO: GPS data processed {"connection_id":186005,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:20:19] local.INFO: Acknowledgment sent {"connection_id":186005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:20:33] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:33] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:33] local.INFO: IMEI packet received {"connection_id":187300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":187300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:20:36] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:20:36] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:20:36] local.INFO: IMEI packet received {"connection_id":188617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":188617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:20:38] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:38] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:20:38] local.INFO: IMEI packet received {"connection_id":187300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":187300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:20:41] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:20:41] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:20:41] local.INFO: IMEI packet received {"connection_id":188617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":188617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:20:42] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a0f4c0012d79ba8005e7aed80004009526..."} 
[2026-09-18 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a0f4c0012d79ba8005e7aed80004009526..."} 
[2026-09-18 09:20:42] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a0f4c0012d79ba8005e7aed80004009526..."} 
[2026-09-18 09:20:42] local.INFO: Packet analysis {"connection_id":188617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:20:42] local.INFO: Extracted packet for processing {"connection_id":188617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a0"} 
[2026-09-18 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164036352001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:42] 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-09-18 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789703288000,"timestamp_ms":1789703288000,"timestamp_seconds":1789703288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a0f4c0"} 
[2026-09-18 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 09:20:42] 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-09-18 09:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164036352001,"66":13406,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164036352001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:20:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:20:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164036352001,"power":13406,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":188617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:20:42] local.INFO: GPS data processed {"connection_id":188617,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:20:42] local.INFO: Acknowledgment sent {"connection_id":188617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:20:46] local.INFO: TCP Data received {"connection_id":185834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:20:46] local.INFO: Processing buffer {"connection_id":185834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:20:46] local.INFO: IMEI packet received {"connection_id":185834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":185834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:20:51] local.INFO: TCP Data received {"connection_id":186005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:20:51] local.INFO: Processing buffer {"connection_id":186005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:20:51] local.INFO: Packet analysis {"connection_id":186005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:20:51] local.INFO: Extracted packet for processing {"connection_id":186005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09: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-09-18 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:20:51] 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-09-18 09: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-09-18 09:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":186005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:20:51] local.INFO: GPS data processed {"connection_id":186005,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:20:51] local.INFO: Acknowledgment sent {"connection_id":186005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:20:58] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a25c20012d0a5e00070473d8001200401f..."} 
[2026-09-18 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a25c20012d0a5e00070473d8001200401f..."} 
[2026-09-18 09:20:58] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a25c20012d0a5e00070473d8001200401f..."} 
[2026-09-18 09:20:58] local.INFO: Packet analysis {"connection_id":187300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:20:58] local.INFO: Extracted packet for processing {"connection_id":187300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:20:58] local.INFO: GPS Element Parsed {"raw_longitude":755654144,"raw_latitude":117732312,"longitude_deg":75.5654144,"latitude_deg":11.7732312,"altitude":18,"angle":64,"satellites":31,"speed":17,"hex_longitude":"2d0a5e00","hex_latitude":"070473d8","is_valid_coordinates":true} 
[2026-09-18 09:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164065024001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33025725820829696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746542037120303104,"note":"Value kept but may cause issues"} 
[2026-09-18 09:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789703380000,"timestamp_ms":1789703380000,"timestamp_seconds":1789703380,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a25c20"} 
[2026-09-18 09:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164065024001,"66":14537,"178":206,"94":10240,"24":17,"16":33025725820829696,"45":746542037120303104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-18 09:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164065024001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33025725820829696,"km_value":33025725820829.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":746542037120303104,"description":"Unknown IO ID 45"} 
[2026-09-18 09:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164065024001,"power":14537,"unknown_178":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":746542037120303104}} 
[2026-09-18 09:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":187300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:20:58] local.INFO: GPS data processed {"connection_id":187300,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:20:58] local.INFO: Acknowledgment sent {"connection_id":187300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:21:14] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a146c8012d79ba8005e7aed80004009525..."} 
[2026-09-18 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a146c8012d79ba8005e7aed80004009525..."} 
[2026-09-18 09:21:14] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a146c8012d79ba8005e7aed80004009525..."} 
[2026-09-18 09:21:14] local.INFO: Packet analysis {"connection_id":188617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a1"} 
[2026-09-18 09:21:14] local.INFO: Extracted packet for processing {"connection_id":188617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a1"} 
[2026-09-18 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99069656,"longitude_deg":76.295232,"latitude_deg":9.9069656,"altitude":4,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7aed8","is_valid_coordinates":true} 
[2026-09-18 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164041728001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564194421833728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:14] 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-09-18 09:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789703309000,"timestamp_ms":1789703309000,"timestamp_seconds":1789703309,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a146c8"} 
[2026-09-18 09:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:21:14] 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-09-18 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 09:21:14] 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-09-18 09:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164041728001,"66":13580,"31":206,"87":13824,"24":0,"16":134564194421833728,"45":8771463987107649536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164041728001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:21:14] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:21:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564194421833728,"km_value":134564194421833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164041728001,"power":13580,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":188617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:21:14] local.INFO: GPS data processed {"connection_id":188617,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:21:14] local.INFO: Acknowledgment sent {"connection_id":188617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:21:19] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:21:19] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:21:19] local.INFO: IMEI packet received {"connection_id":186006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":186006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:21:23] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:21:23] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:21:23] local.INFO: IMEI packet received {"connection_id":186006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":186006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:21:24] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:21:24] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b29ecdf8012d34c90006aa45380006005524..."} 
[2026-09-18 09:21:24] local.INFO: Packet analysis {"connection_id":186006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:21:24] local.INFO: Extracted packet for processing {"connection_id":186006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b29e"} 
[2026-09-18 09:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458163928576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789703147000,"timestamp_ms":1789703147000,"timestamp_seconds":1789703147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b29ecdf8"} 
[2026-09-18 09:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 09:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458163928576001,"66":25908,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458163928576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458163928576001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":186006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:21:24] local.INFO: GPS data processed {"connection_id":186006,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:21:24] local.INFO: Acknowledgment sent {"connection_id":186006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:21:26] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a365c0012d34c90006aa45380006005526..."} 
[2026-09-18 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a365c0012d34c90006aa45380006005526..."} 
[2026-09-18 09:21:26] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a365c0012d34c90006aa45380006005526..."} 
[2026-09-18 09:21:26] local.INFO: Packet analysis {"connection_id":186006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:21:26] local.INFO: Extracted packet for processing {"connection_id":186006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164005632001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789703448000,"timestamp_ms":1789703448000,"timestamp_seconds":1789703448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a365c0"} 
[2026-09-18 09:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:21:26] 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-09-18 09: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-09-18 09:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164005632001,"66":25778,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164005632001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:21:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164005632001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":186006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:21:26] local.INFO: GPS data processed {"connection_id":186006,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:21:26] local.INFO: Acknowledgment sent {"connection_id":186006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:21:28] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:21:28] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:21:28] local.INFO: IMEI packet received {"connection_id":185839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":185839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:21:32] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:21:32] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:21:32] local.INFO: IMEI packet received {"connection_id":185840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":185840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:21:33] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:21:33] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:21:33] local.INFO: IMEI packet received {"connection_id":185839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":185839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:21:34] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a3a058012d0a9e000704f1b8001d00421e..."} 
[2026-09-18 09:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a3a058012d0a9e000704f1b8001d00421e..."} 
[2026-09-18 09:21:34] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a3a058012d0a9e000704f1b8001d00421e..."} 
[2026-09-18 09:21:34] local.INFO: Packet analysis {"connection_id":185839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:21:34] local.INFO: Extracted packet for processing {"connection_id":185839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:21:34] local.INFO: GPS Element Parsed {"raw_longitude":755670528,"raw_latitude":117764536,"longitude_deg":75.5670528,"latitude_deg":11.7764536,"altitude":29,"angle":66,"satellites":30,"speed":17,"hex_longitude":"2d0a9e00","hex_latitude":"0704f1b8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164086272001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33027980678660096,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764556435637993472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789703463000,"timestamp_ms":1789703463000,"timestamp_seconds":1789703463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a3a058"} 
[2026-09-18 09:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 09:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164086272001,"66":14428,"177":206,"94":10240,"24":17,"16":33027980678660096,"45":764556435637993472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-18 09:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164086272001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:21:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-18 09:21:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33027980678660096,"km_value":33027980678660.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":764556435637993472,"description":"Unknown IO ID 45"} 
[2026-09-18 09:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164086272001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":764556435637993472}} 
[2026-09-18 09:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":185839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:21:34] local.INFO: GPS data processed {"connection_id":185839,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:21:34] local.INFO: Acknowledgment sent {"connection_id":185839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:21:36] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:21:36] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:21:36] local.INFO: IMEI packet received {"connection_id":185840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":185840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:21:38] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a19100012d79ba4005e7ab68000500a428..."} 
[2026-09-18 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a19100012d79ba4005e7ab68000500a428..."} 
[2026-09-18 09:21:38] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a19100012d79ba4005e7ab68000500a428..."} 
[2026-09-18 09:21:38] local.INFO: Packet analysis {"connection_id":185840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a1"} 
[2026-09-18 09:21:38] local.INFO: Extracted packet for processing {"connection_id":185840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a1"} 
[2026-09-18 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99068776,"longitude_deg":76.2952256,"latitude_deg":9.9068776,"altitude":5,"angle":164,"satellites":40,"speed":1,"hex_longitude":"2d79ba40","hex_latitude":"05e7ab68","is_valid_coordinates":true} 
[2026-09-18 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164047104001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564241666473984,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107649536,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] 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-09-18 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789703328000,"timestamp_ms":1789703328000,"timestamp_seconds":1789703328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a19100"} 
[2026-09-18 09:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635985,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2996787864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132243743,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2445054375429668864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2684266497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2933391364,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696530638,"corrected_to":0} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2684431737,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147870638,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827429,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3886995456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-5007996293007015932,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916962650672727,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,31,87,24,241,157,16,17,160,244,45,128,174,4,38,10,66,162,80,1,240,214,227,178,231,113,205,172,186,216,39,239,52,2,222,5,121,53,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1696530638,"validated":0}]} 
[2026-09-18 09:21:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288394362298040320,"timestamp_seconds":288394362298040.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:21:38] 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-09-18 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164047104001,"66":13243,"31":206,"87":13824,"24":1,"16":134564241666473984,"45":8771463987107649536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164047104001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:21:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:21:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564241666473984,"km_value":134564241666473.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107649536,"description":"Unknown IO ID 45"} 
[2026-09-18 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164047104001,"power":13243,"unknown_31":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8771463987107649536}} 
[2026-09-18 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":185840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:21:38] local.INFO: GPS data processed {"connection_id":185840,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:21:38] local.INFO: Acknowledgment sent {"connection_id":185840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:21:58] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a39888012d34c90006aa45380006005524..."} 
[2026-09-18 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a39888012d34c90006aa45380006005524..."} 
[2026-09-18 09:21:58] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a39888012d34c90006aa45380006005524..."} 
[2026-09-18 09:21:58] local.INFO: Packet analysis {"connection_id":186006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:21:58] local.INFO: Extracted packet for processing {"connection_id":186006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822136,"longitude_deg":75.8434048,"latitude_deg":11.1822136,"altitude":6,"angle":85,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-09-18 09:21: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-09-18 09:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164082688001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:21: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-09-18 09:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789703461000,"timestamp_ms":1789703461000,"timestamp_seconds":1789703461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a39888"} 
[2026-09-18 09:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 09:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164082688001,"66":25778,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164082688001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164082688001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":186006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:21:58] local.INFO: GPS data processed {"connection_id":186006,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:21:58] local.INFO: Acknowledgment sent {"connection_id":186006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:22:07] local.INFO: TCP Data received {"connection_id":185839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a3a440012d0aa0400704f1e8001d00511d..."} 
[2026-09-18 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a3a440012d0aa0400704f1e8001d00511d..."} 
[2026-09-18 09:22:07] local.INFO: Processing buffer {"connection_id":185839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a3a440012d0aa0400704f1e8001d00511d..."} 
[2026-09-18 09:22:07] local.INFO: Packet analysis {"connection_id":185839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:22:07] local.INFO: Extracted packet for processing {"connection_id":185839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":755671104,"raw_latitude":117764584,"longitude_deg":75.5671104,"latitude_deg":11.7764584,"altitude":29,"angle":81,"satellites":29,"speed":20,"hex_longitude":"2d0aa040","hex_latitude":"0704f1e8","is_valid_coordinates":true} 
[2026-09-18 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164086528001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33028006448463872,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765049016847284224,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789703464000,"timestamp_ms":1789703464000,"timestamp_seconds":1789703464,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a3a440"} 
[2026-09-18 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:22: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-09-18 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164086528001,"66":14428,"177":206,"94":10240,"24":20,"16":33028006448463872,"45":765049016847284224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-18 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164086528001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33028006448463872,"km_value":33028006448463.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":765049016847284224,"description":"Unknown IO ID 45"} 
[2026-09-18 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164086528001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":765049016847284224}} 
[2026-09-18 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":185839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:22:07] local.INFO: GPS data processed {"connection_id":185839,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:22:07] local.INFO: Acknowledgment sent {"connection_id":185839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:22:09] local.INFO: TCP Data received {"connection_id":185840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a1db38012d79bb4005e7a8c8000500b627..."} 
[2026-09-18 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a1db38012d79bb4005e7a8c8000500b627..."} 
[2026-09-18 09:22:09] local.INFO: Processing buffer {"connection_id":185840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a1db38012d79bb4005e7a8c8000500b627..."} 
[2026-09-18 09:22:09] local.INFO: Packet analysis {"connection_id":185840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a1"} 
[2026-09-18 09:22:09] local.INFO: Extracted packet for processing {"connection_id":185840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a1"} 
[2026-09-18 09:22:09] local.INFO: GPS Element Parsed {"raw_longitude":762952512,"raw_latitude":99068104,"longitude_deg":76.2952512,"latitude_deg":9.9068104,"altitude":5,"angle":182,"satellites":39,"speed":4,"hex_longitude":"2d79bb40","hex_latitude":"05e7a8c8","is_valid_coordinates":true} 
[2026-09-18 09:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164051968001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564276026212352,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618363246592,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:09] 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-09-18 09:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789703347000,"timestamp_ms":1789703347000,"timestamp_seconds":1789703347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a1db38"} 
[2026-09-18 09:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 09:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:22:09] 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-09-18 09:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164051968001,"66":13646,"31":206,"87":13824,"24":4,"16":134564276026212352,"45":8771393618363246592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164051968001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:22:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564276026212352,"km_value":134564276026212.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618363246592,"description":"Unknown IO ID 45"} 
[2026-09-18 09:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164051968001,"power":13646,"unknown_31":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8771393618363246592}} 
[2026-09-18 09:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":185840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:22:09] local.INFO: GPS data processed {"connection_id":185840,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:22:09] local.INFO: Acknowledgment sent {"connection_id":185840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:22:13] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:22:13] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:22:13] local.INFO: IMEI packet received {"connection_id":185841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":185841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:22:18] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:22:18] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:22:18] local.INFO: IMEI packet received {"connection_id":185841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":185841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:22:19] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a3ac10012d34c8c006aa45100006006125..."} 
[2026-09-18 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a3ac10012d34c8c006aa45100006006125..."} 
[2026-09-18 09:22:19] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a3ac10012d34c8c006aa45100006006125..."} 
[2026-09-18 09:22:19] local.INFO: Packet analysis {"connection_id":185841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:22:19] local.INFO: Extracted packet for processing {"connection_id":185841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111822096,"longitude_deg":75.8433984,"latitude_deg":11.1822096,"altitude":6,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4510","is_valid_coordinates":true} 
[2026-09-18 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164086016001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917561344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703466000,"timestamp_ms":1789703466000,"timestamp_seconds":1789703466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a3ac10"} 
[2026-09-18 09:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 09:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164086016001,"66":27082,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803571388917561344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164086016001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917561344,"description":"Unknown IO ID 45"} 
[2026-09-18 09:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164086016001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917561344}} 
[2026-09-18 09:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":185841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:22:19] local.INFO: GPS data processed {"connection_id":185841,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:22:19] local.INFO: Acknowledgment sent {"connection_id":185841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:22:31] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:22:31] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:22:31] local.INFO: IMEI packet received {"connection_id":185843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":185843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:22:36] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:22:36] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:22:36] local.INFO: IMEI packet received {"connection_id":185843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":185843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:22:37] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a20630012d79bb0005e7a8b00006000128..."} 
[2026-09-18 09:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a20630012d79bb0005e7a8b00006000128..."} 
[2026-09-18 09:22:37] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a20630012d79bb0005e7a8b00006000128..."} 
[2026-09-18 09:22:37] local.INFO: Packet analysis {"connection_id":185843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:22:37] local.INFO: Extracted packet for processing {"connection_id":185843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762952448,"raw_latitude":99068080,"longitude_deg":76.2952448,"latitude_deg":9.906808,"altitude":6,"angle":1,"satellites":40,"speed":1,"hex_longitude":"2d79bb00","hex_latitude":"05e7a8b0","is_valid_coordinates":true} 
[2026-09-18 09:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164056832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564301796016128,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771675093339785216,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:37] 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-09-18 09:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703358000,"timestamp_ms":1789703358000,"timestamp_seconds":1789703358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a20630"} 
[2026-09-18 09:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 09:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:22:37] 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-09-18 09:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164056832001,"66":13624,"31":206,"87":13824,"24":1,"16":134564301796016128,"45":8771675093339785216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164056832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:22:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:22:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564301796016128,"km_value":134564301796016.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771675093339785216,"description":"Unknown IO ID 45"} 
[2026-09-18 09:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164056832001,"power":13624,"unknown_31":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8771675093339785216}} 
[2026-09-18 09:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":185843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:22:37] local.INFO: GPS data processed {"connection_id":185843,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:22:37] local.INFO: Acknowledgment sent {"connection_id":185843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:22:51] local.INFO: TCP Data received {"connection_id":185841,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a3fe18012d34c8c006aa45100006006124..."} 
[2026-09-18 09:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a3fe18012d34c8c006aa45100006006124..."} 
[2026-09-18 09:22:51] local.INFO: Processing buffer {"connection_id":185841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a3fe18012d34c8c006aa45100006006124..."} 
[2026-09-18 09:22:51] local.INFO: Packet analysis {"connection_id":185841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:22:51] local.INFO: Extracted packet for processing {"connection_id":185841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a3"} 
[2026-09-18 09:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111822096,"longitude_deg":75.8433984,"latitude_deg":11.1822096,"altitude":6,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4510","is_valid_coordinates":true} 
[2026-09-18 09:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164087296001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177112941559808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173373440,"note":"Value kept but may cause issues"} 
[2026-09-18 09:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789703487000,"timestamp_ms":1789703487000,"timestamp_seconds":1789703487,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a3fe18"} 
[2026-09-18 09:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:22: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 09:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164087296001,"66":27821,"97":206,"81":23296,"24":0,"16":405177112941559808,"45":3803501020173373440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164087296001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177112941559808,"km_value":405177112941559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173373440,"description":"Unknown IO ID 45"} 
[2026-09-18 09:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164087296001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173373440}} 
[2026-09-18 09:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":185841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:22:51] local.INFO: GPS data processed {"connection_id":185841,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:22:51] local.INFO: Acknowledgment sent {"connection_id":185841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:23:07] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:07] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:07] local.INFO: IMEI packet received {"connection_id":185844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":185844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:23:09] local.INFO: TCP Data received {"connection_id":188618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:23:09] local.INFO: Processing buffer {"connection_id":188618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:23:09] local.INFO: IMEI packet received {"connection_id":188618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:23:09] local.INFO: TCP Data received {"connection_id":185843,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a25450012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a25450012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:23:09] local.INFO: Processing buffer {"connection_id":185843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a25450012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:23:09] local.INFO: Packet analysis {"connection_id":185843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:23:09] local.INFO: Extracted packet for processing {"connection_id":185843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":762952448,"raw_latitude":99068232,"longitude_deg":76.2952448,"latitude_deg":9.9068232,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79bb00","hex_latitude":"05e7a948","is_valid_coordinates":true} 
[2026-09-18 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164059648001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724595601408,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:09] 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-09-18 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789703378000,"timestamp_ms":1789703378000,"timestamp_seconds":1789703378,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a25450"} 
[2026-09-18 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:23:09] 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-09-18 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164059648001,"66":13102,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771604724595601408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164059648001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:23:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:23:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724595601408,"description":"Unknown IO ID 45"} 
[2026-09-18 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164059648001,"power":13102,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771604724595601408}} 
[2026-09-18 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":185843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:23:09] local.INFO: GPS data processed {"connection_id":185843,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:23:09] local.INFO: Acknowledgment sent {"connection_id":185843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:23:10] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:10] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:10] local.INFO: IMEI packet received {"connection_id":185844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":185844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:23:12] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:12] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:12] local.INFO: IMEI packet received {"connection_id":188620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":188620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:23:12] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:12] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:12] local.INFO: IMEI packet received {"connection_id":188620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":188620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:23:14] local.INFO: TCP Data received {"connection_id":188618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:23:14] local.INFO: Processing buffer {"connection_id":188618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:23:14] local.INFO: IMEI packet received {"connection_id":188618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":188618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:23:14] local.INFO: TCP Data received {"connection_id":188618,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4e490012d1b290007249658003200a718..."} 
[2026-09-18 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4e490012d1b290007249658003200a718..."} 
[2026-09-18 09:23:15] local.INFO: Processing buffer {"connection_id":188618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4e490012d1b290007249658003200a718..."} 
[2026-09-18 09:23:15] local.INFO: Packet analysis {"connection_id":188618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:23:15] local.INFO: Extracted packet for processing {"connection_id":188618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756754688,"raw_latitude":119838296,"longitude_deg":75.6754688,"latitude_deg":11.9838296,"altitude":50,"angle":167,"satellites":24,"speed":12,"hex_longitude":"2d1b2900","hex_latitude":"07249658","is_valid_coordinates":true} 
[2026-09-18 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164107264001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172496552165376,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957236281236314112,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789703546000,"timestamp_ms":1789703546000,"timestamp_seconds":1789703546,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4e490"} 
[2026-09-18 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 09:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164107264001,"66":13993,"136":206,"83":42752,"24":12,"16":21172496552165376,"45":1957236281236314112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164107264001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:23:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 09:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172496552165376,"km_value":21172496552165.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957236281236314112,"description":"Unknown IO ID 45"} 
[2026-09-18 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164107264001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1957236281236314112}} 
[2026-09-18 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":188618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:23:15] local.INFO: GPS data processed {"connection_id":188618,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:23:15] local.INFO: Acknowledgment sent {"connection_id":188618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:23:18] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:18] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:23:18] local.INFO: IMEI packet received {"connection_id":188620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":188620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:23:19] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4cd20012d34c60006aa3ae0000700cd28..."} 
[2026-09-18 09:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4cd20012d34c60006aa3ae0000700cd28..."} 
[2026-09-18 09:23:19] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4cd20012d34c60006aa3ae0000700cd28..."} 
[2026-09-18 09:23:19] local.INFO: Packet analysis {"connection_id":188620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:23:19] local.INFO: Extracted packet for processing {"connection_id":188620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111819488,"longitude_deg":75.843328,"latitude_deg":11.1819488,"altitude":7,"angle":205,"satellites":40,"speed":5,"hex_longitude":"2d34c600","hex_latitude":"06aa3ae0","is_valid_coordinates":true} 
[2026-09-18 09:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164105984001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177284740251648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475143680,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703540000,"timestamp_ms":1789703540000,"timestamp_seconds":1789703540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4cd20"} 
[2026-09-18 09:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:23: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-09-18 09:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 09:23:19] 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-09-18 09:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164105984001,"66":27930,"97":206,"81":23296,"24":5,"16":405177284740251648,"45":3802867701475143680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164105984001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177284740251648,"km_value":405177284740251.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475143680,"description":"Unknown IO ID 45"} 
[2026-09-18 09:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164105984001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802867701475143680}} 
[2026-09-18 09:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":188620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:23:19] local.INFO: GPS data processed {"connection_id":188620,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:23:19] local.INFO: Acknowledgment sent {"connection_id":188620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:23:21] local.INFO: TCP Data received {"connection_id":185844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:21] local.INFO: Processing buffer {"connection_id":185844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:21] local.INFO: IMEI packet received {"connection_id":185844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":185844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:23:31] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:23:31] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:23:31] local.INFO: IMEI packet received {"connection_id":185845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":185845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:23:36] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:23:36] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:23:36] local.INFO: IMEI packet received {"connection_id":185845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":185845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:23:37] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a25838012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a25838012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:23:37] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a25838012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:23:37] local.INFO: Packet analysis {"connection_id":185845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:23:37] local.INFO: Extracted packet for processing {"connection_id":185845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762952448,"raw_latitude":99068232,"longitude_deg":76.2952448,"latitude_deg":9.9068232,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79bb00","hex_latitude":"05e7a948","is_valid_coordinates":true} 
[2026-09-18 09:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164064768001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724595640320,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:37] 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-09-18 09:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703379000,"timestamp_ms":1789703379000,"timestamp_seconds":1789703379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a25838"} 
[2026-09-18 09:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 09:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:23:37] 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-09-18 09:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164064768001,"66":13222,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771604724595640320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164064768001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:23:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724595640320,"description":"Unknown IO ID 45"} 
[2026-09-18 09:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164064768001,"power":13222,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771604724595640320}} 
[2026-09-18 09:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":185845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:23:37] local.INFO: GPS data processed {"connection_id":185845,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:23:37] local.INFO: Acknowledgment sent {"connection_id":185845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:23:37] local.INFO: TCP Data received {"connection_id":186007,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:37] local.INFO: Processing buffer {"connection_id":186007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:23:37] local.INFO: IMEI packet received {"connection_id":186007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":186007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:23:50] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4d8d8012d34c50006aa3960000700e528..."} 
[2026-09-18 09:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4d8d8012d34c50006aa3960000700e528..."} 
[2026-09-18 09:23:50] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4d8d8012d34c50006aa3960000700e528..."} 
[2026-09-18 09:23:50] local.INFO: Packet analysis {"connection_id":188620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:23:50] local.INFO: Extracted packet for processing {"connection_id":188620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819104,"longitude_deg":75.8433024,"latitude_deg":11.1819104,"altitude":7,"angle":229,"satellites":40,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa3960","is_valid_coordinates":true} 
[2026-09-18 09:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164106240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177310510055424,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963986751488,"note":"Value kept but may cause issues"} 
[2026-09-18 09:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703543000,"timestamp_ms":1789703543000,"timestamp_seconds":1789703543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4d8d8"} 
[2026-09-18 09:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:23: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-09-18 09:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 09:23:50] 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-09-18 09:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164106240001,"66":27974,"97":206,"81":23296,"24":4,"16":405177310510055424,"45":3802726963986751488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164106240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177310510055424,"km_value":405177310510055.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963986751488,"description":"Unknown IO ID 45"} 
[2026-09-18 09:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164106240001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802726963986751488}} 
[2026-09-18 09:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":188620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:23:50] local.INFO: GPS data processed {"connection_id":188620,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:23:50] local.INFO: Acknowledgment sent {"connection_id":188620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:04] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:04] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:04] local.INFO: IMEI packet received {"connection_id":186008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":186008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:24:08] local.INFO: TCP Data received {"connection_id":185845,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a25838012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a25838012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:24:08] local.INFO: Processing buffer {"connection_id":185845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a25838012d79bb0005e7a9480006000a27..."} 
[2026-09-18 09:24:08] local.INFO: Packet analysis {"connection_id":185845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:24:08] local.INFO: Extracted packet for processing {"connection_id":185845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762952448,"raw_latitude":99068232,"longitude_deg":76.2952448,"latitude_deg":9.9068232,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79bb00","hex_latitude":"05e7a948","is_valid_coordinates":true} 
[2026-09-18 09:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164065024001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724595640320,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:08] 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-09-18 09:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703379000,"timestamp_ms":1789703379000,"timestamp_seconds":1789703379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a25838"} 
[2026-09-18 09:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 09:24: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-09-18 09:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:24:08] 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-09-18 09:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164065024001,"66":13222,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771604724595640320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164065024001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:24:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724595640320,"description":"Unknown IO ID 45"} 
[2026-09-18 09:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164065024001,"power":13222,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771604724595640320}} 
[2026-09-18 09:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":185845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:24:09] local.INFO: GPS data processed {"connection_id":185845,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:24:09] local.INFO: Acknowledgment sent {"connection_id":185845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:09] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:09] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:09] local.INFO: IMEI packet received {"connection_id":186008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":186008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:24:10] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4e878012d1b2980072495280031008f18..."} 
[2026-09-18 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4e878012d1b2980072495280031008f18..."} 
[2026-09-18 09:24:10] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4e878012d1b2980072495280031008f18..."} 
[2026-09-18 09:24:10] local.INFO: Packet analysis {"connection_id":186008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:24:10] local.INFO: Extracted packet for processing {"connection_id":186008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756754816,"raw_latitude":119837992,"longitude_deg":75.6754816,"latitude_deg":11.9837992,"altitude":49,"angle":143,"satellites":24,"speed":12,"hex_longitude":"2d1b2980","hex_latitude":"07249528","is_valid_coordinates":true} 
[2026-09-18 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164107776001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172513732034560,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957095543747794944,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789703547000,"timestamp_ms":1789703547000,"timestamp_seconds":1789703547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4e878"} 
[2026-09-18 09:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 09:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164107776001,"66":13993,"136":206,"83":42752,"24":12,"16":21172513732034560,"45":1957095543747794944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 09:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164107776001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:24:10] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 09:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172513732034560,"km_value":21172513732034.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957095543747794944,"description":"Unknown IO ID 45"} 
[2026-09-18 09:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164107776001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1957095543747794944}} 
[2026-09-18 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":186008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:24:10] local.INFO: GPS data processed {"connection_id":186008,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:24:10] local.INFO: Acknowledgment sent {"connection_id":186008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:12] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:24:12] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:24:12] local.INFO: IMEI packet received {"connection_id":188621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":188621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:24:18] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:24:18] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:24:18] local.INFO: IMEI packet received {"connection_id":188621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":188621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:24:19] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4fc00012d34c44006aa39680007014f28..."} 
[2026-09-18 09:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4fc00012d34c44006aa39680007014f28..."} 
[2026-09-18 09:24:19] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4fc00012d34c44006aa39680007014f28..."} 
[2026-09-18 09:24:19] local.INFO: Packet analysis {"connection_id":188621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:24:19] local.INFO: Extracted packet for processing {"connection_id":188621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111819112,"longitude_deg":75.8432832,"latitude_deg":11.1819112,"altitude":7,"angle":335,"satellites":40,"speed":2,"hex_longitude":"2d34c440","hex_latitude":"06aa3968","is_valid_coordinates":true} 
[2026-09-18 09:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164107008001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177323394957312,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489009942528,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703552000,"timestamp_ms":1789703552000,"timestamp_seconds":1789703552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4fc00"} 
[2026-09-18 09:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:24: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-09-18 09: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":70,"data_length":795,"current_offset":136} 
[2026-09-18 09:24:19] 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-09-18 09:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164107008001,"66":27919,"97":206,"81":23296,"24":2,"16":405177323394957312,"45":3802445489009942528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164107008001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177323394957312,"km_value":405177323394957.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489009942528,"description":"Unknown IO ID 45"} 
[2026-09-18 09:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164107008001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489009942528}} 
[2026-09-18 09:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":188621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:24:19] local.INFO: GPS data processed {"connection_id":188621,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:24:19] local.INFO: Acknowledgment sent {"connection_id":188621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:36] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:24:36] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:24:36] local.INFO: IMEI packet received {"connection_id":187301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":187301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:24:41] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:24:41] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:24:41] local.INFO: IMEI packet received {"connection_id":187301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":187301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:24:42] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a27f48012d79ba8005e7a9480006000a27..."} 
[2026-09-18 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a27f48012d79ba8005e7a9480006000a27..."} 
[2026-09-18 09:24:42] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a27f48012d79ba8005e7a9480006000a27..."} 
[2026-09-18 09:24:42] local.INFO: Packet analysis {"connection_id":187301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:24:42] local.INFO: Extracted packet for processing {"connection_id":187301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068232,"longitude_deg":76.295232,"latitude_deg":9.9068232,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a948","is_valid_coordinates":true} 
[2026-09-18 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164065024001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724595640320,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:42] 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-09-18 09:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789703389000,"timestamp_ms":1789703389000,"timestamp_seconds":1789703389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a27f48"} 
[2026-09-18 09:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 09:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:24:42] 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-09-18 09:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164065024001,"66":5221,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771604724595640320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164065024001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:24:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:24:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724595640320,"description":"Unknown IO ID 45"} 
[2026-09-18 09:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164065024001,"power":5221,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771604724595640320}} 
[2026-09-18 09:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":187301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:24:42] local.INFO: GPS data processed {"connection_id":187301,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:24:42] local.INFO: Acknowledgment sent {"connection_id":187301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:43] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a27f48012d79ba8005e7a9480006000a27..."} 
[2026-09-18 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a27f48012d79ba8005e7a9480006000a27..."} 
[2026-09-18 09:24:43] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a27f48012d79ba8005e7a9480006000a27..."} 
[2026-09-18 09:24:43] local.INFO: Packet analysis {"connection_id":187301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:24:43] local.INFO: Extracted packet for processing {"connection_id":187301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a2"} 
[2026-09-18 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068232,"longitude_deg":76.295232,"latitude_deg":9.9068232,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a948","is_valid_coordinates":true} 
[2026-09-18 09:24: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-09-18 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:43] 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-09-18 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789703389000,"timestamp_ms":1789703389000,"timestamp_seconds":1789703389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a27f48"} 
[2026-09-18 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:24:43] 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-09-18 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":5221,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:24:43] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:24:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":5221,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":187301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:24:43] local.INFO: GPS data processed {"connection_id":187301,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:24:43] local.INFO: Acknowledgment sent {"connection_id":187301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:50] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4ffe8012d34c44006aa39b80008016528..."} 
[2026-09-18 09:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4ffe8012d34c44006aa39b80008016528..."} 
[2026-09-18 09:24:50] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4ffe8012d34c44006aa39b80008016528..."} 
[2026-09-18 09:24:50] local.INFO: Packet analysis {"connection_id":188621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:24:50] local.INFO: Extracted packet for processing {"connection_id":188621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:24:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111819192,"longitude_deg":75.8432832,"latitude_deg":11.1819192,"altitude":8,"angle":357,"satellites":40,"speed":2,"hex_longitude":"2d34c440","hex_latitude":"06aa39b8","is_valid_coordinates":true} 
[2026-09-18 09:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164109312001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177327689924608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777411584,"note":"Value kept but may cause issues"} 
[2026-09-18 09:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703553000,"timestamp_ms":1789703553000,"timestamp_seconds":1789703553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4ffe8"} 
[2026-09-18 09:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:24: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-09-18 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 09:24:50] 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-09-18 09:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164109312001,"66":27919,"97":206,"81":23296,"24":2,"16":405177327689924608,"45":3802234382777411584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164109312001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:24:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:24:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177327689924608,"km_value":405177327689924.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777411584,"description":"Unknown IO ID 45"} 
[2026-09-18 09:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164109312001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802234382777411584}} 
[2026-09-18 09:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":188621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:24:50] local.INFO: GPS data processed {"connection_id":188621,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:24:50] local.INFO: Acknowledgment sent {"connection_id":188621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:24:54] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:54] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:54] local.INFO: IMEI packet received {"connection_id":186009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":186009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:24:59] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:59] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:24:59] local.INFO: IMEI packet received {"connection_id":186009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":186009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:25:00] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4ec60012d1b2ac0072494280032008217..."} 
[2026-09-18 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4ec60012d1b2ac0072494280032008217..."} 
[2026-09-18 09:25:00] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4ec60012d1b2ac0072494280032008217..."} 
[2026-09-18 09:25:00] local.INFO: Packet analysis {"connection_id":186009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:25:00] local.INFO: Extracted packet for processing {"connection_id":186009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756755136,"raw_latitude":119837736,"longitude_deg":75.6755136,"latitude_deg":11.9837736,"altitude":50,"angle":130,"satellites":23,"speed":13,"hex_longitude":"2d1b2ac0","hex_latitude":"07249428","is_valid_coordinates":true} 
[2026-09-18 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164108032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172535206871040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957236281236072448,"note":"Value kept but may cause issues"} 
[2026-09-18 09: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-09-18 09:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789703548000,"timestamp_ms":1789703548000,"timestamp_seconds":1789703548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4ec60"} 
[2026-09-18 09:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 09:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164108032001,"66":13993,"136":206,"83":42752,"24":13,"16":21172535206871040,"45":1957236281236072448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 09:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164108032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:25:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 09:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172535206871040,"km_value":21172535206871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957236281236072448,"description":"Unknown IO ID 45"} 
[2026-09-18 09:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164108032001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1957236281236072448}} 
[2026-09-18 09:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":186009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:25:00] local.INFO: GPS data processed {"connection_id":186009,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:25:00] local.INFO: Acknowledgment sent {"connection_id":186009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:25:15] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:25:15] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:25:15] local.INFO: Packet analysis {"connection_id":187301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:25:15] local.INFO: Extracted packet for processing {"connection_id":187301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:15] 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-09-18 09:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:25:15] 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-09-18 09:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:25:15] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:25:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":187301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:25:15] local.INFO: GPS data processed {"connection_id":187301,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:25:15] local.INFO: Acknowledgment sent {"connection_id":187301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:25:18] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:25:18] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:25:18] local.INFO: IMEI packet received {"connection_id":188622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":188622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:25:22] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:25:22] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:25:22] local.INFO: IMEI packet received {"connection_id":188622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":188622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:25:23] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a503d0012d34c44006aa39d00008000728..."} 
[2026-09-18 09:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a503d0012d34c44006aa39d00008000728..."} 
[2026-09-18 09:25:23] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a503d0012d34c44006aa39d00008000728..."} 
[2026-09-18 09:25:23] local.INFO: Packet analysis {"connection_id":188622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:25:23] local.INFO: Extracted packet for processing {"connection_id":188622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111819216,"longitude_deg":75.8432832,"latitude_deg":11.1819216,"altitude":8,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa39d0","is_valid_coordinates":true} 
[2026-09-18 09:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164109568001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177327689924608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777432064,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789703554000,"timestamp_ms":1789703554000,"timestamp_seconds":1789703554,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a503d0"} 
[2026-09-18 09:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 09:25:23] 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-09-18 09:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164109568001,"66":27930,"97":206,"81":23296,"24":0,"16":405177327689924608,"45":3802234382777432064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164109568001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177327689924608,"km_value":405177327689924.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777432064,"description":"Unknown IO ID 45"} 
[2026-09-18 09:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164109568001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777432064}} 
[2026-09-18 09:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":188622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:25:23] local.INFO: GPS data processed {"connection_id":188622,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:25:23] local.INFO: Acknowledgment sent {"connection_id":188622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:25:28] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a52ae0012d34c38006aa3a20000a00e328..."} 
[2026-09-18 09:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a52ae0012d34c38006aa3a20000a00e328..."} 
[2026-09-18 09:25:28] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a52ae0012d34c38006aa3a20000a00e328..."} 
[2026-09-18 09:25:28] local.INFO: Packet analysis {"connection_id":188622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:25:28] local.INFO: Extracted packet for processing {"connection_id":188622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111819296,"longitude_deg":75.843264,"latitude_deg":11.1819296,"altitude":10,"angle":227,"satellites":40,"speed":1,"hex_longitude":"2d34c380","hex_latitude":"06aa3a20","is_valid_coordinates":true} 
[2026-09-18 09:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164109824001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177349164761088,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777438208,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789703564000,"timestamp_ms":1789703564000,"timestamp_seconds":1789703564,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a52ae0"} 
[2026-09-18 09:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 09:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164109824001,"66":27658,"97":206,"81":23296,"24":1,"16":405177349164761088,"45":3802234382777438208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164109824001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:25:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:25:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177349164761088,"km_value":405177349164761.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777438208,"description":"Unknown IO ID 45"} 
[2026-09-18 09:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164109824001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802234382777438208}} 
[2026-09-18 09:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":188622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:25:28] local.INFO: GPS data processed {"connection_id":188622,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:25:28] local.INFO: Acknowledgment sent {"connection_id":188622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:25:31] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a4f430012d1b2cc0072492b00032006d16..."} 
[2026-09-18 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a4f430012d1b2cc0072492b00032006d16..."} 
[2026-09-18 09:25:31] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a4f430012d1b2cc0072492b00032006d16..."} 
[2026-09-18 09:25:31] local.INFO: Packet analysis {"connection_id":186009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:25:31] local.INFO: Extracted packet for processing {"connection_id":186009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a4"} 
[2026-09-18 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756755648,"raw_latitude":119837360,"longitude_deg":75.6755648,"latitude_deg":11.983736,"altitude":50,"angle":109,"satellites":22,"speed":11,"hex_longitude":"2d1b2cc0","hex_latitude":"072492b0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164108288001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172565271642112,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957588124956895232,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25: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-09-18 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789703550000,"timestamp_ms":1789703550000,"timestamp_seconds":1789703550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a4f430"} 
[2026-09-18 09:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 09:25: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-09-18 09: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-09-18 09:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164108288001,"66":14070,"136":206,"83":42752,"24":11,"16":21172565271642112,"45":1957588124956895232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164108288001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:25:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 09:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172565271642112,"km_value":21172565271642.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957588124956895232,"description":"Unknown IO ID 45"} 
[2026-09-18 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164108288001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1957588124956895232}} 
[2026-09-18 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":186009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:25:31] local.INFO: GPS data processed {"connection_id":186009,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:25:31] local.INFO: Acknowledgment sent {"connection_id":186009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:25:31] local.INFO: TCP Data received {"connection_id":187302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:25:31] local.INFO: Processing buffer {"connection_id":187302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:25:31] local.INFO: IMEI packet received {"connection_id":187302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":187302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:25:36] local.INFO: TCP Data received {"connection_id":187302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:25:36] local.INFO: Processing buffer {"connection_id":187302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:25:36] local.INFO: IMEI packet received {"connection_id":187302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":187302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:25:37] local.INFO: TCP Data received {"connection_id":187302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:25:37] local.INFO: Processing buffer {"connection_id":187302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:25:37] local.INFO: Packet analysis {"connection_id":187302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:25:37] local.INFO: Extracted packet for processing {"connection_id":187302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:25:37] 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-09-18 09:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:25:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":187302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:25:37] local.INFO: GPS data processed {"connection_id":187302,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:25:37] local.INFO: Acknowledgment sent {"connection_id":187302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:25:54] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:25:54] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:25:54] local.INFO: IMEI packet received {"connection_id":188623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":188623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:25:59] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:25:59] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:25:59] local.INFO: IMEI packet received {"connection_id":188623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":188623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:26:00] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a54638012d1b310007248f580030007517..."} 
[2026-09-18 09:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a54638012d1b310007248f580030007517..."} 
[2026-09-18 09:26:00] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a54638012d1b310007248f580030007517..."} 
[2026-09-18 09:26:00] local.INFO: Packet analysis {"connection_id":188623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:00] local.INFO: Extracted packet for processing {"connection_id":188623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756756736,"raw_latitude":119836504,"longitude_deg":75.6756736,"latitude_deg":11.9836504,"altitude":48,"angle":117,"satellites":23,"speed":0,"hex_longitude":"2d1b3100","hex_latitude":"07248f58","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164108800001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958151074910220288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172633991118848,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789703571000,"timestamp_ms":1789703571000,"timestamp_seconds":1789703571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a54638"} 
[2026-09-18 09:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 09:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164108800001,"66":14102,"45":1958151074910220288,"83":41984,"24":0,"16":21172633991118848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 09:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164108800001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958151074910220288,"description":"Unknown IO ID 45"} 
[2026-09-18 09:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172633991118848,"km_value":21172633991118.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:26:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164108800001,"power":14102,"unknown_45":1958151074910220288,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 09:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":188623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:26:00] local.INFO: GPS data processed {"connection_id":188623,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:26:00] local.INFO: Acknowledgment sent {"connection_id":188623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:26:08] local.INFO: TCP Data received {"connection_id":187302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:26:08] local.INFO: Processing buffer {"connection_id":187302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:26:08] local.INFO: Packet analysis {"connection_id":187302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:26:08] local.INFO: Extracted packet for processing {"connection_id":187302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:08] 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-09-18 09:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:26:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:26:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":187302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:26:08] local.INFO: GPS data processed {"connection_id":187302,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:26:08] local.INFO: Acknowledgment sent {"connection_id":187302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:26:13] local.INFO: TCP Data received {"connection_id":186010,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:26:13] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:26:13] local.INFO: IMEI packet received {"connection_id":186010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":186010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:26:18] local.INFO: TCP Data received {"connection_id":186010,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:26:18] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:26:18] local.INFO: IMEI packet received {"connection_id":186010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":186010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:26:19] local.INFO: TCP Data received {"connection_id":186010,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:26:19] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:26:19] local.INFO: Packet analysis {"connection_id":186010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:19] local.INFO: Extracted packet for processing {"connection_id":186010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111819288,"longitude_deg":75.843264,"latitude_deg":11.1819288,"altitude":10,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3a18","is_valid_coordinates":true} 
[2026-09-18 09:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112384001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544925696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703565000,"timestamp_ms":1789703565000,"timestamp_seconds":1789703565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a52ec8"} 
[2026-09-18 09:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:26: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-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:26:19] 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-09-18 09:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112384001,"66":27658,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544925696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112384001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544925696,"description":"Unknown IO ID 45"} 
[2026-09-18 09:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112384001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544925696}} 
[2026-09-18 09:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":186010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:26:19] local.INFO: GPS data processed {"connection_id":186010,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:26:19] local.INFO: Acknowledgment sent {"connection_id":186010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:26:21] local.INFO: TCP Data received {"connection_id":188619,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:26:21] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:26:21] local.INFO: IMEI packet received {"connection_id":188619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":188619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:26:31] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a59840012d1b310007248f580030007517..."} 
[2026-09-18 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a59840012d1b310007248f580030007517..."} 
[2026-09-18 09:26:31] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a59840012d1b310007248f580030007517..."} 
[2026-09-18 09:26:31] local.INFO: Packet analysis {"connection_id":188623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:31] local.INFO: Extracted packet for processing {"connection_id":188623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756756736,"raw_latitude":119836504,"longitude_deg":75.6756736,"latitude_deg":11.9836504,"altitude":48,"angle":117,"satellites":23,"speed":0,"hex_longitude":"2d1b3100","hex_latitude":"07248f58","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164114176001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343561021440,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172633991118848,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789703592000,"timestamp_ms":1789703592000,"timestamp_seconds":1789703592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a59840"} 
[2026-09-18 09:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 09:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164114176001,"66":14004,"45":1959347343561021440,"83":41984,"24":0,"16":21172633991118848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 09:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164114176001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343561021440,"description":"Unknown IO ID 45"} 
[2026-09-18 09:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172633991118848,"km_value":21172633991118.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:26:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164114176001,"power":14004,"unknown_45":1959347343561021440,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 09:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":188623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:26:31] local.INFO: GPS data processed {"connection_id":188623,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:26:31] local.INFO: Acknowledgment sent {"connection_id":188623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:26:31] local.INFO: TCP Data received {"connection_id":187304,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:26:31] local.INFO: Processing buffer {"connection_id":187304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:26:31] local.INFO: IMEI packet received {"connection_id":187304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":187304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:26:36] local.INFO: TCP Data received {"connection_id":187304,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:26:36] local.INFO: Processing buffer {"connection_id":187304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:26:36] local.INFO: IMEI packet received {"connection_id":187304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":187304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:26:37] local.INFO: TCP Data received {"connection_id":187304,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:26:37] local.INFO: Processing buffer {"connection_id":187304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:26:37] local.INFO: Packet analysis {"connection_id":187304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:26:37] local.INFO: Extracted packet for processing {"connection_id":187304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:26:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:37] 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-09-18 09:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:26:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:26:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":187304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:26:37] local.INFO: GPS data processed {"connection_id":187304,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:26:37] local.INFO: Acknowledgment sent {"connection_id":187304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:26:50] local.INFO: TCP Data received {"connection_id":186010,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:26:50] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:26:50] local.INFO: Packet analysis {"connection_id":186010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:50] local.INFO: Extracted packet for processing {"connection_id":186010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111819288,"longitude_deg":75.843264,"latitude_deg":11.1819288,"altitude":10,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3a18","is_valid_coordinates":true} 
[2026-09-18 09:26: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-09-18 09:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112384001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544925696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703565000,"timestamp_ms":1789703565000,"timestamp_seconds":1789703565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a52ec8"} 
[2026-09-18 09:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:26: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-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:26:50] 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-09-18 09:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112384001,"66":27658,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544925696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112384001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544925696,"description":"Unknown IO ID 45"} 
[2026-09-18 09:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112384001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544925696}} 
[2026-09-18 09:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":186010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:26:50] local.INFO: GPS data processed {"connection_id":186010,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:26:50] local.INFO: Acknowledgment sent {"connection_id":186010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:26:59] local.INFO: TCP Data received {"connection_id":187305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:26:59] local.INFO: Processing buffer {"connection_id":187305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:26:59] local.INFO: IMEI packet received {"connection_id":187305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":187305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:27:04] local.INFO: TCP Data received {"connection_id":187305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:27:04] local.INFO: Processing buffer {"connection_id":187305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:27:04] local.INFO: IMEI packet received {"connection_id":187305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":187305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:27:05] local.INFO: TCP Data received {"connection_id":187305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a5ea48012d1b324007248c280031007c18..."} 
[2026-09-18 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a5ea48012d1b324007248c280031007c18..."} 
[2026-09-18 09:27:05] local.INFO: Processing buffer {"connection_id":187305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a5ea48012d1b324007248c280031007c18..."} 
[2026-09-18 09:27:05] local.INFO: Packet analysis {"connection_id":187305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:27:05] local.INFO: Extracted packet for processing {"connection_id":187305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756757056,"raw_latitude":119835688,"longitude_deg":75.6757056,"latitude_deg":11.9835688,"altitude":49,"angle":124,"satellites":24,"speed":0,"hex_longitude":"2d1b3240","hex_latitude":"07248c28","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164119552001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343561021440,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172676940791808,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789703613000,"timestamp_ms":1789703613000,"timestamp_seconds":1789703613,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a5ea48"} 
[2026-09-18 09:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164119552001,"66":14048,"45":1959347343561021440,"83":41984,"24":0,"16":21172676940791808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164119552001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343561021440,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172676940791808,"km_value":21172676940791.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164119552001,"power":14048,"unknown_45":1959347343561021440,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 09:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":187305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:05] local.INFO: GPS data processed {"connection_id":187305,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:05] local.INFO: Acknowledgment sent {"connection_id":187305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:05] local.INFO: TCP Data received {"connection_id":187305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a63c50012d1b33c007248bd0002c007e19..."} 
[2026-09-18 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a63c50012d1b33c007248bd0002c007e19..."} 
[2026-09-18 09:27:05] local.INFO: Processing buffer {"connection_id":187305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a63c50012d1b33c007248bd0002c007e19..."} 
[2026-09-18 09:27:05] local.INFO: Packet analysis {"connection_id":187305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:05] local.INFO: Extracted packet for processing {"connection_id":187305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756757440,"raw_latitude":119835600,"longitude_deg":75.675744,"latitude_deg":11.98356,"altitude":44,"angle":126,"satellites":25,"speed":0,"hex_longitude":"2d1b33c0","hex_latitude":"07248bd0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164124928001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959699187281700864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172698415628288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789703634000,"timestamp_ms":1789703634000,"timestamp_seconds":1789703634,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a63c50"} 
[2026-09-18 09:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164124928001,"66":13156,"45":1959699187281700864,"83":41984,"24":0,"16":21172698415628288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 09:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164124928001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959699187281700864,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 09:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172698415628288,"km_value":21172698415628.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164124928001,"power":13156,"unknown_45":1959699187281700864,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 09:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":187305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:05] local.INFO: GPS data processed {"connection_id":187305,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:05] local.INFO: Acknowledgment sent {"connection_id":187305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:10] local.INFO: TCP Data received {"connection_id":187304,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:27:10] local.INFO: Processing buffer {"connection_id":187304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:27:10] local.INFO: Packet analysis {"connection_id":187304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:10] local.INFO: Extracted packet for processing {"connection_id":187304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:10] 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-09-18 09:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:27:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":187304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:10] local.INFO: GPS data processed {"connection_id":187304,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:10] local.INFO: Acknowledgment sent {"connection_id":187304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:13] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:27:13] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:27:13] local.INFO: IMEI packet received {"connection_id":188624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:27:18] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:27:18] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:27:18] local.INFO: IMEI packet received {"connection_id":188624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":188624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:27:19] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:27:19] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:27:19] local.INFO: Packet analysis {"connection_id":188624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:27:19] local.INFO: Extracted packet for processing {"connection_id":188624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111819288,"longitude_deg":75.843264,"latitude_deg":11.1819288,"altitude":10,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3a18","is_valid_coordinates":true} 
[2026-09-18 09:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112384001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544925696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703565000,"timestamp_ms":1789703565000,"timestamp_seconds":1789703565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a52ec8"} 
[2026-09-18 09:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27: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-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:19] 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-09-18 09:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:27: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-09-18 09:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112384001,"66":27658,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544925696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112384001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544925696,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112384001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544925696}} 
[2026-09-18 09:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":188624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:19] local.INFO: GPS data processed {"connection_id":188624,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:19] local.INFO: Acknowledgment sent {"connection_id":188624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:31] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:27:31] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:27:31] local.INFO: IMEI packet received {"connection_id":188625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":188625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:27:36] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:27:36] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:27:36] local.INFO: IMEI packet received {"connection_id":188625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":188625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:27:36] local.INFO: TCP Data received {"connection_id":187305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a68e58012d1b33c007248bd8002c007e19..."} 
[2026-09-18 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a68e58012d1b33c007248bd8002c007e19..."} 
[2026-09-18 09:27:36] local.INFO: Processing buffer {"connection_id":187305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a68e58012d1b33c007248bd8002c007e19..."} 
[2026-09-18 09:27:36] local.INFO: Packet analysis {"connection_id":187305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:36] local.INFO: Extracted packet for processing {"connection_id":187305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756757440,"raw_latitude":119835608,"longitude_deg":75.675744,"latitude_deg":11.9835608,"altitude":44,"angle":126,"satellites":25,"speed":0,"hex_longitude":"2d1b33c0","hex_latitude":"07248bd8","is_valid_coordinates":true} 
[2026-09-18 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164130304001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172698415628288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960121399746744320,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789703655000,"timestamp_ms":1789703655000,"timestamp_seconds":1789703655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a68e58"} 
[2026-09-18 09:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27: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-09-18 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164130304001,"66":13156,"175":206,"83":42752,"24":0,"16":21172698415628288,"45":1960121399746744320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-18 09:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164130304001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-18 09:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172698415628288,"km_value":21172698415628.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960121399746744320,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164130304001,"power":13156,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960121399746744320}} 
[2026-09-18 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":187305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:37] local.INFO: GPS data processed {"connection_id":187305,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:37] local.INFO: Acknowledgment sent {"connection_id":187305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:37] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:27:37] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:27:37] local.INFO: Packet analysis {"connection_id":188625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:37] local.INFO: Extracted packet for processing {"connection_id":188625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:37] 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-09-18 09:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:27:37] 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-09-18 09:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":188625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:37] local.INFO: GPS data processed {"connection_id":188625,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:37] local.INFO: Acknowledgment sent {"connection_id":188625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:51] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:27:51] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:27:51] local.INFO: Packet analysis {"connection_id":188624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:27:51] local.INFO: Extracted packet for processing {"connection_id":188624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111819288,"longitude_deg":75.843264,"latitude_deg":11.1819288,"altitude":10,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3a18","is_valid_coordinates":true} 
[2026-09-18 09:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112384001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544925696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789703565000,"timestamp_ms":1789703565000,"timestamp_seconds":1789703565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a52ec8"} 
[2026-09-18 09:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:27: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-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:27:51] 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-09-18 09:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112384001,"66":27658,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544925696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112384001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544925696,"description":"Unknown IO ID 45"} 
[2026-09-18 09:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112384001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544925696}} 
[2026-09-18 09:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":188624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:27:51] local.INFO: GPS data processed {"connection_id":188624,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:27:51] local.INFO: Acknowledgment sent {"connection_id":188624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:27:54] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:27:54] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:27:54] local.INFO: IMEI packet received {"connection_id":187307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":187307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:28:01] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:28:01] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:28:01] local.INFO: IMEI packet received {"connection_id":187307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":187307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:28:09] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:28:09] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:28:09] local.INFO: Packet analysis {"connection_id":188625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:28:09] local.INFO: Extracted packet for processing {"connection_id":188625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:09] 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-09-18 09:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:28:09] 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-09-18 09:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:28:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":188625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:09] local.INFO: GPS data processed {"connection_id":188625,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:09] local.INFO: Acknowledgment sent {"connection_id":188625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:11] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b2..."} 
[2026-09-18 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b2..."} 
[2026-09-18 09:28:11] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 09:28:11] local.INFO: IMEI packet received {"connection_id":187307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":187307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:28:12] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9e1e8012d1b33c007248b88002400fd1d..."} 
[2026-09-18 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9e1e8012d1b33c007248b88002400fd1d..."} 
[2026-09-18 09:28:12] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b2..."} 
[2026-09-18 09:28:12] local.INFO: IMEI packet received {"connection_id":187307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":187307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:28:13] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:28:13] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:28:13] local.INFO: IMEI packet received {"connection_id":186011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":186011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:28:13] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9e5d0012d1b32c007248b800024011a1d..."} 
[2026-09-18 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9e5d0012d1b32c007248b800024011a1d..."} 
[2026-09-18 09:28:13] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0b2a9de00012d1b344007248be0002400cb1d..."} 
[2026-09-18 09:28:13] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:13] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756757568,"raw_latitude":119835616,"longitude_deg":75.6757568,"latitude_deg":11.9835616,"altitude":36,"angle":203,"satellites":29,"speed":3,"hex_longitude":"2d1b3440","hex_latitude":"07248be0","is_valid_coordinates":true} 
[2026-09-18 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164189440001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172707005562880,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960121399746746368,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789703872000,"timestamp_ms":1789703872000,"timestamp_seconds":1789703872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9de00"} 
[2026-09-18 09:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164189440001,"66":13993,"176":206,"83":42752,"24":3,"16":21172707005562880,"45":1960121399746746368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164189440001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172707005562880,"km_value":21172707005562.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960121399746746368,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164189440001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1960121399746746368}} 
[2026-09-18 09:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:13] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:13] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:13] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:13] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756757440,"raw_latitude":119835528,"longitude_deg":75.675744,"latitude_deg":11.9835528,"altitude":36,"angle":253,"satellites":29,"speed":6,"hex_longitude":"2d1b33c0","hex_latitude":"07248b88","is_valid_coordinates":true} 
[2026-09-18 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164191232001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172715595497472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960262137235103744,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789703873000,"timestamp_ms":1789703873000,"timestamp_seconds":1789703873,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9e1e8"} 
[2026-09-18 09:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164191232001,"66":14004,"176":206,"83":42752,"24":6,"16":21172715595497472,"45":1960262137235103744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164191232001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172715595497472,"km_value":21172715595497.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960262137235103744,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164191232001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1960262137235103744}} 
[2026-09-18 09:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:13] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:13] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:13] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:13] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119835520,"longitude_deg":75.6757184,"latitude_deg":11.983552,"altitude":36,"angle":282,"satellites":29,"speed":9,"hex_longitude":"2d1b32c0","hex_latitude":"07248b80","is_valid_coordinates":true} 
[2026-09-18 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164191488001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172724185432064,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960121399746725888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789703874000,"timestamp_ms":1789703874000,"timestamp_seconds":1789703874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9e5d0"} 
[2026-09-18 09:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164191488001,"66":14004,"176":206,"83":42752,"24":9,"16":21172724185432064,"45":1960121399746725888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164191488001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172724185432064,"km_value":21172724185432.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960121399746725888,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164191488001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1960121399746725888}} 
[2026-09-18 09:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:14] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:14] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:14] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9e9b8012d1b320007248bf80024012f1d..."} 
[2026-09-18 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9e9b8012d1b320007248bf80024012f1d..."} 
[2026-09-18 09:28:14] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9e9b8012d1b320007248bf80024012f1d..."} 
[2026-09-18 09:28:14] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:14] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756756992,"raw_latitude":119835640,"longitude_deg":75.6756992,"latitude_deg":11.983564,"altitude":36,"angle":303,"satellites":29,"speed":13,"hex_longitude":"2d1b3200","hex_latitude":"07248bf8","is_valid_coordinates":true} 
[2026-09-18 09:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164191744001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172737070333952,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770013184,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789703875000,"timestamp_ms":1789703875000,"timestamp_seconds":1789703875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9e9b8"} 
[2026-09-18 09:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164191744001,"66":14004,"176":206,"83":42752,"24":13,"16":21172737070333952,"45":1959839924770013184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164191744001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172737070333952,"km_value":21172737070333.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770013184,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164191744001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1959839924770013184}} 
[2026-09-18 09:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:14] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:14] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:15] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2aa0128012d1b270007249150002601211c..."} 
[2026-09-18 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2aa0128012d1b270007249150002601211c..."} 
[2026-09-18 09:28:15] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2aa0128012d1b270007249150002601211c..."} 
[2026-09-18 09:28:15] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2aa"} 
[2026-09-18 09:28:15] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2aa"} 
[2026-09-18 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756754176,"raw_latitude":119837008,"longitude_deg":75.6754176,"latitude_deg":11.9837008,"altitude":38,"angle":289,"satellites":28,"speed":19,"hex_longitude":"2d1b2700","hex_latitude":"07249150","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164192000001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172887394189312,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959628818537510912,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789703881000,"timestamp_ms":1789703881000,"timestamp_seconds":1789703881,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2aa0128"} 
[2026-09-18 09:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164192000001,"66":14070,"176":206,"83":42752,"24":19,"16":21172887394189312,"45":1959628818537510912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164192000001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172887394189312,"km_value":21172887394189.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959628818537510912,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164192000001,"power":14070,"unknown_176":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1959628818537510912}} 
[2026-09-18 09:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:15] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:15] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:18] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:28:18] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:28:18] local.INFO: IMEI packet received {"connection_id":186011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":186011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:28:19] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:28:19] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a52ec8012d34c38006aa3a18000a00e328..."} 
[2026-09-18 09:28:19] local.INFO: Packet analysis {"connection_id":186011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:28:19] local.INFO: Extracted packet for processing {"connection_id":186011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a5"} 
[2026-09-18 09:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111819288,"longitude_deg":75.843264,"latitude_deg":11.1819288,"altitude":10,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3a18","is_valid_coordinates":true} 
[2026-09-18 09:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112384001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544925696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703565000,"timestamp_ms":1789703565000,"timestamp_seconds":1789703565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a52ec8"} 
[2026-09-18 09:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28: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-09-18 09:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:19] 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-09-18 09:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112384001,"66":27658,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544925696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112384001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544925696,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112384001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544925696}} 
[2026-09-18 09:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":186011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:19] local.INFO: GPS data processed {"connection_id":186011,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:19] local.INFO: Acknowledgment sent {"connection_id":186011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:31] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:28:31] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:28:31] local.INFO: IMEI packet received {"connection_id":188626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":188626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:28:36] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:28:36] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:28:36] local.INFO: IMEI packet received {"connection_id":188626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":188626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:28:38] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:28:38] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:28:38] local.INFO: Packet analysis {"connection_id":188626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:28:38] local.INFO: Extracted packet for processing {"connection_id":188626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:38] 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-09-18 09:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:28:38] 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-09-18 09:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:28:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":188626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:38] local.INFO: GPS data processed {"connection_id":188626,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:38] local.INFO: Acknowledgment sent {"connection_id":188626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:38] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:28:38] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:28:38] local.INFO: IMEI packet received {"connection_id":185848,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":185848,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:28:39] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9f958012d0bda00070619a0002800831c..."} 
[2026-09-18 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9f958012d0bda00070619a0002800831c..."} 
[2026-09-18 09:28:39] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9f958012d0bda00070619a0002800831c..."} 
[2026-09-18 09:28:39] local.INFO: Packet analysis {"connection_id":185848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:39] local.INFO: Extracted packet for processing {"connection_id":185848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":755751424,"raw_latitude":117840288,"longitude_deg":75.5751424,"latitude_deg":11.7840288,"altitude":40,"angle":131,"satellites":28,"speed":12,"hex_longitude":"2d0bda00","hex_latitude":"070619a0","is_valid_coordinates":true} 
[2026-09-18 09:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164192768001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33036377339723776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853713634530586624,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789703879000,"timestamp_ms":1789703879000,"timestamp_seconds":1789703879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9f958"} 
[2026-09-18 09:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185848,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185848,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164192768001,"66":14580,"164":206,"94":10240,"24":12,"16":33036377339723776,"45":853713634530586624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 09:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164192768001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 09:28:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33036377339723776,"km_value":33036377339723.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":853713634530586624,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164192768001,"power":14580,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":853713634530586624}} 
[2026-09-18 09:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":185848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:39] local.INFO: GPS data processed {"connection_id":185848,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:39] local.INFO: Acknowledgment sent {"connection_id":185848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:50] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:28:50] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:28:50] local.INFO: Packet analysis {"connection_id":186011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:50] local.INFO: Extracted packet for processing {"connection_id":186011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:28:50] 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-09-18 09:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:28:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":186011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:28:50] local.INFO: GPS data processed {"connection_id":186011,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:28:50] local.INFO: Acknowledgment sent {"connection_id":186011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:28:54] local.INFO: TCP Data received {"connection_id":187309,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:28:54] local.INFO: Processing buffer {"connection_id":187309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:28:54] local.INFO: IMEI packet received {"connection_id":187309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":187309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:28:59] local.INFO: TCP Data received {"connection_id":187309,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:28:59] local.INFO: Processing buffer {"connection_id":187309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:28:59] local.INFO: IMEI packet received {"connection_id":187309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":187309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:00] local.INFO: TCP Data received {"connection_id":187309,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2aa08f8012d1b2380072491f00026010c1d..."} 
[2026-09-18 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2aa08f8012d1b2380072491f00026010c1d..."} 
[2026-09-18 09:29:00] local.INFO: Processing buffer {"connection_id":187309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2aa08f8012d1b2380072491f00026010c1d..."} 
[2026-09-18 09:29:00] local.INFO: Packet analysis {"connection_id":187309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2aa"} 
[2026-09-18 09:29:00] local.INFO: Extracted packet for processing {"connection_id":187309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2aa"} 
[2026-09-18 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756753280,"raw_latitude":119837168,"longitude_deg":75.675328,"latitude_deg":11.9837168,"altitude":38,"angle":268,"satellites":29,"speed":16,"hex_longitude":"2d1b2380","hex_latitude":"072491f0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164193536001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172926048894976,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956532593794043904,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29: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-09-18 09:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789703883000,"timestamp_ms":1789703883000,"timestamp_seconds":1789703883,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2aa08f8"} 
[2026-09-18 09:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29: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-09-18 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164193536001,"66":14048,"176":206,"83":42752,"24":16,"16":21172926048894976,"45":1956532593794043904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164193536001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172926048894976,"km_value":21172926048894.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956532593794043904,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164193536001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1956532593794043904}} 
[2026-09-18 09:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":187309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:00] local.INFO: GPS data processed {"connection_id":187309,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:00] local.INFO: Acknowledgment sent {"connection_id":187309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:10] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:29:10] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:29:10] local.INFO: Packet analysis {"connection_id":188626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:29:10] local.INFO: Extracted packet for processing {"connection_id":188626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:10] 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-09-18 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:29:10] 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-09-18 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":188626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:10] local.INFO: GPS data processed {"connection_id":188626,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:10] local.INFO: Acknowledgment sent {"connection_id":188626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:10] local.INFO: TCP Data received {"connection_id":185848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9fd40012d0bda4007061880002800991c..."} 
[2026-09-18 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9fd40012d0bda4007061880002800991c..."} 
[2026-09-18 09:29:10] local.INFO: Processing buffer {"connection_id":185848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9fd40012d0bda4007061880002800991c..."} 
[2026-09-18 09:29:10] local.INFO: Packet analysis {"connection_id":185848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:29:10] local.INFO: Extracted packet for processing {"connection_id":185848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":755751488,"raw_latitude":117840000,"longitude_deg":75.5751488,"latitude_deg":11.784,"altitude":40,"angle":153,"satellites":28,"speed":10,"hex_longitude":"2d0bda40","hex_latitude":"07061880","is_valid_coordinates":true} 
[2026-09-18 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164193024001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33036394519592960,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853995109507244032,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789703880000,"timestamp_ms":1789703880000,"timestamp_seconds":1789703880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9fd40"} 
[2026-09-18 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185848,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185848,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164193024001,"66":14580,"164":206,"94":10240,"24":10,"16":33036394519592960,"45":853995109507244032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164193024001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33036394519592960,"km_value":33036394519592.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":853995109507244032,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164193024001,"power":14580,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":853995109507244032}} 
[2026-09-18 09:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":185848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:10] local.INFO: GPS data processed {"connection_id":185848,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:10] local.INFO: Acknowledgment sent {"connection_id":185848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:12] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:29:12] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:29:12] local.INFO: IMEI packet received {"connection_id":186012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":186012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:29:18] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:29:18] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:29:18] local.INFO: IMEI packet received {"connection_id":186012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":186012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:18] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:29:18] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:29:18] local.INFO: Packet analysis {"connection_id":186012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:29:18] local.INFO: Extracted packet for processing {"connection_id":186012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:18] 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-09-18 09:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":186012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:18] local.INFO: GPS data processed {"connection_id":186012,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:18] local.INFO: Acknowledgment sent {"connection_id":186012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:24] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:24] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:24] local.INFO: IMEI packet received {"connection_id":187310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":187310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:29:25] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:25] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:25] local.INFO: IMEI packet received {"connection_id":187310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":187310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:28] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:28] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:28] local.INFO: IMEI packet received {"connection_id":187310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":187310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:30] local.INFO: TCP Data received {"connection_id":187309,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2aa0ce0012d1b21c0072491a8002700fb1c..."} 
[2026-09-18 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2aa0ce0012d1b21c0072491a8002700fb1c..."} 
[2026-09-18 09:29:30] local.INFO: Processing buffer {"connection_id":187309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2aa0ce0012d1b21c0072491a8002700fb1c..."} 
[2026-09-18 09:29:30] local.INFO: Packet analysis {"connection_id":187309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2aa"} 
[2026-09-18 09:29:30] local.INFO: Extracted packet for processing {"connection_id":187309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2aa"} 
[2026-09-18 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756752832,"raw_latitude":119837096,"longitude_deg":75.6752832,"latitude_deg":11.9837096,"altitude":39,"angle":251,"satellites":28,"speed":16,"hex_longitude":"2d1b21c0","hex_latitude":"072491a8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164194048001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21172947523731456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955547431375597568,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789703884000,"timestamp_ms":1789703884000,"timestamp_seconds":1789703884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2aa0ce0"} 
[2026-09-18 09:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164194048001,"66":14048,"176":206,"83":42752,"24":16,"16":21172947523731456,"45":1955547431375597568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-18 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164194048001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-18 09:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21172947523731456,"km_value":21172947523731.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955547431375597568,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164194048001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1955547431375597568}} 
[2026-09-18 09:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":187309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:31] local.INFO: GPS data processed {"connection_id":187309,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:31] local.INFO: Acknowledgment sent {"connection_id":187309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:31] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:29:31] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:29:31] local.INFO: IMEI packet received {"connection_id":188627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":188627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:29:33] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:33] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:29:33] local.INFO: IMEI packet received {"connection_id":187310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":187310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:34] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab2238012d0c0400070599a00017006e1f..."} 
[2026-09-18 09:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab2238012d0c0400070599a00017006e1f..."} 
[2026-09-18 09:29:34] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab2238012d0c0400070599a00017006e1f..."} 
[2026-09-18 09:29:34] local.INFO: Packet analysis {"connection_id":187310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:29:34] local.INFO: Extracted packet for processing {"connection_id":187310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:29:34] local.INFO: GPS Element Parsed {"raw_longitude":755762176,"raw_latitude":117807520,"longitude_deg":75.5762176,"latitude_deg":11.780752,"altitude":23,"angle":110,"satellites":31,"speed":37,"hex_longitude":"2d0c0400","hex_latitude":"070599a0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164209664001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33038292895137792,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856387646801711104,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789703955000,"timestamp_ms":1789703955000,"timestamp_seconds":1789703955,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab2238"} 
[2026-09-18 09:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164209664001,"66":14352,"164":206,"94":10240,"24":37,"16":33038292895137792,"45":856387646801711104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 09:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164209664001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:34] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 09:29:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33038292895137792,"km_value":33038292895137.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":856387646801711104,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164209664001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":856387646801711104}} 
[2026-09-18 09:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":187310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:34] local.INFO: GPS data processed {"connection_id":187310,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:34] local.INFO: Acknowledgment sent {"connection_id":187310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:36] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:29:36] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:29:36] local.INFO: IMEI packet received {"connection_id":188627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":188627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:37] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:29:37] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a6f000012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:29:37] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:29:37] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a6"} 
[2026-09-18 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164067584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107284992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:37] 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-09-18 09:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703680000,"timestamp_ms":1789703680000,"timestamp_seconds":1789703680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a6f000"} 
[2026-09-18 09:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":20,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1207,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:29:37] 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-09-18 09:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164067584001,"66":2568,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107284992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164067584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:29:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107284992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164067584001,"power":2568,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107284992}} 
[2026-09-18 09:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:37] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:37] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:50] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:29:50] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:29:50] local.INFO: Packet analysis {"connection_id":186012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:29:50] local.INFO: Extracted packet for processing {"connection_id":186012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:50] 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-09-18 09: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-09-18 09:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":186012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:50] local.INFO: GPS data processed {"connection_id":186012,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:50] local.INFO: Acknowledgment sent {"connection_id":186012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:29:54] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:29:54] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:29:54] local.INFO: IMEI packet received {"connection_id":185849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":185849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:29:58] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:29:58] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:29:58] local.INFO: IMEI packet received {"connection_id":185849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":185849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:29:59] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab7440012d1a4ac00723def8002e00d31f..."} 
[2026-09-18 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab7440012d1a4ac00723def8002e00d31f..."} 
[2026-09-18 09:29:59] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab7440012d1a4ac00723def8002e00d31f..."} 
[2026-09-18 09:29:59] local.INFO: Packet analysis {"connection_id":185849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:29:59] local.INFO: Extracted packet for processing {"connection_id":185849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756697792,"raw_latitude":119791352,"longitude_deg":75.6697792,"latitude_deg":11.9791352,"altitude":46,"angle":211,"satellites":31,"speed":41,"hex_longitude":"2d1a4ac0","hex_latitude":"0723def8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164215552001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21176473691881472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899956123465418752,"note":"Value kept but may cause issues"} 
[2026-09-18 09:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789703976000,"timestamp_ms":1789703976000,"timestamp_seconds":1789703976,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab7440"} 
[2026-09-18 09:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 09:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164215552001,"66":14265,"43":206,"83":42752,"24":41,"16":21176473691881472,"45":1899956123465418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 09:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164215552001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:29:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 09:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21176473691881472,"km_value":21176473691881.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899956123465418752,"description":"Unknown IO ID 45"} 
[2026-09-18 09:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164215552001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1899956123465418752}} 
[2026-09-18 09:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":185849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:29:59] local.INFO: GPS data processed {"connection_id":185849,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:29:59] local.INFO: Acknowledgment sent {"connection_id":185849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:09] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:09] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:09] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:09] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] 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-09-18 09:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:09] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:30:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:30:09] 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-09-18 09:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:30:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:09] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:09] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:18] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:30:18] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:30:18] local.INFO: IMEI packet received {"connection_id":188628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":188628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:30:23] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:30:23] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:30:23] local.INFO: IMEI packet received {"connection_id":188628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":188628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:30:24] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:30:24] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:30:24] local.INFO: Packet analysis {"connection_id":188628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:30:24] local.INFO: Extracted packet for processing {"connection_id":188628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:30:24] 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-09-18 09:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":188628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:24] local.INFO: GPS data processed {"connection_id":188628,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:24] local.INFO: Acknowledgment sent {"connection_id":188628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:29] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:30:29] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:30:29] local.INFO: Packet analysis {"connection_id":188628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:30:29] local.INFO: Extracted packet for processing {"connection_id":188628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:30:29] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30: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-09-18 09:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:30:29] 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-09-18 09:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":188628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:29] local.INFO: GPS data processed {"connection_id":188628,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:29] local.INFO: Acknowledgment sent {"connection_id":188628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:31] local.INFO: TCP Data received {"connection_id":185849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab9b50012d1a35400723c0b8002f00e01c..."} 
[2026-09-18 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab9b50012d1a35400723c0b8002f00e01c..."} 
[2026-09-18 09:30:31] local.INFO: Processing buffer {"connection_id":185849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab9b50012d1a35400723c0b8002f00e01c..."} 
[2026-09-18 09:30:31] local.INFO: Packet analysis {"connection_id":185849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:31] local.INFO: Extracted packet for processing {"connection_id":185849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756692288,"raw_latitude":119783608,"longitude_deg":75.6692288,"latitude_deg":11.9783608,"altitude":47,"angle":224,"satellites":28,"speed":33,"hex_longitude":"2d1a3540","hex_latitude":"0723c0b8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164217856001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21176933253382144,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894537730161833984,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789703986000,"timestamp_ms":1789703986000,"timestamp_seconds":1789703986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab9b50"} 
[2026-09-18 09:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30: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-09-18 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 09:30: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-09-18 09: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-09-18 09:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164217856001,"66":14298,"43":206,"83":42752,"24":33,"16":21176933253382144,"45":1894537730161833984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 09:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164217856001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 09:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21176933253382144,"km_value":21176933253382.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894537730161833984,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164217856001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1894537730161833984}} 
[2026-09-18 09:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":185849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:31] local.INFO: GPS data processed {"connection_id":185849,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:31] local.INFO: Acknowledgment sent {"connection_id":185849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:36] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab39a8012d0c1500070594b00018005d1d..."} 
[2026-09-18 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab39a8012d0c1500070594b00018005d1d..."} 
[2026-09-18 09:30:36] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab39a8012d0c1500070594b00018005d1d..."} 
[2026-09-18 09:30:36] local.INFO: Packet analysis {"connection_id":187310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:36] local.INFO: Extracted packet for processing {"connection_id":187310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":755766528,"raw_latitude":117806256,"longitude_deg":75.5766528,"latitude_deg":11.7806256,"altitude":24,"angle":93,"satellites":29,"speed":16,"hex_longitude":"2d0c1500","hex_latitude":"070594b0","is_valid_coordinates":true} 
[2026-09-18 09:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164212480001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33038507643502592,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865817058520702976,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789703961000,"timestamp_ms":1789703961000,"timestamp_seconds":1789703961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab39a8"} 
[2026-09-18 09:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2997508864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":16385,"corrected_to":0} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504103731003392,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2865258497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3206021143,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151652,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738801358,"corrected_to":0} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2952867083,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3221685730,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84736998921143793,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":232,"raw_value":6756173038489856,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-2576051264627408869,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:36] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,164,94,24,241,157,16,96,160,247,45,128,166,21,30,10,66,95,243,22,235,64,1,240,227,178,5,4,113,205,28,145,223,239,56,2,117,7,23,206,48,232,11],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":247,"original":16385,"validated":0},{"io_id":205,"original":1738801358,"validated":0}]} 
[2026-09-18 09:30:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657445742297808896,"timestamp_seconds":1657445742297809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164212480001,"66":14396,"164":206,"94":10240,"24":16,"16":33038507643502592,"45":865817058520702976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 09:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164212480001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:36] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 09:30:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33038507643502592,"km_value":33038507643502.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":865817058520702976,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164212480001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":865817058520702976}} 
[2026-09-18 09:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":187310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:36] local.INFO: GPS data processed {"connection_id":187310,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:36] local.INFO: Acknowledgment sent {"connection_id":187310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:36] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:30:36] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:30:36] local.INFO: IMEI packet received {"connection_id":188629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":188629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:30:38] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:38] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:38] local.INFO: IMEI packet received {"connection_id":186013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":186013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:30:38] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:38] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:38] local.INFO: IMEI packet received {"connection_id":186013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":186013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:30:39] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:39] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:39] local.INFO: IMEI packet received {"connection_id":186013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":186013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:30:39] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:39] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:30:39] local.INFO: IMEI packet received {"connection_id":186013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":186013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:30:41] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:30:41] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:30:41] local.INFO: IMEI packet received {"connection_id":188629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":188629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:30:42] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:42] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:42] local.INFO: Packet analysis {"connection_id":188629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:42] local.INFO: Extracted packet for processing {"connection_id":188629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] 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-09-18 09:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:42] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:30:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:30:42] 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-09-18 09:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:30:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":188629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:42] local.INFO: GPS data processed {"connection_id":188629,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:42] local.INFO: Acknowledgment sent {"connection_id":188629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:47] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:47] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:30:47] local.INFO: Packet analysis {"connection_id":188629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:47] local.INFO: Extracted packet for processing {"connection_id":188629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] 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-09-18 09:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:30:47] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:30:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:30: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-09-18 09:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:30:47] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:30:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":188629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:30:47] local.INFO: GPS data processed {"connection_id":188629,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:30:47] local.INFO: Acknowledgment sent {"connection_id":188629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:30:54] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:30:54] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:30:54] local.INFO: IMEI packet received {"connection_id":185850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":185850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:30:59] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:30:59] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:30:59] local.INFO: IMEI packet received {"connection_id":185850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":185850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:31:00] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab9b50012d1a35400723c0b8002f00e01c..."} 
[2026-09-18 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab9b50012d1a35400723c0b8002f00e01c..."} 
[2026-09-18 09:31:00] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab9b50012d1a35400723c0b8002f00e01c..."} 
[2026-09-18 09:31:00] local.INFO: Packet analysis {"connection_id":185850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:31:00] local.INFO: Extracted packet for processing {"connection_id":185850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756692288,"raw_latitude":119783608,"longitude_deg":75.6692288,"latitude_deg":11.9783608,"altitude":47,"angle":224,"satellites":28,"speed":33,"hex_longitude":"2d1a3540","hex_latitude":"0723c0b8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164220416001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21176933253382144,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888486018160572416,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31: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-09-18 09:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789703986000,"timestamp_ms":1789703986000,"timestamp_seconds":1789703986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab9b50"} 
[2026-09-18 09:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:31: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-09-18 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 09:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164220416001,"66":14298,"43":206,"83":42752,"24":33,"16":21176933253382144,"45":1888486018160572416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 09:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164220416001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:31:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 09:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21176933253382144,"km_value":21176933253382.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888486018160572416,"description":"Unknown IO ID 45"} 
[2026-09-18 09:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164220416001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1888486018160572416}} 
[2026-09-18 09:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":185850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:31:00] local.INFO: GPS data processed {"connection_id":185850,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:31:00] local.INFO: Acknowledgment sent {"connection_id":185850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:31:13] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:31:13] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:31:13] local.INFO: IMEI packet received {"connection_id":188630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":188630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:31:18] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:31:18] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:31:18] local.INFO: IMEI packet received {"connection_id":188630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":188630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:31:19] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:31:19] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:31:19] local.INFO: Packet analysis {"connection_id":188630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:31:19] local.INFO: Extracted packet for processing {"connection_id":188630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:31:19] 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-09-18 09:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":188630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:31:19] local.INFO: GPS data processed {"connection_id":188630,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:31:19] local.INFO: Acknowledgment sent {"connection_id":188630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:31:31] local.INFO: TCP Data received {"connection_id":185850,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2abbe78012d1a26000723b338003100ca1f..."} 
[2026-09-18 09:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2abbe78012d1a26000723b338003100ca1f..."} 
[2026-09-18 09:31:31] local.INFO: Processing buffer {"connection_id":185850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2abbe78012d1a26000723b338003100ca1f..."} 
[2026-09-18 09:31:31] local.INFO: Packet analysis {"connection_id":185850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:31:31] local.INFO: Extracted packet for processing {"connection_id":185850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756688384,"raw_latitude":119780152,"longitude_deg":75.6688384,"latitude_deg":11.9780152,"altitude":49,"angle":202,"satellites":31,"speed":8,"hex_longitude":"2d1a2600","hex_latitude":"0723b338","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164220416001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177182361485312,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888486018160572416,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789703995000,"timestamp_ms":1789703995000,"timestamp_seconds":1789703995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2abbe78"} 
[2026-09-18 09:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 09:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164220416001,"66":13896,"43":206,"83":42752,"24":8,"16":21177182361485312,"45":1888486018160572416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 09:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164220416001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:31:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 09:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177182361485312,"km_value":21177182361485.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888486018160572416,"description":"Unknown IO ID 45"} 
[2026-09-18 09:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164220416001,"power":13896,"unknown_43":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1888486018160572416}} 
[2026-09-18 09:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":185850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:31:31] local.INFO: GPS data processed {"connection_id":185850,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:31:31] local.INFO: Acknowledgment sent {"connection_id":185850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:31:31] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:31:31] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:31:31] local.INFO: IMEI packet received {"connection_id":185851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":185851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:31:36] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:31:36] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:31:36] local.INFO: IMEI packet received {"connection_id":185851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":185851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:31:37] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:31:37] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:31:37] local.INFO: Packet analysis {"connection_id":185851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:31:37] local.INFO: Extracted packet for processing {"connection_id":185851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:31:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] 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-09-18 09:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:37] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:31:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:31:37] 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-09-18 09:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:31:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:31:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":185851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:31:37] local.INFO: GPS data processed {"connection_id":185851,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:31:37] local.INFO: Acknowledgment sent {"connection_id":185851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:31:50] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:31:50] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:31:50] local.INFO: Packet analysis {"connection_id":188630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:31:50] local.INFO: Extracted packet for processing {"connection_id":188630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:31:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:31: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":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:31:50] 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-09-18 09:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:31: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-09-18 09:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:31:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:31:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":188630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:31:50] local.INFO: GPS data processed {"connection_id":188630,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:31:50] local.INFO: Acknowledgment sent {"connection_id":188630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:31:54] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:31:54] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:31:54] local.INFO: IMEI packet received {"connection_id":186015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":186015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:31:56] local.INFO: TCP Data received {"connection_id":187308,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:31:56] local.INFO: Processing buffer {"connection_id":187308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:31:56] local.INFO: IMEI packet received {"connection_id":187308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":187308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:31:59] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:31:59] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:31:59] local.INFO: IMEI packet received {"connection_id":186015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":186015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:32:00] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2abc260012d1a25c00723b278003100be1f..."} 
[2026-09-18 09:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2abc260012d1a25c00723b278003100be1f..."} 
[2026-09-18 09:32:00] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2abc260012d1a25c00723b278003100be1f..."} 
[2026-09-18 09:32:00] local.INFO: Packet analysis {"connection_id":186015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:00] local.INFO: Extracted packet for processing {"connection_id":186015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119779960,"longitude_deg":75.668832,"latitude_deg":11.977996,"altitude":49,"angle":190,"satellites":31,"speed":7,"hex_longitude":"2d1a25c0","hex_latitude":"0723b278","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164222720001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177190951419904,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884193524764850176,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32: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-09-18 09:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789703996000,"timestamp_ms":1789703996000,"timestamp_seconds":1789703996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2abc260"} 
[2026-09-18 09:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:32: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-09-18 09: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-18 09:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164222720001,"66":13993,"43":206,"83":42752,"24":7,"16":21177190951419904,"45":1884193524764850176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 09:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164222720001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:32:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 09:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177190951419904,"km_value":21177190951419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884193524764850176,"description":"Unknown IO ID 45"} 
[2026-09-18 09:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164222720001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1884193524764850176}} 
[2026-09-18 09:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":186015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:32:00] local.INFO: GPS data processed {"connection_id":186015,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:32:00] local.INFO: Acknowledgment sent {"connection_id":186015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:32:08] local.INFO: TCP Data received {"connection_id":185851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:32:08] local.INFO: Processing buffer {"connection_id":185851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:32:08] local.INFO: Packet analysis {"connection_id":185851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:08] local.INFO: Extracted packet for processing {"connection_id":185851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] 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-09-18 09:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:08] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:32:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:32:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":185851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:32:09] local.INFO: GPS data processed {"connection_id":185851,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:32:09] local.INFO: Acknowledgment sent {"connection_id":185851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:32:13] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:32:13] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:32:13] local.INFO: IMEI packet received {"connection_id":187311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":187311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:32:18] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:32:18] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:32:18] local.INFO: IMEI packet received {"connection_id":187311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":187311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:32:18] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:32:18] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:32:18] local.INFO: Packet analysis {"connection_id":187311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:32:18] local.INFO: Extracted packet for processing {"connection_id":187311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:32:18] 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-09-18 09:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":187311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:32:18] local.INFO: GPS data processed {"connection_id":187311,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:32:18] local.INFO: Acknowledgment sent {"connection_id":187311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:32:31] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2abce18012d1a25c00723b030003100ae1f..."} 
[2026-09-18 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2abce18012d1a25c00723b030003100ae1f..."} 
[2026-09-18 09:32:31] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2abce18012d1a25c00723b030003100ae1f..."} 
[2026-09-18 09:32:31] local.INFO: Packet analysis {"connection_id":186015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:31] local.INFO: Extracted packet for processing {"connection_id":186015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119779376,"longitude_deg":75.668832,"latitude_deg":11.9779376,"altitude":49,"angle":174,"satellites":31,"speed":7,"hex_longitude":"2d1a25c0","hex_latitude":"0723b030","is_valid_coordinates":true} 
[2026-09-18 09:32: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-09-18 09:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164222976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177221016190976,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020623360,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789703999000,"timestamp_ms":1789703999000,"timestamp_seconds":1789703999,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2abce18"} 
[2026-09-18 09:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:32: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-09-18 09:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 09:32: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-09-18 09:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164222976001,"66":13863,"43":206,"83":42752,"24":7,"16":21177221016190976,"45":1884123156020623360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 09:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164222976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:32:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 09:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177221016190976,"km_value":21177221016190.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020623360,"description":"Unknown IO ID 45"} 
[2026-09-18 09:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164222976001,"power":13863,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1884123156020623360}} 
[2026-09-18 09:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":186015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:32:31] local.INFO: GPS data processed {"connection_id":186015,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:32:31] local.INFO: Acknowledgment sent {"connection_id":186015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:32:31] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:32:31] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:32:31] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:32:36] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:32:36] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:32:36] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:32:38] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:32:38] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:32:38] local.INFO: Packet analysis {"connection_id":188631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:38] local.INFO: Extracted packet for processing {"connection_id":188631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] 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-09-18 09:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:38] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:32:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:32:38] 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-09-18 09:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:32:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:32:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":188631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:32:38] local.INFO: GPS data processed {"connection_id":188631,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:32:38] local.INFO: Acknowledgment sent {"connection_id":188631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:32:51] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:32:51] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:32:51] local.INFO: Packet analysis {"connection_id":187311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:32:51] local.INFO: Extracted packet for processing {"connection_id":187311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:32:51] 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-09-18 09: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-09-18 09:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":187311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:32:51] local.INFO: GPS data processed {"connection_id":187311,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:32:51] local.INFO: Acknowledgment sent {"connection_id":187311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:32:59] local.INFO: TCP Data received {"connection_id":187312,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:32:59] local.INFO: Processing buffer {"connection_id":187312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:32:59] local.INFO: IMEI packet received {"connection_id":187312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":187312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:33:04] local.INFO: TCP Data received {"connection_id":187312,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:04] local.INFO: Processing buffer {"connection_id":187312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:04] local.INFO: IMEI packet received {"connection_id":187312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":187312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:33:04] local.INFO: TCP Data received {"connection_id":187312,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ac2020012d1a25800723ae98003200b11f..."} 
[2026-09-18 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ac2020012d1a25800723ae98003200b11f..."} 
[2026-09-18 09:33:04] local.INFO: Processing buffer {"connection_id":187312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ac2020012d1a25800723ae98003200b11f..."} 
[2026-09-18 09:33:04] local.INFO: Packet analysis {"connection_id":187312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ac"} 
[2026-09-18 09:33:04] local.INFO: Extracted packet for processing {"connection_id":187312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ac"} 
[2026-09-18 09:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756688256,"raw_latitude":119778968,"longitude_deg":75.6688256,"latitude_deg":11.9778968,"altitude":50,"angle":177,"satellites":31,"speed":0,"hex_longitude":"2d1a2580","hex_latitude":"0723ae98","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164223744001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177242491027456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020473856,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33: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-09-18 09:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789704020000,"timestamp_ms":1789704020000,"timestamp_seconds":1789704020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ac2020"} 
[2026-09-18 09:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-18 09:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:33:04] 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-09-18 09:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164223744001,"66":13928,"42":206,"83":42752,"24":0,"16":21177242491027456,"45":1884123156020473856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164223744001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:33:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177242491027456,"km_value":21177242491027.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020473856,"description":"Unknown IO ID 45"} 
[2026-09-18 09:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164223744001,"power":13928,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020473856}} 
[2026-09-18 09:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":187312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:33:04] local.INFO: GPS data processed {"connection_id":187312,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:33:04] local.INFO: Acknowledgment sent {"connection_id":187312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:33:09] local.INFO: TCP Data received {"connection_id":187312,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ac6e40012d1a25c00723ad80003300b120..."} 
[2026-09-18 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ac6e40012d1a25c00723ad80003300b120..."} 
[2026-09-18 09:33:09] local.INFO: Processing buffer {"connection_id":187312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ac6e40012d1a25c00723ad80003300b120..."} 
[2026-09-18 09:33:09] local.INFO: Packet analysis {"connection_id":187312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ac"} 
[2026-09-18 09:33:09] local.INFO: Extracted packet for processing {"connection_id":187312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ac"} 
[2026-09-18 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778688,"longitude_deg":75.668832,"latitude_deg":11.9778688,"altitude":51,"angle":177,"satellites":32,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad80","is_valid_coordinates":true} 
[2026-09-18 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164229120001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884052787276191744,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33: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-09-18 09:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789704040000,"timestamp_ms":1789704040000,"timestamp_seconds":1789704040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ac6e40"} 
[2026-09-18 09:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:33: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-09-18 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-18 09:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:33:09] 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-09-18 09:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164229120001,"66":14004,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884052787276191744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164229120001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884052787276191744,"description":"Unknown IO ID 45"} 
[2026-09-18 09:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164229120001,"power":14004,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884052787276191744}} 
[2026-09-18 09:33:09] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:33:09] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:33:09] local.INFO: Packet analysis {"connection_id":188631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:33:09] local.INFO: Extracted packet for processing {"connection_id":188631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] 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-09-18 09:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:09] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:33:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:33:09] 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-09-18 09:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":188631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:33:09] local.INFO: GPS data processed {"connection_id":188631,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:33:09] local.INFO: Acknowledgment sent {"connection_id":188631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":187312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:33:09] local.INFO: GPS data processed {"connection_id":187312,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:33:09] local.INFO: Acknowledgment sent {"connection_id":187312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:33:13] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:33:13] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:33:13] local.INFO: IMEI packet received {"connection_id":188632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:33:18] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:33:18] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:33:18] local.INFO: IMEI packet received {"connection_id":188632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":188632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:33:19] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:33:19] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2a9da18012d34c40006aa3c80000800e320..."} 
[2026-09-18 09:33:19] local.INFO: Packet analysis {"connection_id":188632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:33:19] local.INFO: Extracted packet for processing {"connection_id":188632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2a9"} 
[2026-09-18 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164112640001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276544923648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789703871000,"timestamp_ms":1789703871000,"timestamp_seconds":1789703871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2a9da18"} 
[2026-09-18 09:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 09:33:19] 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-09-18 09:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164112640001,"66":26136,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802023276544923648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164112640001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276544923648,"description":"Unknown IO ID 45"} 
[2026-09-18 09:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164112640001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276544923648}} 
[2026-09-18 09:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":188632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:33:19] local.INFO: GPS data processed {"connection_id":188632,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:33:19] local.INFO: Acknowledgment sent {"connection_id":188632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:33:31] local.INFO: TCP Data received {"connection_id":187314,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:33:31] local.INFO: Processing buffer {"connection_id":187314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:33:31] local.INFO: IMEI packet received {"connection_id":187314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":187314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:33:36] local.INFO: TCP Data received {"connection_id":187314,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:33:36] local.INFO: Processing buffer {"connection_id":187314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:33:36] local.INFO: IMEI packet received {"connection_id":187314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":187314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:33:37] local.INFO: TCP Data received {"connection_id":187314,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:33:37] local.INFO: Processing buffer {"connection_id":187314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:33:37] local.INFO: Packet analysis {"connection_id":187314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:33:37] local.INFO: Extracted packet for processing {"connection_id":187314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] 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-09-18 09:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:37] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:33:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:33:37] 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-09-18 09:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:33:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:33:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":187314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:33:37] local.INFO: GPS data processed {"connection_id":187314,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:33:37] local.INFO: Acknowledgment sent {"connection_id":187314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:33:50] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:33:50] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:33:50] local.INFO: Packet analysis {"connection_id":188632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:33:50] local.INFO: Extracted packet for processing {"connection_id":188632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:33:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:33: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-09-18 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:33:50] 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-09-18 09:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:33:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":188632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:33:50] local.INFO: GPS data processed {"connection_id":188632,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:33:50] local.INFO: Acknowledgment sent {"connection_id":188632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:33:54] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:54] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:54] local.INFO: IMEI packet received {"connection_id":185853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":185853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:33:59] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:59] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:33:59] local.INFO: IMEI packet received {"connection_id":185853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":185853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:34:00] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2acc048012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2acc048012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:34:00] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2acc048012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:34:00] local.INFO: Packet analysis {"connection_id":185853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ac"} 
[2026-09-18 09:34:00] local.INFO: Extracted packet for processing {"connection_id":185853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ac"} 
[2026-09-18 09:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164234240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020297728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34: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-09-18 09:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789704061000,"timestamp_ms":1789704061000,"timestamp_seconds":1789704061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2acc048"} 
[2026-09-18 09:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:34: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-09-18 09: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 09:34: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-09-18 09: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-09-18 09:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:34:00] 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-09-18 09:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164234240001,"66":13243,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020297728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164234240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:34:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020297728,"description":"Unknown IO ID 45"} 
[2026-09-18 09:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164234240001,"power":13243,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020297728}} 
[2026-09-18 09:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":185853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:34:00] local.INFO: GPS data processed {"connection_id":185853,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:34:00] local.INFO: Acknowledgment sent {"connection_id":185853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:34:08] local.INFO: TCP Data received {"connection_id":187314,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:34:08] local.INFO: Processing buffer {"connection_id":187314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:34:08] local.INFO: Packet analysis {"connection_id":187314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:34:08] local.INFO: Extracted packet for processing {"connection_id":187314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] 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-09-18 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:08] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:34:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:34:08] 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-09-18 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:34:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":187314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:34:09] local.INFO: GPS data processed {"connection_id":187314,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:34:09] local.INFO: Acknowledgment sent {"connection_id":187314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:34:12] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:34:12] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:34:12] local.INFO: IMEI packet received {"connection_id":186017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":186017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:34:18] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:34:18] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:34:18] local.INFO: IMEI packet received {"connection_id":186017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":186017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:34:24] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:34:24] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:34:24] local.INFO: Packet analysis {"connection_id":186017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:34:24] local.INFO: Extracted packet for processing {"connection_id":186017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:34: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-09-18 09:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:34:24] 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-09-18 09:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":186017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:34:24] local.INFO: GPS data processed {"connection_id":186017,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:34:24] local.INFO: Acknowledgment sent {"connection_id":186017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:34:31] local.INFO: TCP Data received {"connection_id":187315,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:34:31] local.INFO: Processing buffer {"connection_id":187315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:34:31] local.INFO: IMEI packet received {"connection_id":187315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":187315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:34:31] local.INFO: TCP Data received {"connection_id":185853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ad0e68012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ad0e68012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:34:31] local.INFO: Processing buffer {"connection_id":185853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ad0e68012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:34:31] local.INFO: Packet analysis {"connection_id":185853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:34:31] local.INFO: Extracted packet for processing {"connection_id":185853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34: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-09-18 09:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704081000,"timestamp_ms":1789704081000,"timestamp_seconds":1789704081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ad0e68"} 
[2026-09-18 09:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 09:34: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-09-18 09: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-09-18 09:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:34:31] 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-09-18 09:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164239616001,"66":13135,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:34:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164239616001,"power":13135,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":185853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:34:31] local.INFO: GPS data processed {"connection_id":185853,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:34:31] local.INFO: Acknowledgment sent {"connection_id":185853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:34:36] local.INFO: TCP Data received {"connection_id":187315,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:34:36] local.INFO: Processing buffer {"connection_id":187315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:34:36] local.INFO: IMEI packet received {"connection_id":187315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":187315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:34:37] local.INFO: TCP Data received {"connection_id":187315,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:34:37] local.INFO: Processing buffer {"connection_id":187315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ab87c8012d79ba8005e7a9500006000a27..."} 
[2026-09-18 09:34:37] local.INFO: Packet analysis {"connection_id":187315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:34:37] local.INFO: Extracted packet for processing {"connection_id":187315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ab"} 
[2026-09-18 09:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164142080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] 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-09-18 09:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789703981000,"timestamp_ms":1789703981000,"timestamp_seconds":1789703981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ab87c8"} 
[2026-09-18 09:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1262978220500713472,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867247982006162055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":187,"raw_value":1662089127003648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335963888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:37] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,31,87,24,241,157,16,17,160,127,45,128,169,6,39,10,66,88,240,166,222,1,187,4],"length":326,"final_offset":456,"validated_count":24,"validation_warnings":[]} 
[2026-09-18 09:34:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432356726847569920,"timestamp_seconds":432356726847569.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:34:37] 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-09-18 09:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164142080001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164142080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:34:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164142080001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":187315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:34:37] local.INFO: GPS data processed {"connection_id":187315,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:34:37] local.INFO: Acknowledgment sent {"connection_id":187315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:34:54] local.INFO: TCP Data received {"connection_id":186018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:34:54] local.INFO: Processing buffer {"connection_id":186018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:34:54] local.INFO: IMEI packet received {"connection_id":186018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":186018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:34:55] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:34:55] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:34:55] local.INFO: Packet analysis {"connection_id":186017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:34:55] local.INFO: Extracted packet for processing {"connection_id":186017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09: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-09-18 09:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:34:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":186017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:34:55] local.INFO: GPS data processed {"connection_id":186017,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:34:55] local.INFO: Acknowledgment sent {"connection_id":186017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:34:59] local.INFO: TCP Data received {"connection_id":186018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:34:59] local.INFO: Processing buffer {"connection_id":186018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:34:59] local.INFO: IMEI packet received {"connection_id":186018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":186018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:35:00] local.INFO: TCP Data received {"connection_id":186018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ad5c88012d1a25c00723ad88003300b120..."} 
[2026-09-18 09:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ad5c88012d1a25c00723ad88003300b120..."} 
[2026-09-18 09:35:00] local.INFO: Processing buffer {"connection_id":186018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ad5c88012d1a25c00723ad88003300b120..."} 
[2026-09-18 09:35:00] local.INFO: Packet analysis {"connection_id":186018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:35:00] local.INFO: Extracted packet for processing {"connection_id":186018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":32,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164244736001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35: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-09-18 09:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789704101000,"timestamp_ms":1789704101000,"timestamp_seconds":1789704101,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ad5c88"} 
[2026-09-18 09:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35: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-09-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164244736001,"66":13048,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164244736001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164244736001,"power":13048,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":186018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:00] local.INFO: GPS data processed {"connection_id":186018,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:00] local.INFO: Acknowledgment sent {"connection_id":186018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:08] local.INFO: TCP Data received {"connection_id":187315,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:08] local.INFO: Processing buffer {"connection_id":187315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:08] local.INFO: Packet analysis {"connection_id":187315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:08] local.INFO: Extracted packet for processing {"connection_id":187315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:08] 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-09-18 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:08] 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-09-18 09:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:35:08] 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-09-18 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":187315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:08] local.INFO: GPS data processed {"connection_id":187315,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:08] local.INFO: Acknowledgment sent {"connection_id":187315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:19] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:35:19] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:35:19] local.INFO: IMEI packet received {"connection_id":186019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":186019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:35:23] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:35:23] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:35:23] local.INFO: IMEI packet received {"connection_id":186019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":186019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:35:24] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:35:24] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:35:24] local.INFO: Packet analysis {"connection_id":186019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:35:24] local.INFO: Extracted packet for processing {"connection_id":186019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35: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-09-18 09:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:24] 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-09-18 09:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":186019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:24] local.INFO: GPS data processed {"connection_id":186019,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:24] local.INFO: Acknowledgment sent {"connection_id":186019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:28] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:35:28] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:35:28] local.INFO: Packet analysis {"connection_id":186019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:35:28] local.INFO: Extracted packet for processing {"connection_id":186019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:35:28] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35: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-09-18 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:28] 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-09-18 09: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-09-18 09:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:35:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":186019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:28] local.INFO: GPS data processed {"connection_id":186019,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:28] local.INFO: Acknowledgment sent {"connection_id":186019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:31] local.INFO: TCP Data received {"connection_id":186018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2adaaa8012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2adaaa8012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:35:31] local.INFO: Processing buffer {"connection_id":186018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2adaaa8012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:35:31] local.INFO: Packet analysis {"connection_id":186018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:35:31] local.INFO: Extracted packet for processing {"connection_id":186018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164249856001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35: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-09-18 09:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704121000,"timestamp_ms":1789704121000,"timestamp_seconds":1789704121,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2adaaa8"} 
[2026-09-18 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-09-18 09:35: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-09-18 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 09:35: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-09-18 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-09-18 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-09-18 09:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164249856001,"66":13015,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164249856001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164249856001,"power":13015,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":186018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:31] local.INFO: GPS data processed {"connection_id":186018,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:31] local.INFO: Acknowledgment sent {"connection_id":186018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:36] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:35:36] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:35:36] local.INFO: IMEI packet received {"connection_id":187316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":187316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:35:41] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:35:41] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:35:41] local.INFO: IMEI packet received {"connection_id":187316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":187316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:35:42] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:42] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:42] local.INFO: Packet analysis {"connection_id":187316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:42] local.INFO: Extracted packet for processing {"connection_id":187316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:42] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:42] 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-09-18 09:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:42] 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-09-18 09:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:35:42] 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-09-18 09:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:35:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":187316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:42] local.INFO: GPS data processed {"connection_id":187316,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:42] local.INFO: Acknowledgment sent {"connection_id":187316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:43] local.INFO: TCP Data received {"connection_id":187317,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:35:43] local.INFO: Processing buffer {"connection_id":187317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:35:43] local.INFO: IMEI packet received {"connection_id":187317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":187317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:35:43] local.INFO: TCP Data received {"connection_id":187317,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b0db10012d0c3e0007058178001b00ec1e..."} 
[2026-09-18 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b0db10012d0c3e0007058178001b00ec1e..."} 
[2026-09-18 09:35:43] local.INFO: Processing buffer {"connection_id":187317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b0db10012d0c3e0007058178001b00ec1e..."} 
[2026-09-18 09:35:43] local.INFO: Packet analysis {"connection_id":187317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:43] local.INFO: Extracted packet for processing {"connection_id":187317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":755777024,"raw_latitude":117801336,"longitude_deg":75.5777024,"latitude_deg":11.7801336,"altitude":27,"angle":236,"satellites":30,"speed":11,"hex_longitude":"2d0c3e00","hex_latitude":"07058178","is_valid_coordinates":true} 
[2026-09-18 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164307200001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33044954389413888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881959032832,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789704330000,"timestamp_ms":1789704330000,"timestamp_seconds":1789704330,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b0db10"} 
[2026-09-18 09:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164307200001,"66":14407,"164":206,"94":10240,"24":11,"16":33044954389413888,"45":884675881959032832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 09:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164307200001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 09:35:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33044954389413888,"km_value":33044954389413.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881959032832,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164307200001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":884675881959032832}} 
[2026-09-18 09:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":187317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859631,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:44] local.INFO: GPS data processed {"connection_id":187317,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:44] local.INFO: Acknowledgment sent {"connection_id":187317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:47] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:47] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:35:47] local.INFO: Packet analysis {"connection_id":187316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:47] local.INFO: Extracted packet for processing {"connection_id":187316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:35:47] 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-09-18 09:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:35:47] 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-09-18 09:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:35:47] 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-09-18 09:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:35:47] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:35:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":187316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:35:47] local.INFO: GPS data processed {"connection_id":187316,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:35:47] local.INFO: Acknowledgment sent {"connection_id":187316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:35:59] local.INFO: TCP Data received {"connection_id":187318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:35:59] local.INFO: Processing buffer {"connection_id":187318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:35:59] local.INFO: IMEI packet received {"connection_id":187318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":187318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:36:04] local.INFO: TCP Data received {"connection_id":187318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:04] local.INFO: Processing buffer {"connection_id":187318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:04] local.INFO: IMEI packet received {"connection_id":187318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":187318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:36:05] local.INFO: TCP Data received {"connection_id":187318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2adfcb0012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2adfcb0012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:36:05] local.INFO: Processing buffer {"connection_id":187318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2adfcb0012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:36:05] local.INFO: Packet analysis {"connection_id":187318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:36:05] local.INFO: Extracted packet for processing {"connection_id":187318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ad"} 
[2026-09-18 09:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164254976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36: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-09-18 09:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789704142000,"timestamp_ms":1789704142000,"timestamp_seconds":1789704142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2adfcb0"} 
[2026-09-18 09:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 09:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164254976001,"66":12874,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164254976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:36:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164254976001,"power":12874,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":187318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:36:05] local.INFO: GPS data processed {"connection_id":187318,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:36:05] local.INFO: Acknowledgment sent {"connection_id":187318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:36:09] local.INFO: TCP Data received {"connection_id":187318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:36:09] local.INFO: Processing buffer {"connection_id":187318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:36:09] local.INFO: Packet analysis {"connection_id":187318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:36:09] local.INFO: Extracted packet for processing {"connection_id":187318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164260352001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36: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-09-18 09:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789704160000,"timestamp_ms":1789704160000,"timestamp_seconds":1789704160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae4300"} 
[2026-09-18 09:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 09:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164260352001,"66":14048,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164260352001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:36:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164260352001,"power":14048,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":187318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:36:09] local.INFO: GPS data processed {"connection_id":187318,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:36:09] local.INFO: Acknowledgment sent {"connection_id":187318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:36:13] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:36:13] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:36:13] local.INFO: IMEI packet received {"connection_id":185854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":185854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:36:18] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:36:18] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:36:18] local.INFO: IMEI packet received {"connection_id":185854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":185854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:36:20] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:36:20] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:36:20] local.INFO: Packet analysis {"connection_id":185854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:36:20] local.INFO: Extracted packet for processing {"connection_id":185854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:36:20] 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-09-18 09:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":185854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:36:20] local.INFO: GPS data processed {"connection_id":185854,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:36:20] local.INFO: Acknowledgment sent {"connection_id":185854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:36:31] local.INFO: TCP Data received {"connection_id":186020,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:36:31] local.INFO: Processing buffer {"connection_id":186020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:36:31] local.INFO: IMEI packet received {"connection_id":186020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":186020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:36:36] local.INFO: TCP Data received {"connection_id":186020,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:36:36] local.INFO: Processing buffer {"connection_id":186020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:36:36] local.INFO: IMEI packet received {"connection_id":186020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":186020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:36:38] local.INFO: TCP Data received {"connection_id":186020,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:36:38] local.INFO: Processing buffer {"connection_id":186020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:36:38] local.INFO: Packet analysis {"connection_id":186020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:36:38] local.INFO: Extracted packet for processing {"connection_id":186020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:38] 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-09-18 09:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:36:38] 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-09-18 09:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:36:38] 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-09-18 09:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:36:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:36:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":186020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:36:38] local.INFO: GPS data processed {"connection_id":186020,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:36:38] local.INFO: Acknowledgment sent {"connection_id":186020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:36:52] local.INFO: TCP Data received {"connection_id":185854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:36:52] local.INFO: Processing buffer {"connection_id":185854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:36:52] local.INFO: Packet analysis {"connection_id":185854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:36:52] local.INFO: Extracted packet for processing {"connection_id":185854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:36:52] 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-09-18 09: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-09-18 09:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":185854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:36:52] local.INFO: GPS data processed {"connection_id":185854,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:36:52] local.INFO: Acknowledgment sent {"connection_id":185854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:36:54] local.INFO: TCP Data received {"connection_id":188634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:54] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:54] local.INFO: IMEI packet received {"connection_id":188634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":188634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:36:59] local.INFO: TCP Data received {"connection_id":188634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:59] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:36:59] local.INFO: IMEI packet received {"connection_id":188634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":188634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:37:00] local.INFO: TCP Data received {"connection_id":188634,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:37:00] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:37:00] local.INFO: Packet analysis {"connection_id":188634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:00] local.INFO: Extracted packet for processing {"connection_id":188634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09:37: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-09-18 09:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37: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-09-18 09:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789704160000,"timestamp_ms":1789704160000,"timestamp_seconds":1789704160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae4300"} 
[2026-09-18 09:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:37: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":14048,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:37:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":14048,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":188634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:37:00] local.INFO: GPS data processed {"connection_id":188634,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:37:00] local.INFO: Acknowledgment sent {"connection_id":188634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:37:04] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:04] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:04] local.INFO: IMEI packet received {"connection_id":185855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":185855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:37:05] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:05] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:05] local.INFO: IMEI packet received {"connection_id":185855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":185855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:37:06] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:06] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:06] local.INFO: IMEI packet received {"connection_id":185855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":185855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:37:08] local.INFO: TCP Data received {"connection_id":185855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:08] local.INFO: Processing buffer {"connection_id":185855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:37:08] local.INFO: IMEI packet received {"connection_id":185855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":185855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:37:09] local.INFO: TCP Data received {"connection_id":186020,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:37:09] local.INFO: Processing buffer {"connection_id":186020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:37:09] local.INFO: Packet analysis {"connection_id":186020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:37:09] local.INFO: Extracted packet for processing {"connection_id":186020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:37:09] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:09] 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-09-18 09:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:37:09] 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-09-18 09:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:37:09] 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-09-18 09:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:37:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:37:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":186020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:37:09] local.INFO: GPS data processed {"connection_id":186020,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:37:09] local.INFO: Acknowledgment sent {"connection_id":186020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:37:12] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:37:12] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:37:12] local.INFO: IMEI packet received {"connection_id":188635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":188635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:37:18] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:37:18] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:37:18] local.INFO: IMEI packet received {"connection_id":188635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":188635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:37:20] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:37:20] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:37:20] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:20] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:37:20] 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-09-18 09:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:37:20] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:37:20] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:37:31] local.INFO: TCP Data received {"connection_id":188634,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:37:31] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae4300012d1a25c00723ad88003300b121..."} 
[2026-09-18 09:37:31] local.INFO: Packet analysis {"connection_id":188634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:31] local.INFO: Extracted packet for processing {"connection_id":188634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119778696,"longitude_deg":75.668832,"latitude_deg":11.9778696,"altitude":51,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d1a25c0","hex_latitude":"0723ad88","is_valid_coordinates":true} 
[2026-09-18 09:37: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-09-18 09:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37: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-09-18 09:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704160000,"timestamp_ms":1789704160000,"timestamp_seconds":1789704160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae4300"} 
[2026-09-18 09:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:37: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":14048,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:37:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":14048,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":188634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:37:31] local.INFO: GPS data processed {"connection_id":188634,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:37:31] local.INFO: Acknowledgment sent {"connection_id":188634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:37:31] local.INFO: TCP Data received {"connection_id":187319,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:37:31] local.INFO: Processing buffer {"connection_id":187319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:37:31] local.INFO: IMEI packet received {"connection_id":187319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":187319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:37:34] local.INFO: TCP Data received {"connection_id":185852,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:37:34] local.INFO: Processing buffer {"connection_id":185852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:37:34] local.INFO: IMEI packet received {"connection_id":185852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":185852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:37:36] local.INFO: TCP Data received {"connection_id":187319,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:37:36] local.INFO: Processing buffer {"connection_id":187319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:37:36] local.INFO: IMEI packet received {"connection_id":187319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":187319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:37:38] local.INFO: TCP Data received {"connection_id":187319,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:37:38] local.INFO: Processing buffer {"connection_id":187319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:37:38] local.INFO: Packet analysis {"connection_id":187319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:37:38] local.INFO: Extracted packet for processing {"connection_id":187319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:38] 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-09-18 09:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:37:38] 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-09-18 09:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:37:38] 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-09-18 09:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:37:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:37:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":187319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:37:38] local.INFO: GPS data processed {"connection_id":187319,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:37:38] local.INFO: Acknowledgment sent {"connection_id":187319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:37:51] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:37:51] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:37:51] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:51] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:37:51] 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-09-18 09: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-09-18 09:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:37:51] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:37:51] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:37:54] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:37:54] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:37:54] local.INFO: IMEI packet received {"connection_id":185857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":185857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:37:59] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:37:59] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:37:59] local.INFO: IMEI packet received {"connection_id":185857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":185857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:38:00] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:38:00] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:38:00] local.INFO: Packet analysis {"connection_id":185857,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b2b2"} 
[2026-09-18 09:38:00] local.INFO: Extracted packet for processing {"connection_id":185857,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b2b2"} 
[2026-09-18 09:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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":93,"current_offset":40} 
[2026-09-18 09:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:38:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:38:00] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 09:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185857,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 09:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185857,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 09:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185857,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 09:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 09:38:00] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 09:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":185857,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 09:38:00] local.ERROR: GPS data processing failed {"connection_id":185857,"error":"No valid data to process"} 
[2026-09-18 09:38:00] local.INFO: Acknowledgment sent {"connection_id":185857,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 09:38:09] local.INFO: TCP Data received {"connection_id":187319,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:38:09] local.INFO: Processing buffer {"connection_id":187319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:38:09] local.INFO: Packet analysis {"connection_id":187319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:38:09] local.INFO: Extracted packet for processing {"connection_id":187319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:09] 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-09-18 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:38:09] 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-09-18 09:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:38:09] 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-09-18 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:38:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:38:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":187319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:38:09] local.INFO: GPS data processed {"connection_id":187319,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:38:09] local.INFO: Acknowledgment sent {"connection_id":187319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:38:11] local.INFO: TCP Data received {"connection_id":188636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:38:11] local.INFO: Processing buffer {"connection_id":188636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:38:11] local.INFO: IMEI packet received {"connection_id":188636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":188636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:38:12] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:38:12] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:38:12] local.INFO: IMEI packet received {"connection_id":185858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":185858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:38:18] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:38:18] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:38:18] local.INFO: IMEI packet received {"connection_id":185858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":185858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:38:20] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:38:20] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ae71e0012d34c40006aa3c80000800e321..."} 
[2026-09-18 09:38:20] local.INFO: Packet analysis {"connection_id":185858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:38:20] local.INFO: Extracted packet for processing {"connection_id":185858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ae"} 
[2026-09-18 09:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":8,"angle":227,"satellites":33,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164190976001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789704172000,"timestamp_ms":1789704172000,"timestamp_seconds":1789704172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ae71e0"} 
[2026-09-18 09:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 09:38:20] 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-09-18 09:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164190976001,"66":25995,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164190976001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164190976001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":185858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:38:20] local.INFO: GPS data processed {"connection_id":185858,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:38:20] local.INFO: Acknowledgment sent {"connection_id":185858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:38:31] local.INFO: TCP Data received {"connection_id":185857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:38:31] local.INFO: Processing buffer {"connection_id":185857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:38:31] local.INFO: Packet analysis {"connection_id":185857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:38:31] local.INFO: Extracted packet for processing {"connection_id":185857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38: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-09-18 09:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:38: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:38:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":185857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:38:31] local.INFO: GPS data processed {"connection_id":185857,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:38:31] local.INFO: Acknowledgment sent {"connection_id":185857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:38:32] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:38:32] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:38:32] local.INFO: IMEI packet received {"connection_id":185859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":185859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:38:36] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:38:36] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:38:36] local.INFO: IMEI packet received {"connection_id":185859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":185859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:38:37] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:38:37] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:38:37] local.INFO: Packet analysis {"connection_id":185859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:38:37] local.INFO: Extracted packet for processing {"connection_id":185859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:37] 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-09-18 09:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:38: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-09-18 09:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:38:37] 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-09-18 09: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-09-18 09:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:38:37] 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-09-18 09:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:38:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:38:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":185859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:38:37] local.INFO: GPS data processed {"connection_id":185859,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:38:37] local.INFO: Acknowledgment sent {"connection_id":185859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:38:51] local.INFO: TCP Data received {"connection_id":185858,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:38:51] local.INFO: Processing buffer {"connection_id":185858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:38:51] local.INFO: Packet analysis {"connection_id":185858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:38:51] local.INFO: Extracted packet for processing {"connection_id":185858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:38:51] 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-09-18 09:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":185858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:38:51] local.INFO: GPS data processed {"connection_id":185858,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:38:51] local.INFO: Acknowledgment sent {"connection_id":185858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:38:54] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:38:54] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:38:54] local.INFO: IMEI packet received {"connection_id":188637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":188637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:38:59] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:38:59] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:38:59] local.INFO: IMEI packet received {"connection_id":188637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":188637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:39:00] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:39:00] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:39:00] local.INFO: Packet analysis {"connection_id":188637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:39:00] local.INFO: Extracted packet for processing {"connection_id":188637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39: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-09-18 09:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:39: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:39:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":188637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:39:00] local.INFO: GPS data processed {"connection_id":188637,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:39:00] local.INFO: Acknowledgment sent {"connection_id":188637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:39:08] local.INFO: TCP Data received {"connection_id":185859,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:39:08] local.INFO: Processing buffer {"connection_id":185859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:39:08] local.INFO: Packet analysis {"connection_id":185859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:39:08] local.INFO: Extracted packet for processing {"connection_id":185859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:39:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:08] 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-09-18 09:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:39:08] 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-09-18 09:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:39:08] 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-09-18 09:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:39:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:39:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":185859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:39:08] local.INFO: GPS data processed {"connection_id":185859,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:39:08] local.INFO: Acknowledgment sent {"connection_id":185859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:39:18] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:39:18] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:39:18] local.INFO: IMEI packet received {"connection_id":186022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":186022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:39:23] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:39:23] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:39:23] local.INFO: IMEI packet received {"connection_id":186022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":186022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:39:23] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:39:23] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:39:23] local.INFO: Packet analysis {"connection_id":186022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:39:23] local.INFO: Extracted packet for processing {"connection_id":186022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:39:23] 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-09-18 09:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:39:23] local.INFO: GPS data processed {"connection_id":186022,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:39:23] local.INFO: Acknowledgment sent {"connection_id":186022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:39:28] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:39:28] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:39:28] local.INFO: Packet analysis {"connection_id":186022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:39:28] local.INFO: Extracted packet for processing {"connection_id":186022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:39:28] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:39: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-09-18 09: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:39:28] 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-09-18 09: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-09-18 09:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:39:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:39:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":186022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:39:28] local.INFO: GPS data processed {"connection_id":186022,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:39:28] local.INFO: Acknowledgment sent {"connection_id":186022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:39:31] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:39:31] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:39:31] local.INFO: IMEI packet received {"connection_id":188638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":188638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:39:31] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:39:31] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:39:31] local.INFO: Packet analysis {"connection_id":188637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:39:31] local.INFO: Extracted packet for processing {"connection_id":188637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39: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-09-18 09:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:39: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:39:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":188637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:39:31] local.INFO: GPS data processed {"connection_id":188637,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:39:31] local.INFO: Acknowledgment sent {"connection_id":188637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:39:36] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:39:36] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:39:36] local.INFO: IMEI packet received {"connection_id":188638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":188638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:39:37] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:39:37] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b01f90012d79ba8005e7a9500006000a26..."} 
[2026-09-18 09:39:37] local.INFO: Packet analysis {"connection_id":188638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:39:37] local.INFO: Extracted packet for processing {"connection_id":188638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b0"} 
[2026-09-18 09:39:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164219136001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:39:37] 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-09-18 09:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789704282000,"timestamp_ms":1789704282000,"timestamp_seconds":1789704282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b01f90"} 
[2026-09-18 09:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:39: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-09-18 09:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:39:37] 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-09-18 09:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:39:37] 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-09-18 09:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164219136001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164219136001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:39:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:39:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164219136001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":188638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:39:37] local.INFO: GPS data processed {"connection_id":188638,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:39:37] local.INFO: Acknowledgment sent {"connection_id":188638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:39:54] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:39:54] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:39:54] local.INFO: IMEI packet received {"connection_id":188639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":188639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:39:59] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:39:59] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:39:59] local.INFO: IMEI packet received {"connection_id":188639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":188639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:40:00] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:40:00] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:40:00] local.INFO: Packet analysis {"connection_id":188639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:40:00] local.INFO: Extracted packet for processing {"connection_id":188639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40: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-09-18 09:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":188639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:00] local.INFO: GPS data processed {"connection_id":188639,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:00] local.INFO: Acknowledgment sent {"connection_id":188639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:08] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:08] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:08] local.INFO: Packet analysis {"connection_id":188638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b4"} 
[2026-09-18 09:40:08] local.INFO: Extracted packet for processing {"connection_id":188638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b4"} 
[2026-09-18 09:40:08] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164296192001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:08] 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-09-18 09:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789704582000,"timestamp_ms":1789704582000,"timestamp_seconds":1789704582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b4b370"} 
[2026-09-18 09:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:08] 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-09-18 09:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:40:08] 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-09-18 09:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164296192001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164296192001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:40:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164296192001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":188638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:08] local.INFO: GPS data processed {"connection_id":188638,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:08] local.INFO: Acknowledgment sent {"connection_id":188638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:13] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:40:13] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:40:13] local.INFO: IMEI packet received {"connection_id":185860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":185860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:40:18] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:40:18] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:40:18] local.INFO: IMEI packet received {"connection_id":185860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":185860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:40:19] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:40:19] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:40:19] local.INFO: Packet analysis {"connection_id":185860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:40:19] local.INFO: Extracted packet for processing {"connection_id":185860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:19] 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-09-18 09:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":185860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:19] local.INFO: GPS data processed {"connection_id":185860,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:19] local.INFO: Acknowledgment sent {"connection_id":185860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:31] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:40:31] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:40:31] local.INFO: Packet analysis {"connection_id":188639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:40:31] local.INFO: Extracted packet for processing {"connection_id":188639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40: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-09-18 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":188639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:31] local.INFO: GPS data processed {"connection_id":188639,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:31] local.INFO: Acknowledgment sent {"connection_id":188639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:36] local.INFO: TCP Data received {"connection_id":186023,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:40:36] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:40:36] local.INFO: IMEI packet received {"connection_id":186023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":186023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:40:41] local.INFO: TCP Data received {"connection_id":186023,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:40:41] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:40:41] local.INFO: IMEI packet received {"connection_id":186023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":186023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:40:42] local.INFO: TCP Data received {"connection_id":186023,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:42] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:42] local.INFO: Packet analysis {"connection_id":186023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b4"} 
[2026-09-18 09:40:42] local.INFO: Extracted packet for processing {"connection_id":186023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b4"} 
[2026-09-18 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164296192001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:42] 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-09-18 09:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789704582000,"timestamp_ms":1789704582000,"timestamp_seconds":1789704582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b4b370"} 
[2026-09-18 09:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:42] 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-09-18 09:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:40:42] 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-09-18 09:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164296192001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164296192001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:40:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164296192001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":186023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:42] local.INFO: GPS data processed {"connection_id":186023,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:42] local.INFO: Acknowledgment sent {"connection_id":186023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:47] local.INFO: TCP Data received {"connection_id":186023,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:47] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b4b370012d79ba8005e7a9500006000a29..."} 
[2026-09-18 09:40:47] local.INFO: Packet analysis {"connection_id":186023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b4"} 
[2026-09-18 09:40:47] local.INFO: Extracted packet for processing {"connection_id":186023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b4"} 
[2026-09-18 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99068240,"longitude_deg":76.295232,"latitude_deg":9.906824,"altitude":6,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d79ba80","hex_latitude":"05e7a950","is_valid_coordinates":true} 
[2026-09-18 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164296192001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564310385950720,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107287040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:47] 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-09-18 09:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789704582000,"timestamp_ms":1789704582000,"timestamp_seconds":1789704582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b4b370"} 
[2026-09-18 09:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:47] 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-09-18 09:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:40:47] 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-09-18 09:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164296192001,"66":2253,"31":206,"87":13824,"24":0,"16":134564310385950720,"45":8771463987107287040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164296192001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564310385950720,"km_value":134564310385950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107287040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164296192001,"power":2253,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771463987107287040}} 
[2026-09-18 09:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":186023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:47] local.INFO: GPS data processed {"connection_id":186023,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:47] local.INFO: Acknowledgment sent {"connection_id":186023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:51] local.INFO: TCP Data received {"connection_id":185860,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:40:51] local.INFO: Processing buffer {"connection_id":185860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:40:51] local.INFO: Packet analysis {"connection_id":185860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:40:51] local.INFO: Extracted packet for processing {"connection_id":185860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:40:51] 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-09-18 09:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":185860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:40:51] local.INFO: GPS data processed {"connection_id":185860,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:40:51] local.INFO: Acknowledgment sent {"connection_id":185860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:40:54] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:40:54] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:40:54] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:40:59] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:40:59] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:40:59] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:41:00] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:41:00] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:41:00] local.INFO: Packet analysis {"connection_id":188641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:41:00] local.INFO: Extracted packet for processing {"connection_id":188641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41: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-09-18 09:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:41: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:41:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":188641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:41:00] local.INFO: GPS data processed {"connection_id":188641,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:41:00] local.INFO: Acknowledgment sent {"connection_id":188641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:41:13] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:41:13] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:41:13] local.INFO: IMEI packet received {"connection_id":185861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":185861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:41:18] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:41:18] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:41:18] local.INFO: IMEI packet received {"connection_id":185861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":185861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:41:19] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:41:19] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:41:19] local.INFO: Packet analysis {"connection_id":185861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:41:19] local.INFO: Extracted packet for processing {"connection_id":185861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:41:19] 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-09-18 09:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:41: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-09-18 09:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":185861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:41:19] local.INFO: GPS data processed {"connection_id":185861,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:41:19] local.INFO: Acknowledgment sent {"connection_id":185861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:41:29] local.INFO: TCP Data received {"connection_id":187321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:41:29] local.INFO: Processing buffer {"connection_id":187321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:41:29] local.INFO: IMEI packet received {"connection_id":187321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":187321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:41:30] local.INFO: TCP Data received {"connection_id":187321,"ip":"42.106.6.20","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187321,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 09:41:30] local.INFO: Processing buffer {"connection_id":187321,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 09:41:30] local.INFO: IMEI packet received {"connection_id":187321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":187321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:41:31] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:41:31] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:41:31] local.INFO: Packet analysis {"connection_id":188641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:41:31] local.INFO: Extracted packet for processing {"connection_id":188641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41: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-09-18 09:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:41:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":188641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:41:31] local.INFO: GPS data processed {"connection_id":188641,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:41:31] local.INFO: Acknowledgment sent {"connection_id":188641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:41:50] local.INFO: TCP Data received {"connection_id":185861,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:41:50] local.INFO: Processing buffer {"connection_id":185861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:41:50] local.INFO: Packet analysis {"connection_id":185861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:41:50] local.INFO: Extracted packet for processing {"connection_id":185861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:41: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-09-18 09: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":185861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:41:50] local.INFO: GPS data processed {"connection_id":185861,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:41:50] local.INFO: Acknowledgment sent {"connection_id":185861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:41:59] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:41:59] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:41:59] local.INFO: IMEI packet received {"connection_id":185862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":185862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:42:04] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:42:04] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:42:04] local.INFO: IMEI packet received {"connection_id":185862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":185862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:42:05] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:42:05] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:42:05] local.INFO: Packet analysis {"connection_id":185862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:42:05] local.INFO: Extracted packet for processing {"connection_id":185862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42: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-09-18 09:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:42: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-09-18 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:42:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":185862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:42:05] local.INFO: GPS data processed {"connection_id":185862,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:42:05] local.INFO: Acknowledgment sent {"connection_id":185862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:42:09] local.INFO: TCP Data received {"connection_id":185862,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:42:09] local.INFO: Processing buffer {"connection_id":185862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b2abe8012d1a23800723aca8003300b127..."} 
[2026-09-18 09:42:09] local.INFO: Packet analysis {"connection_id":185862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:42:09] local.INFO: Extracted packet for processing {"connection_id":185862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b2"} 
[2026-09-18 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119778472,"longitude_deg":75.6687744,"latitude_deg":11.9778472,"altitude":51,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d1a2380","hex_latitude":"0723aca8","is_valid_coordinates":true} 
[2026-09-18 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164264960001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177263965863936,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156020299776,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42: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-09-18 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789704449000,"timestamp_ms":1789704449000,"timestamp_seconds":1789704449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b2abe8"} 
[2026-09-18 09:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09: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-09-18 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 09:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164264960001,"66":2166,"42":206,"83":42752,"24":0,"16":21177263965863936,"45":1884123156020299776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164264960001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:42:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177263965863936,"km_value":21177263965863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156020299776,"description":"Unknown IO ID 45"} 
[2026-09-18 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164264960001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1884123156020299776}} 
[2026-09-18 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":185862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:42:09] local.INFO: GPS data processed {"connection_id":185862,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:42:09] local.INFO: Acknowledgment sent {"connection_id":185862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:42:12] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:42:12] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:42:12] local.INFO: IMEI packet received {"connection_id":186024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":186024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:42:18] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:42:18] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:42:18] local.INFO: IMEI packet received {"connection_id":186024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":186024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:42:19] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:42:19] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:42:19] local.INFO: Packet analysis {"connection_id":186024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:42:19] local.INFO: Extracted packet for processing {"connection_id":186024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:42:19] 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-09-18 09: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-09-18 09:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":186024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:42:19] local.INFO: GPS data processed {"connection_id":186024,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:42:19] local.INFO: Acknowledgment sent {"connection_id":186024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:42:29] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:29] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:29] local.INFO: IMEI packet received {"connection_id":185863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":185863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:42:33] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:33] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:33] local.INFO: IMEI packet received {"connection_id":185863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":185863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:42:38] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:38] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:42:38] local.INFO: IMEI packet received {"connection_id":185863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":185863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:42:39] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b5e038012d0d29c00703e158001500b31f..."} 
[2026-09-18 09:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b5e038012d0d29c00703e158001500b31f..."} 
[2026-09-18 09:42:39] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b5e038012d0d29c00703e158001500b31f..."} 
[2026-09-18 09:42:39] local.INFO: Packet analysis {"connection_id":185863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b5"} 
[2026-09-18 09:42:39] local.INFO: Extracted packet for processing {"connection_id":185863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b5"} 
[2026-09-18 09:42:39] local.INFO: GPS Element Parsed {"raw_longitude":755837376,"raw_latitude":117694808,"longitude_deg":75.5837376,"latitude_deg":11.7694808,"altitude":21,"angle":179,"satellites":31,"speed":15,"hex_longitude":"2d0d29c0","hex_latitude":"0703e158","is_valid_coordinates":true} 
[2026-09-18 09:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164387584001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33052397567737856,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947937382949201920,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789704659000,"timestamp_ms":1789704659000,"timestamp_seconds":1789704659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b5e038"} 
[2026-09-18 09:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164387584001,"66":14439,"16":33052397567737856,"94":11008,"24":15,"45":947937382949201920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164387584001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33052397567737856,"km_value":33052397567737.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:42:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":947937382949201920,"description":"Unknown IO ID 45"} 
[2026-09-18 09:42:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164387584001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":947937382949201920}} 
[2026-09-18 09:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":185863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:42:39] local.INFO: GPS data processed {"connection_id":185863,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:42:39] local.INFO: Acknowledgment sent {"connection_id":185863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:42:39] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b5f7a8012d0d2ac00703d738001400a51f..."} 
[2026-09-18 09:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b5f7a8012d0d2ac00703d738001400a51f..."} 
[2026-09-18 09:42:39] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b5f7a8012d0d2ac00703d738001400a51f..."} 
[2026-09-18 09:42:39] local.INFO: Packet analysis {"connection_id":185863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b5"} 
[2026-09-18 09:42:39] local.INFO: Extracted packet for processing {"connection_id":185863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b5"} 
[2026-09-18 09:42:39] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117692216,"longitude_deg":75.5837632,"latitude_deg":11.7692216,"altitude":20,"angle":165,"satellites":31,"speed":16,"hex_longitude":"2d0d2ac0","hex_latitude":"0703d738","is_valid_coordinates":true} 
[2026-09-18 09:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164392704001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33052526416756736,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948500332900603904,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789704665000,"timestamp_ms":1789704665000,"timestamp_seconds":1789704665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b5f7a8"} 
[2026-09-18 09:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164392704001,"66":14352,"16":33052526416756736,"94":11008,"24":16,"45":948500332900603904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164392704001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33052526416756736,"km_value":33052526416756.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:42:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":948500332900603904,"description":"Unknown IO ID 45"} 
[2026-09-18 09:42:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164392704001,"power":14352,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":948500332900603904}} 
[2026-09-18 09:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":185863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:42:40] local.INFO: GPS data processed {"connection_id":185863,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:42:40] local.INFO: Acknowledgment sent {"connection_id":185863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:42:51] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:42:51] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:42:51] local.INFO: Packet analysis {"connection_id":186024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:42:51] local.INFO: Extracted packet for processing {"connection_id":186024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:42:51] 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-09-18 09:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":186024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:42:51] local.INFO: GPS data processed {"connection_id":186024,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:42:51] local.INFO: Acknowledgment sent {"connection_id":186024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:43:11] local.INFO: TCP Data received {"connection_id":185863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d0d250007041928001b00051e..."} 
[2026-09-18 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d0d250007041928001b00051e..."} 
[2026-09-18 09:43:11] local.INFO: Processing buffer {"connection_id":185863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d0d250007041928001b00051e..."} 
[2026-09-18 09:43:11] local.INFO: Packet analysis {"connection_id":185863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:43:11] local.INFO: Extracted packet for processing {"connection_id":185863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:43:11] local.INFO: GPS Element Parsed {"raw_longitude":755836160,"raw_latitude":117709096,"longitude_deg":75.583616,"latitude_deg":11.7709096,"altitude":27,"angle":5,"satellites":30,"speed":5,"hex_longitude":"2d0d2500","hex_latitude":"07041928","is_valid_coordinates":true} 
[2026-09-18 09:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164419328001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33053729007599616,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170485131264,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:43: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-09-18 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164419328001,"66":14428,"16":33053729007599616,"94":11008,"24":5,"45":947515170485131264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164419328001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33053729007599616,"km_value":33053729007599.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:43:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170485131264,"description":"Unknown IO ID 45"} 
[2026-09-18 09:43:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164419328001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":947515170485131264}} 
[2026-09-18 09:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":185863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859672,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:43:11] local.INFO: GPS data processed {"connection_id":185863,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:43:11] local.INFO: Acknowledgment sent {"connection_id":185863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:43:12] local.INFO: TCP Data received {"connection_id":187323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:43:12] local.INFO: Processing buffer {"connection_id":187323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:43:12] local.INFO: IMEI packet received {"connection_id":187323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":187323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:43:18] local.INFO: TCP Data received {"connection_id":187323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:43:18] local.INFO: Processing buffer {"connection_id":187323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:43:18] local.INFO: IMEI packet received {"connection_id":187323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":187323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:43:19] local.INFO: TCP Data received {"connection_id":187323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:43:19] local.INFO: Processing buffer {"connection_id":187323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b305c0012d34c40006aa3c80000a00e325..."} 
[2026-09-18 09:43:19] local.INFO: Packet analysis {"connection_id":187323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:43:19] local.INFO: Extracted packet for processing {"connection_id":187323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b3"} 
[2026-09-18 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":10,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164268032001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789704472000,"timestamp_ms":1789704472000,"timestamp_seconds":1789704472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b305c0"} 
[2026-09-18 09:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 09:43:19] 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-09-18 09:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164268032001,"66":25908,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164268032001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164268032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":187323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:43:19] local.INFO: GPS data processed {"connection_id":187323,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:43:19] local.INFO: Acknowledgment sent {"connection_id":187323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:43:25] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:25] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:25] local.INFO: IMEI packet received {"connection_id":185865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":185865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:43:26] local.INFO: TCP Data received {"connection_id":185864,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:43:26] local.INFO: Processing buffer {"connection_id":185864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:43:26] local.INFO: IMEI packet received {"connection_id":185864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":185864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:43:28] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:28] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:28] local.INFO: IMEI packet received {"connection_id":185865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":185865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:43:33] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:33] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:43:33] local.INFO: IMEI packet received {"connection_id":185865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":185865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:43:34] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b7b8e0012d0d25c0070421f8001a015c1f..."} 
[2026-09-18 09:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b7b8e0012d0d25c0070421f8001a015c1f..."} 
[2026-09-18 09:43:34] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b7b8e0012d0d25c0070421f8001a015c1f..."} 
[2026-09-18 09:43:34] local.INFO: Packet analysis {"connection_id":185865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:43:34] local.INFO: Extracted packet for processing {"connection_id":185865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:43:34] local.INFO: GPS Element Parsed {"raw_longitude":755836352,"raw_latitude":117711352,"longitude_deg":75.5836352,"latitude_deg":11.7711352,"altitude":26,"angle":348,"satellites":31,"speed":16,"hex_longitude":"2d0d25c0","hex_latitude":"070421f8","is_valid_coordinates":true} 
[2026-09-18 09:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33053836381782016,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947163326764886016,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789704780000,"timestamp_ms":1789704780000,"timestamp_seconds":1789704780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b7b8e0"} 
[2026-09-18 09:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":14396,"16":33053836381782016,"94":11008,"24":16,"45":947163326764886016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33053836381782016,"km_value":33053836381782.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:43:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":947163326764886016,"description":"Unknown IO ID 45"} 
[2026-09-18 09:43:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164421888001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":947163326764886016}} 
[2026-09-18 09:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":185865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:43:34] local.INFO: GPS data processed {"connection_id":185865,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:43:34] local.INFO: Acknowledgment sent {"connection_id":185865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:43:50] local.INFO: TCP Data received {"connection_id":187323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:43:50] local.INFO: Processing buffer {"connection_id":187323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:43:50] local.INFO: Packet analysis {"connection_id":187323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:43:50] local.INFO: Extracted packet for processing {"connection_id":187323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:43:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:43:50] 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-09-18 09:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:43:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:43:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":187323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:43:50] local.INFO: GPS data processed {"connection_id":187323,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:43:50] local.INFO: Acknowledgment sent {"connection_id":187323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:44:05] local.INFO: TCP Data received {"connection_id":185865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b7d820012d0d238007042fc0001900031f..."} 
[2026-09-18 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b7d820012d0d238007042fc0001900031f..."} 
[2026-09-18 09:44:05] local.INFO: Processing buffer {"connection_id":185865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b7d820012d0d238007042fc0001900031f..."} 
[2026-09-18 09:44:05] local.INFO: Packet analysis {"connection_id":185865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:44:05] local.INFO: Extracted packet for processing {"connection_id":185865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":755835776,"raw_latitude":117714880,"longitude_deg":75.5835776,"latitude_deg":11.771488,"altitude":25,"angle":3,"satellites":31,"speed":14,"hex_longitude":"2d0d2380","hex_latitude":"07042fc0","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164423680001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33054012475441152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374432997996544,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789704788000,"timestamp_ms":1789704788000,"timestamp_seconds":1789704788,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b7d820"} 
[2026-09-18 09:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164423680001,"66":14450,"16":33054012475441152,"94":11008,"24":14,"45":947374432997996544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164423680001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33054012475441152,"km_value":33054012475441.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:44:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374432997996544,"description":"Unknown IO ID 45"} 
[2026-09-18 09:44:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164423680001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":947374432997996544}} 
[2026-09-18 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":185865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:44:06] local.INFO: GPS data processed {"connection_id":185865,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:44:06] local.INFO: Acknowledgment sent {"connection_id":185865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:44:18] local.INFO: TCP Data received {"connection_id":187324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:44:18] local.INFO: Processing buffer {"connection_id":187324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:44:18] local.INFO: IMEI packet received {"connection_id":187324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":187324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:44:23] local.INFO: TCP Data received {"connection_id":187324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:44:23] local.INFO: Processing buffer {"connection_id":187324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:44:23] local.INFO: IMEI packet received {"connection_id":187324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":187324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:44:24] local.INFO: TCP Data received {"connection_id":187324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:44:24] local.INFO: Processing buffer {"connection_id":187324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:44:24] local.INFO: Packet analysis {"connection_id":187324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:44:24] local.INFO: Extracted packet for processing {"connection_id":187324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":187324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:44:24] local.INFO: GPS data processed {"connection_id":187324,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:44:24] local.INFO: Acknowledgment sent {"connection_id":187324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:44:38] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:38] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:38] local.INFO: IMEI packet received {"connection_id":185867,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":185867,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:44:42] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:42] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:42] local.INFO: IMEI packet received {"connection_id":185867,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":185867,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:44:48] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:48] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:44:48] local.INFO: IMEI packet received {"connection_id":185867,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":185867,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:44:56] local.INFO: TCP Data received {"connection_id":187324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:44:56] local.INFO: Processing buffer {"connection_id":187324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:44:56] local.INFO: Packet analysis {"connection_id":187324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:44:56] local.INFO: Extracted packet for processing {"connection_id":187324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:44:56] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:44:56] 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-09-18 09:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:44:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:44:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":187324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:44:56] local.INFO: GPS data processed {"connection_id":187324,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:44:56] local.INFO: Acknowledgment sent {"connection_id":187324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:45:08] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b8d608012d0d3740070479f00018000b1f..."} 
[2026-09-18 09:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b8d608012d0d3740070479f00018000b1f..."} 
[2026-09-18 09:45:08] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b8d608012d0d3740070479f00018000b1f..."} 
[2026-09-18 09:45:08] local.INFO: Packet analysis {"connection_id":185867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b8"} 
[2026-09-18 09:45:08] local.INFO: Extracted packet for processing {"connection_id":185867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b8"} 
[2026-09-18 09:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117733872,"longitude_deg":75.5840832,"latitude_deg":11.7733872,"altitude":24,"angle":11,"satellites":31,"speed":11,"hex_longitude":"2d0d3740","hex_latitude":"070479f0","is_valid_coordinates":true} 
[2026-09-18 09:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164441856001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33054974548115456,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876351885312,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789704853000,"timestamp_ms":1789704853000,"timestamp_seconds":1789704853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b8d608"} 
[2026-09-18 09:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 09:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164441856001,"66":14439,"16":33054974548115456,"94":11008,"24":11,"45":952229876351885312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164441856001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33054974548115456,"km_value":33054974548115.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876351885312,"description":"Unknown IO ID 45"} 
[2026-09-18 09:45:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164441856001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":952229876351885312}} 
[2026-09-18 09:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":185867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:45:08] local.INFO: GPS data processed {"connection_id":185867,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:45:08] local.INFO: Acknowledgment sent {"connection_id":185867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:45:12] local.INFO: TCP Data received {"connection_id":185867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b92428012d0d3a0007049688001b000120..."} 
[2026-09-18 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b92428012d0d3a0007049688001b000120..."} 
[2026-09-18 09:45:12] local.INFO: Processing buffer {"connection_id":185867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b92428012d0d3a0007049688001b000120..."} 
[2026-09-18 09:45:12] local.INFO: Packet analysis {"connection_id":185867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b9"} 
[2026-09-18 09:45:12] local.INFO: Extracted packet for processing {"connection_id":185867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b9"} 
[2026-09-18 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117741192,"longitude_deg":75.5841536,"latitude_deg":11.7741192,"altitude":27,"angle":1,"satellites":32,"speed":16,"hex_longitude":"2d0d3a00","hex_latitude":"07049688","is_valid_coordinates":true} 
[2026-09-18 09:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164442368001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33055331030401024,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245096198144,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789704873000,"timestamp_ms":1789704873000,"timestamp_seconds":1789704873,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b92428"} 
[2026-09-18 09:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:45: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-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164442368001,"66":14428,"16":33055331030401024,"94":11008,"24":16,"45":952300245096198144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164442368001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33055331030401024,"km_value":33055331030401.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:45:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245096198144,"description":"Unknown IO ID 45"} 
[2026-09-18 09:45:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164442368001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":952300245096198144}} 
[2026-09-18 09:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":185867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:45:12] local.INFO: GPS data processed {"connection_id":185867,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:45:12] local.INFO: Acknowledgment sent {"connection_id":185867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:45:13] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:45:13] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:45:13] local.INFO: IMEI packet received {"connection_id":188644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":188644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:45:18] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:45:18] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:45:18] local.INFO: IMEI packet received {"connection_id":188644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":188644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:45:19] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:45:19] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:45:19] local.INFO: Packet analysis {"connection_id":188644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:45:19] local.INFO: Extracted packet for processing {"connection_id":188644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:45:19] 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-09-18 09:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:45:19] local.INFO: GPS data processed {"connection_id":188644,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:45:19] local.INFO: Acknowledgment sent {"connection_id":188644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:45:28] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:28] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:28] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:45:28] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:28] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:28] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:45:31] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:31] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:31] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:45:33] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:33] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:45:33] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:45:34] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b92810012d0d3a0007049810001b015d20..."} 
[2026-09-18 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b92810012d0d3a0007049810001b015d20..."} 
[2026-09-18 09:45:34] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b92810012d0d3a0007049810001b015d20..."} 
[2026-09-18 09:45:34] local.INFO: Packet analysis {"connection_id":188645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b9"} 
[2026-09-18 09:45:34] local.INFO: Extracted packet for processing {"connection_id":188645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b9"} 
[2026-09-18 09:45:34] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117741584,"longitude_deg":75.5841536,"latitude_deg":11.7741584,"altitude":27,"angle":349,"satellites":32,"speed":14,"hex_longitude":"2d0d3a00","hex_latitude":"07049810","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164447488001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33055352505237504,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301284026368,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789704874000,"timestamp_ms":1789704874000,"timestamp_seconds":1789704874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b92810"} 
[2026-09-18 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-09-18 09:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164447488001,"66":14428,"16":33055352505237504,"94":11008,"24":14,"45":953074301284026368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164447488001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33055352505237504,"km_value":33055352505237.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301284026368,"description":"Unknown IO ID 45"} 
[2026-09-18 09:45:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164447488001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":953074301284026368}} 
[2026-09-18 09:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":188645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:45:34] local.INFO: GPS data processed {"connection_id":188645,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:45:34] local.INFO: Acknowledgment sent {"connection_id":188645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:45:51] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:45:51] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:45:51] local.INFO: Packet analysis {"connection_id":188644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:45:51] local.INFO: Extracted packet for processing {"connection_id":188644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:45:51] 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-09-18 09: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-09-18 09:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":188644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:45:51] local.INFO: GPS data processed {"connection_id":188644,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:45:51] local.INFO: Acknowledgment sent {"connection_id":188644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:46:12] local.INFO: TCP Data received {"connection_id":187325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:46:12] local.INFO: Processing buffer {"connection_id":187325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:46:12] local.INFO: IMEI packet received {"connection_id":187325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":187325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:46:13] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ba5ca8012d0ccb800704c040002401041d..."} 
[2026-09-18 09:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ba5ca8012d0ccb800704c040002401041d..."} 
[2026-09-18 09:46:13] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ba5ca8012d0ccb800704c040002401041d..."} 
[2026-09-18 09:46:13] local.INFO: Packet analysis {"connection_id":188645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ba"} 
[2026-09-18 09:46:13] local.INFO: Extracted packet for processing {"connection_id":188645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ba"} 
[2026-09-18 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":755813248,"raw_latitude":117751872,"longitude_deg":75.5813248,"latitude_deg":11.7751872,"altitude":36,"angle":260,"satellites":29,"speed":27,"hex_longitude":"2d0ccb80","hex_latitude":"0704c040","is_valid_coordinates":true} 
[2026-09-18 09:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164466176001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33057139211632640,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078405961728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789704953000,"timestamp_ms":1789704953000,"timestamp_seconds":1789704953,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ba5ca8"} 
[2026-09-18 09:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164466176001,"66":14537,"17":206,"94":11008,"24":27,"16":33057139211632640,"45":927460078405961728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 09:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164466176001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:46:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33057139211632640,"km_value":33057139211632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078405961728,"description":"Unknown IO ID 45"} 
[2026-09-18 09:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164466176001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":927460078405961728}} 
[2026-09-18 09:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":188645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:46:14] local.INFO: GPS data processed {"connection_id":188645,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:46:14] local.INFO: Acknowledgment sent {"connection_id":188645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:46:19] local.INFO: TCP Data received {"connection_id":187325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:46:19] local.INFO: Processing buffer {"connection_id":187325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:46:19] local.INFO: IMEI packet received {"connection_id":187325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":187325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:46:20] local.INFO: TCP Data received {"connection_id":187325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:46:20] local.INFO: Processing buffer {"connection_id":187325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:46:20] local.INFO: Packet analysis {"connection_id":187325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:46:20] local.INFO: Extracted packet for processing {"connection_id":187325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:46:20] 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-09-18 09:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":187325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:46:20] local.INFO: GPS data processed {"connection_id":187325,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:46:20] local.INFO: Acknowledgment sent {"connection_id":187325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:46:31] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:46:31] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:46:31] local.INFO: IMEI packet received {"connection_id":188647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":188647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:46:33] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:46:33] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:46:33] local.INFO: IMEI packet received {"connection_id":185868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":185868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:46:36] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:46:36] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:46:36] local.INFO: IMEI packet received {"connection_id":188647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":188647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:46:36] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:46:36] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:46:36] local.INFO: IMEI packet received {"connection_id":185868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":185868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:46:37] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ba7418012d0cb9800704bce0002401111f..."} 
[2026-09-18 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ba7418012d0cb9800704bce0002401111f..."} 
[2026-09-18 09:46:37] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ba7418012d0cb9800704bce0002401111f..."} 
[2026-09-18 09:46:37] local.INFO: Packet analysis {"connection_id":185868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ba"} 
[2026-09-18 09:46:37] local.INFO: Extracted packet for processing {"connection_id":185868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ba"} 
[2026-09-18 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117751008,"longitude_deg":75.580864,"latitude_deg":11.7751008,"altitude":36,"angle":273,"satellites":31,"speed":32,"hex_longitude":"2d0cb980","hex_latitude":"0704bce0","is_valid_coordinates":true} 
[2026-09-18 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164467968001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33057362549932032,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921971316360232960,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789704959000,"timestamp_ms":1789704959000,"timestamp_seconds":1789704959,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ba7418"} 
[2026-09-18 09:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:46: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-09-18 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 09:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164467968001,"66":14450,"17":206,"94":11008,"24":32,"16":33057362549932032,"45":921971316360232960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164467968001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33057362549932032,"km_value":33057362549932.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":921971316360232960,"description":"Unknown IO ID 45"} 
[2026-09-18 09:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164467968001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":921971316360232960}} 
[2026-09-18 09:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":185868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:46:37] local.INFO: GPS data processed {"connection_id":185868,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:46:37] local.INFO: Acknowledgment sent {"connection_id":185868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:46:37] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b69000012d79ba8005e7a548000600b82b..."} 
[2026-09-18 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b69000012d79ba8005e7a548000600b82b..."} 
[2026-09-18 09:46:37] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b69000012d79ba8005e7a548000600b82b..."} 
[2026-09-18 09:46:37] local.INFO: Packet analysis {"connection_id":188647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:46:37] local.INFO: Extracted packet for processing {"connection_id":188647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99067208,"longitude_deg":76.295232,"latitude_deg":9.9067208,"altitude":6,"angle":184,"satellites":43,"speed":6,"hex_longitude":"2d79ba80","hex_latitude":"05e7a548","is_valid_coordinates":true} 
[2026-09-18 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164403968001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564357630590976,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107061760,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:37] 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-09-18 09:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789704704000,"timestamp_ms":1789704704000,"timestamp_seconds":1789704704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b69000"} 
[2026-09-18 09:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:46: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-09-18 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 09:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:46:37] 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-09-18 09:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164403968001,"66":13048,"31":206,"87":13824,"24":6,"16":134564357630590976,"45":8771463987107061760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164403968001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564357630590976,"km_value":134564357630590.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107061760,"description":"Unknown IO ID 45"} 
[2026-09-18 09:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164403968001,"power":13048,"unknown_31":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8771463987107061760}} 
[2026-09-18 09:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":188647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:46:37] local.INFO: GPS data processed {"connection_id":188647,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:46:37] local.INFO: Acknowledgment sent {"connection_id":188647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:46:38] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ba7be8012d0cb2c00704be300023011e1f..."} 
[2026-09-18 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ba7be8012d0cb2c00704be300023011e1f..."} 
[2026-09-18 09:46:38] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ba7be8012d0cb2c00704be300023011e1f..."} 
[2026-09-18 09:46:38] local.INFO: Packet analysis {"connection_id":185868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ba"} 
[2026-09-18 09:46:38] local.INFO: Extracted packet for processing {"connection_id":185868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ba"} 
[2026-09-18 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":755806912,"raw_latitude":117751344,"longitude_deg":75.5806912,"latitude_deg":11.7751344,"altitude":35,"angle":286,"satellites":31,"speed":35,"hex_longitude":"2d0cb2c0","hex_latitude":"0704be30","is_valid_coordinates":true} 
[2026-09-18 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164469504001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33057448449277952,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766779219968,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789704961000,"timestamp_ms":1789704961000,"timestamp_seconds":1789704961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ba7be8"} 
[2026-09-18 09:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:46: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-09-18 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 09:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164469504001,"66":14407,"17":206,"94":11008,"24":35,"16":33057448449277952,"45":916904766779219968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 09:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164469504001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:46:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33057448449277952,"km_value":33057448449277.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766779219968,"description":"Unknown IO ID 45"} 
[2026-09-18 09:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164469504001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":916904766779219968}} 
[2026-09-18 09:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":185868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:46:38] local.INFO: GPS data processed {"connection_id":185868,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:46:38] local.INFO: Acknowledgment sent {"connection_id":185868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:46:52] local.INFO: TCP Data received {"connection_id":187325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:46:52] local.INFO: Processing buffer {"connection_id":187325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:46:52] local.INFO: Packet analysis {"connection_id":187325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:46:52] local.INFO: Extracted packet for processing {"connection_id":187325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:46:52] 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-09-18 09:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":187325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:46:53] local.INFO: GPS data processed {"connection_id":187325,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:46:53] local.INFO: Acknowledgment sent {"connection_id":187325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:47:08] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b6d268012d79ba4005e796f0000700c52b..."} 
[2026-09-18 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b6d268012d79ba4005e796f0000700c52b..."} 
[2026-09-18 09:47:08] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b6d268012d79ba4005e796f0000700c52b..."} 
[2026-09-18 09:47:08] local.INFO: Packet analysis {"connection_id":188647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:47:08] local.INFO: Extracted packet for processing {"connection_id":188647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99063536,"longitude_deg":76.2952256,"latitude_deg":9.9063536,"altitude":7,"angle":197,"satellites":43,"speed":2,"hex_longitude":"2d79ba40","hex_latitude":"05e796f0","is_valid_coordinates":true} 
[2026-09-18 09:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164404224001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564538019217408,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987107022848,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:08] 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-09-18 09:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789704721000,"timestamp_ms":1789704721000,"timestamp_seconds":1789704721,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b6d268"} 
[2026-09-18 09:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 09:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:47:08] 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-09-18 09:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164404224001,"66":13243,"31":206,"87":13824,"24":2,"16":134564538019217408,"45":8771463987107022848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164404224001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564538019217408,"km_value":134564538019217.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987107022848,"description":"Unknown IO ID 45"} 
[2026-09-18 09:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164404224001,"power":13243,"unknown_31":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8771463987107022848}} 
[2026-09-18 09:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":188647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:47:08] local.INFO: GPS data processed {"connection_id":188647,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:47:08] local.INFO: Acknowledgment sent {"connection_id":188647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:47:09] local.INFO: TCP Data received {"connection_id":185868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bb4320012d0cbb00070471e8001400b91c..."} 
[2026-09-18 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bb4320012d0cbb00070471e8001400b91c..."} 
[2026-09-18 09:47:09] local.INFO: Processing buffer {"connection_id":185868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bb4320012d0cbb00070471e8001400b91c..."} 
[2026-09-18 09:47:09] local.INFO: Packet analysis {"connection_id":185868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bb"} 
[2026-09-18 09:47:09] local.INFO: Extracted packet for processing {"connection_id":185868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bb"} 
[2026-09-18 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":755809024,"raw_latitude":117731816,"longitude_deg":75.5809024,"latitude_deg":11.7731816,"altitude":20,"angle":185,"satellites":28,"speed":48,"hex_longitude":"2d0cbb00","hex_latitude":"070471e8","is_valid_coordinates":true} 
[2026-09-18 09:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164482304001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33059205090902016,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135519428608,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789705012000,"timestamp_ms":1789705012000,"timestamp_seconds":1789705012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bb4320"} 
[2026-09-18 09:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 09:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164482304001,"66":14407,"95":206,"94":10240,"24":48,"16":33059205090902016,"45":916975135519428608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-18 09:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164482304001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:47:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 09:47:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33059205090902016,"km_value":33059205090902.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135519428608,"description":"Unknown IO ID 45"} 
[2026-09-18 09:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164482304001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_45":916975135519428608}} 
[2026-09-18 09:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":185868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:47:09] local.INFO: GPS data processed {"connection_id":185868,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:47:09] local.INFO: Acknowledgment sent {"connection_id":185868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:47:12] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:47:12] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:47:12] local.INFO: IMEI packet received {"connection_id":186025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":186025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:47:18] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:47:18] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:47:18] local.INFO: IMEI packet received {"connection_id":186025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":186025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:47:18] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:47:18] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:47:18] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:47:18] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:47:18] 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-09-18 09:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:47:18] local.INFO: GPS data processed {"connection_id":186025,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:47:18] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:47:28] local.INFO: TCP Data received {"connection_id":186026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:47:28] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:47:28] local.INFO: IMEI packet received {"connection_id":186026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":186026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:47:35] local.INFO: TCP Data received {"connection_id":186026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:47:35] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:47:35] local.INFO: IMEI packet received {"connection_id":186026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":186026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:47:36] local.INFO: TCP Data received {"connection_id":186026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bb5e78012d0cb30007045150001200c41d..."} 
[2026-09-18 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bb5e78012d0cb30007045150001200c41d..."} 
[2026-09-18 09:47:36] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bb5e78012d0cb30007045150001200c41d..."} 
[2026-09-18 09:47:36] local.INFO: Packet analysis {"connection_id":186026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bb"} 
[2026-09-18 09:47:36] local.INFO: Extracted packet for processing {"connection_id":186026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bb"} 
[2026-09-18 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":755806976,"raw_latitude":117723472,"longitude_deg":75.5806976,"latitude_deg":11.7723472,"altitude":18,"angle":196,"satellites":29,"speed":49,"hex_longitude":"2d0cb300","hex_latitude":"07045150","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164483072001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33059621702729728,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917326979239372800,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789705019000,"timestamp_ms":1789705019000,"timestamp_seconds":1789705019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bb5e78"} 
[2026-09-18 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-09-18 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 09:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164483072001,"66":14537,"95":206,"94":10240,"24":49,"16":33059621702729728,"45":917326979239372800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-18 09:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164483072001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:47:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 09:47:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 09:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33059621702729728,"km_value":33059621702729.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":917326979239372800,"description":"Unknown IO ID 45"} 
[2026-09-18 09:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164483072001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_45":917326979239372800}} 
[2026-09-18 09:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":186026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:47:36] local.INFO: GPS data processed {"connection_id":186026,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:47:36] local.INFO: Acknowledgment sent {"connection_id":186026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:47:36] local.INFO: TCP Data received {"connection_id":187326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:47:36] local.INFO: Processing buffer {"connection_id":187326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:47:36] local.INFO: IMEI packet received {"connection_id":187326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":187326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:47:41] local.INFO: TCP Data received {"connection_id":187326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:47:41] local.INFO: Processing buffer {"connection_id":187326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:47:41] local.INFO: IMEI packet received {"connection_id":187326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":187326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:47:42] local.INFO: TCP Data received {"connection_id":187326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b6d650012d79ba4005e796b0000700b92b..."} 
[2026-09-18 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b6d650012d79ba4005e796b0000700b92b..."} 
[2026-09-18 09:47:42] local.INFO: Processing buffer {"connection_id":187326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b6d650012d79ba4005e796b0000700b92b..."} 
[2026-09-18 09:47:42] local.INFO: Packet analysis {"connection_id":187326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:47:42] local.INFO: Extracted packet for processing {"connection_id":187326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99063472,"longitude_deg":76.2952256,"latitude_deg":9.9063472,"altitude":7,"angle":185,"satellites":43,"speed":0,"hex_longitude":"2d79ba40","hex_latitude":"05e796b0","is_valid_coordinates":true} 
[2026-09-18 09:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164408576001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618361905152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:42] 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-09-18 09:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789704722000,"timestamp_ms":1789704722000,"timestamp_seconds":1789704722,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b6d650"} 
[2026-09-18 09:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 09:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:47:42] 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-09-18 09:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164408576001,"66":13243,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771393618361905152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164408576001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:47:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:47:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618361905152,"description":"Unknown IO ID 45"} 
[2026-09-18 09:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164408576001,"power":13243,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618361905152}} 
[2026-09-18 09:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":187326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:47:42] local.INFO: GPS data processed {"connection_id":187326,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:47:42] local.INFO: Acknowledgment sent {"connection_id":187326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:47:43] local.INFO: TCP Data received {"connection_id":188648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:43] local.INFO: Processing buffer {"connection_id":188648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:43] local.INFO: IMEI packet received {"connection_id":188648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":188648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:47:45] local.INFO: TCP Data received {"connection_id":188648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:45] local.INFO: Processing buffer {"connection_id":188648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:45] local.INFO: IMEI packet received {"connection_id":188648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":188648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:47:46] local.INFO: TCP Data received {"connection_id":188648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:46] local.INFO: Processing buffer {"connection_id":188648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:46] local.INFO: IMEI packet received {"connection_id":188648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":188648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:47:47] local.INFO: TCP Data received {"connection_id":188648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:47] local.INFO: Processing buffer {"connection_id":188648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:47:47] local.INFO: IMEI packet received {"connection_id":188648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":188648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:47:51] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:47:51] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:47:51] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:47:51] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:47:51] 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-09-18 09: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-09-18 09:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:47:51] local.INFO: GPS data processed {"connection_id":186025,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:47:51] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:48:07] local.INFO: TCP Data received {"connection_id":186026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc4cc0012d0c6d000703de30001800a01e..."} 
[2026-09-18 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc4cc0012d0c6d000703de30001800a01e..."} 
[2026-09-18 09:48:07] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc4cc0012d0c6d000703de30001800a01e..."} 
[2026-09-18 09:48:07] local.INFO: Packet analysis {"connection_id":186026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:48:07] local.INFO: Extracted packet for processing {"connection_id":186026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117694000,"longitude_deg":75.5789056,"latitude_deg":11.7694,"altitude":24,"angle":160,"satellites":30,"speed":12,"hex_longitude":"2d0c6d00","hex_latitude":"0703de30","is_valid_coordinates":true} 
[2026-09-18 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164500224001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33061846495789056,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193557995520,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789705080000,"timestamp_ms":1789705080000,"timestamp_seconds":1789705080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc4cc0"} 
[2026-09-18 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164500224001,"66":14428,"16":33061846495789056,"94":11008,"24":12,"45":895231193557995520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164500224001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33061846495789056,"km_value":33061846495789.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:48:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193557995520,"description":"Unknown IO ID 45"} 
[2026-09-18 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164500224001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":895231193557995520}} 
[2026-09-18 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":186026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:48:07] local.INFO: GPS data processed {"connection_id":186026,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:48:07] local.INFO: Acknowledgment sent {"connection_id":186026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:48:14] local.INFO: TCP Data received {"connection_id":187326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b6e9d8012d79ba4005e79670000700b92a..."} 
[2026-09-18 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b6e9d8012d79ba4005e79670000700b92a..."} 
[2026-09-18 09:48:14] local.INFO: Processing buffer {"connection_id":187326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b6e9d8012d79ba4005e79670000700b92a..."} 
[2026-09-18 09:48:14] local.INFO: Packet analysis {"connection_id":187326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:48:14] local.INFO: Extracted packet for processing {"connection_id":187326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:48:14] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99063408,"longitude_deg":76.2952256,"latitude_deg":9.9063408,"altitude":7,"angle":185,"satellites":42,"speed":0,"hex_longitude":"2d79ba40","hex_latitude":"05e79670","is_valid_coordinates":true} 
[2026-09-18 09:48: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-09-18 09:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164408832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618361888768,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:14] 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-09-18 09:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789704727000,"timestamp_ms":1789704727000,"timestamp_seconds":1789704727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b6e9d8"} 
[2026-09-18 09:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 09:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:48:14] 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-09-18 09:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164408832001,"66":13276,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771393618361888768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164408832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:48:14] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:48:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618361888768,"description":"Unknown IO ID 45"} 
[2026-09-18 09:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164408832001,"power":13276,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618361888768}} 
[2026-09-18 09:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":187326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:48:14] local.INFO: GPS data processed {"connection_id":187326,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:48:14] local.INFO: Acknowledgment sent {"connection_id":187326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:48:18] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:48:18] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:48:18] local.INFO: IMEI packet received {"connection_id":186027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":186027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:48:23] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:48:23] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:48:23] local.INFO: IMEI packet received {"connection_id":186027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":186027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:48:24] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:48:24] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:48:24] local.INFO: Packet analysis {"connection_id":186027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:48:24] local.INFO: Extracted packet for processing {"connection_id":186027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":186027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:48:24] local.INFO: GPS data processed {"connection_id":186027,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:48:24] local.INFO: Acknowledgment sent {"connection_id":186027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:48:28] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:48:28] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:48:28] local.INFO: IMEI packet received {"connection_id":188649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":188649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:48:28] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:48:28] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b79d88012d34c40006aa3c80001100e325..."} 
[2026-09-18 09:48:28] local.INFO: Packet analysis {"connection_id":186027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:48:28] local.INFO: Extracted packet for processing {"connection_id":186027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b7"} 
[2026-09-18 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":17,"angle":227,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164344832001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789704773000,"timestamp_ms":1789704773000,"timestamp_seconds":1789704773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b79d88"} 
[2026-09-18 09:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 09:48:28] 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-09-18 09:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164344832001,"66":25854,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164344832001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:48:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:48:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164344832001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":186027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:48:28] local.INFO: GPS data processed {"connection_id":186027,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:48:28] local.INFO: Acknowledgment sent {"connection_id":186027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:48:31] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:48:31] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:48:31] local.INFO: IMEI packet received {"connection_id":188650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":188650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:48:34] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:48:34] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:48:34] local.INFO: IMEI packet received {"connection_id":188649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":188649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:48:35] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc50a8012d0c6d000703dc90001900af1e..."} 
[2026-09-18 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc50a8012d0c6d000703dc90001900af1e..."} 
[2026-09-18 09:48:35] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc50a8012d0c6d000703dc90001900af1e..."} 
[2026-09-18 09:48:35] local.INFO: Packet analysis {"connection_id":188649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:48:35] local.INFO: Extracted packet for processing {"connection_id":188649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117693584,"longitude_deg":75.5789056,"latitude_deg":11.7693584,"altitude":25,"angle":175,"satellites":30,"speed":14,"hex_longitude":"2d0c6d00","hex_latitude":"0703dc90","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164500480001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33061863675658240,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931046260736,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789705081000,"timestamp_ms":1789705081000,"timestamp_seconds":1789705081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc50a8"} 
[2026-09-18 09:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 09:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164500480001,"66":14309,"16":33061863675658240,"94":11008,"24":14,"45":895371931046260736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164500480001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33061863675658240,"km_value":33061863675658.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931046260736,"description":"Unknown IO ID 45"} 
[2026-09-18 09:48:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164500480001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895371931046260736}} 
[2026-09-18 09:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":188649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:48:35] local.INFO: GPS data processed {"connection_id":188649,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:48:35] local.INFO: Acknowledgment sent {"connection_id":188649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:48:36] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:48:36] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:48:36] local.INFO: IMEI packet received {"connection_id":188650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":188650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:48:37] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b6e9d8012d79ba4005e79670000700b92a..."} 
[2026-09-18 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b6e9d8012d79ba4005e79670000700b92a..."} 
[2026-09-18 09:48:37] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b6e9d8012d79ba4005e79670000700b92a..."} 
[2026-09-18 09:48:37] local.INFO: Packet analysis {"connection_id":188650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:48:37] local.INFO: Extracted packet for processing {"connection_id":188650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99063408,"longitude_deg":76.2952256,"latitude_deg":9.9063408,"altitude":7,"angle":185,"satellites":42,"speed":0,"hex_longitude":"2d79ba40","hex_latitude":"05e79670","is_valid_coordinates":true} 
[2026-09-18 09:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164410112001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618361872384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:48:37] 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-09-18 09:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789704727000,"timestamp_ms":1789704727000,"timestamp_seconds":1789704727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b6e9d8"} 
[2026-09-18 09:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 09:48: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-09-18 09:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:48:37] 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-09-18 09:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164410112001,"66":13276,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771393618361872384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164410112001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:48:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:48:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618361872384,"description":"Unknown IO ID 45"} 
[2026-09-18 09:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164410112001,"power":13276,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618361872384}} 
[2026-09-18 09:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":188650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:48:37] local.INFO: GPS data processed {"connection_id":188650,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:48:37] local.INFO: Acknowledgment sent {"connection_id":188650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:49:01] local.INFO: TCP Data received {"connection_id":187327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:49:01] local.INFO: Processing buffer {"connection_id":187327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:49:01] local.INFO: IMEI packet received {"connection_id":187327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":187327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:49:06] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc5878012d0c6d000703d900001900ba1e..."} 
[2026-09-18 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc5878012d0c6d000703d900001900ba1e..."} 
[2026-09-18 09:49:06] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc5878012d0c6d000703d900001900ba1e..."} 
[2026-09-18 09:49:06] local.INFO: Packet analysis {"connection_id":188649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:06] local.INFO: Extracted packet for processing {"connection_id":188649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:06] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117692672,"longitude_deg":75.5789056,"latitude_deg":11.7692672,"altitude":25,"angle":186,"satellites":30,"speed":20,"hex_longitude":"2d0c6d00","hex_latitude":"0703d900","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164500736001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33061910920298496,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931046154240,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789705083000,"timestamp_ms":1789705083000,"timestamp_seconds":1789705083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc5878"} 
[2026-09-18 09:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 09:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164500736001,"66":14439,"16":33061910920298496,"94":11008,"24":20,"45":895371931046154240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164500736001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33061910920298496,"km_value":33061910920298.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:49:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931046154240,"description":"Unknown IO ID 45"} 
[2026-09-18 09:49:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164500736001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":895371931046154240}} 
[2026-09-18 09:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":188649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:49:06] local.INFO: GPS data processed {"connection_id":188649,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:49:06] local.INFO: Acknowledgment sent {"connection_id":188649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:49:08] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b6f1a8012d79ba4005e79670000700b929..."} 
[2026-09-18 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b6f1a8012d79ba4005e79670000700b929..."} 
[2026-09-18 09:49:08] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b6f1a8012d79ba4005e79670000700b929..."} 
[2026-09-18 09:49:08] local.INFO: Packet analysis {"connection_id":188650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:49:08] local.INFO: Extracted packet for processing {"connection_id":188650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99063408,"longitude_deg":76.2952256,"latitude_deg":9.9063408,"altitude":7,"angle":185,"satellites":41,"speed":0,"hex_longitude":"2d79ba40","hex_latitude":"05e79670","is_valid_coordinates":true} 
[2026-09-18 09:49: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-09-18 09:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164410112001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618361872384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:08] 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-09-18 09:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789704729000,"timestamp_ms":1789704729000,"timestamp_seconds":1789704729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b6f1a8"} 
[2026-09-18 09:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 09:49: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-09-18 09:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:49:08] 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-09-18 09:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164410112001,"66":13526,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771393618361872384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164410112001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:49:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:49:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618361872384,"description":"Unknown IO ID 45"} 
[2026-09-18 09:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164410112001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618361872384}} 
[2026-09-18 09:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":188650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:49:08] local.INFO: GPS data processed {"connection_id":188650,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:49:08] local.INFO: Acknowledgment sent {"connection_id":188650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:49:12] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:49:12] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:49:12] local.INFO: IMEI packet received {"connection_id":185869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":185869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:49:18] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:49:18] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:49:18] local.INFO: IMEI packet received {"connection_id":185869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":185869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:49:19] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:49:19] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:49:19] local.INFO: Packet analysis {"connection_id":185869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:19] local.INFO: Extracted packet for processing {"connection_id":185869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:49:19] 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-09-18 09:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":185869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:49:19] local.INFO: GPS data processed {"connection_id":185869,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:49:19] local.INFO: Acknowledgment sent {"connection_id":185869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:49:29] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:49:29] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:49:29] local.INFO: IMEI packet received {"connection_id":188651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":188651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:49:31] local.INFO: TCP Data received {"connection_id":187328,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:49:31] local.INFO: Processing buffer {"connection_id":187328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:49:31] local.INFO: IMEI packet received {"connection_id":187328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":187328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:49:33] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:49:33] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:49:33] local.INFO: IMEI packet received {"connection_id":188651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":188651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:49:34] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc8370012d0c6b800703c720001b00ad1e..."} 
[2026-09-18 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc8370012d0c6b800703c720001b00ad1e..."} 
[2026-09-18 09:49:34] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc8370012d0c6b800703c720001b00ad1e..."} 
[2026-09-18 09:49:34] local.INFO: Packet analysis {"connection_id":188651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:34] local.INFO: Extracted packet for processing {"connection_id":188651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117688096,"longitude_deg":75.5788672,"latitude_deg":11.7688096,"altitude":27,"angle":173,"satellites":30,"speed":16,"hex_longitude":"2d0c6b80","hex_latitude":"0703c720","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164501248001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33062134258597888,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931045920768,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789705094000,"timestamp_ms":1789705094000,"timestamp_seconds":1789705094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc8370"} 
[2026-09-18 09:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164501248001,"66":14450,"16":33062134258597888,"94":11008,"24":16,"45":895371931045920768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164501248001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33062134258597888,"km_value":33062134258597.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:49:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931045920768,"description":"Unknown IO ID 45"} 
[2026-09-18 09:49:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164501248001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":895371931045920768}} 
[2026-09-18 09:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":188651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:49:34] local.INFO: GPS data processed {"connection_id":188651,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:49:34] local.INFO: Acknowledgment sent {"connection_id":188651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:49:36] local.INFO: TCP Data received {"connection_id":187328,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:49:36] local.INFO: Processing buffer {"connection_id":187328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:49:36] local.INFO: IMEI packet received {"connection_id":187328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":187328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:49:37] local.INFO: TCP Data received {"connection_id":187328,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2b6f1a8012d79ba4005e79670000700b929..."} 
[2026-09-18 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2b6f1a8012d79ba4005e79670000700b929..."} 
[2026-09-18 09:49:37] local.INFO: Processing buffer {"connection_id":187328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2b6f1a8012d79ba4005e79670000700b929..."} 
[2026-09-18 09:49:37] local.INFO: Packet analysis {"connection_id":187328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:49:37] local.INFO: Extracted packet for processing {"connection_id":187328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2b6"} 
[2026-09-18 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99063408,"longitude_deg":76.2952256,"latitude_deg":9.9063408,"altitude":7,"angle":185,"satellites":41,"speed":0,"hex_longitude":"2d79ba40","hex_latitude":"05e79670","is_valid_coordinates":true} 
[2026-09-18 09:49: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-09-18 09:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164410624001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618361872384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:37] 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-09-18 09:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789704729000,"timestamp_ms":1789704729000,"timestamp_seconds":1789704729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2b6f1a8"} 
[2026-09-18 09:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 09:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:49:37] 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-09-18 09:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164410624001,"66":13526,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771393618361872384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164410624001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:49:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:49:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618361872384,"description":"Unknown IO ID 45"} 
[2026-09-18 09:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164410624001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618361872384}} 
[2026-09-18 09:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":187328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:49:37] local.INFO: GPS data processed {"connection_id":187328,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:49:37] local.INFO: Acknowledgment sent {"connection_id":187328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:49:51] local.INFO: TCP Data received {"connection_id":185869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:49:51] local.INFO: Processing buffer {"connection_id":185869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:49:51] local.INFO: Packet analysis {"connection_id":185869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:51] local.INFO: Extracted packet for processing {"connection_id":185869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:49:51] 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-09-18 09: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-09-18 09:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":185869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:49:51] local.INFO: GPS data processed {"connection_id":185869,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:49:51] local.INFO: Acknowledgment sent {"connection_id":185869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:06] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc9ec8012d0c6bc00703b878001e00b81c..."} 
[2026-09-18 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc9ec8012d0c6bc00703b878001e00b81c..."} 
[2026-09-18 09:50:06] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc9ec8012d0c6bc00703b878001e00b81c..."} 
[2026-09-18 09:50:06] local.INFO: Packet analysis {"connection_id":188651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:06] local.INFO: Extracted packet for processing {"connection_id":188651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117684344,"longitude_deg":75.5788736,"latitude_deg":11.7684344,"altitude":30,"angle":184,"satellites":28,"speed":19,"hex_longitude":"2d0c6bc0","hex_latitude":"0703b878","is_valid_coordinates":true} 
[2026-09-18 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164504064001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33062314647224320,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718579683328,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789705101000,"timestamp_ms":1789705101000,"timestamp_seconds":1789705101,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc9ec8"} 
[2026-09-18 09:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164504064001,"66":14407,"16":33062314647224320,"94":11008,"24":19,"45":894949718579683328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164504064001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33062314647224320,"km_value":33062314647224.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718579683328,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164504064001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":894949718579683328}} 
[2026-09-18 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":188651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:06] local.INFO: GPS data processed {"connection_id":188651,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:06] local.INFO: Acknowledgment sent {"connection_id":188651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:09] local.INFO: TCP Data received {"connection_id":187328,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bb8588012d79b98005e79648000700b92a..."} 
[2026-09-18 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bb8588012d79b98005e79648000700b92a..."} 
[2026-09-18 09:50:09] local.INFO: Processing buffer {"connection_id":187328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bb8588012d79b98005e79648000700b92a..."} 
[2026-09-18 09:50:09] local.INFO: Packet analysis {"connection_id":187328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bb"} 
[2026-09-18 09:50:09] local.INFO: Extracted packet for processing {"connection_id":187328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bb"} 
[2026-09-18 09:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99063368,"longitude_deg":76.2952064,"latitude_deg":9.9063368,"altitude":7,"angle":185,"satellites":42,"speed":0,"hex_longitude":"2d79b980","hex_latitude":"05e79648","is_valid_coordinates":true} 
[2026-09-18 09:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164410624001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618361872384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:09] 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-09-18 09:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789705029000,"timestamp_ms":1789705029000,"timestamp_seconds":1789705029,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bb8588"} 
[2026-09-18 09:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:50:09] 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-09-18 09:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164410624001,"66":2590,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771393618361872384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164410624001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618361872384,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164410624001,"power":2590,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618361872384}} 
[2026-09-18 09:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":187328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:09] local.INFO: GPS data processed {"connection_id":187328,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:09] local.INFO: Acknowledgment sent {"connection_id":187328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:12] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:50:12] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:50:12] local.INFO: IMEI packet received {"connection_id":186028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":186028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:50:18] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:50:18] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:50:18] local.INFO: IMEI packet received {"connection_id":186028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":186028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:50:19] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:50:19] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:50:19] local.INFO: Packet analysis {"connection_id":186028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:19] local.INFO: Extracted packet for processing {"connection_id":186028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:19] 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-09-18 09:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":186028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:19] local.INFO: GPS data processed {"connection_id":186028,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:19] local.INFO: Acknowledgment sent {"connection_id":186028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:28] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:50:28] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:50:28] local.INFO: IMEI packet received {"connection_id":185870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":185870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:50:31] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:31] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:31] local.INFO: IMEI packet received {"connection_id":185871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":185871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:50:32] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:50:32] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:50:32] local.INFO: IMEI packet received {"connection_id":185870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":185870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:50:33] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bcd190012d0c67c00703a328001e00c51d..."} 
[2026-09-18 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bcd190012d0c67c00703a328001e00c51d..."} 
[2026-09-18 09:50:33] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bcd190012d0c67c00703a328001e00c51d..."} 
[2026-09-18 09:50:33] local.INFO: Packet analysis {"connection_id":185870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:33] local.INFO: Extracted packet for processing {"connection_id":185870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755787712,"raw_latitude":117678888,"longitude_deg":75.5787712,"latitude_deg":11.7678888,"altitude":30,"angle":197,"satellites":29,"speed":10,"hex_longitude":"2d0c67c0","hex_latitude":"0703a328","is_valid_coordinates":true} 
[2026-09-18 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164505856001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33062585230163968,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087322900480,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789705114000,"timestamp_ms":1789705114000,"timestamp_seconds":1789705114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bcd190"} 
[2026-09-18 09:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164505856001,"66":14428,"16":33062585230163968,"94":11008,"24":10,"45":895020087322900480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164505856001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33062585230163968,"km_value":33062585230163.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087322900480,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164505856001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":895020087322900480}} 
[2026-09-18 09:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":185870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:33] local.INFO: GPS data processed {"connection_id":185870,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:33] local.INFO: Acknowledgment sent {"connection_id":185870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:35] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:35] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:35] local.INFO: IMEI packet received {"connection_id":185871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":185871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:50:36] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:36] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:50:36] local.INFO: IMEI packet received {"connection_id":185871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":185871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:50:37] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bdd360012d79b98005e79648000700b928..."} 
[2026-09-18 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bdd360012d79b98005e79648000700b928..."} 
[2026-09-18 09:50:37] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bdd360012d79b98005e79648000700b928..."} 
[2026-09-18 09:50:37] local.INFO: Packet analysis {"connection_id":185871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:50:37] local.INFO: Extracted packet for processing {"connection_id":185871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99063368,"longitude_deg":76.2952064,"latitude_deg":9.9063368,"altitude":7,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d79b980","hex_latitude":"05e79648","is_valid_coordinates":true} 
[2026-09-18 09:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164487424001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129329152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] 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-09-18 09:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789705180000,"timestamp_ms":1789705180000,"timestamp_seconds":1789705180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bdd360"} 
[2026-09-18 09:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50: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-09-18 09: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57813554057598774,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1277896394266378240,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6867225752194962055,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-9221709964907641344,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3026418953602730496,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521334325488,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":182,"raw_value":-3003899656628715515,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-7588565342042379520,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2234012289139218432,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121452034,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:37] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,31,87,24,241,157,16,17,160,45,64,150,7,41,10,66,233,240,220,222,1,186,185,4,182,231,101,70,206],"length":524,"final_offset":654,"validated_count":29,"validation_warnings":[]} 
[2026-09-18 09:50:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504606748305260544,"timestamp_seconds":504606748305260.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:50:37] 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-09-18 09:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164487424001,"66":2372,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771182512129329152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164487424001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:50:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129329152,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164487424001,"power":2372,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771182512129329152}} 
[2026-09-18 09:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":185871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:37] local.INFO: GPS data processed {"connection_id":185871,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:37] local.INFO: Acknowledgment sent {"connection_id":185871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:42] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bdd360012d79b98005e79648000700b928..."} 
[2026-09-18 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bdd360012d79b98005e79648000700b928..."} 
[2026-09-18 09:50:42] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bdd360012d79b98005e79648000700b928..."} 
[2026-09-18 09:50:42] local.INFO: Packet analysis {"connection_id":185871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:50:42] local.INFO: Extracted packet for processing {"connection_id":185871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99063368,"longitude_deg":76.2952064,"latitude_deg":9.9063368,"altitude":7,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d79b980","hex_latitude":"05e79648","is_valid_coordinates":true} 
[2026-09-18 09:50: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-09-18 09:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164526080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129329152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:42] 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-09-18 09:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789705180000,"timestamp_ms":1789705180000,"timestamp_seconds":1789705180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bdd360"} 
[2026-09-18 09:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":855,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:50:42] 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-09-18 09:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164526080001,"66":2372,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771182512129329152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164526080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:50:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129329152,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164526080001,"power":2372,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771182512129329152}} 
[2026-09-18 09:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":185871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:42] local.INFO: GPS data processed {"connection_id":185871,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:42] local.INFO: Acknowledgment sent {"connection_id":185871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:50:52] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:50:52] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:50:52] local.INFO: Packet analysis {"connection_id":186028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:52] local.INFO: Extracted packet for processing {"connection_id":186028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:50:52] 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-09-18 09:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":186028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:50:52] local.INFO: GPS data processed {"connection_id":186028,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:50:52] local.INFO: Acknowledgment sent {"connection_id":186028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:04] local.INFO: TCP Data received {"connection_id":185870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bf0410012d0c390007035f98001700e01d..."} 
[2026-09-18 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bf0410012d0c390007035f98001700e01d..."} 
[2026-09-18 09:51:04] local.INFO: Processing buffer {"connection_id":185870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bf0410012d0c390007035f98001700e01d..."} 
[2026-09-18 09:51:04] local.INFO: Packet analysis {"connection_id":185870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bf"} 
[2026-09-18 09:51:04] local.INFO: Extracted packet for processing {"connection_id":185870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bf"} 
[2026-09-18 09:51:04] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117661592,"longitude_deg":75.5775744,"latitude_deg":11.7661592,"altitude":23,"angle":224,"satellites":29,"speed":6,"hex_longitude":"2d0c3900","hex_latitude":"07035f98","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164545792001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33063783526039552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481580032,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789705258000,"timestamp_ms":1789705258000,"timestamp_seconds":1789705258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bf0410"} 
[2026-09-18 09:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51: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-09-18 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164545792001,"66":14461,"16":33063783526039552,"94":11008,"24":6,"45":880946338481580032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164545792001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33063783526039552,"km_value":33063783526039.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481580032,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164545792001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":880946338481580032}} 
[2026-09-18 09:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":185870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:04] local.INFO: GPS data processed {"connection_id":185870,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:04] local.INFO: Acknowledgment sent {"connection_id":185870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:13] local.INFO: TCP Data received {"connection_id":185871,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bddf18012d79b98005e79648000700b929..."} 
[2026-09-18 09:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bddf18012d79b98005e79648000700b929..."} 
[2026-09-18 09:51:13] local.INFO: Processing buffer {"connection_id":185871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bddf18012d79b98005e79648000700b929..."} 
[2026-09-18 09:51:13] local.INFO: Packet analysis {"connection_id":185871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:51:13] local.INFO: Extracted packet for processing {"connection_id":185871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99063368,"longitude_deg":76.2952064,"latitude_deg":9.9063368,"altitude":7,"angle":185,"satellites":41,"speed":0,"hex_longitude":"2d79b980","hex_latitude":"05e79648","is_valid_coordinates":true} 
[2026-09-18 09:51: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-09-18 09:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164526080001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129329152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:13] 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-09-18 09:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789705183000,"timestamp_ms":1789705183000,"timestamp_seconds":1789705183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bddf18"} 
[2026-09-18 09:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":9,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":855,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:51:13] 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-09-18 09:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164526080001,"66":13178,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771182512129329152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164526080001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129329152,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164526080001,"power":13178,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771182512129329152}} 
[2026-09-18 09:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":185871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:13] local.INFO: GPS data processed {"connection_id":185871,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:13] local.INFO: Acknowledgment sent {"connection_id":185871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:19] local.INFO: TCP Data received {"connection_id":185872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:51:19] local.INFO: Processing buffer {"connection_id":185872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:51:19] local.INFO: IMEI packet received {"connection_id":185872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:51:23] local.INFO: TCP Data received {"connection_id":185872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:51:23] local.INFO: Processing buffer {"connection_id":185872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:51:23] local.INFO: IMEI packet received {"connection_id":185872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":185872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:51:24] local.INFO: TCP Data received {"connection_id":185872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:51:24] local.INFO: Processing buffer {"connection_id":185872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:51:24] local.INFO: Packet analysis {"connection_id":185872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:51:24] local.INFO: Extracted packet for processing {"connection_id":185872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:24] 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-09-18 09:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":185872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:24] local.INFO: GPS data processed {"connection_id":185872,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:24] local.INFO: Acknowledgment sent {"connection_id":185872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:28] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:28] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:28] local.INFO: IMEI packet received {"connection_id":188652,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":188652,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:51:28] local.INFO: TCP Data received {"connection_id":185872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:51:28] local.INFO: Processing buffer {"connection_id":185872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:51:28] local.INFO: Packet analysis {"connection_id":185872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:51:28] local.INFO: Extracted packet for processing {"connection_id":185872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:51:28] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:28] 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-09-18 09: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-09-18 09:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:51:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":185872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:28] local.INFO: GPS data processed {"connection_id":185872,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:28] local.INFO: Acknowledgment sent {"connection_id":185872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:28] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:28] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:28] local.INFO: IMEI packet received {"connection_id":188652,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":188652,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:51:33] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:33] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:51:33] local.INFO: IMEI packet received {"connection_id":188652,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":188652,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:51:34] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bf07f8012d0c38c007035ef8001700c91d..."} 
[2026-09-18 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bf07f8012d0c38c007035ef8001700c91d..."} 
[2026-09-18 09:51:34] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bf07f8012d0c38c007035ef8001700c91d..."} 
[2026-09-18 09:51:34] local.INFO: Packet analysis {"connection_id":188652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bf"} 
[2026-09-18 09:51:34] local.INFO: Extracted packet for processing {"connection_id":188652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bf"} 
[2026-09-18 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117661432,"longitude_deg":75.577568,"latitude_deg":11.7661432,"altitude":23,"angle":201,"satellites":29,"speed":6,"hex_longitude":"2d0c38c0","hex_latitude":"07035ef8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164546048001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33063792115974144,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232249010176,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789705259000,"timestamp_ms":1789705259000,"timestamp_seconds":1789705259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bf07f8"} 
[2026-09-18 09:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188652,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188652,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164546048001,"66":14450,"16":33063792115974144,"94":11008,"24":6,"45":880735232249010176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164546048001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33063792115974144,"km_value":33063792115974.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232249010176,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164546048001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":880735232249010176}} 
[2026-09-18 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":188652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:34] local.INFO: GPS data processed {"connection_id":188652,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:34] local.INFO: Acknowledgment sent {"connection_id":188652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:36] local.INFO: TCP Data received {"connection_id":187329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:51:36] local.INFO: Processing buffer {"connection_id":187329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:51:36] local.INFO: IMEI packet received {"connection_id":187329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":187329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:51:37] local.INFO: TCP Data received {"connection_id":187329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:51:37] local.INFO: Processing buffer {"connection_id":187329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:51:37] local.INFO: IMEI packet received {"connection_id":187329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":187329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:51:37] local.INFO: TCP Data received {"connection_id":187329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bddf18012d79b98005e79648000700b929..."} 
[2026-09-18 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bddf18012d79b98005e79648000700b929..."} 
[2026-09-18 09:51:37] local.INFO: Processing buffer {"connection_id":187329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bddf18012d79b98005e79648000700b929..."} 
[2026-09-18 09:51:37] local.INFO: Packet analysis {"connection_id":187329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:51:37] local.INFO: Extracted packet for processing {"connection_id":187329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99063368,"longitude_deg":76.2952064,"latitude_deg":9.9063368,"altitude":7,"angle":185,"satellites":41,"speed":0,"hex_longitude":"2d79b980","hex_latitude":"05e79648","is_valid_coordinates":true} 
[2026-09-18 09:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164526848001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564542314184704,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129329152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:37] 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-09-18 09:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789705183000,"timestamp_ms":1789705183000,"timestamp_seconds":1789705183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bddf18"} 
[2026-09-18 09:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51: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-09-18 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:37] 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-09-18 09: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-09-18 09:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:51:37] 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-09-18 09:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164526848001,"66":13178,"31":206,"87":13824,"24":0,"16":134564542314184704,"45":8771182512129329152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164526848001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564542314184704,"km_value":134564542314184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129329152,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164526848001,"power":13178,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771182512129329152}} 
[2026-09-18 09:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":187329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:38] local.INFO: GPS data processed {"connection_id":187329,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:38] local.INFO: Acknowledgment sent {"connection_id":187329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:51:41] local.INFO: TCP Data received {"connection_id":187329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2be0df8012d79b9c005e793b8000c00c628..."} 
[2026-09-18 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2be0df8012d79b9c005e793b8000c00c628..."} 
[2026-09-18 09:51:41] local.INFO: Processing buffer {"connection_id":187329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2be0df8012d79b9c005e793b8000c00c628..."} 
[2026-09-18 09:51:41] local.INFO: Packet analysis {"connection_id":187329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:51:41] local.INFO: Extracted packet for processing {"connection_id":187329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":762952128,"raw_latitude":99062712,"longitude_deg":76.2952128,"latitude_deg":9.9062712,"altitude":12,"angle":198,"satellites":40,"speed":6,"hex_longitude":"2d79b9c0","hex_latitude":"05e793b8","is_valid_coordinates":true} 
[2026-09-18 09:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164526848001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564576673923072,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129329152,"note":"Value kept but may cause issues"} 
[2026-09-18 09:51:41] 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-09-18 09:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789705195000,"timestamp_ms":1789705195000,"timestamp_seconds":1789705195,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2be0df8"} 
[2026-09-18 09:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-18 09:51:41] 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-09-18 09:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:51:41] 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-09-18 09:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164526848001,"66":12982,"31":206,"87":13824,"24":6,"16":134564576673923072,"45":8771182512129329152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164526848001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:51:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:51:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564576673923072,"km_value":134564576673923.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129329152,"description":"Unknown IO ID 45"} 
[2026-09-18 09:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164526848001,"power":12982,"unknown_31":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8771182512129329152}} 
[2026-09-18 09:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":187329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:51:41] local.INFO: GPS data processed {"connection_id":187329,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:51:41] local.INFO: Acknowledgment sent {"connection_id":187329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:05] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bf0fc8012d0c388007035d58001700b51d..."} 
[2026-09-18 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bf0fc8012d0c388007035d58001700b51d..."} 
[2026-09-18 09:52:05] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bf0fc8012d0c388007035d58001700b51d..."} 
[2026-09-18 09:52:05] local.INFO: Packet analysis {"connection_id":188652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bf"} 
[2026-09-18 09:52:05] local.INFO: Extracted packet for processing {"connection_id":188652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bf"} 
[2026-09-18 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117661016,"longitude_deg":75.5775616,"latitude_deg":11.7661016,"altitude":23,"angle":181,"satellites":29,"speed":8,"hex_longitude":"2d0c3880","hex_latitude":"07035d58","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164546304001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33063813590810624,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504791552,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 09:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789705261000,"timestamp_ms":1789705261000,"timestamp_seconds":1789705261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bf0fc8"} 
[2026-09-18 09:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:05] 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-09-18 09: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-09-18 09:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188652,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188652,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164546304001,"66":13787,"16":33063813590810624,"94":11008,"24":8,"45":880664863504791552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 09:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164546304001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33063813590810624,"km_value":33063813590810.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504791552,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164546304001,"power":13787,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":880664863504791552}} 
[2026-09-18 09:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":188652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:05] local.INFO: GPS data processed {"connection_id":188652,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:05] local.INFO: Acknowledgment sent {"connection_id":188652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:12] local.INFO: TCP Data received {"connection_id":187329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2be11e0012d79b9c005e792e0000c00ba28..."} 
[2026-09-18 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2be11e0012d79b9c005e792e0000c00ba28..."} 
[2026-09-18 09:52:12] local.INFO: Processing buffer {"connection_id":187329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2be11e0012d79b9c005e792e0000c00ba28..."} 
[2026-09-18 09:52:12] local.INFO: Packet analysis {"connection_id":187329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:52:12] local.INFO: Extracted packet for processing {"connection_id":187329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":762952128,"raw_latitude":99062496,"longitude_deg":76.2952128,"latitude_deg":9.9062496,"altitude":12,"angle":186,"satellites":40,"speed":12,"hex_longitude":"2d79b9c0","hex_latitude":"05e792e0","is_valid_coordinates":true} 
[2026-09-18 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164529920001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134564589558824960,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771252880873338880,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:12] 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-09-18 09:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789705196000,"timestamp_ms":1789705196000,"timestamp_seconds":1789705196,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2be11e0"} 
[2026-09-18 09:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52: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-09-18 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:52:12] 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-09-18 09:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164529920001,"66":12982,"31":206,"87":13824,"24":12,"16":134564589558824960,"45":8771252880873338880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 09:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164529920001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:12] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 09:52:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134564589558824960,"km_value":134564589558824.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771252880873338880,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164529920001,"power":12982,"unknown_31":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8771252880873338880}} 
[2026-09-18 09:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":187329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:13] local.INFO: GPS data processed {"connection_id":187329,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:13] local.INFO: Acknowledgment sent {"connection_id":187329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:13] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:52:13] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:52:13] local.INFO: IMEI packet received {"connection_id":185873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":185873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:52:18] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:52:18] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:52:18] local.INFO: IMEI packet received {"connection_id":185873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":185873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:52:20] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:52:20] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:52:20] local.INFO: Packet analysis {"connection_id":185873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:52:20] local.INFO: Extracted packet for processing {"connection_id":185873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:20] 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-09-18 09:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":185873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:20] local.INFO: GPS data processed {"connection_id":185873,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:20] local.INFO: Acknowledgment sent {"connection_id":185873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:30] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:30] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:30] local.INFO: IMEI packet received {"connection_id":185874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":185874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:52:30] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:30] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:30] local.INFO: IMEI packet received {"connection_id":188653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":188653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:52:31] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:31] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:31] local.INFO: IMEI packet received {"connection_id":185874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":185874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:52:33] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:33] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:33] local.INFO: IMEI packet received {"connection_id":188653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":188653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:52:36] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:36] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:52:36] local.INFO: IMEI packet received {"connection_id":185874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":185874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:52:37] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c01198012d79d40005e61198000400a91d..."} 
[2026-09-18 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c01198012d79d40005e61198000400a91d..."} 
[2026-09-18 09:52:37] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c01198012d79d40005e61198000400a91d..."} 
[2026-09-18 09:52:37] local.INFO: Packet analysis {"connection_id":185874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:52:37] local.INFO: Extracted packet for processing {"connection_id":185874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762958848,"raw_latitude":98963864,"longitude_deg":76.2958848,"latitude_deg":9.8963864,"altitude":4,"angle":169,"satellites":29,"speed":32,"hex_longitude":"2d79d400","hex_latitude":"05e61198","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164560896001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134569412807098368,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8776178692942696448,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789705327000,"timestamp_ms":1789705327000,"timestamp_seconds":1789705327,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c01198"} 
[2026-09-18 09:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:37] 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-09-18 09: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-09-18 09:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:52:37] 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-09-18 09:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164560896001,"66":13406,"181":206,"87":13824,"24":32,"16":134569412807098368,"45":8776178692942696448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 09:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164560896001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:37] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 09:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134569412807098368,"km_value":134569412807098.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8776178692942696448,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164560896001,"power":13406,"unknown_181":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8776178692942696448}} 
[2026-09-18 09:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":185874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:37] local.INFO: GPS data processed {"connection_id":185874,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:37] local.INFO: Acknowledgment sent {"connection_id":185874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:38] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:38] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:52:38] local.INFO: IMEI packet received {"connection_id":188653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":188653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:52:39] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c02cf0012d0c1cc007034cc0001200bb1e..."} 
[2026-09-18 09:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c02cf0012d0c1cc007034cc0001200bb1e..."} 
[2026-09-18 09:52:39] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c02cf0012d0c1cc007034cc0001200bb1e..."} 
[2026-09-18 09:52:39] local.INFO: Packet analysis {"connection_id":188653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:52:39] local.INFO: Extracted packet for processing {"connection_id":188653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":755768512,"raw_latitude":117656768,"longitude_deg":75.5768512,"latitude_deg":11.7656768,"altitude":18,"angle":187,"satellites":30,"speed":12,"hex_longitude":"2d0c1cc0","hex_latitude":"07034cc0","is_valid_coordinates":true} 
[2026-09-18 09:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164564992001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33064268857344000,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872853932900032512,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789705334000,"timestamp_ms":1789705334000,"timestamp_seconds":1789705334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c02cf0"} 
[2026-09-18 09:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164564992001,"66":13656,"37":206,"94":11008,"24":12,"16":33064268857344000,"45":872853932900032512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164564992001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:52:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33064268857344000,"km_value":33064268857344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":872853932900032512,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164564992001,"power":13656,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":872853932900032512}} 
[2026-09-18 09:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":188653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:39] local.INFO: GPS data processed {"connection_id":188653,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:39] local.INFO: Acknowledgment sent {"connection_id":188653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:41] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c03c90012d0c1b4007034728001100c81d..."} 
[2026-09-18 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c03c90012d0c1b4007034728001100c81d..."} 
[2026-09-18 09:52:41] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c03c90012d0c1b4007034728001100c81d..."} 
[2026-09-18 09:52:41] local.INFO: Packet analysis {"connection_id":188653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:52:41] local.INFO: Extracted packet for processing {"connection_id":188653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":755768128,"raw_latitude":117655336,"longitude_deg":75.5768128,"latitude_deg":11.7655336,"altitude":17,"angle":200,"satellites":29,"speed":16,"hex_longitude":"2d0c1b40","hex_latitude":"07034728","is_valid_coordinates":true} 
[2026-09-18 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164565504001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33064341871788032,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872783564155699200,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789705338000,"timestamp_ms":1789705338000,"timestamp_seconds":1789705338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c03c90"} 
[2026-09-18 09:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52: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-09-18 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164565504001,"66":14461,"37":206,"94":11008,"24":16,"16":33064341871788032,"45":872783564155699200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164565504001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:52:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33064341871788032,"km_value":33064341871788.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":872783564155699200,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164565504001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":872783564155699200}} 
[2026-09-18 09:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":188653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:42] local.INFO: GPS data processed {"connection_id":188653,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:42] local.INFO: Acknowledgment sent {"connection_id":188653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:50] local.INFO: TCP Data received {"connection_id":187330,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:52:50] local.INFO: Processing buffer {"connection_id":187330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:52:50] local.INFO: IMEI packet received {"connection_id":187330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":187330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:52:51] local.INFO: TCP Data received {"connection_id":187330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bd1bc8012d19fc000723a7480034010c27..."} 
[2026-09-18 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bd1bc8012d19fc000723a7480034010c27..."} 
[2026-09-18 09:52:51] local.INFO: Processing buffer {"connection_id":187330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bd1bc8012d19fc000723a7480034010c27..."} 
[2026-09-18 09:52:51] local.INFO: Packet analysis {"connection_id":187330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:52:51] local.INFO: Extracted packet for processing {"connection_id":187330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":119777096,"longitude_deg":75.6677632,"latitude_deg":11.9777096,"altitude":52,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d19fc00","hex_latitude":"0723a748","is_valid_coordinates":true} 
[2026-09-18 09:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164508672001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177856671350784,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575742220288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789705133000,"timestamp_ms":1789705133000,"timestamp_seconds":1789705133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bd1bc8"} 
[2026-09-18 09:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52:51] 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-09-18 09:52: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":134,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164508672001,"66":12613,"42":206,"83":42752,"24":0,"16":21177856671350784,"45":1872371575742220288},"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-09-18 09:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164508672001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177856671350784,"km_value":21177856671350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575742220288,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164508672001,"power":12613,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1872371575742220288}} 
[2026-09-18 09:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":187330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:51] local.INFO: GPS data processed {"connection_id":187330,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:51] local.INFO: Acknowledgment sent {"connection_id":187330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:52:52] local.INFO: TCP Data received {"connection_id":185873,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:52:52] local.INFO: Processing buffer {"connection_id":185873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:52:52] local.INFO: Packet analysis {"connection_id":185873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:52:52] local.INFO: Extracted packet for processing {"connection_id":185873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:52:52] 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-09-18 09: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-09-18 09:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":185873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:52:52] local.INFO: GPS data processed {"connection_id":185873,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:52:52] local.INFO: Acknowledgment sent {"connection_id":185873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:12] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0f428012d0bfc8007035908000c01271f..."} 
[2026-09-18 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0f428012d0bfc8007035908000c01271f..."} 
[2026-09-18 09:53:12] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0f428012d0bfc8007035908000c01271f..."} 
[2026-09-18 09:53:12] local.INFO: Packet analysis {"connection_id":188653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:12] local.INFO: Extracted packet for processing {"connection_id":188653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":755760256,"raw_latitude":117659912,"longitude_deg":75.5760256,"latitude_deg":11.7659912,"altitude":12,"angle":295,"satellites":31,"speed":8,"hex_longitude":"2d0bfc80","hex_latitude":"07035908","is_valid_coordinates":true} 
[2026-09-18 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164577536001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33065007591718912,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864550421087719424,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789705385000,"timestamp_ms":1789705385000,"timestamp_seconds":1789705385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0f428"} 
[2026-09-18 09:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53: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-09-18 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164577536001,"66":14439,"37":206,"94":11008,"24":8,"16":33065007591718912,"45":864550421087719424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164577536001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:53:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33065007591718912,"km_value":33065007591718.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":864550421087719424,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164577536001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":864550421087719424}} 
[2026-09-18 09:53:13] local.INFO: TCP Data received {"connection_id":185874,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c03c90012d79dbc005e5ee80000300a827..."} 
[2026-09-18 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c03c90012d79dbc005e5ee80000300a827..."} 
[2026-09-18 09:53:13] local.INFO: Processing buffer {"connection_id":185874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c03c90012d79dbc005e5ee80000300a827..."} 
[2026-09-18 09:53:13] local.INFO: Packet analysis {"connection_id":185874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:13] local.INFO: Extracted packet for processing {"connection_id":185874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":762960832,"raw_latitude":98954880,"longitude_deg":76.2960832,"latitude_deg":9.895488,"altitude":3,"angle":168,"satellites":39,"speed":35,"hex_longitude":"2d79dbc0","hex_latitude":"05e5ee80","is_valid_coordinates":true} 
[2026-09-18 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164563712001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134569855188729856,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778641598986688512,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789705338000,"timestamp_ms":1789705338000,"timestamp_seconds":1789705338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c03c90"} 
[2026-09-18 09:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:13] 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-09-18 09:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 09:53:13] 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-09-18 09:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 09:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 09:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164563712001,"66":13396,"182":206,"87":13824,"24":35,"16":134569855188729856,"45":8778641598986688512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 09:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 09:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 09:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164563712001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:13] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 09:53:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 09:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134569855188729856,"km_value":134569855188729.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778641598986688512,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164563712001,"power":13396,"unknown_182":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8778641598986688512}} 
[2026-09-18 09:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":188653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:13] local.INFO: GPS data processed {"connection_id":188653,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:13] local.INFO: Acknowledgment sent {"connection_id":188653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":185874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:13] local.INFO: GPS data processed {"connection_id":185874,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:13] local.INFO: Acknowledgment sent {"connection_id":185874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:13] local.INFO: TCP Data received {"connection_id":186030,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:53:13] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:53:13] local.INFO: IMEI packet received {"connection_id":186030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":186030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:53:18] local.INFO: TCP Data received {"connection_id":186030,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:53:18] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:53:18] local.INFO: IMEI packet received {"connection_id":186030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":186030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:53:19] local.INFO: TCP Data received {"connection_id":186030,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:53:19] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bc3550012d34c40006aa3c80000f00e328..."} 
[2026-09-18 09:53:19] local.INFO: Packet analysis {"connection_id":186030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:53:19] local.INFO: Extracted packet for processing {"connection_id":186030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bc"} 
[2026-09-18 09:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164421888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705074000,"timestamp_ms":1789705074000,"timestamp_seconds":1789705074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bc3550"} 
[2026-09-18 09:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:19] 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-09-18 09:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164421888001,"66":25712,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164421888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164421888001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":186030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:19] local.INFO: GPS data processed {"connection_id":186030,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:19] local.INFO: Acknowledgment sent {"connection_id":186030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:23] local.INFO: TCP Data received {"connection_id":187330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bd6dd0012d19fc000723a7480034010c27..."} 
[2026-09-18 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bd6dd0012d19fc000723a7480034010c27..."} 
[2026-09-18 09:53:23] local.INFO: Processing buffer {"connection_id":187330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bd6dd0012d19fc000723a7480034010c27..."} 
[2026-09-18 09:53:23] local.INFO: Packet analysis {"connection_id":187330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:53:23] local.INFO: Extracted packet for processing {"connection_id":187330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":119777096,"longitude_deg":75.6677632,"latitude_deg":11.9777096,"altitude":52,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d19fc00","hex_latitude":"0723a748","is_valid_coordinates":true} 
[2026-09-18 09:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164514048001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177856671350784,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575742220288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789705154000,"timestamp_ms":1789705154000,"timestamp_seconds":1789705154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bd6dd0"} 
[2026-09-18 09:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53:23] 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-09-18 09:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164514048001,"66":12548,"42":206,"83":42752,"24":0,"16":21177856671350784,"45":1872371575742220288},"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-09-18 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164514048001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177856671350784,"km_value":21177856671350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575742220288,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164514048001,"power":12548,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1872371575742220288}} 
[2026-09-18 09:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":187330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:23] local.INFO: GPS data processed {"connection_id":187330,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:23] local.INFO: Acknowledgment sent {"connection_id":187330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:28] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:28] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:28] local.INFO: IMEI packet received {"connection_id":188654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":188654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:53:29] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:29] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:29] local.INFO: IMEI packet received {"connection_id":188654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":188654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:53:33] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:33] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:53:33] local.INFO: IMEI packet received {"connection_id":188654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":188654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:53:34] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0f810012d0bfc00070359a0000c01381f..."} 
[2026-09-18 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0f810012d0bfc00070359a0000c01381f..."} 
[2026-09-18 09:53:34] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0f810012d0bfc00070359a0000c01381f..."} 
[2026-09-18 09:53:34] local.INFO: Packet analysis {"connection_id":188654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:34] local.INFO: Extracted packet for processing {"connection_id":188654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755760128,"raw_latitude":117660064,"longitude_deg":75.5760128,"latitude_deg":11.7660064,"altitude":12,"angle":312,"satellites":31,"speed":10,"hex_longitude":"2d0bfc00","hex_latitude":"070359a0","is_valid_coordinates":true} 
[2026-09-18 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164578560001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33065016181653504,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863705996157585408,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789705386000,"timestamp_ms":1789705386000,"timestamp_seconds":1789705386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0f810"} 
[2026-09-18 09:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164578560001,"66":14439,"37":206,"94":11008,"24":10,"16":33065016181653504,"45":863705996157585408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164578560001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33065016181653504,"km_value":33065016181653.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":863705996157585408,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164578560001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":863705996157585408}} 
[2026-09-18 09:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":188654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:34] local.INFO: GPS data processed {"connection_id":188654,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:34] local.INFO: Acknowledgment sent {"connection_id":188654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:38] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c107b0012d0bf88007035b90000c010f1e..."} 
[2026-09-18 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c107b0012d0bf88007035b90000c010f1e..."} 
[2026-09-18 09:53:38] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c107b0012d0bf88007035b90000c010f1e..."} 
[2026-09-18 09:53:38] local.INFO: Packet analysis {"connection_id":188654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:53:38] local.INFO: Extracted packet for processing {"connection_id":188654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":755759232,"raw_latitude":117660560,"longitude_deg":75.5759232,"latitude_deg":11.766056,"altitude":12,"angle":271,"satellites":30,"speed":10,"hex_longitude":"2d0bf880","hex_latitude":"07035b90","is_valid_coordinates":true} 
[2026-09-18 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164578816001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33065067721261056,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863565258669268992,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789705390000,"timestamp_ms":1789705390000,"timestamp_seconds":1789705390,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c107b0"} 
[2026-09-18 09:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53: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-09-18 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164578816001,"66":14363,"37":206,"94":11008,"24":10,"16":33065067721261056,"45":863565258669268992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164578816001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:53:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33065067721261056,"km_value":33065067721261.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":863565258669268992,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164578816001,"power":14363,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":863565258669268992}} 
[2026-09-18 09:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":188654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:39] local.INFO: GPS data processed {"connection_id":188654,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:39] local.INFO: Acknowledgment sent {"connection_id":188654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:46] local.INFO: TCP Data received {"connection_id":186031,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:53:46] local.INFO: Processing buffer {"connection_id":186031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:53:46] local.INFO: IMEI packet received {"connection_id":186031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":186031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:53:50] local.INFO: TCP Data received {"connection_id":186030,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:53:50] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:53:50] local.INFO: Packet analysis {"connection_id":186030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:50] local.INFO: Extracted packet for processing {"connection_id":186030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:53:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53: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-09-18 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:50] 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-09-18 09:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":186030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:50] local.INFO: GPS data processed {"connection_id":186030,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:50] local.INFO: Acknowledgment sent {"connection_id":186030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:53:54] local.INFO: TCP Data received {"connection_id":187330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2bdbfd8012d19fc000723a7480034010c2a..."} 
[2026-09-18 09:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2bdbfd8012d19fc000723a7480034010c2a..."} 
[2026-09-18 09:53:54] local.INFO: Processing buffer {"connection_id":187330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2bdbfd8012d19fc000723a7480034010c2a..."} 
[2026-09-18 09:53:54] local.INFO: Packet analysis {"connection_id":187330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:53:54] local.INFO: Extracted packet for processing {"connection_id":187330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2bd"} 
[2026-09-18 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":119777096,"longitude_deg":75.6677632,"latitude_deg":11.9777096,"altitude":52,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d19fc00","hex_latitude":"0723a748","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164519424001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177856671350784,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575742220288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789705175000,"timestamp_ms":1789705175000,"timestamp_seconds":1789705175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2bdbfd8"} 
[2026-09-18 09:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2998652864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3156586497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2806513716,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465439,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3026645808272381952,"note":"Value kept but may cause issues"} 
[2026-09-18 09:53:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,42,83,24,241,157,16,61,160,27,45,167,52,39,10,66,201,40,119,1,240,227,178,35,4,113,205,211,252,32,239,49,2,75,7,9,95],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-09-18 09:53:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747289726592221184,"timestamp_seconds":3747289726592221.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164519424001,"66":12548,"42":206,"83":42752,"24":0,"16":21177856671350784,"45":1872371575742220288},"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-09-18 09:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164519424001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:53:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177856671350784,"km_value":21177856671350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575742220288,"description":"Unknown IO ID 45"} 
[2026-09-18 09:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164519424001,"power":12548,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1872371575742220288}} 
[2026-09-18 09:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":187330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:53:54] local.INFO: GPS data processed {"connection_id":187330,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:53:54] local.INFO: Acknowledgment sent {"connection_id":187330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:10] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c126f0012d0be9c007035aa0000d01021e..."} 
[2026-09-18 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c126f0012d0be9c007035aa0000d01021e..."} 
[2026-09-18 09:54:10] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c126f0012d0be9c007035aa0000d01021e..."} 
[2026-09-18 09:54:10] local.INFO: Packet analysis {"connection_id":188654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:54:10] local.INFO: Extracted packet for processing {"connection_id":188654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":755755456,"raw_latitude":117660320,"longitude_deg":75.5755456,"latitude_deg":11.766032,"altitude":13,"angle":258,"satellites":30,"speed":21,"hex_longitude":"2d0be9c0","hex_latitude":"07035aa0","is_valid_coordinates":true} 
[2026-09-18 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164579840001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33065243814920192,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862580096250908672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789705398000,"timestamp_ms":1789705398000,"timestamp_seconds":1789705398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c126f0"} 
[2026-09-18 09:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 09:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164579840001,"66":14439,"37":206,"94":11008,"24":21,"16":33065243814920192,"45":862580096250908672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164579840001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:54:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33065243814920192,"km_value":33065243814920.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":862580096250908672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164579840001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":862580096250908672}} 
[2026-09-18 09:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":188654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:11] local.INFO: GPS data processed {"connection_id":188654,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:11] local.INFO: Acknowledgment sent {"connection_id":188654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:11] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:11] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:11] local.INFO: IMEI packet received {"connection_id":188655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":188655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:54:11] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:11] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:11] local.INFO: IMEI packet received {"connection_id":188655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 09:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":188655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:54:12] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:54:12] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:54:12] local.INFO: IMEI packet received {"connection_id":185875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":185875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:54:18] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:54:18] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:54:18] local.INFO: IMEI packet received {"connection_id":185875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":185875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:54:19] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:54:19] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:54:19] local.INFO: Packet analysis {"connection_id":185875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:54:19] local.INFO: Extracted packet for processing {"connection_id":185875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:54:19] 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-09-18 09:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":185875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:19] local.INFO: GPS data processed {"connection_id":185875,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:19] local.INFO: Acknowledgment sent {"connection_id":185875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:25] local.INFO: TCP Data received {"connection_id":187330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2be11e0012d19fc000723a7480034010c2a..."} 
[2026-09-18 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2be11e0012d19fc000723a7480034010c2a..."} 
[2026-09-18 09:54:25] local.INFO: Processing buffer {"connection_id":187330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2be11e0012d19fc000723a7480034010c2a..."} 
[2026-09-18 09:54:25] local.INFO: Packet analysis {"connection_id":187330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:54:25] local.INFO: Extracted packet for processing {"connection_id":187330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:54:25] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":119777096,"longitude_deg":75.6677632,"latitude_deg":11.9777096,"altitude":52,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d19fc00","hex_latitude":"0723a748","is_valid_coordinates":true} 
[2026-09-18 09:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164524800001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177856671350784,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575742220288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789705196000,"timestamp_ms":1789705196000,"timestamp_seconds":1789705196,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2be11e0"} 
[2026-09-18 09:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2998653864,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3161962497,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2806513716,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718559,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":6,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3026645808272381952,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,42,83,24,241,157,16,61,160,109,45,167,52,39,10,66,27,201,1,240,134,227,178,35,4,113,205,37,252,72,40,239,49,2,75,7,51,6,95],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-09-18 09:54:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747289739477123072,"timestamp_seconds":3747289739477123.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 09:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164524800001,"66":12504,"42":206,"83":42752,"24":0,"16":21177856671350784,"45":1872371575742220288},"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-09-18 09:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164524800001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177856671350784,"km_value":21177856671350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575742220288,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164524800001,"power":12504,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1872371575742220288}} 
[2026-09-18 09:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":187330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:25] local.INFO: GPS data processed {"connection_id":187330,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:25] local.INFO: Acknowledgment sent {"connection_id":187330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:28] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:28] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:28] local.INFO: IMEI packet received {"connection_id":187331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":187331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:54:29] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:29] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:29] local.INFO: IMEI packet received {"connection_id":187331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":187331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:54:29] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:29] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:29] local.INFO: IMEI packet received {"connection_id":187331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":187331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:54:30] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:30] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:54:30] local.INFO: IMEI packet received {"connection_id":187331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":187331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:54:31] local.INFO: TCP Data received {"connection_id":185876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:31] local.INFO: Processing buffer {"connection_id":185876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 09:54:31] local.INFO: IMEI packet received {"connection_id":185876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 09:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":185876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:54:31] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c132a8012d0be50007035ac8000d01221f..."} 
[2026-09-18 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c132a8012d0be50007035ac8000d01221f..."} 
[2026-09-18 09:54:31] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c132a8012d0be50007035ac8000d01221f..."} 
[2026-09-18 09:54:31] local.INFO: Packet analysis {"connection_id":187331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:54:31] local.INFO: Extracted packet for processing {"connection_id":187331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":755754240,"raw_latitude":117660360,"longitude_deg":75.575424,"latitude_deg":11.766036,"altitude":13,"angle":290,"satellites":31,"speed":14,"hex_longitude":"2d0be500","hex_latitude":"07035ac8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164581888001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33065303944462336,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858428340344365056,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789705401000,"timestamp_ms":1789705401000,"timestamp_seconds":1789705401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c132a8"} 
[2026-09-18 09:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 09:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09: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-09-18 09:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164581888001,"66":14407,"37":206,"94":11008,"24":14,"16":33065303944462336,"45":858428340344365056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164581888001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:54:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33065303944462336,"km_value":33065303944462.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":858428340344365056,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164581888001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":858428340344365056}} 
[2026-09-18 09:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":187331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:31] local.INFO: GPS data processed {"connection_id":187331,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:31] local.INFO: Acknowledgment sent {"connection_id":187331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:33] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c14a18012d0bdd0007035cf0000e010d1f..."} 
[2026-09-18 09:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c14a18012d0bdd0007035cf0000e010d1f..."} 
[2026-09-18 09:54:33] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c14a18012d0bdd0007035cf0000e010d1f..."} 
[2026-09-18 09:54:33] local.INFO: Packet analysis {"connection_id":187331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:54:33] local.INFO: Extracted packet for processing {"connection_id":187331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c1"} 
[2026-09-18 09:54:33] local.INFO: GPS Element Parsed {"raw_longitude":755752192,"raw_latitude":117660912,"longitude_deg":75.5752192,"latitude_deg":11.7660912,"altitude":14,"angle":269,"satellites":31,"speed":16,"hex_longitude":"2d0bdd00","hex_latitude":"07035cf0","is_valid_coordinates":true} 
[2026-09-18 09:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164582656001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33065402728710144,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857091334204999680,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789705407000,"timestamp_ms":1789705407000,"timestamp_seconds":1789705407,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c14a18"} 
[2026-09-18 09:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:54: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-09-18 09:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164582656001,"66":14537,"37":206,"94":11008,"24":16,"16":33065402728710144,"45":857091334204999680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164582656001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:54:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33065402728710144,"km_value":33065402728710.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":857091334204999680,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164582656001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":857091334204999680}} 
[2026-09-18 09:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":187331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:34] local.INFO: GPS data processed {"connection_id":187331,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:34] local.INFO: Acknowledgment sent {"connection_id":187331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:36] local.INFO: TCP Data received {"connection_id":186029,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:54:36] local.INFO: Processing buffer {"connection_id":186029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 09:54:36] local.INFO: IMEI packet received {"connection_id":186029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 09:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":186029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:54:50] local.INFO: TCP Data received {"connection_id":185875,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:54:50] local.INFO: Processing buffer {"connection_id":185875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:54:50] local.INFO: Packet analysis {"connection_id":185875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:54:50] local.INFO: Extracted packet for processing {"connection_id":185875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:54: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-09-18 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:54:50] 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-09-18 09: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-09-18 09:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":185875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:50] local.INFO: GPS data processed {"connection_id":185875,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:50] local.INFO: Acknowledgment sent {"connection_id":185875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:54:56] local.INFO: TCP Data received {"connection_id":187330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2be63e8012d19fc000723a7480034010c2b..."} 
[2026-09-18 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2be63e8012d19fc000723a7480034010c2b..."} 
[2026-09-18 09:54:56] local.INFO: Processing buffer {"connection_id":187330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2be63e8012d19fc000723a7480034010c2b..."} 
[2026-09-18 09:54:56] local.INFO: Packet analysis {"connection_id":187330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:54:56] local.INFO: Extracted packet for processing {"connection_id":187330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2be"} 
[2026-09-18 09:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":119777096,"longitude_deg":75.6677632,"latitude_deg":11.9777096,"altitude":52,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d19fc00","hex_latitude":"0723a748","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164530176001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177856671350784,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575742220288,"note":"Value kept but may cause issues"} 
[2026-09-18 09:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789705217000,"timestamp_ms":1789705217000,"timestamp_seconds":1789705217,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2be63e8"} 
[2026-09-18 09:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09: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-09-18 09:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 09:54: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-09-18 09:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 09:54: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-09-18 09:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 09:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 09:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164530176001,"66":12504,"42":206,"83":42752,"24":0,"16":21177856671350784,"45":1872371575742220288},"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-09-18 09:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 09:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 09:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164530176001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:54:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 09:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 09:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177856671350784,"km_value":21177856671350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575742220288,"description":"Unknown IO ID 45"} 
[2026-09-18 09:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164530176001,"power":12504,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1872371575742220288}} 
[2026-09-18 09:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":187330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:54:56] local.INFO: GPS data processed {"connection_id":187330,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:54:56] local.INFO: Acknowledgment sent {"connection_id":187330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:55:05] local.INFO: TCP Data received {"connection_id":187331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c25b88012d0b81c0070344a0001200ee1c..."} 
[2026-09-18 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c25b88012d0b81c0070344a0001200ee1c..."} 
[2026-09-18 09:55:05] local.INFO: Processing buffer {"connection_id":187331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c25b88012d0b81c0070344a0001200ee1c..."} 
[2026-09-18 09:55:05] local.INFO: Packet analysis {"connection_id":187331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:55:05] local.INFO: Extracted packet for processing {"connection_id":187331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755728832,"raw_latitude":117654688,"longitude_deg":75.5728832,"latitude_deg":11.7654688,"altitude":18,"angle":238,"satellites":28,"speed":12,"hex_longitude":"2d0b81c0","hex_latitude":"070344a0","is_valid_coordinates":true} 
[2026-09-18 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164601856001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33066652564193280,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829506786485936128,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789705477000,"timestamp_ms":1789705477000,"timestamp_seconds":1789705477,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c25b88"} 
[2026-09-18 09:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:55: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-09-18 09:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164601856001,"66":14374,"37":206,"94":11008,"24":12,"16":33066652564193280,"45":829506786485936128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164601856001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:55:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:55:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33066652564193280,"km_value":33066652564193.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":829506786485936128,"description":"Unknown IO ID 45"} 
[2026-09-18 09:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164601856001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":829506786485936128}} 
[2026-09-18 09:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":187331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:55:05] local.INFO: GPS data processed {"connection_id":187331,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:55:05] local.INFO: Acknowledgment sent {"connection_id":187331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:55:18] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:55:18] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:55:18] local.INFO: IMEI packet received {"connection_id":185877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":185877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:55:23] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:55:23] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:55:23] local.INFO: IMEI packet received {"connection_id":185877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":185877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:55:23] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:55:23] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:55:23] local.INFO: Packet analysis {"connection_id":185877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:55:23] local.INFO: Extracted packet for processing {"connection_id":185877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:55:23] 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-09-18 09:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":185877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:55:23] local.INFO: GPS data processed {"connection_id":185877,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:55:23] local.INFO: Acknowledgment sent {"connection_id":185877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:55:28] local.INFO: TCP Data received {"connection_id":185877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:55:28] local.INFO: Processing buffer {"connection_id":185877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:55:28] local.INFO: Packet analysis {"connection_id":185877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:55:28] local.INFO: Extracted packet for processing {"connection_id":185877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:55:28] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:55: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-09-18 09:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:55:28] 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-09-18 09:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:55:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:55:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":185877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:55:28] local.INFO: GPS data processed {"connection_id":185877,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:55:28] local.INFO: Acknowledgment sent {"connection_id":185877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:55:29] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:29] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:29] local.INFO: IMEI packet received {"connection_id":186032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":186032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:55:30] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:30] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:30] local.INFO: IMEI packet received {"connection_id":186032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":186032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:55:34] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:34] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:55:34] local.INFO: IMEI packet received {"connection_id":186032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":186032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:55:34] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c25f70012d0b8080070344a80012010c1d..."} 
[2026-09-18 09:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c25f70012d0b8080070344a80012010c1d..."} 
[2026-09-18 09:55:34] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c25f70012d0b8080070344a80012010c1d..."} 
[2026-09-18 09:55:34] local.INFO: Packet analysis {"connection_id":186032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:55:34] local.INFO: Extracted packet for processing {"connection_id":186032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":755728512,"raw_latitude":117654696,"longitude_deg":75.5728512,"latitude_deg":11.7654696,"altitude":18,"angle":268,"satellites":29,"speed":11,"hex_longitude":"2d0b8080","hex_latitude":"070344a8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164602112001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33066665449095168,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829154942765015040,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789705478000,"timestamp_ms":1789705478000,"timestamp_seconds":1789705478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c25f70"} 
[2026-09-18 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-09-18 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 09:55: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-09-18 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-09-18 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-09-18 09:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164602112001,"66":14211,"37":206,"94":11008,"24":11,"16":33066665449095168,"45":829154942765015040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164602112001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:55:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:55:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33066665449095168,"km_value":33066665449095.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":829154942765015040,"description":"Unknown IO ID 45"} 
[2026-09-18 09:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164602112001,"power":14211,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":829154942765015040}} 
[2026-09-18 09:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":186032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:55:34] local.INFO: GPS data processed {"connection_id":186032,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:55:34] local.INFO: Acknowledgment sent {"connection_id":186032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:55:41] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c28680012d0b6f40070345600011011f1d..."} 
[2026-09-18 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c28680012d0b6f40070345600011011f1d..."} 
[2026-09-18 09:55:41] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c28680012d0b6f40070345600011011f1d..."} 
[2026-09-18 09:55:41] local.INFO: Packet analysis {"connection_id":186032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:55:41] local.INFO: Extracted packet for processing {"connection_id":186032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":755724096,"raw_latitude":117654880,"longitude_deg":75.5724096,"latitude_deg":11.765488,"altitude":17,"angle":287,"satellites":29,"speed":7,"hex_longitude":"2d0b6f40","hex_latitude":"07034560","is_valid_coordinates":true} 
[2026-09-18 09:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164602368001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33066871607525376,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828803099044128768,"note":"Value kept but may cause issues"} 
[2026-09-18 09:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789705488000,"timestamp_ms":1789705488000,"timestamp_seconds":1789705488,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c28680"} 
[2026-09-18 09:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:55: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-09-18 09:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 09:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164602368001,"66":14461,"37":206,"94":11008,"24":7,"16":33066871607525376,"45":828803099044128768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164602368001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:55:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:55:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33066871607525376,"km_value":33066871607525.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":828803099044128768,"description":"Unknown IO ID 45"} 
[2026-09-18 09:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164602368001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":828803099044128768}} 
[2026-09-18 09:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":186032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:55:41] local.INFO: GPS data processed {"connection_id":186032,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:55:41] local.INFO: Acknowledgment sent {"connection_id":186032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:56:13] local.INFO: TCP Data received {"connection_id":187332,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:56:13] local.INFO: Processing buffer {"connection_id":187332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:56:13] local.INFO: IMEI packet received {"connection_id":187332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":187332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:56:13] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c2d4a0012d0b6dc0070344e00010011f1a..."} 
[2026-09-18 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c2d4a0012d0b6dc0070344e00010011f1a..."} 
[2026-09-18 09:56:13] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c2d4a0012d0b6dc0070344e00010011f1a..."} 
[2026-09-18 09:56:13] local.INFO: Packet analysis {"connection_id":186032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:56:13] local.INFO: Extracted packet for processing {"connection_id":186032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c2"} 
[2026-09-18 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":755723712,"raw_latitude":117654752,"longitude_deg":75.5723712,"latitude_deg":11.7654752,"altitude":16,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d0b6dc0","hex_latitude":"070344e0","is_valid_coordinates":true} 
[2026-09-18 09:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164604928001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33066893082361856,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823947655695917056,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789705508000,"timestamp_ms":1789705508000,"timestamp_seconds":1789705508,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c2d4a0"} 
[2026-09-18 09:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 09:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164604928001,"66":14461,"37":206,"94":11008,"24":0,"16":33066893082361856,"45":823947655695917056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164604928001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:56:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:56:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33066893082361856,"km_value":33066893082361.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":823947655695917056,"description":"Unknown IO ID 45"} 
[2026-09-18 09:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164604928001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":823947655695917056}} 
[2026-09-18 09:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":186032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:56:13] local.INFO: GPS data processed {"connection_id":186032,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:56:13] local.INFO: Acknowledgment sent {"connection_id":186032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:56:18] local.INFO: TCP Data received {"connection_id":187332,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:56:18] local.INFO: Processing buffer {"connection_id":187332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:56:18] local.INFO: IMEI packet received {"connection_id":187332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":187332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:56:19] local.INFO: TCP Data received {"connection_id":187332,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:56:19] local.INFO: Processing buffer {"connection_id":187332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:56:19] local.INFO: Packet analysis {"connection_id":187332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:56:19] local.INFO: Extracted packet for processing {"connection_id":187332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:56:19] 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-09-18 09:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":187332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:56:19] local.INFO: GPS data processed {"connection_id":187332,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:56:19] local.INFO: Acknowledgment sent {"connection_id":187332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:56:33] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:56:33] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:56:33] local.INFO: IMEI packet received {"connection_id":186034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":186034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:56:39] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:56:39] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:56:39] local.INFO: IMEI packet received {"connection_id":186034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":186034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:56:42] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c3bf00012d0b4040070351c80014012d1e..."} 
[2026-09-18 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c3bf00012d0b4040070351c80014012d1e..."} 
[2026-09-18 09:56:42] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c3bf00012d0b4040070351c80014012d1e..."} 
[2026-09-18 09:56:42] local.INFO: Packet analysis {"connection_id":186034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c3"} 
[2026-09-18 09:56:42] local.INFO: Extracted packet for processing {"connection_id":186034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c3"} 
[2026-09-18 09:56:42] local.INFO: GPS Element Parsed {"raw_longitude":755712064,"raw_latitude":117658056,"longitude_deg":75.5712064,"latitude_deg":11.7658056,"altitude":20,"angle":301,"satellites":30,"speed":20,"hex_longitude":"2d0b4040","hex_latitude":"070351c8","is_valid_coordinates":true} 
[2026-09-18 09:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33067528737521664,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811703494209679360,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789705568000,"timestamp_ms":1789705568000,"timestamp_seconds":1789705568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c3bf00"} 
[2026-09-18 09:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 09:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164624896001,"66":14515,"37":206,"94":11008,"24":20,"16":33067528737521664,"45":811703494209679360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 09:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:56:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 09:56:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33067528737521664,"km_value":33067528737521.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":811703494209679360,"description":"Unknown IO ID 45"} 
[2026-09-18 09:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164624896001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":811703494209679360}} 
[2026-09-18 09:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":186034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:56:42] local.INFO: GPS data processed {"connection_id":186034,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:56:42] local.INFO: Acknowledgment sent {"connection_id":186034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:56:52] local.INFO: TCP Data received {"connection_id":187332,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:56:52] local.INFO: Processing buffer {"connection_id":187332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:56:52] local.INFO: Packet analysis {"connection_id":187332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:56:52] local.INFO: Extracted packet for processing {"connection_id":187332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:56:52] 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-09-18 09: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-09-18 09:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":187332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:56:52] local.INFO: GPS data processed {"connection_id":187332,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:56:52] local.INFO: Acknowledgment sent {"connection_id":187332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:57:13] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:57:13] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:57:13] local.INFO: IMEI packet received {"connection_id":185878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":185878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:57:18] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:57:18] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:57:18] local.INFO: IMEI packet received {"connection_id":185878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":185878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:57:19] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:57:19] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:57:19] local.INFO: Packet analysis {"connection_id":185878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:57:19] local.INFO: Extracted packet for processing {"connection_id":185878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:57:19] 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-09-18 09:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":185878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:57:19] local.INFO: GPS data processed {"connection_id":185878,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:57:19] local.INFO: Acknowledgment sent {"connection_id":185878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:57:28] local.INFO: TCP Data received {"connection_id":186035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:57:28] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:57:28] local.INFO: IMEI packet received {"connection_id":186035,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":186035,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:57:32] local.INFO: TCP Data received {"connection_id":186035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:57:32] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:57:32] local.INFO: IMEI packet received {"connection_id":186035,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":186035,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:57:33] local.INFO: TCP Data received {"connection_id":186035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c4b900012d0af5800702ecb0000800d71e..."} 
[2026-09-18 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c4b900012d0af5800702ecb0000800d71e..."} 
[2026-09-18 09:57:33] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c4b900012d0af5800702ecb0000800d71e..."} 
[2026-09-18 09:57:33] local.INFO: Packet analysis {"connection_id":186035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c4"} 
[2026-09-18 09:57:33] local.INFO: Extracted packet for processing {"connection_id":186035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c4"} 
[2026-09-18 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":755692928,"raw_latitude":117632176,"longitude_deg":75.5692928,"latitude_deg":11.7632176,"altitude":8,"angle":215,"satellites":30,"speed":7,"hex_longitude":"2d0af580","hex_latitude":"0702ecb0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164641536001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33069371278491648,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789818814763986944,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789705632000,"timestamp_ms":1789705632000,"timestamp_seconds":1789705632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c4b900"} 
[2026-09-18 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-09-18 09:57: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-09-18 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 09:57: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-09-18 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-09-18 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-09-18 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186035,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186035,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164641536001,"66":14515,"17":206,"94":11008,"24":7,"16":33069371278491648,"45":789818814763986944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164641536001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:57:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33069371278491648,"km_value":33069371278491.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":789818814763986944,"description":"Unknown IO ID 45"} 
[2026-09-18 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164641536001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":789818814763986944}} 
[2026-09-18 09:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":186035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:57:34] local.INFO: GPS data processed {"connection_id":186035,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:57:34] local.INFO: Acknowledgment sent {"connection_id":186035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:57:52] local.INFO: TCP Data received {"connection_id":185878,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:57:52] local.INFO: Processing buffer {"connection_id":185878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c0cd18012d34c40006aa3c80000f00e326..."} 
[2026-09-18 09:57:52] local.INFO: Packet analysis {"connection_id":185878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:57:52] local.INFO: Extracted packet for processing {"connection_id":185878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c0"} 
[2026-09-18 09:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164498944001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705375000,"timestamp_ms":1789705375000,"timestamp_seconds":1789705375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c0cd18"} 
[2026-09-18 09:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-18 09:57:52] 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-09-18 09:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164498944001,"66":25756,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164498944001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164498944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":185878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:57:52] local.INFO: GPS data processed {"connection_id":185878,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:57:52] local.INFO: Acknowledgment sent {"connection_id":185878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:58:04] local.INFO: TCP Data received {"connection_id":186035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c55d10012d0b00400702c340000e00a91e..."} 
[2026-09-18 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c55d10012d0b00400702c340000e00a91e..."} 
[2026-09-18 09:58:04] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c55d10012d0b00400702c340000e00a91e..."} 
[2026-09-18 09:58:04] local.INFO: Packet analysis {"connection_id":186035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:04] local.INFO: Extracted packet for processing {"connection_id":186035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755695680,"raw_latitude":117621568,"longitude_deg":75.569568,"latitude_deg":11.7621568,"altitude":14,"angle":169,"satellites":30,"speed":7,"hex_longitude":"2d0b0040","hex_latitude":"0702c340","is_valid_coordinates":true} 
[2026-09-18 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164652288001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070088538030080,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792563195784194048,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789705674000,"timestamp_ms":1789705674000,"timestamp_seconds":1789705674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c55d10"} 
[2026-09-18 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:58: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-09-18 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186035,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186035,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164652288001,"66":14407,"17":206,"94":11008,"24":7,"16":33070088538030080,"45":792563195784194048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164652288001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33070088538030080,"km_value":33070088538030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":792563195784194048,"description":"Unknown IO ID 45"} 
[2026-09-18 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164652288001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":792563195784194048}} 
[2026-09-18 09:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":186035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:58:05] local.INFO: GPS data processed {"connection_id":186035,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:58:05] local.INFO: Acknowledgment sent {"connection_id":186035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:58:12] local.INFO: TCP Data received {"connection_id":186036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:58:12] local.INFO: Processing buffer {"connection_id":186036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:58:12] local.INFO: IMEI packet received {"connection_id":186036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:58:18] local.INFO: TCP Data received {"connection_id":186036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:58:18] local.INFO: Processing buffer {"connection_id":186036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:58:18] local.INFO: IMEI packet received {"connection_id":186036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":186036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:58:19] local.INFO: TCP Data received {"connection_id":186036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c52278012d34c40006aa3c80000f00e32a..."} 
[2026-09-18 09:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c52278012d34c40006aa3c80000f00e32a..."} 
[2026-09-18 09:58:19] local.INFO: Processing buffer {"connection_id":186036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c52278012d34c40006aa3c80000f00e32a..."} 
[2026-09-18 09:58:19] local.INFO: Packet analysis {"connection_id":186036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:19] local.INFO: Extracted packet for processing {"connection_id":186036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819904,"longitude_deg":75.8432768,"latitude_deg":11.1819904,"altitude":15,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3c80","is_valid_coordinates":true} 
[2026-09-18 09:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164576000001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705659000,"timestamp_ms":1789705659000,"timestamp_seconds":1789705659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c52278"} 
[2026-09-18 09:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 09:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 09:58:19] 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-09-18 09:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164576000001,"66":25734,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164576000001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164576000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":186036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:58:19] local.INFO: GPS data processed {"connection_id":186036,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:58:19] local.INFO: Acknowledgment sent {"connection_id":186036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:58:27] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:27] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:27] local.INFO: IMEI packet received {"connection_id":186038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 09:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":186038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:58:29] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:29] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:29] local.INFO: IMEI packet received {"connection_id":186038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":186038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:58:30] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:30] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:30] local.INFO: IMEI packet received {"connection_id":186038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":186038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:58:31] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:31] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 09:58:31] local.INFO: IMEI packet received {"connection_id":186038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 09:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":186038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:58:38] local.INFO: TCP Data received {"connection_id":188657,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:58:38] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:58:38] local.INFO: IMEI packet received {"connection_id":188657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":188657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:58:41] local.INFO: TCP Data received {"connection_id":188657,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:58:41] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:58:41] local.INFO: IMEI packet received {"connection_id":188657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 09:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":188657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:58:42] local.INFO: TCP Data received {"connection_id":188657,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c568c8012d0b00400702bfb0000f00b41f..."} 
[2026-09-18 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c568c8012d0b00400702bfb0000f00b41f..."} 
[2026-09-18 09:58:42] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c568c8012d0b00400702bfb0000f00b41f..."} 
[2026-09-18 09:58:42] local.INFO: Packet analysis {"connection_id":188657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:42] local.INFO: Extracted packet for processing {"connection_id":188657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:42] local.INFO: GPS Element Parsed {"raw_longitude":755695680,"raw_latitude":117620656,"longitude_deg":75.569568,"latitude_deg":11.7620656,"altitude":15,"angle":180,"satellites":31,"speed":15,"hex_longitude":"2d0b0040","hex_latitude":"0702bfb0","is_valid_coordinates":true} 
[2026-09-18 09:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164652544001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070127192735744,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792703933272506368,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789705677000,"timestamp_ms":1789705677000,"timestamp_seconds":1789705677,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c568c8"} 
[2026-09-18 09:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 09:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 09:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 09:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 09:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164652544001,"66":14407,"17":206,"94":11008,"24":15,"16":33070127192735744,"45":792703933272506368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 09:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 09:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 09:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164652544001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:58:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 09:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33070127192735744,"km_value":33070127192735.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":792703933272506368,"description":"Unknown IO ID 45"} 
[2026-09-18 09:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164652544001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":792703933272506368}} 
[2026-09-18 09:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":188657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:58:42] local.INFO: GPS data processed {"connection_id":188657,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:58:42] local.INFO: Acknowledgment sent {"connection_id":188657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:58:51] local.INFO: TCP Data received {"connection_id":186036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c539e8012d34c40006aa3eb8000f013927..."} 
[2026-09-18 09:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c539e8012d34c40006aa3eb8000f013927..."} 
[2026-09-18 09:58:51] local.INFO: Processing buffer {"connection_id":186036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c539e8012d34c40006aa3eb8000f013927..."} 
[2026-09-18 09:58:51] local.INFO: Packet analysis {"connection_id":186036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:51] local.INFO: Extracted packet for processing {"connection_id":186036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 09: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-09-18 09:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164648704001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033436672,"note":"Value kept but may cause issues"} 
[2026-09-18 09:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789705665000,"timestamp_ms":1789705665000,"timestamp_seconds":1789705665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c539e8"} 
[2026-09-18 09:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 09:58:51] 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-09-18 09: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-09-18 09:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164648704001,"66":25549,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033436672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164648704001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033436672,"description":"Unknown IO ID 45"} 
[2026-09-18 09:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164648704001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033436672}} 
[2026-09-18 09:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":186036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:58:51] local.INFO: GPS data processed {"connection_id":186036,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:58:51] local.INFO: Acknowledgment sent {"connection_id":186036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:59:13] local.INFO: TCP Data received {"connection_id":187333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:59:13] local.INFO: Processing buffer {"connection_id":187333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:59:13] local.INFO: IMEI packet received {"connection_id":187333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 09:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:59:18] local.INFO: TCP Data received {"connection_id":187333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:59:18] local.INFO: Processing buffer {"connection_id":187333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 09:59:18] local.INFO: IMEI packet received {"connection_id":187333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 09:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":187333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 09:59:19] local.INFO: TCP Data received {"connection_id":187333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 09:59:19] local.INFO: Processing buffer {"connection_id":187333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 09:59:19] local.INFO: Packet analysis {"connection_id":187333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:59:19] local.INFO: Extracted packet for processing {"connection_id":187333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 09:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 09:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 09:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 09:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 09:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 09:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":187333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:59:19] local.INFO: GPS data processed {"connection_id":187333,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:59:19] local.INFO: Acknowledgment sent {"connection_id":187333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 09:59:28] local.INFO: TCP Data received {"connection_id":185879,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:59:28] local.INFO: Processing buffer {"connection_id":185879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 09:59:28] local.INFO: IMEI packet received {"connection_id":185879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 09:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":185879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 09:59:50] local.INFO: TCP Data received {"connection_id":187333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 09:59:50] local.INFO: Processing buffer {"connection_id":187333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 09:59:50] local.INFO: Packet analysis {"connection_id":187333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:59:50] local.INFO: Extracted packet for processing {"connection_id":187333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 09:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 09:59: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-09-18 09:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 09:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 09:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 09:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 09:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 09:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 09:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 09:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 09:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 09:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 09:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 09:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 09:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 09:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 09:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 09:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 09:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 09:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 09:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 09:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 09:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 09:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 09:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 09:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 09:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 09:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":187333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 09:59:50] local.INFO: GPS data processed {"connection_id":187333,"processed":1,"errors":0,"total":1} 
[2026-09-18 09:59:50] local.INFO: Acknowledgment sent {"connection_id":187333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:00:11] local.INFO: TCP Data received {"connection_id":186037,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:00:11] local.INFO: Processing buffer {"connection_id":186037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:00:11] local.INFO: IMEI packet received {"connection_id":186037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":186037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:00:14] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:00:14] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:00:14] local.INFO: IMEI packet received {"connection_id":185880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":185880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:00:18] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:00:18] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:00:18] local.INFO: IMEI packet received {"connection_id":185880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":185880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:00:19] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:00:19] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:00:19] local.INFO: Packet analysis {"connection_id":185880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:00:19] local.INFO: Extracted packet for processing {"connection_id":185880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:00: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-09-18 10:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":185880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:00:19] local.INFO: GPS data processed {"connection_id":185880,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:00:19] local.INFO: Acknowledgment sent {"connection_id":185880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:00:51] local.INFO: TCP Data received {"connection_id":185880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:00:51] local.INFO: Processing buffer {"connection_id":185880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:00:51] local.INFO: Packet analysis {"connection_id":185880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:00:51] local.INFO: Extracted packet for processing {"connection_id":185880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":185880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:00:51] local.INFO: GPS data processed {"connection_id":185880,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:00:51] local.INFO: Acknowledgment sent {"connection_id":185880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:01:12] local.INFO: TCP Data received {"connection_id":187334,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:01:12] local.INFO: Processing buffer {"connection_id":187334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:01:12] local.INFO: IMEI packet received {"connection_id":187334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":187334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:01:18] local.INFO: TCP Data received {"connection_id":187334,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:01:18] local.INFO: Processing buffer {"connection_id":187334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:01:18] local.INFO: IMEI packet received {"connection_id":187334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":187334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:01:19] local.INFO: TCP Data received {"connection_id":187334,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:01:19] local.INFO: Processing buffer {"connection_id":187334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:01:19] local.INFO: Packet analysis {"connection_id":187334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:01:19] local.INFO: Extracted packet for processing {"connection_id":187334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":187334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:01:19] local.INFO: GPS data processed {"connection_id":187334,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:01:19] local.INFO: Acknowledgment sent {"connection_id":187334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:01:52] local.INFO: TCP Data received {"connection_id":187334,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:01:52] local.INFO: Processing buffer {"connection_id":187334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:01:52] local.INFO: Packet analysis {"connection_id":187334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:01:52] local.INFO: Extracted packet for processing {"connection_id":187334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:01: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-09-18 10:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":187334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:01:52] local.INFO: GPS data processed {"connection_id":187334,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:01:52] local.INFO: Acknowledgment sent {"connection_id":187334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:02:12] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:02:12] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:02:12] local.INFO: IMEI packet received {"connection_id":185881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":185881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:02:18] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:02:18] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:02:18] local.INFO: IMEI packet received {"connection_id":185881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":185881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:02:19] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:02:19] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:02:19] local.INFO: Packet analysis {"connection_id":185881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:02:19] local.INFO: Extracted packet for processing {"connection_id":185881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":185881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:02:19] local.INFO: GPS data processed {"connection_id":185881,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:02:19] local.INFO: Acknowledgment sent {"connection_id":185881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:02:50] local.INFO: TCP Data received {"connection_id":185881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:02:50] local.INFO: Processing buffer {"connection_id":185881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:02:50] local.INFO: Packet analysis {"connection_id":185881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:02:50] local.INFO: Extracted packet for processing {"connection_id":185881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:02: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-09-18 10:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":185881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:02:51] local.INFO: GPS data processed {"connection_id":185881,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:02:51] local.INFO: Acknowledgment sent {"connection_id":185881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:03:18] local.INFO: TCP Data received {"connection_id":187335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:03:18] local.INFO: Processing buffer {"connection_id":187335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:03:18] local.INFO: IMEI packet received {"connection_id":187335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":187335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:03:23] local.INFO: TCP Data received {"connection_id":187335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:03:23] local.INFO: Processing buffer {"connection_id":187335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:03:23] local.INFO: IMEI packet received {"connection_id":187335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":187335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:03:24] local.INFO: TCP Data received {"connection_id":187335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:03:24] local.INFO: Processing buffer {"connection_id":187335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:03:24] local.INFO: Packet analysis {"connection_id":187335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:03:24] local.INFO: Extracted packet for processing {"connection_id":187335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":187335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:03:24] local.INFO: GPS data processed {"connection_id":187335,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:03:24] local.INFO: Acknowledgment sent {"connection_id":187335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:03:28] local.INFO: TCP Data received {"connection_id":187335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:03:28] local.INFO: Processing buffer {"connection_id":187335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c57c50012d34c40006aa3eb8000f013929..."} 
[2026-09-18 10:03:28] local.INFO: Packet analysis {"connection_id":187335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:03:28] local.INFO: Extracted packet for processing {"connection_id":187335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c5"} 
[2026-09-18 10:03:28] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820472,"longitude_deg":75.8432768,"latitude_deg":11.1820472,"altitude":15,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-18 10:03: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-09-18 10:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164650240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789705682000,"timestamp_ms":1789705682000,"timestamp_seconds":1789705682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c57c50"} 
[2026-09-18 10:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164650240001,"66":25462,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164650240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:03:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:03:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164650240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":187335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:03:28] local.INFO: GPS data processed {"connection_id":187335,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:03:28] local.INFO: Acknowledgment sent {"connection_id":187335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:03:31] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:03:31] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:03:31] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:03:32] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c9dd68012d19ee00071ffca0002e006425..."} 
[2026-09-18 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c9dd68012d19ee00071ffca0002e006425..."} 
[2026-09-18 10:03:32] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c9dd68012d19ee00071ffca0002e006425..."} 
[2026-09-18 10:03:32] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c9"} 
[2026-09-18 10:03:32] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c9"} 
[2026-09-18 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756674048,"raw_latitude":119536800,"longitude_deg":75.6674048,"latitude_deg":11.95368,"altitude":46,"angle":100,"satellites":37,"speed":26,"hex_longitude":"2d19ee00","hex_latitude":"071ffca0","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164727808001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21196664333139968,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869820837888,"note":"Value kept but may cause issues"} 
[2026-09-18 10:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789705969000,"timestamp_ms":1789705969000,"timestamp_seconds":1789705969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c9dd68"} 
[2026-09-18 10:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:03: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-09-18 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 10:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164727808001,"66":14298,"121":206,"28":31744,"24":26,"16":21196664333139968,"45":1867656869820837888},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164727808001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:03:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21196664333139968,"km_value":21196664333139.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869820837888,"description":"Unknown IO ID 45"} 
[2026-09-18 10:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164727808001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1867656869820837888}} 
[2026-09-18 10:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:03:32] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:03:32] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:04:04] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c9e150012d19f100071ffcd8002e005722..."} 
[2026-09-18 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c9e150012d19f100071ffcd8002e005722..."} 
[2026-09-18 10:04:04] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c9e150012d19f100071ffcd8002e005722..."} 
[2026-09-18 10:04:04] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c9"} 
[2026-09-18 10:04:04] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c9"} 
[2026-09-18 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756674816,"raw_latitude":119536856,"longitude_deg":75.6674816,"latitude_deg":11.9536856,"altitude":46,"angle":87,"satellites":34,"speed":28,"hex_longitude":"2d19f100","hex_latitude":"071ffcd8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164728064001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21196698692878336,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868430926006755328,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789705970000,"timestamp_ms":1789705970000,"timestamp_seconds":1789705970,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c9e150"} 
[2026-09-18 10:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 10:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164728064001,"66":14276,"121":206,"28":31744,"24":28,"16":21196698692878336,"45":1868430926006755328},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164728064001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:04:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21196698692878336,"km_value":21196698692878.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868430926006755328,"description":"Unknown IO ID 45"} 
[2026-09-18 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164728064001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1868430926006755328}} 
[2026-09-18 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:04:04] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:04:04] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:04:13] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:04:13] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:04:13] local.INFO: IMEI packet received {"connection_id":188659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:04:18] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:04:18] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:04:18] local.INFO: IMEI packet received {"connection_id":188659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:04:19] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:04:19] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:04:19] local.INFO: Packet analysis {"connection_id":188659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:04:19] local.INFO: Extracted packet for processing {"connection_id":188659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:04:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":188659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:04:19] local.INFO: GPS data processed {"connection_id":188659,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:04:19] local.INFO: Acknowledgment sent {"connection_id":188659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:04:23] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:04:23] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:04:23] local.INFO: IMEI packet received {"connection_id":187336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":187336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:04:28] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:04:28] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:04:28] local.INFO: IMEI packet received {"connection_id":187336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":187336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:04:29] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb21a0012d7b060005e350a8000900a12d..."} 
[2026-09-18 10:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb21a0012d7b060005e350a8000900a12d..."} 
[2026-09-18 10:04:29] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb21a0012d7b060005e350a8000900a12d..."} 
[2026-09-18 10:04:29] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:04:29] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98783400,"longitude_deg":76.3037184,"latitude_deg":9.87834,"altitude":9,"angle":161,"satellites":45,"speed":8,"hex_longitude":"2d7b0600","hex_latitude":"05e350a8","is_valid_coordinates":true} 
[2026-09-18 10:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164748544001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134578170245414912,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573069901824,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:29] 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-09-18 10:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789706052000,"timestamp_ms":1789706052000,"timestamp_seconds":1789706052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb21a0"} 
[2026-09-18 10:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:04: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-09-18 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 10:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164748544001,"66":13363,"206":206,"85":15104,"24":8,"16":134578170245414912,"45":8864702573069901824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 10:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164748544001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:04:29] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 10:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134578170245414912,"km_value":134578170245414.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573069901824,"description":"Unknown IO ID 45"} 
[2026-09-18 10:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164748544001,"power":13363,"unknown_206":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8864702573069901824}} 
[2026-09-18 10:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:04:29] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:04:29] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:04:37] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2c9ed08012d19fb80071ffc70002f006924..."} 
[2026-09-18 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2c9ed08012d19fb80071ffc70002f006924..."} 
[2026-09-18 10:04:37] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2c9ed08012d19fb80071ffc70002f006924..."} 
[2026-09-18 10:04:37] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2c9"} 
[2026-09-18 10:04:37] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2c9"} 
[2026-09-18 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756677504,"raw_latitude":119536752,"longitude_deg":75.6677504,"latitude_deg":11.9536752,"altitude":47,"angle":105,"satellites":36,"speed":36,"hex_longitude":"2d19fb80","hex_latitude":"071ffc70","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164728320001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21196827541897216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869275350936901632,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789705973000,"timestamp_ms":1789705973000,"timestamp_seconds":1789705973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2c9ed08"} 
[2026-09-18 10:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:04: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-09-18 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-18 10:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164728320001,"66":14276,"121":206,"28":31744,"24":36,"16":21196827541897216,"45":1869275350936901632},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164728320001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21196827541897216,"km_value":21196827541897.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869275350936901632,"description":"Unknown IO ID 45"} 
[2026-09-18 10:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164728320001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1869275350936901632}} 
[2026-09-18 10:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:04:37] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:04:37] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:04:50] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:04:50] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:04:50] local.INFO: Packet analysis {"connection_id":188659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:04:50] local.INFO: Extracted packet for processing {"connection_id":188659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":188659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:04:50] local.INFO: GPS data processed {"connection_id":188659,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:04:50] local.INFO: Acknowledgment sent {"connection_id":188659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:05:01] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb6fc0012d7b0b4005e33ea8000a00aa25..."} 
[2026-09-18 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb6fc0012d7b0b4005e33ea8000a00aa25..."} 
[2026-09-18 10:05:01] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb6fc0012d7b0b4005e33ea8000a00aa25..."} 
[2026-09-18 10:05:01] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:01] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98778792,"longitude_deg":76.3038528,"latitude_deg":9.8778792,"altitude":10,"angle":170,"satellites":37,"speed":14,"hex_longitude":"2d7b0b40","hex_latitude":"05e33ea8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164749312001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134578406468616192,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941813950464,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:01] 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-09-18 10:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789706072000,"timestamp_ms":1789706072000,"timestamp_seconds":1789706072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb6fc0"} 
[2026-09-18 10:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 10:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:05:01] 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-09-18 10:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164749312001,"66":13189,"208":206,"85":15104,"24":14,"16":134578406468616192,"45":8864772941813950464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 10:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164749312001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:05:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 10:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134578406468616192,"km_value":134578406468616.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941813950464,"description":"Unknown IO ID 45"} 
[2026-09-18 10:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164749312001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8864772941813950464}} 
[2026-09-18 10:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:05:01] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:05:01] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:05:08] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb4c98012d1ac580071f8e38003400a226..."} 
[2026-09-18 10:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb4c98012d1ac580071f8e38003400a226..."} 
[2026-09-18 10:05:08] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb4c98012d1ac580071f8e38003400a226..."} 
[2026-09-18 10:05:08] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:08] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119508536,"longitude_deg":75.6729216,"latitude_deg":11.9508536,"altitude":52,"angle":162,"satellites":38,"speed":21,"hex_longitude":"2d1ac580","hex_latitude":"071f8e38","is_valid_coordinates":true} 
[2026-09-18 10:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164751872001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199769594494976,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759908864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789706063000,"timestamp_ms":1789706063000,"timestamp_seconds":1789706063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb4c98"} 
[2026-09-18 10:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 10:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164751872001,"66":13689,"121":206,"28":31744,"24":21,"16":21199769594494976,"45":1928736939759908864},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164751872001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:05:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199769594494976,"km_value":21199769594494.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759908864,"description":"Unknown IO ID 45"} 
[2026-09-18 10:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164751872001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1928736939759908864}} 
[2026-09-18 10:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:05:08] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:05:08] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:05:13] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:05:13] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:05:13] local.INFO: IMEI packet received {"connection_id":185882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":185882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:05:19] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:05:19] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:05:19] local.INFO: IMEI packet received {"connection_id":185882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":185882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:05:21] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:05:21] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:05:21] local.INFO: Packet analysis {"connection_id":185882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:05:21] local.INFO: Extracted packet for processing {"connection_id":185882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:05:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":185882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:05:21] local.INFO: GPS data processed {"connection_id":185882,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:05:21] local.INFO: Acknowledgment sent {"connection_id":185882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:05:34] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb8f00012d7b0cc005e33300000b00b62b..."} 
[2026-09-18 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb8f00012d7b0cc005e33300000b00b62b..."} 
[2026-09-18 10:05:34] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb8f00012d7b0cc005e33300000b00b62b..."} 
[2026-09-18 10:05:34] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:34] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98775808,"longitude_deg":76.3038912,"latitude_deg":9.8775808,"altitude":11,"angle":182,"satellites":43,"speed":18,"hex_longitude":"2d7b0cc0","hex_latitude":"05e33300","is_valid_coordinates":true} 
[2026-09-18 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164754432001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134578552497504256,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685440501760,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:34] 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-09-18 10:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789706080000,"timestamp_ms":1789706080000,"timestamp_seconds":1789706080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb8f00"} 
[2026-09-18 10:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 10:05:34] 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-09-18 10:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:05:34] 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-09-18 10:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164754432001,"66":12939,"208":206,"85":15104,"24":18,"16":134578552497504256,"45":8866250685440501760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 10:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164754432001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:05:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 10:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134578552497504256,"km_value":134578552497504.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685440501760,"description":"Unknown IO ID 45"} 
[2026-09-18 10:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164754432001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8866250685440501760}} 
[2026-09-18 10:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:05:34] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:05:34] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:05:40] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb5080012d1ac5c0071f8c20003400b225..."} 
[2026-09-18 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb5080012d1ac5c0071f8c20003400b225..."} 
[2026-09-18 10:05:40] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb5080012d1ac5c0071f8c20003400b225..."} 
[2026-09-18 10:05:40] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:40] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756729280,"raw_latitude":119508000,"longitude_deg":75.672928,"latitude_deg":11.9508,"altitude":52,"angle":178,"satellites":37,"speed":21,"hex_longitude":"2d1ac5c0","hex_latitude":"071f8c20","is_valid_coordinates":true} 
[2026-09-18 10:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164752128001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199795364298752,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480666112,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789706064000,"timestamp_ms":1789706064000,"timestamp_seconds":1789706064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb5080"} 
[2026-09-18 10:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:05:40] 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-09-18 10:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 10:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164752128001,"66":14004,"121":206,"28":31744,"24":21,"16":21199795364298752,"45":1929088783480666112},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164752128001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:05:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199795364298752,"km_value":21199795364298.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480666112,"description":"Unknown IO ID 45"} 
[2026-09-18 10:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164752128001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1929088783480666112}} 
[2026-09-18 10:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:05:40] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:05:40] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:05:46] local.INFO: TCP Data received {"connection_id":188658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:05:46] local.INFO: Processing buffer {"connection_id":188658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:05:46] local.INFO: IMEI packet received {"connection_id":188658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":188658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:05:52] local.INFO: TCP Data received {"connection_id":185882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:05:52] local.INFO: Processing buffer {"connection_id":185882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:05:52] local.INFO: Packet analysis {"connection_id":185882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:05:52] local.INFO: Extracted packet for processing {"connection_id":185882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:05:52] local.INFO: GPS data processed {"connection_id":185882,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:05:52] local.INFO: Acknowledgment sent {"connection_id":185882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:06:05] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb9ea0012d7b0d8005e32c40000b00ab2b..."} 
[2026-09-18 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb9ea0012d7b0d8005e32c40000b00ab2b..."} 
[2026-09-18 10:06:05] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb9ea0012d7b0d8005e32c40000b00ab2b..."} 
[2026-09-18 10:06:05] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:05] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98774080,"longitude_deg":76.3039104,"latitude_deg":9.877408,"altitude":11,"angle":171,"satellites":43,"speed":20,"hex_longitude":"2d7b0d80","hex_latitude":"05e32c40","is_valid_coordinates":true} 
[2026-09-18 10:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164756480001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134578638396850176,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904803840,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:05] 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-09-18 10:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789706084000,"timestamp_ms":1789706084000,"timestamp_seconds":1789706084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb9ea0"} 
[2026-09-18 10:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 10:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:06:05] 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-09-18 10:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164756480001,"66":13493,"208":206,"85":15104,"24":20,"16":134578638396850176,"45":8866672897904803840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 10:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164756480001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:06:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 10:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134578638396850176,"km_value":134578638396850.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904803840,"description":"Unknown IO ID 45"} 
[2026-09-18 10:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164756480001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8866672897904803840}} 
[2026-09-18 10:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:06:05] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:06:05] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:06:11] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb6408012d1ac580071f85780035008f24..."} 
[2026-09-18 10:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb6408012d1ac580071f85780035008f24..."} 
[2026-09-18 10:06:11] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb6408012d1ac580071f85780035008f24..."} 
[2026-09-18 10:06:11] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:11] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119506296,"longitude_deg":75.6729216,"latitude_deg":11.9506296,"altitude":53,"angle":143,"satellites":36,"speed":6,"hex_longitude":"2d1ac580","hex_latitude":"071f8578","is_valid_coordinates":true} 
[2026-09-18 10:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164752384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199876968677376,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929159152224706560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789706069000,"timestamp_ms":1789706069000,"timestamp_seconds":1789706069,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb6408"} 
[2026-09-18 10:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:06:11] 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-09-18 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 10:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164752384001,"66":13493,"121":206,"28":31744,"24":6,"16":21199876968677376,"45":1929159152224706560},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164752384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:06:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199876968677376,"km_value":21199876968677.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929159152224706560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164752384001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1929159152224706560}} 
[2026-09-18 10:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:06:11] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:06:11] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:06:12] local.INFO: TCP Data received {"connection_id":186040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:06:12] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:06:12] local.INFO: IMEI packet received {"connection_id":186040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":186040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:06:18] local.INFO: TCP Data received {"connection_id":186040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:06:18] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:06:18] local.INFO: IMEI packet received {"connection_id":186040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":186040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:06:18] local.INFO: TCP Data received {"connection_id":186040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:06:18] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:06:18] local.INFO: Packet analysis {"connection_id":186040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:06:18] local.INFO: Extracted packet for processing {"connection_id":186040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":186040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:06:19] local.INFO: GPS data processed {"connection_id":186040,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:06:19] local.INFO: Acknowledgment sent {"connection_id":186040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:06:36] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cbecc0012d7b11c005e31840000900aa2b..."} 
[2026-09-18 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cbecc0012d7b11c005e31840000900aa2b..."} 
[2026-09-18 10:06:36] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cbecc0012d7b11c005e31840000900aa2b..."} 
[2026-09-18 10:06:36] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:36] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763040192,"raw_latitude":98768960,"longitude_deg":76.3040192,"latitude_deg":9.876896,"altitude":9,"angle":170,"satellites":43,"speed":12,"hex_longitude":"2d7b11c0","hex_latitude":"05e31840","is_valid_coordinates":true} 
[2026-09-18 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164757504001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134578900389855232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004136894464,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789706104000,"timestamp_ms":1789706104000,"timestamp_seconds":1789706104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cbecc0"} 
[2026-09-18 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 10:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:06:36] 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-09-18 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164757504001,"66":13472,"208":206,"85":15104,"24":12,"16":134578900389855232,"45":8866884004136894464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164757504001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:06:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 10:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134578900389855232,"km_value":134578900389855.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004136894464,"description":"Unknown IO ID 45"} 
[2026-09-18 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164757504001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866884004136894464}} 
[2026-09-18 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:06:36] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:06:36] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:06:42] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cb67f0012d1ac600071f85300035007224..."} 
[2026-09-18 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cb67f0012d1ac600071f85300035007224..."} 
[2026-09-18 10:06:42] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cb67f0012d1ac600071f85300035007224..."} 
[2026-09-18 10:06:42] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:42] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756729344,"raw_latitude":119506224,"longitude_deg":75.6729344,"latitude_deg":11.9506224,"altitude":53,"angle":114,"satellites":36,"speed":5,"hex_longitude":"2d1ac600","hex_latitude":"071f8530","is_valid_coordinates":true} 
[2026-09-18 10:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164753664001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199885558611968,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480092672,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789706070000,"timestamp_ms":1789706070000,"timestamp_seconds":1789706070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cb67f0"} 
[2026-09-18 10:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:06: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-09-18 10: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 10:06:42] 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-09-18 10:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164753664001,"66":14004,"121":206,"28":31744,"24":5,"16":21199885558611968,"45":1929088783480092672},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164753664001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:06:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199885558611968,"km_value":21199885558611.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480092672,"description":"Unknown IO ID 45"} 
[2026-09-18 10:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164753664001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1929088783480092672}} 
[2026-09-18 10:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:06:42] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:06:42] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:06:49] local.INFO: TCP Data received {"connection_id":186040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:06:49] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:06:49] local.INFO: Packet analysis {"connection_id":186040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:06:49] local.INFO: Extracted packet for processing {"connection_id":186040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":186040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:06:49] local.INFO: GPS data processed {"connection_id":186040,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:06:49] local.INFO: Acknowledgment sent {"connection_id":186040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:07:08] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cc36f8012d7b16c005e2f378000600ac25..."} 
[2026-09-18 10:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cc36f8012d7b16c005e2f378000600ac25..."} 
[2026-09-18 10:07:08] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cc36f8012d7b16c005e2f378000600ac25..."} 
[2026-09-18 10:07:08] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cc"} 
[2026-09-18 10:07:08] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cc"} 
[2026-09-18 10:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98759544,"longitude_deg":76.3041472,"latitude_deg":9.8759544,"altitude":6,"angle":172,"satellites":37,"speed":31,"hex_longitude":"2d7b16c0","hex_latitude":"05e2f378","is_valid_coordinates":true} 
[2026-09-18 10:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164762624001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134579364246323200,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272786604032,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:08] 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-09-18 10:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789706123000,"timestamp_ms":1789706123000,"timestamp_seconds":1789706123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cc36f8"} 
[2026-09-18 10:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 10:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:07:08] 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-09-18 10:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164762624001,"66":13015,"208":206,"85":15104,"24":31,"16":134579364246323200,"45":8868080272786604032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 10:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164762624001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:07:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 10:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134579364246323200,"km_value":134579364246323.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272786604032,"description":"Unknown IO ID 45"} 
[2026-09-18 10:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164762624001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8868080272786604032}} 
[2026-09-18 10:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:07:08] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:07:08] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:07:12] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:07:12] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:07:12] local.INFO: IMEI packet received {"connection_id":188660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":188660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:07:18] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:07:18] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:07:18] local.INFO: IMEI packet received {"connection_id":188660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":188660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:07:19] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:07:19] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:07:19] local.INFO: Packet analysis {"connection_id":188660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:07:19] local.INFO: Extracted packet for processing {"connection_id":188660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":188660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:07:19] local.INFO: GPS data processed {"connection_id":188660,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:07:19] local.INFO: Acknowledgment sent {"connection_id":188660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:07:25] local.INFO: TCP Data received {"connection_id":185883,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:07:25] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:07:25] local.INFO: IMEI packet received {"connection_id":185883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":185883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:07:31] local.INFO: TCP Data received {"connection_id":185883,"ip":"117.224.38.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:07:31] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:07:31] local.INFO: IMEI packet received {"connection_id":185883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":185883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:07:32] local.INFO: TCP Data received {"connection_id":185883,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cbb9f8012d1ac700071f85200034007226..."} 
[2026-09-18 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cbb9f8012d1ac700071f85200034007226..."} 
[2026-09-18 10:07:32] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cbb9f8012d1ac700071f85200034007226..."} 
[2026-09-18 10:07:32] local.INFO: Packet analysis {"connection_id":185883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:07:32] local.INFO: Extracted packet for processing {"connection_id":185883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cb"} 
[2026-09-18 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756729600,"raw_latitude":119506208,"longitude_deg":75.67296,"latitude_deg":11.9506208,"altitude":52,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d1ac700","hex_latitude":"071f8520","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164753920001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199898443513856,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929229520968429568,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789706091000,"timestamp_ms":1789706091000,"timestamp_seconds":1789706091,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cbb9f8"} 
[2026-09-18 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:07: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-09-18 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 10:07: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-09-18 10: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-09-18 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164753920001,"66":14483,"121":206,"28":31744,"24":0,"16":21199898443513856,"45":1929229520968429568},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164753920001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:07:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199898443513856,"km_value":21199898443513.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929229520968429568,"description":"Unknown IO ID 45"} 
[2026-09-18 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164753920001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1929229520968429568}} 
[2026-09-18 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":185883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:07:32] local.INFO: GPS data processed {"connection_id":185883,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:07:32] local.INFO: Acknowledgment sent {"connection_id":185883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:07:41] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cc5e08012d7b1c0005e2cfb0000200ad24..."} 
[2026-09-18 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cc5e08012d7b1c0005e2cfb0000200ad24..."} 
[2026-09-18 10:07:41] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cc5e08012d7b1c0005e2cfb0000200ad24..."} 
[2026-09-18 10:07:41] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cc"} 
[2026-09-18 10:07:41] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cc"} 
[2026-09-18 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763042816,"raw_latitude":98750384,"longitude_deg":76.3042816,"latitude_deg":9.8750384,"altitude":2,"angle":173,"satellites":36,"speed":33,"hex_longitude":"2d7b1c00","hex_latitude":"05e2cfb0","is_valid_coordinates":true} 
[2026-09-18 10:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164767488001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134579815217889280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647667746816,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:41] 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-09-18 10:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789706133000,"timestamp_ms":1789706133000,"timestamp_seconds":1789706133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cc5e08"} 
[2026-09-18 10:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 10:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:07:41] 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-09-18 10:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164767488001,"66":13537,"208":206,"85":15104,"24":33,"16":134579815217889280,"45":8869487647667746816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 10:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164767488001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:07:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 10:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134579815217889280,"km_value":134579815217889.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647667746816,"description":"Unknown IO ID 45"} 
[2026-09-18 10:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164767488001,"power":13537,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8869487647667746816}} 
[2026-09-18 10:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:07:41] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:07:41] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:07:52] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:07:52] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:07:52] local.INFO: Packet analysis {"connection_id":188660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:07:52] local.INFO: Extracted packet for processing {"connection_id":188660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":188660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:07:52] local.INFO: GPS data processed {"connection_id":188660,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:07:52] local.INFO: Acknowledgment sent {"connection_id":188660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:08:18] local.INFO: TCP Data received {"connection_id":187338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:08:18] local.INFO: Processing buffer {"connection_id":187338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:08:18] local.INFO: IMEI packet received {"connection_id":187338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":187338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:08:20] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ce7918012d7b4f0005e14718000000aa26..."} 
[2026-09-18 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ce7918012d7b4f0005e14718000000aa26..."} 
[2026-09-18 10:08:20] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ce7918012d7b4f0005e14718000000aa26..."} 
[2026-09-18 10:08:20] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:08:20] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":98649880,"longitude_deg":76.3055872,"latitude_deg":9.864988,"altitude":0,"angle":170,"satellites":38,"speed":37,"hex_longitude":"2d7b4f00","hex_latitude":"05e14718","is_valid_coordinates":true} 
[2026-09-18 10:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164800768001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134584737250410496,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883209552756666368,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789706271000,"timestamp_ms":1789706271000,"timestamp_seconds":1789706271,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ce7918"} 
[2026-09-18 10:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:08: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-09-18 10:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 10:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:08:20] 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-09-18 10:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164800768001,"66":13559,"216":206,"85":15104,"24":37,"16":134584737250410496,"45":8883209552756666368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-18 10:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164800768001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134584737250410496,"km_value":134584737250410.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883209552756666368,"description":"Unknown IO ID 45"} 
[2026-09-18 10:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164800768001,"power":13559,"unknown_216":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8883209552756666368}} 
[2026-09-18 10:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:08:20] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:08:20] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:08:23] local.INFO: TCP Data received {"connection_id":187338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:08:23] local.INFO: Processing buffer {"connection_id":187338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:08:23] local.INFO: IMEI packet received {"connection_id":187338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":187338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:08:24] local.INFO: TCP Data received {"connection_id":187338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:08:24] local.INFO: Processing buffer {"connection_id":187338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:08:24] local.INFO: Packet analysis {"connection_id":187338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:08:24] local.INFO: Extracted packet for processing {"connection_id":187338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":187338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:08:24] local.INFO: GPS data processed {"connection_id":187338,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:08:24] local.INFO: Acknowledgment sent {"connection_id":187338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:08:28] local.INFO: TCP Data received {"connection_id":187338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:08:28] local.INFO: Processing buffer {"connection_id":187338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ca1be8012d34c3c006aa3ed0000f013928..."} 
[2026-09-18 10:08:28] local.INFO: Packet analysis {"connection_id":187338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:08:28] local.INFO: Extracted packet for processing {"connection_id":187338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ca"} 
[2026-09-18 10:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164654592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033582080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789705985000,"timestamp_ms":1789705985000,"timestamp_seconds":1789705985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ca1be8"} 
[2026-09-18 10:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 10:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164654592001,"66":25691,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802164014033582080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164654592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:08:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:08:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033582080,"description":"Unknown IO ID 45"} 
[2026-09-18 10:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164654592001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033582080}} 
[2026-09-18 10:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":187338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:08:28] local.INFO: GPS data processed {"connection_id":187338,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:08:28] local.INFO: Acknowledgment sent {"connection_id":187338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:08:42] local.INFO: TCP Data received {"connection_id":187336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ce9c40012d7b558005e121c0000000ab26..."} 
[2026-09-18 10:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ce9c40012d7b558005e121c0000000ab26..."} 
[2026-09-18 10:08:42] local.INFO: Processing buffer {"connection_id":187336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ce9c40012d7b558005e121c0000000ab26..."} 
[2026-09-18 10:08:42] local.INFO: Packet analysis {"connection_id":187336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:08:42] local.INFO: Extracted packet for processing {"connection_id":187336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763057536,"raw_latitude":98640320,"longitude_deg":76.3057536,"latitude_deg":9.864032,"altitude":0,"angle":171,"satellites":38,"speed":48,"hex_longitude":"2d7b5580","hex_latitude":"05e121c0","is_valid_coordinates":true} 
[2026-09-18 10:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164805376001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134585209696813056,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615079647232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789706280000,"timestamp_ms":1789706280000,"timestamp_seconds":1789706280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ce9c40"} 
[2026-09-18 10:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 10:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:08:42] 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-09-18 10:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164805376001,"66":13472,"216":206,"85":15104,"24":48,"16":134585209696813056,"45":8885320615079647232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-18 10:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164805376001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:08:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-18 10:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134585209696813056,"km_value":134585209696813.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615079647232,"description":"Unknown IO ID 45"} 
[2026-09-18 10:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164805376001,"power":13472,"unknown_216":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8885320615079647232}} 
[2026-09-18 10:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":187336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:08:42] local.INFO: GPS data processed {"connection_id":187336,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:08:42] local.INFO: Acknowledgment sent {"connection_id":187336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:08:45] local.INFO: TCP Data received {"connection_id":185883,"ip":"117.224.38.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2cc0c00012d1ac700071f85200034007227..."} 
[2026-09-18 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2cc0c00012d1ac700071f85200034007227..."} 
[2026-09-18 10:08:45] local.INFO: Processing buffer {"connection_id":185883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2cc0c00012d1ac700071f85200034007227..."} 
[2026-09-18 10:08:45] local.INFO: Packet analysis {"connection_id":185883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2cc"} 
[2026-09-18 10:08:45] local.INFO: Extracted packet for processing {"connection_id":185883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2cc"} 
[2026-09-18 10:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756729600,"raw_latitude":119506208,"longitude_deg":75.67296,"latitude_deg":11.9506208,"altitude":52,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d1ac700","hex_latitude":"071f8520","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164759296001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199898443513856,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929510995945136128,"note":"Value kept but may cause issues"} 
[2026-09-18 10:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789706112000,"timestamp_ms":1789706112000,"timestamp_seconds":1789706112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2cc0c00"} 
[2026-09-18 10:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 10:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.38.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164759296001,"66":14080,"121":206,"28":31744,"24":0,"16":21199898443513856,"45":1929510995945136128},"client_ip":"117.224.38.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 10:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164759296001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:08:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 10:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199898443513856,"km_value":21199898443513.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929510995945136128,"description":"Unknown IO ID 45"} 
[2026-09-18 10:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164759296001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1929510995945136128}} 
[2026-09-18 10:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":185883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:08:46] local.INFO: GPS data processed {"connection_id":185883,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:08:46] local.INFO: Acknowledgment sent {"connection_id":185883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:09:02] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:09:02] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:09:02] local.INFO: IMEI packet received {"connection_id":188661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":188661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:09:07] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:09:07] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:09:07] local.INFO: IMEI packet received {"connection_id":188661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":188661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:09:08] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb798012d7b5ac005e0fd60000000ab27..."} 
[2026-09-18 10:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb798012d7b5ac005e0fd60000000ab27..."} 
[2026-09-18 10:09:08] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb798012d7b5ac005e0fd60000000ab27..."} 
[2026-09-18 10:09:08] local.INFO: Packet analysis {"connection_id":188661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:08] local.INFO: Extracted packet for processing {"connection_id":188661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763058880,"raw_latitude":98631008,"longitude_deg":76.305888,"latitude_deg":9.8631008,"altitude":0,"angle":171,"satellites":39,"speed":53,"hex_longitude":"2d7b5ac0","hex_latitude":"05e0fd60","is_valid_coordinates":true} 
[2026-09-18 10:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164807680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134585664963346432,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887150202425819136,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789706287000,"timestamp_ms":1789706287000,"timestamp_seconds":1789706287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb798"} 
[2026-09-18 10:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:09: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-09-18 10: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 10:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:09:08] 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-09-18 10:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164807680001,"66":13428,"216":206,"85":15104,"24":53,"16":134585664963346432,"45":8887150202425819136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-18 10:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164807680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:09:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-18 10:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134585664963346432,"km_value":134585664963346.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887150202425819136,"description":"Unknown IO ID 45"} 
[2026-09-18 10:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164807680001,"power":13428,"unknown_216":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8887150202425819136}} 
[2026-09-18 10:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":188661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:09:08] local.INFO: GPS data processed {"connection_id":188661,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:09:08] local.INFO: Acknowledgment sent {"connection_id":188661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:09:13] local.INFO: TCP Data received {"connection_id":187339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:09:13] local.INFO: Processing buffer {"connection_id":187339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:09:13] local.INFO: IMEI packet received {"connection_id":187339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":187339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:09:18] local.INFO: TCP Data received {"connection_id":187339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:09:18] local.INFO: Processing buffer {"connection_id":187339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:09:18] local.INFO: IMEI packet received {"connection_id":187339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":187339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:09:19] local.INFO: TCP Data received {"connection_id":187339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:09:19] local.INFO: Processing buffer {"connection_id":187339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:09:19] local.INFO: Packet analysis {"connection_id":187339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:19] local.INFO: Extracted packet for processing {"connection_id":187339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706286000,"timestamp_ms":1789706286000,"timestamp_seconds":1789706286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb3b0"} 
[2026-09-18 10:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 10:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164732160001,"66":25647,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164732160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":187339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:09:19] local.INFO: GPS data processed {"connection_id":187339,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:09:19] local.INFO: Acknowledgment sent {"connection_id":187339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:09:39] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ced2f0012d7b604005e0d888000000ab23..."} 
[2026-09-18 10:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ced2f0012d7b604005e0d888000000ab23..."} 
[2026-09-18 10:09:39] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ced2f0012d7b604005e0d888000000ab23..."} 
[2026-09-18 10:09:39] local.INFO: Packet analysis {"connection_id":188661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:39] local.INFO: Extracted packet for processing {"connection_id":188661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763060288,"raw_latitude":98621576,"longitude_deg":76.3060288,"latitude_deg":9.8621576,"altitude":0,"angle":171,"satellites":35,"speed":53,"hex_longitude":"2d7b6040","hex_latitude":"05e0d888","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809472001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134586128819814400,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888627946051166208,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789706294000,"timestamp_ms":1789706294000,"timestamp_seconds":1789706294,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ced2f0"} 
[2026-09-18 10:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:09: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-09-18 10: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 10:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:09:39] 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-09-18 10:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809472001,"66":13559,"216":206,"85":15104,"24":53,"16":134586128819814400,"45":8888627946051166208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-18 10:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809472001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:09:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-18 10:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134586128819814400,"km_value":134586128819814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888627946051166208,"description":"Unknown IO ID 45"} 
[2026-09-18 10:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809472001,"power":13559,"unknown_216":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8888627946051166208}} 
[2026-09-18 10:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":188661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:09:39] local.INFO: GPS data processed {"connection_id":188661,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:09:39] local.INFO: Acknowledgment sent {"connection_id":188661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:09:51] local.INFO: TCP Data received {"connection_id":187339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:09:51] local.INFO: Processing buffer {"connection_id":187339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:09:51] local.INFO: Packet analysis {"connection_id":187339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:51] local.INFO: Extracted packet for processing {"connection_id":187339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789706286000,"timestamp_ms":1789706286000,"timestamp_seconds":1789706286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb3b0"} 
[2026-09-18 10:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:09: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-09-18 10:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 10:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164732160001,"66":25647,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164732160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":187339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:09:51] local.INFO: GPS data processed {"connection_id":187339,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:09:51] local.INFO: Acknowledgment sent {"connection_id":187339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:10:11] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d03e38012d7b9d8005df02a0000000af1f..."} 
[2026-09-18 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d03e38012d7b9d8005df02a0000000af1f..."} 
[2026-09-18 10:10:11] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d03e38012d7b9d8005df02a0000000af1f..."} 
[2026-09-18 10:10:11] local.INFO: Packet analysis {"connection_id":188661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d0"} 
[2026-09-18 10:10:11] local.INFO: Extracted packet for processing {"connection_id":188661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d0"} 
[2026-09-18 10:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763075968,"raw_latitude":98501280,"longitude_deg":76.3075968,"latitude_deg":9.850128,"altitude":0,"angle":175,"satellites":31,"speed":51,"hex_longitude":"2d7b9d80","hex_latitude":"05df02a0","is_valid_coordinates":true} 
[2026-09-18 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164833280001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134592012925009920,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906571975785572352,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789706387000,"timestamp_ms":1789706387000,"timestamp_seconds":1789706387,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d03e38"} 
[2026-09-18 10:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 10:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:10:12] 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-09-18 10:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164833280001,"66":13428,"103":206,"85":15104,"24":51,"16":134592012925009920,"45":8906571975785572352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 10:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164833280001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:10:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 10:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134592012925009920,"km_value":134592012925009.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906571975785572352,"description":"Unknown IO ID 45"} 
[2026-09-18 10:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164833280001,"power":13428,"unknown_103":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8906571975785572352}} 
[2026-09-18 10:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":188661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:10:12] local.INFO: GPS data processed {"connection_id":188661,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:10:12] local.INFO: Acknowledgment sent {"connection_id":188661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:10:13] local.INFO: TCP Data received {"connection_id":188662,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:10:13] local.INFO: Processing buffer {"connection_id":188662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:10:13] local.INFO: IMEI packet received {"connection_id":188662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":188662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:10:18] local.INFO: TCP Data received {"connection_id":188662,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:10:18] local.INFO: Processing buffer {"connection_id":188662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:10:18] local.INFO: IMEI packet received {"connection_id":188662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":188662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:10:19] local.INFO: TCP Data received {"connection_id":188662,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:10:19] local.INFO: Processing buffer {"connection_id":188662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:10:19] local.INFO: Packet analysis {"connection_id":188662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:10:19] local.INFO: Extracted packet for processing {"connection_id":188662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706286000,"timestamp_ms":1789706286000,"timestamp_seconds":1789706286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb3b0"} 
[2026-09-18 10:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 10:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164732160001,"66":25647,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164732160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":188662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:10:19] local.INFO: GPS data processed {"connection_id":188662,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:10:19] local.INFO: Acknowledgment sent {"connection_id":188662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:10:43] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d05990012d7ba08005dedf58000000af21..."} 
[2026-09-18 10:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d05990012d7ba08005dedf58000000af21..."} 
[2026-09-18 10:10:43] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d05990012d7ba08005dedf58000000af21..."} 
[2026-09-18 10:10:43] local.INFO: Packet analysis {"connection_id":188661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d0"} 
[2026-09-18 10:10:43] local.INFO: Extracted packet for processing {"connection_id":188661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d0"} 
[2026-09-18 10:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763076736,"raw_latitude":98492248,"longitude_deg":76.3076736,"latitude_deg":9.8492248,"altitude":0,"angle":175,"satellites":33,"speed":50,"hex_longitude":"2d7ba080","hex_latitude":"05dedf58","is_valid_coordinates":true} 
[2026-09-18 10:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164835072001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134592451011674112,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907416400713392128,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789706394000,"timestamp_ms":1789706394000,"timestamp_seconds":1789706394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d05990"} 
[2026-09-18 10:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 10:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:10:43] 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-09-18 10:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164835072001,"66":13646,"103":206,"85":15104,"24":50,"16":134592451011674112,"45":8907416400713392128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 10:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164835072001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:10:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 10:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134592451011674112,"km_value":134592451011674.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907416400713392128,"description":"Unknown IO ID 45"} 
[2026-09-18 10:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164835072001,"power":13646,"unknown_103":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8907416400713392128}} 
[2026-09-18 10:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":188661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:10:43] local.INFO: GPS data processed {"connection_id":188661,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:10:43] local.INFO: Acknowledgment sent {"connection_id":188661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:10:50] local.INFO: TCP Data received {"connection_id":188662,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:10:50] local.INFO: Processing buffer {"connection_id":188662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:10:50] local.INFO: Packet analysis {"connection_id":188662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:10:50] local.INFO: Extracted packet for processing {"connection_id":188662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789706286000,"timestamp_ms":1789706286000,"timestamp_seconds":1789706286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb3b0"} 
[2026-09-18 10:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 10:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164732160001,"66":25647,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164732160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":188662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:10:50] local.INFO: GPS data processed {"connection_id":188662,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:10:50] local.INFO: Acknowledgment sent {"connection_id":188662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:11:02] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:02] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:02] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:11:04] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:04] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:04] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:11:08] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:08] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:11:08] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:11:09] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d074e8012d7ba18005debc70000000b020..."} 
[2026-09-18 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d074e8012d7ba18005debc70000000b020..."} 
[2026-09-18 10:11:09] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d074e8012d7ba18005debc70000000b020..."} 
[2026-09-18 10:11:09] local.INFO: Packet analysis {"connection_id":186041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d0"} 
[2026-09-18 10:11:09] local.INFO: Extracted packet for processing {"connection_id":186041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d0"} 
[2026-09-18 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763076992,"raw_latitude":98483312,"longitude_deg":76.3076992,"latitude_deg":9.8483312,"altitude":0,"angle":176,"satellites":32,"speed":50,"hex_longitude":"2d7ba180","hex_latitude":"05debc70","is_valid_coordinates":true} 
[2026-09-18 10:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164836864001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134592884803371008,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908260825641211904,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789706401000,"timestamp_ms":1789706401000,"timestamp_seconds":1789706401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d074e8"} 
[2026-09-18 10:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 10:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:11:09] 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-09-18 10:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164836864001,"66":13559,"44":206,"85":15104,"24":50,"16":134592884803371008,"45":8908260825641211904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-18 10:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164836864001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 10:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134592884803371008,"km_value":134592884803371.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908260825641211904,"description":"Unknown IO ID 45"} 
[2026-09-18 10:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164836864001,"power":13559,"unknown_44":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8908260825641211904}} 
[2026-09-18 10:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":186041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:11:09] local.INFO: GPS data processed {"connection_id":186041,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:11:09] local.INFO: Acknowledgment sent {"connection_id":186041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:11:12] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:11:12] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:11:12] local.INFO: IMEI packet received {"connection_id":185884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":185884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:11:18] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:11:18] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:11:18] local.INFO: IMEI packet received {"connection_id":185884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":185884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:11:19] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:11:19] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:11:19] local.INFO: Packet analysis {"connection_id":185884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:11:19] local.INFO: Extracted packet for processing {"connection_id":185884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706286000,"timestamp_ms":1789706286000,"timestamp_seconds":1789706286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb3b0"} 
[2026-09-18 10:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 10:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164732160001,"66":25647,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164732160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":185884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:11:19] local.INFO: GPS data processed {"connection_id":185884,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:11:19] local.INFO: Acknowledgment sent {"connection_id":185884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:11:21] local.INFO: TCP Data received {"connection_id":187337,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:11:21] local.INFO: Processing buffer {"connection_id":187337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:11:21] local.INFO: IMEI packet received {"connection_id":187337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":187337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:11:40] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d1b538012d7be10005dd26f0000000ac20..."} 
[2026-09-18 10:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d1b538012d7be10005dd26f0000000ac20..."} 
[2026-09-18 10:11:40] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d1b538012d7be10005dd26f0000000ac20..."} 
[2026-09-18 10:11:40] local.INFO: Packet analysis {"connection_id":186041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d1"} 
[2026-09-18 10:11:40] local.INFO: Extracted packet for processing {"connection_id":186041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d1"} 
[2026-09-18 10:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":98379504,"longitude_deg":76.3093248,"latitude_deg":9.8379504,"altitude":0,"angle":172,"satellites":32,"speed":52,"hex_longitude":"2d7be100","hex_latitude":"05dd26f0","is_valid_coordinates":true} 
[2026-09-18 10:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164857856001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925008586728970240,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134597982929551360,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:40] 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-09-18 10:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789706483000,"timestamp_ms":1789706483000,"timestamp_seconds":1789706483,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d1b538"} 
[2026-09-18 10:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:11: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-09-18 10:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 10:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:11:40] 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-09-18 10:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164857856001,"66":13624,"45":8925008586728970240,"85":15104,"24":52,"16":134597982929551360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 10:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164857856001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925008586728970240,"description":"Unknown IO ID 45"} 
[2026-09-18 10:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134597982929551360,"km_value":134597982929551.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:11:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164857856001,"power":13624,"unknown_45":8925008586728970240,"unknown_85":15104,"ignition":52,"odometer":null}} 
[2026-09-18 10:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":186041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:11:40] local.INFO: GPS data processed {"connection_id":186041,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:11:40] local.INFO: Acknowledgment sent {"connection_id":186041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:11:50] local.INFO: TCP Data received {"connection_id":185884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:11:50] local.INFO: Processing buffer {"connection_id":185884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ceb3b0012d34c3c006aa3ed0000f013924..."} 
[2026-09-18 10:11:50] local.INFO: Packet analysis {"connection_id":185884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:11:50] local.INFO: Extracted packet for processing {"connection_id":185884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ce"} 
[2026-09-18 10:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820496,"longitude_deg":75.8432704,"latitude_deg":11.1820496,"altitude":15,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3ed0","is_valid_coordinates":true} 
[2026-09-18 10:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789706286000,"timestamp_ms":1789706286000,"timestamp_seconds":1789706286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ceb3b0"} 
[2026-09-18 10:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 10:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164732160001,"66":25647,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164732160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":185884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:11:50] local.INFO: GPS data processed {"connection_id":185884,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:11:50] local.INFO: Acknowledgment sent {"connection_id":185884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:12:02] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:02] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:02] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:12:04] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:04] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:04] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:12:09] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:09] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:12:09] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:12:10] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d1d090012d7be40005dd03f8000000b121..."} 
[2026-09-18 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d1d090012d7be40005dd03f8000000b121..."} 
[2026-09-18 10:12:10] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d1d090012d7be40005dd03f8000000b121..."} 
[2026-09-18 10:12:10] local.INFO: Packet analysis {"connection_id":186042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d1"} 
[2026-09-18 10:12:10] local.INFO: Extracted packet for processing {"connection_id":186042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d1"} 
[2026-09-18 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":98370552,"longitude_deg":76.3094016,"latitude_deg":9.8370552,"altitude":0,"angle":177,"satellites":33,"speed":50,"hex_longitude":"2d7be400","hex_latitude":"05dd03f8","is_valid_coordinates":true} 
[2026-09-18 10:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164859648001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926415961610186752,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134598421016215552,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 10:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789706490000,"timestamp_ms":1789706490000,"timestamp_seconds":1789706490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d1d090"} 
[2026-09-18 10:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 10:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:12:10] 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-09-18 10:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164859648001,"66":13319,"45":8926415961610186752,"85":15104,"24":50,"16":134598421016215552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 10:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164859648001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926415961610186752,"description":"Unknown IO ID 45"} 
[2026-09-18 10:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134598421016215552,"km_value":134598421016215.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:12:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458164859648001,"power":13319,"unknown_45":8926415961610186752,"unknown_85":15104,"ignition":50,"odometer":null}} 
[2026-09-18 10:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":186042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:12:10] local.INFO: GPS data processed {"connection_id":186042,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:12:10] local.INFO: Acknowledgment sent {"connection_id":186042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:12:12] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:12:12] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:12:12] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:12:18] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:12:18] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:12:18] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:12:21] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:12:21] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:12:21] local.INFO: Packet analysis {"connection_id":188663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:12:21] local.INFO: Extracted packet for processing {"connection_id":188663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:12:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":188663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:12:21] local.INFO: GPS data processed {"connection_id":188663,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:12:21] local.INFO: Acknowledgment sent {"connection_id":188663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:12:41] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d1efd0012d7be58005dcdde8000000b221..."} 
[2026-09-18 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d1efd0012d7be58005dcdde8000000b221..."} 
[2026-09-18 10:12:41] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d1efd0012d7be58005dcdde8000000b221..."} 
[2026-09-18 10:12:41] local.INFO: Packet analysis {"connection_id":186042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d1"} 
[2026-09-18 10:12:41] local.INFO: Extracted packet for processing {"connection_id":186042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d1"} 
[2026-09-18 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":98360808,"longitude_deg":76.30944,"latitude_deg":9.8360808,"altitude":0,"angle":178,"satellites":33,"speed":47,"hex_longitude":"2d7be580","hex_latitude":"05dcdde8","is_valid_coordinates":true} 
[2026-09-18 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164861440001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134598893462618112,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386538027008,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] 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-09-18 10:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789706498000,"timestamp_ms":1789706498000,"timestamp_seconds":1789706498,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d1efd0"} 
[2026-09-18 10:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57842201489462587,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3512938497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-139611588437466880,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2133655758,"corrected_to":0} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3221609910,"corrected_to":0} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3722006528,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.WARNING: Large IO value detected {"io_id":209,"raw_value":1236239392574455813,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,48,160,181,38,32,10,66,153,74,27,47,126,128,1,240,62,227,178,221,4,113,205,51,71,204,112,34,239,52,2,222,5,209],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2133655758,"validated":0},{"io_id":204,"original":3221609910,"validated":0}]} 
[2026-09-18 10:12:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194755295313920,"timestamp_seconds":194755295313.92,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:12:41] 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-09-18 10:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164861440001,"66":13559,"186":206,"85":15104,"24":47,"16":134598893462618112,"45":8927260386538027008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164861440001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:12:41] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134598893462618112,"km_value":134598893462618.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386538027008,"description":"Unknown IO ID 45"} 
[2026-09-18 10:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164861440001,"power":13559,"unknown_186":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8927260386538027008}} 
[2026-09-18 10:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":186042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:12:41] local.INFO: GPS data processed {"connection_id":186042,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:12:41] local.INFO: Acknowledgment sent {"connection_id":186042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:12:58] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:12:58] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:12:58] local.INFO: Packet analysis {"connection_id":188663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:12:58] local.INFO: Extracted packet for processing {"connection_id":188663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:12: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-09-18 10:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":188663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:12:58] local.INFO: GPS data processed {"connection_id":188663,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:12:58] local.INFO: Acknowledgment sent {"connection_id":188663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:13:02] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:02] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:02] local.INFO: IMEI packet received {"connection_id":185885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":185885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:13:05] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:05] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:05] local.INFO: IMEI packet received {"connection_id":185885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":185885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:13:08] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:08] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:13:08] local.INFO: IMEI packet received {"connection_id":185885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":185885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:13:09] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d20f10012d7be70005dcbb18000000b31e..."} 
[2026-09-18 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d20f10012d7be70005dcbb18000000b31e..."} 
[2026-09-18 10:13:09] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d20f10012d7be70005dcbb18000000b31e..."} 
[2026-09-18 10:13:09] local.INFO: Packet analysis {"connection_id":185885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:13:09] local.INFO: Extracted packet for processing {"connection_id":185885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":98351896,"longitude_deg":76.3094784,"latitude_deg":9.8351896,"altitude":0,"angle":179,"satellites":30,"speed":41,"hex_longitude":"2d7be700","hex_latitude":"05dcbb18","is_valid_coordinates":true} 
[2026-09-18 10:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164863488001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134599327254315008,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599000598528,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:09] 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-09-18 10:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789706506000,"timestamp_ms":1789706506000,"timestamp_seconds":1789706506,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d20f10"} 
[2026-09-18 10:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 10:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:13:09] 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-09-18 10:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164863488001,"66":13493,"186":206,"85":15104,"24":41,"16":134599327254315008,"45":8927682599000598528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164863488001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:13:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134599327254315008,"km_value":134599327254315.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599000598528,"description":"Unknown IO ID 45"} 
[2026-09-18 10:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164863488001,"power":13493,"unknown_186":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8927682599000598528}} 
[2026-09-18 10:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":185885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:13:09] local.INFO: GPS data processed {"connection_id":185885,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:13:09] local.INFO: Acknowledgment sent {"connection_id":185885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:13:12] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:13:12] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:13:12] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:13:18] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:13:18] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:13:18] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:13:20] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:13:20] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:13:20] local.INFO: Packet analysis {"connection_id":188664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:13:20] local.INFO: Extracted packet for processing {"connection_id":188664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":188664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:13:20] local.INFO: GPS data processed {"connection_id":188664,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:13:20] local.INFO: Acknowledgment sent {"connection_id":188664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:13:40] local.INFO: TCP Data received {"connection_id":185885,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d35730012d7c1a8005db3098000000a51e..."} 
[2026-09-18 10:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d35730012d7c1a8005db3098000000a51e..."} 
[2026-09-18 10:13:40] local.INFO: Processing buffer {"connection_id":185885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d35730012d7c1a8005db3098000000a51e..."} 
[2026-09-18 10:13:40] local.INFO: Packet analysis {"connection_id":185885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:13:40] local.INFO: Extracted packet for processing {"connection_id":185885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763107968,"raw_latitude":98250904,"longitude_deg":76.3107968,"latitude_deg":9.8250904,"altitude":0,"angle":165,"satellites":30,"speed":50,"hex_longitude":"2d7c1a80","hex_latitude":"05db3098","is_valid_coordinates":true} 
[2026-09-18 10:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164885248001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134604283646574592,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940208235438307328,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:40] 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-09-18 10:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789706590000,"timestamp_ms":1789706590000,"timestamp_seconds":1789706590,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d35730"} 
[2026-09-18 10:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 10:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:13:40] 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-09-18 10:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164885248001,"66":13526,"185":206,"85":15104,"24":50,"16":134604283646574592,"45":8940208235438307328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 10:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164885248001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:13:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 10:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134604283646574592,"km_value":134604283646574.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940208235438307328,"description":"Unknown IO ID 45"} 
[2026-09-18 10:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164885248001,"power":13526,"unknown_185":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8940208235438307328}} 
[2026-09-18 10:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":185885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:13:40] local.INFO: GPS data processed {"connection_id":185885,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:13:40] local.INFO: Acknowledgment sent {"connection_id":185885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:13:53] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:13:53] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:13:53] local.INFO: Packet analysis {"connection_id":188664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:13:53] local.INFO: Extracted packet for processing {"connection_id":188664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":188664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:13:53] local.INFO: GPS data processed {"connection_id":188664,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:13:53] local.INFO: Acknowledgment sent {"connection_id":188664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:14:08] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:08] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:08] local.INFO: IMEI packet received {"connection_id":185886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":185886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:14:08] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:08] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:08] local.INFO: IMEI packet received {"connection_id":185886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":185886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:14:12] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:14:12] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:14:12] local.INFO: IMEI packet received {"connection_id":186043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":186043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:14:13] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:13] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:14:13] local.INFO: IMEI packet received {"connection_id":185886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":185886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:14:15] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d37670012d7c248005db0af8000000a51d..."} 
[2026-09-18 10:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d37670012d7c248005db0af8000000a51d..."} 
[2026-09-18 10:14:15] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d37670012d7c248005db0af8000000a51d..."} 
[2026-09-18 10:14:15] local.INFO: Packet analysis {"connection_id":185886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:14:15] local.INFO: Extracted packet for processing {"connection_id":185886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763110528,"raw_latitude":98241272,"longitude_deg":76.3110528,"latitude_deg":9.8241272,"altitude":0,"angle":165,"satellites":29,"speed":45,"hex_longitude":"2d7c2480","hex_latitude":"05db0af8","is_valid_coordinates":true} 
[2026-09-18 10:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164887040001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134604764682911744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942600772738127872,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14: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-09-18 10:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789706598000,"timestamp_ms":1789706598000,"timestamp_seconds":1789706598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d37670"} 
[2026-09-18 10:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 10:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:14:15] 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-09-18 10:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164887040001,"66":13135,"185":206,"85":15104,"24":45,"16":134604764682911744,"45":8942600772738127872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 10:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164887040001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:14:15] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 10:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134604764682911744,"km_value":134604764682911.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942600772738127872,"description":"Unknown IO ID 45"} 
[2026-09-18 10:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164887040001,"power":13135,"unknown_185":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8942600772738127872}} 
[2026-09-18 10:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":185886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:14:15] local.INFO: GPS data processed {"connection_id":185886,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:14:15] local.INFO: Acknowledgment sent {"connection_id":185886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:14:16] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d395b0012d7c2d0005dae7e0000000a61f..."} 
[2026-09-18 10:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d395b0012d7c2d0005dae7e0000000a61f..."} 
[2026-09-18 10:14:16] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d395b0012d7c2d0005dae7e0000000a61f..."} 
[2026-09-18 10:14:16] local.INFO: Packet analysis {"connection_id":185886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:14:16] local.INFO: Extracted packet for processing {"connection_id":185886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763112704,"raw_latitude":98232288,"longitude_deg":76.3112704,"latitude_deg":9.8232288,"altitude":0,"angle":166,"satellites":31,"speed":37,"hex_longitude":"2d7c2d00","hex_latitude":"05dae7e0","is_valid_coordinates":true} 
[2026-09-18 10:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164889088001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134605215654477824,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945415522502768640,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:16] 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-09-18 10:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789706606000,"timestamp_ms":1789706606000,"timestamp_seconds":1789706606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d395b0"} 
[2026-09-18 10:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 10:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:14:16] 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-09-18 10:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164889088001,"66":13102,"186":206,"85":15104,"24":37,"16":134605215654477824,"45":8945415522502768640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164889088001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:14:16] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134605215654477824,"km_value":134605215654477.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945415522502768640,"description":"Unknown IO ID 45"} 
[2026-09-18 10:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164889088001,"power":13102,"unknown_186":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8945415522502768640}} 
[2026-09-18 10:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":185886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:14:16] local.INFO: GPS data processed {"connection_id":185886,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:14:16] local.INFO: Acknowledgment sent {"connection_id":185886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:14:18] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:14:18] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:14:18] local.INFO: IMEI packet received {"connection_id":186043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":186043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:14:19] local.INFO: TCP Data received {"connection_id":185886,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d3d430012d7c368005dac5c8000000a527..."} 
[2026-09-18 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d3d430012d7c368005dac5c8000000a527..."} 
[2026-09-18 10:14:19] local.INFO: Processing buffer {"connection_id":185886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d3d430012d7c368005dac5c8000000a527..."} 
[2026-09-18 10:14:19] local.INFO: Packet analysis {"connection_id":185886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:14:19] local.INFO: Extracted packet for processing {"connection_id":185886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":98223560,"longitude_deg":76.3115136,"latitude_deg":9.822356,"altitude":0,"angle":165,"satellites":39,"speed":34,"hex_longitude":"2d7c3680","hex_latitude":"05dac5c8","is_valid_coordinates":true} 
[2026-09-18 10:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164891136001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134605653741142016,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947808059802509312,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:19] 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-09-18 10:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706622000,"timestamp_ms":1789706622000,"timestamp_seconds":1789706622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d3d430"} 
[2026-09-18 10:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:14:19] 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-09-18 10:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164891136001,"66":13254,"186":206,"85":15104,"24":34,"16":134605653741142016,"45":8947808059802509312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164891136001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:14:19] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134605653741142016,"km_value":134605653741142.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947808059802509312,"description":"Unknown IO ID 45"} 
[2026-09-18 10:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164891136001,"power":13254,"unknown_186":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8947808059802509312}} 
[2026-09-18 10:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":185886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:14:19] local.INFO: GPS data processed {"connection_id":185886,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:14:19] local.INFO: Acknowledgment sent {"connection_id":185886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:14:20] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:14:20] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:14:20] local.INFO: Packet analysis {"connection_id":186043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:14:20] local.INFO: Extracted packet for processing {"connection_id":186043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":186043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:14:20] local.INFO: GPS data processed {"connection_id":186043,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:14:20] local.INFO: Acknowledgment sent {"connection_id":186043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:14:51] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:14:51] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:14:51] local.INFO: Packet analysis {"connection_id":186043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:14:51] local.INFO: Extracted packet for processing {"connection_id":186043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:14: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-09-18 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":186043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:14:51] local.INFO: GPS data processed {"connection_id":186043,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:14:51] local.INFO: Acknowledgment sent {"connection_id":186043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:15:04] local.INFO: TCP Data received {"connection_id":187341,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:15:04] local.INFO: Processing buffer {"connection_id":187341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:15:04] local.INFO: IMEI packet received {"connection_id":187341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":187341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:15:14] local.INFO: TCP Data received {"connection_id":187341,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 10:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187341,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 10:15:14] local.INFO: Processing buffer {"connection_id":187341,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 10:15:14] local.INFO: IMEI packet received {"connection_id":187341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":187341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:15:16] local.INFO: TCP Data received {"connection_id":187341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d3f758012d7c428005daa1c8000100a023..."} 
[2026-09-18 10:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d3f758012d7c428005daa1c8000100a023..."} 
[2026-09-18 10:15:16] local.INFO: Processing buffer {"connection_id":187341,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0b2..."} 
[2026-09-18 10:15:16] local.INFO: IMEI packet received {"connection_id":187341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":187341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:15:17] local.INFO: TCP Data received {"connection_id":187341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d41698012d7c4f0005da7e00000000a11f..."} 
[2026-09-18 10:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d41698012d7c4f0005da7e00000000a11f..."} 
[2026-09-18 10:15:17] local.INFO: Processing buffer {"connection_id":187341,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b2d3f758012d7c428005daa1c8000100a023..."} 
[2026-09-18 10:15:17] local.INFO: Packet analysis {"connection_id":187341,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:15:17] local.INFO: Extracted packet for processing {"connection_id":187341,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d3"} 
[2026-09-18 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":763118208,"raw_latitude":98214344,"longitude_deg":76.3118208,"latitude_deg":9.8214344,"altitude":1,"angle":160,"satellites":35,"speed":49,"hex_longitude":"2d7c4280","hex_latitude":"05daa1c8","is_valid_coordinates":true} 
[2026-09-18 10:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164895232001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134606126187544576,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482072079026176,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15: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-09-18 10:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789706631000,"timestamp_ms":1789706631000,"timestamp_seconds":1789706631,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d3f758"} 
[2026-09-18 10:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 10:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:15:17] 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-09-18 10:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164895232001,"66":13450,"186":206,"85":15104,"24":49,"16":134606126187544576,"45":8950482072079026176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164895232001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134606126187544576,"km_value":134606126187544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482072079026176,"description":"Unknown IO ID 45"} 
[2026-09-18 10:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164895232001,"power":13450,"unknown_186":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8950482072079026176}} 
[2026-09-18 10:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":187341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:15:17] local.INFO: GPS data processed {"connection_id":187341,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:15:17] local.INFO: Acknowledgment sent {"connection_id":187341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:15:17] local.INFO: Packet analysis {"connection_id":187341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d4"} 
[2026-09-18 10:15:17] local.INFO: Extracted packet for processing {"connection_id":187341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d4"} 
[2026-09-18 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":763121408,"raw_latitude":98205184,"longitude_deg":76.3121408,"latitude_deg":9.8205184,"altitude":0,"angle":161,"satellites":31,"speed":49,"hex_longitude":"2d7c4f00","hex_latitude":"05da7e00","is_valid_coordinates":true} 
[2026-09-18 10:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164897536001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134606594338979840,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953859771797194752,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15: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-09-18 10:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789706639000,"timestamp_ms":1789706639000,"timestamp_seconds":1789706639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d41698"} 
[2026-09-18 10:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 10:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:15:17] 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-09-18 10:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164897536001,"66":13493,"186":206,"85":15104,"24":49,"16":134606594338979840,"45":8953859771797194752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164897536001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134606594338979840,"km_value":134606594338979.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953859771797194752,"description":"Unknown IO ID 45"} 
[2026-09-18 10:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164897536001,"power":13493,"unknown_186":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8953859771797194752}} 
[2026-09-18 10:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":187341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:15:17] local.INFO: GPS data processed {"connection_id":187341,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:15:17] local.INFO: Acknowledgment sent {"connection_id":187341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:15:18] local.INFO: TCP Data received {"connection_id":187341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d431f0012d7c5b0005da5b80000200a01e..."} 
[2026-09-18 10:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d431f0012d7c5b0005da5b80000200a01e..."} 
[2026-09-18 10:15:18] local.INFO: Processing buffer {"connection_id":187341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d431f0012d7c5b0005da5b80000200a01e..."} 
[2026-09-18 10:15:18] local.INFO: Packet analysis {"connection_id":187341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d4"} 
[2026-09-18 10:15:18] local.INFO: Extracted packet for processing {"connection_id":187341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d4"} 
[2026-09-18 10:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763124480,"raw_latitude":98196352,"longitude_deg":76.312448,"latitude_deg":9.8196352,"altitude":2,"angle":160,"satellites":30,"speed":54,"hex_longitude":"2d7c5b00","hex_latitude":"05da5b80","is_valid_coordinates":true} 
[2026-09-18 10:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164899584001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134607049605513216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957378209003732992,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:18] 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-09-18 10:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789706646000,"timestamp_ms":1789706646000,"timestamp_seconds":1789706646,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d431f0"} 
[2026-09-18 10:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 10:15:18] 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-09-18 10:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:15: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-09-18 10:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164899584001,"66":13526,"186":206,"85":15104,"24":54,"16":134607049605513216,"45":8957378209003732992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-18 10:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164899584001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:15:18] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 10:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134607049605513216,"km_value":134607049605513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957378209003732992,"description":"Unknown IO ID 45"} 
[2026-09-18 10:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164899584001,"power":13526,"unknown_186":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8957378209003732992}} 
[2026-09-18 10:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":187341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:15:18] local.INFO: GPS data processed {"connection_id":187341,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:15:18] local.INFO: Acknowledgment sent {"connection_id":187341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:15:18] local.INFO: TCP Data received {"connection_id":188665,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:15:18] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:15:18] local.INFO: IMEI packet received {"connection_id":188665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":188665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:15:23] local.INFO: TCP Data received {"connection_id":188665,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:15:23] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:15:23] local.INFO: IMEI packet received {"connection_id":188665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":188665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:15:24] local.INFO: TCP Data received {"connection_id":188665,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:15:24] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:15:24] local.INFO: Packet analysis {"connection_id":188665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:15:24] local.INFO: Extracted packet for processing {"connection_id":188665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":188665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:15:24] local.INFO: GPS data processed {"connection_id":188665,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:15:24] local.INFO: Acknowledgment sent {"connection_id":188665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:15:28] local.INFO: TCP Data received {"connection_id":188665,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:15:28] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:15:28] local.INFO: Packet analysis {"connection_id":188665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:15:28] local.INFO: Extracted packet for processing {"connection_id":188665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:15:28] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:15:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:15:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":188665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:15:28] local.INFO: GPS data processed {"connection_id":188665,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:15:28] local.INFO: Acknowledgment sent {"connection_id":188665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:16:03] local.INFO: TCP Data received {"connection_id":187342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:16:03] local.INFO: Processing buffer {"connection_id":187342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:16:03] local.INFO: IMEI packet received {"connection_id":187342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":187342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:16:08] local.INFO: TCP Data received {"connection_id":187342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:16:08] local.INFO: Processing buffer {"connection_id":187342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:16:08] local.INFO: IMEI packet received {"connection_id":187342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":187342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:16:09] local.INFO: TCP Data received {"connection_id":187342,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d57a10012d7c99c005d895d0000000b120..."} 
[2026-09-18 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d57a10012d7c99c005d895d0000000b120..."} 
[2026-09-18 10:16:09] local.INFO: Processing buffer {"connection_id":187342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d57a10012d7c99c005d895d0000000b120..."} 
[2026-09-18 10:16:09] local.INFO: Packet analysis {"connection_id":187342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d5"} 
[2026-09-18 10:16:09] local.INFO: Extracted packet for processing {"connection_id":187342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d5"} 
[2026-09-18 10:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763140544,"raw_latitude":98080208,"longitude_deg":76.3140544,"latitude_deg":9.8080208,"altitude":0,"angle":177,"satellites":32,"speed":53,"hex_longitude":"2d7c99c0","hex_latitude":"05d895d0","is_valid_coordinates":true} 
[2026-09-18 10:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164921088001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134612744732147712,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977785144785612800,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:09] 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-09-18 10:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789706730000,"timestamp_ms":1789706730000,"timestamp_seconds":1789706730,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d57a10"} 
[2026-09-18 10:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 10:16:09] 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-09-18 10:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:16:09] 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-09-18 10:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164921088001,"66":13363,"197":206,"85":15104,"24":53,"16":134612744732147712,"45":8977785144785612800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-18 10:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164921088001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:16:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 10:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134612744732147712,"km_value":134612744732147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977785144785612800,"description":"Unknown IO ID 45"} 
[2026-09-18 10:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164921088001,"power":13363,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8977785144785612800}} 
[2026-09-18 10:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":187342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:16:09] local.INFO: GPS data processed {"connection_id":187342,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:16:09] local.INFO: Acknowledgment sent {"connection_id":187342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:16:12] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:16:12] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:16:12] local.INFO: IMEI packet received {"connection_id":188666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":188666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:16:18] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:16:18] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:16:18] local.INFO: IMEI packet received {"connection_id":188666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":188666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:16:19] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:16:19] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:16:19] local.INFO: Packet analysis {"connection_id":188666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:16:19] local.INFO: Extracted packet for processing {"connection_id":188666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:16:19] local.INFO: GPS data processed {"connection_id":188666,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:16:19] local.INFO: Acknowledgment sent {"connection_id":188666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:16:40] local.INFO: TCP Data received {"connection_id":187342,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d59568012d7c9c0005d87140000000b01f..."} 
[2026-09-18 10:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d59568012d7c9c0005d87140000000b01f..."} 
[2026-09-18 10:16:40] local.INFO: Processing buffer {"connection_id":187342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d59568012d7c9c0005d87140000000b01f..."} 
[2026-09-18 10:16:40] local.INFO: Packet analysis {"connection_id":187342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d5"} 
[2026-09-18 10:16:40] local.INFO: Extracted packet for processing {"connection_id":187342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d5"} 
[2026-09-18 10:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763141120,"raw_latitude":98070848,"longitude_deg":76.314112,"latitude_deg":9.8070848,"altitude":0,"angle":176,"satellites":31,"speed":53,"hex_longitude":"2d7c9c00","hex_latitude":"05d87140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164922880001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134613199998681088,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978418463480860672,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:40] 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-09-18 10:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789706737000,"timestamp_ms":1789706737000,"timestamp_seconds":1789706737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d59568"} 
[2026-09-18 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-09-18 10:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 10:16:40] 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-09-18 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-09-18 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-09-18 10:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:16:40] 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-09-18 10:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164922880001,"66":13428,"197":206,"85":15104,"24":53,"16":134613199998681088,"45":8978418463480860672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-18 10:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164922880001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134613199998681088,"km_value":134613199998681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978418463480860672,"description":"Unknown IO ID 45"} 
[2026-09-18 10:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164922880001,"power":13428,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8978418463480860672}} 
[2026-09-18 10:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":187342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:16:40] local.INFO: GPS data processed {"connection_id":187342,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:16:40] local.INFO: Acknowledgment sent {"connection_id":187342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:16:50] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:16:50] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d26cd0012d34c0c006aa3f90002f006f1f..."} 
[2026-09-18 10:16:50] local.INFO: Packet analysis {"connection_id":188666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:16:50] local.INFO: Extracted packet for processing {"connection_id":188666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d2"} 
[2026-09-18 10:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820688,"longitude_deg":75.8431936,"latitude_deg":11.1820688,"altitude":47,"angle":111,"satellites":31,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-18 10:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164809216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289410560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789706530000,"timestamp_ms":1789706530000,"timestamp_seconds":1789706530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d26cd0"} 
[2026-09-18 10:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 10:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164809216001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3802093645289410560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164809216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289410560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164809216001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289410560}} 
[2026-09-18 10:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":188666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:16:50] local.INFO: GPS data processed {"connection_id":188666,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:16:50] local.INFO: Acknowledgment sent {"connection_id":188666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:16:56] local.INFO: TCP Data received {"connection_id":187340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:16:56] local.INFO: Processing buffer {"connection_id":187340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:16:56] local.INFO: IMEI packet received {"connection_id":187340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":187340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:17:02] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:02] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:02] local.INFO: IMEI packet received {"connection_id":185887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":185887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:17:05] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:05] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:05] local.INFO: IMEI packet received {"connection_id":185887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":185887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:17:08] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:08] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:17:08] local.INFO: IMEI packet received {"connection_id":185887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":185887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:17:09] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d5b0c0012d7c9e0005d84d18000000b120..."} 
[2026-09-18 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d5b0c0012d7c9e0005d84d18000000b120..."} 
[2026-09-18 10:17:09] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d5b0c0012d7c9e0005d84d18000000b120..."} 
[2026-09-18 10:17:09] local.INFO: Packet analysis {"connection_id":185887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d5"} 
[2026-09-18 10:17:09] local.INFO: Extracted packet for processing {"connection_id":185887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d5"} 
[2026-09-18 10:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763141632,"raw_latitude":98061592,"longitude_deg":76.3141632,"latitude_deg":9.8061592,"altitude":0,"angle":177,"satellites":32,"speed":53,"hex_longitude":"2d7c9e00","hex_latitude":"05d84d18","is_valid_coordinates":true} 
[2026-09-18 10:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164924672001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134613650970247168,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979051782176063488,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:09] 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-09-18 10:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789706744000,"timestamp_ms":1789706744000,"timestamp_seconds":1789706744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d5b0c0"} 
[2026-09-18 10:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 10:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:17:09] 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-09-18 10:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164924672001,"66":13341,"197":206,"85":15104,"24":53,"16":134613650970247168,"45":8979051782176063488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-18 10:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164924672001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:17:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 10:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134613650970247168,"km_value":134613650970247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979051782176063488,"description":"Unknown IO ID 45"} 
[2026-09-18 10:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164924672001,"power":13341,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8979051782176063488}} 
[2026-09-18 10:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":185887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:17:09] local.INFO: GPS data processed {"connection_id":185887,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:17:09] local.INFO: Acknowledgment sent {"connection_id":185887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:17:13] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:13] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:13] local.INFO: IMEI packet received {"connection_id":185888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":185888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:17:14] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:14] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:14] local.INFO: IMEI packet received {"connection_id":185888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":185888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:17:18] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:18] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:17:18] local.INFO: IMEI packet received {"connection_id":185888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":185888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:17:20] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:20] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:20] local.INFO: Packet analysis {"connection_id":185888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:17:20] local.INFO: Extracted packet for processing {"connection_id":185888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":185888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:17:20] local.INFO: GPS data processed {"connection_id":185888,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:17:20] local.INFO: Acknowledgment sent {"connection_id":185888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:17:24] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:24] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:24] local.INFO: Packet analysis {"connection_id":185888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:17:24] local.INFO: Extracted packet for processing {"connection_id":185888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:17: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-09-18 10:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":185888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:17:24] local.INFO: GPS data processed {"connection_id":185888,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:17:24] local.INFO: Acknowledgment sent {"connection_id":185888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:17:40] local.INFO: TCP Data received {"connection_id":185887,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d723d8012d7ce78005d6b9a0000000aa1f..."} 
[2026-09-18 10:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d723d8012d7ce78005d6b9a0000000aa1f..."} 
[2026-09-18 10:17:40] local.INFO: Processing buffer {"connection_id":185887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d723d8012d7ce78005d6b9a0000000aa1f..."} 
[2026-09-18 10:17:40] local.INFO: Packet analysis {"connection_id":185887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:17:40] local.INFO: Extracted packet for processing {"connection_id":185887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763160448,"raw_latitude":97958304,"longitude_deg":76.3160448,"latitude_deg":9.7958304,"altitude":0,"angle":170,"satellites":31,"speed":43,"hex_longitude":"2d7ce780","hex_latitude":"05d6b9a0","is_valid_coordinates":true} 
[2026-09-18 10:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164948736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134618766276296704,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997840236845025280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789706839000,"timestamp_ms":1789706839000,"timestamp_seconds":1789706839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d723d8"} 
[2026-09-18 10:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 10:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:17:40] 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-09-18 10:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164948736001,"66":13135,"31":206,"85":15104,"24":43,"16":134618766276296704,"45":8997840236845025280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-09-18 10:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164948736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:17:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 10:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134618766276296704,"km_value":134618766276296.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997840236845025280,"description":"Unknown IO ID 45"} 
[2026-09-18 10:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164948736001,"power":13135,"unknown_31":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8997840236845025280}} 
[2026-09-18 10:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":185887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:17:40] local.INFO: GPS data processed {"connection_id":185887,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:17:40] local.INFO: Acknowledgment sent {"connection_id":185887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:17:58] local.INFO: TCP Data received {"connection_id":185888,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:58] local.INFO: Processing buffer {"connection_id":185888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:17:58] local.INFO: Packet analysis {"connection_id":185888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:17:58] local.INFO: Extracted packet for processing {"connection_id":185888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:17: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-09-18 10:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:17:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:17:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":185888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:17:58] local.INFO: GPS data processed {"connection_id":185888,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:17:58] local.INFO: Acknowledgment sent {"connection_id":185888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:18:02] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:18:02] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:18:02] local.INFO: IMEI packet received {"connection_id":186044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":186044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:18:08] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:18:08] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:18:08] local.INFO: IMEI packet received {"connection_id":186044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":186044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:18:08] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d74ae8012d7ced4005d69738000000a922..."} 
[2026-09-18 10:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d74ae8012d7ced4005d69738000000a922..."} 
[2026-09-18 10:18:08] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d74ae8012d7ced4005d69738000000a922..."} 
[2026-09-18 10:18:08] local.INFO: Packet analysis {"connection_id":186044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:18:08] local.INFO: Extracted packet for processing {"connection_id":186044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763161920,"raw_latitude":97949496,"longitude_deg":76.316192,"latitude_deg":9.7949496,"altitude":0,"angle":169,"satellites":34,"speed":25,"hex_longitude":"2d7ced40","hex_latitude":"05d69738","is_valid_coordinates":true} 
[2026-09-18 10:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164950784001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134619200067993600,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000303142888906752,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789706849000,"timestamp_ms":1789706849000,"timestamp_seconds":1789706849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d74ae8"} 
[2026-09-18 10:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 10:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:18:08] 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-09-18 10:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164950784001,"66":13135,"31":206,"85":15104,"24":25,"16":134619200067993600,"45":9000303142888906752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-09-18 10:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164950784001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:18:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 10:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134619200067993600,"km_value":134619200067993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000303142888906752,"description":"Unknown IO ID 45"} 
[2026-09-18 10:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164950784001,"power":13135,"unknown_31":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9000303142888906752}} 
[2026-09-18 10:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":186044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:18:08] local.INFO: GPS data processed {"connection_id":186044,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:18:08] local.INFO: Acknowledgment sent {"connection_id":186044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:18:12] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:18:12] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:18:12] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:18:19] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:18:19] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:18:19] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:18:21] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:18:21] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:18:21] local.INFO: Packet analysis {"connection_id":188667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:18:21] local.INFO: Extracted packet for processing {"connection_id":188667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:18:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":188667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:18:21] local.INFO: GPS data processed {"connection_id":188667,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:18:21] local.INFO: Acknowledgment sent {"connection_id":188667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:18:45] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d76258012d7cf00005d68f100002009b25..."} 
[2026-09-18 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d76258012d7cf00005d68f100002009b25..."} 
[2026-09-18 10:18:45] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d76258012d7cf00005d68f100002009b25..."} 
[2026-09-18 10:18:45] local.INFO: Packet analysis {"connection_id":186044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:18:45] local.INFO: Extracted packet for processing {"connection_id":186044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763162624,"raw_latitude":97947408,"longitude_deg":76.3162624,"latitude_deg":9.7947408,"altitude":2,"angle":155,"satellites":37,"speed":10,"hex_longitude":"2d7cf000","hex_latitude":"05d68f10","is_valid_coordinates":true} 
[2026-09-18 10:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164953344001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134619303147208704,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001921624002738176,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789706855000,"timestamp_ms":1789706855000,"timestamp_seconds":1789706855,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d76258"} 
[2026-09-18 10:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 10:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:18:45] 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-09-18 10:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164953344001,"66":13417,"31":206,"85":15104,"24":10,"16":134619303147208704,"45":9001921624002738176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-09-18 10:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164953344001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:18:45] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 10:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134619303147208704,"km_value":134619303147208.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001921624002738176,"description":"Unknown IO ID 45"} 
[2026-09-18 10:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164953344001,"power":13417,"unknown_31":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9001921624002738176}} 
[2026-09-18 10:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":186044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:18:45] local.INFO: GPS data processed {"connection_id":186044,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:18:45] local.INFO: Acknowledgment sent {"connection_id":186044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:18:52] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:18:52] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:18:52] local.INFO: Packet analysis {"connection_id":188667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:18:52] local.INFO: Extracted packet for processing {"connection_id":188667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:18: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-09-18 10:18: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-09-18 10:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":188667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:18:52] local.INFO: GPS data processed {"connection_id":188667,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:18:52] local.INFO: Acknowledgment sent {"connection_id":188667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:19:07] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:07] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:07] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:19:08] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:08] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:08] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:19:12] local.INFO: TCP Data received {"connection_id":187344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:19:12] local.INFO: Processing buffer {"connection_id":187344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:19:12] local.INFO: IMEI packet received {"connection_id":187344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":187344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:19:13] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:13] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:19:13] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:19:16] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d775e0012d7cf1c005d689a8000200a728..."} 
[2026-09-18 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d775e0012d7cf1c005d689a8000200a728..."} 
[2026-09-18 10:19:16] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d775e0012d7cf1c005d689a8000200a728..."} 
[2026-09-18 10:19:16] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:16] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763163072,"raw_latitude":97946024,"longitude_deg":76.3163072,"latitude_deg":9.7946024,"altitude":2,"angle":167,"satellites":40,"speed":9,"hex_longitude":"2d7cf1c0","hex_latitude":"05d689a8","is_valid_coordinates":true} 
[2026-09-18 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164954880001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134619376161652736,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002695680188157952,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:16] 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-09-18 10:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789706860000,"timestamp_ms":1789706860000,"timestamp_seconds":1789706860,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d775e0"} 
[2026-09-18 10:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 10:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:19:16] 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-09-18 10:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164954880001,"66":12982,"30":206,"85":15104,"24":9,"16":134619376161652736,"45":9002695680188157952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-18 10:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164954880001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:19:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 10:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134619376161652736,"km_value":134619376161652.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002695680188157952,"description":"Unknown IO ID 45"} 
[2026-09-18 10:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164954880001,"power":12982,"unknown_30":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9002695680188157952}} 
[2026-09-18 10:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:19:16] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:19:16] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:19:18] local.INFO: TCP Data received {"connection_id":187344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:19:18] local.INFO: Processing buffer {"connection_id":187344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:19:18] local.INFO: IMEI packet received {"connection_id":187344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":187344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:19:19] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.16","data_length":1340,"data_hex":"000000000000030f8e0a000001a0b2d7bc30012d7cf84005d665c8000800a622..."} 
[2026-09-18 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0b2d7bc30012d7cf84005d665c8000800a622..."} 
[2026-09-18 10:19:19] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0b2d7bc30012d7cf84005d665c8000800a622..."} 
[2026-09-18 10:19:19] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:19] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763164736,"raw_latitude":97936840,"longitude_deg":76.3164736,"latitude_deg":9.793684,"altitude":8,"angle":166,"satellites":34,"speed":28,"hex_longitude":"2d7cf840","hex_latitude":"05d665c8","is_valid_coordinates":true} 
[2026-09-18 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164956160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134619831428186112,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003188261397047296,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] 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-09-18 10:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706878000,"timestamp_ms":1789706878000,"timestamp_seconds":1789706878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d7bc30"} 
[2026-09-18 10:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 10:19:19] 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-09-18 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:19:19] 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-09-18 10:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164956160001,"66":13428,"30":206,"85":15104,"24":28,"16":134619831428186112,"45":9003188261397047296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164956160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134619831428186112,"km_value":134619831428186.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003188261397047296,"description":"Unknown IO ID 45"} 
[2026-09-18 10:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164956160001,"power":13428,"unknown_30":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9003188261397047296}} 
[2026-09-18 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:19:19] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:19:19] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:19:19] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:19] local.INFO: Incomplete packet, waiting for more data {"connection_id":186045,"needed":795,"available":545} 
[2026-09-18 10:19:19] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.16","data_length":250,"data_hex":"e3001001de42a300000000000001a0b2d6e558012d7cd48005d700d0000000a1..."} 
[2026-09-18 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":250,"packet_hex":"e3001001de42a300000000000001a0b2d6e558012d7cd48005d700d0000000a1..."} 
[2026-09-18 10:19:19] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d7eb10012d7d004005d64318000800a422..."} 
[2026-09-18 10:19:19] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:19] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d7"} 
[2026-09-18 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763166784,"raw_latitude":97927960,"longitude_deg":76.3166784,"latitude_deg":9.792796,"altitude":8,"angle":164,"satellites":34,"speed":30,"hex_longitude":"2d7d0040","hex_latitude":"05d64318","is_valid_coordinates":true} 
[2026-09-18 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164960768001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134620269514850304,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005017848743315456,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] 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-09-18 10:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706890000,"timestamp_ms":1789706890000,"timestamp_seconds":1789706890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d7eb10"} 
[2026-09-18 10:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 10:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:19:19] 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-09-18 10:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164960768001,"66":13559,"195":206,"85":15104,"24":30,"16":134620269514850304,"45":9005017848743315456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164960768001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134620269514850304,"km_value":134620269514850.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005017848743315456,"description":"Unknown IO ID 45"} 
[2026-09-18 10:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164960768001,"power":13559,"unknown_195":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9005017848743315456}} 
[2026-09-18 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:19:19] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:19:19] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:19:19] local.INFO: TCP Data received {"connection_id":187344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:19:19] local.INFO: Processing buffer {"connection_id":187344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:19:19] local.INFO: Packet analysis {"connection_id":187344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:19:19] local.INFO: Extracted packet for processing {"connection_id":187344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":187344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:19:19] local.INFO: GPS data processed {"connection_id":187344,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:19:19] local.INFO: Acknowledgment sent {"connection_id":187344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:19:51] local.INFO: TCP Data received {"connection_id":187344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:19:51] local.INFO: Processing buffer {"connection_id":187344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:19:51] local.INFO: Packet analysis {"connection_id":187344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:19:51] local.INFO: Extracted packet for processing {"connection_id":187344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:19:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":187344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:19:51] local.INFO: GPS data processed {"connection_id":187344,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:19:51] local.INFO: Acknowledgment sent {"connection_id":187344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:20:03] local.INFO: TCP Data received {"connection_id":187345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:20:03] local.INFO: Processing buffer {"connection_id":187345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:20:03] local.INFO: IMEI packet received {"connection_id":187345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":187345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:20:06] local.INFO: TCP Data received {"connection_id":187345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:20:06] local.INFO: Processing buffer {"connection_id":187345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:20:06] local.INFO: IMEI packet received {"connection_id":187345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":187345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:20:06] local.INFO: TCP Data received {"connection_id":187345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d92b60012d7d2fc005d578e00008009127..."} 
[2026-09-18 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d92b60012d7d2fc005d578e00008009127..."} 
[2026-09-18 10:20:06] local.INFO: Processing buffer {"connection_id":187345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d92b60012d7d2fc005d578e00008009127..."} 
[2026-09-18 10:20:06] local.INFO: Packet analysis {"connection_id":187345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d9"} 
[2026-09-18 10:20:06] local.INFO: Extracted packet for processing {"connection_id":187345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d9"} 
[2026-09-18 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97876192,"longitude_deg":76.3178944,"latitude_deg":9.7876192,"altitude":8,"angle":145,"satellites":39,"speed":4,"hex_longitude":"2d7d2fc0","hex_latitude":"05d578e0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134622889444900864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341191084032,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789706972000,"timestamp_ms":1789706972000,"timestamp_seconds":1789706972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d92b60"} 
[2026-09-18 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-09-18 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 10:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 10:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:20:06] 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-09-18 10:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164984576001,"66":13526,"253":206,"85":15104,"24":4,"16":134622889444900864,"45":9020569341191084032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-18 10:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:20:06] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-18 10:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134622889444900864,"km_value":134622889444900.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341191084032,"description":"Unknown IO ID 45"} 
[2026-09-18 10:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164984576001,"power":13526,"unknown_253":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9020569341191084032}} 
[2026-09-18 10:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":187345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:20:06] local.INFO: GPS data processed {"connection_id":187345,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:20:06] local.INFO: Acknowledgment sent {"connection_id":187345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:20:08] local.INFO: TCP Data received {"connection_id":187345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d92f48012d7d304005d578880008007e28..."} 
[2026-09-18 10:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d92f48012d7d304005d578880008007e28..."} 
[2026-09-18 10:20:08] local.INFO: Processing buffer {"connection_id":187345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d92f48012d7d304005d578880008007e28..."} 
[2026-09-18 10:20:08] local.INFO: Packet analysis {"connection_id":187345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d9"} 
[2026-09-18 10:20:08] local.INFO: Extracted packet for processing {"connection_id":187345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d9"} 
[2026-09-18 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":97876104,"longitude_deg":76.3179072,"latitude_deg":9.7876104,"altitude":8,"angle":126,"satellites":40,"speed":6,"hex_longitude":"2d7d3040","hex_latitude":"05d57888","is_valid_coordinates":true} 
[2026-09-18 10:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164984832001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134622898034835456,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709935230976,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789706973000,"timestamp_ms":1789706973000,"timestamp_seconds":1789706973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d92f48"} 
[2026-09-18 10:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:20: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-09-18 10:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 10:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:20:08] 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-09-18 10:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164984832001,"66":13461,"253":206,"85":15104,"24":6,"16":134622898034835456,"45":9020639709935230976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-18 10:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164984832001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:20:08] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-18 10:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134622898034835456,"km_value":134622898034835.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709935230976,"description":"Unknown IO ID 45"} 
[2026-09-18 10:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164984832001,"power":13461,"unknown_253":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9020639709935230976}} 
[2026-09-18 10:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":187345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:20:08] local.INFO: GPS data processed {"connection_id":187345,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:20:08] local.INFO: Acknowledgment sent {"connection_id":187345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:20:18] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:20:18] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:20:18] local.INFO: IMEI packet received {"connection_id":185889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":185889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:20:23] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:20:23] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:20:23] local.INFO: IMEI packet received {"connection_id":185889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":185889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:20:24] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:20:24] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:20:24] local.INFO: Packet analysis {"connection_id":185889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:20:24] local.INFO: Extracted packet for processing {"connection_id":185889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:20: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-09-18 10:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":185889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:20:24] local.INFO: GPS data processed {"connection_id":185889,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:20:24] local.INFO: Acknowledgment sent {"connection_id":185889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:20:28] local.INFO: TCP Data received {"connection_id":185889,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:20:28] local.INFO: Processing buffer {"connection_id":185889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:20:28] local.INFO: Packet analysis {"connection_id":185889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:20:28] local.INFO: Extracted packet for processing {"connection_id":185889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:20:28] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:20: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-09-18 10:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:20:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:20:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":185889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:20:28] local.INFO: GPS data processed {"connection_id":185889,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:20:28] local.INFO: Acknowledgment sent {"connection_id":185889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:20:39] local.INFO: TCP Data received {"connection_id":187345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2da15c0012d7dd14005d571300006006927..."} 
[2026-09-18 10:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2da15c0012d7dd14005d571300006006927..."} 
[2026-09-18 10:20:39] local.INFO: Processing buffer {"connection_id":187345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2da15c0012d7dd14005d571300006006927..."} 
[2026-09-18 10:20:39] local.INFO: Packet analysis {"connection_id":187345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:20:39] local.INFO: Extracted packet for processing {"connection_id":187345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763220288,"raw_latitude":97874224,"longitude_deg":76.3220288,"latitude_deg":9.7874224,"altitude":6,"angle":105,"satellites":39,"speed":20,"hex_longitude":"2d7dd140","hex_latitude":"05d57130","is_valid_coordinates":true} 
[2026-09-18 10:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164999936001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134625002568810496,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065534968720113664,"note":"Value kept but may cause issues"} 
[2026-09-18 10:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789707032000,"timestamp_ms":1789707032000,"timestamp_seconds":1789707032,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2da15c0"} 
[2026-09-18 10:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 10:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:20:39] 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-09-18 10:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164999936001,"66":13428,"253":206,"85":15104,"24":20,"16":134625002568810496,"45":9065534968720113664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-18 10:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164999936001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:20:39] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-18 10:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134625002568810496,"km_value":134625002568810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065534968720113664,"description":"Unknown IO ID 45"} 
[2026-09-18 10:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164999936001,"power":13428,"unknown_253":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9065534968720113664}} 
[2026-09-18 10:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":187345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:20:39] local.INFO: GPS data processed {"connection_id":187345,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:20:39] local.INFO: Acknowledgment sent {"connection_id":187345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:21:02] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:02] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:02] local.INFO: IMEI packet received {"connection_id":188668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":188668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:21:08] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:08] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:08] local.INFO: IMEI packet received {"connection_id":188668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:21:13] local.INFO: TCP Data received {"connection_id":185890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:21:13] local.INFO: Processing buffer {"connection_id":185890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:21:13] local.INFO: IMEI packet received {"connection_id":185890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":185890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:21:15] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:15] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:21:15] local.INFO: IMEI packet received {"connection_id":188668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":188668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:21:18] local.INFO: TCP Data received {"connection_id":185890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:21:18] local.INFO: Processing buffer {"connection_id":185890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:21:18] local.INFO: IMEI packet received {"connection_id":185890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":185890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:21:20] local.INFO: TCP Data received {"connection_id":185890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:21:20] local.INFO: Processing buffer {"connection_id":185890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:21:20] local.INFO: Packet analysis {"connection_id":185890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:21:20] local.INFO: Extracted packet for processing {"connection_id":185890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":185890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:21:20] local.INFO: GPS data processed {"connection_id":185890,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:21:20] local.INFO: Acknowledgment sent {"connection_id":185890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:21:24] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2da1d90012d7dd5c005d570d00005005c25..."} 
[2026-09-18 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2da1d90012d7dd5c005d570d00005005c25..."} 
[2026-09-18 10:21:24] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2da1d90012d7dd5c005d570d00005005c25..."} 
[2026-09-18 10:21:24] local.INFO: Packet analysis {"connection_id":188668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:21:24] local.INFO: Extracted packet for processing {"connection_id":188668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763221440,"raw_latitude":97874128,"longitude_deg":76.322144,"latitude_deg":9.7874128,"altitude":5,"angle":92,"satellites":37,"speed":26,"hex_longitude":"2d7dd5c0","hex_latitude":"05d570d0","is_valid_coordinates":true} 
[2026-09-18 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165000192001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134625054108418048,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066097918673498112,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789707034000,"timestamp_ms":1789707034000,"timestamp_seconds":1789707034,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2da1d90"} 
[2026-09-18 10:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 10:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165000192001,"66":13602,"253":206,"85":15104,"24":26,"16":134625054108418048,"45":9066097918673498112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-18 10:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165000192001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:21:24] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-18 10:21:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134625054108418048,"km_value":134625054108418.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066097918673498112,"description":"Unknown IO ID 45"} 
[2026-09-18 10:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165000192001,"power":13602,"unknown_253":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9066097918673498112}} 
[2026-09-18 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":188668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:21:24] local.INFO: GPS data processed {"connection_id":188668,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:21:24] local.INFO: Acknowledgment sent {"connection_id":188668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:21:25] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2da2560012d7ddb0005d571600006005025..."} 
[2026-09-18 10:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2da2560012d7ddb0005d571600006005025..."} 
[2026-09-18 10:21:25] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2da2560012d7ddb0005d571600006005025..."} 
[2026-09-18 10:21:25] local.INFO: Packet analysis {"connection_id":188668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:21:25] local.INFO: Extracted packet for processing {"connection_id":188668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763222784,"raw_latitude":97874272,"longitude_deg":76.3222784,"latitude_deg":9.7874272,"altitude":6,"angle":80,"satellites":37,"speed":26,"hex_longitude":"2d7ddb00","hex_latitude":"05d57160","is_valid_coordinates":true} 
[2026-09-18 10:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165000704001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134625122827894784,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067364556068671488,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789707036000,"timestamp_ms":1789707036000,"timestamp_seconds":1789707036,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2da2560"} 
[2026-09-18 10:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 10:21:25] 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-09-18 10:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165000704001,"66":13319,"253":206,"85":15104,"24":26,"16":134625122827894784,"45":9067364556068671488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-18 10:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165000704001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:21:25] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-18 10:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134625122827894784,"km_value":134625122827894.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067364556068671488,"description":"Unknown IO ID 45"} 
[2026-09-18 10:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165000704001,"power":13319,"unknown_253":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9067364556068671488}} 
[2026-09-18 10:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":188668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:21:25] local.INFO: GPS data processed {"connection_id":188668,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:21:25] local.INFO: Acknowledgment sent {"connection_id":188668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:21:52] local.INFO: TCP Data received {"connection_id":185890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:21:52] local.INFO: Processing buffer {"connection_id":185890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2d6c230012d34c30006aa3f180011006f29..."} 
[2026-09-18 10:21:52] local.INFO: Packet analysis {"connection_id":185890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:21:52] local.INFO: Extracted packet for processing {"connection_id":185890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2d6"} 
[2026-09-18 10:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":17,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164871680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359327744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789706814000,"timestamp_ms":1789706814000,"timestamp_seconds":1789706814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2d6c230"} 
[2026-09-18 10:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:21: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-09-18 10: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-09-18 10:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164871680001,"66":25625,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801249220359327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164871680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359327744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164871680001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359327744}} 
[2026-09-18 10:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":185890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:21:52] local.INFO: GPS data processed {"connection_id":185890,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:21:52] local.INFO: Acknowledgment sent {"connection_id":185890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:22:02] local.INFO: TCP Data received {"connection_id":187346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:02] local.INFO: Processing buffer {"connection_id":187346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:02] local.INFO: IMEI packet received {"connection_id":187346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":187346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:22:03] local.INFO: TCP Data received {"connection_id":187346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:03] local.INFO: Processing buffer {"connection_id":187346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:03] local.INFO: IMEI packet received {"connection_id":187346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":187346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:22:07] local.INFO: TCP Data received {"connection_id":187346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:07] local.INFO: Processing buffer {"connection_id":187346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:07] local.INFO: IMEI packet received {"connection_id":187346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":187346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:22:07] local.INFO: TCP Data received {"connection_id":187346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:07] local.INFO: Processing buffer {"connection_id":187346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:22:07] local.INFO: IMEI packet received {"connection_id":187346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":187346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:22:08] local.INFO: TCP Data received {"connection_id":187346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2dad528012d7e1c0005d560c8000800ac28..."} 
[2026-09-18 10:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2dad528012d7e1c0005d560c8000800ac28..."} 
[2026-09-18 10:22:08] local.INFO: Processing buffer {"connection_id":187346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2dad528012d7e1c0005d560c8000800ac28..."} 
[2026-09-18 10:22:08] local.INFO: Packet analysis {"connection_id":187346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:22:08] local.INFO: Extracted packet for processing {"connection_id":187346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2da"} 
[2026-09-18 10:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763239424,"raw_latitude":97870024,"longitude_deg":76.3239424,"latitude_deg":9.7870024,"altitude":8,"angle":172,"satellites":40,"speed":19,"hex_longitude":"2d7e1c00","hex_latitude":"05d560c8","is_valid_coordinates":true} 
[2026-09-18 10:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134625990411288576,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087067804437487616,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] 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-09-18 10:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707081000,"timestamp_ms":1789707081000,"timestamp_seconds":1789707081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2dad528"} 
[2026-09-18 10:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":3,"data_length":795,"current_offset":136} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851559,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":29,"raw_value":58077557095399427,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3000671864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3669610497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3580358656,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,29,85,24,241,157,16,73,160,205,45,64,99,8,39,10,66,201,100,40,197,192,1,240,51,227,178,213,4,113,20,170,13,224,42,239,52,2,222,5,3],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0}]} 
[2026-09-18 10:22:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576635746451980288,"timestamp_seconds":576635746451980.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:22:08] 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-09-18 10:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165012480001,"66":13059,"29":206,"85":15104,"24":19,"16":134625990411288576,"45":9087067804437487616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-18 10:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:22:08] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 10:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134625990411288576,"km_value":134625990411288.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087067804437487616,"description":"Unknown IO ID 45"} 
[2026-09-18 10:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165012480001,"power":13059,"unknown_29":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9087067804437487616}} 
[2026-09-18 10:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":187346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:22:08] local.INFO: GPS data processed {"connection_id":187346,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:22:08] local.INFO: Acknowledgment sent {"connection_id":187346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:22:12] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:12] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:12] local.INFO: IMEI packet received {"connection_id":185891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":185891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:22:13] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:13] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:13] local.INFO: IMEI packet received {"connection_id":185891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":185891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:22:18] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:18] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:22:18] local.INFO: IMEI packet received {"connection_id":185891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":185891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:22:19] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:22:19] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:22:19] local.INFO: Packet analysis {"connection_id":185891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:22:19] local.INFO: Extracted packet for processing {"connection_id":185891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":185891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:22:19] local.INFO: GPS data processed {"connection_id":185891,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:22:19] local.INFO: Acknowledgment sent {"connection_id":185891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:22:31] local.INFO: TCP Data received {"connection_id":187343,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:22:31] local.INFO: Processing buffer {"connection_id":187343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:22:31] local.INFO: IMEI packet received {"connection_id":187343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":187343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:22:39] local.INFO: TCP Data received {"connection_id":187346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db0408012d7e1fc005d53b10000700b329..."} 
[2026-09-18 10:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db0408012d7e1fc005d53b10000700b329..."} 
[2026-09-18 10:22:39] local.INFO: Processing buffer {"connection_id":187346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db0408012d7e1fc005d53b10000700b329..."} 
[2026-09-18 10:22:39] local.INFO: Packet analysis {"connection_id":187346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:22:39] local.INFO: Extracted packet for processing {"connection_id":187346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":97860368,"longitude_deg":76.3240384,"latitude_deg":9.7860368,"altitude":7,"angle":179,"satellites":41,"speed":37,"hex_longitude":"2d7e1fc0","hex_latitude":"05d53b10","is_valid_coordinates":true} 
[2026-09-18 10:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165012736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134626462857691136,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087138173181544448,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] 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-09-18 10:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789707093000,"timestamp_ms":1789707093000,"timestamp_seconds":1789707093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db0408"} 
[2026-09-18 10:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167928585639,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":29,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3000674864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3670378497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3580289024,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,29,85,24,241,157,16,73,160,209,45,192,98,8,40,10,66,205,64,99,39,201,1,240,51,227,178,213,4,113,185,19,32,41,239,2,222,5,12],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0}]} 
[2026-09-18 10:22:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576650040103337984,"timestamp_seconds":576650040103338.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:22:39] 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-09-18 10:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165012736001,"66":13559,"29":206,"85":15104,"24":37,"16":134626462857691136,"45":9087138173181544448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-18 10:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165012736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:22:39] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 10:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134626462857691136,"km_value":134626462857691.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087138173181544448,"description":"Unknown IO ID 45"} 
[2026-09-18 10:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165012736001,"power":13559,"unknown_29":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9087138173181544448}} 
[2026-09-18 10:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":187346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:22:39] local.INFO: GPS data processed {"connection_id":187346,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:22:39] local.INFO: Acknowledgment sent {"connection_id":187346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:22:50] local.INFO: TCP Data received {"connection_id":185891,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:22:50] local.INFO: Processing buffer {"connection_id":185891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:22:50] local.INFO: Packet analysis {"connection_id":185891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:22:50] local.INFO: Extracted packet for processing {"connection_id":185891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:22:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":185891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:22:50] local.INFO: GPS data processed {"connection_id":185891,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:22:50] local.INFO: Acknowledgment sent {"connection_id":185891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:23:07] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:23:07] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:23:07] local.INFO: IMEI packet received {"connection_id":186046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":186046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:23:10] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:23:10] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:23:10] local.INFO: IMEI packet received {"connection_id":186046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":186046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:23:11] local.INFO: TCP Data received {"connection_id":186047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:23:11] local.INFO: Processing buffer {"connection_id":186047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:23:11] local.INFO: IMEI packet received {"connection_id":186047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":186047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:23:11] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2dbfe08012d7e3ac005d43fb8000900b527..."} 
[2026-09-18 10:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2dbfe08012d7e3ac005d43fb8000900b527..."} 
[2026-09-18 10:23:11] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2dbfe08012d7e3ac005d43fb8000900b527..."} 
[2026-09-18 10:23:11] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:23:11] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97796024,"longitude_deg":76.3247296,"latitude_deg":9.7796024,"altitude":9,"angle":181,"satellites":39,"speed":26,"hex_longitude":"2d7e3ac0","hex_latitude":"05d43fb8","is_valid_coordinates":true} 
[2026-09-18 10:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165030912001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134629628248588288,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947488391168,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789707157000,"timestamp_ms":1789707157000,"timestamp_seconds":1789707157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2dbfe08"} 
[2026-09-18 10:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:23:11] 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-09-18 10:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165030912001,"66":13374,"111":206,"85":15104,"24":26,"16":134629628248588288,"45":9095300947488391168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 10:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165030912001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:23:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 10:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134629628248588288,"km_value":134629628248588.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947488391168,"description":"Unknown IO ID 45"} 
[2026-09-18 10:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165030912001,"power":13374,"unknown_111":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9095300947488391168}} 
[2026-09-18 10:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:23:11] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:23:11] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:23:13] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2dc2518012d7e3dc005d41fc8000b00a92b..."} 
[2026-09-18 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2dc2518012d7e3dc005d41fc8000b00a92b..."} 
[2026-09-18 10:23:13] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2dc2518012d7e3dc005d41fc8000b00a92b..."} 
[2026-09-18 10:23:13] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2dc"} 
[2026-09-18 10:23:13] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2dc"} 
[2026-09-18 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763248064,"raw_latitude":97787848,"longitude_deg":76.3248064,"latitude_deg":9.7787848,"altitude":11,"angle":169,"satellites":43,"speed":35,"hex_longitude":"2d7e3dc0","hex_latitude":"05d41fc8","is_valid_coordinates":true} 
[2026-09-18 10:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165032192001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134630027680546816,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528696453120,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789707167000,"timestamp_ms":1789707167000,"timestamp_seconds":1789707167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2dc2518"} 
[2026-09-18 10:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 10:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165032192001,"66":13461,"111":206,"85":15104,"24":35,"16":134630027680546816,"45":9095793528696453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 10:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165032192001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:23:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 10:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134630027680546816,"km_value":134630027680546.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528696453120,"description":"Unknown IO ID 45"} 
[2026-09-18 10:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165032192001,"power":13461,"unknown_111":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9095793528696453120}} 
[2026-09-18 10:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:23:13] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:23:13] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:23:13] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:23:13] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:23:13] local.INFO: IMEI packet received {"connection_id":188669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:23:18] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:23:18] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:23:18] local.INFO: IMEI packet received {"connection_id":188669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":188669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:23:19] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:23:19] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:23:19] local.INFO: Packet analysis {"connection_id":188669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:23:19] local.INFO: Extracted packet for processing {"connection_id":188669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":188669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:23:20] local.INFO: GPS data processed {"connection_id":188669,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:23:20] local.INFO: Acknowledgment sent {"connection_id":188669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:23:44] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2dc4c28012d7e474005d3fda0000c00ac28..."} 
[2026-09-18 10:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2dc4c28012d7e474005d3fda0000c00ac28..."} 
[2026-09-18 10:23:44] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2dc4c28012d7e474005d3fda0000c00ac28..."} 
[2026-09-18 10:23:44] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2dc"} 
[2026-09-18 10:23:44] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2dc"} 
[2026-09-18 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763250496,"raw_latitude":97779104,"longitude_deg":76.3250496,"latitude_deg":9.7779104,"altitude":12,"angle":172,"satellites":40,"speed":28,"hex_longitude":"2d7e4740","hex_latitude":"05d3fda0","is_valid_coordinates":true} 
[2026-09-18 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165034752001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134630470062178304,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096637953624492032,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:44] 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-09-18 10:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789707177000,"timestamp_ms":1789707177000,"timestamp_seconds":1789707177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2dc4c28"} 
[2026-09-18 10:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 10:23:44] 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-09-18 10:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165034752001,"66":13526,"110":206,"85":15104,"24":28,"16":134630470062178304,"45":9096637953624492032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-18 10:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165034752001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:23:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 10:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134630470062178304,"km_value":134630470062178.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096637953624492032,"description":"Unknown IO ID 45"} 
[2026-09-18 10:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165034752001,"power":13526,"unknown_110":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9096637953624492032}} 
[2026-09-18 10:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:23:44] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:23:44] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:23:52] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:23:52] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:23:52] local.INFO: Packet analysis {"connection_id":188669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:23:52] local.INFO: Extracted packet for processing {"connection_id":188669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:23: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-09-18 10:23: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-09-18 10:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":188669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:23:52] local.INFO: GPS data processed {"connection_id":188669,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:23:52] local.INFO: Acknowledgment sent {"connection_id":188669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:24:02] local.INFO: TCP Data received {"connection_id":187347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:02] local.INFO: Processing buffer {"connection_id":187347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:02] local.INFO: IMEI packet received {"connection_id":187347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":187347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:24:03] local.INFO: TCP Data received {"connection_id":187347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:03] local.INFO: Processing buffer {"connection_id":187347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:03] local.INFO: IMEI packet received {"connection_id":187347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":187347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:24:08] local.INFO: TCP Data received {"connection_id":187347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:08] local.INFO: Processing buffer {"connection_id":187347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:24:08] local.INFO: IMEI packet received {"connection_id":187347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":187347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:24:08] local.INFO: TCP Data received {"connection_id":187347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2dc7b08012d7e49c005d3da20000f00ae24..."} 
[2026-09-18 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2dc7b08012d7e49c005d3da20000f00ae24..."} 
[2026-09-18 10:24:08] local.INFO: Processing buffer {"connection_id":187347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2dc7b08012d7e49c005d3da20000f00ae24..."} 
[2026-09-18 10:24:08] local.INFO: Packet analysis {"connection_id":187347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2dc"} 
[2026-09-18 10:24:08] local.INFO: Extracted packet for processing {"connection_id":187347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2dc"} 
[2026-09-18 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763251136,"raw_latitude":97770016,"longitude_deg":76.3251136,"latitude_deg":9.7770016,"altitude":15,"angle":174,"satellites":36,"speed":19,"hex_longitude":"2d7e49c0","hex_latitude":"05d3da20","is_valid_coordinates":true} 
[2026-09-18 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165037312001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134630912443809792,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099311965901004800,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:08] 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-09-18 10:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707189000,"timestamp_ms":1789707189000,"timestamp_seconds":1789707189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2dc7b08"} 
[2026-09-18 10:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 10:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:24:08] 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-09-18 10:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165037312001,"66":13276,"110":206,"85":15104,"24":19,"16":134630912443809792,"45":9099311965901004800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-18 10:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165037312001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:24:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 10:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134630912443809792,"km_value":134630912443809.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099311965901004800,"description":"Unknown IO ID 45"} 
[2026-09-18 10:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165037312001,"power":13276,"unknown_110":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9099311965901004800}} 
[2026-09-18 10:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":187347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:24:08] local.INFO: GPS data processed {"connection_id":187347,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:24:08] local.INFO: Acknowledgment sent {"connection_id":187347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:24:18] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:24:18] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:24:18] local.INFO: IMEI packet received {"connection_id":185892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":185892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:24:23] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:24:23] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:24:23] local.INFO: IMEI packet received {"connection_id":185892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":185892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:24:25] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:24:25] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:24:25] local.INFO: Packet analysis {"connection_id":185892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:24:25] local.INFO: Extracted packet for processing {"connection_id":185892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":185892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:24:25] local.INFO: GPS data processed {"connection_id":185892,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:24:25] local.INFO: Acknowledgment sent {"connection_id":185892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:24:40] local.INFO: TCP Data received {"connection_id":187347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ddc710012d7e158005d3b6880007003129..."} 
[2026-09-18 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ddc710012d7e158005d3b6880007003129..."} 
[2026-09-18 10:24:40] local.INFO: Processing buffer {"connection_id":187347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ddc710012d7e158005d3b6880007003129..."} 
[2026-09-18 10:24:40] local.INFO: Packet analysis {"connection_id":187347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2dd"} 
[2026-09-18 10:24:40] local.INFO: Extracted packet for processing {"connection_id":187347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2dd"} 
[2026-09-18 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763237760,"raw_latitude":97760904,"longitude_deg":76.323776,"latitude_deg":9.7760904,"altitude":7,"angle":49,"satellites":41,"speed":10,"hex_longitude":"2d7e1580","hex_latitude":"05d3b688","is_valid_coordinates":true} 
[2026-09-18 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632540236414976,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745635851489280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24: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-09-18 10:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789707274000,"timestamp_ms":1789707274000,"timestamp_seconds":1789707274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ddc710"} 
[2026-09-18 10:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 10:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:24:40] 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-09-18 10:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165061632001,"66":13352,"109":206,"85":15104,"24":10,"16":134632540236414976,"45":9084745635851489280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 10:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:24:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 10:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632540236414976,"km_value":134632540236414.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745635851489280,"description":"Unknown IO ID 45"} 
[2026-09-18 10:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165061632001,"power":13352,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9084745635851489280}} 
[2026-09-18 10:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":187347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:24:40] local.INFO: GPS data processed {"connection_id":187347,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:24:40] local.INFO: Acknowledgment sent {"connection_id":187347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:24:56] local.INFO: TCP Data received {"connection_id":185892,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:24:56] local.INFO: Processing buffer {"connection_id":185892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:24:56] local.INFO: Packet analysis {"connection_id":185892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:24:56] local.INFO: Extracted packet for processing {"connection_id":185892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":185892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:24:56] local.INFO: GPS data processed {"connection_id":185892,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:24:56] local.INFO: Acknowledgment sent {"connection_id":185892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:25:03] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:25:03] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:25:03] local.INFO: IMEI packet received {"connection_id":186048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":186048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:25:07] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:25:07] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:25:07] local.INFO: IMEI packet received {"connection_id":186048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":186048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:25:08] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ddcaf8012d7e160005d3b778000700132a..."} 
[2026-09-18 10:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ddcaf8012d7e160005d3b778000700132a..."} 
[2026-09-18 10:25:08] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ddcaf8012d7e160005d3b778000700132a..."} 
[2026-09-18 10:25:08] local.INFO: Packet analysis {"connection_id":186048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2dd"} 
[2026-09-18 10:25:08] local.INFO: Extracted packet for processing {"connection_id":186048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2dd"} 
[2026-09-18 10:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97761144,"longitude_deg":76.3237888,"latitude_deg":9.7761144,"altitude":7,"angle":19,"satellites":42,"speed":11,"hex_longitude":"2d7e1600","hex_latitude":"05d3b778","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165062144001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632553121316864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085308585804990464,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25: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-09-18 10:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707275000,"timestamp_ms":1789707275000,"timestamp_seconds":1789707275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ddcaf8"} 
[2026-09-18 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-09-18 10:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 10:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 10:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:25:08] 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-09-18 10:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165062144001,"66":13341,"109":206,"85":15104,"24":11,"16":134632553121316864,"45":9085308585804990464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 10:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165062144001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:25:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 10:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632553121316864,"km_value":134632553121316.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085308585804990464,"description":"Unknown IO ID 45"} 
[2026-09-18 10:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165062144001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9085308585804990464}} 
[2026-09-18 10:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":186048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:25:08] local.INFO: GPS data processed {"connection_id":186048,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:25:08] local.INFO: Acknowledgment sent {"connection_id":186048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:25:12] local.INFO: TCP Data received {"connection_id":187348,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:25:12] local.INFO: Processing buffer {"connection_id":187348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:25:12] local.INFO: IMEI packet received {"connection_id":187348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":187348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:25:18] local.INFO: TCP Data received {"connection_id":187348,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:25:18] local.INFO: Processing buffer {"connection_id":187348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:25:18] local.INFO: IMEI packet received {"connection_id":187348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":187348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:25:18] local.INFO: TCP Data received {"connection_id":187348,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:25:18] local.INFO: Processing buffer {"connection_id":187348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2db1f60012d34c30006aa3f180013006f28..."} 
[2026-09-18 10:25:18] local.INFO: Packet analysis {"connection_id":187348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:25:18] local.INFO: Extracted packet for processing {"connection_id":187348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2db"} 
[2026-09-18 10:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458164944384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789707100000,"timestamp_ms":1789707100000,"timestamp_seconds":1789707100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2db1f60"} 
[2026-09-18 10:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-18 10:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458164944384001,"66":25615,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458164944384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458164944384001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":187348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:25:18] local.INFO: GPS data processed {"connection_id":187348,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:25:18] local.INFO: Acknowledgment sent {"connection_id":187348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:25:40] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ddcee0012d7e168005d3b8c0000701632a..."} 
[2026-09-18 10:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ddcee0012d7e168005d3b8c0000701632a..."} 
[2026-09-18 10:25:40] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ddcee0012d7e168005d3b8c0000701632a..."} 
[2026-09-18 10:25:40] local.INFO: Packet analysis {"connection_id":186048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2dd"} 
[2026-09-18 10:25:40] local.INFO: Extracted packet for processing {"connection_id":186048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2dd"} 
[2026-09-18 10:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97761472,"longitude_deg":76.3238016,"latitude_deg":9.7761472,"altitude":7,"angle":355,"satellites":42,"speed":12,"hex_longitude":"2d7e1680","hex_latitude":"05d3b8c0","is_valid_coordinates":true} 
[2026-09-18 10:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165062400001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632566006218752,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323293407232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25: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-09-18 10:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789707276000,"timestamp_ms":1789707276000,"timestamp_seconds":1789707276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ddcee0"} 
[2026-09-18 10:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:25:40] local.INFO: IO Element 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-09-18 10:25:40] 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-09-18 10:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:25:40] 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-09-18 10:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165062400001,"66":13341,"109":206,"85":15104,"24":12,"16":134632566006218752,"45":9085449323293407232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 10:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165062400001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:25:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 10:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632566006218752,"km_value":134632566006218.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323293407232,"description":"Unknown IO ID 45"} 
[2026-09-18 10:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165062400001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9085449323293407232}} 
[2026-09-18 10:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":186048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:25:40] local.INFO: GPS data processed {"connection_id":186048,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:25:40] local.INFO: Acknowledgment sent {"connection_id":186048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:25:49] local.INFO: TCP Data received {"connection_id":187348,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2de01a8012d34c30006aa3f180013006f29..."} 
[2026-09-18 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2de01a8012d34c30006aa3f180013006f29..."} 
[2026-09-18 10:25:49] local.INFO: Processing buffer {"connection_id":187348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2de01a8012d34c30006aa3f180013006f29..."} 
[2026-09-18 10:25:49] local.INFO: Packet analysis {"connection_id":187348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:25:49] local.INFO: Extracted packet for processing {"connection_id":187348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820568,"longitude_deg":75.8432512,"latitude_deg":11.1820568,"altitude":19,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f18","is_valid_coordinates":true} 
[2026-09-18 10:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165017600001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177353459728384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789707289000,"timestamp_ms":1789707289000,"timestamp_seconds":1789707289,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2de01a8"} 
[2026-09-18 10:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 10:25:49] 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-09-18 10:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165017600001,"66":25604,"97":206,"81":23296,"24":0,"16":405177353459728384,"45":3801882539056896000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165017600001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177353459728384,"km_value":405177353459728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165017600001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":187348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:25:49] local.INFO: GPS data processed {"connection_id":187348,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:25:49] local.INFO: Acknowledgment sent {"connection_id":187348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:26:03] local.INFO: TCP Data received {"connection_id":187349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:26:03] local.INFO: Processing buffer {"connection_id":187349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:26:03] local.INFO: IMEI packet received {"connection_id":187349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":187349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:26:08] local.INFO: TCP Data received {"connection_id":187349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:26:08] local.INFO: Processing buffer {"connection_id":187349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:26:08] local.INFO: IMEI packet received {"connection_id":187349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":187349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:26:09] local.INFO: TCP Data received {"connection_id":187349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2de1d00012d7e148005d3c2580007015e27..."} 
[2026-09-18 10:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2de1d00012d7e148005d3c2580007015e27..."} 
[2026-09-18 10:26:09] local.INFO: Processing buffer {"connection_id":187349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2de1d00012d7e148005d3c2580007015e27..."} 
[2026-09-18 10:26:09] local.INFO: Packet analysis {"connection_id":187349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:26:09] local.INFO: Extracted packet for processing {"connection_id":187349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763237504,"raw_latitude":97763928,"longitude_deg":76.3237504,"latitude_deg":9.7763928,"altitude":7,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d7e1480","hex_latitude":"05d3c258","is_valid_coordinates":true} 
[2026-09-18 10:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165062656001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632690560270336,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060781846528,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26: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-09-18 10:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789707296000,"timestamp_ms":1789707296000,"timestamp_seconds":1789707296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2de1d00"} 
[2026-09-18 10:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 10:26:09] 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-09-18 10:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:26:09] 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-09-18 10:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165062656001,"66":13580,"109":206,"85":15104,"24":0,"16":134632690560270336,"45":9085590060781846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 10:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165062656001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:26:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 10:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632690560270336,"km_value":134632690560270.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060781846528,"description":"Unknown IO ID 45"} 
[2026-09-18 10:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165062656001,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060781846528}} 
[2026-09-18 10:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":187349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:26:09] local.INFO: GPS data processed {"connection_id":187349,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:26:09] local.INFO: Acknowledgment sent {"connection_id":187349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:26:13] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:26:13] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:26:13] local.INFO: IMEI packet received {"connection_id":186049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":186049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:26:15] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:26:15] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:26:15] local.INFO: IMEI packet received {"connection_id":186049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:26:17] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2de6738012d34c54006aa3d580016006d2a..."} 
[2026-09-18 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2de6738012d34c54006aa3d580016006d2a..."} 
[2026-09-18 10:26:17] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2de6738012d34c54006aa3d580016006d2a..."} 
[2026-09-18 10:26:17] local.INFO: Packet analysis {"connection_id":186049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:26:17] local.INFO: Extracted packet for processing {"connection_id":186049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820120,"longitude_deg":75.8433088,"latitude_deg":11.182012,"altitude":22,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d58","is_valid_coordinates":true} 
[2026-09-18 10:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165065984001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177366344630272,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056896000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789707315000,"timestamp_ms":1789707315000,"timestamp_seconds":1789707315,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2de6738"} 
[2026-09-18 10:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 10:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165065984001,"66":27843,"97":206,"81":23296,"24":0,"16":405177366344630272,"45":3801882539056896000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165065984001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177366344630272,"km_value":405177366344630.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056896000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165065984001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056896000}} 
[2026-09-18 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":186049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:26:17] local.INFO: GPS data processed {"connection_id":186049,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:26:17] local.INFO: Acknowledgment sent {"connection_id":186049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:26:48] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2deb940012d34c50006aa3d400019006d2a..."} 
[2026-09-18 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2deb940012d34c50006aa3d400019006d2a..."} 
[2026-09-18 10:26:48] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2deb940012d34c50006aa3d400019006d2a..."} 
[2026-09-18 10:26:48] local.INFO: Packet analysis {"connection_id":186049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:26:48] local.INFO: Extracted packet for processing {"connection_id":186049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820096,"longitude_deg":75.8433024,"latitude_deg":11.1820096,"altitude":25,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d40","is_valid_coordinates":true} 
[2026-09-18 10:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165072640001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177374934564864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754380288,"note":"Value kept but may cause issues"} 
[2026-09-18 10:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789707336000,"timestamp_ms":1789707336000,"timestamp_seconds":1789707336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2deb940"} 
[2026-09-18 10:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:26: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-09-18 10:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165072640001,"66":27843,"97":206,"81":23296,"24":0,"16":405177374934564864,"45":3802515857754380288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165072640001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177374934564864,"km_value":405177374934564.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754380288,"description":"Unknown IO ID 45"} 
[2026-09-18 10:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165072640001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754380288}} 
[2026-09-18 10:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":186049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:26:48] local.INFO: GPS data processed {"connection_id":186049,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:26:48] local.INFO: Acknowledgment sent {"connection_id":186049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:27:13] local.INFO: TCP Data received {"connection_id":187350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:27:13] local.INFO: Processing buffer {"connection_id":187350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:27:13] local.INFO: IMEI packet received {"connection_id":187350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":187350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:27:18] local.INFO: TCP Data received {"connection_id":187350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:27:18] local.INFO: Processing buffer {"connection_id":187350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:27:18] local.INFO: IMEI packet received {"connection_id":187350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":187350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:27:20] local.INFO: TCP Data received {"connection_id":187350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df0b48012d34c3c006aa3d30001a01012a..."} 
[2026-09-18 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df0b48012d34c3c006aa3d30001a01012a..."} 
[2026-09-18 10:27:20] local.INFO: Processing buffer {"connection_id":187350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df0b48012d34c3c006aa3d30001a01012a..."} 
[2026-09-18 10:27:20] local.INFO: Packet analysis {"connection_id":187350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:27:20] local.INFO: Extracted packet for processing {"connection_id":187350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820080,"longitude_deg":75.8432704,"latitude_deg":11.182008,"altitude":26,"angle":257,"satellites":42,"speed":1,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-18 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165078016001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177392114434048,"note":"Value kept but may cause issues"} 
[2026-09-18 10:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010196480,"note":"Value kept but may cause issues"} 
[2026-09-18 10:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789707357000,"timestamp_ms":1789707357000,"timestamp_seconds":1789707357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df0b48"} 
[2026-09-18 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:27: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-09-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165078016001,"66":27604,"97":206,"81":23296,"24":1,"16":405177392114434048,"45":3802445489010196480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165078016001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177392114434048,"km_value":405177392114434.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010196480,"description":"Unknown IO ID 45"} 
[2026-09-18 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165078016001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802445489010196480}} 
[2026-09-18 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":187350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:27:20] local.INFO: GPS data processed {"connection_id":187350,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:27:20] local.INFO: Acknowledgment sent {"connection_id":187350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:27:52] local.INFO: TCP Data received {"connection_id":187350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df0b48012d34c3c006aa3d30001a01012a..."} 
[2026-09-18 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df0b48012d34c3c006aa3d30001a01012a..."} 
[2026-09-18 10:27:52] local.INFO: Processing buffer {"connection_id":187350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df0b48012d34c3c006aa3d30001a01012a..."} 
[2026-09-18 10:27:52] local.INFO: Packet analysis {"connection_id":187350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:27:52] local.INFO: Extracted packet for processing {"connection_id":187350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820080,"longitude_deg":75.8432704,"latitude_deg":11.182008,"altitude":26,"angle":257,"satellites":42,"speed":1,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165083392001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177392114434048,"note":"Value kept but may cause issues"} 
[2026-09-18 10:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289304064,"note":"Value kept but may cause issues"} 
[2026-09-18 10:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789707357000,"timestamp_ms":1789707357000,"timestamp_seconds":1789707357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df0b48"} 
[2026-09-18 10:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:27: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-09-18 10: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 10:27:52] 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-09-18 10: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-09-18 10:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165083392001,"66":27604,"97":206,"81":23296,"24":1,"16":405177392114434048,"45":3802093645289304064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165083392001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177392114434048,"km_value":405177392114434.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289304064,"description":"Unknown IO ID 45"} 
[2026-09-18 10:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165083392001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802093645289304064}} 
[2026-09-18 10:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":187350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:27:52] local.INFO: GPS data processed {"connection_id":187350,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:27:52] local.INFO: Acknowledgment sent {"connection_id":187350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:28:07] local.INFO: TCP Data received {"connection_id":188670,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:07] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:07] local.INFO: IMEI packet received {"connection_id":188670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":188670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:28:09] local.INFO: TCP Data received {"connection_id":188670,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:09] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:09] local.INFO: IMEI packet received {"connection_id":188670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:28:13] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:28:13] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:28:13] local.INFO: IMEI packet received {"connection_id":185893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":185893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:28:18] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:28:18] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:28:18] local.INFO: IMEI packet received {"connection_id":185893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":185893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:28:19] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df0f30012d34c38006aa3d38001a010f2c..."} 
[2026-09-18 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df0f30012d34c38006aa3d38001a010f2c..."} 
[2026-09-18 10:28:19] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df0f30012d34c38006aa3d38001a010f2c..."} 
[2026-09-18 10:28:19] local.INFO: Packet analysis {"connection_id":185893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:28:19] local.INFO: Extracted packet for processing {"connection_id":185893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111820088,"longitude_deg":75.843264,"latitude_deg":11.1820088,"altitude":26,"angle":271,"satellites":44,"speed":2,"hex_longitude":"2d34c380","hex_latitude":"06aa3d38","is_valid_coordinates":true} 
[2026-09-18 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165083392001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177392114434048,"note":"Value kept but may cause issues"} 
[2026-09-18 10:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289304064,"note":"Value kept but may cause issues"} 
[2026-09-18 10:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789707358000,"timestamp_ms":1789707358000,"timestamp_seconds":1789707358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df0f30"} 
[2026-09-18 10:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:28: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-09-18 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 10:28:19] 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-09-18 10:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165083392001,"66":27604,"97":206,"81":23296,"24":2,"16":405177392114434048,"45":3802093645289304064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165083392001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177392114434048,"km_value":405177392114434.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289304064,"description":"Unknown IO ID 45"} 
[2026-09-18 10:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165083392001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802093645289304064}} 
[2026-09-18 10:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":185893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:28:19] local.INFO: GPS data processed {"connection_id":185893,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:28:19] local.INFO: Acknowledgment sent {"connection_id":185893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:28:33] local.INFO: TCP Data received {"connection_id":187351,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:33] local.INFO: Processing buffer {"connection_id":187351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:33] local.INFO: IMEI packet received {"connection_id":187351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":187351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:28:36] local.INFO: TCP Data received {"connection_id":187351,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:36] local.INFO: Processing buffer {"connection_id":187351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:28:36] local.INFO: IMEI packet received {"connection_id":187351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":187351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:28:36] local.INFO: TCP Data received {"connection_id":188671,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:28:36] local.INFO: Processing buffer {"connection_id":188671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:28:36] local.INFO: IMEI packet received {"connection_id":188671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":188671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:28:50] local.INFO: TCP Data received {"connection_id":185893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df1ed0012d34c24006aa3d80001901352d..."} 
[2026-09-18 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df1ed0012d34c24006aa3d80001901352d..."} 
[2026-09-18 10:28:50] local.INFO: Processing buffer {"connection_id":185893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df1ed0012d34c24006aa3d80001901352d..."} 
[2026-09-18 10:28:50] local.INFO: Packet analysis {"connection_id":185893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:28:50] local.INFO: Extracted packet for processing {"connection_id":185893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111820160,"longitude_deg":75.843232,"latitude_deg":11.182016,"altitude":25,"angle":309,"satellites":45,"speed":4,"hex_longitude":"2d34c240","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-09-18 10:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165083648001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177409294303232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545128448,"note":"Value kept but may cause issues"} 
[2026-09-18 10:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789707362000,"timestamp_ms":1789707362000,"timestamp_seconds":1789707362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df1ed0"} 
[2026-09-18 10:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:28: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-09-18 10:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 10:28:50] 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-09-18 10:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165083648001,"66":27604,"97":206,"81":23296,"24":4,"16":405177409294303232,"45":3802023276545128448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165083648001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:28:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177409294303232,"km_value":405177409294303.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545128448,"description":"Unknown IO ID 45"} 
[2026-09-18 10:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165083648001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802023276545128448}} 
[2026-09-18 10:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":185893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:28:50] local.INFO: GPS data processed {"connection_id":185893,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:28:50] local.INFO: Acknowledgment sent {"connection_id":185893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:29:12] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:29:12] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:29:12] local.INFO: IMEI packet received {"connection_id":188672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":188672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:29:18] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:29:18] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:29:18] local.INFO: IMEI packet received {"connection_id":188672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:29:18] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e11aa0012d34c50006aa5178000c015c2d..."} 
[2026-09-18 10:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e11aa0012d34c50006aa5178000c015c2d..."} 
[2026-09-18 10:29:18] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e11aa0012d34c50006aa5178000c015c2d..."} 
[2026-09-18 10:29:18] local.INFO: Packet analysis {"connection_id":188672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e1"} 
[2026-09-18 10:29:18] local.INFO: Extracted packet for processing {"connection_id":188672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e1"} 
[2026-09-18 10:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825272,"longitude_deg":75.8433024,"latitude_deg":11.1825272,"altitude":12,"angle":348,"satellites":45,"speed":5,"hex_longitude":"2d34c500","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-09-18 10:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165117440001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177688467177472,"note":"Value kept but may cause issues"} 
[2026-09-18 10:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011464192,"note":"Value kept but may cause issues"} 
[2026-09-18 10:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789707492000,"timestamp_ms":1789707492000,"timestamp_seconds":1789707492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e11aa0"} 
[2026-09-18 10:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:29:18] 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-09-18 10:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165117440001,"66":27908,"97":206,"81":23296,"24":5,"16":405177688467177472,"45":3802445489011464192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165117440001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177688467177472,"km_value":405177688467177.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011464192,"description":"Unknown IO ID 45"} 
[2026-09-18 10:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165117440001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802445489011464192}} 
[2026-09-18 10:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":188672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:29:18] local.INFO: GPS data processed {"connection_id":188672,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:29:18] local.INFO: Acknowledgment sent {"connection_id":188672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:29:50] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e12658012d34c48006aa52f8000c00002d..."} 
[2026-09-18 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e12658012d34c48006aa52f8000c00002d..."} 
[2026-09-18 10:29:50] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e12658012d34c48006aa52f8000c00002d..."} 
[2026-09-18 10:29:50] local.INFO: Packet analysis {"connection_id":188672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e1"} 
[2026-09-18 10:29:50] local.INFO: Extracted packet for processing {"connection_id":188672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e1"} 
[2026-09-18 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111825656,"longitude_deg":75.8432896,"latitude_deg":11.1825656,"altitude":12,"angle":0,"satellites":45,"speed":5,"hex_longitude":"2d34c480","hex_latitude":"06aa52f8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165117952001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177709942013952,"note":"Value kept but may cause issues"} 
[2026-09-18 10:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011521536,"note":"Value kept but may cause issues"} 
[2026-09-18 10:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789707495000,"timestamp_ms":1789707495000,"timestamp_seconds":1789707495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e12658"} 
[2026-09-18 10:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 10:29:50] 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-09-18 10: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-09-18 10:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165117952001,"66":27876,"97":206,"81":23296,"24":5,"16":405177709942013952,"45":3802445489011521536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165117952001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177709942013952,"km_value":405177709942013.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011521536,"description":"Unknown IO ID 45"} 
[2026-09-18 10:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165117952001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802445489011521536}} 
[2026-09-18 10:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":188672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:29:50] local.INFO: GPS data processed {"connection_id":188672,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:29:50] local.INFO: Acknowledgment sent {"connection_id":188672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:30:12] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:12] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:12] local.INFO: IMEI packet received {"connection_id":187352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":187352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:30:14] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:14] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:14] local.INFO: IMEI packet received {"connection_id":187352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":187352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:30:15] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:15] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:15] local.INFO: IMEI packet received {"connection_id":187352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":187352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:30:17] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:17] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:30:17] local.INFO: IMEI packet received {"connection_id":187352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":187352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:30:20] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e22c10012d350f8006aa65680009004f2d..."} 
[2026-09-18 10:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e22c10012d350f8006aa65680009004f2d..."} 
[2026-09-18 10:30:20] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e22c10012d350f8006aa65680009004f2d..."} 
[2026-09-18 10:30:20] local.INFO: Packet analysis {"connection_id":187352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:30:20] local.INFO: Extracted packet for processing {"connection_id":187352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758452096,"raw_latitude":111830376,"longitude_deg":75.8452096,"latitude_deg":11.1830376,"altitude":9,"angle":79,"satellites":45,"speed":0,"hex_longitude":"2d350f80","hex_latitude":"06aa6568","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165130496001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405178676309655552,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3821374681196503040,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789707562000,"timestamp_ms":1789707562000,"timestamp_seconds":1789707562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e22c10"} 
[2026-09-18 10:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:30: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-09-18 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 10:30:20] 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-09-18 10: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-09-18 10:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165130496001,"66":27767,"97":206,"81":23296,"24":0,"16":405178676309655552,"45":3821374681196503040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165130496001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405178676309655552,"km_value":405178676309655.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3821374681196503040,"description":"Unknown IO ID 45"} 
[2026-09-18 10:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165130496001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3821374681196503040}} 
[2026-09-18 10:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":187352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:30:20] local.INFO: GPS data processed {"connection_id":187352,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:30:20] local.INFO: Acknowledgment sent {"connection_id":187352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:30:21] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e25ed8012d35140006aa6720000b00672d..."} 
[2026-09-18 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e25ed8012d35140006aa6720000b00672d..."} 
[2026-09-18 10:30:21] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e25ed8012d35140006aa6720000b00672d..."} 
[2026-09-18 10:30:21] local.INFO: Packet analysis {"connection_id":187352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:30:21] local.INFO: Extracted packet for processing {"connection_id":187352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758453248,"raw_latitude":111830816,"longitude_deg":75.8453248,"latitude_deg":11.1830816,"altitude":11,"angle":103,"satellites":45,"speed":7,"hex_longitude":"2d351400","hex_latitude":"06aa6720","is_valid_coordinates":true} 
[2026-09-18 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165135872001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405178736439197696,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823415374777772032,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:21] 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-09-18 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789707575000,"timestamp_ms":1789707575000,"timestamp_seconds":1789707575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e25ed8"} 
[2026-09-18 10:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:30: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-09-18 10:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165135872001,"66":27876,"96":206,"81":23296,"24":7,"16":405178736439197696,"45":3823415374777772032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165135872001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:30:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 10:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405178736439197696,"km_value":405178736439197.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823415374777772032,"description":"Unknown IO ID 45"} 
[2026-09-18 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165135872001,"power":27876,"unknown_96":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3823415374777772032}} 
[2026-09-18 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":187352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:30:21] local.INFO: GPS data processed {"connection_id":187352,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:30:21] local.INFO: Acknowledgment sent {"connection_id":187352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:30:53] local.INFO: TCP Data received {"connection_id":187352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e262c0012d3514c006aa66c8000b00792d..."} 
[2026-09-18 10:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e262c0012d3514c006aa66c8000b00792d..."} 
[2026-09-18 10:30:53] local.INFO: Processing buffer {"connection_id":187352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e262c0012d3514c006aa66c8000b00792d..."} 
[2026-09-18 10:30:53] local.INFO: Packet analysis {"connection_id":187352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:30:53] local.INFO: Extracted packet for processing {"connection_id":187352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758453440,"raw_latitude":111830728,"longitude_deg":75.845344,"latitude_deg":11.1830728,"altitude":11,"angle":121,"satellites":45,"speed":8,"hex_longitude":"2d3514c0","hex_latitude":"06aa66c8","is_valid_coordinates":true} 
[2026-09-18 10:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165139200001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405178749324099584,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824682012173082624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:30:53] 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-09-18 10:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789707576000,"timestamp_ms":1789707576000,"timestamp_seconds":1789707576,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e262c0"} 
[2026-09-18 10:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 10:30:53] 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-09-18 10:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165139200001,"66":27876,"96":206,"81":23296,"24":8,"16":405178749324099584,"45":3824682012173082624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 10:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165139200001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:30:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 10:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405178749324099584,"km_value":405178749324099.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824682012173082624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165139200001,"power":27876,"unknown_96":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3824682012173082624}} 
[2026-09-18 10:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":187352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:30:53] local.INFO: GPS data processed {"connection_id":187352,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:30:53] local.INFO: Acknowledgment sent {"connection_id":187352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:31:18] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:31:18] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:31:18] local.INFO: IMEI packet received {"connection_id":186050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":186050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:31:23] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:31:23] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:31:23] local.INFO: IMEI packet received {"connection_id":186050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":186050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:31:24] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e27648012d35178006aa6530000b006a2e..."} 
[2026-09-18 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e27648012d35178006aa6530000b006a2e..."} 
[2026-09-18 10:31:24] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e27648012d35178006aa6530000b006a2e..."} 
[2026-09-18 10:31:24] local.INFO: Packet analysis {"connection_id":186050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:31:24] local.INFO: Extracted packet for processing {"connection_id":186050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758454144,"raw_latitude":111830320,"longitude_deg":75.8454144,"latitude_deg":11.183032,"altitude":11,"angle":106,"satellites":46,"speed":8,"hex_longitude":"2d351780","hex_latitude":"06aa6530","is_valid_coordinates":true} 
[2026-09-18 10:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165139456001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405178787978805248,"note":"Value kept but may cause issues"} 
[2026-09-18 10:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824893118405593088,"note":"Value kept but may cause issues"} 
[2026-09-18 10:31:24] 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-09-18 10:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789707581000,"timestamp_ms":1789707581000,"timestamp_seconds":1789707581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e27648"} 
[2026-09-18 10:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 10:31:24] 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-09-18 10:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165139456001,"66":27843,"96":206,"81":23296,"24":8,"16":405178787978805248,"45":3824893118405593088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 10:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165139456001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:31:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 10:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405178787978805248,"km_value":405178787978805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824893118405593088,"description":"Unknown IO ID 45"} 
[2026-09-18 10:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165139456001,"power":27843,"unknown_96":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3824893118405593088}} 
[2026-09-18 10:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":186050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:31:24] local.INFO: GPS data processed {"connection_id":186050,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:31:24] local.INFO: Acknowledgment sent {"connection_id":186050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:31:37] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e2b8b0012d35380006aa5708000a007029..."} 
[2026-09-18 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e2b8b0012d35380006aa5708000a007029..."} 
[2026-09-18 10:31:37] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e2b8b0012d35380006aa5708000a007029..."} 
[2026-09-18 10:31:37] local.INFO: Packet analysis {"connection_id":186050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:31:37] local.INFO: Extracted packet for processing {"connection_id":186050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758462464,"raw_latitude":111826696,"longitude_deg":75.8462464,"latitude_deg":11.1826696,"altitude":10,"angle":112,"satellites":41,"speed":30,"hex_longitude":"2d353800","hex_latitude":"06aa5708","is_valid_coordinates":true} 
[2026-09-18 10:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165140736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405179221770502144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3825667174591442944,"note":"Value kept but may cause issues"} 
[2026-09-18 10:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789707598000,"timestamp_ms":1789707598000,"timestamp_seconds":1789707598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e2b8b0"} 
[2026-09-18 10:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:31: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-09-18 10:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:31: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-09-18 10:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:31: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-09-18 10:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165140736001,"66":27767,"96":206,"81":23296,"24":30,"16":405179221770502144,"45":3825667174591442944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 10:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165140736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:31:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 10:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405179221770502144,"km_value":405179221770502.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3825667174591442944,"description":"Unknown IO ID 45"} 
[2026-09-18 10:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165140736001,"power":27767,"unknown_96":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":3825667174591442944}} 
[2026-09-18 10:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":186050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:31:37] local.INFO: GPS data processed {"connection_id":186050,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:31:37] local.INFO: Acknowledgment sent {"connection_id":186050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:32:08] local.INFO: TCP Data received {"connection_id":186051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:32:08] local.INFO: Processing buffer {"connection_id":186051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:32:08] local.INFO: IMEI packet received {"connection_id":186051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":186051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:32:13] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:13] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:13] local.INFO: IMEI packet received {"connection_id":185896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":185896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:32:13] local.INFO: TCP Data received {"connection_id":186051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:32:13] local.INFO: Processing buffer {"connection_id":186051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:32:13] local.INFO: IMEI packet received {"connection_id":186051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":186051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:32:13] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:13] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:13] local.INFO: IMEI packet received {"connection_id":185896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":185896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:32:14] local.INFO: TCP Data received {"connection_id":186051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2de6350012d7e140005d3c1e0000700b225..."} 
[2026-09-18 10:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2de6350012d7e140005d3c1e0000700b225..."} 
[2026-09-18 10:32:14] local.INFO: Processing buffer {"connection_id":186051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2de6350012d7e140005d3c1e0000700b225..."} 
[2026-09-18 10:32:14] local.INFO: Packet analysis {"connection_id":186051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:32:14] local.INFO: Extracted packet for processing {"connection_id":186051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763808,"longitude_deg":76.3237376,"latitude_deg":9.7763808,"altitude":7,"angle":178,"satellites":37,"speed":1,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1e0","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165071616001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340712960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32: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-09-18 10:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789707314000,"timestamp_ms":1789707314000,"timestamp_seconds":1789707314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2de6350"} 
[2026-09-18 10:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 10:32:14] 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-09-18 10: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-09-18 10:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:32:14] 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-09-18 10:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165071616001,"66":13222,"109":206,"85":15104,"24":1,"16":134632707740139520,"45":9084886373340712960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 10:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165071616001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:32:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 10:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340712960,"description":"Unknown IO ID 45"} 
[2026-09-18 10:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165071616001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9084886373340712960}} 
[2026-09-18 10:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":186051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:32:14] local.INFO: GPS data processed {"connection_id":186051,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:32:14] local.INFO: Acknowledgment sent {"connection_id":186051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:32:17] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:17] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:32:17] local.INFO: IMEI packet received {"connection_id":185896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":185896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:32:18] local.INFO: TCP Data received {"connection_id":186051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2deb170012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2deb170012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:32:18] local.INFO: Processing buffer {"connection_id":186051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2deb170012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:32:18] local.INFO: Packet analysis {"connection_id":186051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:32:18] local.INFO: Extracted packet for processing {"connection_id":186051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2de"} 
[2026-09-18 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":38,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165072384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340667904,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:18] 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-09-18 10:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789707334000,"timestamp_ms":1789707334000,"timestamp_seconds":1789707334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2deb170"} 
[2026-09-18 10:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 10:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:32:18] 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-09-18 10:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165072384001,"66":13254,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340667904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165072384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340667904,"description":"Unknown IO ID 45"} 
[2026-09-18 10:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165072384001,"power":13254,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340667904}} 
[2026-09-18 10:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":186051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:32:18] local.INFO: GPS data processed {"connection_id":186051,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:32:18] local.INFO: Acknowledgment sent {"connection_id":186051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:32:18] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e2dfc0012d35590006aa48c0000b007128..."} 
[2026-09-18 10:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e2dfc0012d35590006aa48c0000b007128..."} 
[2026-09-18 10:32:18] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e2dfc0012d35590006aa48c0000b007128..."} 
[2026-09-18 10:32:18] local.INFO: Packet analysis {"connection_id":185896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:32:18] local.INFO: Extracted packet for processing {"connection_id":185896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e2"} 
[2026-09-18 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758470912,"raw_latitude":111823040,"longitude_deg":75.8470912,"latitude_deg":11.182304,"altitude":11,"angle":113,"satellites":40,"speed":38,"hex_longitude":"2d355900","hex_latitude":"06aa48c0","is_valid_coordinates":true} 
[2026-09-18 10:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165145088001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405179659857166336,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3834815111333611520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:18] 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-09-18 10:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789707608000,"timestamp_ms":1789707608000,"timestamp_seconds":1789707608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e2dfc0"} 
[2026-09-18 10:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165145088001,"66":27843,"142":206,"81":23296,"24":38,"16":405179659857166336,"45":3834815111333611520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 10:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165145088001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405179659857166336,"km_value":405179659857166.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3834815111333611520,"description":"Unknown IO ID 45"} 
[2026-09-18 10:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165145088001,"power":27843,"unknown_142":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3834815111333611520}} 
[2026-09-18 10:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":185896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:32:18] local.INFO: GPS data processed {"connection_id":185896,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:32:18] local.INFO: Acknowledgment sent {"connection_id":185896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:32:23] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e30ab8012d357c8006aa39b0000c00702a..."} 
[2026-09-18 10:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e30ab8012d357c8006aa39b0000c00702a..."} 
[2026-09-18 10:32:23] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e30ab8012d357c8006aa39b0000c00702a..."} 
[2026-09-18 10:32:23] local.INFO: Packet analysis {"connection_id":185896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e3"} 
[2026-09-18 10:32:23] local.INFO: Extracted packet for processing {"connection_id":185896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e3"} 
[2026-09-18 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758480000,"raw_latitude":111819184,"longitude_deg":75.848,"latitude_deg":11.1819184,"altitude":12,"angle":112,"satellites":42,"speed":34,"hex_longitude":"2d357c80","hex_latitude":"06aa39b0","is_valid_coordinates":true} 
[2026-09-18 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165147648001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405180132303568896,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3844103785564127232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:23] 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-09-18 10:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789707619000,"timestamp_ms":1789707619000,"timestamp_seconds":1789707619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e30ab8"} 
[2026-09-18 10:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:32:23] 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-09-18 10:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165147648001,"66":27843,"142":206,"81":23296,"24":34,"16":405180132303568896,"45":3844103785564127232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 10:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165147648001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:32:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 10:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405180132303568896,"km_value":405180132303568.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3844103785564127232,"description":"Unknown IO ID 45"} 
[2026-09-18 10:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165147648001,"power":27843,"unknown_142":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3844103785564127232}} 
[2026-09-18 10:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":185896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:32:23] local.INFO: GPS data processed {"connection_id":185896,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:32:23] local.INFO: Acknowledgment sent {"connection_id":185896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:32:54] local.INFO: TCP Data received {"connection_id":185896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e335b0012d359e8006aa2ac0000c007029..."} 
[2026-09-18 10:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e335b0012d359e8006aa2ac0000c007029..."} 
[2026-09-18 10:32:54] local.INFO: Processing buffer {"connection_id":185896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e335b0012d359e8006aa2ac0000c007029..."} 
[2026-09-18 10:32:54] local.INFO: Packet analysis {"connection_id":185896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e3"} 
[2026-09-18 10:32:54] local.INFO: Extracted packet for processing {"connection_id":185896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e3"} 
[2026-09-18 10:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758488704,"raw_latitude":111815360,"longitude_deg":75.8488704,"latitude_deg":11.181536,"altitude":12,"angle":112,"satellites":41,"speed":28,"hex_longitude":"2d359e80","hex_latitude":"06aa2ac0","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165150464001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405180583275134976,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3854096147236368384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:32:54] 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-09-18 10:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789707630000,"timestamp_ms":1789707630000,"timestamp_seconds":1789707630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e335b0"} 
[2026-09-18 10:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165150464001,"66":27767,"142":206,"81":23296,"24":28,"16":405180583275134976,"45":3854096147236368384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 10:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165150464001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:32:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 10:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405180583275134976,"km_value":405180583275135.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3854096147236368384,"description":"Unknown IO ID 45"} 
[2026-09-18 10:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165150464001,"power":27767,"unknown_142":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3854096147236368384}} 
[2026-09-18 10:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":185896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:32:54] local.INFO: GPS data processed {"connection_id":185896,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:32:54] local.INFO: Acknowledgment sent {"connection_id":185896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:33:03] local.INFO: TCP Data received {"connection_id":187353,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:33:03] local.INFO: Processing buffer {"connection_id":187353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:33:03] local.INFO: IMEI packet received {"connection_id":187353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":187353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:33:08] local.INFO: TCP Data received {"connection_id":187353,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:33:08] local.INFO: Processing buffer {"connection_id":187353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:33:08] local.INFO: IMEI packet received {"connection_id":187353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":187353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:33:08] local.INFO: TCP Data received {"connection_id":187353,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df0378012d7e140005d3c1d0000700b227..."} 
[2026-09-18 10:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df0378012d7e140005d3c1d0000700b227..."} 
[2026-09-18 10:33:08] local.INFO: Processing buffer {"connection_id":187353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df0378012d7e140005d3c1d0000700b227..."} 
[2026-09-18 10:33:08] local.INFO: Packet analysis {"connection_id":187353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:33:08] local.INFO: Extracted packet for processing {"connection_id":187353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165077504001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:08] 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-09-18 10:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707355000,"timestamp_ms":1789707355000,"timestamp_seconds":1789707355,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df0378"} 
[2026-09-18 10:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 10:33: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-09-18 10:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165077504001,"66":13091,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165077504001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165077504001,"power":13091,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":187353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:33:08] local.INFO: GPS data processed {"connection_id":187353,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:33:08] local.INFO: Acknowledgment sent {"connection_id":187353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:33:13] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:33:13] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:33:13] local.INFO: IMEI packet received {"connection_id":186052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":186052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:33:15] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:33:15] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:33:15] local.INFO: IMEI packet received {"connection_id":186052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:33:16] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e387b8012d35be4006aa1ce8000c00712c..."} 
[2026-09-18 10:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e387b8012d35be4006aa1ce8000c00712c..."} 
[2026-09-18 10:33:16] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e387b8012d35be4006aa1ce8000c00712c..."} 
[2026-09-18 10:33:16] local.INFO: Packet analysis {"connection_id":186052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e3"} 
[2026-09-18 10:33:16] local.INFO: Extracted packet for processing {"connection_id":186052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e3"} 
[2026-09-18 10:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758496832,"raw_latitude":111811816,"longitude_deg":75.8496832,"latitude_deg":11.1811816,"altitude":12,"angle":113,"satellites":44,"speed":24,"hex_longitude":"2d35be40","hex_latitude":"06aa1ce8","is_valid_coordinates":true} 
[2026-09-18 10:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165153280001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405181008476897280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3863666296443551744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:16] 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-09-18 10:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789707651000,"timestamp_ms":1789707651000,"timestamp_seconds":1789707651,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e387b8"} 
[2026-09-18 10:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:33:16] 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-09-18 10:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165153280001,"66":27745,"142":206,"81":23296,"24":24,"16":405181008476897280,"45":3863666296443551744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-18 10:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165153280001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:33:16] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 10:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405181008476897280,"km_value":405181008476897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3863666296443551744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165153280001,"power":27745,"unknown_142":206,"unknown_81":23296,"ignition":24,"odometer":null,"unknown_45":3863666296443551744}} 
[2026-09-18 10:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:33:16] local.INFO: GPS data processed {"connection_id":186052,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:33:16] local.INFO: Acknowledgment sent {"connection_id":186052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:33:39] local.INFO: TCP Data received {"connection_id":187353,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df5580012d7e140005d3c1d0000700b227..."} 
[2026-09-18 10:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df5580012d7e140005d3c1d0000700b227..."} 
[2026-09-18 10:33:39] local.INFO: Processing buffer {"connection_id":187353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df5580012d7e140005d3c1d0000700b227..."} 
[2026-09-18 10:33:39] local.INFO: Packet analysis {"connection_id":187353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:33:39] local.INFO: Extracted packet for processing {"connection_id":187353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165082880001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:39] 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-09-18 10:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789707376000,"timestamp_ms":1789707376000,"timestamp_seconds":1789707376,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df5580"} 
[2026-09-18 10:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 10:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165082880001,"66":13178,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165082880001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165082880001,"power":13178,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":187353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:33:39] local.INFO: GPS data processed {"connection_id":187353,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:33:39] local.INFO: Acknowledgment sent {"connection_id":187353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:33:40] local.INFO: TCP Data received {"connection_id":187355,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:33:40] local.INFO: Processing buffer {"connection_id":187355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:33:40] local.INFO: IMEI packet received {"connection_id":187355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":187355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:33:41] local.INFO: TCP Data received {"connection_id":187355,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e4d3c0012d187100072182a8004b010a25..."} 
[2026-09-18 10:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e4d3c0012d187100072182a8004b010a25..."} 
[2026-09-18 10:33:41] local.INFO: Processing buffer {"connection_id":187355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e4d3c0012d187100072182a8004b010a25..."} 
[2026-09-18 10:33:41] local.INFO: Packet analysis {"connection_id":187355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e4"} 
[2026-09-18 10:33:41] local.INFO: Extracted packet for processing {"connection_id":187355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e4"} 
[2026-09-18 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756576512,"raw_latitude":119636648,"longitude_deg":75.6576512,"latitude_deg":11.9636648,"altitude":75,"angle":266,"satellites":37,"speed":43,"hex_longitude":"2d187100","hex_latitude":"072182a8","is_valid_coordinates":true} 
[2026-09-18 10:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165179648001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21221304560517120,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764988872091148288,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789707736000,"timestamp_ms":1789707736000,"timestamp_seconds":1789707736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e4d3c0"} 
[2026-09-18 10:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 10:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165179648001,"66":14352,"120":206,"28":31744,"24":43,"16":21221304560517120,"45":1764988872091148288},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 10:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165179648001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:33:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 10:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21221304560517120,"km_value":21221304560517.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764988872091148288,"description":"Unknown IO ID 45"} 
[2026-09-18 10:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165179648001,"power":14352,"unknown_120":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1764988872091148288}} 
[2026-09-18 10:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":187355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:33:41] local.INFO: GPS data processed {"connection_id":187355,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:33:41] local.INFO: Acknowledgment sent {"connection_id":187355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:33:48] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e54508012d36ff4006a99b28000c00642b..."} 
[2026-09-18 10:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e54508012d36ff4006a99b28000c00642b..."} 
[2026-09-18 10:33:48] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e54508012d36ff4006a99b28000c00642b..."} 
[2026-09-18 10:33:48] local.INFO: Packet analysis {"connection_id":186052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:33:48] local.INFO: Extracted packet for processing {"connection_id":186052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758579008,"raw_latitude":111778600,"longitude_deg":75.8579008,"latitude_deg":11.17786,"altitude":12,"angle":100,"satellites":43,"speed":41,"hex_longitude":"2d36ff40","hex_latitude":"06a99b28","is_valid_coordinates":true} 
[2026-09-18 10:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165185536001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405185281969356800,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3952753126563622912,"note":"Value kept but may cause issues"} 
[2026-09-18 10:33:48] 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-09-18 10:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789707765000,"timestamp_ms":1789707765000,"timestamp_seconds":1789707765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e54508"} 
[2026-09-18 10:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:33: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-09-18 10:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165185536001,"66":27821,"77":206,"81":23296,"24":41,"16":405185281969356800,"45":3952753126563622912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-18 10:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165185536001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:33:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 10:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405185281969356800,"km_value":405185281969356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3952753126563622912,"description":"Unknown IO ID 45"} 
[2026-09-18 10:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165185536001,"power":27821,"unknown_77":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3952753126563622912}} 
[2026-09-18 10:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":186052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:33:48] local.INFO: GPS data processed {"connection_id":186052,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:33:48] local.INFO: Acknowledgment sent {"connection_id":186052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:34:11] local.INFO: TCP Data received {"connection_id":187354,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:34:11] local.INFO: Processing buffer {"connection_id":187354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:34:11] local.INFO: IMEI packet received {"connection_id":187354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":187354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:34:12] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:34:12] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:34:12] local.INFO: IMEI packet received {"connection_id":188675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":188675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:34:19] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:34:19] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:34:19] local.INFO: IMEI packet received {"connection_id":188675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:34:20] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e56830012d37258006a99470000d00642a..."} 
[2026-09-18 10:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e56830012d37258006a99470000d00642a..."} 
[2026-09-18 10:34:20] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e56830012d37258006a99470000d00642a..."} 
[2026-09-18 10:34:20] local.INFO: Packet analysis {"connection_id":188675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:34:20] local.INFO: Extracted packet for processing {"connection_id":188675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758588800,"raw_latitude":111776880,"longitude_deg":75.85888,"latitude_deg":11.177688,"altitude":13,"angle":100,"satellites":42,"speed":42,"hex_longitude":"2d372580","hex_latitude":"06a99470","is_valid_coordinates":true} 
[2026-09-18 10:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165187840001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405185754415759360,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3962956594468825088,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:20] 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-09-18 10:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789707774000,"timestamp_ms":1789707774000,"timestamp_seconds":1789707774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e56830"} 
[2026-09-18 10:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:34: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":173,"data_length":795,"current_offset":136} 
[2026-09-18 10:34:20] 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-09-18 10:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165187840001,"66":27843,"77":206,"81":23296,"24":42,"16":405185754415759360,"45":3962956594468825088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-18 10:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165187840001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:34:20] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 10:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405185754415759360,"km_value":405185754415759.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3962956594468825088,"description":"Unknown IO ID 45"} 
[2026-09-18 10:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165187840001,"power":27843,"unknown_77":206,"unknown_81":23296,"ignition":42,"odometer":null,"unknown_45":3962956594468825088}} 
[2026-09-18 10:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":188675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:34:20] local.INFO: GPS data processed {"connection_id":188675,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:34:20] local.INFO: Acknowledgment sent {"connection_id":188675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:34:22] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:22] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:22] local.INFO: IMEI packet received {"connection_id":186053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":186053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:34:26] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:26] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:26] local.INFO: IMEI packet received {"connection_id":186053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":186053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:34:31] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:31] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:34:31] local.INFO: IMEI packet received {"connection_id":186053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":186053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:34:32] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e5e530012d185940072205780051002126..."} 
[2026-09-18 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e5e530012d185940072205780051002126..."} 
[2026-09-18 10:34:32] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e5e530012d185940072205780051002126..."} 
[2026-09-18 10:34:32] local.INFO: Packet analysis {"connection_id":186053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:34:32] local.INFO: Extracted packet for processing {"connection_id":186053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119670136,"longitude_deg":75.6570432,"latitude_deg":11.9670136,"altitude":81,"angle":33,"satellites":38,"speed":41,"hex_longitude":"2d185940","hex_latitude":"07220578","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165196032001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21223838591221760,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748874429681088512,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789707806000,"timestamp_ms":1789707806000,"timestamp_seconds":1789707806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e5e530"} 
[2026-09-18 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-09-18 10:34: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-09-18 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 10:34: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-09-18 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-09-18 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-09-18 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165196032001,"66":14048,"120":206,"28":31744,"24":41,"16":21223838591221760,"45":1748874429681088512},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165196032001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:34:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 10:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21223838591221760,"km_value":21223838591221.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748874429681088512,"description":"Unknown IO ID 45"} 
[2026-09-18 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165196032001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1748874429681088512}} 
[2026-09-18 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":186053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:34:32] local.INFO: GPS data processed {"connection_id":186053,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:34:32] local.INFO: Acknowledgment sent {"connection_id":186053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:34:33] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e60858012d186d40072223600057002224..."} 
[2026-09-18 10:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e60858012d186d40072223600057002224..."} 
[2026-09-18 10:34:33] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e60858012d186d40072223600057002224..."} 
[2026-09-18 10:34:33] local.INFO: Packet analysis {"connection_id":186053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:34:33] local.INFO: Extracted packet for processing {"connection_id":186053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119677792,"longitude_deg":75.6575552,"latitude_deg":11.9677792,"altitude":87,"angle":34,"satellites":36,"speed":40,"hex_longitude":"2d186d40","hex_latitude":"07222360","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165198336001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21224280972853248,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929217251328,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789707815000,"timestamp_ms":1789707815000,"timestamp_seconds":1789707815,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e60858"} 
[2026-09-18 10:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 10:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165198336001,"66":13852,"120":206,"28":31744,"24":40,"16":21224280972853248,"45":1754503929217251328},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 10:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165198336001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:34:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 10:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21224280972853248,"km_value":21224280972853.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929217251328,"description":"Unknown IO ID 45"} 
[2026-09-18 10:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165198336001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1754503929217251328}} 
[2026-09-18 10:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":186053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:34:33] local.INFO: GPS data processed {"connection_id":186053,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:34:33] local.INFO: Acknowledgment sent {"connection_id":186053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:34:51] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e58b58012d374a8006a98d38000f00632c..."} 
[2026-09-18 10:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e58b58012d374a8006a98d38000f00632c..."} 
[2026-09-18 10:34:51] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e58b58012d374a8006a98d38000f00632c..."} 
[2026-09-18 10:34:51] local.INFO: Packet analysis {"connection_id":188675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:34:51] local.INFO: Extracted packet for processing {"connection_id":188675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758598272,"raw_latitude":111775032,"longitude_deg":75.8598272,"latitude_deg":11.1775032,"altitude":15,"angle":99,"satellites":44,"speed":39,"hex_longitude":"2d374a80","hex_latitude":"06a98d38","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165190144001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405186209682292736,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3973723012327567360,"note":"Value kept but may cause issues"} 
[2026-09-18 10:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789707783000,"timestamp_ms":1789707783000,"timestamp_seconds":1789707783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e58b58"} 
[2026-09-18 10:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:34:51] 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-09-18 10: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-09-18 10:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165190144001,"66":27865,"48":206,"81":23296,"24":39,"16":405186209682292736,"45":3973723012327567360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-18 10:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165190144001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:34:51] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 10:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405186209682292736,"km_value":405186209682292.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3973723012327567360,"description":"Unknown IO ID 45"} 
[2026-09-18 10:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165190144001,"power":27865,"unknown_48":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3973723012327567360}} 
[2026-09-18 10:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":188675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:34:51] local.INFO: GPS data processed {"connection_id":188675,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:34:51] local.INFO: Acknowledgment sent {"connection_id":188675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:35:05] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e62b80012d18810007224058005d001f28..."} 
[2026-09-18 10:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e62b80012d18810007224058005d001f28..."} 
[2026-09-18 10:35:05] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e62b80012d18810007224058005d001f28..."} 
[2026-09-18 10:35:05] local.INFO: Packet analysis {"connection_id":186053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:35:05] local.INFO: Extracted packet for processing {"connection_id":186053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756580608,"raw_latitude":119685208,"longitude_deg":75.6580608,"latitude_deg":11.9685208,"altitude":93,"angle":31,"satellites":40,"speed":38,"hex_longitude":"2d188100","hex_latitude":"07224058","is_valid_coordinates":true} 
[2026-09-18 10:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165200640001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21224714764550144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760133428753424384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789707824000,"timestamp_ms":1789707824000,"timestamp_seconds":1789707824,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e62b80"} 
[2026-09-18 10:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:35: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-09-18 10:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-18 10:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165200640001,"66":13928,"120":206,"28":31744,"24":38,"16":21224714764550144,"45":1760133428753424384},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 10:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165200640001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:35:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 10:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21224714764550144,"km_value":21224714764550.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760133428753424384,"description":"Unknown IO ID 45"} 
[2026-09-18 10:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165200640001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1760133428753424384}} 
[2026-09-18 10:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":186053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:35:05] local.INFO: GPS data processed {"connection_id":186053,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:35:05] local.INFO: Acknowledgment sent {"connection_id":186053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:35:12] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:35:12] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:35:12] local.INFO: IMEI packet received {"connection_id":188676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:35:17] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:35:17] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:35:17] local.INFO: IMEI packet received {"connection_id":188676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:35:19] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e5a6b0012d3766c006a98a30000f00572a..."} 
[2026-09-18 10:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e5a6b0012d3766c006a98a30000f00572a..."} 
[2026-09-18 10:35:19] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e5a6b0012d3766c006a98a30000f00572a..."} 
[2026-09-18 10:35:19] local.INFO: Packet analysis {"connection_id":188676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:35:19] local.INFO: Extracted packet for processing {"connection_id":188676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758605504,"raw_latitude":111774256,"longitude_deg":75.8605504,"latitude_deg":11.1774256,"altitude":15,"angle":87,"satellites":42,"speed":41,"hex_longitude":"2d3766c0","hex_latitude":"06a98a30","is_valid_coordinates":true} 
[2026-09-18 10:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165192448001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405186557574643712,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3984137586465388544,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789707790000,"timestamp_ms":1789707790000,"timestamp_seconds":1789707790,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e5a6b0"} 
[2026-09-18 10:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 10:35:19] 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-09-18 10:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165192448001,"66":27691,"48":206,"81":23296,"24":41,"16":405186557574643712,"45":3984137586465388544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-18 10:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165192448001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:35:19] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 10:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405186557574643712,"km_value":405186557574643.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3984137586465388544,"description":"Unknown IO ID 45"} 
[2026-09-18 10:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165192448001,"power":27691,"unknown_48":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3984137586465388544}} 
[2026-09-18 10:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:35:19] local.INFO: GPS data processed {"connection_id":188676,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:35:19] local.INFO: Acknowledgment sent {"connection_id":188676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:35:23] local.INFO: TCP Data received {"connection_id":185897,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:23] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:23] local.INFO: IMEI packet received {"connection_id":185897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":185897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:35:26] local.INFO: TCP Data received {"connection_id":185897,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:26] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:26] local.INFO: IMEI packet received {"connection_id":185897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":185897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:35:39] local.INFO: TCP Data received {"connection_id":185897,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:39] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:35:39] local.INFO: IMEI packet received {"connection_id":185897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":185897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:35:41] local.INFO: TCP Data received {"connection_id":185897,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e65290012d18944007225d800064001f21..."} 
[2026-09-18 10:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e65290012d18944007225d800064001f21..."} 
[2026-09-18 10:35:41] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e65290012d18944007225d800064001f21..."} 
[2026-09-18 10:35:41] local.INFO: Packet analysis {"connection_id":185897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:35:41] local.INFO: Extracted packet for processing {"connection_id":185897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756585536,"raw_latitude":119692672,"longitude_deg":75.6585536,"latitude_deg":11.9692672,"altitude":100,"angle":31,"satellites":33,"speed":31,"hex_longitude":"2d189440","hex_latitude":"07225d80","is_valid_coordinates":true} 
[2026-09-18 10:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165202944001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21225144261279744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765692559545358336,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789707834000,"timestamp_ms":1789707834000,"timestamp_seconds":1789707834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e65290"} 
[2026-09-18 10:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-18 10:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165202944001,"66":13993,"120":206,"28":31744,"24":31,"16":21225144261279744,"45":1765692559545358336},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 10:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165202944001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:35:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 10:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21225144261279744,"km_value":21225144261279.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765692559545358336,"description":"Unknown IO ID 45"} 
[2026-09-18 10:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165202944001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1765692559545358336}} 
[2026-09-18 10:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":185897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:35:41] local.INFO: GPS data processed {"connection_id":185897,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:35:41] local.INFO: Acknowledgment sent {"connection_id":185897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:35:42] local.INFO: TCP Data received {"connection_id":185897,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e75078012d18c6c0072306480061004b27..."} 
[2026-09-18 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e75078012d18c6c0072306480061004b27..."} 
[2026-09-18 10:35:42] local.INFO: Processing buffer {"connection_id":185897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e75078012d18c6c0072306480061004b27..."} 
[2026-09-18 10:35:42] local.INFO: Packet analysis {"connection_id":185897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e7"} 
[2026-09-18 10:35:42] local.INFO: Extracted packet for processing {"connection_id":185897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e7"} 
[2026-09-18 10:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119735880,"longitude_deg":75.6598464,"latitude_deg":11.973588,"altitude":97,"angle":75,"satellites":39,"speed":35,"hex_longitude":"2d18c6c0","hex_latitude":"07230648","is_valid_coordinates":true} 
[2026-09-18 10:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165221632001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21227450658717696,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783284745602576384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789707899000,"timestamp_ms":1789707899000,"timestamp_seconds":1789707899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e75078"} 
[2026-09-18 10:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:35: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-09-18 10:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-18 10:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165221632001,"66":14559,"112":206,"28":31744,"24":35,"16":21227450658717696,"45":1783284745602576384},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165221632001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:35:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21227450658717696,"km_value":21227450658717.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783284745602576384,"description":"Unknown IO ID 45"} 
[2026-09-18 10:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165221632001,"power":14559,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1783284745602576384}} 
[2026-09-18 10:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":185897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:35:42] local.INFO: GPS data processed {"connection_id":185897,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:35:42] local.INFO: Acknowledgment sent {"connection_id":185897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:35:51] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e5c9d8012d378a8006a98d18000e00532a..."} 
[2026-09-18 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e5c9d8012d378a8006a98d18000e00532a..."} 
[2026-09-18 10:35:51] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e5c9d8012d378a8006a98d18000e00532a..."} 
[2026-09-18 10:35:51] local.INFO: Packet analysis {"connection_id":188676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:35:51] local.INFO: Extracted packet for processing {"connection_id":188676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758614656,"raw_latitude":111775000,"longitude_deg":75.8614656,"latitude_deg":11.1775,"altitude":14,"angle":83,"satellites":42,"speed":40,"hex_longitude":"2d378a80","hex_latitude":"06a98d18","is_valid_coordinates":true} 
[2026-09-18 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165194240001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405186995661307904,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3992089254557265920,"note":"Value kept but may cause issues"} 
[2026-09-18 10:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789707799000,"timestamp_ms":1789707799000,"timestamp_seconds":1789707799,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e5c9d8"} 
[2026-09-18 10:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 10:35:51] 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-09-18 10:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165194240001,"66":27745,"48":206,"81":23296,"24":40,"16":405186995661307904,"45":3992089254557265920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-18 10:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165194240001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:35:51] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 10:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405186995661307904,"km_value":405186995661307.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3992089254557265920,"description":"Unknown IO ID 45"} 
[2026-09-18 10:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165194240001,"power":27745,"unknown_48":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3992089254557265920}} 
[2026-09-18 10:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":188676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:35:51] local.INFO: GPS data processed {"connection_id":188676,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:35:51] local.INFO: Acknowledgment sent {"connection_id":188676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:35:58] local.INFO: TCP Data received {"connection_id":187356,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:35:58] local.INFO: Processing buffer {"connection_id":187356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:35:58] local.INFO: IMEI packet received {"connection_id":187356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":187356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:35:58] local.INFO: TCP Data received {"connection_id":187356,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:35:58] local.INFO: Processing buffer {"connection_id":187356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:35:58] local.INFO: IMEI packet received {"connection_id":187356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":187356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:36:03] local.INFO: TCP Data received {"connection_id":187356,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:36:03] local.INFO: Processing buffer {"connection_id":187356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:36:03] local.INFO: IMEI packet received {"connection_id":187356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":187356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:36:03] local.INFO: TCP Data received {"connection_id":187356,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df74c0012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df74c0012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:36:03] local.INFO: Processing buffer {"connection_id":187356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df74c0012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:36:03] local.INFO: Packet analysis {"connection_id":187356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:36:03] local.INFO: Extracted packet for processing {"connection_id":187356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":38,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:36: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-09-18 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165088256001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:03] 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-09-18 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789707384000,"timestamp_ms":1789707384000,"timestamp_seconds":1789707384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df74c0"} 
[2026-09-18 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-18 10:36:03] 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-09-18 10: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-09-18 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165088256001,"66":12917,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165088256001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165088256001,"power":12917,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":187356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:36:03] local.INFO: GPS data processed {"connection_id":187356,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:36:03] local.INFO: Acknowledgment sent {"connection_id":187356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:36:12] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:36:12] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:36:12] local.INFO: IMEI packet received {"connection_id":185898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":185898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:36:18] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:36:18] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:36:18] local.INFO: IMEI packet received {"connection_id":185898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":185898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:36:19] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e5ed00012d37b04006a990d8000c005428..."} 
[2026-09-18 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e5ed00012d37b04006a990d8000c005428..."} 
[2026-09-18 10:36:19] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e5ed00012d37b04006a990d8000c005428..."} 
[2026-09-18 10:36:19] local.INFO: Packet analysis {"connection_id":185898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:36:19] local.INFO: Extracted packet for processing {"connection_id":185898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e5"} 
[2026-09-18 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758624320,"raw_latitude":111775960,"longitude_deg":75.862432,"latitude_deg":11.177596,"altitude":12,"angle":84,"satellites":40,"speed":41,"hex_longitude":"2d37b040","hex_latitude":"06a990d8","is_valid_coordinates":true} 
[2026-09-18 10:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165196544001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405187459517775872,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002151984974862336,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:19] 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-09-18 10:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789707808000,"timestamp_ms":1789707808000,"timestamp_seconds":1789707808,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e5ed00"} 
[2026-09-18 10:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 10:36:19] 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-09-18 10:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165196544001,"66":27876,"50":206,"81":23296,"24":41,"16":405187459517775872,"45":4002151984974862336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-18 10:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165196544001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:36:19] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-18 10:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405187459517775872,"km_value":405187459517775.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002151984974862336,"description":"Unknown IO ID 45"} 
[2026-09-18 10:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165196544001,"power":27876,"unknown_50":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":4002151984974862336}} 
[2026-09-18 10:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":185898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:36:19] local.INFO: GPS data processed {"connection_id":185898,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:36:19] local.INFO: Acknowledgment sent {"connection_id":185898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:36:25] local.INFO: TCP Data received {"connection_id":186054,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:25] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:25] local.INFO: IMEI packet received {"connection_id":186054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":186054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:36:27] local.INFO: TCP Data received {"connection_id":186054,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:27] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:27] local.INFO: IMEI packet received {"connection_id":186054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":186054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:36:31] local.INFO: TCP Data received {"connection_id":186054,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:31] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:36:31] local.INFO: IMEI packet received {"connection_id":186054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":186054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:36:32] local.INFO: TCP Data received {"connection_id":186054,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e7ecb8012d194d0007235ab0004c001f21..."} 
[2026-09-18 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e7ecb8012d194d0007235ab0004c001f21..."} 
[2026-09-18 10:36:32] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e7ecb8012d194d0007235ab0004c001f21..."} 
[2026-09-18 10:36:32] local.INFO: Packet analysis {"connection_id":186054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e7"} 
[2026-09-18 10:36:32] local.INFO: Extracted packet for processing {"connection_id":186054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e7"} 
[2026-09-18 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119757488,"longitude_deg":75.6632832,"latitude_deg":11.9757488,"altitude":76,"angle":31,"satellites":33,"speed":60,"hex_longitude":"2d194d00","hex_latitude":"07235ab0","is_valid_coordinates":true} 
[2026-09-18 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165230592001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21229671156809728,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816146949137207296,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789707939000,"timestamp_ms":1789707939000,"timestamp_seconds":1789707939,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e7ecb8"} 
[2026-09-18 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:36: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-09-18 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165230592001,"66":14080,"112":206,"28":31744,"24":60,"16":21229671156809728,"45":1816146949137207296},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165230592001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21229671156809728,"km_value":21229671156809.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816146949137207296,"description":"Unknown IO ID 45"} 
[2026-09-18 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165230592001,"power":14080,"unknown_112":206,"unknown_28":31744,"ignition":60,"odometer":null,"unknown_45":1816146949137207296}} 
[2026-09-18 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":186054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:36:32] local.INFO: GPS data processed {"connection_id":186054,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:36:32] local.INFO: Acknowledgment sent {"connection_id":186054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:36:34] local.INFO: TCP Data received {"connection_id":187356,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df74c0012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df74c0012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:36:34] local.INFO: Processing buffer {"connection_id":187356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df74c0012d7e140005d3c1d0000700b226..."} 
[2026-09-18 10:36:34] local.INFO: Packet analysis {"connection_id":187356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:36:34] local.INFO: Extracted packet for processing {"connection_id":187356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":38,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090304001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:34] 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-09-18 10:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789707384000,"timestamp_ms":1789707384000,"timestamp_seconds":1789707384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df74c0"} 
[2026-09-18 10:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 10:36: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-09-18 10: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-09-18 10:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090304001,"66":12917,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090304001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090304001,"power":12917,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":187356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:36:34] local.INFO: GPS data processed {"connection_id":187356,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:36:34] local.INFO: Acknowledgment sent {"connection_id":187356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:36:51] local.INFO: TCP Data received {"connection_id":185898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e61410012d37d54006a99400000c005629..."} 
[2026-09-18 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e61410012d37d54006a99400000c005629..."} 
[2026-09-18 10:36:51] local.INFO: Processing buffer {"connection_id":185898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e61410012d37d54006a99400000c005629..."} 
[2026-09-18 10:36:51] local.INFO: Packet analysis {"connection_id":185898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:36:51] local.INFO: Extracted packet for processing {"connection_id":185898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e6"} 
[2026-09-18 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758633792,"raw_latitude":111776768,"longitude_deg":75.8633792,"latitude_deg":11.1776768,"altitude":12,"angle":86,"satellites":41,"speed":35,"hex_longitude":"2d37d540","hex_latitude":"06a99400","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165198848001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405187910489341952,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4012777665345935360,"note":"Value kept but may cause issues"} 
[2026-09-18 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789707818000,"timestamp_ms":1789707818000,"timestamp_seconds":1789707818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e61410"} 
[2026-09-18 10:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 10:36:51] 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-09-18 10:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165198848001,"66":27800,"48":206,"81":23296,"24":35,"16":405187910489341952,"45":4012777665345935360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-18 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165198848001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:36:51] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 10:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405187910489341952,"km_value":405187910489341.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4012777665345935360,"description":"Unknown IO ID 45"} 
[2026-09-18 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165198848001,"power":27800,"unknown_48":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":4012777665345935360}} 
[2026-09-18 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":185898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:36:51] local.INFO: GPS data processed {"connection_id":185898,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:36:51] local.INFO: Acknowledgment sent {"connection_id":185898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:37:02] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:37:02] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:37:02] local.INFO: IMEI packet received {"connection_id":185899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":185899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:37:04] local.INFO: TCP Data received {"connection_id":186054,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e7ecb8012d194d0007235ab0004c001f21..."} 
[2026-09-18 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e7ecb8012d194d0007235ab0004c001f21..."} 
[2026-09-18 10:37:04] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e7ecb8012d194d0007235ab0004c001f21..."} 
[2026-09-18 10:37:04] local.INFO: Packet analysis {"connection_id":186054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e7"} 
[2026-09-18 10:37:04] local.INFO: Extracted packet for processing {"connection_id":186054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e7"} 
[2026-09-18 10:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119757488,"longitude_deg":75.6632832,"latitude_deg":11.9757488,"altitude":76,"angle":31,"satellites":33,"speed":60,"hex_longitude":"2d194d00","hex_latitude":"07235ab0","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165232384001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21229671156809728,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454812835840,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789707939000,"timestamp_ms":1789707939000,"timestamp_seconds":1789707939,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e7ecb8"} 
[2026-09-18 10:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:37: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-09-18 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454496768,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3001516864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4286578780,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3884906497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3221693180,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812391,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,112,28,24,241,158,16,108,160,209,45,64,59,83,32,10,66,107,182,34,87,35,150,1,240,92,178,4,113,205,41,139,251,168,39,239,53,2,75,7,93],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-18 10:37:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476411373480837120,"timestamp_seconds":5476411373480837.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165232384001,"66":14080,"112":206,"28":31744,"24":60,"16":21229671156809728,"45":1823113454812835840},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165232384001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:37:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21229671156809728,"km_value":21229671156809.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454812835840,"description":"Unknown IO ID 45"} 
[2026-09-18 10:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165232384001,"power":14080,"unknown_112":206,"unknown_28":31744,"ignition":60,"odometer":null,"unknown_45":1823113454812835840}} 
[2026-09-18 10:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":186054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:37:04] local.INFO: GPS data processed {"connection_id":186054,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:37:04] local.INFO: Acknowledgment sent {"connection_id":186054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:37:08] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:37:08] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:37:08] local.INFO: IMEI packet received {"connection_id":185899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":185899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:37:08] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df7c90012d7e140005d3c1d0000700b225..."} 
[2026-09-18 10:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df7c90012d7e140005d3c1d0000700b225..."} 
[2026-09-18 10:37:08] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df7c90012d7e140005d3c1d0000700b225..."} 
[2026-09-18 10:37:08] local.INFO: Packet analysis {"connection_id":185899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:37:08] local.INFO: Extracted packet for processing {"connection_id":185899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":37,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:37: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-09-18 10:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090304001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:08] 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-09-18 10:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707386000,"timestamp_ms":1789707386000,"timestamp_seconds":1789707386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df7c90"} 
[2026-09-18 10:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 10:37: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-09-18 10:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090304001,"66":13102,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090304001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090304001,"power":13102,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":185899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:37:08] local.INFO: GPS data processed {"connection_id":185899,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:37:08] local.INFO: Acknowledgment sent {"connection_id":185899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:37:25] local.INFO: TCP Data received {"connection_id":188677,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:25] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:25] local.INFO: IMEI packet received {"connection_id":188677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":188677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:37:30] local.INFO: TCP Data received {"connection_id":188677,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:30] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:30] local.INFO: IMEI packet received {"connection_id":188677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":188677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:37:30] local.INFO: TCP Data received {"connection_id":188677,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:30] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:37:30] local.INFO: IMEI packet received {"connection_id":188677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":188677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:37:31] local.INFO: TCP Data received {"connection_id":188677,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e8b008012d1a3d400723cb48002d002226..."} 
[2026-09-18 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e8b008012d1a3d400723cb48002d002226..."} 
[2026-09-18 10:37:31] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e8b008012d1a3d400723cb48002d002226..."} 
[2026-09-18 10:37:31] local.INFO: Packet analysis {"connection_id":188677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:37:31] local.INFO: Extracted packet for processing {"connection_id":188677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756694336,"raw_latitude":119786312,"longitude_deg":75.6694336,"latitude_deg":11.9786312,"altitude":45,"angle":34,"satellites":38,"speed":21,"hex_longitude":"2d1a3d40","hex_latitude":"0723cb48","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165244160001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21233132900450304,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888486018160633856,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789707989000,"timestamp_ms":1789707989000,"timestamp_seconds":1789707989,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e8b008"} 
[2026-09-18 10:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:37: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-09-18 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 10:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165244160001,"66":13852,"112":206,"28":31744,"24":21,"16":21233132900450304,"45":1888486018160633856},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165244160001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:37:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21233132900450304,"km_value":21233132900450.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888486018160633856,"description":"Unknown IO ID 45"} 
[2026-09-18 10:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165244160001,"power":13852,"unknown_112":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1888486018160633856}} 
[2026-09-18 10:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":188677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:37:31] local.INFO: GPS data processed {"connection_id":188677,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:37:31] local.INFO: Acknowledgment sent {"connection_id":188677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:37:34] local.INFO: TCP Data received {"connection_id":188677,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e8bbc0012d1a3fc00723ce60002d003423..."} 
[2026-09-18 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e8bbc0012d1a3fc00723ce60002d003423..."} 
[2026-09-18 10:37:34] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e8bbc0012d1a3fc00723ce60002d003423..."} 
[2026-09-18 10:37:34] local.INFO: Packet analysis {"connection_id":188677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:37:34] local.INFO: Extracted packet for processing {"connection_id":188677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119787104,"longitude_deg":75.6694976,"latitude_deg":11.9787104,"altitude":45,"angle":52,"satellites":35,"speed":10,"hex_longitude":"2d1a3fc0","hex_latitude":"0723ce60","is_valid_coordinates":true} 
[2026-09-18 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165245184001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21233180145090560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890737817974949888,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789707992000,"timestamp_ms":1789707992000,"timestamp_seconds":1789707992,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e8bbc0"} 
[2026-09-18 10:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-18 10:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165245184001,"66":14363,"112":206,"28":31744,"24":10,"16":21233180145090560,"45":1890737817974949888},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165245184001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21233180145090560,"km_value":21233180145090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890737817974949888,"description":"Unknown IO ID 45"} 
[2026-09-18 10:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165245184001,"power":14363,"unknown_112":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1890737817974949888}} 
[2026-09-18 10:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":188677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:37:34] local.INFO: GPS data processed {"connection_id":188677,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:37:34] local.INFO: Acknowledgment sent {"connection_id":188677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:37:39] local.INFO: TCP Data received {"connection_id":185899,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2df7c90012d7e140005d3c1d0000700b225..."} 
[2026-09-18 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2df7c90012d7e140005d3c1d0000700b225..."} 
[2026-09-18 10:37:39] local.INFO: Processing buffer {"connection_id":185899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2df7c90012d7e140005d3c1d0000700b225..."} 
[2026-09-18 10:37:39] local.INFO: Packet analysis {"connection_id":185899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:37:39] local.INFO: Extracted packet for processing {"connection_id":185899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2df"} 
[2026-09-18 10:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763792,"longitude_deg":76.3237376,"latitude_deg":9.7763792,"altitude":7,"angle":178,"satellites":37,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c1d0","is_valid_coordinates":true} 
[2026-09-18 10:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:39] 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-09-18 10:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789707386000,"timestamp_ms":1789707386000,"timestamp_seconds":1789707386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2df7c90"} 
[2026-09-18 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-09-18 10:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 10:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":13102,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":13102,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":185899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:37:39] local.INFO: GPS data processed {"connection_id":185899,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:37:39] local.INFO: Acknowledgment sent {"connection_id":185899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:37:48] local.INFO: TCP Data received {"connection_id":187357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:37:48] local.INFO: Processing buffer {"connection_id":187357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:37:48] local.INFO: IMEI packet received {"connection_id":187357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":187357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:37:52] local.INFO: TCP Data received {"connection_id":187357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:37:52] local.INFO: Processing buffer {"connection_id":187357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:37:52] local.INFO: IMEI packet received {"connection_id":187357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":187357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:37:53] local.INFO: TCP Data received {"connection_id":187357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e865d0012d390e8006a96880000e005b2a..."} 
[2026-09-18 10:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e865d0012d390e8006a96880000e005b2a..."} 
[2026-09-18 10:37:53] local.INFO: Processing buffer {"connection_id":187357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e865d0012d390e8006a96880000e005b2a..."} 
[2026-09-18 10:37:53] local.INFO: Packet analysis {"connection_id":187357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:37:53] local.INFO: Extracted packet for processing {"connection_id":187357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758713984,"raw_latitude":111765632,"longitude_deg":75.8713984,"latitude_deg":11.1765632,"altitude":14,"angle":91,"satellites":42,"speed":28,"hex_longitude":"2d390e80","hex_latitude":"06a96880","is_valid_coordinates":true} 
[2026-09-18 10:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236992001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405191797434744832,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4100738595565789184,"note":"Value kept but may cause issues"} 
[2026-09-18 10:37:53] 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-09-18 10:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789707970000,"timestamp_ms":1789707970000,"timestamp_seconds":1789707970,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e865d0"} 
[2026-09-18 10:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:37:53] 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-09-18 10:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236992001,"66":27713,"91":206,"81":23296,"24":28,"16":405191797434744832,"45":4100738595565789184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-18 10:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236992001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:37:53] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405191797434744832,"km_value":405191797434744.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4100738595565789184,"description":"Unknown IO ID 45"} 
[2026-09-18 10:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236992001,"power":27713,"unknown_91":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":4100738595565789184}} 
[2026-09-18 10:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":187357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:37:53] local.INFO: GPS data processed {"connection_id":187357,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:37:53] local.INFO: Acknowledgment sent {"connection_id":187357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:05] local.INFO: TCP Data received {"connection_id":188677,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e8c778012d1a42800723d148002e002121..."} 
[2026-09-18 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e8c778012d1a42800723d148002e002121..."} 
[2026-09-18 10:38:05] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e8c778012d1a42800723d148002e002121..."} 
[2026-09-18 10:38:05] local.INFO: Packet analysis {"connection_id":188677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:05] local.INFO: Extracted packet for processing {"connection_id":188677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756695680,"raw_latitude":119787848,"longitude_deg":75.669568,"latitude_deg":11.9787848,"altitude":46,"angle":33,"satellites":33,"speed":18,"hex_longitude":"2d1a4280","hex_latitude":"0723d148","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165245952001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21233231684698112,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505416929280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789707995000,"timestamp_ms":1789707995000,"timestamp_seconds":1789707995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e8c778"} 
[2026-09-18 10:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38: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-09-18 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165245952001,"66":14363,"112":206,"28":31744,"24":18,"16":21233231684698112,"45":1891441505416929280},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165245952001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21233231684698112,"km_value":21233231684698.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505416929280,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165245952001,"power":14363,"unknown_112":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1891441505416929280}} 
[2026-09-18 10:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":188677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:05] local.INFO: GPS data processed {"connection_id":188677,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:05] local.INFO: Acknowledgment sent {"connection_id":188677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:08] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:38:08] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:38:08] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:38:13] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:38:13] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:38:13] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:38:13] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:38:13] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:38:13] local.INFO: Packet analysis {"connection_id":186055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:13] local.INFO: Extracted packet for processing {"connection_id":186055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":35,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:13] 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-09-18 10:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789707956000,"timestamp_ms":1789707956000,"timestamp_seconds":1789707956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e82f20"} 
[2026-09-18 10:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":186055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:13] local.INFO: GPS data processed {"connection_id":186055,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:13] local.INFO: Acknowledgment sent {"connection_id":186055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:17] local.INFO: TCP Data received {"connection_id":185900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:17] local.INFO: Processing buffer {"connection_id":185900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:17] local.INFO: IMEI packet received {"connection_id":185900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":185900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:38:18] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:38:18] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:38:18] local.INFO: Packet analysis {"connection_id":186055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:18] local.INFO: Extracted packet for processing {"connection_id":186055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":35,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:18] 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-09-18 10:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789707956000,"timestamp_ms":1789707956000,"timestamp_seconds":1789707956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e82f20"} 
[2026-09-18 10:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38: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-09-18 10: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:38:18] local.INFO: TCP Data received {"connection_id":185900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:18] local.INFO: Processing buffer {"connection_id":185900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:18] local.INFO: IMEI packet received {"connection_id":185900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":185900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":186055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:18] local.INFO: GPS data processed {"connection_id":186055,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:18] local.INFO: Acknowledgment sent {"connection_id":186055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:23] local.INFO: TCP Data received {"connection_id":185900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:23] local.INFO: Processing buffer {"connection_id":185900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:38:23] local.INFO: IMEI packet received {"connection_id":185900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":185900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:38:24] local.INFO: TCP Data received {"connection_id":185900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e87d40012d391e4006a965c0000e00662b..."} 
[2026-09-18 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e87d40012d391e4006a965c0000e00662b..."} 
[2026-09-18 10:38:24] local.INFO: Processing buffer {"connection_id":185900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e87d40012d391e4006a965c0000e00662b..."} 
[2026-09-18 10:38:24] local.INFO: Packet analysis {"connection_id":185900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:24] local.INFO: Extracted packet for processing {"connection_id":185900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758718016,"raw_latitude":111764928,"longitude_deg":75.8718016,"latitude_deg":11.1764928,"altitude":14,"angle":102,"satellites":43,"speed":30,"hex_longitude":"2d391e40","hex_latitude":"06a965c0","is_valid_coordinates":true} 
[2026-09-18 10:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165240320001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405191995003240448,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111364275936198656,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:24] 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-09-18 10:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789707976000,"timestamp_ms":1789707976000,"timestamp_seconds":1789707976,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e87d40"} 
[2026-09-18 10:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:24] 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-09-18 10:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165240320001,"66":27919,"91":206,"81":23296,"24":30,"16":405191995003240448,"45":4111364275936198656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-18 10:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165240320001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:24] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405191995003240448,"km_value":405191995003240.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111364275936198656,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165240320001,"power":27919,"unknown_91":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4111364275936198656}} 
[2026-09-18 10:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":185900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:24] local.INFO: GPS data processed {"connection_id":185900,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:24] local.INFO: Acknowledgment sent {"connection_id":185900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:29] local.INFO: TCP Data received {"connection_id":187359,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:29] local.INFO: Processing buffer {"connection_id":187359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:29] local.INFO: IMEI packet received {"connection_id":187359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":187359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:38:30] local.INFO: TCP Data received {"connection_id":187359,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:30] local.INFO: Processing buffer {"connection_id":187359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:30] local.INFO: IMEI packet received {"connection_id":187359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":187359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:38:35] local.INFO: TCP Data received {"connection_id":187359,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:35] local.INFO: Processing buffer {"connection_id":187359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:38:35] local.INFO: IMEI packet received {"connection_id":187359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":187359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:38:37] local.INFO: TCP Data received {"connection_id":187359,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e8f270012d1a54800723f048002e002027..."} 
[2026-09-18 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e8f270012d1a54800723f048002e002027..."} 
[2026-09-18 10:38:37] local.INFO: Processing buffer {"connection_id":187359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e8f270012d1a54800723f048002e002027..."} 
[2026-09-18 10:38:37] local.INFO: Packet analysis {"connection_id":187359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:37] local.INFO: Extracted packet for processing {"connection_id":187359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756700288,"raw_latitude":119795784,"longitude_deg":75.6700288,"latitude_deg":11.9795784,"altitude":46,"angle":32,"satellites":39,"speed":42,"hex_longitude":"2d1a5480","hex_latitude":"0723f048","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165246720001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21233674066329600,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892215561603074048,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789708006000,"timestamp_ms":1789708006000,"timestamp_seconds":1789708006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e8f270"} 
[2026-09-18 10:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165246720001,"66":13820,"112":206,"28":31744,"24":42,"16":21233674066329600,"45":1892215561603074048},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165246720001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21233674066329600,"km_value":21233674066329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892215561603074048,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165246720001,"power":13820,"unknown_112":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1892215561603074048}} 
[2026-09-18 10:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":187359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:37] local.INFO: GPS data processed {"connection_id":187359,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:37] local.INFO: Acknowledgment sent {"connection_id":187359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:40] local.INFO: TCP Data received {"connection_id":187359,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e905f8012d1a62c007240198002c002c28..."} 
[2026-09-18 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e905f8012d1a62c007240198002c002c28..."} 
[2026-09-18 10:38:40] local.INFO: Processing buffer {"connection_id":187359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e905f8012d1a62c007240198002c002c28..."} 
[2026-09-18 10:38:40] local.INFO: Packet analysis {"connection_id":187359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e9"} 
[2026-09-18 10:38:40] local.INFO: Extracted packet for processing {"connection_id":187359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e9"} 
[2026-09-18 10:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756703936,"raw_latitude":119800216,"longitude_deg":75.6703936,"latitude_deg":11.9800216,"altitude":44,"angle":44,"satellites":40,"speed":47,"hex_longitude":"2d1a62c0","hex_latitude":"07240198","is_valid_coordinates":true} 
[2026-09-18 10:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165249536001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21233948944236544,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897282111185897472,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789708011000,"timestamp_ms":1789708011000,"timestamp_seconds":1789708011,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e905f8"} 
[2026-09-18 10:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165249536001,"66":14428,"112":206,"28":31744,"24":47,"16":21233948944236544,"45":1897282111185897472},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 10:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165249536001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 10:38:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21233948944236544,"km_value":21233948944236.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897282111185897472,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165249536001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1897282111185897472}} 
[2026-09-18 10:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":187359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:40] local.INFO: GPS data processed {"connection_id":187359,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:40] local.INFO: Acknowledgment sent {"connection_id":187359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:38:56] local.INFO: TCP Data received {"connection_id":185900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea07c8012d39950006a89c08000b00a62d..."} 
[2026-09-18 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea07c8012d39950006a89c08000b00a62d..."} 
[2026-09-18 10:38:56] local.INFO: Processing buffer {"connection_id":185900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea07c8012d39950006a89c08000b00a62d..."} 
[2026-09-18 10:38:56] local.INFO: Packet analysis {"connection_id":185900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:38:56] local.INFO: Extracted packet for processing {"connection_id":185900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758748416,"raw_latitude":111713288,"longitude_deg":75.8748416,"latitude_deg":11.1713288,"altitude":11,"angle":166,"satellites":45,"speed":43,"hex_longitude":"2d399500","hex_latitude":"06a89c08","is_valid_coordinates":true} 
[2026-09-18 10:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165265408001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405195229113614336,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146407910525696000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:38:56] 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-09-18 10:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789708077000,"timestamp_ms":1789708077000,"timestamp_seconds":1789708077,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea07c8"} 
[2026-09-18 10:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 10:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165265408001,"66":27876,"239":206,"81":49664,"24":43,"16":405195229113614336,"45":4146407910525696000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 10:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165265408001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:38:56] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 10:38:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405195229113614336,"km_value":405195229113614.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146407910525696000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165265408001,"power":27876,"unknown_239":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4146407910525696000}} 
[2026-09-18 10:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":185900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:38:56] local.INFO: GPS data processed {"connection_id":185900,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:38:56] local.INFO: Acknowledgment sent {"connection_id":185900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:03] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:39:03] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:39:03] local.INFO: IMEI packet received {"connection_id":186056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":186056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:39:08] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:39:08] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:39:08] local.INFO: IMEI packet received {"connection_id":186056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":186056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:39:08] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:39:08] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:39:08] local.INFO: Packet analysis {"connection_id":186056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:39:08] local.INFO: Extracted packet for processing {"connection_id":186056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":35,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:08] 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-09-18 10:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707956000,"timestamp_ms":1789707956000,"timestamp_seconds":1789707956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e82f20"} 
[2026-09-18 10:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":186056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:08] local.INFO: GPS data processed {"connection_id":186056,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:08] local.INFO: Acknowledgment sent {"connection_id":186056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:17] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:39:18] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:39:18] local.INFO: IMEI packet received {"connection_id":185901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":185901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:39:22] local.INFO: TCP Data received {"connection_id":188678,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:22] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:22] local.INFO: IMEI packet received {"connection_id":188678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":188678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:39:23] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:39:23] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:39:23] local.INFO: IMEI packet received {"connection_id":185901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":185901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:39:24] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea2708012d399d8006a87a08000b00a32b..."} 
[2026-09-18 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea2708012d399d8006a87a08000b00a32b..."} 
[2026-09-18 10:39:24] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea2708012d399d8006a87a08000b00a32b..."} 
[2026-09-18 10:39:24] local.INFO: Packet analysis {"connection_id":185901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:24] local.INFO: Extracted packet for processing {"connection_id":185901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758750592,"raw_latitude":111704584,"longitude_deg":75.8750592,"latitude_deg":11.1704584,"altitude":11,"angle":163,"satellites":43,"speed":45,"hex_longitude":"2d399d80","hex_latitude":"06a87a08","is_valid_coordinates":true} 
[2026-09-18 10:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165267712001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405195662905311232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4149222660290381824,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:24] 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-09-18 10:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789708085000,"timestamp_ms":1789708085000,"timestamp_seconds":1789708085,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea2708"} 
[2026-09-18 10:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 10:39:24] 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-09-18 10:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165267712001,"66":27800,"239":206,"81":49664,"24":45,"16":405195662905311232,"45":4149222660290381824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 10:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165267712001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:24] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 10:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405195662905311232,"km_value":405195662905311.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4149222660290381824,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165267712001,"power":27800,"unknown_239":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4149222660290381824}} 
[2026-09-18 10:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":185901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:24] local.INFO: GPS data processed {"connection_id":185901,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:24] local.INFO: Acknowledgment sent {"connection_id":185901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:25] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea4a30012d39a80006a85510000e00a52c..."} 
[2026-09-18 10:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea4a30012d39a80006a85510000e00a52c..."} 
[2026-09-18 10:39:25] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea4a30012d39a80006a85510000e00a52c..."} 
[2026-09-18 10:39:25] local.INFO: Packet analysis {"connection_id":185901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:25] local.INFO: Extracted packet for processing {"connection_id":185901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758753280,"raw_latitude":111695120,"longitude_deg":75.875328,"latitude_deg":11.169512,"altitude":14,"angle":165,"satellites":44,"speed":41,"hex_longitude":"2d39a800","hex_latitude":"06a85510","is_valid_coordinates":true} 
[2026-09-18 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165269760001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405196139646681088,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151615197590194176,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:25] 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-09-18 10:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789708094000,"timestamp_ms":1789708094000,"timestamp_seconds":1789708094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea4a30"} 
[2026-09-18 10:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:39:25] 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-09-18 10:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165269760001,"66":27767,"239":206,"81":49664,"24":41,"16":405196139646681088,"45":4151615197590194176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 10:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165269760001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:25] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 10:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405196139646681088,"km_value":405196139646681.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151615197590194176,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165269760001,"power":27767,"unknown_239":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4151615197590194176}} 
[2026-09-18 10:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":185901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:25] local.INFO: GPS data processed {"connection_id":185901,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:25] local.INFO: Acknowledgment sent {"connection_id":185901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:26] local.INFO: TCP Data received {"connection_id":188678,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:26] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:26] local.INFO: IMEI packet received {"connection_id":188678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":188678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:39:31] local.INFO: TCP Data received {"connection_id":188678,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:31] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:39:31] local.INFO: IMEI packet received {"connection_id":188678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":188678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:39:32] local.INFO: TCP Data received {"connection_id":188678,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea7cf8012d1b51c00724bb080026002324..."} 
[2026-09-18 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea7cf8012d1b51c00724bb080026002324..."} 
[2026-09-18 10:39:32] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea7cf8012d1b51c00724bb080026002324..."} 
[2026-09-18 10:39:32] local.INFO: Packet analysis {"connection_id":188678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:32] local.INFO: Extracted packet for processing {"connection_id":188678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756765120,"raw_latitude":119847688,"longitude_deg":75.676512,"latitude_deg":11.9847688,"altitude":38,"angle":35,"satellites":36,"speed":40,"hex_longitude":"2d1b51c0","hex_latitude":"0724bb08","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165274880001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21237732810424320,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967087905423042560,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708107000,"timestamp_ms":1789708107000,"timestamp_seconds":1789708107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea7cf8"} 
[2026-09-18 10:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39: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-09-18 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 10:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165274880001,"66":14428,"91":206,"28":31744,"24":40,"16":21237732810424320,"45":1967087905423042560},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 10:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165274880001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21237732810424320,"km_value":21237732810424.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967087905423042560,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165274880001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1967087905423042560}} 
[2026-09-18 10:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":188678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:32] local.INFO: GPS data processed {"connection_id":188678,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:32] local.INFO: Acknowledgment sent {"connection_id":188678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:36] local.INFO: TCP Data received {"connection_id":188678,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea84c8012d1b55800724c2000026001521..."} 
[2026-09-18 10:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea84c8012d1b55800724c2000026001521..."} 
[2026-09-18 10:39:36] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea84c8012d1b55800724c2000026001521..."} 
[2026-09-18 10:39:36] local.INFO: Packet analysis {"connection_id":188678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:36] local.INFO: Extracted packet for processing {"connection_id":188678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756766080,"raw_latitude":119849472,"longitude_deg":75.676608,"latitude_deg":11.9849472,"altitude":38,"angle":21,"satellites":33,"speed":39,"hex_longitude":"2d1b5580","hex_latitude":"0724c200","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165275392001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21237827299704832,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968565649051158528,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789708109000,"timestamp_ms":1789708109000,"timestamp_seconds":1789708109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea84c8"} 
[2026-09-18 10:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39: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-09-18 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 10:39: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-09-18 10: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-09-18 10:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165275392001,"66":14254,"91":206,"28":31744,"24":39,"16":21237827299704832,"45":1968565649051158528},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 10:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165275392001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:36] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21237827299704832,"km_value":21237827299704.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968565649051158528,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165275392001,"power":14254,"unknown_91":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1968565649051158528}} 
[2026-09-18 10:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":188678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:36] local.INFO: GPS data processed {"connection_id":188678,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:36] local.INFO: Acknowledgment sent {"connection_id":188678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:39] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:39:39] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:39:39] local.INFO: Packet analysis {"connection_id":186056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:39:39] local.INFO: Extracted packet for processing {"connection_id":186056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":35,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:39] 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-09-18 10:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789707956000,"timestamp_ms":1789707956000,"timestamp_seconds":1789707956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e82f20"} 
[2026-09-18 10:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":186056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:39] local.INFO: GPS data processed {"connection_id":186056,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:39] local.INFO: Acknowledgment sent {"connection_id":186056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:39:46] local.INFO: TCP Data received {"connection_id":187358,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:39:46] local.INFO: Processing buffer {"connection_id":187358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:39:46] local.INFO: IMEI packet received {"connection_id":187358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":187358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:39:57] local.INFO: TCP Data received {"connection_id":185901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea84c8012d39b14006a832a8001200ab2b..."} 
[2026-09-18 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea84c8012d39b14006a832a8001200ab2b..."} 
[2026-09-18 10:39:57] local.INFO: Processing buffer {"connection_id":185901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea84c8012d39b14006a832a8001200ab2b..."} 
[2026-09-18 10:39:57] local.INFO: Packet analysis {"connection_id":185901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:57] local.INFO: Extracted packet for processing {"connection_id":185901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:39:57] local.INFO: GPS Element Parsed {"raw_longitude":758755648,"raw_latitude":111686312,"longitude_deg":75.8755648,"latitude_deg":11.1686312,"altitude":18,"angle":171,"satellites":43,"speed":14,"hex_longitude":"2d39b140","hex_latitude":"06a832a8","is_valid_coordinates":true} 
[2026-09-18 10:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165272064001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405196582028312576,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4154570684843233280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:39:57] 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-09-18 10:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789708109000,"timestamp_ms":1789708109000,"timestamp_seconds":1789708109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea84c8"} 
[2026-09-18 10:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:39:57] 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-09-18 10:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165272064001,"66":27865,"238":206,"81":49664,"24":14,"16":405196582028312576,"45":4154570684843233280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 10:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165272064001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:39:57] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 10:39:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405196582028312576,"km_value":405196582028312.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4154570684843233280,"description":"Unknown IO ID 45"} 
[2026-09-18 10:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165272064001,"power":27865,"unknown_238":206,"unknown_81":49664,"ignition":14,"odometer":null,"unknown_45":4154570684843233280}} 
[2026-09-18 10:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":185901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:39:57] local.INFO: GPS data processed {"connection_id":185901,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:39:57] local.INFO: Acknowledgment sent {"connection_id":185901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:40:03] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:40:03] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:40:03] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:40:07] local.INFO: TCP Data received {"connection_id":188678,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ea9080012d1b58000724cd300025000821..."} 
[2026-09-18 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ea9080012d1b58000724cd300025000821..."} 
[2026-09-18 10:40:07] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ea9080012d1b58000724cd300025000821..."} 
[2026-09-18 10:40:07] local.INFO: Packet analysis {"connection_id":188678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:07] local.INFO: Extracted packet for processing {"connection_id":188678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119852336,"longitude_deg":75.676672,"latitude_deg":11.9852336,"altitude":37,"angle":8,"satellites":33,"speed":39,"hex_longitude":"2d1b5800","hex_latitude":"0724cd30","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165275904001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21237969033625600,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180214280192,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789708112000,"timestamp_ms":1789708112000,"timestamp_seconds":1789708112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ea9080"} 
[2026-09-18 10:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-18 10:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165275904001,"66":14070,"91":206,"28":31744,"24":39,"16":21237969033625600,"45":1969621180214280192},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 10:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165275904001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:40:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21237969033625600,"km_value":21237969033625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180214280192,"description":"Unknown IO ID 45"} 
[2026-09-18 10:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165275904001,"power":14070,"unknown_91":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1969621180214280192}} 
[2026-09-18 10:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":188678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:40:07] local.INFO: GPS data processed {"connection_id":188678,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:40:07] local.INFO: Acknowledgment sent {"connection_id":188678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:40:08] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:40:08] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:40:08] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:40:08] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:40:08] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:40:08] local.INFO: Packet analysis {"connection_id":186057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:40:08] local.INFO: Extracted packet for processing {"connection_id":186057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":35,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:08] 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-09-18 10:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789707956000,"timestamp_ms":1789707956000,"timestamp_seconds":1789707956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e82f20"} 
[2026-09-18 10:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":186057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:40:08] local.INFO: GPS data processed {"connection_id":186057,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:40:08] local.INFO: Acknowledgment sent {"connection_id":186057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:40:11] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:11] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:11] local.INFO: IMEI packet received {"connection_id":188679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":188679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:40:12] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:12] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:12] local.INFO: IMEI packet received {"connection_id":188679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":188679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:40:17] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:17] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:40:17] local.INFO: IMEI packet received {"connection_id":188679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":188679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:40:18] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eac730012d39b80006a80f70001300a22c..."} 
[2026-09-18 10:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eac730012d39b80006a80f70001300a22c..."} 
[2026-09-18 10:40:18] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eac730012d39b80006a80f70001300a22c..."} 
[2026-09-18 10:40:18] local.INFO: Packet analysis {"connection_id":188679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:18] local.INFO: Extracted packet for processing {"connection_id":188679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758757376,"raw_latitude":111677296,"longitude_deg":75.8757376,"latitude_deg":11.1677296,"altitude":19,"angle":162,"satellites":44,"speed":26,"hex_longitude":"2d39b800","hex_latitude":"06a80f70","is_valid_coordinates":true} 
[2026-09-18 10:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165275904001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405197028704911360,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157174328375552000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:18] 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-09-18 10:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789708126000,"timestamp_ms":1789708126000,"timestamp_seconds":1789708126,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eac730"} 
[2026-09-18 10:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 10:40:18] 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-09-18 10:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165275904001,"66":27876,"238":206,"81":49664,"24":26,"16":405197028704911360,"45":4157174328375552000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 10:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165275904001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:40:18] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 10:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405197028704911360,"km_value":405197028704911.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157174328375552000,"description":"Unknown IO ID 45"} 
[2026-09-18 10:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165275904001,"power":27876,"unknown_238":206,"unknown_81":49664,"ignition":26,"odometer":null,"unknown_45":4157174328375552000}} 
[2026-09-18 10:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":188679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:40:18] local.INFO: GPS data processed {"connection_id":188679,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:40:18] local.INFO: Acknowledgment sent {"connection_id":188679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:40:25] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:40:25] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:40:25] local.INFO: IMEI packet received {"connection_id":186058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":186058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:40:28] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:40:28] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:40:28] local.INFO: IMEI packet received {"connection_id":186058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":186058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:40:29] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eaa408012d1b59400724e1780024016520..."} 
[2026-09-18 10:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eaa408012d1b59400724e1780024016520..."} 
[2026-09-18 10:40:29] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eaa408012d1b59400724e1780024016520..."} 
[2026-09-18 10:40:29] local.INFO: Packet analysis {"connection_id":186058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:29] local.INFO: Extracted packet for processing {"connection_id":186058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119857528,"longitude_deg":75.676704,"latitude_deg":11.9857528,"altitude":36,"angle":357,"satellites":32,"speed":42,"hex_longitude":"2d1b5940","hex_latitude":"0724e178","is_valid_coordinates":true} 
[2026-09-18 10:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165276672001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21238222436696064,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867656790016,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789708117000,"timestamp_ms":1789708117000,"timestamp_seconds":1789708117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eaa408"} 
[2026-09-18 10:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 10:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165276672001,"66":14483,"91":206,"28":31744,"24":42,"16":21238222436696064,"45":1970324867656790016},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 10:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165276672001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:40:29] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21238222436696064,"km_value":21238222436696.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867656790016,"description":"Unknown IO ID 45"} 
[2026-09-18 10:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165276672001,"power":14483,"unknown_91":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1970324867656790016}} 
[2026-09-18 10:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":186058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:40:30] local.INFO: GPS data processed {"connection_id":186058,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:40:30] local.INFO: Acknowledgment sent {"connection_id":186058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:40:39] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:40:39] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2e82f20012d7e140005d3c190000700b223..."} 
[2026-09-18 10:40:39] local.INFO: Packet analysis {"connection_id":186057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:40:39] local.INFO: Extracted packet for processing {"connection_id":186057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2e8"} 
[2026-09-18 10:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":35,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165090816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340663808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:39] 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-09-18 10:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789707956000,"timestamp_ms":1789707956000,"timestamp_seconds":1789707956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2e82f20"} 
[2026-09-18 10:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 10:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165090816001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340663808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165090816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340663808,"description":"Unknown IO ID 45"} 
[2026-09-18 10:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165090816001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340663808}} 
[2026-09-18 10:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":186057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:40:40] local.INFO: GPS data processed {"connection_id":186057,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:40:40] local.INFO: Acknowledgment sent {"connection_id":186057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:40:49] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eaf610012d39c2c006a7ee50001300a02c..."} 
[2026-09-18 10:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eaf610012d39c2c006a7ee50001300a02c..."} 
[2026-09-18 10:40:49] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eaf610012d39c2c006a7ee50001300a02c..."} 
[2026-09-18 10:40:49] local.INFO: Packet analysis {"connection_id":188679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:49] local.INFO: Extracted packet for processing {"connection_id":188679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758760128,"raw_latitude":111668816,"longitude_deg":75.8760128,"latitude_deg":11.1668816,"altitude":19,"angle":160,"satellites":44,"speed":29,"hex_longitude":"2d39c2c0","hex_latitude":"06a7ee50","is_valid_coordinates":true} 
[2026-09-18 10:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165280256001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405197462496608256,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4159074284466040832,"note":"Value kept but may cause issues"} 
[2026-09-18 10:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789708138000,"timestamp_ms":1789708138000,"timestamp_seconds":1789708138,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eaf610"} 
[2026-09-18 10:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 10:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165280256001,"66":27767,"238":206,"81":49664,"24":29,"16":405197462496608256,"45":4159074284466040832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 10:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165280256001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:40:49] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 10:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405197462496608256,"km_value":405197462496608.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4159074284466040832,"description":"Unknown IO ID 45"} 
[2026-09-18 10:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165280256001,"power":27767,"unknown_238":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4159074284466040832}} 
[2026-09-18 10:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":188679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:40:49] local.INFO: GPS data processed {"connection_id":188679,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:40:49] local.INFO: Acknowledgment sent {"connection_id":188679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:01] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eac348012d1b5600072503f0002200031f..."} 
[2026-09-18 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eac348012d1b5600072503f0002200031f..."} 
[2026-09-18 10:41:01] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eac348012d1b5600072503f0002200031f..."} 
[2026-09-18 10:41:01] local.INFO: Packet analysis {"connection_id":186058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:41:01] local.INFO: Extracted packet for processing {"connection_id":186058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ea"} 
[2026-09-18 10:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119866352,"longitude_deg":75.6766208,"latitude_deg":11.9866352,"altitude":34,"angle":3,"satellites":31,"speed":40,"hex_longitude":"2d1b5600","hex_latitude":"072503f0","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165277952001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21238651933425664,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711379007488,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789708125000,"timestamp_ms":1789708125000,"timestamp_seconds":1789708125,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eac348"} 
[2026-09-18 10:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 10:41: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-09-18 10: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-09-18 10:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165277952001,"66":14026,"91":206,"28":31744,"24":40,"16":21238651933425664,"45":1970676711379007488},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 10:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165277952001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 10:41:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21238651933425664,"km_value":21238651933425.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711379007488,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165277952001,"power":14026,"unknown_91":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1970676711379007488}} 
[2026-09-18 10:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":186058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:01] local.INFO: GPS data processed {"connection_id":186058,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:01] local.INFO: Acknowledgment sent {"connection_id":186058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:03] local.INFO: TCP Data received {"connection_id":187360,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:41:03] local.INFO: Processing buffer {"connection_id":187360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:41:03] local.INFO: IMEI packet received {"connection_id":187360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":187360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:41:08] local.INFO: TCP Data received {"connection_id":187360,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:41:08] local.INFO: Processing buffer {"connection_id":187360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:41:08] local.INFO: IMEI packet received {"connection_id":187360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":187360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:41:09] local.INFO: TCP Data received {"connection_id":187360,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:41:09] local.INFO: Processing buffer {"connection_id":187360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:41:09] local.INFO: Packet analysis {"connection_id":187360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:09] local.INFO: Extracted packet for processing {"connection_id":187360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:09] 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-09-18 10:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:41:09] 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-09-18 10:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":187360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:09] local.INFO: GPS data processed {"connection_id":187360,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:09] local.INFO: Acknowledgment sent {"connection_id":187360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:13] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:13] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:13] local.INFO: IMEI packet received {"connection_id":188680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":188680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:41:15] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:15] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:15] local.INFO: IMEI packet received {"connection_id":188680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":188680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:41:17] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:17] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:41:17] local.INFO: IMEI packet received {"connection_id":188680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":188680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:41:18] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eb24f0012d39cdc006a7cca0001300a12d..."} 
[2026-09-18 10:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eb24f0012d39cdc006a7cca0001300a12d..."} 
[2026-09-18 10:41:18] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eb24f0012d39cdc006a7cca0001300a12d..."} 
[2026-09-18 10:41:18] local.INFO: Packet analysis {"connection_id":188680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2eb"} 
[2026-09-18 10:41:18] local.INFO: Extracted packet for processing {"connection_id":188680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2eb"} 
[2026-09-18 10:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758762944,"raw_latitude":111660192,"longitude_deg":75.8762944,"latitude_deg":11.1660192,"altitude":19,"angle":161,"satellites":45,"speed":32,"hex_longitude":"2d39cdc0","hex_latitude":"06a7cca0","is_valid_coordinates":true} 
[2026-09-18 10:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165283328001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405197900583272448,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4162100140463509504,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:18] 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-09-18 10:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789708150000,"timestamp_ms":1789708150000,"timestamp_seconds":1789708150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eb24f0"} 
[2026-09-18 10:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165283328001,"66":27800,"238":206,"81":49664,"24":32,"16":405197900583272448,"45":4162100140463509504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 10:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165283328001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:18] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 10:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405197900583272448,"km_value":405197900583272.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4162100140463509504,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165283328001,"power":27800,"unknown_238":206,"unknown_81":49664,"ignition":32,"odometer":null,"unknown_45":4162100140463509504}} 
[2026-09-18 10:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":188680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:18] local.INFO: GPS data processed {"connection_id":188680,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:18] local.INFO: Acknowledgment sent {"connection_id":188680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:23] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eb4fe8012d39db0006a7a910001500a02d..."} 
[2026-09-18 10:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eb4fe8012d39db0006a7a910001500a02d..."} 
[2026-09-18 10:41:23] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eb4fe8012d39db0006a7a910001500a02d..."} 
[2026-09-18 10:41:23] local.INFO: Packet analysis {"connection_id":188680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2eb"} 
[2026-09-18 10:41:23] local.INFO: Extracted packet for processing {"connection_id":188680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2eb"} 
[2026-09-18 10:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758766336,"raw_latitude":111651088,"longitude_deg":75.8766336,"latitude_deg":11.1651088,"altitude":21,"angle":160,"satellites":45,"speed":35,"hex_longitude":"2d39db00","hex_latitude":"06a7a910","is_valid_coordinates":true} 
[2026-09-18 10:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165286400001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405198368734707712,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4165196365205118976,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:23] 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-09-18 10:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789708161000,"timestamp_ms":1789708161000,"timestamp_seconds":1789708161,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eb4fe8"} 
[2026-09-18 10:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:41:23] 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-09-18 10:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165286400001,"66":27876,"238":206,"81":49664,"24":35,"16":405198368734707712,"45":4165196365205118976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 10:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165286400001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:23] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 10:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405198368734707712,"km_value":405198368734707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4165196365205118976,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165286400001,"power":27876,"unknown_238":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4165196365205118976}} 
[2026-09-18 10:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":188680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:23] local.INFO: GPS data processed {"connection_id":188680,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:23] local.INFO: Acknowledgment sent {"connection_id":188680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:25] local.INFO: TCP Data received {"connection_id":186059,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:25] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:25] local.INFO: IMEI packet received {"connection_id":186059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":186059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:41:26] local.INFO: TCP Data received {"connection_id":186059,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:26] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:26] local.INFO: IMEI packet received {"connection_id":186059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":186059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:41:26] local.INFO: TCP Data received {"connection_id":186059,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:26] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:26] local.INFO: IMEI packet received {"connection_id":186059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":186059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:41:31] local.INFO: TCP Data received {"connection_id":186059,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:31] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:41:31] local.INFO: IMEI packet received {"connection_id":186059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":186059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:41:32] local.INFO: TCP Data received {"connection_id":186059,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ec55a0012d1b34800725ae90002b00002a..."} 
[2026-09-18 10:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ec55a0012d1b34800725ae90002b00002a..."} 
[2026-09-18 10:41:32] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ec55a0012d1b34800725ae90002b00002a..."} 
[2026-09-18 10:41:32] local.INFO: Packet analysis {"connection_id":186059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:32] local.INFO: Extracted packet for processing {"connection_id":186059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756757632,"raw_latitude":119910032,"longitude_deg":75.6757632,"latitude_deg":11.9910032,"altitude":43,"angle":0,"satellites":42,"speed":22,"hex_longitude":"2d1b3480","hex_latitude":"0725ae90","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165305856001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21240966920798208,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243486406656,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708228000,"timestamp_ms":1789708228000,"timestamp_seconds":1789708228,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ec55a0"} 
[2026-09-18 10:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41: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-09-18 10:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 10:41: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-09-18 10: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-09-18 10:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165305856001,"66":14189,"92":206,"28":31744,"24":22,"16":21240966920798208,"45":1960473243486406656},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165305856001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21240966920798208,"km_value":21240966920798.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243486406656,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165305856001,"power":14189,"unknown_92":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1960473243486406656}} 
[2026-09-18 10:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":186059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:32] local.INFO: GPS data processed {"connection_id":186059,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:32] local.INFO: Acknowledgment sent {"connection_id":186059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:40] local.INFO: TCP Data received {"connection_id":187360,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:41:40] local.INFO: Processing buffer {"connection_id":187360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:41:40] local.INFO: Packet analysis {"connection_id":187360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:40] local.INFO: Extracted packet for processing {"connection_id":187360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:40] 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-09-18 10:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:41:40] 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-09-18 10:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":187360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:40] local.INFO: GPS data processed {"connection_id":187360,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:40] local.INFO: Acknowledgment sent {"connection_id":187360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:41:55] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecbf18012d3b008006a73290002f00642e..."} 
[2026-09-18 10:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecbf18012d3b008006a73290002f00642e..."} 
[2026-09-18 10:41:55] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecbf18012d3b008006a73290002f00642e..."} 
[2026-09-18 10:41:55] local.INFO: Packet analysis {"connection_id":188680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:55] local.INFO: Extracted packet for processing {"connection_id":188680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758841472,"raw_latitude":111620752,"longitude_deg":75.8841472,"latitude_deg":11.1620752,"altitude":47,"angle":100,"satellites":46,"speed":38,"hex_longitude":"2d3b0080","hex_latitude":"06a73290","is_valid_coordinates":true} 
[2026-09-18 10:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165310720001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405202483313377280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4241194608907356160,"note":"Value kept but may cause issues"} 
[2026-09-18 10:41:55] 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-09-18 10:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789708255000,"timestamp_ms":1789708255000,"timestamp_seconds":1789708255,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecbf18"} 
[2026-09-18 10:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 10:41:55] 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-09-18 10:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165310720001,"66":27865,"101":206,"81":49664,"24":38,"16":405202483313377280,"45":4241194608907356160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-18 10:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165310720001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:41:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 10:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405202483313377280,"km_value":405202483313377.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4241194608907356160,"description":"Unknown IO ID 45"} 
[2026-09-18 10:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165310720001,"power":27865,"unknown_101":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4241194608907356160}} 
[2026-09-18 10:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":188680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:41:55] local.INFO: GPS data processed {"connection_id":188680,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:41:55] local.INFO: Acknowledgment sent {"connection_id":188680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:02] local.INFO: TCP Data received {"connection_id":187361,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:42:02] local.INFO: Processing buffer {"connection_id":187361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:42:02] local.INFO: IMEI packet received {"connection_id":187361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":187361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:42:03] local.INFO: TCP Data received {"connection_id":186059,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ec6d10012d1b35800725bd20002a000f28..."} 
[2026-09-18 10:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ec6d10012d1b35800725bd20002a000f28..."} 
[2026-09-18 10:42:03] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ec6d10012d1b35800725bd20002a000f28..."} 
[2026-09-18 10:42:03] local.INFO: Packet analysis {"connection_id":186059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:03] local.INFO: Extracted packet for processing {"connection_id":186059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756757888,"raw_latitude":119913760,"longitude_deg":75.6757888,"latitude_deg":11.991376,"altitude":42,"angle":15,"satellites":40,"speed":26,"hex_longitude":"2d1b3580","hex_latitude":"0725bd20","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165306368001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241151604391936,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960332505998331904,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789708234000,"timestamp_ms":1789708234000,"timestamp_seconds":1789708234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ec6d10"} 
[2026-09-18 10:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42: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-09-18 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 10:42: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-09-18 10: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-09-18 10:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165306368001,"66":14004,"92":206,"28":31744,"24":26,"16":21241151604391936,"45":1960332505998331904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165306368001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241151604391936,"km_value":21241151604391.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960332505998331904,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165306368001,"power":14004,"unknown_92":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1960332505998331904}} 
[2026-09-18 10:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":186059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:03] local.INFO: GPS data processed {"connection_id":186059,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:03] local.INFO: Acknowledgment sent {"connection_id":186059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:08] local.INFO: TCP Data received {"connection_id":187361,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:42:08] local.INFO: Processing buffer {"connection_id":187361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:42:08] local.INFO: IMEI packet received {"connection_id":187361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":187361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:42:08] local.INFO: TCP Data received {"connection_id":187361,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:42:08] local.INFO: Processing buffer {"connection_id":187361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:42:08] local.INFO: Packet analysis {"connection_id":187361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:08] local.INFO: Extracted packet for processing {"connection_id":187361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:08] 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-09-18 10:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:42:08] 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-09-18 10:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":187361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:08] local.INFO: GPS data processed {"connection_id":187361,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:08] local.INFO: Acknowledgment sent {"connection_id":187361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:12] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:42:12] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:42:12] local.INFO: IMEI packet received {"connection_id":185902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":185902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:42:15] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:42:15] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:42:15] local.INFO: IMEI packet received {"connection_id":185902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":185902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:42:17] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ece628012d3b274006a72b60003300642f..."} 
[2026-09-18 10:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ece628012d3b274006a72b60003300642f..."} 
[2026-09-18 10:42:17] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ece628012d3b274006a72b60003300642f..."} 
[2026-09-18 10:42:17] local.INFO: Packet analysis {"connection_id":185902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:17] local.INFO: Extracted packet for processing {"connection_id":185902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758851392,"raw_latitude":111618912,"longitude_deg":75.8851392,"latitude_deg":11.1618912,"altitude":51,"angle":100,"satellites":47,"speed":41,"hex_longitude":"2d3b2740","hex_latitude":"06a72b60","is_valid_coordinates":true} 
[2026-09-18 10:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313280001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405202964349714432,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4251538814301016064,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:17] 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-09-18 10:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789708265000,"timestamp_ms":1789708265000,"timestamp_seconds":1789708265,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ece628"} 
[2026-09-18 10:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 10:42:17] 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-09-18 10:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313280001,"66":27767,"101":206,"81":49664,"24":41,"16":405202964349714432,"45":4251538814301016064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-18 10:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313280001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 10:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405202964349714432,"km_value":405202964349714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4251538814301016064,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313280001,"power":27767,"unknown_101":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4251538814301016064}} 
[2026-09-18 10:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":185902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:17] local.INFO: GPS data processed {"connection_id":185902,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:17] local.INFO: Acknowledgment sent {"connection_id":185902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:30] local.INFO: TCP Data received {"connection_id":186060,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:42:30] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:42:30] local.INFO: IMEI packet received {"connection_id":186060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":186060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:42:32] local.INFO: TCP Data received {"connection_id":186060,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:42:32] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:42:32] local.INFO: IMEI packet received {"connection_id":186060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":186060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:42:33] local.INFO: TCP Data received {"connection_id":186060,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ec78c8012d1b38800725c418002a001d2a..."} 
[2026-09-18 10:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ec78c8012d1b38800725c418002a001d2a..."} 
[2026-09-18 10:42:33] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ec78c8012d1b38800725c418002a001d2a..."} 
[2026-09-18 10:42:33] local.INFO: Packet analysis {"connection_id":186060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:33] local.INFO: Extracted packet for processing {"connection_id":186060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119915544,"longitude_deg":75.6758656,"latitude_deg":11.9915544,"altitude":42,"angle":29,"satellites":42,"speed":25,"hex_longitude":"2d1b3880","hex_latitude":"0725c418","is_valid_coordinates":true} 
[2026-09-18 10:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165307904001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241246093672448,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960613980975996928,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789708237000,"timestamp_ms":1789708237000,"timestamp_seconds":1789708237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ec78c8"} 
[2026-09-18 10:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 10:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165307904001,"66":13580,"92":206,"28":31744,"24":25,"16":21241246093672448,"45":1960613980975996928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165307904001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241246093672448,"km_value":21241246093672.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960613980975996928,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165307904001,"power":13580,"unknown_92":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1960613980975996928}} 
[2026-09-18 10:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":186060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:33] local.INFO: GPS data processed {"connection_id":186060,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:33] local.INFO: Acknowledgment sent {"connection_id":186060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:36] local.INFO: TCP Data received {"connection_id":186060,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ec9fd8012d1b45000725d510002a002a2a..."} 
[2026-09-18 10:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ec9fd8012d1b45000725d510002a002a2a..."} 
[2026-09-18 10:42:36] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ec9fd8012d1b45000725d510002a002a2a..."} 
[2026-09-18 10:42:36] local.INFO: Packet analysis {"connection_id":186060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:36] local.INFO: Extracted packet for processing {"connection_id":186060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756761856,"raw_latitude":119919888,"longitude_deg":75.6761856,"latitude_deg":11.9919888,"altitude":42,"angle":42,"satellites":42,"speed":10,"hex_longitude":"2d1b4500","hex_latitude":"0725d510","is_valid_coordinates":true} 
[2026-09-18 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165308672001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241503791710208,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405906585600,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789708247000,"timestamp_ms":1789708247000,"timestamp_seconds":1789708247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ec9fd8"} 
[2026-09-18 10:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867805045,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3001794864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3974708249210388490,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3962730497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2611478572,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264544092,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6557248914785828903,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-6268784287735034340,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,92,28,24,241,158,16,118,160,109,45,128,189,42,40,10,66,85,174,43,77,1,240,38,178,37,4,113,205,27,232,75,64,36,239,56,2,7,39,54,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-09-18 10:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026451015820443648,"timestamp_seconds":3026451015820443.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165308672001,"66":12548,"92":206,"28":31744,"24":10,"16":21241503791710208,"45":1961458405906585600},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165308672001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:36] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241503791710208,"km_value":21241503791710.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405906585600,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165308672001,"power":12548,"unknown_92":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1961458405906585600}} 
[2026-09-18 10:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":186060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:36] local.INFO: GPS data processed {"connection_id":186060,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:36] local.INFO: Acknowledgment sent {"connection_id":186060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:39] local.INFO: TCP Data received {"connection_id":187361,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:42:39] local.INFO: Processing buffer {"connection_id":187361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:42:39] local.INFO: Packet analysis {"connection_id":187361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:39] local.INFO: Extracted packet for processing {"connection_id":187361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:39] 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-09-18 10:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:42:39] 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-09-18 10:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":187361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:39] local.INFO: GPS data processed {"connection_id":187361,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:39] local.INFO: Acknowledgment sent {"connection_id":187361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:42:49] local.INFO: TCP Data received {"connection_id":185902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ed0d38012d3b4d8006a72470003600642e..."} 
[2026-09-18 10:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ed0d38012d3b4d8006a72470003600642e..."} 
[2026-09-18 10:42:49] local.INFO: Processing buffer {"connection_id":185902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ed0d38012d3b4d8006a72470003600642e..."} 
[2026-09-18 10:42:49] local.INFO: Packet analysis {"connection_id":185902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:42:49] local.INFO: Extracted packet for processing {"connection_id":185902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758861184,"raw_latitude":111617136,"longitude_deg":75.8861184,"latitude_deg":11.1617136,"altitude":54,"angle":100,"satellites":46,"speed":37,"hex_longitude":"2d3b4d80","hex_latitude":"06a72470","is_valid_coordinates":true} 
[2026-09-18 10:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165315840001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405203436796116992,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4262445969648082944,"note":"Value kept but may cause issues"} 
[2026-09-18 10:42:49] 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-09-18 10:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789708275000,"timestamp_ms":1789708275000,"timestamp_seconds":1789708275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ed0d38"} 
[2026-09-18 10:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:42:49] 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-09-18 10:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165315840001,"66":27908,"41":206,"81":49664,"24":37,"16":405203436796116992,"45":4262445969648082944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-09-18 10:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165315840001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:42:49] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-18 10:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405203436796116992,"km_value":405203436796117.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4262445969648082944,"description":"Unknown IO ID 45"} 
[2026-09-18 10:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165315840001,"power":27908,"unknown_41":206,"unknown_81":49664,"ignition":37,"odometer":null,"unknown_45":4262445969648082944}} 
[2026-09-18 10:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":185902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:42:49] local.INFO: GPS data processed {"connection_id":185902,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:42:49] local.INFO: Acknowledgment sent {"connection_id":185902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:07] local.INFO: TCP Data received {"connection_id":186060,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eca3c0012d1b45800725d598002a00362a..."} 
[2026-09-18 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eca3c0012d1b45800725d598002a00362a..."} 
[2026-09-18 10:43:07] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eca3c0012d1b45800725d598002a00362a..."} 
[2026-09-18 10:43:07] local.INFO: Packet analysis {"connection_id":186060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:07] local.INFO: Extracted packet for processing {"connection_id":186060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756761984,"raw_latitude":119920024,"longitude_deg":75.6761984,"latitude_deg":11.9920024,"altitude":42,"angle":54,"satellites":42,"speed":6,"hex_longitude":"2d1b4580","hex_latitude":"0725d598","is_valid_coordinates":true} 
[2026-09-18 10:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165311232001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241516676612096,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964976843116580864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789708248000,"timestamp_ms":1789708248000,"timestamp_seconds":1789708248,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eca3c0"} 
[2026-09-18 10:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3001804864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184320237773,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3964522497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2856845355,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-09-18 10:43:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":6629525273224157184,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,92,28,24,241,158,16,119,160,120,45,128,196,42,10,66,118,109,189,40,85,1,240,178,37,4,113,205,20,50,58,168,38,239,54,2,75,7,39,231],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-09-18 10:43:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026465309470621696,"timestamp_seconds":3026465309470621.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165311232001,"66":13243,"92":206,"28":31744,"24":6,"16":21241516676612096,"45":1964976843116580864},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165311232001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241516676612096,"km_value":21241516676612.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964976843116580864,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165311232001,"power":13243,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1964976843116580864}} 
[2026-09-18 10:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":186060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:07] local.INFO: GPS data processed {"connection_id":186060,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:07] local.INFO: Acknowledgment sent {"connection_id":186060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:08] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:43:08] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:43:08] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:43:12] local.INFO: TCP Data received {"connection_id":187363,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:43:12] local.INFO: Processing buffer {"connection_id":187363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:43:12] local.INFO: IMEI packet received {"connection_id":187363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":187363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:43:13] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:43:13] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:43:13] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:43:14] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:43:14] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:43:14] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:14] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:14] 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-09-18 10:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:43:14] 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-09-18 10:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:14] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:14] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:17] local.INFO: TCP Data received {"connection_id":187363,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:43:17] local.INFO: Processing buffer {"connection_id":187363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:43:17] local.INFO: IMEI packet received {"connection_id":187363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":187363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:43:18] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:43:18] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:43:18] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:18] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:18] 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-09-18 10:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:43:18] 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-09-18 10:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:18] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:18] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:19] local.INFO: TCP Data received {"connection_id":187363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ed3448012d3b714006a71cb0003800692e..."} 
[2026-09-18 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ed3448012d3b714006a71cb0003800692e..."} 
[2026-09-18 10:43:19] local.INFO: Processing buffer {"connection_id":187363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ed3448012d3b714006a71cb0003800692e..."} 
[2026-09-18 10:43:19] local.INFO: Packet analysis {"connection_id":187363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:43:19] local.INFO: Extracted packet for processing {"connection_id":187363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758870336,"raw_latitude":111615152,"longitude_deg":75.8870336,"latitude_deg":11.1615152,"altitude":56,"angle":105,"satellites":46,"speed":35,"hex_longitude":"2d3b7140","hex_latitude":"06a71cb0","is_valid_coordinates":true} 
[2026-09-18 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405203883472715776,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4273212387506810880,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:19] 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-09-18 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789708285000,"timestamp_ms":1789708285000,"timestamp_seconds":1789708285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ed3448"} 
[2026-09-18 10:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 10:43: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-09-18 10:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165318400001,"66":27843,"41":206,"81":49664,"24":35,"16":405203883472715776,"45":4273212387506810880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-09-18 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:19] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-18 10:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405203883472715776,"km_value":405203883472715.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4273212387506810880,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165318400001,"power":27843,"unknown_41":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4273212387506810880}} 
[2026-09-18 10:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":187363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:19] local.INFO: GPS data processed {"connection_id":187363,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:19] local.INFO: Acknowledgment sent {"connection_id":187363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:26] local.INFO: TCP Data received {"connection_id":187364,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:43:26] local.INFO: Processing buffer {"connection_id":187364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:43:26] local.INFO: IMEI packet received {"connection_id":187364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":187364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:43:30] local.INFO: TCP Data received {"connection_id":187364,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:43:30] local.INFO: Processing buffer {"connection_id":187364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:43:30] local.INFO: IMEI packet received {"connection_id":187364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":187364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:43:31] local.INFO: TCP Data received {"connection_id":187364,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecceb8012d1b48400725d528002b009d29..."} 
[2026-09-18 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecceb8012d1b48400725d528002b009d29..."} 
[2026-09-18 10:43:31] local.INFO: Processing buffer {"connection_id":187364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecceb8012d1b48400725d528002b009d29..."} 
[2026-09-18 10:43:31] local.INFO: Packet analysis {"connection_id":187364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:31] local.INFO: Extracted packet for processing {"connection_id":187364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919912,"longitude_deg":75.6762688,"latitude_deg":11.9919912,"altitude":43,"angle":157,"satellites":41,"speed":6,"hex_longitude":"2d1b4840","hex_latitude":"0725d528","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165311488001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241551036350464,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965117580604971008,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789708259000,"timestamp_ms":1789708259000,"timestamp_seconds":1789708259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecceb8"} 
[2026-09-18 10:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 10:43: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-09-18 10: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-09-18 10:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165311488001,"66":13167,"92":206,"28":31744,"24":6,"16":21241551036350464,"45":1965117580604971008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165311488001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241551036350464,"km_value":21241551036350.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965117580604971008,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165311488001,"power":13167,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1965117580604971008}} 
[2026-09-18 10:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":187364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:31] local.INFO: GPS data processed {"connection_id":187364,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:31] local.INFO: Acknowledgment sent {"connection_id":187364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:36] local.INFO: TCP Data received {"connection_id":187364,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecd2a0012d1b48400725d460002c00b129..."} 
[2026-09-18 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecd2a0012d1b48400725d460002c00b129..."} 
[2026-09-18 10:43:36] local.INFO: Processing buffer {"connection_id":187364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecd2a0012d1b48400725d460002c00b129..."} 
[2026-09-18 10:43:36] local.INFO: Packet analysis {"connection_id":187364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:36] local.INFO: Extracted packet for processing {"connection_id":187364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919712,"longitude_deg":75.6762688,"latitude_deg":11.9919712,"altitude":44,"angle":177,"satellites":41,"speed":8,"hex_longitude":"2d1b4840","hex_latitude":"0725d460","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165314304001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241563921252352,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790896640,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789708260000,"timestamp_ms":1789708260000,"timestamp_seconds":1789708260,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecd2a0"} 
[2026-09-18 10:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 10:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165314304001,"66":13222,"92":206,"28":31744,"24":8,"16":21241563921252352,"45":1965891636790896640},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165314304001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:36] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241563921252352,"km_value":21241563921252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790896640,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165314304001,"power":13222,"unknown_92":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1965891636790896640}} 
[2026-09-18 10:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":187364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:36] local.INFO: GPS data processed {"connection_id":187364,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:36] local.INFO: Acknowledgment sent {"connection_id":187364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:43:51] local.INFO: TCP Data received {"connection_id":187363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ed4bb8012d3b84c006a71498003900752e..."} 
[2026-09-18 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ed4bb8012d3b84c006a71498003900752e..."} 
[2026-09-18 10:43:51] local.INFO: Processing buffer {"connection_id":187363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ed4bb8012d3b84c006a71498003900752e..."} 
[2026-09-18 10:43:51] local.INFO: Packet analysis {"connection_id":187363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:43:51] local.INFO: Extracted packet for processing {"connection_id":187363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758875328,"raw_latitude":111613080,"longitude_deg":75.8875328,"latitude_deg":11.161308,"altitude":57,"angle":117,"satellites":46,"speed":36,"hex_longitude":"2d3b84c0","hex_latitude":"06a71498","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165320960001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405204145465720832,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4283275117923708928,"note":"Value kept but may cause issues"} 
[2026-09-18 10:43:51] 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-09-18 10:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789708291000,"timestamp_ms":1789708291000,"timestamp_seconds":1789708291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ed4bb8"} 
[2026-09-18 10:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:43:51] 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-09-18 10: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-09-18 10:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165320960001,"66":27887,"41":206,"81":49664,"24":36,"16":405204145465720832,"45":4283275117923708928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-09-18 10:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165320960001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:43:51] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-18 10:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405204145465720832,"km_value":405204145465720.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4283275117923708928,"description":"Unknown IO ID 45"} 
[2026-09-18 10:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165320960001,"power":27887,"unknown_41":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4283275117923708928}} 
[2026-09-18 10:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":187363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:43:51] local.INFO: GPS data processed {"connection_id":187363,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:43:51] local.INFO: Acknowledgment sent {"connection_id":187363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:03] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:44:03] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:44:03] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:44:07] local.INFO: TCP Data received {"connection_id":187364,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecd688012d1b48000725d368002c00c529..."} 
[2026-09-18 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecd688012d1b48000725d368002c00c529..."} 
[2026-09-18 10:44:07] local.INFO: Processing buffer {"connection_id":187364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecd688012d1b48000725d368002c00c529..."} 
[2026-09-18 10:44:07] local.INFO: Packet analysis {"connection_id":187364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:07] local.INFO: Extracted packet for processing {"connection_id":187364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119919464,"longitude_deg":75.6762624,"latitude_deg":11.9919464,"altitude":44,"angle":197,"satellites":41,"speed":10,"hex_longitude":"2d1b4800","hex_latitude":"0725d368","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165314560001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241576806154240,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790845440,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789708261000,"timestamp_ms":1789708261000,"timestamp_seconds":1789708261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecd688"} 
[2026-09-18 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-09-18 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 10:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 10:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165314560001,"66":13222,"92":206,"28":31744,"24":10,"16":21241576806154240,"45":1965891636790845440},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165314560001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241576806154240,"km_value":21241576806154.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790845440,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165314560001,"power":13222,"unknown_92":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1965891636790845440}} 
[2026-09-18 10:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":187364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:08] local.INFO: GPS data processed {"connection_id":187364,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:08] local.INFO: Acknowledgment sent {"connection_id":187364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:08] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:44:08] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:44:08] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:44:08] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:44:08] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:44:08] local.INFO: Packet analysis {"connection_id":188682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:08] local.INFO: Extracted packet for processing {"connection_id":188682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:08] 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-09-18 10:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 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-09-18 10:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:44:08] 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-09-18 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-09-18 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-09-18 10:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":188682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:08] local.INFO: GPS data processed {"connection_id":188682,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:08] local.INFO: Acknowledgment sent {"connection_id":188682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:18] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:18] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:18] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:44:19] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:19] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:19] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:44:22] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:22] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:44:22] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:44:23] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eeca88012d3c4d8006a5ec40004d008d2e..."} 
[2026-09-18 10:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eeca88012d3c4d8006a5ec40004d008d2e..."} 
[2026-09-18 10:44:23] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eeca88012d3c4d8006a5ec40004d008d2e..."} 
[2026-09-18 10:44:23] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ee"} 
[2026-09-18 10:44:23] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ee"} 
[2026-09-18 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758926720,"raw_latitude":111537216,"longitude_deg":75.892672,"latitude_deg":11.1537216,"altitude":77,"angle":141,"satellites":46,"speed":47,"hex_longitude":"2d3c4d80","hex_latitude":"06a5ec40","is_valid_coordinates":true} 
[2026-09-18 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165345536001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405208599346806784,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4338796057061791744,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:23] 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-09-18 10:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789708389000,"timestamp_ms":1789708389000,"timestamp_seconds":1789708389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eeca88"} 
[2026-09-18 10:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:44:23] 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-09-18 10:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165345536001,"66":27767,"40":206,"81":49664,"24":47,"16":405208599346806784,"45":4338796057061791744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-18 10:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165345536001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:23] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-18 10:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405208599346806784,"km_value":405208599346806.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4338796057061791744,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165345536001,"power":27767,"unknown_40":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4338796057061791744}} 
[2026-09-18 10:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:23] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:23] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:25] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2eee9c8012d3c658006a5cf10004d008d2c..."} 
[2026-09-18 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2eee9c8012d3c658006a5cf10004d008d2c..."} 
[2026-09-18 10:44:25] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2eee9c8012d3c658006a5cf10004d008d2c..."} 
[2026-09-18 10:44:25] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ee"} 
[2026-09-18 10:44:25] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ee"} 
[2026-09-18 10:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758932864,"raw_latitude":111529744,"longitude_deg":75.8932864,"latitude_deg":11.1529744,"altitude":77,"angle":141,"satellites":44,"speed":51,"hex_longitude":"2d3c6580","hex_latitude":"06a5cf10","is_valid_coordinates":true} 
[2026-09-18 10:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165347584001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4345269981524279296,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405209067498242048,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:25] 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-09-18 10:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789708397000,"timestamp_ms":1789708397000,"timestamp_seconds":1789708397,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2eee9c8"} 
[2026-09-18 10:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:44:25] 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-09-18 10:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165347584001,"66":27865,"45":4345269981524279296,"81":49664,"24":51,"16":405209067498242048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 10:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165347584001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4345269981524279296,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405209067498242048,"km_value":405209067498242.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458165347584001,"power":27865,"unknown_45":4345269981524279296,"unknown_81":49664,"ignition":51,"odometer":null}} 
[2026-09-18 10:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:25] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:25] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:25] local.INFO: TCP Data received {"connection_id":186062,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:44:25] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:44:25] local.INFO: IMEI packet received {"connection_id":186062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":186062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:44:31] local.INFO: TCP Data received {"connection_id":186062,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:44:31] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:44:31] local.INFO: IMEI packet received {"connection_id":186062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":186062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:44:32] local.INFO: TCP Data received {"connection_id":186062,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecda70012d1b47c00725d268002c00d628..."} 
[2026-09-18 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecda70012d1b47c00725d268002c00d628..."} 
[2026-09-18 10:44:32] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecda70012d1b47c00725d268002c00d628..."} 
[2026-09-18 10:44:32] local.INFO: Packet analysis {"connection_id":186062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:32] local.INFO: Extracted packet for processing {"connection_id":186062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119919208,"longitude_deg":75.676256,"latitude_deg":11.9919208,"altitude":44,"angle":214,"satellites":40,"speed":12,"hex_longitude":"2d1b47c0","hex_latitude":"0725d268","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165314816001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241589691056128,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268046604288,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708262000,"timestamp_ms":1789708262000,"timestamp_seconds":1789708262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecda70"} 
[2026-09-18 10:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:44: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-09-18 10: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 10:44: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-09-18 10: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-09-18 10:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165314816001,"66":13167,"92":206,"28":31744,"24":12,"16":21241589691056128,"45":1965821268046604288},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165314816001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241589691056128,"km_value":21241589691056.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268046604288,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165314816001,"power":13167,"unknown_92":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1965821268046604288}} 
[2026-09-18 10:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":186062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:32] local.INFO: GPS data processed {"connection_id":186062,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:32] local.INFO: Acknowledgment sent {"connection_id":186062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:39] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:44:39] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:44:39] local.INFO: Packet analysis {"connection_id":188682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:39] local.INFO: Extracted packet for processing {"connection_id":188682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:39] 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-09-18 10:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 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-09-18 10:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:44:39] 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-09-18 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-09-18 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-09-18 10:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":188682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:39] local.INFO: GPS data processed {"connection_id":188682,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:39] local.INFO: Acknowledgment sent {"connection_id":188682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:44:57] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ef0908012d3c7cc006a5afc00049009026..."} 
[2026-09-18 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ef0908012d3c7cc006a5afc00049009026..."} 
[2026-09-18 10:44:57] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ef0908012d3c7cc006a5afc00049009026..."} 
[2026-09-18 10:44:57] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:44:57] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758938816,"raw_latitude":111521728,"longitude_deg":75.8938816,"latitude_deg":11.1521728,"altitude":73,"angle":144,"satellites":38,"speed":50,"hex_longitude":"2d3c7cc0","hex_latitude":"06a5afc0","is_valid_coordinates":true} 
[2026-09-18 10:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165349632001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405209544239611904,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4352025380963422208,"note":"Value kept but may cause issues"} 
[2026-09-18 10:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789708405000,"timestamp_ms":1789708405000,"timestamp_seconds":1789708405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ef0908"} 
[2026-09-18 10:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 10:44:57] 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-09-18 10:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165349632001,"66":27767,"131":206,"81":49664,"24":50,"16":405209544239611904,"45":4352025380963422208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-09-18 10:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165349632001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:44:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-18 10:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405209544239611904,"km_value":405209544239611.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4352025380963422208,"description":"Unknown IO ID 45"} 
[2026-09-18 10:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165349632001,"power":27767,"unknown_131":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4352025380963422208}} 
[2026-09-18 10:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:44:57] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:44:57] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:02] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:45:02] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:45:02] local.INFO: IMEI packet received {"connection_id":185903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":185903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:45:03] local.INFO: TCP Data received {"connection_id":186062,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2efc488012d1b39800725bc08003100c322..."} 
[2026-09-18 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2efc488012d1b39800725bc08003100c322..."} 
[2026-09-18 10:45:03] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2efc488012d1b39800725bc08003100c322..."} 
[2026-09-18 10:45:03] local.INFO: Packet analysis {"connection_id":186062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:03] local.INFO: Extracted packet for processing {"connection_id":186062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119913480,"longitude_deg":75.6758912,"latitude_deg":11.991348,"altitude":49,"angle":195,"satellites":34,"speed":20,"hex_longitude":"2d1b3980","hex_latitude":"0725bc08","is_valid_coordinates":true} 
[2026-09-18 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165363456001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241920403537920,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962091724603901952,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789708453000,"timestamp_ms":1789708453000,"timestamp_seconds":1789708453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2efc488"} 
[2026-09-18 10:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45: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-09-18 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 10:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165363456001,"66":14070,"92":206,"28":31744,"24":20,"16":21241920403537920,"45":1962091724603901952},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165363456001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241920403537920,"km_value":21241920403537.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962091724603901952,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165363456001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1962091724603901952}} 
[2026-09-18 10:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":186062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:03] local.INFO: GPS data processed {"connection_id":186062,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:03] local.INFO: Acknowledgment sent {"connection_id":186062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:08] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:45:08] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:45:08] local.INFO: IMEI packet received {"connection_id":185903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":185903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:45:08] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:45:08] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:45:08] local.INFO: Packet analysis {"connection_id":185903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:45:08] local.INFO: Extracted packet for processing {"connection_id":185903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:08] 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-09-18 10:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:45:08] 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-09-18 10:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:45:08] 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-09-18 10:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":185903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:08] local.INFO: GPS data processed {"connection_id":185903,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:08] local.INFO: Acknowledgment sent {"connection_id":185903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:12] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:12] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:12] local.INFO: IMEI packet received {"connection_id":185904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":185904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:45:13] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:13] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:13] local.INFO: IMEI packet received {"connection_id":185904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":185904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:45:17] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:17] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:45:17] local.INFO: IMEI packet received {"connection_id":185904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":185904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:45:21] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ef2460012d3c910006a592080046009325..."} 
[2026-09-18 10:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ef2460012d3c910006a592080046009325..."} 
[2026-09-18 10:45:21] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ef2460012d3c910006a592080046009325..."} 
[2026-09-18 10:45:21] local.INFO: Packet analysis {"connection_id":185904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:21] local.INFO: Extracted packet for processing {"connection_id":185904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758944000,"raw_latitude":111514120,"longitude_deg":75.8944,"latitude_deg":11.151412,"altitude":70,"angle":147,"satellites":37,"speed":52,"hex_longitude":"2d3c9100","hex_latitude":"06a59208","is_valid_coordinates":true} 
[2026-09-18 10:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165351680001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405209990916210688,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4358569674169892864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789708412000,"timestamp_ms":1789708412000,"timestamp_seconds":1789708412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ef2460"} 
[2026-09-18 10:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:45: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-09-18 10:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165351680001,"66":27908,"131":206,"81":49664,"24":52,"16":405209990916210688,"45":4358569674169892864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-09-18 10:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165351680001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-18 10:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405209990916210688,"km_value":405209990916210.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4358569674169892864,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165351680001,"power":27908,"unknown_131":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4358569674169892864}} 
[2026-09-18 10:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":185904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:21] local.INFO: GPS data processed {"connection_id":185904,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:21] local.INFO: Acknowledgment sent {"connection_id":185904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:25] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:25] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:25] local.INFO: IMEI packet received {"connection_id":188683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":188683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:45:26] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:26] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:26] local.INFO: IMEI packet received {"connection_id":188683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":188683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:45:27] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:27] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:27] local.INFO: IMEI packet received {"connection_id":188683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":188683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:45:30] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:30] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:45:30] local.INFO: IMEI packet received {"connection_id":188683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":188683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:45:31] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2efd040012d1b38400725b568003300b627..."} 
[2026-09-18 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2efd040012d1b38400725b568003300b627..."} 
[2026-09-18 10:45:31] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2efd040012d1b38400725b568003300b627..."} 
[2026-09-18 10:45:31] local.INFO: Packet analysis {"connection_id":188683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:31] local.INFO: Extracted packet for processing {"connection_id":188683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756758592,"raw_latitude":119911784,"longitude_deg":75.6758592,"latitude_deg":11.9911784,"altitude":51,"angle":182,"satellites":39,"speed":21,"hex_longitude":"2d1b3840","hex_latitude":"0725b568","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165363968001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242002007916544,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880882767872,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789708456000,"timestamp_ms":1789708456000,"timestamp_seconds":1789708456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2efd040"} 
[2026-09-18 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45: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-09-18 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 10:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165363968001,"66":14080,"92":206,"28":31744,"24":21,"16":21242002007916544,"45":1961739880882767872},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165363968001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242002007916544,"km_value":21242002007916.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880882767872,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165363968001,"power":14080,"unknown_92":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1961739880882767872}} 
[2026-09-18 10:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":188683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:31] local.INFO: GPS data processed {"connection_id":188683,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:31] local.INFO: Acknowledgment sent {"connection_id":188683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:36] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2efdfe0012d1b39000725ad50003400a924..."} 
[2026-09-18 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2efdfe0012d1b39000725ad50003400a924..."} 
[2026-09-18 10:45:36] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2efdfe0012d1b39000725ad50003400a924..."} 
[2026-09-18 10:45:36] local.INFO: Packet analysis {"connection_id":188683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:36] local.INFO: Extracted packet for processing {"connection_id":188683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119909712,"longitude_deg":75.6758784,"latitude_deg":11.9909712,"altitude":52,"angle":169,"satellites":36,"speed":19,"hex_longitude":"2d1b3900","hex_latitude":"0725ad50","is_valid_coordinates":true} 
[2026-09-18 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165364736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242105087131648,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961388037161445376,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789708460000,"timestamp_ms":1789708460000,"timestamp_seconds":1789708460,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2efdfe0"} 
[2026-09-18 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45: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-09-18 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454491648,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3002022864,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4020074497,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3371696175,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3221693897,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,92,28,24,241,158,16,119,160,196,45,128,188,49,34,10,66,192,191,39,165,1,240,224,178,37,4,113,205,3,141,65,40,239,54,2,75,7,48],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-09-18 10:45:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675137574555680768,"timestamp_seconds":3675137574555681.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165364736001,"66":14233,"92":206,"28":31744,"24":19,"16":21242105087131648,"45":1961388037161445376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165364736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:36] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242105087131648,"km_value":21242105087131.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961388037161445376,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165364736001,"power":14233,"unknown_92":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1961388037161445376}} 
[2026-09-18 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":188683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:36] local.INFO: GPS data processed {"connection_id":188683,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:36] local.INFO: Acknowledgment sent {"connection_id":188683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:40] local.INFO: TCP Data received {"connection_id":185903,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:45:40] local.INFO: Processing buffer {"connection_id":185903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ecc6e8012d7e140005d3c190000700b221..."} 
[2026-09-18 10:45:40] local.INFO: Packet analysis {"connection_id":185903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:45:40] local.INFO: Extracted packet for processing {"connection_id":185903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ec"} 
[2026-09-18 10:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165236736001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:40] 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-09-18 10:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789708257000,"timestamp_ms":1789708257000,"timestamp_seconds":1789708257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ecc6e8"} 
[2026-09-18 10:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:45:40] 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-09-18 10:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:45:40] 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-09-18 10:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165236736001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165236736001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165236736001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":185903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:40] local.INFO: GPS data processed {"connection_id":185903,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:40] local.INFO: Acknowledgment sent {"connection_id":185903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:45:52] local.INFO: TCP Data received {"connection_id":185904,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f05128012d3ca20006a440a8003e00c22f..."} 
[2026-09-18 10:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f05128012d3ca20006a440a8003e00c22f..."} 
[2026-09-18 10:45:52] local.INFO: Processing buffer {"connection_id":185904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f05128012d3ca20006a440a8003e00c22f..."} 
[2026-09-18 10:45:52] local.INFO: Packet analysis {"connection_id":185904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:45:52] local.INFO: Extracted packet for processing {"connection_id":185904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758948352,"raw_latitude":111427752,"longitude_deg":75.8948352,"latitude_deg":11.1427752,"altitude":62,"angle":194,"satellites":47,"speed":35,"hex_longitude":"2d3ca200","hex_latitude":"06a440a8","is_valid_coordinates":true} 
[2026-09-18 10:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165371392001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405214444797296640,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371517523076050944,"note":"Value kept but may cause issues"} 
[2026-09-18 10:45:52] 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-09-18 10:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789708489000,"timestamp_ms":1789708489000,"timestamp_seconds":1789708489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f05128"} 
[2026-09-18 10:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:45: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-09-18 10:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 10:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165371392001,"66":27767,"133":206,"81":49664,"24":35,"16":405214444797296640,"45":4371517523076050944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-18 10:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165371392001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:45:52] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-18 10:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405214444797296640,"km_value":405214444797296.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371517523076050944,"description":"Unknown IO ID 45"} 
[2026-09-18 10:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165371392001,"power":27767,"unknown_133":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4371517523076050944}} 
[2026-09-18 10:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":185904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:45:52] local.INFO: GPS data processed {"connection_id":185904,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:45:52] local.INFO: Acknowledgment sent {"connection_id":185904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:02] local.INFO: TCP Data received {"connection_id":188684,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:46:02] local.INFO: Processing buffer {"connection_id":188684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:46:02] local.INFO: IMEI packet received {"connection_id":188684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":188684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:46:08] local.INFO: TCP Data received {"connection_id":188684,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:46:08] local.INFO: Processing buffer {"connection_id":188684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:46:08] local.INFO: IMEI packet received {"connection_id":188684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:46:08] local.INFO: TCP Data received {"connection_id":186063,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186063,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 10:46:08] local.INFO: Processing buffer {"connection_id":186063,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 10:46:08] local.INFO: Packet analysis {"connection_id":186063,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 10:46:08] local.INFO: Extracted packet for processing {"connection_id":186063,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 10:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-18 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-18 10:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-18 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186063,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186063,"device_imei":null,"avl_records_count":1} 
[2026-09-18 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186063,"device_imei":null,"avl_records_count":1} 
[2026-09-18 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":186063,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 10:46:08] local.INFO: GPS data processed {"connection_id":186063,"processed":0,"errors":0,"total":1} 
[2026-09-18 10:46:08] local.INFO: Acknowledgment sent {"connection_id":186063,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:08] local.INFO: TCP Data received {"connection_id":188683,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2effb38012d1b3d0007259f780032009b29..."} 
[2026-09-18 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2effb38012d1b3d0007259f780032009b29..."} 
[2026-09-18 10:46:08] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2effb38012d1b3d0007259f780032009b29..."} 
[2026-09-18 10:46:08] local.INFO: Packet analysis {"connection_id":188683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:46:08] local.INFO: Extracted packet for processing {"connection_id":188683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ef"} 
[2026-09-18 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119906168,"longitude_deg":75.6759808,"latitude_deg":11.9906168,"altitude":50,"angle":155,"satellites":41,"speed":18,"hex_longitude":"2d1b3d00","hex_latitude":"07259f78","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165365760001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242281180790784,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143393447936,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708467000,"timestamp_ms":1789708467000,"timestamp_seconds":1789708467,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2effb38"} 
[2026-09-18 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-09-18 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 10:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165365760001,"66":13972,"92":206,"28":31744,"24":18,"16":21242281180790784,"45":1961599143393447936},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165365760001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242281180790784,"km_value":21242281180790.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143393447936,"description":"Unknown IO ID 45"} 
[2026-09-18 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165365760001,"power":13972,"unknown_92":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1961599143393447936}} 
[2026-09-18 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":188683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:46:08] local.INFO: GPS data processed {"connection_id":188683,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:46:08] local.INFO: Acknowledgment sent {"connection_id":188683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:08] local.INFO: TCP Data received {"connection_id":188684,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:46:08] local.INFO: Processing buffer {"connection_id":188684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:46:08] local.INFO: Packet analysis {"connection_id":188684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:46:08] local.INFO: Extracted packet for processing {"connection_id":188684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 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-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:08] 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-09-18 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 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-09-18 10:46: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-09-18 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:46:08] 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-09-18 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-09-18 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-09-18 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:46:08] 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-09-18 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":188684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:46:08] local.INFO: GPS data processed {"connection_id":188684,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:46:08] local.INFO: Acknowledgment sent {"connection_id":188684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:12] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:46:12] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:46:12] local.INFO: IMEI packet received {"connection_id":185905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":185905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:46:17] local.INFO: TCP Data received {"connection_id":185906,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 10:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185906,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 10:46:17] local.INFO: Processing buffer {"connection_id":185906,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 10:46:17] local.INFO: Packet analysis {"connection_id":185906,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 10:46:17] local.INFO: Extracted packet for processing {"connection_id":185906,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 10:46: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-09-18 10:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-18 10:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:17] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-18 10:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-18 10:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-18 10:46:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185906,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 10:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185906,"device_imei":null,"avl_records_count":1} 
[2026-09-18 10:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185906,"device_imei":null,"avl_records_count":1} 
[2026-09-18 10:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":185906,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 10:46:17] local.INFO: GPS data processed {"connection_id":185906,"processed":0,"errors":0,"total":1} 
[2026-09-18 10:46:17] local.INFO: Acknowledgment sent {"connection_id":185906,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:24] local.INFO: TCP Data received {"connection_id":188685,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:24] local.INFO: Processing buffer {"connection_id":188685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:24] local.INFO: IMEI packet received {"connection_id":188685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":188685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:46:25] local.INFO: TCP Data received {"connection_id":188685,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:25] local.INFO: Processing buffer {"connection_id":188685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:25] local.INFO: IMEI packet received {"connection_id":188685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":188685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:46:26] local.INFO: TCP Data received {"connection_id":188685,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:26] local.INFO: Processing buffer {"connection_id":188685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:26] local.INFO: IMEI packet received {"connection_id":188685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":188685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:46:27] local.INFO: TCP Data received {"connection_id":188685,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:27] local.INFO: Processing buffer {"connection_id":188685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:46:27] local.INFO: IMEI packet received {"connection_id":188685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":188685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:46:38] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 10:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 10:46:38] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 10:46:38] local.INFO: IMEI packet received {"connection_id":185905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":185905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:46:40] local.INFO: TCP Data received {"connection_id":188684,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:46:40] local.INFO: Processing buffer {"connection_id":188684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:46:40] local.INFO: Packet analysis {"connection_id":188684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:46:40] local.INFO: Extracted packet for processing {"connection_id":188684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:40] 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-09-18 10:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:46:40] 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-09-18 10:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:46:40] 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-09-18 10:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":188684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:46:40] local.INFO: GPS data processed {"connection_id":188684,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:46:40] local.INFO: Acknowledgment sent {"connection_id":188684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:40] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f06c80012d3c9ec006a42948004100b62e..."} 
[2026-09-18 10:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f06c80012d3c9ec006a42948004100b62e..."} 
[2026-09-18 10:46:40] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b2..."} 
[2026-09-18 10:46:40] local.INFO: IMEI packet received {"connection_id":185905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":185905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:46:59] local.INFO: TCP Data received {"connection_id":185905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f09778012d3c9ec006a40478004200b22c..."} 
[2026-09-18 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f09778012d3c9ec006a40478004200b22c..."} 
[2026-09-18 10:46:59] local.INFO: Processing buffer {"connection_id":185905,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b2f06c80012d3c9ec006a42948004100b62e..."} 
[2026-09-18 10:46:59] local.INFO: Packet analysis {"connection_id":185905,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:46:59] local.INFO: Extracted packet for processing {"connection_id":185905,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758947520,"raw_latitude":111421768,"longitude_deg":75.894752,"latitude_deg":11.1421768,"altitude":65,"angle":182,"satellites":46,"speed":33,"hex_longitude":"2d3c9ec0","hex_latitude":"06a42948","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165373184001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369054617028306944,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405214741150040064,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:59] 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-09-18 10:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789708496000,"timestamp_ms":1789708496000,"timestamp_seconds":1789708496,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f06c80"} 
[2026-09-18 10:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165373184001,"66":27821,"45":4369054617028306944,"81":49664,"24":33,"16":405214741150040064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165373184001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369054617028306944,"description":"Unknown IO ID 45"} 
[2026-09-18 10:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405214741150040064,"km_value":405214741150040.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:46:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458165373184001,"power":27821,"unknown_45":4369054617028306944,"unknown_81":49664,"ignition":33,"odometer":null}} 
[2026-09-18 10:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":185905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:46:59] local.INFO: GPS data processed {"connection_id":185905,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:46:59] local.INFO: Acknowledgment sent {"connection_id":185905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:46:59] local.INFO: Packet analysis {"connection_id":185905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:46:59] local.INFO: Extracted packet for processing {"connection_id":185905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758947520,"raw_latitude":111412344,"longitude_deg":75.894752,"latitude_deg":11.1412344,"altitude":66,"angle":178,"satellites":44,"speed":35,"hex_longitude":"2d3c9ec0","hex_latitude":"06a40478","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165374976001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368139823352465408,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405215196416573440,"note":"Value kept but may cause issues"} 
[2026-09-18 10:46:59] 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-09-18 10:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789708507000,"timestamp_ms":1789708507000,"timestamp_seconds":1789708507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f09778"} 
[2026-09-18 10:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 10:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165374976001,"66":27821,"45":4368139823352465408,"81":49664,"24":35,"16":405215196416573440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 10:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165374976001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368139823352465408,"description":"Unknown IO ID 45"} 
[2026-09-18 10:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405215196416573440,"km_value":405215196416573.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:46:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458165374976001,"power":27821,"unknown_45":4368139823352465408,"unknown_81":49664,"ignition":35,"odometer":null}} 
[2026-09-18 10:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":185905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:46:59] local.INFO: GPS data processed {"connection_id":185905,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:46:59] local.INFO: Acknowledgment sent {"connection_id":185905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:47:02] local.INFO: TCP Data received {"connection_id":185907,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:47:02] local.INFO: Processing buffer {"connection_id":185907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:47:02] local.INFO: IMEI packet received {"connection_id":185907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":185907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:47:08] local.INFO: TCP Data received {"connection_id":185907,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:47:08] local.INFO: Processing buffer {"connection_id":185907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:47:08] local.INFO: IMEI packet received {"connection_id":185907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":185907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:47:08] local.INFO: TCP Data received {"connection_id":185907,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:47:08] local.INFO: Processing buffer {"connection_id":185907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:47:08] local.INFO: Packet analysis {"connection_id":185907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:08] local.INFO: Extracted packet for processing {"connection_id":185907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:08] 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-09-18 10:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:47: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-09-18 10:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:47:08] 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-09-18 10:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:47:08] 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-09-18 10:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":185907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:47:08] local.INFO: GPS data processed {"connection_id":185907,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:47:08] local.INFO: Acknowledgment sent {"connection_id":185907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:47:12] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:12] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:12] local.INFO: IMEI packet received {"connection_id":185908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":185908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:47:16] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:16] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:16] local.INFO: IMEI packet received {"connection_id":185908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":185908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:47:17] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:17] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:47:17] local.INFO: IMEI packet received {"connection_id":185908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":185908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:47:18] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f0e1b0012d3c9e8006a3bd70004600b725..."} 
[2026-09-18 10:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f0e1b0012d3c9e8006a3bd70004600b725..."} 
[2026-09-18 10:47:18] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f0e1b0012d3c9e8006a3bd70004600b725..."} 
[2026-09-18 10:47:18] local.INFO: Packet analysis {"connection_id":185908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:47:18] local.INFO: Extracted packet for processing {"connection_id":185908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f0"} 
[2026-09-18 10:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758947456,"raw_latitude":111394160,"longitude_deg":75.8947456,"latitude_deg":11.139416,"altitude":70,"angle":183,"satellites":37,"speed":42,"hex_longitude":"2d3c9e80","hex_latitude":"06a3bd70","is_valid_coordinates":true} 
[2026-09-18 10:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165380352001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368280560836065280,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405216081179836416,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:18] 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-09-18 10:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789708526000,"timestamp_ms":1789708526000,"timestamp_seconds":1789708526,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f0e1b0"} 
[2026-09-18 10:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:47: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-09-18 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165380352001,"66":27919,"45":4368280560836065280,"81":49664,"24":42,"16":405216081179836416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 10:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165380352001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368280560836065280,"description":"Unknown IO ID 45"} 
[2026-09-18 10:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405216081179836416,"km_value":405216081179836.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:47:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458165380352001,"power":27919,"unknown_45":4368280560836065280,"unknown_81":49664,"ignition":42,"odometer":null}} 
[2026-09-18 10:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":185908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:47:18] local.INFO: GPS data processed {"connection_id":185908,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:47:18] local.INFO: Acknowledgment sent {"connection_id":185908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:47:23] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f104d8012d3c9b8006a396b0004700b92d..."} 
[2026-09-18 10:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f104d8012d3c9b8006a396b0004700b92d..."} 
[2026-09-18 10:47:23] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f104d8012d3c9b8006a396b0004700b92d..."} 
[2026-09-18 10:47:23] local.INFO: Packet analysis {"connection_id":185908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:23] local.INFO: Extracted packet for processing {"connection_id":185908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758946688,"raw_latitude":111384240,"longitude_deg":75.8946688,"latitude_deg":11.138424,"altitude":71,"angle":185,"satellites":45,"speed":45,"hex_longitude":"2d3c9b80","hex_latitude":"06a396b0","is_valid_coordinates":true} 
[2026-09-18 10:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165382656001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368069454601220096,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405216562216173568,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:23] 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-09-18 10:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789708535000,"timestamp_ms":1789708535000,"timestamp_seconds":1789708535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f104d8"} 
[2026-09-18 10:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 10:47:23] 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-09-18 10:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165382656001,"66":27745,"45":4368069454601220096,"81":49664,"24":45,"16":405216562216173568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 10:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165382656001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368069454601220096,"description":"Unknown IO ID 45"} 
[2026-09-18 10:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405216562216173568,"km_value":405216562216173.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:47:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458165382656001,"power":27745,"unknown_45":4368069454601220096,"unknown_81":49664,"ignition":45,"odometer":null}} 
[2026-09-18 10:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":185908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:47:23] local.INFO: GPS data processed {"connection_id":185908,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:47:23] local.INFO: Acknowledgment sent {"connection_id":185908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:47:39] local.INFO: TCP Data received {"connection_id":185907,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:47:39] local.INFO: Processing buffer {"connection_id":185907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:47:39] local.INFO: Packet analysis {"connection_id":185907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:39] local.INFO: Extracted packet for processing {"connection_id":185907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:39] 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-09-18 10:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:47:39] 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-09-18 10:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:47:39] 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-09-18 10:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":185907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:47:39] local.INFO: GPS data processed {"connection_id":185907,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:47:39] local.INFO: Acknowledgment sent {"connection_id":185907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:47:54] local.INFO: TCP Data received {"connection_id":185908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f12418012d3c970006a37220004500bc2e..."} 
[2026-09-18 10:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f12418012d3c970006a37220004500bc2e..."} 
[2026-09-18 10:47:54] local.INFO: Processing buffer {"connection_id":185908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f12418012d3c970006a37220004500bc2e..."} 
[2026-09-18 10:47:54] local.INFO: Packet analysis {"connection_id":185908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:54] local.INFO: Extracted packet for processing {"connection_id":185908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:47:54] local.INFO: GPS Element Parsed {"raw_longitude":758945536,"raw_latitude":111374880,"longitude_deg":75.8945536,"latitude_deg":11.137488,"altitude":69,"angle":188,"satellites":46,"speed":48,"hex_longitude":"2d3c9700","hex_latitude":"06a37220","is_valid_coordinates":true} 
[2026-09-18 10:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165384960001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367225029668548608,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405217017482706944,"note":"Value kept but may cause issues"} 
[2026-09-18 10:47:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 10:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789708543000,"timestamp_ms":1789708543000,"timestamp_seconds":1789708543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f12418"} 
[2026-09-18 10:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 10:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165384960001,"66":27821,"45":4367225029668548608,"81":49664,"24":48,"16":405217017482706944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 10:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165384960001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367225029668548608,"description":"Unknown IO ID 45"} 
[2026-09-18 10:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 10:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405217017482706944,"km_value":405217017482706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:47:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458165384960001,"power":27821,"unknown_45":4367225029668548608,"unknown_81":49664,"ignition":48,"odometer":null}} 
[2026-09-18 10:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":185908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:47:54] local.INFO: GPS data processed {"connection_id":185908,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:47:54] local.INFO: Acknowledgment sent {"connection_id":185908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:48:02] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:48:02] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:48:02] local.INFO: IMEI packet received {"connection_id":185909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":185909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:48:08] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:48:08] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:48:08] local.INFO: IMEI packet received {"connection_id":185909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":185909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:48:08] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:48:08] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:48:08] local.INFO: Packet analysis {"connection_id":185909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:48:08] local.INFO: Extracted packet for processing {"connection_id":185909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:48:08] 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-09-18 10:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:48: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-09-18 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:48:08] 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-09-18 10:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:48:08] 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-09-18 10:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":185909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:48:08] local.INFO: GPS data processed {"connection_id":185909,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:48:08] local.INFO: Acknowledgment sent {"connection_id":185909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:48:12] local.INFO: TCP Data received {"connection_id":188686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:12] local.INFO: Processing buffer {"connection_id":188686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:12] local.INFO: IMEI packet received {"connection_id":188686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":188686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:48:18] local.INFO: TCP Data received {"connection_id":188686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:18] local.INFO: Processing buffer {"connection_id":188686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:18] local.INFO: IMEI packet received {"connection_id":188686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":188686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:48:18] local.INFO: TCP Data received {"connection_id":188686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:18] local.INFO: Processing buffer {"connection_id":188686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:18] local.INFO: IMEI packet received {"connection_id":188686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":188686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:48:19] local.INFO: TCP Data received {"connection_id":188686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:19] local.INFO: Processing buffer {"connection_id":188686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:48:19] local.INFO: IMEI packet received {"connection_id":188686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":188686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:48:39] local.INFO: TCP Data received {"connection_id":185909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:48:39] local.INFO: Processing buffer {"connection_id":185909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:48:39] local.INFO: Packet analysis {"connection_id":185909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:48:39] local.INFO: Extracted packet for processing {"connection_id":185909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:48:39] 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-09-18 10:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:48:39] 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-09-18 10:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:48:39] 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-09-18 10:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":185909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:48:40] local.INFO: GPS data processed {"connection_id":185909,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:48:40] local.INFO: Acknowledgment sent {"connection_id":185909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:49:08] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:49:08] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:49:08] local.INFO: IMEI packet received {"connection_id":186064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 10:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":186064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:49:13] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:49:13] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 10:49:13] local.INFO: IMEI packet received {"connection_id":186064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 10:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":186064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:49:14] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:49:14] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:49:14] local.INFO: Packet analysis {"connection_id":186064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:49:14] local.INFO: Extracted packet for processing {"connection_id":186064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:49:14] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:49:14] 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-09-18 10:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:49:14] 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-09-18 10:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:49:14] 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-09-18 10:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:49:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":186064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:49:14] local.INFO: GPS data processed {"connection_id":186064,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:49:14] local.INFO: Acknowledgment sent {"connection_id":186064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:49:18] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:49:18] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f15eb0012d7e140005d3c190000700b227..."} 
[2026-09-18 10:49:18] local.INFO: Packet analysis {"connection_id":186064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:49:18] local.INFO: Extracted packet for processing {"connection_id":186064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f1"} 
[2026-09-18 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97763728,"longitude_deg":76.3237376,"latitude_deg":9.7763728,"altitude":7,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d7e1400","hex_latitude":"05d3c190","is_valid_coordinates":true} 
[2026-09-18 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165313792001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 10:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373340647424,"note":"Value kept but may cause issues"} 
[2026-09-18 10:49:18] 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-09-18 10:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789708558000,"timestamp_ms":1789708558000,"timestamp_seconds":1789708558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f15eb0"} 
[2026-09-18 10:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 10:49:18] 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-09-18 10:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 10:49:18] 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-09-18 10:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 10:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 10:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165313792001,"66":2253,"81":206,"85":15104,"24":0,"16":134632707740139520,"45":9084886373340647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-18 10:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 10:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 10:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165313792001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 10:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 10:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134632707740139520,"km_value":134632707740139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373340647424,"description":"Unknown IO ID 45"} 
[2026-09-18 10:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165313792001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9084886373340647424}} 
[2026-09-18 10:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":186064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:49:18] local.INFO: GPS data processed {"connection_id":186064,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:49:18] local.INFO: Acknowledgment sent {"connection_id":186064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:51:33] local.INFO: TCP Data received {"connection_id":188687,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:51:33] local.INFO: Processing buffer {"connection_id":188687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:51:33] local.INFO: IMEI packet received {"connection_id":188687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":188687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:51:35] local.INFO: TCP Data received {"connection_id":188687,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:51:35] local.INFO: Processing buffer {"connection_id":188687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:51:35] local.INFO: IMEI packet received {"connection_id":188687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":188687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:51:37] local.INFO: TCP Data received {"connection_id":188687,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f4aa70012d1b4c40072579980028013f29..."} 
[2026-09-18 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f4aa70012d1b4c40072579980028013f29..."} 
[2026-09-18 10:51:37] local.INFO: Processing buffer {"connection_id":188687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f4aa70012d1b4c40072579980028013f29..."} 
[2026-09-18 10:51:37] local.INFO: Packet analysis {"connection_id":188687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f4"} 
[2026-09-18 10:51:37] local.INFO: Extracted packet for processing {"connection_id":188687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f4"} 
[2026-09-18 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":41,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165440768001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789708774000,"timestamp_ms":1789708774000,"timestamp_seconds":1789708774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f4aa70"} 
[2026-09-18 10:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 10:51: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-09-18 10:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165440768001,"66":13080,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165440768001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:51:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165440768001,"power":13080,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":188687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:51:37] local.INFO: GPS data processed {"connection_id":188687,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:51:37] local.INFO: Acknowledgment sent {"connection_id":188687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:51:38] local.INFO: TCP Data received {"connection_id":188687,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f4fc78012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f4fc78012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:51:38] local.INFO: Processing buffer {"connection_id":188687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f4fc78012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:51:38] local.INFO: Packet analysis {"connection_id":188687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f4"} 
[2026-09-18 10:51:38] local.INFO: Extracted packet for processing {"connection_id":188687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f4"} 
[2026-09-18 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165446144001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789708795000,"timestamp_ms":1789708795000,"timestamp_seconds":1789708795,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f4fc78"} 
[2026-09-18 10:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 10:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165446144001,"66":13961,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165446144001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:51:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165446144001,"power":13961,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":188687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:51:38] local.INFO: GPS data processed {"connection_id":188687,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:51:38] local.INFO: Acknowledgment sent {"connection_id":188687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:52:09] local.INFO: TCP Data received {"connection_id":188687,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f54e80012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f54e80012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:52:09] local.INFO: Processing buffer {"connection_id":188687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f54e80012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:52:09] local.INFO: Packet analysis {"connection_id":188687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f5"} 
[2026-09-18 10:52:09] local.INFO: Extracted packet for processing {"connection_id":188687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f5"} 
[2026-09-18 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165451520001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789708816000,"timestamp_ms":1789708816000,"timestamp_seconds":1789708816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f54e80"} 
[2026-09-18 10:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 10:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165451520001,"66":13135,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165451520001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:52:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165451520001,"power":13135,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":188687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:52:09] local.INFO: GPS data processed {"connection_id":188687,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:52:09] local.INFO: Acknowledgment sent {"connection_id":188687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:52:25] local.INFO: TCP Data received {"connection_id":188688,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:52:25] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:52:25] local.INFO: IMEI packet received {"connection_id":188688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":188688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:52:31] local.INFO: TCP Data received {"connection_id":188688,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:52:31] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:52:31] local.INFO: IMEI packet received {"connection_id":188688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":188688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:52:32] local.INFO: TCP Data received {"connection_id":188688,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f5a088012d1b4c40072579980028013f2c..."} 
[2026-09-18 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f5a088012d1b4c40072579980028013f2c..."} 
[2026-09-18 10:52:32] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f5a088012d1b4c40072579980028013f2c..."} 
[2026-09-18 10:52:32] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f5"} 
[2026-09-18 10:52:32] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f5"} 
[2026-09-18 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":44,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165456896001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708837000,"timestamp_ms":1789708837000,"timestamp_seconds":1789708837,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f5a088"} 
[2026-09-18 10:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 10:52: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-09-18 10:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165456896001,"66":13080,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165456896001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:52:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165456896001,"power":13080,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:52:32] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:52:32] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:53:03] local.INFO: TCP Data received {"connection_id":188688,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f5f290012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f5f290012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:53:03] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f5f290012d1b4c40072579980028013f2b..."} 
[2026-09-18 10:53:03] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f5"} 
[2026-09-18 10:53:03] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f5"} 
[2026-09-18 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165462272001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789708858000,"timestamp_ms":1789708858000,"timestamp_seconds":1789708858,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f5f290"} 
[2026-09-18 10:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:53: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-09-18 10:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 10:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165462272001,"66":12287,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165462272001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:53:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165462272001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:53:03] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:53:03] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:53:06] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:06] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:06] local.INFO: IMEI packet received {"connection_id":185913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":185913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:53:11] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:11] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:11] local.INFO: IMEI packet received {"connection_id":185913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-18 10:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":185913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:53:12] local.INFO: TCP Data received {"connection_id":185913,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ed8a38012d34bbc006aa4ea80003012f29..."} 
[2026-09-18 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ed8a38012d34bbc006aa4ea80003012f29..."} 
[2026-09-18 10:53:12] local.INFO: Processing buffer {"connection_id":185913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ed8a38012d34bbc006aa4ea80003012f29..."} 
[2026-09-18 10:53:12] local.INFO: Packet analysis {"connection_id":185913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:53:12] local.INFO: Extracted packet for processing {"connection_id":185913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ed"} 
[2026-09-18 10:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758430656,"raw_latitude":111824552,"longitude_deg":75.8430656,"latitude_deg":11.1824552,"altitude":3,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2d34bbc0","hex_latitude":"06aa4ea8","is_valid_coordinates":true} 
[2026-09-18 10:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165321216001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799841845476763648,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789708307000,"timestamp_ms":1789708307000,"timestamp_seconds":1789708307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ed8a38"} 
[2026-09-18 10:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 10:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-18 10:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-18 10:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-18 10:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-18 10:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165321216001,"66":28234,"97":206,"81":23296,"24":0,"16":0,"45":3799841845476763648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 10:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-18 10:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-18 10:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165321216001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:53:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 10:53:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 10:53:12] local.INFO: Odometer value is zero {"io_id":16,"note":"May indicate new vehicle or odometer reset"} 
[2026-09-18 10:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799841845476763648,"description":"Unknown IO ID 45"} 
[2026-09-18 10:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165321216001,"power":28234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":0,"unknown_45":3799841845476763648}} 
[2026-09-18 10:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":185913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:53:12] local.INFO: GPS data processed {"connection_id":185913,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:53:12] local.INFO: Acknowledgment sent {"connection_id":185913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:53:25] local.INFO: TCP Data received {"connection_id":186066,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:53:25] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:53:25] local.INFO: IMEI packet received {"connection_id":186066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":186066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:53:27] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:53:27] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:53:27] local.INFO: IMEI packet received {"connection_id":186067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":186067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:53:28] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:53:28] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:53:28] local.INFO: IMEI packet received {"connection_id":186067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":186067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:53:29] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f6e8a8012d3d0080069d3bb0003500a82c..."} 
[2026-09-18 10:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f6e8a8012d3d0080069d3bb0003500a82c..."} 
[2026-09-18 10:53:29] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f6e8a8012d3d0080069d3bb0003500a82c..."} 
[2026-09-18 10:53:29] local.INFO: Packet analysis {"connection_id":186067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:53:29] local.INFO: Extracted packet for processing {"connection_id":186067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:53:29] local.INFO: GPS Element Parsed {"raw_longitude":758972544,"raw_latitude":110967728,"longitude_deg":75.8972544,"latitude_deg":11.0967728,"altitude":53,"angle":168,"satellites":44,"speed":49,"hex_longitude":"2d3d0080","hex_latitude":"069d3bb0","is_valid_coordinates":true} 
[2026-09-18 10:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165481728001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405238376355069952,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4393402202398445568,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789708921000,"timestamp_ms":1789708921000,"timestamp_seconds":1789708921,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f6e8a8"} 
[2026-09-18 10:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 10:53:29] 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-09-18 10:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165481728001,"66":27800,"34":206,"81":47616,"24":49,"16":405238376355069952,"45":4393402202398445568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-18 10:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165481728001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:53:29] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-18 10:53:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405238376355069952,"km_value":405238376355069.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4393402202398445568,"description":"Unknown IO ID 45"} 
[2026-09-18 10:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165481728001,"power":27800,"unknown_34":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4393402202398445568}} 
[2026-09-18 10:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":186067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:53:29] local.INFO: GPS data processed {"connection_id":186067,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:53:29] local.INFO: Acknowledgment sent {"connection_id":186067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:53:31] local.INFO: TCP Data received {"connection_id":186066,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:53:31] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:53:31] local.INFO: IMEI packet received {"connection_id":186066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":186066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:53:32] local.INFO: TCP Data received {"connection_id":186066,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f64498012d1b4c40072579980028013f29..."} 
[2026-09-18 10:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f64498012d1b4c40072579980028013f29..."} 
[2026-09-18 10:53:32] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f64498012d1b4c40072579980028013f29..."} 
[2026-09-18 10:53:32] local.INFO: Packet analysis {"connection_id":186066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:53:32] local.INFO: Extracted packet for processing {"connection_id":186066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":41,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165467648001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708879000,"timestamp_ms":1789708879000,"timestamp_seconds":1789708879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f64498"} 
[2026-09-18 10:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 10:53: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-09-18 10: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-09-18 10:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165467648001,"66":13015,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165467648001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:53:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165467648001,"power":13015,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":186066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:53:32] local.INFO: GPS data processed {"connection_id":186066,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:53:32] local.INFO: Acknowledgment sent {"connection_id":186066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:53:33] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f707e8012d3d0840069d1528003500a82d..."} 
[2026-09-18 10:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f707e8012d3d0840069d1528003500a82d..."} 
[2026-09-18 10:53:33] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f707e8012d3d0840069d1528003500a82d..."} 
[2026-09-18 10:53:33] local.INFO: Packet analysis {"connection_id":186067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:53:33] local.INFO: Extracted packet for processing {"connection_id":186067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:53:33] local.INFO: GPS Element Parsed {"raw_longitude":758974528,"raw_latitude":110957864,"longitude_deg":75.8974528,"latitude_deg":11.0957864,"altitude":53,"angle":168,"satellites":45,"speed":51,"hex_longitude":"2d3d0840","hex_latitude":"069d1528","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165483776001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405238861686374400,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4395654002209697792,"note":"Value kept but may cause issues"} 
[2026-09-18 10:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789708929000,"timestamp_ms":1789708929000,"timestamp_seconds":1789708929,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f707e8"} 
[2026-09-18 10:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:53: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-09-18 10: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-09-18 10:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:53: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-09-18 10:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165483776001,"66":27821,"34":206,"81":47616,"24":51,"16":405238861686374400,"45":4395654002209697792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-18 10:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165483776001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:53:33] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-18 10:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405238861686374400,"km_value":405238861686374.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4395654002209697792,"description":"Unknown IO ID 45"} 
[2026-09-18 10:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165483776001,"power":27821,"unknown_34":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4395654002209697792}} 
[2026-09-18 10:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":186067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:53:33] local.INFO: GPS data processed {"connection_id":186067,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:53:33] local.INFO: Acknowledgment sent {"connection_id":186067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:53:56] local.INFO: TCP Data received {"connection_id":187370,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:56] local.INFO: Processing buffer {"connection_id":187370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:53:56] local.INFO: IMEI packet received {"connection_id":187370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":187370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:54:03] local.INFO: TCP Data received {"connection_id":186066,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f696a0012d1b4c40072579980028013f2c..."} 
[2026-09-18 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f696a0012d1b4c40072579980028013f2c..."} 
[2026-09-18 10:54:03] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f696a0012d1b4c40072579980028013f2c..."} 
[2026-09-18 10:54:03] local.INFO: Packet analysis {"connection_id":186066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:54:03] local.INFO: Extracted packet for processing {"connection_id":186066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":44,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165473024001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789708900000,"timestamp_ms":1789708900000,"timestamp_seconds":1789708900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f696a0"} 
[2026-09-18 10:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:54: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-09-18 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 10:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165473024001,"66":13015,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165473024001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:54:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165473024001,"power":13015,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":186066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:54:04] local.INFO: GPS data processed {"connection_id":186066,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:54:04] local.INFO: Acknowledgment sent {"connection_id":186066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:54:17] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:54:17] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:54:17] local.INFO: IMEI packet received {"connection_id":185914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":185914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:54:17] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:54:17] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:54:17] local.INFO: IMEI packet received {"connection_id":185914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":185914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:54:18] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.7","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b2..."} 
[2026-09-18 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b2..."} 
[2026-09-18 10:54:18] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b2..."} 
[2026-09-18 10:54:18] local.INFO: IMEI packet received {"connection_id":185914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":185914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:54:18] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f830c8012d3d9140069b93b8002a00ab2c..."} 
[2026-09-18 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f830c8012d3d9140069b93b8002a00ab2c..."} 
[2026-09-18 10:54:18] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b2f81570012d3d8880069bb6f8002900a32b..."} 
[2026-09-18 10:54:18] local.INFO: Packet analysis {"connection_id":185914,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:18] local.INFO: Extracted packet for processing {"connection_id":185914,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":759007360,"raw_latitude":110868216,"longitude_deg":75.900736,"latitude_deg":11.0868216,"altitude":41,"angle":163,"satellites":43,"speed":53,"hex_longitude":"2d3d8880","hex_latitude":"069bb6f8","is_valid_coordinates":true} 
[2026-09-18 10:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165501696001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405243508840988672,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4430908743019587584,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789708998000,"timestamp_ms":1789708998000,"timestamp_seconds":1789708998,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f81570"} 
[2026-09-18 10:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:54:18] 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-09-18 10:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165501696001,"66":27713,"225":206,"81":47616,"24":53,"16":405243508840988672,"45":4430908743019587584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165501696001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405243508840988672,"km_value":405243508840988.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4430908743019587584,"description":"Unknown IO ID 45"} 
[2026-09-18 10:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165501696001,"power":27713,"unknown_225":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4430908743019587584}} 
[2026-09-18 10:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":185914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:54:18] local.INFO: GPS data processed {"connection_id":185914,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:54:18] local.INFO: Acknowledgment sent {"connection_id":185914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:54:18] local.INFO: Packet analysis {"connection_id":185914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:18] local.INFO: Extracted packet for processing {"connection_id":185914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":759009600,"raw_latitude":110859192,"longitude_deg":75.90096,"latitude_deg":11.0859192,"altitude":42,"angle":171,"satellites":44,"speed":53,"hex_longitude":"2d3d9140","hex_latitude":"069b93b8","is_valid_coordinates":true} 
[2026-09-18 10:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165503488001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405243959812554752,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4433934599016871936,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709005000,"timestamp_ms":1789709005000,"timestamp_seconds":1789709005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f830c8"} 
[2026-09-18 10:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 10:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165503488001,"66":27908,"225":206,"81":47616,"24":53,"16":405243959812554752,"45":4433934599016871936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-18 10:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165503488001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405243959812554752,"km_value":405243959812554.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4433934599016871936,"description":"Unknown IO ID 45"} 
[2026-09-18 10:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165503488001,"power":27908,"unknown_225":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4433934599016871936}} 
[2026-09-18 10:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":185914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:54:18] local.INFO: GPS data processed {"connection_id":185914,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:54:18] local.INFO: Acknowledgment sent {"connection_id":185914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:54:23] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f84c20012d3d94c0069b7008002a00b12c..."} 
[2026-09-18 10:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f84c20012d3d94c0069b7008002a00b12c..."} 
[2026-09-18 10:54:23] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f84c20012d3d94c0069b7008002a00b12c..."} 
[2026-09-18 10:54:23] local.INFO: Packet analysis {"connection_id":185914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:23] local.INFO: Extracted packet for processing {"connection_id":185914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:23] local.INFO: GPS Element Parsed {"raw_longitude":759010496,"raw_latitude":110850056,"longitude_deg":75.9010496,"latitude_deg":11.0850056,"altitude":42,"angle":177,"satellites":44,"speed":52,"hex_longitude":"2d3d94c0","hex_latitude":"069b7008","is_valid_coordinates":true} 
[2026-09-18 10:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165505280001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405244406489153536,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4436397505060780032,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789709012000,"timestamp_ms":1789709012000,"timestamp_seconds":1789709012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f84c20"} 
[2026-09-18 10:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 10:54:23] 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-09-18 10:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165505280001,"66":27767,"225":206,"81":47616,"24":52,"16":405244406489153536,"45":4436397505060780032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-18 10:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165505280001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:54:23] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-18 10:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405244406489153536,"km_value":405244406489153.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4436397505060780032,"description":"Unknown IO ID 45"} 
[2026-09-18 10:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165505280001,"power":27767,"unknown_225":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4436397505060780032}} 
[2026-09-18 10:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":185914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:54:23] local.INFO: GPS data processed {"connection_id":185914,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:54:23] local.INFO: Acknowledgment sent {"connection_id":185914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:54:26] local.INFO: TCP Data received {"connection_id":186068,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:54:26] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:54:26] local.INFO: IMEI packet received {"connection_id":186068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":186068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:54:31] local.INFO: TCP Data received {"connection_id":186068,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:54:31] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:54:31] local.INFO: IMEI packet received {"connection_id":186068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":186068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:54:32] local.INFO: TCP Data received {"connection_id":186068,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f6e8a8012d1b4c40072579980028013f29..."} 
[2026-09-18 10:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f6e8a8012d1b4c40072579980028013f29..."} 
[2026-09-18 10:54:32] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f6e8a8012d1b4c40072579980028013f29..."} 
[2026-09-18 10:54:32] local.INFO: Packet analysis {"connection_id":186068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:54:32] local.INFO: Extracted packet for processing {"connection_id":186068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f6"} 
[2026-09-18 10:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":41,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165478400001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708921000,"timestamp_ms":1789708921000,"timestamp_seconds":1789708921,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f6e8a8"} 
[2026-09-18 10:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 10:54: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-09-18 10: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-09-18 10:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165478400001,"66":12982,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165478400001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:54:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165478400001,"power":12982,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":186068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:54:33] local.INFO: GPS data processed {"connection_id":186068,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:54:33] local.INFO: Acknowledgment sent {"connection_id":186068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:54:55] local.INFO: TCP Data received {"connection_id":185914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f86778012d3d9680069b4be0002900b026..."} 
[2026-09-18 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f86778012d3d9680069b4be0002900b026..."} 
[2026-09-18 10:54:55] local.INFO: Processing buffer {"connection_id":185914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f86778012d3d9680069b4be0002900b026..."} 
[2026-09-18 10:54:55] local.INFO: Packet analysis {"connection_id":185914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:55] local.INFO: Extracted packet for processing {"connection_id":185914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":759010944,"raw_latitude":110840800,"longitude_deg":75.9010944,"latitude_deg":11.08408,"altitude":41,"angle":176,"satellites":38,"speed":53,"hex_longitude":"2d3d9680","hex_latitude":"069b4be0","is_valid_coordinates":true} 
[2026-09-18 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165507072001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405244853165752320,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4437382667476928512,"note":"Value kept but may cause issues"} 
[2026-09-18 10:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789709019000,"timestamp_ms":1789709019000,"timestamp_seconds":1789709019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f86778"} 
[2026-09-18 10:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 10:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165507072001,"66":27821,"225":206,"81":47616,"24":53,"16":405244853165752320,"45":4437382667476928512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-18 10:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165507072001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:54:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-18 10:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405244853165752320,"km_value":405244853165752.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4437382667476928512,"description":"Unknown IO ID 45"} 
[2026-09-18 10:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165507072001,"power":27821,"unknown_225":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4437382667476928512}} 
[2026-09-18 10:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":185914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:54:55] local.INFO: GPS data processed {"connection_id":185914,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:54:55] local.INFO: Acknowledgment sent {"connection_id":185914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:55:04] local.INFO: TCP Data received {"connection_id":186068,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f73ab0012d1b4c40072579980028013f28..."} 
[2026-09-18 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f73ab0012d1b4c40072579980028013f28..."} 
[2026-09-18 10:55:04] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f73ab0012d1b4c40072579980028013f28..."} 
[2026-09-18 10:55:04] local.INFO: Packet analysis {"connection_id":186068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:55:04] local.INFO: Extracted packet for processing {"connection_id":186068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165483776001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789708942000,"timestamp_ms":1789708942000,"timestamp_seconds":1789708942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f73ab0"} 
[2026-09-18 10:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:55: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-09-18 10: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 10:55: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-09-18 10: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-09-18 10:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165483776001,"66":12972,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165483776001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:55:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165483776001,"power":12972,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":186068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:55:04] local.INFO: GPS data processed {"connection_id":186068,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:55:04] local.INFO: Acknowledgment sent {"connection_id":186068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:55:12] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:55:12] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:55:12] local.INFO: IMEI packet received {"connection_id":186069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:55:16] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:55:16] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:55:16] local.INFO: IMEI packet received {"connection_id":186069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":186069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:55:17] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f882d0012d3d9b80069b25d8002800a529..."} 
[2026-09-18 10:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f882d0012d3d9b80069b25d8002800a529..."} 
[2026-09-18 10:55:17] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f882d0012d3d9b80069b25d8002800a529..."} 
[2026-09-18 10:55:17] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:55:17] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:55:17] local.INFO: GPS Element Parsed {"raw_longitude":759012224,"raw_latitude":110831064,"longitude_deg":75.9012224,"latitude_deg":11.0831064,"altitude":40,"angle":165,"satellites":41,"speed":56,"hex_longitude":"2d3d9b80","hex_latitude":"069b25d8","is_valid_coordinates":true} 
[2026-09-18 10:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165508864001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405245329907122176,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4437875248683802624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789709026000,"timestamp_ms":1789709026000,"timestamp_seconds":1789709026,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f882d0"} 
[2026-09-18 10:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:55: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-09-18 10:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 10:55: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-09-18 10:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165508864001,"66":27843,"241":206,"81":47616,"24":56,"16":405245329907122176,"45":4437875248683802624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-18 10:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165508864001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:55:17] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-18 10:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405245329907122176,"km_value":405245329907122.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4437875248683802624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165508864001,"power":27843,"unknown_241":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4437875248683802624}} 
[2026-09-18 10:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:55:17] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:55:17] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:55:18] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f89e28012d3da900069b00880029009e2c..."} 
[2026-09-18 10:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f89e28012d3da900069b00880029009e2c..."} 
[2026-09-18 10:55:18] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f89e28012d3da900069b00880029009e2c..."} 
[2026-09-18 10:55:18] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:55:18] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:55:18] local.INFO: GPS Element Parsed {"raw_longitude":759015680,"raw_latitude":110821512,"longitude_deg":75.901568,"latitude_deg":11.0821512,"altitude":41,"angle":158,"satellites":44,"speed":55,"hex_longitude":"2d3da900","hex_latitude":"069b0088","is_valid_coordinates":true} 
[2026-09-18 10:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165510656001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405245823828361216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4439282623564863488,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709033000,"timestamp_ms":1789709033000,"timestamp_seconds":1789709033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f89e28"} 
[2026-09-18 10:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:55:18] 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-09-18 10:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165510656001,"66":27876,"241":206,"81":47616,"24":55,"16":405245823828361216,"45":4439282623564863488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-18 10:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165510656001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:55:18] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-18 10:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405245823828361216,"km_value":405245823828361.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4439282623564863488,"description":"Unknown IO ID 45"} 
[2026-09-18 10:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165510656001,"power":27876,"unknown_241":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4439282623564863488}} 
[2026-09-18 10:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:55:18] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:55:18] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:55:25] local.INFO: TCP Data received {"connection_id":186070,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:55:25] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:55:25] local.INFO: IMEI packet received {"connection_id":186070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":186070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:55:30] local.INFO: TCP Data received {"connection_id":186070,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:55:30] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:55:30] local.INFO: IMEI packet received {"connection_id":186070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":186070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:55:32] local.INFO: TCP Data received {"connection_id":186070,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f78cb8012d1b4c40072579980028013f28..."} 
[2026-09-18 10:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f78cb8012d1b4c40072579980028013f28..."} 
[2026-09-18 10:55:32] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f78cb8012d1b4c40072579980028013f28..."} 
[2026-09-18 10:55:32] local.INFO: Packet analysis {"connection_id":186070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:55:32] local.INFO: Extracted packet for processing {"connection_id":186070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119896472,"longitude_deg":75.6763712,"latitude_deg":11.9896472,"altitude":40,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"07257998","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165489152001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242951195688960,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789708963000,"timestamp_ms":1789708963000,"timestamp_seconds":1789708963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f78cb8"} 
[2026-09-18 10:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":172,"data_length":795,"current_offset":136} 
[2026-09-18 10:55: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-09-18 10: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-09-18 10:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165489152001,"66":12885,"92":206,"28":31744,"24":0,"16":21242951195688960,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165489152001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:55:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242951195688960,"km_value":21242951195688.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165489152001,"power":12885,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":186070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:55:32] local.INFO: GPS data processed {"connection_id":186070,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:55:32] local.INFO: Acknowledgment sent {"connection_id":186070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:55:49] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f8b980012d3db640069adf980028009e2d..."} 
[2026-09-18 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f8b980012d3db640069adf980028009e2d..."} 
[2026-09-18 10:55:49] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f8b980012d3db640069adf980028009e2d..."} 
[2026-09-18 10:55:49] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:55:49] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:55:49] local.INFO: GPS Element Parsed {"raw_longitude":759019072,"raw_latitude":110813080,"longitude_deg":75.9019072,"latitude_deg":11.081308,"altitude":40,"angle":158,"satellites":45,"speed":49,"hex_longitude":"2d3db640","hex_latitude":"069adf98","is_valid_coordinates":true} 
[2026-09-18 10:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165512448001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405246261915025408,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4443082535748012032,"note":"Value kept but may cause issues"} 
[2026-09-18 10:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789709040000,"timestamp_ms":1789709040000,"timestamp_seconds":1789709040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f8b980"} 
[2026-09-18 10:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 10:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165512448001,"66":27887,"241":206,"81":47616,"24":49,"16":405246261915025408,"45":4443082535748012032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-18 10:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165512448001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:55:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-18 10:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405246261915025408,"km_value":405246261915025.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4443082535748012032,"description":"Unknown IO ID 45"} 
[2026-09-18 10:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165512448001,"power":27887,"unknown_241":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4443082535748012032}} 
[2026-09-18 10:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:55:49] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:55:49] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:56:04] local.INFO: TCP Data received {"connection_id":186070,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f7b7b0012d1b4f4007257bb8003700892a..."} 
[2026-09-18 10:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f7b7b0012d1b4f4007257bb8003700892a..."} 
[2026-09-18 10:56:04] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f7b7b0012d1b4f4007257bb8003700892a..."} 
[2026-09-18 10:56:04] local.INFO: Packet analysis {"connection_id":186070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:56:04] local.INFO: Extracted packet for processing {"connection_id":186070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f7"} 
[2026-09-18 10:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897016,"longitude_deg":75.676448,"latitude_deg":11.9897016,"altitude":55,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257bb8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165494528001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536691738624,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789708974000,"timestamp_ms":1789708974000,"timestamp_seconds":1789708974,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f7b7b0"} 
[2026-09-18 10:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:56: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-09-18 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 10:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165494528001,"66":12885,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967017536691738624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165494528001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:56:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536691738624,"description":"Unknown IO ID 45"} 
[2026-09-18 10:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165494528001,"power":12885,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536691738624}} 
[2026-09-18 10:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":186070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:56:04] local.INFO: GPS data processed {"connection_id":186070,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:56:04] local.INFO: Acknowledgment sent {"connection_id":186070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:56:17] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:17] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:17] local.INFO: IMEI packet received {"connection_id":185915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":185915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:56:18] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:18] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:18] local.INFO: IMEI packet received {"connection_id":185915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":185915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:56:23] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:23] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:56:23] local.INFO: IMEI packet received {"connection_id":185915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":185915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:56:23] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f9c320012d3df10006997f180016009f2f..."} 
[2026-09-18 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f9c320012d3df10006997f180016009f2f..."} 
[2026-09-18 10:56:23] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f9c320012d3df10006997f180016009f2f..."} 
[2026-09-18 10:56:23] local.INFO: Packet analysis {"connection_id":185915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:56:23] local.INFO: Extracted packet for processing {"connection_id":185915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":759034112,"raw_latitude":110722840,"longitude_deg":75.9034112,"latitude_deg":11.072284,"altitude":22,"angle":159,"satellites":47,"speed":52,"hex_longitude":"2d3df100","hex_latitude":"06997f18","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165530624001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405250758745784320,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461941359163664384,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789709108000,"timestamp_ms":1789709108000,"timestamp_seconds":1789709108,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f9c320"} 
[2026-09-18 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 10:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10: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-09-18 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165530624001,"66":27800,"242":206,"81":47616,"24":52,"16":405250758745784320,"45":4461941359163664384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-18 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165530624001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:56:23] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-18 10:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405250758745784320,"km_value":405250758745784.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461941359163664384,"description":"Unknown IO ID 45"} 
[2026-09-18 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165530624001,"power":27800,"unknown_242":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4461941359163664384}} 
[2026-09-18 10:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":185915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:56:24] local.INFO: GPS data processed {"connection_id":185915,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:56:24] local.INFO: Acknowledgment sent {"connection_id":185915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:56:25] local.INFO: TCP Data received {"connection_id":187371,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:56:25] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:56:25] local.INFO: IMEI packet received {"connection_id":187371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":187371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:56:30] local.INFO: TCP Data received {"connection_id":187371,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:56:30] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:56:30] local.INFO: IMEI packet received {"connection_id":187371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":187371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:56:31] local.INFO: TCP Data received {"connection_id":187371,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f809b8012d1b4f4007257be80038008928..."} 
[2026-09-18 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f809b8012d1b4f4007257be80038008928..."} 
[2026-09-18 10:56:31] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f809b8012d1b4f4007257be80038008928..."} 
[2026-09-18 10:56:31] local.INFO: Packet analysis {"connection_id":187371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:56:31] local.INFO: Extracted packet for processing {"connection_id":187371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165497344001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622009856,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789708995000,"timestamp_ms":1789708995000,"timestamp_seconds":1789708995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f809b8"} 
[2026-09-18 10:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:56: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-09-18 10: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-09-18 10: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-09-18 10: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-09-18 10:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165497344001,"66":12928,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622009856},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165497344001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:56:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622009856,"description":"Unknown IO ID 45"} 
[2026-09-18 10:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165497344001,"power":12928,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622009856}} 
[2026-09-18 10:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":187371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:56:31] local.INFO: GPS data processed {"connection_id":187371,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:56:31] local.INFO: Acknowledgment sent {"connection_id":187371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:56:54] local.INFO: TCP Data received {"connection_id":185915,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f9d2c0012d3dfac006996cd8001500912f..."} 
[2026-09-18 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f9d2c0012d3dfac006996cd8001500912f..."} 
[2026-09-18 10:56:54] local.INFO: Processing buffer {"connection_id":185915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f9d2c0012d3dfac006996cd8001500912f..."} 
[2026-09-18 10:56:54] local.INFO: Packet analysis {"connection_id":185915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:56:54] local.INFO: Extracted packet for processing {"connection_id":185915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":759036608,"raw_latitude":110718168,"longitude_deg":75.9036608,"latitude_deg":11.0718168,"altitude":21,"angle":145,"satellites":47,"speed":52,"hex_longitude":"2d3dfac0","hex_latitude":"06996cd8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165531648001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405251016443822080,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4463348734045919232,"note":"Value kept but may cause issues"} 
[2026-09-18 10:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789709112000,"timestamp_ms":1789709112000,"timestamp_seconds":1789709112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f9d2c0"} 
[2026-09-18 10:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:56:54] 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-09-18 10: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-09-18 10:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165531648001,"66":27821,"242":206,"81":47616,"24":52,"16":405251016443822080,"45":4463348734045919232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-18 10:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165531648001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:56:54] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-18 10:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405251016443822080,"km_value":405251016443822.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4463348734045919232,"description":"Unknown IO ID 45"} 
[2026-09-18 10:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165531648001,"power":27821,"unknown_242":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4463348734045919232}} 
[2026-09-18 10:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":185915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:56:54] local.INFO: GPS data processed {"connection_id":185915,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:56:54] local.INFO: Acknowledgment sent {"connection_id":185915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:57:03] local.INFO: TCP Data received {"connection_id":187371,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f85bc0012d1b4f4007257be8003800892a..."} 
[2026-09-18 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f85bc0012d1b4f4007257be8003800892a..."} 
[2026-09-18 10:57:03] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f85bc0012d1b4f4007257be8003800892a..."} 
[2026-09-18 10:57:03] local.INFO: Packet analysis {"connection_id":187371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:57:03] local.INFO: Extracted packet for processing {"connection_id":187371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165502720001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622022144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789709016000,"timestamp_ms":1789709016000,"timestamp_seconds":1789709016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f85bc0"} 
[2026-09-18 10:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:57: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-09-18 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-18 10:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165502720001,"66":12885,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622022144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165502720001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:57:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622022144,"description":"Unknown IO ID 45"} 
[2026-09-18 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165502720001,"power":12885,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622022144}} 
[2026-09-18 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":187371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:57:03] local.INFO: GPS data processed {"connection_id":187371,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:57:03] local.INFO: Acknowledgment sent {"connection_id":187371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:57:12] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:12] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:12] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:57:13] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:13] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:13] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:57:17] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:17] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:57:17] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:57:19] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fac108012d3f388006992a58001b004c2f..."} 
[2026-09-18 10:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fac108012d3f388006992a58001b004c2f..."} 
[2026-09-18 10:57:19] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fac108012d3f388006992a58001b004c2f..."} 
[2026-09-18 10:57:19] local.INFO: Packet analysis {"connection_id":186071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fa"} 
[2026-09-18 10:57:19] local.INFO: Extracted packet for processing {"connection_id":186071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fa"} 
[2026-09-18 10:57:19] local.INFO: GPS Element Parsed {"raw_longitude":759117952,"raw_latitude":110701144,"longitude_deg":75.9117952,"latitude_deg":11.0701144,"altitude":27,"angle":76,"satellites":47,"speed":53,"hex_longitude":"2d3f3880","hex_latitude":"06992a58","is_valid_coordinates":true} 
[2026-09-18 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165548288001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405255083777851392,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4555531788913104896,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:19] 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-09-18 10:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789709173000,"timestamp_ms":1789709173000,"timestamp_seconds":1789709173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fac108"} 
[2026-09-18 10:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:57: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-09-18 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:57:19] 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-09-18 10:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165548288001,"66":27843,"232":206,"81":47616,"24":53,"16":405255083777851392,"45":4555531788913104896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-18 10:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165548288001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:57:19] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-18 10:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405255083777851392,"km_value":405255083777851.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4555531788913104896,"description":"Unknown IO ID 45"} 
[2026-09-18 10:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165548288001,"power":27843,"unknown_232":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4555531788913104896}} 
[2026-09-18 10:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":186071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:57:20] local.INFO: GPS data processed {"connection_id":186071,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:57:20] local.INFO: Acknowledgment sent {"connection_id":186071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:57:25] local.INFO: TCP Data received {"connection_id":187372,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:57:25] local.INFO: Processing buffer {"connection_id":187372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:57:25] local.INFO: IMEI packet received {"connection_id":187372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":187372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:57:31] local.INFO: TCP Data received {"connection_id":187372,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:57:31] local.INFO: Processing buffer {"connection_id":187372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:57:31] local.INFO: IMEI packet received {"connection_id":187372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":187372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:57:32] local.INFO: TCP Data received {"connection_id":187372,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f8adc8012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f8adc8012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:57:32] local.INFO: Processing buffer {"connection_id":187372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f8adc8012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:57:32] local.INFO: Packet analysis {"connection_id":187372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:57:32] local.INFO: Extracted packet for processing {"connection_id":187372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165508096001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622022144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789709037000,"timestamp_ms":1789709037000,"timestamp_seconds":1789709037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f8adc8"} 
[2026-09-18 10:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:57: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-09-18 10: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":85,"data_length":795,"current_offset":136} 
[2026-09-18 10:57: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-09-18 10: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-09-18 10:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165508096001,"66":12863,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622022144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165508096001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:57:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622022144,"description":"Unknown IO ID 45"} 
[2026-09-18 10:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165508096001,"power":12863,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622022144}} 
[2026-09-18 10:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":187372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:57:32] local.INFO: GPS data processed {"connection_id":187372,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:57:32] local.INFO: Acknowledgment sent {"connection_id":187372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:57:50] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fadc60012d3f5b00069935f8001c00432f..."} 
[2026-09-18 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fadc60012d3f5b00069935f8001c00432f..."} 
[2026-09-18 10:57:50] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fadc60012d3f5b00069935f8001c00432f..."} 
[2026-09-18 10:57:50] local.INFO: Packet analysis {"connection_id":186071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fa"} 
[2026-09-18 10:57:50] local.INFO: Extracted packet for processing {"connection_id":186071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fa"} 
[2026-09-18 10:57:50] local.INFO: GPS Element Parsed {"raw_longitude":759126784,"raw_latitude":110704120,"longitude_deg":75.9126784,"latitude_deg":11.070412,"altitude":28,"angle":67,"satellites":47,"speed":53,"hex_longitude":"2d3f5b00","hex_latitude":"069935f8","is_valid_coordinates":true} 
[2026-09-18 10:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165548288001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405255530454450176,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4555531788913104896,"note":"Value kept but may cause issues"} 
[2026-09-18 10:57:50] 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-09-18 10:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789709180000,"timestamp_ms":1789709180000,"timestamp_seconds":1789709180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fadc60"} 
[2026-09-18 10:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:57: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-09-18 10:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 10:57:50] 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-09-18 10:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165548288001,"66":27821,"232":206,"81":47616,"24":53,"16":405255530454450176,"45":4555531788913104896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-18 10:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165548288001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:57:50] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-18 10:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405255530454450176,"km_value":405255530454450.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4555531788913104896,"description":"Unknown IO ID 45"} 
[2026-09-18 10:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165548288001,"power":27821,"unknown_232":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4555531788913104896}} 
[2026-09-18 10:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":186071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:57:50] local.INFO: GPS data processed {"connection_id":186071,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:57:50] local.INFO: Acknowledgment sent {"connection_id":186071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:58:04] local.INFO: TCP Data received {"connection_id":187372,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f8ffd0012d1b4f4007257be8003800892a..."} 
[2026-09-18 10:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f8ffd0012d1b4f4007257be8003800892a..."} 
[2026-09-18 10:58:04] local.INFO: Processing buffer {"connection_id":187372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f8ffd0012d1b4f4007257be8003800892a..."} 
[2026-09-18 10:58:04] local.INFO: Packet analysis {"connection_id":187372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:58:04] local.INFO: Extracted packet for processing {"connection_id":187372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f8"} 
[2026-09-18 10:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622022144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789709058000,"timestamp_ms":1789709058000,"timestamp_seconds":1789709058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f8ffd0"} 
[2026-09-18 10:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:58: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":63,"data_length":795,"current_offset":136} 
[2026-09-18 10:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165513472001,"66":12841,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622022144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:58:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622022144,"description":"Unknown IO ID 45"} 
[2026-09-18 10:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165513472001,"power":12841,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622022144}} 
[2026-09-18 10:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":187372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:58:04] local.INFO: GPS data processed {"connection_id":187372,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:58:04] local.INFO: Acknowledgment sent {"connection_id":187372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:58:12] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:58:12] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:58:12] local.INFO: IMEI packet received {"connection_id":185916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":185916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:58:18] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:58:18] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:58:18] local.INFO: IMEI packet received {"connection_id":185916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":185916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:58:19] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fb9bc8012d405100069935b0001c007f2e..."} 
[2026-09-18 10:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fb9bc8012d405100069935b0001c007f2e..."} 
[2026-09-18 10:58:19] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fb9bc8012d405100069935b0001c007f2e..."} 
[2026-09-18 10:58:19] local.INFO: Packet analysis {"connection_id":185916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fb"} 
[2026-09-18 10:58:19] local.INFO: Extracted packet for processing {"connection_id":185916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fb"} 
[2026-09-18 10:58:19] local.INFO: GPS Element Parsed {"raw_longitude":759189760,"raw_latitude":110704048,"longitude_deg":75.918976,"latitude_deg":11.0704048,"altitude":28,"angle":127,"satellites":46,"speed":51,"hex_longitude":"2d405100","hex_latitude":"069935b0","is_valid_coordinates":true} 
[2026-09-18 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165562624001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405258717320183808,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4634485519881187328,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789709229000,"timestamp_ms":1789709229000,"timestamp_seconds":1789709229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fb9bc8"} 
[2026-09-18 10:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:58: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-09-18 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:58: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-09-18 10:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165562624001,"66":27800,"73":206,"81":47616,"24":51,"16":405258717320183808,"45":4634485519881187328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-18 10:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165562624001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:58:19] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-18 10:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405258717320183808,"km_value":405258717320183.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4634485519881187328,"description":"Unknown IO ID 45"} 
[2026-09-18 10:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165562624001,"power":27800,"unknown_73":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4634485519881187328}} 
[2026-09-18 10:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":185916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:58:19] local.INFO: GPS data processed {"connection_id":185916,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:58:19] local.INFO: Acknowledgment sent {"connection_id":185916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:58:26] local.INFO: TCP Data received {"connection_id":187373,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:26] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:26] local.INFO: IMEI packet received {"connection_id":187373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":187373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:58:30] local.INFO: TCP Data received {"connection_id":187373,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:30] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:30] local.INFO: IMEI packet received {"connection_id":187373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":187373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:58:36] local.INFO: TCP Data received {"connection_id":187373,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:36] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:58:36] local.INFO: IMEI packet received {"connection_id":187373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":187373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:58:37] local.INFO: TCP Data received {"connection_id":187373,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f951d8012d1b4f4007257be80038008929..."} 
[2026-09-18 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f951d8012d1b4f4007257be80038008929..."} 
[2026-09-18 10:58:37] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f951d8012d1b4f4007257be80038008929..."} 
[2026-09-18 10:58:37] local.INFO: Packet analysis {"connection_id":187373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:58:37] local.INFO: Extracted packet for processing {"connection_id":187373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":41,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165518848001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622022144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789709079000,"timestamp_ms":1789709079000,"timestamp_seconds":1789709079,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f951d8"} 
[2026-09-18 10:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:58: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-09-18 10:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 10:58: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-09-18 10: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-09-18 10:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165518848001,"66":12841,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622022144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165518848001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:58:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622022144,"description":"Unknown IO ID 45"} 
[2026-09-18 10:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165518848001,"power":12841,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622022144}} 
[2026-09-18 10:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":187373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:58:37] local.INFO: GPS data processed {"connection_id":187373,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:58:37] local.INFO: Acknowledgment sent {"connection_id":187373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:58:41] local.INFO: TCP Data received {"connection_id":187373,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f9a3e0012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f9a3e0012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:58:41] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f9a3e0012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:58:41] local.INFO: Packet analysis {"connection_id":187373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:58:41] local.INFO: Extracted packet for processing {"connection_id":187373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165524224001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622022144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789709100000,"timestamp_ms":1789709100000,"timestamp_seconds":1789709100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f9a3e0"} 
[2026-09-18 10:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 10:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165524224001,"66":12798,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622022144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165524224001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:58:41] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622022144,"description":"Unknown IO ID 45"} 
[2026-09-18 10:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165524224001,"power":12798,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622022144}} 
[2026-09-18 10:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":187373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:58:41] local.INFO: GPS data processed {"connection_id":187373,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:58:41] local.INFO: Acknowledgment sent {"connection_id":187373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:58:50] local.INFO: TCP Data received {"connection_id":185916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fbb720012d406cc006991fb0001f00812f..."} 
[2026-09-18 10:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fbb720012d406cc006991fb0001f00812f..."} 
[2026-09-18 10:58:50] local.INFO: Processing buffer {"connection_id":185916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fbb720012d406cc006991fb0001f00812f..."} 
[2026-09-18 10:58:50] local.INFO: Packet analysis {"connection_id":185916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fb"} 
[2026-09-18 10:58:50] local.INFO: Extracted packet for processing {"connection_id":185916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fb"} 
[2026-09-18 10:58:50] local.INFO: GPS Element Parsed {"raw_longitude":759196864,"raw_latitude":110698416,"longitude_deg":75.9196864,"latitude_deg":11.0698416,"altitude":31,"angle":129,"satellites":47,"speed":51,"hex_longitude":"2d406cc0","hex_latitude":"06991fb0","is_valid_coordinates":true} 
[2026-09-18 10:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165562624001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405259155406848000,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4634485519881187328,"note":"Value kept but may cause issues"} 
[2026-09-18 10:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789709236000,"timestamp_ms":1789709236000,"timestamp_seconds":1789709236,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fbb720"} 
[2026-09-18 10:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:58: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-09-18 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:58:50] 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-09-18 10:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165562624001,"66":27821,"73":206,"81":47616,"24":51,"16":405259155406848000,"45":4634485519881187328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-18 10:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165562624001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:58:50] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-18 10:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405259155406848000,"km_value":405259155406848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4634485519881187328,"description":"Unknown IO ID 45"} 
[2026-09-18 10:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165562624001,"power":27821,"unknown_73":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4634485519881187328}} 
[2026-09-18 10:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":185916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:58:50] local.INFO: GPS data processed {"connection_id":185916,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:58:50] local.INFO: Acknowledgment sent {"connection_id":185916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:59:17] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:17] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:17] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 10:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:59:18] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:18] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:18] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:59:22] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:22] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 10:59:22] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 10:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:59:24] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fbd660012d408b80069906f8002200812e..."} 
[2026-09-18 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fbd660012d408b80069906f8002200812e..."} 
[2026-09-18 10:59:24] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fbd660012d408b80069906f8002200812e..."} 
[2026-09-18 10:59:24] local.INFO: Packet analysis {"connection_id":188689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fb"} 
[2026-09-18 10:59:24] local.INFO: Extracted packet for processing {"connection_id":188689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fb"} 
[2026-09-18 10:59:24] local.INFO: GPS Element Parsed {"raw_longitude":759204736,"raw_latitude":110692088,"longitude_deg":75.9204736,"latitude_deg":11.0692088,"altitude":34,"angle":129,"satellites":46,"speed":49,"hex_longitude":"2d408b80","hex_latitude":"069906f8","is_valid_coordinates":true} 
[2026-09-18 10:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165564416001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405259636443185152,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4642296450483466240,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789709244000,"timestamp_ms":1789709244000,"timestamp_seconds":1789709244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fbd660"} 
[2026-09-18 10:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 10:59:24] 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-09-18 10:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165564416001,"66":27821,"72":206,"81":47616,"24":49,"16":405259636443185152,"45":4642296450483466240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-18 10:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165564416001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:59:24] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-18 10:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405259636443185152,"km_value":405259636443185.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4642296450483466240,"description":"Unknown IO ID 45"} 
[2026-09-18 10:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165564416001,"power":27821,"unknown_72":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4642296450483466240}} 
[2026-09-18 10:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":188689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:59:24] local.INFO: GPS data processed {"connection_id":188689,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:59:24] local.INFO: Acknowledgment sent {"connection_id":188689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:59:25] local.INFO: TCP Data received {"connection_id":185917,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:59:25] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:59:25] local.INFO: IMEI packet received {"connection_id":185917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 10:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":185917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:59:28] local.INFO: TCP Data received {"connection_id":185917,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:59:28] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 10:59:28] local.INFO: IMEI packet received {"connection_id":185917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 10:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":185917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 10:59:29] local.INFO: TCP Data received {"connection_id":185917,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2f9f5e8012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2f9f5e8012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:59:29] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2f9f5e8012d1b4f4007257be8003800892b..."} 
[2026-09-18 10:59:29] local.INFO: Packet analysis {"connection_id":185917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:59:29] local.INFO: Extracted packet for processing {"connection_id":185917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2f9"} 
[2026-09-18 10:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897064,"longitude_deg":75.676448,"latitude_deg":11.9897064,"altitude":56,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d1b4f40","hex_latitude":"07257be8","is_valid_coordinates":true} 
[2026-09-18 10:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 10:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165529600001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242998440329216,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622022144,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 10:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789709121000,"timestamp_ms":1789709121000,"timestamp_seconds":1789709121,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2f9f5e8"} 
[2026-09-18 10:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 10:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 10:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 10:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 10:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 10:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 10:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165529600001,"66":12819,"92":206,"28":31744,"24":0,"16":21242998440329216,"45":1967861961622022144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 10:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 10:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 10:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165529600001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:59:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 10:59:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 10:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242998440329216,"km_value":21242998440329.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622022144,"description":"Unknown IO ID 45"} 
[2026-09-18 10:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165529600001,"power":12819,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967861961622022144}} 
[2026-09-18 10:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":185917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:59:30] local.INFO: GPS data processed {"connection_id":185917,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:59:30] local.INFO: Acknowledgment sent {"connection_id":185917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 10:59:36] local.INFO: TCP Data received {"connection_id":188690,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:59:36] local.INFO: Processing buffer {"connection_id":188690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 10:59:36] local.INFO: IMEI packet received {"connection_id":188690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 10:59:36] local.ERROR: TCP Connection error {"connection_id":188690,"code":2,"message":"client closed"} 
[2026-09-18 10:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":188690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 10:59:55] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fd35f0012d420d40069813500029006e2e..."} 
[2026-09-18 10:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fd35f0012d420d40069813500029006e2e..."} 
[2026-09-18 10:59:55] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fd35f0012d420d40069813500029006e2e..."} 
[2026-09-18 10:59:55] local.INFO: Packet analysis {"connection_id":188689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 10:59:55] local.INFO: Extracted packet for processing {"connection_id":188689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":759303488,"raw_latitude":110629712,"longitude_deg":75.9303488,"latitude_deg":11.0629712,"altitude":41,"angle":110,"satellites":46,"speed":45,"hex_longitude":"2d420d40","hex_latitude":"06981350","is_valid_coordinates":true} 
[2026-09-18 10: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-09-18 10:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165587456001,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405265237080539136,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4749749522826084352,"note":"Value kept but may cause issues"} 
[2026-09-18 10:59:55] 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-09-18 10:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789709334000,"timestamp_ms":1789709334000,"timestamp_seconds":1789709334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fd35f0"} 
[2026-09-18 10:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 10:59:55] 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-09-18 10: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-09-18 10:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 10:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 10:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 10:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 10:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 10:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 10:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 10:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165587456001,"66":27876,"29":206,"81":47616,"24":45,"16":405265237080539136,"45":4749749522826084352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-18 10:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 10:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 10:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165587456001,"description":"Unknown IO ID 0"} 
[2026-09-18 10:59:55] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 10:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 10:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405265237080539136,"km_value":405265237080539.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 10:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4749749522826084352,"description":"Unknown IO ID 45"} 
[2026-09-18 10:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165587456001,"power":27876,"unknown_29":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4749749522826084352}} 
[2026-09-18 10:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":188689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 10:59:55] local.INFO: GPS data processed {"connection_id":188689,"processed":1,"errors":0,"total":1} 
[2026-09-18 10:59:55] local.INFO: Acknowledgment sent {"connection_id":188689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:00:01] local.INFO: TCP Data received {"connection_id":185917,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fd68b8012d1b4f4007257e10002e00642b..."} 
[2026-09-18 11:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fd68b8012d1b4f4007257e10002e00642b..."} 
[2026-09-18 11:00:01] local.INFO: Processing buffer {"connection_id":185917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fd68b8012d1b4f4007257e10002e00642b..."} 
[2026-09-18 11:00:01] local.INFO: Packet analysis {"connection_id":185917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:00:01] local.INFO: Extracted packet for processing {"connection_id":185917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119897616,"longitude_deg":75.676448,"latitude_deg":11.9897616,"altitude":46,"angle":100,"satellites":43,"speed":4,"hex_longitude":"2d1b4f40","hex_latitude":"07257e10","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165592576001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21243118699413504,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967721224133812224,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789709347000,"timestamp_ms":1789709347000,"timestamp_seconds":1789709347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fd68b8"} 
[2026-09-18 11:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:00: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-09-18 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454491648,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3002914864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4247402497,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-09-18 11:00:01] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221693818,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:01] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,92,28,24,241,158,16,120,160,96,45,128,126,46,43,10,66,93,64,125,57,1,240,109,178,37,4,113,205,3,38,77,248,42,239,55,2,75,7,44],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-09-18 11:00:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314735272335441920,"timestamp_seconds":3314735272335442.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165592576001,"66":14080,"92":206,"28":31744,"24":4,"16":21243118699413504,"45":1967721224133812224},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 11:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165592576001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:00:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 11:00:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21243118699413504,"km_value":21243118699413.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967721224133812224,"description":"Unknown IO ID 45"} 
[2026-09-18 11:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165592576001,"power":14080,"unknown_92":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1967721224133812224}} 
[2026-09-18 11:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":185917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:00:01] local.INFO: GPS data processed {"connection_id":185917,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:00:01] local.INFO: Acknowledgment sent {"connection_id":185917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:00:12] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:12] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:12] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:00:12] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:12] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:12] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:00:17] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:17] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:00:17] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:00:18] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fd5530012d422ec006980740002c006e2e..."} 
[2026-09-18 11:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fd5530012d422ec006980740002c006e2e..."} 
[2026-09-18 11:00:18] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fd5530012d422ec006980740002c006e2e..."} 
[2026-09-18 11:00:18] local.INFO: Packet analysis {"connection_id":186072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:00:18] local.INFO: Extracted packet for processing {"connection_id":186072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":759312064,"raw_latitude":110626624,"longitude_deg":75.9312064,"latitude_deg":11.0626624,"altitude":44,"angle":110,"satellites":46,"speed":42,"hex_longitude":"2d422ec0","hex_latitude":"06980740","is_valid_coordinates":true} 
[2026-09-18 11:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165589504001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405265670872236032,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4759530778265866240,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:18] 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-09-18 11:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709342000,"timestamp_ms":1789709342000,"timestamp_seconds":1789709342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fd5530"} 
[2026-09-18 11:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:00: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-09-18 11:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165589504001,"66":27865,"29":206,"81":47616,"24":42,"16":405265670872236032,"45":4759530778265866240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-18 11:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165589504001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:00:18] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 11:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 11:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405265670872236032,"km_value":405265670872236.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4759530778265866240,"description":"Unknown IO ID 45"} 
[2026-09-18 11:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165589504001,"power":27865,"unknown_29":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4759530778265866240}} 
[2026-09-18 11:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":186072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:00:18] local.INFO: GPS data processed {"connection_id":186072,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:00:18] local.INFO: Acknowledgment sent {"connection_id":186072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:00:25] local.INFO: TCP Data received {"connection_id":188691,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:00:25] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:00:25] local.INFO: IMEI packet received {"connection_id":188691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":188691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:00:31] local.INFO: TCP Data received {"connection_id":188691,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:00:31] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:00:31] local.INFO: IMEI packet received {"connection_id":188691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":188691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:00:32] local.INFO: TCP Data received {"connection_id":188691,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fd6ca0012d1b4fc007257dc8002e00812b..."} 
[2026-09-18 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fd6ca0012d1b4fc007257dc8002e00812b..."} 
[2026-09-18 11:00:32] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fd6ca0012d1b4fc007257dc8002e00812b..."} 
[2026-09-18 11:00:32] local.INFO: Packet analysis {"connection_id":188691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:00:32] local.INFO: Extracted packet for processing {"connection_id":188691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119897544,"longitude_deg":75.6764608,"latitude_deg":11.9897544,"altitude":46,"angle":129,"satellites":43,"speed":6,"hex_longitude":"2d1b4fc0","hex_latitude":"07257dc8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165592832001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21243127289348096,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961622163456,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789709348000,"timestamp_ms":1789709348000,"timestamp_seconds":1789709348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fd6ca0"} 
[2026-09-18 11:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:00: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-09-18 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454491648,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3002934864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4248426497,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-09-18 11:00:32] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221693819,"note":"Value kept but may cause issues"} 
[2026-09-18 11:00:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,92,28,24,241,158,16,120,160,100,45,192,126,46,43,10,66,96,128,93,64,1,240,185,178,37,4,113,205,42,77,72,41,239,55,2,75,7],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-09-18 11:00:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314759461591318528,"timestamp_seconds":3314759461591318.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165592832001,"66":14265,"92":206,"28":31744,"24":6,"16":21243127289348096,"45":1967861961622163456},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-18 11:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165592832001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:00:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-18 11:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21243127289348096,"km_value":21243127289348.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961622163456,"description":"Unknown IO ID 45"} 
[2026-09-18 11:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165592832001,"power":14265,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1967861961622163456}} 
[2026-09-18 11:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":188691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:00:32] local.INFO: GPS data processed {"connection_id":188691,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:00:32] local.INFO: Acknowledgment sent {"connection_id":188691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:01:03] local.INFO: TCP Data received {"connection_id":188691,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fd9b80012d1b624007256950002b008f2b..."} 
[2026-09-18 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fd9b80012d1b624007256950002b008f2b..."} 
[2026-09-18 11:01:03] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fd9b80012d1b624007256950002b008f2b..."} 
[2026-09-18 11:01:03] local.INFO: Packet analysis {"connection_id":188691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:01:03] local.INFO: Extracted packet for processing {"connection_id":188691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119892304,"longitude_deg":75.6769344,"latitude_deg":11.9892304,"altitude":43,"angle":143,"satellites":43,"speed":25,"hex_longitude":"2d1b6240","hex_latitude":"07256950","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165593088001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21243466591764480,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699110500352,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789709360000,"timestamp_ms":1789709360000,"timestamp_seconds":1789709360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fd9b80"} 
[2026-09-18 11:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:01: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-09-18 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 11:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165593088001,"66":14374,"91":206,"28":31744,"24":25,"16":21243466591764480,"45":1968002699110500352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 11:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165593088001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:01:03] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 11:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21243466591764480,"km_value":21243466591764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699110500352,"description":"Unknown IO ID 45"} 
[2026-09-18 11:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165593088001,"power":14374,"unknown_91":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1968002699110500352}} 
[2026-09-18 11:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":188691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:01:03] local.INFO: GPS data processed {"connection_id":188691,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:01:03] local.INFO: Acknowledgment sent {"connection_id":188691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:01:25] local.INFO: TCP Data received {"connection_id":185918,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:01:25] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:01:25] local.INFO: IMEI packet received {"connection_id":185918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":185918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:01:30] local.INFO: TCP Data received {"connection_id":185918,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:01:30] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:01:30] local.INFO: IMEI packet received {"connection_id":185918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":185918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:01:32] local.INFO: TCP Data received {"connection_id":185918,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fda738012d1b658007256358002b009e2c..."} 
[2026-09-18 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fda738012d1b658007256358002b009e2c..."} 
[2026-09-18 11:01:32] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fda738012d1b658007256358002b009e2c..."} 
[2026-09-18 11:01:32] local.INFO: Packet analysis {"connection_id":185918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:01:32] local.INFO: Extracted packet for processing {"connection_id":185918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756770176,"raw_latitude":119890776,"longitude_deg":75.6770176,"latitude_deg":11.9890776,"altitude":43,"angle":158,"satellites":44,"speed":21,"hex_longitude":"2d1b6580","hex_latitude":"07256358","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165596160001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21243552491110400,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986178306048,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789709363000,"timestamp_ms":1789709363000,"timestamp_seconds":1789709363,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fda738"} 
[2026-09-18 11:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:01: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-09-18 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 11:01: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-09-18 11: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-09-18 11:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165596160001,"66":14070,"91":206,"28":31744,"24":21,"16":21243552491110400,"45":1973209986178306048},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-18 11:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165596160001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:01:32] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-18 11:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21243552491110400,"km_value":21243552491110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986178306048,"description":"Unknown IO ID 45"} 
[2026-09-18 11:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165596160001,"power":14070,"unknown_91":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1973209986178306048}} 
[2026-09-18 11:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":185918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:01:32] local.INFO: GPS data processed {"connection_id":185918,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:01:32] local.INFO: Acknowledgment sent {"connection_id":185918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:01:53] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fd7858012d4252000697faa80030006d2f..."} 
[2026-09-18 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fd7858012d4252000697faa80030006d2f..."} 
[2026-09-18 11:01:53] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fd7858012d4252000697faa80030006d2f..."} 
[2026-09-18 11:01:53] local.INFO: Packet analysis {"connection_id":186072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:01:53] local.INFO: Extracted packet for processing {"connection_id":186072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fd"} 
[2026-09-18 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":759321088,"raw_latitude":110623400,"longitude_deg":75.9321088,"latitude_deg":11.06234,"altitude":48,"angle":109,"satellites":47,"speed":39,"hex_longitude":"2d425200","hex_latitude":"0697faa8","is_valid_coordinates":true} 
[2026-09-18 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165591552001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405266130433736704,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4768960189984882688,"note":"Value kept but may cause issues"} 
[2026-09-18 11:01:53] 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-09-18 11:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789709351000,"timestamp_ms":1789709351000,"timestamp_seconds":1789709351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fd7858"} 
[2026-09-18 11:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 11:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165591552001,"66":27832,"29":206,"81":47616,"24":39,"16":405266130433736704,"45":4768960189984882688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-18 11:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165591552001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:01:53] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 11:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 11:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405266130433736704,"km_value":405266130433736.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4768960189984882688,"description":"Unknown IO ID 45"} 
[2026-09-18 11:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165591552001,"power":27832,"unknown_29":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4768960189984882688}} 
[2026-09-18 11:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":186072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:01:53] local.INFO: GPS data processed {"connection_id":186072,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:01:53] local.INFO: Acknowledgment sent {"connection_id":186072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:02:02] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:02:02] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:02:02] local.INFO: IMEI packet received {"connection_id":186073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":186073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:02:03] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:02:03] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:02:03] local.INFO: IMEI packet received {"connection_id":186073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":186073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:02:04] local.INFO: TCP Data received {"connection_id":185918,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ff02e0012d1b2bc0072499b0002900e425..."} 
[2026-09-18 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ff02e0012d1b2bc0072499b0002900e425..."} 
[2026-09-18 11:02:04] local.INFO: Processing buffer {"connection_id":185918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ff02e0012d1b2bc0072499b0002900e425..."} 
[2026-09-18 11:02:04] local.INFO: Packet analysis {"connection_id":185918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:02:04] local.INFO: Extracted packet for processing {"connection_id":185918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756755392,"raw_latitude":119839152,"longitude_deg":75.6755392,"latitude_deg":11.9839152,"altitude":41,"angle":228,"satellites":37,"speed":21,"hex_longitude":"2d1b2bc0","hex_latitude":"072499b0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165616384001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246327039983616,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374259990528,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789709452000,"timestamp_ms":1789709452000,"timestamp_seconds":1789709452,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ff02e0"} 
[2026-09-18 11:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:02: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-09-18 11: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 11:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165616384001,"66":14428,"111":206,"28":31744,"24":21,"16":21246327039983616,"45":1966032374259990528},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165616384001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246327039983616,"km_value":21246327039983.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374259990528,"description":"Unknown IO ID 45"} 
[2026-09-18 11:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165616384001,"power":14428,"unknown_111":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1966032374259990528}} 
[2026-09-18 11:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":185918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:02:04] local.INFO: GPS data processed {"connection_id":185918,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:02:04] local.INFO: Acknowledgment sent {"connection_id":185918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:02:04] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fe8db0012d42e1000696e7f8002100aa30..."} 
[2026-09-18 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fe8db0012d42e1000696e7f8002100aa30..."} 
[2026-09-18 11:02:04] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fe8db0012d42e1000696e7f8002100aa30..."} 
[2026-09-18 11:02:04] local.INFO: Packet analysis {"connection_id":186073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2fe"} 
[2026-09-18 11:02:04] local.INFO: Extracted packet for processing {"connection_id":186073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2fe"} 
[2026-09-18 11:02:04] local.INFO: GPS Element Parsed {"raw_longitude":759357696,"raw_latitude":110553080,"longitude_deg":75.9357696,"latitude_deg":11.055308,"altitude":33,"angle":170,"satellites":48,"speed":58,"hex_longitude":"2d42e100","hex_latitude":"0696e7f8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165610240001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405270433990967296,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4817514623451246592,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:04] 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-09-18 11:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789709422000,"timestamp_ms":1789709422000,"timestamp_seconds":1789709422,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fe8db0"} 
[2026-09-18 11:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:02: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-09-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 11:02: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-09-18 11: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-09-18 11:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:02: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-09-18 11:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165610240001,"66":27876,"195":206,"86":48640,"24":58,"16":405270433990967296,"45":4817514623451246592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-09-18 11:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165610240001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405270433990967296,"km_value":405270433990967.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4817514623451246592,"description":"Unknown IO ID 45"} 
[2026-09-18 11:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165610240001,"power":27876,"unknown_195":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4817514623451246592}} 
[2026-09-18 11:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":186073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:02:04] local.INFO: GPS data processed {"connection_id":186073,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:02:04] local.INFO: Acknowledgment sent {"connection_id":186073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:02:25] local.INFO: TCP Data received {"connection_id":185919,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:25] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:25] local.INFO: IMEI packet received {"connection_id":185919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":185919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:02:26] local.INFO: TCP Data received {"connection_id":185919,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:26] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:26] local.INFO: IMEI packet received {"connection_id":185919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":185919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:02:27] local.INFO: TCP Data received {"connection_id":185919,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:27] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:27] local.INFO: IMEI packet received {"connection_id":185919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":185919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:02:28] local.INFO: TCP Data received {"connection_id":185919,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:28] local.INFO: Processing buffer {"connection_id":185919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:02:28] local.INFO: IMEI packet received {"connection_id":185919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":185919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:02:35] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ffca18012d439580069562a8001500b42e..."} 
[2026-09-18 11:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ffca18012d439580069562a8001500b42e..."} 
[2026-09-18 11:02:35] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ffca18012d439580069562a8001500b42e..."} 
[2026-09-18 11:02:35] local.INFO: Packet analysis {"connection_id":186073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:02:35] local.INFO: Extracted packet for processing {"connection_id":186073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:02:35] local.INFO: GPS Element Parsed {"raw_longitude":759403904,"raw_latitude":110453416,"longitude_deg":75.9403904,"latitude_deg":11.0453416,"altitude":21,"angle":180,"satellites":46,"speed":53,"hex_longitude":"2d439580","hex_latitude":"069562a8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165631232001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405275849944727552,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869094912907382784,"note":"Value kept but may cause issues"} 
[2026-09-18 11:02: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-09-18 11:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789709503000,"timestamp_ms":1789709503000,"timestamp_seconds":1789709503,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ffca18"} 
[2026-09-18 11:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:02:35] 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-09-18 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 11:02: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-09-18 11: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-09-18 11:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:02: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-09-18 11:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165631232001,"66":27843,"211":206,"86":48640,"24":53,"16":405275849944727552,"45":4869094912907382784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-18 11:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165631232001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:02:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-18 11:02:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405275849944727552,"km_value":405275849944727.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869094912907382784,"description":"Unknown IO ID 45"} 
[2026-09-18 11:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165631232001,"power":27843,"unknown_211":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4869094912907382784}} 
[2026-09-18 11:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":186073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:02:35] local.INFO: GPS data processed {"connection_id":186073,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:02:35] local.INFO: Acknowledgment sent {"connection_id":186073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:03:12] local.INFO: TCP Data received {"connection_id":187374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:12] local.INFO: Processing buffer {"connection_id":187374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:12] local.INFO: IMEI packet received {"connection_id":187374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":187374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:03:13] local.INFO: TCP Data received {"connection_id":187374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:13] local.INFO: Processing buffer {"connection_id":187374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:13] local.INFO: IMEI packet received {"connection_id":187374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":187374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:03:17] local.INFO: TCP Data received {"connection_id":187374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:17] local.INFO: Processing buffer {"connection_id":187374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:03:17] local.INFO: IMEI packet received {"connection_id":187374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":187374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:03:18] local.INFO: TCP Data received {"connection_id":187374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2ffe188012d439140069543a0001400c02e..."} 
[2026-09-18 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2ffe188012d439140069543a0001400c02e..."} 
[2026-09-18 11:03:18] local.INFO: Processing buffer {"connection_id":187374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2ffe188012d439140069543a0001400c02e..."} 
[2026-09-18 11:03:18] local.INFO: Packet analysis {"connection_id":187374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:03:18] local.INFO: Extracted packet for processing {"connection_id":187374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":759402816,"raw_latitude":110445472,"longitude_deg":75.9402816,"latitude_deg":11.0445472,"altitude":20,"angle":192,"satellites":46,"speed":53,"hex_longitude":"2d439140","hex_latitude":"069543a0","is_valid_coordinates":true} 
[2026-09-18 11:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165632768001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405276240786751488,"note":"Value kept but may cause issues"} 
[2026-09-18 11:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869939337835489280,"note":"Value kept but may cause issues"} 
[2026-09-18 11:03:18] 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-09-18 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709509000,"timestamp_ms":1789709509000,"timestamp_seconds":1789709509,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2ffe188"} 
[2026-09-18 11:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:03:18] 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-09-18 11:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 11:03:18] 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-09-18 11:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165632768001,"66":27876,"211":206,"86":48640,"24":53,"16":405276240786751488,"45":4869939337835489280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-18 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165632768001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:03:18] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-18 11:03:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405276240786751488,"km_value":405276240786751.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869939337835489280,"description":"Unknown IO ID 45"} 
[2026-09-18 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165632768001,"power":27876,"unknown_211":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4869939337835489280}} 
[2026-09-18 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":187374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:03:18] local.INFO: GPS data processed {"connection_id":187374,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:03:18] local.INFO: Acknowledgment sent {"connection_id":187374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:03:49] local.INFO: TCP Data received {"connection_id":187374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b2fffce0012d4387c0069521c8001400c42e..."} 
[2026-09-18 11:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b2fffce0012d4387c0069521c8001400c42e..."} 
[2026-09-18 11:03:49] local.INFO: Processing buffer {"connection_id":187374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b2fffce0012d4387c0069521c8001400c42e..."} 
[2026-09-18 11:03:49] local.INFO: Packet analysis {"connection_id":187374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:03:49] local.INFO: Extracted packet for processing {"connection_id":187374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b2ff"} 
[2026-09-18 11:03:49] local.INFO: GPS Element Parsed {"raw_longitude":759400384,"raw_latitude":110436808,"longitude_deg":75.9400384,"latitude_deg":11.0436808,"altitude":20,"angle":196,"satellites":46,"speed":46,"hex_longitude":"2d4387c0","hex_latitude":"069521c8","is_valid_coordinates":true} 
[2026-09-18 11:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165634304001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405276674578448384,"note":"Value kept but may cause issues"} 
[2026-09-18 11:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868743069182435328,"note":"Value kept but may cause issues"} 
[2026-09-18 11:03:49] 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-09-18 11:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789709516000,"timestamp_ms":1789709516000,"timestamp_seconds":1789709516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b2fffce0"} 
[2026-09-18 11:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165634304001,"66":27865,"211":206,"86":48640,"24":46,"16":405276674578448384,"45":4868743069182435328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-18 11:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165634304001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:03:49] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-18 11:03:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405276674578448384,"km_value":405276674578448.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868743069182435328,"description":"Unknown IO ID 45"} 
[2026-09-18 11:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165634304001,"power":27865,"unknown_211":206,"unknown_86":48640,"ignition":46,"odometer":null,"unknown_45":4868743069182435328}} 
[2026-09-18 11:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":187374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:03:49] local.INFO: GPS data processed {"connection_id":187374,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:03:49] local.INFO: Acknowledgment sent {"connection_id":187374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:04:13] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:13] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:13] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:04:14] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:14] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:14] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:04:16] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:16] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:04:16] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:04:18] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3001c20012d437cc00694ff50001500c42c..."} 
[2026-09-18 11:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3001c20012d437cc00694ff50001500c42c..."} 
[2026-09-18 11:04:18] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3001c20012d437cc00694ff50001500c42c..."} 
[2026-09-18 11:04:18] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b300"} 
[2026-09-18 11:04:18] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b300"} 
[2026-09-18 11:04:18] local.INFO: GPS Element Parsed {"raw_longitude":759397568,"raw_latitude":110427984,"longitude_deg":75.9397568,"latitude_deg":11.0427984,"altitude":21,"angle":196,"satellites":44,"speed":47,"hex_longitude":"2d437cc0","hex_latitude":"0694ff50","is_valid_coordinates":true} 
[2026-09-18 11:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165636096001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405277125550014464,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866069056901466112,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:18] 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-09-18 11:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709524000,"timestamp_ms":1789709524000,"timestamp_seconds":1789709524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3001c20"} 
[2026-09-18 11:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:04:18] 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-09-18 11:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 11:04:18] 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-09-18 11:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165636096001,"66":27876,"211":206,"86":48640,"24":47,"16":405277125550014464,"45":4866069056901466112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-18 11:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165636096001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:04:18] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-18 11:04:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405277125550014464,"km_value":405277125550014.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866069056901466112,"description":"Unknown IO ID 45"} 
[2026-09-18 11:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165636096001,"power":27876,"unknown_211":206,"unknown_86":48640,"ignition":47,"odometer":null,"unknown_45":4866069056901466112}} 
[2026-09-18 11:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:04:18] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:04:18] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:04:22] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3004330012d4373c00694dca0001600bb2a..."} 
[2026-09-18 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3004330012d4373c00694dca0001600bb2a..."} 
[2026-09-18 11:04:22] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3004330012d4373c00694dca0001600bb2a..."} 
[2026-09-18 11:04:22] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b300"} 
[2026-09-18 11:04:22] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b300"} 
[2026-09-18 11:04:22] local.INFO: GPS Element Parsed {"raw_longitude":759395264,"raw_latitude":110419104,"longitude_deg":75.9395264,"latitude_deg":11.0419104,"altitude":22,"angle":187,"satellites":42,"speed":21,"hex_longitude":"2d4373c0","hex_latitude":"0694dca0","is_valid_coordinates":true} 
[2026-09-18 11:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165638144001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405277567931645952,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4862972832155389952,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:22] 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-09-18 11:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789709534000,"timestamp_ms":1789709534000,"timestamp_seconds":1789709534,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3004330"} 
[2026-09-18 11:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:04:22] 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-09-18 11:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165638144001,"66":27843,"211":206,"86":48640,"24":21,"16":405277567931645952,"45":4862972832155389952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-18 11:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165638144001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:04:22] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-18 11:04:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405277567931645952,"km_value":405277567931645.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4862972832155389952,"description":"Unknown IO ID 45"} 
[2026-09-18 11:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165638144001,"power":27843,"unknown_211":206,"unknown_86":48640,"ignition":21,"odometer":null,"unknown_45":4862972832155389952}} 
[2026-09-18 11:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:04:22] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:04:22] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:04:56] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b301c200012d431d40069409f0002801652d..."} 
[2026-09-18 11:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b301c200012d431d40069409f0002801652d..."} 
[2026-09-18 11:04:57] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b301c200012d431d40069409f0002801652d..."} 
[2026-09-18 11:04:57] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b301"} 
[2026-09-18 11:04:57] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b301"} 
[2026-09-18 11:04:57] local.INFO: GPS Element Parsed {"raw_longitude":759373120,"raw_latitude":110365168,"longitude_deg":75.937312,"latitude_deg":11.0365168,"altitude":40,"angle":357,"satellites":45,"speed":21,"hex_longitude":"2d431d40","hex_latitude":"069409f0","is_valid_coordinates":true} 
[2026-09-18 11:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165665280001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405280660308099072,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4836232709351528448,"note":"Value kept but may cause issues"} 
[2026-09-18 11:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789709632000,"timestamp_ms":1789709632000,"timestamp_seconds":1789709632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b301c200"} 
[2026-09-18 11:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:04:57] 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-09-18 11:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 11:04:57] 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-09-18 11:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165665280001,"66":27767,"197":206,"86":48640,"24":21,"16":405280660308099072,"45":4836232709351528448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 11:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165665280001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:04:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 11:04:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405280660308099072,"km_value":405280660308099.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4836232709351528448,"description":"Unknown IO ID 45"} 
[2026-09-18 11:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165665280001,"power":27767,"unknown_197":206,"unknown_86":48640,"ignition":21,"odometer":null,"unknown_45":4836232709351528448}} 
[2026-09-18 11:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:04:57] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:04:57] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:05:11] local.INFO: TCP Data received {"connection_id":185920,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:05:11] local.INFO: Processing buffer {"connection_id":185920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:05:11] local.INFO: IMEI packet received {"connection_id":185920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":185920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:05:11] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:11] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:11] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:05:12] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:12] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:12] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:05:17] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:17] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:05:17] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:05:18] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b301f0e0012d431f4006942218002600082f..."} 
[2026-09-18 11:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b301f0e0012d431f4006942218002600082f..."} 
[2026-09-18 11:05:18] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b301f0e0012d431f4006942218002600082f..."} 
[2026-09-18 11:05:18] local.INFO: Packet analysis {"connection_id":188693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b301"} 
[2026-09-18 11:05:18] local.INFO: Extracted packet for processing {"connection_id":188693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b301"} 
[2026-09-18 11:05:18] local.INFO: GPS Element Parsed {"raw_longitude":759373632,"raw_latitude":110371352,"longitude_deg":75.9373632,"latitude_deg":11.0371352,"altitude":38,"angle":8,"satellites":47,"speed":28,"hex_longitude":"2d431f40","hex_latitude":"06942218","is_valid_coordinates":true} 
[2026-09-18 11:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165665792001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405280960955809792,"note":"Value kept but may cause issues"} 
[2026-09-18 11:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4836091971863441408,"note":"Value kept but may cause issues"} 
[2026-09-18 11:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709644000,"timestamp_ms":1789709644000,"timestamp_seconds":1789709644,"priority":1,"record_length":96,"hex_timestamp":"000001a0b301f0e0"} 
[2026-09-18 11:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:05:18] 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-09-18 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 11:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165665792001,"66":27876,"197":206,"86":48640,"24":28,"16":405280960955809792,"45":4836091971863441408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 11:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165665792001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:05:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 11:05:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405280960955809792,"km_value":405280960955809.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4836091971863441408,"description":"Unknown IO ID 45"} 
[2026-09-18 11:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165665792001,"power":27876,"unknown_197":206,"unknown_86":48640,"ignition":28,"odometer":null,"unknown_45":4836091971863441408}} 
[2026-09-18 11:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":188693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:05:18] local.INFO: GPS data processed {"connection_id":188693,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:05:18] local.INFO: Acknowledgment sent {"connection_id":188693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:05:49] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3021020012d4326c006943b20002400152b..."} 
[2026-09-18 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3021020012d4326c006943b20002400152b..."} 
[2026-09-18 11:05:49] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3021020012d4326c006943b20002400152b..."} 
[2026-09-18 11:05:49] local.INFO: Packet analysis {"connection_id":188693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:05:49] local.INFO: Extracted packet for processing {"connection_id":188693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:05:49] local.INFO: GPS Element Parsed {"raw_longitude":759375552,"raw_latitude":110377760,"longitude_deg":75.9375552,"latitude_deg":11.037776,"altitude":36,"angle":21,"satellites":43,"speed":37,"hex_longitude":"2d4326c0","hex_latitude":"06943b20","is_valid_coordinates":true} 
[2026-09-18 11:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165668864001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405281287373324288,"note":"Value kept but may cause issues"} 
[2026-09-18 11:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4836654921818445824,"note":"Value kept but may cause issues"} 
[2026-09-18 11:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789709652000,"timestamp_ms":1789709652000,"timestamp_seconds":1789709652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3021020"} 
[2026-09-18 11:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165668864001,"66":27658,"197":206,"86":48640,"24":37,"16":405281287373324288,"45":4836654921818445824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 11:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165668864001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:05:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 11:05:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405281287373324288,"km_value":405281287373324.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4836654921818445824,"description":"Unknown IO ID 45"} 
[2026-09-18 11:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165668864001,"power":27658,"unknown_197":206,"unknown_86":48640,"ignition":37,"odometer":null,"unknown_45":4836654921818445824}} 
[2026-09-18 11:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":188693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:05:49] local.INFO: GPS data processed {"connection_id":188693,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:05:49] local.INFO: Acknowledgment sent {"connection_id":188693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:06:12] local.INFO: TCP Data received {"connection_id":187376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:12] local.INFO: Processing buffer {"connection_id":187376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:12] local.INFO: IMEI packet received {"connection_id":187376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":187376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:06:16] local.INFO: TCP Data received {"connection_id":187376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:16] local.INFO: Processing buffer {"connection_id":187376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:16] local.INFO: IMEI packet received {"connection_id":187376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":187376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:06:17] local.INFO: TCP Data received {"connection_id":187376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:17] local.INFO: Processing buffer {"connection_id":187376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:06:17] local.INFO: IMEI packet received {"connection_id":187376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":187376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:06:18] local.INFO: TCP Data received {"connection_id":187376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3023730012d43350006945c28002200162c..."} 
[2026-09-18 11:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3023730012d43350006945c28002200162c..."} 
[2026-09-18 11:06:18] local.INFO: Processing buffer {"connection_id":187376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3023730012d43350006945c28002200162c..."} 
[2026-09-18 11:06:18] local.INFO: Packet analysis {"connection_id":187376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:06:18] local.INFO: Extracted packet for processing {"connection_id":187376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:06:18] local.INFO: GPS Element Parsed {"raw_longitude":759379200,"raw_latitude":110386216,"longitude_deg":75.93792,"latitude_deg":11.0386216,"altitude":34,"angle":22,"satellites":44,"speed":33,"hex_longitude":"2d433500","hex_latitude":"06945c28","is_valid_coordinates":true} 
[2026-09-18 11:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165670912001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405281729754955776,"note":"Value kept but may cause issues"} 
[2026-09-18 11:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838765984145416192,"note":"Value kept but may cause issues"} 
[2026-09-18 11:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709662000,"timestamp_ms":1789709662000,"timestamp_seconds":1789709662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3023730"} 
[2026-09-18 11:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:06:18] 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-09-18 11: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 11:06:18] 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-09-18 11:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165670912001,"66":27843,"197":206,"86":48640,"24":33,"16":405281729754955776,"45":4838765984145416192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 11:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165670912001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:06:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 11:06:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405281729754955776,"km_value":405281729754955.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838765984145416192,"description":"Unknown IO ID 45"} 
[2026-09-18 11:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165670912001,"power":27843,"unknown_197":206,"unknown_86":48640,"ignition":33,"odometer":null,"unknown_45":4838765984145416192}} 
[2026-09-18 11:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":187376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:06:18] local.INFO: GPS data processed {"connection_id":187376,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:06:18] local.INFO: Acknowledgment sent {"connection_id":187376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:06:23] local.INFO: TCP Data received {"connection_id":187376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3026228012d43438006947dd8002100172d..."} 
[2026-09-18 11:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3026228012d43438006947dd8002100172d..."} 
[2026-09-18 11:06:23] local.INFO: Processing buffer {"connection_id":187376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3026228012d43438006947dd8002100172d..."} 
[2026-09-18 11:06:23] local.INFO: Packet analysis {"connection_id":187376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:06:23] local.INFO: Extracted packet for processing {"connection_id":187376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:06:23] local.INFO: GPS Element Parsed {"raw_longitude":759382912,"raw_latitude":110394840,"longitude_deg":75.9382912,"latitude_deg":11.039484,"altitude":33,"angle":23,"satellites":45,"speed":35,"hex_longitude":"2d434380","hex_latitude":"06947dd8","is_valid_coordinates":true} 
[2026-09-18 11:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165673472001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405282185021489152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4842777002565707776,"note":"Value kept but may cause issues"} 
[2026-09-18 11:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789709673000,"timestamp_ms":1789709673000,"timestamp_seconds":1789709673,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3026228"} 
[2026-09-18 11:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 11:06:23] 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-09-18 11:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165673472001,"66":27865,"197":206,"86":48640,"24":35,"16":405282185021489152,"45":4842777002565707776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 11:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165673472001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:06:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 11:06:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405282185021489152,"km_value":405282185021489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4842777002565707776,"description":"Unknown IO ID 45"} 
[2026-09-18 11:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165673472001,"power":27865,"unknown_197":206,"unknown_86":48640,"ignition":35,"odometer":null,"unknown_45":4842777002565707776}} 
[2026-09-18 11:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":187376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:06:23] local.INFO: GPS data processed {"connection_id":187376,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:06:23] local.INFO: Acknowledgment sent {"connection_id":187376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:07:30] local.INFO: TCP Data received {"connection_id":186077,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:07:30] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:07:30] local.INFO: IMEI packet received {"connection_id":186077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":186077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:07:37] local.INFO: TCP Data received {"connection_id":186077,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3037780012d1af8c007247160002a00db29..."} 
[2026-09-18 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3037780012d1af8c007247160002a00db29..."} 
[2026-09-18 11:07:37] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3037780012d1af8c007247160002a00db29..."} 
[2026-09-18 11:07:37] local.INFO: Packet analysis {"connection_id":186077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b303"} 
[2026-09-18 11:07:37] local.INFO: Extracted packet for processing {"connection_id":186077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b303"} 
[2026-09-18 11:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165689088001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789709744000,"timestamp_ms":1789709744000,"timestamp_seconds":1789709744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3037780"} 
[2026-09-18 11:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:07: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-09-18 11:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 11:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165689088001,"66":12722,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165689088001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:07:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165689088001,"power":12722,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":186077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:07:37] local.INFO: GPS data processed {"connection_id":186077,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:07:37] local.INFO: Acknowledgment sent {"connection_id":186077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:07:47] local.INFO: TCP Data received {"connection_id":187376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3028938012d43524006949f38001e00162c..."} 
[2026-09-18 11:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3028938012d43524006949f38001e00162c..."} 
[2026-09-18 11:07:47] local.INFO: Processing buffer {"connection_id":187376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3028938012d43524006949f38001e00162c..."} 
[2026-09-18 11:07:47] local.INFO: Packet analysis {"connection_id":187376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:07:47] local.INFO: Extracted packet for processing {"connection_id":187376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b302"} 
[2026-09-18 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":759386688,"raw_latitude":110403384,"longitude_deg":75.9386688,"latitude_deg":11.0403384,"altitude":30,"angle":22,"satellites":44,"speed":36,"hex_longitude":"2d435240","hex_latitude":"06949f38","is_valid_coordinates":true} 
[2026-09-18 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165676288001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405282635993055232,"note":"Value kept but may cause issues"} 
[2026-09-18 11:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4846858389730220032,"note":"Value kept but may cause issues"} 
[2026-09-18 11:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789709683000,"timestamp_ms":1789709683000,"timestamp_seconds":1789709683,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3028938"} 
[2026-09-18 11:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 11:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165676288001,"66":27865,"197":206,"86":48640,"24":36,"16":405282635993055232,"45":4846858389730220032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 11:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165676288001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:07:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 11:07:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405282635993055232,"km_value":405282635993055.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4846858389730220032,"description":"Unknown IO ID 45"} 
[2026-09-18 11:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165676288001,"power":27865,"unknown_197":206,"unknown_86":48640,"ignition":36,"odometer":null,"unknown_45":4846858389730220032}} 
[2026-09-18 11:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":187376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:07:47] local.INFO: GPS data processed {"connection_id":187376,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:07:47] local.INFO: Acknowledgment sent {"connection_id":187376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:07:52] local.INFO: TCP Data received {"connection_id":185921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:07:52] local.INFO: Processing buffer {"connection_id":185921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:07:52] local.INFO: IMEI packet received {"connection_id":185921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":185921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:08:08] local.INFO: TCP Data received {"connection_id":186077,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b303c988012d1af8c007247160002a00db2b..."} 
[2026-09-18 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b303c988012d1af8c007247160002a00db2b..."} 
[2026-09-18 11:08:08] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b303c988012d1af8c007247160002a00db2b..."} 
[2026-09-18 11:08:08] local.INFO: Packet analysis {"connection_id":186077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b303"} 
[2026-09-18 11:08:08] local.INFO: Extracted packet for processing {"connection_id":186077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b303"} 
[2026-09-18 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165694464001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789709765000,"timestamp_ms":1789709765000,"timestamp_seconds":1789709765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b303c988"} 
[2026-09-18 11:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:08: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-09-18 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 11:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165694464001,"66":12917,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165694464001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:08:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165694464001,"power":12917,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":186077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:08:08] local.INFO: GPS data processed {"connection_id":186077,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:08:08] local.INFO: Acknowledgment sent {"connection_id":186077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:08:18] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:08:18] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:08:18] local.INFO: IMEI packet received {"connection_id":187377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":187377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:08:22] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:08:22] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:08:22] local.INFO: IMEI packet received {"connection_id":187377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":187377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:08:23] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30505f0012d43e9800695ae280010000630..."} 
[2026-09-18 11:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30505f0012d43e9800695ae280010000630..."} 
[2026-09-18 11:08:23] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30505f0012d43e9800695ae280010000630..."} 
[2026-09-18 11:08:23] local.INFO: Packet analysis {"connection_id":187377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:08:23] local.INFO: Extracted packet for processing {"connection_id":187377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":759425408,"raw_latitude":110472744,"longitude_deg":75.9425408,"latitude_deg":11.0472744,"altitude":16,"angle":6,"satellites":48,"speed":15,"hex_longitude":"2d43e980","hex_latitude":"0695ae28","is_valid_coordinates":true} 
[2026-09-18 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165720064001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405287021154664448,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4893442498395582464,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789709846000,"timestamp_ms":1789709846000,"timestamp_seconds":1789709846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30505f0"} 
[2026-09-18 11:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 11:08:23] 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-09-18 11:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165720064001,"66":27876,"136":206,"86":48640,"24":15,"16":405287021154664448,"45":4893442498395582464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-09-18 11:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165720064001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:08:23] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 11:08:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405287021154664448,"km_value":405287021154664.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4893442498395582464,"description":"Unknown IO ID 45"} 
[2026-09-18 11:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165720064001,"power":27876,"unknown_136":206,"unknown_86":48640,"ignition":15,"odometer":null,"unknown_45":4893442498395582464}} 
[2026-09-18 11:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":187377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:08:23] local.INFO: GPS data processed {"connection_id":187377,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:08:23] local.INFO: Acknowledgment sent {"connection_id":187377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:08:25] local.INFO: TCP Data received {"connection_id":186079,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:25] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:25] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:08:29] local.INFO: TCP Data received {"connection_id":186079,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:29] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:29] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:08:30] local.INFO: TCP Data received {"connection_id":186079,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:30] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:08:30] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:08:31] local.INFO: TCP Data received {"connection_id":186079,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3041b90012d1af8c007247160002a00db29..."} 
[2026-09-18 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3041b90012d1af8c007247160002a00db29..."} 
[2026-09-18 11:08:31] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3041b90012d1af8c007247160002a00db29..."} 
[2026-09-18 11:08:31] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b304"} 
[2026-09-18 11:08:31] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b304"} 
[2026-09-18 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165699840001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789709786000,"timestamp_ms":1789709786000,"timestamp_seconds":1789709786,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3041b90"} 
[2026-09-18 11:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 11:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165699840001,"66":12852,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165699840001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:08:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165699840001,"power":12852,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:08:31] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:08:31] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:08:36] local.INFO: TCP Data received {"connection_id":186079,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3046d98012d1af8c007247160002a00db28..."} 
[2026-09-18 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3046d98012d1af8c007247160002a00db28..."} 
[2026-09-18 11:08:36] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3046d98012d1af8c007247160002a00db28..."} 
[2026-09-18 11:08:36] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b304"} 
[2026-09-18 11:08:36] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b304"} 
[2026-09-18 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165705216001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789709807000,"timestamp_ms":1789709807000,"timestamp_seconds":1789709807,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3046d98"} 
[2026-09-18 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:08: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-09-18 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 11:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165705216001,"66":12428,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165705216001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:08:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165705216001,"power":12428,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:08:36] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:08:36] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:08:55] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3051978012d43eb800695b5a00011001c30..."} 
[2026-09-18 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3051978012d43eb800695b5a00011001c30..."} 
[2026-09-18 11:08:55] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3051978012d43eb800695b5a00011001c30..."} 
[2026-09-18 11:08:55] local.INFO: Packet analysis {"connection_id":187377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:08:55] local.INFO: Extracted packet for processing {"connection_id":187377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":759425920,"raw_latitude":110474656,"longitude_deg":75.942592,"latitude_deg":11.0474656,"altitude":17,"angle":28,"satellites":48,"speed":15,"hex_longitude":"2d43eb80","hex_latitude":"0695b5a0","is_valid_coordinates":true} 
[2026-09-18 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165720576001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405287115643944960,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4893583235884132352,"note":"Value kept but may cause issues"} 
[2026-09-18 11:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789709851000,"timestamp_ms":1789709851000,"timestamp_seconds":1789709851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3051978"} 
[2026-09-18 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:08:55] 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-09-18 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165720576001,"66":27908,"136":206,"86":48640,"24":15,"16":405287115643944960,"45":4893583235884132352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-09-18 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165720576001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:08:55] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 11:08:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405287115643944960,"km_value":405287115643944.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4893583235884132352,"description":"Unknown IO ID 45"} 
[2026-09-18 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165720576001,"power":27908,"unknown_136":206,"unknown_86":48640,"ignition":15,"odometer":null,"unknown_45":4893583235884132352}} 
[2026-09-18 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":187377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:08:55] local.INFO: GPS data processed {"connection_id":187377,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:08:55] local.INFO: Acknowledgment sent {"connection_id":187377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:09:08] local.INFO: TCP Data received {"connection_id":186079,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b304bfa0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b304bfa0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:09:08] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b304bfa0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:09:08] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b304"} 
[2026-09-18 11:09:08] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b304"} 
[2026-09-18 11:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165710592001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789709828000,"timestamp_ms":1789709828000,"timestamp_seconds":1789709828,"priority":1,"record_length":96,"hex_timestamp":"000001a0b304bfa0"} 
[2026-09-18 11:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:09: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-09-18 11: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 11:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165710592001,"66":12841,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165710592001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:09:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165710592001,"power":12841,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:09:08] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:09:08] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:09:12] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:12] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:12] local.INFO: IMEI packet received {"connection_id":185922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":185922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:09:13] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:13] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:13] local.INFO: IMEI packet received {"connection_id":185922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":185922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:09:17] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:17] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:09:17] local.INFO: IMEI packet received {"connection_id":185922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":185922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:09:18] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3051d60012d43ec400695b6d80012002e30..."} 
[2026-09-18 11:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3051d60012d43ec400695b6d80012002e30..."} 
[2026-09-18 11:09:18] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3051d60012d43ec400695b6d80012002e30..."} 
[2026-09-18 11:09:18] local.INFO: Packet analysis {"connection_id":185922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:09:18] local.INFO: Extracted packet for processing {"connection_id":185922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:09:18] local.INFO: GPS Element Parsed {"raw_longitude":759426112,"raw_latitude":110474968,"longitude_deg":75.9426112,"latitude_deg":11.0474968,"altitude":18,"angle":46,"satellites":48,"speed":16,"hex_longitude":"2d43ec40","hex_latitude":"0695b6d8","is_valid_coordinates":true} 
[2026-09-18 11:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165721856001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405287137118781440,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4894146185838043136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709852000,"timestamp_ms":1789709852000,"timestamp_seconds":1789709852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3051d60"} 
[2026-09-18 11:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:09:18] 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-09-18 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 11:09:18] 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-09-18 11:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165721856001,"66":27908,"136":206,"86":48640,"24":16,"16":405287137118781440,"45":4894146185838043136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-09-18 11:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165721856001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:09:18] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 11:09:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405287137118781440,"km_value":405287137118781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4894146185838043136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165721856001,"power":27908,"unknown_136":206,"unknown_86":48640,"ignition":16,"odometer":null,"unknown_45":4894146185838043136}} 
[2026-09-18 11:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":185922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:09:18] local.INFO: GPS data processed {"connection_id":185922,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:09:18] local.INFO: Acknowledgment sent {"connection_id":185922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:09:25] local.INFO: TCP Data received {"connection_id":185923,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:09:25] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:09:25] local.INFO: IMEI packet received {"connection_id":185923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":185923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:09:30] local.INFO: TCP Data received {"connection_id":185923,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:09:30] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:09:30] local.INFO: IMEI packet received {"connection_id":185923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":185923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:09:32] local.INFO: TCP Data received {"connection_id":185923,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30511a8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30511a8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:09:32] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30511a8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:09:32] local.INFO: Packet analysis {"connection_id":185923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:09:32] local.INFO: Extracted packet for processing {"connection_id":185923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165715968001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789709849000,"timestamp_ms":1789709849000,"timestamp_seconds":1789709849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30511a8"} 
[2026-09-18 11:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:09: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-09-18 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 11:09: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-09-18 11: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-09-18 11:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165715968001,"66":12776,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165715968001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:09:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165715968001,"power":12776,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":185923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:09:32] local.INFO: GPS data processed {"connection_id":185923,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:09:32] local.INFO: Acknowledgment sent {"connection_id":185923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:09:50] local.INFO: TCP Data received {"connection_id":185922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3067138012d44a0000695d960001000482c..."} 
[2026-09-18 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3067138012d44a0000695d960001000482c..."} 
[2026-09-18 11:09:50] local.INFO: Processing buffer {"connection_id":185922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3067138012d44a0000695d960001000482c..."} 
[2026-09-18 11:09:50] local.INFO: Packet analysis {"connection_id":185922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:09:50] local.INFO: Extracted packet for processing {"connection_id":185922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:09:50] local.INFO: GPS Element Parsed {"raw_longitude":759472128,"raw_latitude":110483808,"longitude_deg":75.9472128,"latitude_deg":11.0483808,"altitude":16,"angle":72,"satellites":44,"speed":20,"hex_longitude":"2d44a000","hex_latitude":"0695d960","is_valid_coordinates":true} 
[2026-09-18 11:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165743616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405289413451448320,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4943404306764607488,"note":"Value kept but may cause issues"} 
[2026-09-18 11:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789709939000,"timestamp_ms":1789709939000,"timestamp_seconds":1789709939,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3067138"} 
[2026-09-18 11:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:09:50] 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-09-18 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 11:09: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-09-18 11:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165743616001,"66":27821,"136":206,"86":48640,"24":20,"16":405289413451448320,"45":4943404306764607488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-09-18 11:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165743616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:09:50] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 11:09:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405289413451448320,"km_value":405289413451448.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4943404306764607488,"description":"Unknown IO ID 45"} 
[2026-09-18 11:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165743616001,"power":27821,"unknown_136":206,"unknown_86":48640,"ignition":20,"odometer":null,"unknown_45":4943404306764607488}} 
[2026-09-18 11:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":185922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:09:50] local.INFO: GPS data processed {"connection_id":185922,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:09:50] local.INFO: Acknowledgment sent {"connection_id":185922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:10:03] local.INFO: TCP Data received {"connection_id":185923,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30563b0012d1af8c007247160002a00db2b..."} 
[2026-09-18 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30563b0012d1af8c007247160002a00db2b..."} 
[2026-09-18 11:10:03] local.INFO: Processing buffer {"connection_id":185923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30563b0012d1af8c007247160002a00db2b..."} 
[2026-09-18 11:10:03] local.INFO: Packet analysis {"connection_id":185923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:10:03] local.INFO: Extracted packet for processing {"connection_id":185923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165721344001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789709870000,"timestamp_ms":1789709870000,"timestamp_seconds":1789709870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30563b0"} 
[2026-09-18 11:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:10: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-09-18 11:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165721344001,"66":12819,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165721344001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:10:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165721344001,"power":12819,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":185923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:10:04] local.INFO: GPS data processed {"connection_id":185923,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:10:04] local.INFO: Acknowledgment sent {"connection_id":185923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:10:12] local.INFO: TCP Data received {"connection_id":187378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:10:12] local.INFO: Processing buffer {"connection_id":187378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:10:12] local.INFO: IMEI packet received {"connection_id":187378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":187378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:10:17] local.INFO: TCP Data received {"connection_id":187378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:10:17] local.INFO: Processing buffer {"connection_id":187378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:10:17] local.INFO: IMEI packet received {"connection_id":187378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":187378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:10:18] local.INFO: TCP Data received {"connection_id":187378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3067908012d44a4400695da10001200572c..."} 
[2026-09-18 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3067908012d44a4400695da10001200572c..."} 
[2026-09-18 11:10:18] local.INFO: Processing buffer {"connection_id":187378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3067908012d44a4400695da10001200572c..."} 
[2026-09-18 11:10:18] local.INFO: Packet analysis {"connection_id":187378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:10:18] local.INFO: Extracted packet for processing {"connection_id":187378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":759473216,"raw_latitude":110483984,"longitude_deg":75.9473216,"latitude_deg":11.0483984,"altitude":18,"angle":87,"satellites":44,"speed":21,"hex_longitude":"2d44a440","hex_latitude":"0695da10","is_valid_coordinates":true} 
[2026-09-18 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165744384001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405289464991055872,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944952419136659456,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789709941000,"timestamp_ms":1789709941000,"timestamp_seconds":1789709941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3067908"} 
[2026-09-18 11:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:10:18] 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-09-18 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 11:10:18] 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-09-18 11:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165744384001,"66":27767,"136":206,"86":48640,"24":21,"16":405289464991055872,"45":4944952419136659456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-09-18 11:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165744384001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:10:18] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 11:10:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405289464991055872,"km_value":405289464991055.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944952419136659456,"description":"Unknown IO ID 45"} 
[2026-09-18 11:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165744384001,"power":27767,"unknown_136":206,"unknown_86":48640,"ignition":21,"odometer":null,"unknown_45":4944952419136659456}} 
[2026-09-18 11:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":187378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:10:18] local.INFO: GPS data processed {"connection_id":187378,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:10:18] local.INFO: Acknowledgment sent {"connection_id":187378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:10:31] local.INFO: TCP Data received {"connection_id":185924,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:10:31] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:10:31] local.INFO: IMEI packet received {"connection_id":185924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":185924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:10:32] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:10:32] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:10:32] local.INFO: IMEI packet received {"connection_id":186078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":186078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:10:35] local.INFO: TCP Data received {"connection_id":185924,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:10:35] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:10:35] local.INFO: IMEI packet received {"connection_id":185924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":185924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:10:36] local.INFO: TCP Data received {"connection_id":185924,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b305b5b8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b305b5b8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:10:36] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b305b5b8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:10:36] local.INFO: Packet analysis {"connection_id":185924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:10:36] local.INFO: Extracted packet for processing {"connection_id":185924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b305"} 
[2026-09-18 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165726720001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789709891000,"timestamp_ms":1789709891000,"timestamp_seconds":1789709891,"priority":1,"record_length":96,"hex_timestamp":"000001a0b305b5b8"} 
[2026-09-18 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:10: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-09-18 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503923833110528,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3003348864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4684007499555471616,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":179,"raw_value":226719302699120832,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1770195243292164072,"corrected_to":0} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221693553,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":96,"raw_value":11822890324328448,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182118040469760,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2625985611554675498,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620265941074915812,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84753623665812593,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,111,28,24,241,158,16,124,160,17,45,192,113,42,10,66,191,109,1,240,140,179,36,4,205,201,248,96,43,239,50,2,75,7,49,69,112],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-1770195243292164072,"validated":0}]} 
[2026-09-18 11:10:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026659927323049984,"timestamp_seconds":3026659927323050.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165726720001,"66":12776,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165726720001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:10:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165726720001,"power":12776,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":185924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:10:36] local.INFO: GPS data processed {"connection_id":185924,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:10:36] local.INFO: Acknowledgment sent {"connection_id":185924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:10:37] local.INFO: TCP Data received {"connection_id":185924,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30607c0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30607c0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:10:37] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30607c0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:10:37] local.INFO: Packet analysis {"connection_id":185924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:10:37] local.INFO: Extracted packet for processing {"connection_id":185924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165732096001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789709912000,"timestamp_ms":1789709912000,"timestamp_seconds":1789709912,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30607c0"} 
[2026-09-18 11:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:10: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-09-18 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:10: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-09-18 11:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165732096001,"66":12776,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165732096001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:10:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165732096001,"power":12776,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":185924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:10:37] local.INFO: GPS data processed {"connection_id":185924,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:10:37] local.INFO: Acknowledgment sent {"connection_id":185924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:10:49] local.INFO: TCP Data received {"connection_id":187378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3069078012d44b1800695d970001500632e..."} 
[2026-09-18 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3069078012d44b1800695d970001500632e..."} 
[2026-09-18 11:10:49] local.INFO: Processing buffer {"connection_id":187378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3069078012d44b1800695d970001500632e..."} 
[2026-09-18 11:10:49] local.INFO: Packet analysis {"connection_id":187378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:10:49] local.INFO: Extracted packet for processing {"connection_id":187378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":759476608,"raw_latitude":110483824,"longitude_deg":75.9476608,"latitude_deg":11.0483824,"altitude":21,"angle":99,"satellites":46,"speed":22,"hex_longitude":"2d44b180","hex_latitude":"0695d970","is_valid_coordinates":true} 
[2026-09-18 11:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165744896001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405289628199813120,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4946148687787724800,"note":"Value kept but may cause issues"} 
[2026-09-18 11:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789709947000,"timestamp_ms":1789709947000,"timestamp_seconds":1789709947,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3069078"} 
[2026-09-18 11:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 11:10:49] 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-09-18 11:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165744896001,"66":27887,"136":206,"86":48640,"24":22,"16":405289628199813120,"45":4946148687787724800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-09-18 11:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165744896001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:10:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 11:10:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 11:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405289628199813120,"km_value":405289628199813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4946148687787724800,"description":"Unknown IO ID 45"} 
[2026-09-18 11:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165744896001,"power":27887,"unknown_136":206,"unknown_86":48640,"ignition":22,"odometer":null,"unknown_45":4946148687787724800}} 
[2026-09-18 11:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":187378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:10:49] local.INFO: GPS data processed {"connection_id":187378,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:10:49] local.INFO: Acknowledgment sent {"connection_id":187378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:11:09] local.INFO: TCP Data received {"connection_id":185924,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30659c8012d1af8c007247160002a00db28..."} 
[2026-09-18 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30659c8012d1af8c007247160002a00db28..."} 
[2026-09-18 11:11:09] local.INFO: Processing buffer {"connection_id":185924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30659c8012d1af8c007247160002a00db28..."} 
[2026-09-18 11:11:09] local.INFO: Packet analysis {"connection_id":185924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:11:09] local.INFO: Extracted packet for processing {"connection_id":185924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165737472001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789709933000,"timestamp_ms":1789709933000,"timestamp_seconds":1789709933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30659c8"} 
[2026-09-18 11:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:11:09] 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-09-18 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165737472001,"66":12776,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165737472001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:11:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165737472001,"power":12776,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":185924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:11:09] local.INFO: GPS data processed {"connection_id":185924,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:11:09] local.INFO: Acknowledgment sent {"connection_id":185924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:11:26] local.INFO: TCP Data received {"connection_id":188694,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:11:26] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:11:26] local.INFO: IMEI packet received {"connection_id":188694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":188694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:11:30] local.INFO: TCP Data received {"connection_id":188694,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:11:30] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:11:30] local.INFO: IMEI packet received {"connection_id":188694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":188694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:11:32] local.INFO: TCP Data received {"connection_id":188694,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b306abd0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b306abd0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:11:32] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b306abd0012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:11:32] local.INFO: Packet analysis {"connection_id":188694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:11:32] local.INFO: Extracted packet for processing {"connection_id":188694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165742848001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789709954000,"timestamp_ms":1789709954000,"timestamp_seconds":1789709954,"priority":1,"record_length":96,"hex_timestamp":"000001a0b306abd0"} 
[2026-09-18 11:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:11: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-09-18 11: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":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:11: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-09-18 11: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-09-18 11:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165742848001,"66":12722,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165742848001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:11:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165742848001,"power":12722,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":188694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:11:32] local.INFO: GPS data processed {"connection_id":188694,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:11:32] local.INFO: Acknowledgment sent {"connection_id":188694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:12:03] local.INFO: TCP Data received {"connection_id":188694,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b306fdd8012d1af8c007247160002a00db29..."} 
[2026-09-18 11:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b306fdd8012d1af8c007247160002a00db29..."} 
[2026-09-18 11:12:03] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b306fdd8012d1af8c007247160002a00db29..."} 
[2026-09-18 11:12:03] local.INFO: Packet analysis {"connection_id":188694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:12:03] local.INFO: Extracted packet for processing {"connection_id":188694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b306"} 
[2026-09-18 11:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165748224001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789709975000,"timestamp_ms":1789709975000,"timestamp_seconds":1789709975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b306fdd8"} 
[2026-09-18 11:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:12: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-09-18 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 11:12: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-09-18 11: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-09-18 11:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165748224001,"66":12689,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165748224001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:12:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165748224001,"power":12689,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":188694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:12:04] local.INFO: GPS data processed {"connection_id":188694,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:12:04] local.INFO: Acknowledgment sent {"connection_id":188694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:12:22] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:22] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:22] local.INFO: IMEI packet received {"connection_id":187379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":187379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:12:25] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:12:25] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:12:25] local.INFO: IMEI packet received {"connection_id":186080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":186080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:12:27] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:27] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:27] local.INFO: IMEI packet received {"connection_id":187379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":187379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:12:28] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:28] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:28] local.INFO: IMEI packet received {"connection_id":187379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":187379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:12:30] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:12:30] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:12:30] local.INFO: IMEI packet received {"connection_id":186080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":186080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:12:32] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3074fe0012d1af8c007247160002a00db29..."} 
[2026-09-18 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3074fe0012d1af8c007247160002a00db29..."} 
[2026-09-18 11:12:32] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3074fe0012d1af8c007247160002a00db29..."} 
[2026-09-18 11:12:32] local.INFO: Packet analysis {"connection_id":186080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b307"} 
[2026-09-18 11:12:32] local.INFO: Extracted packet for processing {"connection_id":186080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b307"} 
[2026-09-18 11:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165753600001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789709996000,"timestamp_ms":1789709996000,"timestamp_seconds":1789709996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3074fe0"} 
[2026-09-18 11:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:12: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-09-18 11:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 11:12: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-09-18 11:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165753600001,"66":12711,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165753600001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:12:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165753600001,"power":12711,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":186080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:12:32] local.INFO: GPS data processed {"connection_id":186080,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:12:32] local.INFO: Acknowledgment sent {"connection_id":186080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:12:32] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:32] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:12:32] local.INFO: IMEI packet received {"connection_id":187379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":187379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:12:35] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30826b8012d4566c006962658002e00462f..."} 
[2026-09-18 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30826b8012d4566c006962658002e00462f..."} 
[2026-09-18 11:12:35] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30826b8012d4566c006962658002e00462f..."} 
[2026-09-18 11:12:35] local.INFO: Packet analysis {"connection_id":187379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:12:35] local.INFO: Extracted packet for processing {"connection_id":187379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":759523008,"raw_latitude":110503512,"longitude_deg":75.9523008,"latitude_deg":11.0503512,"altitude":46,"angle":70,"satellites":47,"speed":21,"hex_longitude":"2d4566c0","hex_latitude":"06962658","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165768192001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405292175115419648,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4991818002762917888,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789710051000,"timestamp_ms":1789710051000,"timestamp_seconds":1789710051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30826b8"} 
[2026-09-18 11:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:12:35] 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-09-18 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 11:12: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-09-18 11: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-09-18 11:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:12: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-09-18 11:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165768192001,"66":27713,"44":206,"86":48896,"24":21,"16":405292175115419648,"45":4991818002762917888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,86,24,16,45]} 
[2026-09-18 11:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165768192001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 11:12:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405292175115419648,"km_value":405292175115419.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4991818002762917888,"description":"Unknown IO ID 45"} 
[2026-09-18 11:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165768192001,"power":27713,"unknown_44":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":4991818002762917888}} 
[2026-09-18 11:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":187379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:12:35] local.INFO: GPS data processed {"connection_id":187379,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:12:35] local.INFO: Acknowledgment sent {"connection_id":187379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:12:39] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3084210012d4574c0069629b0002d00522f..."} 
[2026-09-18 11:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3084210012d4574c0069629b0002d00522f..."} 
[2026-09-18 11:12:39] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3084210012d4574c0069629b0002d00522f..."} 
[2026-09-18 11:12:39] local.INFO: Packet analysis {"connection_id":187379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:12:39] local.INFO: Extracted packet for processing {"connection_id":187379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:12:39] local.INFO: GPS Element Parsed {"raw_longitude":759526592,"raw_latitude":110504368,"longitude_deg":75.9526592,"latitude_deg":11.0504368,"altitude":45,"angle":82,"satellites":47,"speed":18,"hex_longitude":"2d4574c0","hex_latitude":"069629b0","is_valid_coordinates":true} 
[2026-09-18 11:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165773056001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405292351209078784,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5000895570762946560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789710058000,"timestamp_ms":1789710058000,"timestamp_seconds":1789710058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3084210"} 
[2026-09-18 11:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 11:12:39] 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-09-18 11:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:12: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-09-18 11:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165773056001,"66":27930,"44":206,"86":48896,"24":18,"16":405292351209078784,"45":5000895570762946560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,86,24,16,45]} 
[2026-09-18 11:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165773056001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 11:12:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405292351209078784,"km_value":405292351209078.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5000895570762946560,"description":"Unknown IO ID 45"} 
[2026-09-18 11:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165773056001,"power":27930,"unknown_44":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5000895570762946560}} 
[2026-09-18 11:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":187379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:12:39] local.INFO: GPS data processed {"connection_id":187379,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:12:39] local.INFO: Acknowledgment sent {"connection_id":187379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:13:03] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b307a1e8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b307a1e8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:13:03] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b307a1e8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:13:03] local.INFO: Packet analysis {"connection_id":186080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b307"} 
[2026-09-18 11:13:03] local.INFO: Extracted packet for processing {"connection_id":186080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b307"} 
[2026-09-18 11:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165758976001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710017000,"timestamp_ms":1789710017000,"timestamp_seconds":1789710017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b307a1e8"} 
[2026-09-18 11:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:13: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-09-18 11:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 11:13: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-09-18 11:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165758976001,"66":12711,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165758976001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:13:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165758976001,"power":12711,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":186080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:13:04] local.INFO: GPS data processed {"connection_id":186080,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:13:04] local.INFO: Acknowledgment sent {"connection_id":186080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:13:12] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:13:12] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:13:12] local.INFO: IMEI packet received {"connection_id":187380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":187380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:13:17] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:13:17] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:13:17] local.INFO: IMEI packet received {"connection_id":187380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":187380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:13:18] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3084dc8012d457ac0069629e8002d005e2f..."} 
[2026-09-18 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3084dc8012d457ac0069629e8002d005e2f..."} 
[2026-09-18 11:13:18] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3084dc8012d457ac0069629e8002d005e2f..."} 
[2026-09-18 11:13:18] local.INFO: Packet analysis {"connection_id":187380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:13:18] local.INFO: Extracted packet for processing {"connection_id":187380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":759528128,"raw_latitude":110504424,"longitude_deg":75.9528128,"latitude_deg":11.0504424,"altitude":45,"angle":94,"satellites":47,"speed":19,"hex_longitude":"2d457ac0","hex_latitude":"069629e8","is_valid_coordinates":true} 
[2026-09-18 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165774848001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405292424223522816,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5004836220437114880,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789710061000,"timestamp_ms":1789710061000,"timestamp_seconds":1789710061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3084dc8"} 
[2026-09-18 11:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:13:18] 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-09-18 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 11:13:18] 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-09-18 11:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165774848001,"66":27919,"44":206,"86":48896,"24":19,"16":405292424223522816,"45":5004836220437114880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,86,24,16,45]} 
[2026-09-18 11:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165774848001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 11:13:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405292424223522816,"km_value":405292424223522.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5004836220437114880,"description":"Unknown IO ID 45"} 
[2026-09-18 11:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165774848001,"power":27919,"unknown_44":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5004836220437114880}} 
[2026-09-18 11:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":187380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:13:19] local.INFO: GPS data processed {"connection_id":187380,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:13:19] local.INFO: Acknowledgment sent {"connection_id":187380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:13:25] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:13:25] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:13:25] local.INFO: IMEI packet received {"connection_id":186081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":186081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:13:30] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:13:30] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:13:30] local.INFO: IMEI packet received {"connection_id":186081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":186081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:13:32] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b307f3f0012d1af8c007247160002a00db29..."} 
[2026-09-18 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b307f3f0012d1af8c007247160002a00db29..."} 
[2026-09-18 11:13:32] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b307f3f0012d1af8c007247160002a00db29..."} 
[2026-09-18 11:13:32] local.INFO: Packet analysis {"connection_id":186081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b307"} 
[2026-09-18 11:13:32] local.INFO: Extracted packet for processing {"connection_id":186081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b307"} 
[2026-09-18 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165764352001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710038000,"timestamp_ms":1789710038000,"timestamp_seconds":1789710038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b307f3f0"} 
[2026-09-18 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-09-18 11:13: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-09-18 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 11:13: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-09-18 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-09-18 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-09-18 11:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165764352001,"66":12667,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165764352001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:13:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165764352001,"power":12667,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":186081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:13:32] local.INFO: GPS data processed {"connection_id":186081,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:13:32] local.INFO: Acknowledgment sent {"connection_id":186081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:13:50] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3085d68012d4582c0069628a0002e006b2f..."} 
[2026-09-18 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3085d68012d4582c0069628a0002e006b2f..."} 
[2026-09-18 11:13:50] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3085d68012d4582c0069628a0002e006b2f..."} 
[2026-09-18 11:13:50] local.INFO: Packet analysis {"connection_id":187380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:13:50] local.INFO: Extracted packet for processing {"connection_id":187380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":759530176,"raw_latitude":110504096,"longitude_deg":75.9530176,"latitude_deg":11.0504096,"altitude":46,"angle":107,"satellites":47,"speed":21,"hex_longitude":"2d4582c0","hex_latitude":"069628a0","is_valid_coordinates":true} 
[2026-09-18 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165775616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405292523007770624,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5006525070297393152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789710065000,"timestamp_ms":1789710065000,"timestamp_seconds":1789710065,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3085d68"} 
[2026-09-18 11:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:13:50] 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-09-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 11:13:50] 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-09-18 11:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165775616001,"66":27767,"44":206,"86":48896,"24":21,"16":405292523007770624,"45":5006525070297393152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,86,24,16,45]} 
[2026-09-18 11:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165775616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 11:13:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405292523007770624,"km_value":405292523007770.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5006525070297393152,"description":"Unknown IO ID 45"} 
[2026-09-18 11:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165775616001,"power":27767,"unknown_44":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5006525070297393152}} 
[2026-09-18 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":187380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:13:50] local.INFO: GPS data processed {"connection_id":187380,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:13:50] local.INFO: Acknowledgment sent {"connection_id":187380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:14:03] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30845f8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30845f8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:14:03] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30845f8012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:14:03] local.INFO: Packet analysis {"connection_id":186081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:14:03] local.INFO: Extracted packet for processing {"connection_id":186081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165769728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710059000,"timestamp_ms":1789710059000,"timestamp_seconds":1789710059,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30845f8"} 
[2026-09-18 11:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:14: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-09-18 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 11:14: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-09-18 11: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-09-18 11:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165769728001,"66":12645,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165769728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:14:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165769728001,"power":12645,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":186081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:14:04] local.INFO: GPS data processed {"connection_id":186081,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:14:04] local.INFO: Acknowledgment sent {"connection_id":186081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:14:12] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:14:12] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:14:12] local.INFO: IMEI packet received {"connection_id":187382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":187382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:14:17] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:14:17] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:14:17] local.INFO: IMEI packet received {"connection_id":187382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":187382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:14:19] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3089be8012d45a3c0069619b00030006c30..."} 
[2026-09-18 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3089be8012d45a3c0069619b00030006c30..."} 
[2026-09-18 11:14:19] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3089be8012d45a3c0069619b00030006c30..."} 
[2026-09-18 11:14:19] local.INFO: Packet analysis {"connection_id":187382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:14:19] local.INFO: Extracted packet for processing {"connection_id":187382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:14:19] local.INFO: GPS Element Parsed {"raw_longitude":759538624,"raw_latitude":110500272,"longitude_deg":75.9538624,"latitude_deg":11.0500272,"altitude":48,"angle":108,"satellites":48,"speed":27,"hex_longitude":"2d45a3c0","hex_latitude":"069619b0","is_valid_coordinates":true} 
[2026-09-18 11:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165776640001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405292969684369408,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5008776870110994432,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710081000,"timestamp_ms":1789710081000,"timestamp_seconds":1789710081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3089be8"} 
[2026-09-18 11:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:14:19] 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-09-18 11:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 11:14:19] 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-09-18 11:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165776640001,"66":27821,"33":206,"86":48896,"24":27,"16":405292969684369408,"45":5008776870110994432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,86,24,16,45]} 
[2026-09-18 11:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165776640001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:14:19] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-18 11:14:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405292969684369408,"km_value":405292969684369.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5008776870110994432,"description":"Unknown IO ID 45"} 
[2026-09-18 11:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165776640001,"power":27821,"unknown_33":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5008776870110994432}} 
[2026-09-18 11:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":187382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:14:19] local.INFO: GPS data processed {"connection_id":187382,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:14:19] local.INFO: Acknowledgment sent {"connection_id":187382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:14:25] local.INFO: TCP Data received {"connection_id":186082,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:25] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:25] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:14:26] local.INFO: TCP Data received {"connection_id":186082,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:26] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:26] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:14:30] local.INFO: TCP Data received {"connection_id":186082,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:30] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:14:30] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:14:32] local.INFO: TCP Data received {"connection_id":186082,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3089800012d1af8c007247160002a00db28..."} 
[2026-09-18 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3089800012d1af8c007247160002a00db28..."} 
[2026-09-18 11:14:32] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3089800012d1af8c007247160002a00db28..."} 
[2026-09-18 11:14:32] local.INFO: Packet analysis {"connection_id":186082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:14:32] local.INFO: Extracted packet for processing {"connection_id":186082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165775104001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710080000,"timestamp_ms":1789710080000,"timestamp_seconds":1789710080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3089800"} 
[2026-09-18 11:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:14: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-09-18 11:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 11:14: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-09-18 11: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-09-18 11:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165775104001,"66":12678,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165775104001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:14:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165775104001,"power":12678,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":186082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:14:32] local.INFO: GPS data processed {"connection_id":186082,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:14:32] local.INFO: Acknowledgment sent {"connection_id":186082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:14:51] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30b0518012d4722400695f900003c004e2f..."} 
[2026-09-18 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30b0518012d4722400695f900003c004e2f..."} 
[2026-09-18 11:14:51] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30b0518012d4722400695f900003c004e2f..."} 
[2026-09-18 11:14:51] local.INFO: Packet analysis {"connection_id":187382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:14:51] local.INFO: Extracted packet for processing {"connection_id":187382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":759636544,"raw_latitude":110491904,"longitude_deg":75.9636544,"latitude_deg":11.0491904,"altitude":60,"angle":78,"satellites":47,"speed":20,"hex_longitude":"2d472240","hex_latitude":"0695f900","is_valid_coordinates":true} 
[2026-09-18 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165817088001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405297775752773632,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5115878098745776128,"note":"Value kept but may cause issues"} 
[2026-09-18 11:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710239000,"timestamp_ms":1789710239000,"timestamp_seconds":1789710239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30b0518"} 
[2026-09-18 11:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 11:14:51] 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-09-18 11:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165817088001,"66":27832,"5":206,"86":48896,"24":20,"16":405297775752773632,"45":5115878098745776128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,86,24,16,45]} 
[2026-09-18 11:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165817088001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:14:51] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-18 11:14:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405297775752773632,"km_value":405297775752773.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5115878098745776128,"description":"Unknown IO ID 45"} 
[2026-09-18 11:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165817088001,"power":27832,"unknown_5":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5115878098745776128}} 
[2026-09-18 11:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":187382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:14:51] local.INFO: GPS data processed {"connection_id":187382,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:14:51] local.INFO: Acknowledgment sent {"connection_id":187382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:15:03] local.INFO: TCP Data received {"connection_id":186082,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b308ea08012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b308ea08012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:15:03] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b308ea08012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:15:03] local.INFO: Packet analysis {"connection_id":186082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:15:03] local.INFO: Extracted packet for processing {"connection_id":186082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b308"} 
[2026-09-18 11:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165780480001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710101000,"timestamp_ms":1789710101000,"timestamp_seconds":1789710101,"priority":1,"record_length":96,"hex_timestamp":"000001a0b308ea08"} 
[2026-09-18 11:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:15: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-09-18 11:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 11:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165780480001,"66":12678,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165780480001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:15:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165780480001,"power":12678,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":186082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:15:04] local.INFO: GPS data processed {"connection_id":186082,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:15:04] local.INFO: Acknowledgment sent {"connection_id":186082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:15:25] local.INFO: TCP Data received {"connection_id":186084,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:25] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:25] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:15:27] local.INFO: TCP Data received {"connection_id":186083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:15:27] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:15:27] local.INFO: IMEI packet received {"connection_id":186083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":186083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:15:28] local.INFO: TCP Data received {"connection_id":186084,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:28] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:28] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:15:30] local.INFO: TCP Data received {"connection_id":186084,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:30] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:15:30] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:15:31] local.INFO: TCP Data received {"connection_id":186084,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3093c10012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3093c10012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:15:31] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3093c10012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:15:31] local.INFO: Packet analysis {"connection_id":186084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b309"} 
[2026-09-18 11:15:31] local.INFO: Extracted packet for processing {"connection_id":186084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b309"} 
[2026-09-18 11:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165785856001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789710122000,"timestamp_ms":1789710122000,"timestamp_seconds":1789710122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3093c10"} 
[2026-09-18 11:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:15: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-09-18 11: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":134,"data_length":795,"current_offset":136} 
[2026-09-18 11:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165785856001,"66":12667,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165785856001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:15:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165785856001,"power":12667,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":186084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:15:31] local.INFO: GPS data processed {"connection_id":186084,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:15:31] local.INFO: Acknowledgment sent {"connection_id":186084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:15:32] local.INFO: TCP Data received {"connection_id":186083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:15:32] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:15:32] local.INFO: IMEI packet received {"connection_id":186083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":186083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:15:34] local.INFO: TCP Data received {"connection_id":186083,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30b14b8012d472a400695fbf0003d00422f..."} 
[2026-09-18 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30b14b8012d472a400695fbf0003d00422f..."} 
[2026-09-18 11:15:34] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30b14b8012d472a400695fbf0003d00422f..."} 
[2026-09-18 11:15:34] local.INFO: Packet analysis {"connection_id":186083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:15:34] local.INFO: Extracted packet for processing {"connection_id":186083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":759638592,"raw_latitude":110492656,"longitude_deg":75.9638592,"latitude_deg":11.0492656,"altitude":61,"angle":66,"satellites":47,"speed":23,"hex_longitude":"2d472a40","hex_latitude":"0695fbf0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165821184001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405297878831988736,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5125729722931150848,"note":"Value kept but may cause issues"} 
[2026-09-18 11:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789710243000,"timestamp_ms":1789710243000,"timestamp_seconds":1789710243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30b14b8"} 
[2026-09-18 11:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 11:15: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-09-18 11: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-09-18 11:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:15: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-09-18 11:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165821184001,"66":27843,"5":206,"86":48896,"24":23,"16":405297878831988736,"45":5125729722931150848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,86,24,16,45]} 
[2026-09-18 11:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165821184001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405297878831988736,"km_value":405297878831988.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5125729722931150848,"description":"Unknown IO ID 45"} 
[2026-09-18 11:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165821184001,"power":27843,"unknown_5":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5125729722931150848}} 
[2026-09-18 11:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":186083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:15:34] local.INFO: GPS data processed {"connection_id":186083,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:15:34] local.INFO: Acknowledgment sent {"connection_id":186083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:16:03] local.INFO: TCP Data received {"connection_id":186084,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3098e18012d1af8c007247160002a00db29..."} 
[2026-09-18 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3098e18012d1af8c007247160002a00db29..."} 
[2026-09-18 11:16:03] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3098e18012d1af8c007247160002a00db29..."} 
[2026-09-18 11:16:03] local.INFO: Packet analysis {"connection_id":186084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b309"} 
[2026-09-18 11:16:03] local.INFO: Extracted packet for processing {"connection_id":186084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b309"} 
[2026-09-18 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165791232001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710143000,"timestamp_ms":1789710143000,"timestamp_seconds":1789710143,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3098e18"} 
[2026-09-18 11:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:16: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-09-18 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 11:16: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-09-18 11:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165791232001,"66":12645,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165791232001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:16:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165791232001,"power":12645,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":186084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:16:03] local.INFO: GPS data processed {"connection_id":186084,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:16:03] local.INFO: Acknowledgment sent {"connection_id":186084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:16:11] local.INFO: TCP Data received {"connection_id":188695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:16:11] local.INFO: Processing buffer {"connection_id":188695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:16:11] local.INFO: IMEI packet received {"connection_id":188695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":188695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:16:11] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:11] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:11] local.INFO: IMEI packet received {"connection_id":188696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":188696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:16:12] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:12] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:12] local.INFO: IMEI packet received {"connection_id":188696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":188696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:16:17] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:17] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:16:17] local.INFO: IMEI packet received {"connection_id":188696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":188696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:16:19] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30b37e0012d474000069602680040004d2f..."} 
[2026-09-18 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30b37e0012d474000069602680040004d2f..."} 
[2026-09-18 11:16:19] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30b37e0012d474000069602680040004d2f..."} 
[2026-09-18 11:16:19] local.INFO: Packet analysis {"connection_id":188696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:16:19] local.INFO: Extracted packet for processing {"connection_id":188696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:16:19] local.INFO: GPS Element Parsed {"raw_longitude":759644160,"raw_latitude":110494312,"longitude_deg":75.964416,"latitude_deg":11.0494312,"altitude":64,"angle":77,"satellites":47,"speed":26,"hex_longitude":"2d474000","hex_latitude":"06960268","is_valid_coordinates":true} 
[2026-09-18 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165822208001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405298158004862976,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127981522745028608,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710252000,"timestamp_ms":1789710252000,"timestamp_seconds":1789710252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30b37e0"} 
[2026-09-18 11:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:16:19] 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-09-18 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 11:16:19] 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-09-18 11:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165822208001,"66":27952,"5":206,"86":48896,"24":26,"16":405298158004862976,"45":5127981522745028608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,86,24,16,45]} 
[2026-09-18 11:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165822208001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:16:19] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-18 11:16:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405298158004862976,"km_value":405298158004863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127981522745028608,"description":"Unknown IO ID 45"} 
[2026-09-18 11:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165822208001,"power":27952,"unknown_5":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5127981522745028608}} 
[2026-09-18 11:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:16:19] local.INFO: GPS data processed {"connection_id":188696,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:16:19] local.INFO: Acknowledgment sent {"connection_id":188696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:16:31] local.INFO: TCP Data received {"connection_id":185925,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:16:31] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:16:31] local.INFO: IMEI packet received {"connection_id":185925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":185925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:16:32] local.INFO: TCP Data received {"connection_id":185925,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:16:32] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:16:32] local.INFO: IMEI packet received {"connection_id":185925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":185925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:16:33] local.INFO: TCP Data received {"connection_id":185925,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b309e020012d1af8c007247160002a00db27..."} 
[2026-09-18 11:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b309e020012d1af8c007247160002a00db27..."} 
[2026-09-18 11:16:33] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b309e020012d1af8c007247160002a00db27..."} 
[2026-09-18 11:16:33] local.INFO: Packet analysis {"connection_id":185925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b309"} 
[2026-09-18 11:16:33] local.INFO: Extracted packet for processing {"connection_id":185925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b309"} 
[2026-09-18 11:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165796608001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789710164000,"timestamp_ms":1789710164000,"timestamp_seconds":1789710164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b309e020"} 
[2026-09-18 11:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:16:33] 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-09-18 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 11:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165796608001,"66":12645,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165796608001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:16:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:16:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165796608001,"power":12645,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":185925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:16:33] local.INFO: GPS data processed {"connection_id":185925,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:16:33] local.INFO: Acknowledgment sent {"connection_id":185925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:16:35] local.INFO: TCP Data received {"connection_id":185925,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30a3228012d1af8c007247160002a00db28..."} 
[2026-09-18 11:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30a3228012d1af8c007247160002a00db28..."} 
[2026-09-18 11:16:35] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30a3228012d1af8c007247160002a00db28..."} 
[2026-09-18 11:16:35] local.INFO: Packet analysis {"connection_id":185925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30a"} 
[2026-09-18 11:16:35] local.INFO: Extracted packet for processing {"connection_id":185925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30a"} 
[2026-09-18 11:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165801984001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789710185000,"timestamp_ms":1789710185000,"timestamp_seconds":1789710185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30a3228"} 
[2026-09-18 11:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:16:35] 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-09-18 11: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":101,"data_length":795,"current_offset":136} 
[2026-09-18 11:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165801984001,"66":12645,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165801984001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:16:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165801984001,"power":12645,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":185925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:16:36] local.INFO: GPS data processed {"connection_id":185925,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:16:36] local.INFO: Acknowledgment sent {"connection_id":185925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:16:51] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30b6e90012d476400069609a0003d00502e..."} 
[2026-09-18 11:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30b6e90012d476400069609a0003d00502e..."} 
[2026-09-18 11:16:51] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30b6e90012d476400069609a0003d00502e..."} 
[2026-09-18 11:16:51] local.INFO: Packet analysis {"connection_id":188696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:16:51] local.INFO: Extracted packet for processing {"connection_id":188696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:16:51] local.INFO: GPS Element Parsed {"raw_longitude":759653376,"raw_latitude":110496160,"longitude_deg":75.9653376,"latitude_deg":11.049616,"altitude":61,"angle":80,"satellites":46,"speed":25,"hex_longitude":"2d476400","hex_latitude":"069609a0","is_valid_coordinates":true} 
[2026-09-18 11:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165824512001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405298604681461760,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5134103603488909312,"note":"Value kept but may cause issues"} 
[2026-09-18 11:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710266000,"timestamp_ms":1789710266000,"timestamp_seconds":1789710266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30b6e90"} 
[2026-09-18 11:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-18 11:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165824512001,"66":27930,"166":206,"86":48896,"24":25,"16":405298604681461760,"45":5134103603488909312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,86,24,16,45]} 
[2026-09-18 11:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165824512001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:16:51] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-18 11:16:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405298604681461760,"km_value":405298604681461.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5134103603488909312,"description":"Unknown IO ID 45"} 
[2026-09-18 11:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165824512001,"power":27930,"unknown_166":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5134103603488909312}} 
[2026-09-18 11:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":188696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:16:51] local.INFO: GPS data processed {"connection_id":188696,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:16:51] local.INFO: Acknowledgment sent {"connection_id":188696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:17:07] local.INFO: TCP Data received {"connection_id":185925,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30a8430012d1af8c007247160002a00db29..."} 
[2026-09-18 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30a8430012d1af8c007247160002a00db29..."} 
[2026-09-18 11:17:07] local.INFO: Processing buffer {"connection_id":185925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30a8430012d1af8c007247160002a00db29..."} 
[2026-09-18 11:17:07] local.INFO: Packet analysis {"connection_id":185925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30a"} 
[2026-09-18 11:17:07] local.INFO: Extracted packet for processing {"connection_id":185925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30a"} 
[2026-09-18 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165807360001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789710206000,"timestamp_ms":1789710206000,"timestamp_seconds":1789710206,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30a8430"} 
[2026-09-18 11:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 11:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165807360001,"66":12580,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165807360001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:17:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165807360001,"power":12580,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":185925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:17:07] local.INFO: GPS data processed {"connection_id":185925,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:17:07] local.INFO: Acknowledgment sent {"connection_id":185925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:17:12] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:12] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:12] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:17:13] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:13] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:13] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:17:17] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:17] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:17:17] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:17:19] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30ba540012d478700069610e8003b00532e..."} 
[2026-09-18 11:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30ba540012d478700069610e8003b00532e..."} 
[2026-09-18 11:17:19] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30ba540012d478700069610e8003b00532e..."} 
[2026-09-18 11:17:19] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:17:19] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:17:19] local.INFO: GPS Element Parsed {"raw_longitude":759662336,"raw_latitude":110498024,"longitude_deg":75.9662336,"latitude_deg":11.0498024,"altitude":59,"angle":83,"satellites":46,"speed":23,"hex_longitude":"2d478700","hex_latitude":"069610e8","is_valid_coordinates":true} 
[2026-09-18 11:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165828096001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405299038473158656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5144236702650966016,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710280000,"timestamp_ms":1789710280000,"timestamp_seconds":1789710280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30ba540"} 
[2026-09-18 11:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:17:19] 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-09-18 11:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 11:17:19] 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-09-18 11:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165828096001,"66":27843,"166":206,"86":48896,"24":23,"16":405299038473158656,"45":5144236702650966016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,86,24,16,45]} 
[2026-09-18 11:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165828096001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:17:19] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-18 11:17:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405299038473158656,"km_value":405299038473158.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5144236702650966016,"description":"Unknown IO ID 45"} 
[2026-09-18 11:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165828096001,"power":27843,"unknown_166":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5144236702650966016}} 
[2026-09-18 11:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:17:19] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:17:19] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:17:25] local.INFO: TCP Data received {"connection_id":188697,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:17:25] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:17:25] local.INFO: IMEI packet received {"connection_id":188697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":188697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:17:30] local.INFO: TCP Data received {"connection_id":188697,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:17:30] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:17:30] local.INFO: IMEI packet received {"connection_id":188697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":188697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:17:32] local.INFO: TCP Data received {"connection_id":188697,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30ad638012d1af8c007247160002a00db27..."} 
[2026-09-18 11:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30ad638012d1af8c007247160002a00db27..."} 
[2026-09-18 11:17:32] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30ad638012d1af8c007247160002a00db27..."} 
[2026-09-18 11:17:32] local.INFO: Packet analysis {"connection_id":188697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30a"} 
[2026-09-18 11:17:32] local.INFO: Extracted packet for processing {"connection_id":188697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30a"} 
[2026-09-18 11:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165812736001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710227000,"timestamp_ms":1789710227000,"timestamp_seconds":1789710227,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30ad638"} 
[2026-09-18 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-09-18 11:17: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-09-18 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 11:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 11:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165812736001,"66":12591,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165812736001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:17:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165812736001,"power":12591,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":188697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:17:32] local.INFO: GPS data processed {"connection_id":188697,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:17:32] local.INFO: Acknowledgment sent {"connection_id":188697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:17:35] local.INFO: TCP Data received {"connection_id":188697,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30b2840012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30b2840012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:17:35] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30b2840012d1af8c007247160002a00db2a..."} 
[2026-09-18 11:17:35] local.INFO: Packet analysis {"connection_id":188697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:17:35] local.INFO: Extracted packet for processing {"connection_id":188697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165818112001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789710248000,"timestamp_ms":1789710248000,"timestamp_seconds":1789710248,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30b2840"} 
[2026-09-18 11:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 11:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165818112001,"66":12591,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165818112001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:17:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165818112001,"power":12591,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":188697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:17:35] local.INFO: GPS data processed {"connection_id":188697,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:17:35] local.INFO: Acknowledgment sent {"connection_id":188697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:17:50] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30bd808012d47ab40069613e80038005a2d..."} 
[2026-09-18 11:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30bd808012d47ab40069613e80038005a2d..."} 
[2026-09-18 11:17:50] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30bd808012d47ab40069613e80038005a2d..."} 
[2026-09-18 11:17:50] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:17:50] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:17:50] local.INFO: GPS Element Parsed {"raw_longitude":759671616,"raw_latitude":110498792,"longitude_deg":75.9671616,"latitude_deg":11.0498792,"altitude":56,"angle":90,"satellites":45,"speed":33,"hex_longitude":"2d47ab40","hex_latitude":"069613e8","is_valid_coordinates":true} 
[2026-09-18 11:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165831680001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405299485149757440,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5154088326836316160,"note":"Value kept but may cause issues"} 
[2026-09-18 11:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789710293000,"timestamp_ms":1789710293000,"timestamp_seconds":1789710293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30bd808"} 
[2026-09-18 11:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:17:50] 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-09-18 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 11:17:50] 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-09-18 11:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165831680001,"66":27919,"215":206,"86":48896,"24":33,"16":405299485149757440,"45":5154088326836316160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165831680001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:17:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:17:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405299485149757440,"km_value":405299485149757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5154088326836316160,"description":"Unknown IO ID 45"} 
[2026-09-18 11:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165831680001,"power":27919,"unknown_215":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5154088326836316160}} 
[2026-09-18 11:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:17:50] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:17:50] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:18:07] local.INFO: TCP Data received {"connection_id":188697,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30b7a48012d1af8c007247160002a00db27..."} 
[2026-09-18 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30b7a48012d1af8c007247160002a00db27..."} 
[2026-09-18 11:18:07] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30b7a48012d1af8c007247160002a00db27..."} 
[2026-09-18 11:18:07] local.INFO: Packet analysis {"connection_id":188697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:18:07] local.INFO: Extracted packet for processing {"connection_id":188697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165823488001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789710269000,"timestamp_ms":1789710269000,"timestamp_seconds":1789710269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30b7a48"} 
[2026-09-18 11:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 11:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165823488001,"66":12580,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165823488001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:18:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165823488001,"power":12580,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":188697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:18:07] local.INFO: GPS data processed {"connection_id":188697,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:18:07] local.INFO: Acknowledgment sent {"connection_id":188697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:18:16] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:18:16] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:18:16] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:18:17] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 11:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 11:18:17] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 11:18:17] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:18:22] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:18:22] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 11:18:22] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:18:24] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30bf360012d47c240069615d80036004d2c..."} 
[2026-09-18 11:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30bf360012d47c240069615d80036004d2c..."} 
[2026-09-18 11:18:24] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b3..."} 
[2026-09-18 11:18:24] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:18:25] local.INFO: TCP Data received {"connection_id":186087,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:18:25] local.INFO: Processing buffer {"connection_id":186087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:18:25] local.INFO: IMEI packet received {"connection_id":186087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":186087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:18:28] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30c2240012d47e78006961ed80034005029..."} 
[2026-09-18 11:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30c2240012d47e78006961ed80034005029..."} 
[2026-09-18 11:18:28] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b30bf360012d47c240069615d80036004d2c..."} 
[2026-09-18 11:18:28] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:18:28] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:18:28] local.INFO: GPS Element Parsed {"raw_longitude":759677504,"raw_latitude":110499288,"longitude_deg":75.9677504,"latitude_deg":11.0499288,"altitude":54,"angle":77,"satellites":44,"speed":30,"hex_longitude":"2d47c240","hex_latitude":"069615d8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165835008001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405299764322631680,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5164291794742274048,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789710300000,"timestamp_ms":1789710300000,"timestamp_seconds":1789710300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30bf360"} 
[2026-09-18 11:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 11:18:28] 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-09-18 11: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-09-18 11:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165835008001,"66":27919,"215":206,"86":48896,"24":30,"16":405299764322631680,"45":5164291794742274048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165835008001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405299764322631680,"km_value":405299764322631.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5164291794742274048,"description":"Unknown IO ID 45"} 
[2026-09-18 11:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165835008001,"power":27919,"unknown_215":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5164291794742274048}} 
[2026-09-18 11:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:18:28] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:18:28] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:18:28] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:18:28] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:18:28] local.INFO: GPS Element Parsed {"raw_longitude":759687040,"raw_latitude":110501592,"longitude_deg":75.968704,"latitude_deg":11.0501592,"altitude":52,"angle":80,"satellites":41,"speed":35,"hex_longitude":"2d47e780","hex_latitude":"06961ed8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165836800001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405300232474066944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5170765719206746112,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789710312000,"timestamp_ms":1789710312000,"timestamp_seconds":1789710312,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30c2240"} 
[2026-09-18 11:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 11:18:28] 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-09-18 11: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-09-18 11:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165836800001,"66":27821,"215":206,"86":48896,"24":35,"16":405300232474066944,"45":5170765719206746112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165836800001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405300232474066944,"km_value":405300232474066.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5170765719206746112,"description":"Unknown IO ID 45"} 
[2026-09-18 11:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165836800001,"power":27821,"unknown_215":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5170765719206746112}} 
[2026-09-18 11:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:18:28] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:18:28] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:18:30] local.INFO: TCP Data received {"connection_id":186087,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:18:30] local.INFO: Processing buffer {"connection_id":186087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:18:30] local.INFO: IMEI packet received {"connection_id":186087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":186087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:18:32] local.INFO: TCP Data received {"connection_id":186087,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30bcc50012d1af8c007247160002a00db28..."} 
[2026-09-18 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30bcc50012d1af8c007247160002a00db28..."} 
[2026-09-18 11:18:32] local.INFO: Processing buffer {"connection_id":186087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30bcc50012d1af8c007247160002a00db28..."} 
[2026-09-18 11:18:32] local.INFO: Packet analysis {"connection_id":186087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:18:32] local.INFO: Extracted packet for processing {"connection_id":186087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30b"} 
[2026-09-18 11:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165828864001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710290000,"timestamp_ms":1789710290000,"timestamp_seconds":1789710290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30bcc50"} 
[2026-09-18 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-09-18 11:18: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-09-18 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 11:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 11:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165828864001,"66":12428,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165828864001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:18:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165828864001,"power":12428,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":186087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:18:32] local.INFO: GPS data processed {"connection_id":186087,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:18:32] local.INFO: Acknowledgment sent {"connection_id":186087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:18:33] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30c4950012d480c8006962440003400532d..."} 
[2026-09-18 11:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30c4950012d480c8006962440003400532d..."} 
[2026-09-18 11:18:33] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30c4950012d480c8006962440003400532d..."} 
[2026-09-18 11:18:33] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:18:33] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":759696512,"raw_latitude":110502976,"longitude_deg":75.9696512,"latitude_deg":11.0502976,"altitude":52,"angle":83,"satellites":45,"speed":38,"hex_longitude":"2d480c80","hex_latitude":"06962440","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165839872001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405300687740600320,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5181250662089807872,"note":"Value kept but may cause issues"} 
[2026-09-18 11:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789710322000,"timestamp_ms":1789710322000,"timestamp_seconds":1789710322,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30c4950"} 
[2026-09-18 11:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 11:18: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-09-18 11: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-09-18 11:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:18: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-09-18 11:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165839872001,"66":27821,"215":206,"86":48896,"24":38,"16":405300687740600320,"45":5181250662089807872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165839872001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:18:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:18:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405300687740600320,"km_value":405300687740600.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5181250662089807872,"description":"Unknown IO ID 45"} 
[2026-09-18 11:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165839872001,"power":27821,"unknown_215":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5181250662089807872}} 
[2026-09-18 11:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:18:33] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:18:33] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:19:03] local.INFO: TCP Data received {"connection_id":186087,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30c1e58012d1af8c007247160002a00db28..."} 
[2026-09-18 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30c1e58012d1af8c007247160002a00db28..."} 
[2026-09-18 11:19:03] local.INFO: Processing buffer {"connection_id":186087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30c1e58012d1af8c007247160002a00db28..."} 
[2026-09-18 11:19:03] local.INFO: Packet analysis {"connection_id":186087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:03] local.INFO: Extracted packet for processing {"connection_id":186087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165834240001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710311000,"timestamp_ms":1789710311000,"timestamp_seconds":1789710311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30c1e58"} 
[2026-09-18 11:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:19: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-09-18 11: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 11:19: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-09-18 11: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-09-18 11:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165834240001,"66":12591,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165834240001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165834240001,"power":12591,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":186087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:19:03] local.INFO: GPS data processed {"connection_id":186087,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:19:03] local.INFO: Acknowledgment sent {"connection_id":186087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:19:13] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:19:13] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:19:13] local.INFO: IMEI packet received {"connection_id":186088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":186088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:19:17] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:19:17] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:19:17] local.INFO: IMEI packet received {"connection_id":186088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":186088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:19:19] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30c7448012d48300006962618003900542e..."} 
[2026-09-18 11:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30c7448012d48300006962618003900542e..."} 
[2026-09-18 11:19:19] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30c7448012d48300006962618003900542e..."} 
[2026-09-18 11:19:19] local.INFO: Packet analysis {"connection_id":186088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:19] local.INFO: Extracted packet for processing {"connection_id":186088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:19] local.INFO: GPS Element Parsed {"raw_longitude":759705600,"raw_latitude":110503448,"longitude_deg":75.97056,"latitude_deg":11.0503448,"altitude":57,"angle":84,"satellites":46,"speed":26,"hex_longitude":"2d483000","hex_latitude":"06962618","is_valid_coordinates":true} 
[2026-09-18 11:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165842432001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405301121532297216,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5191665236228456448,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710333000,"timestamp_ms":1789710333000,"timestamp_seconds":1789710333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30c7448"} 
[2026-09-18 11:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:19:19] 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-09-18 11:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 11:19:19] 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-09-18 11:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165842432001,"66":27680,"215":206,"86":48896,"24":26,"16":405301121532297216,"45":5191665236228456448},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165842432001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:19:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:19:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405301121532297216,"km_value":405301121532297.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5191665236228456448,"description":"Unknown IO ID 45"} 
[2026-09-18 11:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165842432001,"power":27680,"unknown_215":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5191665236228456448}} 
[2026-09-18 11:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":186088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:19:19] local.INFO: GPS data processed {"connection_id":186088,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:19:19] local.INFO: Acknowledgment sent {"connection_id":186088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:19:26] local.INFO: TCP Data received {"connection_id":187383,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:19:26] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:19:26] local.INFO: IMEI packet received {"connection_id":187383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":187383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:19:29] local.INFO: TCP Data received {"connection_id":187383,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:19:29] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:19:29] local.INFO: IMEI packet received {"connection_id":187383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":187383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:19:31] local.INFO: TCP Data received {"connection_id":187383,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30c7060012d1af8c007247160002a00db27..."} 
[2026-09-18 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30c7060012d1af8c007247160002a00db27..."} 
[2026-09-18 11:19:31] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30c7060012d1af8c007247160002a00db27..."} 
[2026-09-18 11:19:31] local.INFO: Packet analysis {"connection_id":187383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:31] local.INFO: Extracted packet for processing {"connection_id":187383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119828832,"longitude_deg":75.6742336,"latitude_deg":11.9828832,"altitude":42,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d1af8c0","hex_latitude":"07247160","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165839616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247147378737152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376119083008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789710332000,"timestamp_ms":1789710332000,"timestamp_seconds":1789710332,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30c7060"} 
[2026-09-18 11:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 11:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165839616001,"66":12558,"111":206,"28":31744,"24":0,"16":21247147378737152,"45":1943514376119083008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-18 11:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165839616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:19:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 11:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247147378737152,"km_value":21247147378737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376119083008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165839616001,"power":12558,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1943514376119083008}} 
[2026-09-18 11:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":187383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:19:31] local.INFO: GPS data processed {"connection_id":187383,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:19:31] local.INFO: Acknowledgment sent {"connection_id":187383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:19:51] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30caaf8012d48544006962a68003c004f2d..."} 
[2026-09-18 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30caaf8012d48544006962a68003c004f2d..."} 
[2026-09-18 11:19:51] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30caaf8012d48544006962a68003c004f2d..."} 
[2026-09-18 11:19:51] local.INFO: Packet analysis {"connection_id":186088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:51] local.INFO: Extracted packet for processing {"connection_id":186088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":759714880,"raw_latitude":110504552,"longitude_deg":75.971488,"latitude_deg":11.0504552,"altitude":60,"angle":79,"satellites":45,"speed":24,"hex_longitude":"2d485440","hex_latitude":"06962a68","is_valid_coordinates":true} 
[2026-09-18 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165845248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405301568208896000,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5201657597901805568,"note":"Value kept but may cause issues"} 
[2026-09-18 11:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710347000,"timestamp_ms":1789710347000,"timestamp_seconds":1789710347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30caaf8"} 
[2026-09-18 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-18 11:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165845248001,"66":27876,"215":206,"86":48896,"24":24,"16":405301568208896000,"45":5201657597901805568},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165845248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:19:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:19:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405301568208896000,"km_value":405301568208896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5201657597901805568,"description":"Unknown IO ID 45"} 
[2026-09-18 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165845248001,"power":27876,"unknown_215":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5201657597901805568}} 
[2026-09-18 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":186088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:19:51] local.INFO: GPS data processed {"connection_id":186088,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:19:51] local.INFO: Acknowledgment sent {"connection_id":186088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:20:02] local.INFO: TCP Data received {"connection_id":187383,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30fb838012d1ad8c007243df0002f00e129..."} 
[2026-09-18 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30fb838012d1ad8c007243df0002f00e129..."} 
[2026-09-18 11:20:02] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30fb838012d1ad8c007243df0002f00e129..."} 
[2026-09-18 11:20:02] local.INFO: Packet analysis {"connection_id":187383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30f"} 
[2026-09-18 11:20:02] local.INFO: Extracted packet for processing {"connection_id":187383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30f"} 
[2026-09-18 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756734144,"raw_latitude":119815664,"longitude_deg":75.6734144,"latitude_deg":11.9815664,"altitude":47,"angle":225,"satellites":41,"speed":26,"hex_longitude":"2d1ad8c0","hex_latitude":"07243df0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21247907587948544,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936970082907877376,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789710547000,"timestamp_ms":1789710547000,"timestamp_seconds":1789710547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30fb838"} 
[2026-09-18 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-09-18 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 11:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 11:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165898752001,"66":14428,"112":206,"28":31744,"24":26,"16":21247907587948544,"45":1936970082907877376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:20:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:20:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21247907587948544,"km_value":21247907587948.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936970082907877376,"description":"Unknown IO ID 45"} 
[2026-09-18 11:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165898752001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1936970082907877376}} 
[2026-09-18 11:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":187383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:20:02] local.INFO: GPS data processed {"connection_id":187383,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:20:02] local.INFO: Acknowledgment sent {"connection_id":187383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:20:12] local.INFO: TCP Data received {"connection_id":187384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:20:12] local.INFO: Processing buffer {"connection_id":187384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:20:12] local.INFO: IMEI packet received {"connection_id":187384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":187384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:20:17] local.INFO: TCP Data received {"connection_id":187384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:20:17] local.INFO: Processing buffer {"connection_id":187384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:20:17] local.INFO: IMEI packet received {"connection_id":187384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":187384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:20:19] local.INFO: TCP Data received {"connection_id":187384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30ced60012d4877c006963040003e00522d..."} 
[2026-09-18 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30ced60012d4877c006963040003e00522d..."} 
[2026-09-18 11:20:19] local.INFO: Processing buffer {"connection_id":187384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30ced60012d4877c006963040003e00522d..."} 
[2026-09-18 11:20:19] local.INFO: Packet analysis {"connection_id":187384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:20:19] local.INFO: Extracted packet for processing {"connection_id":187384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30c"} 
[2026-09-18 11:20:19] local.INFO: GPS Element Parsed {"raw_longitude":759723968,"raw_latitude":110506048,"longitude_deg":75.9723968,"latitude_deg":11.0506048,"altitude":62,"angle":82,"satellites":45,"speed":11,"hex_longitude":"2d4877c0","hex_latitude":"06963040","is_valid_coordinates":true} 
[2026-09-18 11:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165848832001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302006295560192,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5211861065807849472,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710364000,"timestamp_ms":1789710364000,"timestamp_seconds":1789710364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30ced60"} 
[2026-09-18 11:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:20:19] 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-09-18 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:20:19] 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-09-18 11:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165848832001,"66":27865,"215":206,"86":48896,"24":11,"16":405302006295560192,"45":5211861065807849472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165848832001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:20:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:20:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302006295560192,"km_value":405302006295560.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5211861065807849472,"description":"Unknown IO ID 45"} 
[2026-09-18 11:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165848832001,"power":27865,"unknown_215":206,"unknown_86":48896,"ignition":11,"odometer":null,"unknown_45":5211861065807849472}} 
[2026-09-18 11:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":187384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:20:19] local.INFO: GPS data processed {"connection_id":187384,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:20:19] local.INFO: Acknowledgment sent {"connection_id":187384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:20:25] local.INFO: TCP Data received {"connection_id":188699,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:20:25] local.INFO: Processing buffer {"connection_id":188699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:20:25] local.INFO: IMEI packet received {"connection_id":188699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":188699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:20:29] local.INFO: TCP Data received {"connection_id":188699,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:20:29] local.INFO: Processing buffer {"connection_id":188699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:20:29] local.INFO: IMEI packet received {"connection_id":188699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":188699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:20:30] local.INFO: TCP Data received {"connection_id":188699,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30fc7d8012d1ad04007243790002f00ee29..."} 
[2026-09-18 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30fc7d8012d1ad04007243790002f00ee29..."} 
[2026-09-18 11:20:30] local.INFO: Processing buffer {"connection_id":188699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30fc7d8012d1ad04007243790002f00ee29..."} 
[2026-09-18 11:20:30] local.INFO: Packet analysis {"connection_id":188699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30f"} 
[2026-09-18 11:20:30] local.INFO: Extracted packet for processing {"connection_id":188699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30f"} 
[2026-09-18 11:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756731968,"raw_latitude":119814032,"longitude_deg":75.6731968,"latitude_deg":11.9814032,"altitude":47,"angle":238,"satellites":41,"speed":26,"hex_longitude":"2d1ad040","hex_latitude":"07243790","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165900032001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21248040731934720,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934507176860971008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789710551000,"timestamp_ms":1789710551000,"timestamp_seconds":1789710551,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30fc7d8"} 
[2026-09-18 11:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:20: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-09-18 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 11:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165900032001,"66":13787,"112":206,"28":31744,"24":26,"16":21248040731934720,"45":1934507176860971008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165900032001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21248040731934720,"km_value":21248040731934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934507176860971008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165900032001,"power":13787,"unknown_112":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1934507176860971008}} 
[2026-09-18 11:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":188699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:20:30] local.INFO: GPS data processed {"connection_id":188699,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:20:30] local.INFO: Acknowledgment sent {"connection_id":188699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:20:50] local.INFO: TCP Data received {"connection_id":187384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30d1470012d487fc0069630080044005e2f..."} 
[2026-09-18 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30d1470012d487fc0069630080044005e2f..."} 
[2026-09-18 11:20:50] local.INFO: Processing buffer {"connection_id":187384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30d1470012d487fc0069630080044005e2f..."} 
[2026-09-18 11:20:50] local.INFO: Packet analysis {"connection_id":187384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30d"} 
[2026-09-18 11:20:50] local.INFO: Extracted packet for processing {"connection_id":187384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30d"} 
[2026-09-18 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":759726016,"raw_latitude":110505992,"longitude_deg":75.9726016,"latitude_deg":11.0505992,"altitude":68,"angle":94,"satellites":47,"speed":6,"hex_longitude":"2d487fc0","hex_latitude":"06963008","is_valid_coordinates":true} 
[2026-09-18 11:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165853184001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302105079808000,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5221853427481460736,"note":"Value kept but may cause issues"} 
[2026-09-18 11:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789710374000,"timestamp_ms":1789710374000,"timestamp_seconds":1789710374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30d1470"} 
[2026-09-18 11:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:20:50] 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-09-18 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 11:20: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-09-18 11:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165853184001,"66":27930,"215":206,"86":48896,"24":6,"16":405302105079808000,"45":5221853427481460736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165853184001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:20:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:20:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302105079808000,"km_value":405302105079808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5221853427481460736,"description":"Unknown IO ID 45"} 
[2026-09-18 11:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165853184001,"power":27930,"unknown_215":206,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5221853427481460736}} 
[2026-09-18 11:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":187384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:20:50] local.INFO: GPS data processed {"connection_id":187384,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:20:50] local.INFO: Acknowledgment sent {"connection_id":187384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:21:02] local.INFO: TCP Data received {"connection_id":188699,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30ff6b8012d1aae8007242808002b00f429..."} 
[2026-09-18 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30ff6b8012d1aae8007242808002b00f429..."} 
[2026-09-18 11:21:02] local.INFO: Processing buffer {"connection_id":188699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30ff6b8012d1aae8007242808002b00f429..."} 
[2026-09-18 11:21:02] local.INFO: Packet analysis {"connection_id":188699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30f"} 
[2026-09-18 11:21:02] local.INFO: Extracted packet for processing {"connection_id":188699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30f"} 
[2026-09-18 11:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756723328,"raw_latitude":119810056,"longitude_deg":75.6723328,"latitude_deg":11.9810056,"altitude":43,"angle":244,"satellites":41,"speed":32,"hex_longitude":"2d1aae80","hex_latitude":"07242808","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165901056001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21248491703500800,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932114639558512640,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789710563000,"timestamp_ms":1789710563000,"timestamp_seconds":1789710563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30ff6b8"} 
[2026-09-18 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-09-18 11:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-18 11:21:02] 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-09-18 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-09-18 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-09-18 11:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165901056001,"66":14265,"112":206,"28":31744,"24":32,"16":21248491703500800,"45":1932114639558512640},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165901056001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:21:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21248491703500800,"km_value":21248491703500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932114639558512640,"description":"Unknown IO ID 45"} 
[2026-09-18 11:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165901056001,"power":14265,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1932114639558512640}} 
[2026-09-18 11:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":188699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:21:02] local.INFO: GPS data processed {"connection_id":188699,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:21:02] local.INFO: Acknowledgment sent {"connection_id":188699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:21:12] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:21:12] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:21:12] local.INFO: IMEI packet received {"connection_id":187385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":187385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:21:17] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:21:17] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:21:17] local.INFO: IMEI packet received {"connection_id":187385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":187385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:21:19] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30d6678012d48864006962e80004600682f..."} 
[2026-09-18 11:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30d6678012d48864006962e80004600682f..."} 
[2026-09-18 11:21:19] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30d6678012d48864006962e80004600682f..."} 
[2026-09-18 11:21:19] local.INFO: Packet analysis {"connection_id":187385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30d"} 
[2026-09-18 11:21:19] local.INFO: Extracted packet for processing {"connection_id":187385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30d"} 
[2026-09-18 11:21:19] local.INFO: GPS Element Parsed {"raw_longitude":759727680,"raw_latitude":110505600,"longitude_deg":75.972768,"latitude_deg":11.05056,"altitude":70,"angle":104,"satellites":47,"speed":1,"hex_longitude":"2d488640","hex_latitude":"06962e80","is_valid_coordinates":true} 
[2026-09-18 11:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165855744001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302190979153920,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224105227295131648,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710395000,"timestamp_ms":1789710395000,"timestamp_seconds":1789710395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30d6678"} 
[2026-09-18 11:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:21:19] 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-09-18 11:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 11:21:19] 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-09-18 11:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165855744001,"66":27919,"215":206,"86":48896,"24":1,"16":405302190979153920,"45":5224105227295131648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165855744001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:21:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:21:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302190979153920,"km_value":405302190979153.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224105227295131648,"description":"Unknown IO ID 45"} 
[2026-09-18 11:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165855744001,"power":27919,"unknown_215":206,"unknown_86":48896,"ignition":1,"odometer":null,"unknown_45":5224105227295131648}} 
[2026-09-18 11:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":187385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:21:19] local.INFO: GPS data processed {"connection_id":187385,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:21:19] local.INFO: Acknowledgment sent {"connection_id":187385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:21:25] local.INFO: TCP Data received {"connection_id":188700,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:21:25] local.INFO: Processing buffer {"connection_id":188700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:21:25] local.INFO: IMEI packet received {"connection_id":188700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":188700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:21:34] local.INFO: TCP Data received {"connection_id":188700,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:21:34] local.INFO: Processing buffer {"connection_id":188700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:21:34] local.INFO: IMEI packet received {"connection_id":188700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":188700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:21:36] local.INFO: TCP Data received {"connection_id":188700,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3102598012d1a8dc007241978002d00f326..."} 
[2026-09-18 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3102598012d1a8dc007241978002d00f326..."} 
[2026-09-18 11:21:36] local.INFO: Processing buffer {"connection_id":188700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3102598012d1a8dc007241978002d00f326..."} 
[2026-09-18 11:21:36] local.INFO: Packet analysis {"connection_id":188700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b310"} 
[2026-09-18 11:21:36] local.INFO: Extracted packet for processing {"connection_id":188700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b310"} 
[2026-09-18 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119806328,"longitude_deg":75.6714944,"latitude_deg":11.9806328,"altitude":45,"angle":243,"satellites":38,"speed":31,"hex_longitude":"2d1a8dc0","hex_latitude":"07241978","is_valid_coordinates":true} 
[2026-09-18 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165904128001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21248929790164992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922614859093510144,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789710575000,"timestamp_ms":1789710575000,"timestamp_seconds":1789710575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3102598"} 
[2026-09-18 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 11:21: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-09-18 11:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165904128001,"66":14265,"112":206,"28":31744,"24":31,"16":21248929790164992,"45":1922614859093510144},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165904128001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:21:36] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21248929790164992,"km_value":21248929790164.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922614859093510144,"description":"Unknown IO ID 45"} 
[2026-09-18 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165904128001,"power":14265,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1922614859093510144}} 
[2026-09-18 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":188700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:21:36] local.INFO: GPS data processed {"connection_id":188700,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:21:36] local.INFO: Acknowledgment sent {"connection_id":188700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:21:41] local.INFO: TCP Data received {"connection_id":186086,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:21:41] local.INFO: Processing buffer {"connection_id":186086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:21:41] local.INFO: IMEI packet received {"connection_id":186086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":186086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:21:51] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30db880012d488b0006962ec0004900682e..."} 
[2026-09-18 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30db880012d488b0006962ec0004900682e..."} 
[2026-09-18 11:21:51] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30db880012d488b0006962ec0004900682e..."} 
[2026-09-18 11:21:51] local.INFO: Packet analysis {"connection_id":187385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30d"} 
[2026-09-18 11:21:51] local.INFO: Extracted packet for processing {"connection_id":187385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30d"} 
[2026-09-18 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":759728896,"raw_latitude":110505664,"longitude_deg":75.9728896,"latitude_deg":11.0505664,"altitude":73,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d488b00","hex_latitude":"06962ec0","is_valid_coordinates":true} 
[2026-09-18 11:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165861120001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302251108696064,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225934814643650560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710416000,"timestamp_ms":1789710416000,"timestamp_seconds":1789710416,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30db880"} 
[2026-09-18 11:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:21: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 11:21:51] 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-09-18 11:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165861120001,"66":27995,"215":206,"86":48896,"24":0,"16":405302251108696064,"45":5225934814643650560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165861120001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:21:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:21:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302251108696064,"km_value":405302251108696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225934814643650560,"description":"Unknown IO ID 45"} 
[2026-09-18 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165861120001,"power":27995,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225934814643650560}} 
[2026-09-18 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":187385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:21:51] local.INFO: GPS data processed {"connection_id":187385,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:21:51] local.INFO: Acknowledgment sent {"connection_id":187385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:22:08] local.INFO: TCP Data received {"connection_id":188700,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b311a080012d197540072390d0003e00ea24..."} 
[2026-09-18 11:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b311a080012d197540072390d0003e00ea24..."} 
[2026-09-18 11:22:08] local.INFO: Processing buffer {"connection_id":188700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b311a080012d197540072390d0003e00ea24..."} 
[2026-09-18 11:22:08] local.INFO: Packet analysis {"connection_id":188700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b311"} 
[2026-09-18 11:22:08] local.INFO: Extracted packet for processing {"connection_id":188700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b311"} 
[2026-09-18 11:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119771344,"longitude_deg":75.6643136,"latitude_deg":11.9771344,"altitude":62,"angle":234,"satellites":36,"speed":35,"hex_longitude":"2d197540","hex_latitude":"072390d0","is_valid_coordinates":true} 
[2026-09-18 11:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165931264001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21252958469488640,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837327941140606976,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789710672000,"timestamp_ms":1789710672000,"timestamp_seconds":1789710672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b311a080"} 
[2026-09-18 11:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 11:22: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-09-18 11:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165931264001,"66":14396,"112":206,"28":31744,"24":35,"16":21252958469488640,"45":1837327941140606976},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165931264001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:22:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21252958469488640,"km_value":21252958469488.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837327941140606976,"description":"Unknown IO ID 45"} 
[2026-09-18 11:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165931264001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1837327941140606976}} 
[2026-09-18 11:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":188700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:22:08] local.INFO: GPS data processed {"connection_id":188700,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:22:08] local.INFO: Acknowledgment sent {"connection_id":188700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:22:17] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:22:17] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:22:17] local.INFO: IMEI packet received {"connection_id":188701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:22:22] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:22:22] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:22:22] local.INFO: IMEI packet received {"connection_id":188701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":188701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:22:24] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30e0a88012d48870006962f68004b00682d..."} 
[2026-09-18 11:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30e0a88012d48870006962f68004b00682d..."} 
[2026-09-18 11:22:24] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30e0a88012d48870006962f68004b00682d..."} 
[2026-09-18 11:22:24] local.INFO: Packet analysis {"connection_id":188701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30e"} 
[2026-09-18 11:22:24] local.INFO: Extracted packet for processing {"connection_id":188701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30e"} 
[2026-09-18 11:22:24] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110505832,"longitude_deg":75.9727872,"latitude_deg":11.0505832,"altitude":75,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d488700","hex_latitude":"06962f68","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165866496001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302311238238208,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5227271820783042560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789710437000,"timestamp_ms":1789710437000,"timestamp_seconds":1789710437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30e0a88"} 
[2026-09-18 11:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 11:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165866496001,"66":28050,"215":206,"86":48896,"24":0,"16":405302311238238208,"45":5227271820783042560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165866496001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:22:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:22:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302311238238208,"km_value":405302311238238.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5227271820783042560,"description":"Unknown IO ID 45"} 
[2026-09-18 11:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165866496001,"power":28050,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5227271820783042560}} 
[2026-09-18 11:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":188701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:22:24] local.INFO: GPS data processed {"connection_id":188701,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:22:24] local.INFO: Acknowledgment sent {"connection_id":188701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:22:25] local.INFO: TCP Data received {"connection_id":186089,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:22:25] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:22:25] local.INFO: IMEI packet received {"connection_id":186089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":186089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:22:30] local.INFO: TCP Data received {"connection_id":186089,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:22:30] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:22:30] local.INFO: IMEI packet received {"connection_id":186089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":186089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:22:32] local.INFO: TCP Data received {"connection_id":186089,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b311b020012d196b4007238808004100dd24..."} 
[2026-09-18 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b311b020012d196b4007238808004100dd24..."} 
[2026-09-18 11:22:32] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b311b020012d196b4007238808004100dd24..."} 
[2026-09-18 11:22:32] local.INFO: Packet analysis {"connection_id":186089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b311"} 
[2026-09-18 11:22:32] local.INFO: Extracted packet for processing {"connection_id":186089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b311"} 
[2026-09-18 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119769096,"longitude_deg":75.6640576,"latitude_deg":11.9769096,"altitude":65,"angle":221,"satellites":36,"speed":34,"hex_longitude":"2d196b40","hex_latitude":"07238808","is_valid_coordinates":true} 
[2026-09-18 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165932032001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21253125973213184,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822628986880,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710676000,"timestamp_ms":1789710676000,"timestamp_seconds":1789710676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b311b020"} 
[2026-09-18 11:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:22: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-09-18 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 11:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165932032001,"66":14396,"112":206,"28":31744,"24":34,"16":21253125973213184,"45":1834442822628986880},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165932032001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:22:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21253125973213184,"km_value":21253125973213.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822628986880,"description":"Unknown IO ID 45"} 
[2026-09-18 11:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165932032001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1834442822628986880}} 
[2026-09-18 11:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":186089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:22:32] local.INFO: GPS data processed {"connection_id":186089,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:22:32] local.INFO: Acknowledgment sent {"connection_id":186089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:22:55] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30e58a8012d48854006962e18004b00682c..."} 
[2026-09-18 11:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30e58a8012d48854006962e18004b00682c..."} 
[2026-09-18 11:22:55] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30e58a8012d48854006962e18004b00682c..."} 
[2026-09-18 11:22:55] local.INFO: Packet analysis {"connection_id":188701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30e"} 
[2026-09-18 11:22:55] local.INFO: Extracted packet for processing {"connection_id":188701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30e"} 
[2026-09-18 11:22:55] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505496,"longitude_deg":75.9727424,"latitude_deg":11.0505496,"altitude":75,"angle":104,"satellites":44,"speed":1,"hex_longitude":"2d488540","hex_latitude":"06962e18","is_valid_coordinates":true} 
[2026-09-18 11:22: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-09-18 11:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165871872001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920876242944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789710457000,"timestamp_ms":1789710457000,"timestamp_seconds":1789710457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30e58a8"} 
[2026-09-18 11:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-18 11:22:55] 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-09-18 11: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-09-18 11:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165871872001,"66":27876,"215":206,"86":48896,"24":1,"16":405302345597976576,"45":5226145920876242944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165871872001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:22:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:22:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920876242944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165871872001,"power":27876,"unknown_215":206,"unknown_86":48896,"ignition":1,"odometer":null,"unknown_45":5226145920876242944}} 
[2026-09-18 11:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":188701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:22:55] local.INFO: GPS data processed {"connection_id":188701,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:22:55] local.INFO: Acknowledgment sent {"connection_id":188701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:23:04] local.INFO: TCP Data received {"connection_id":186089,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b311cb78012d195d8007237378004600cf23..."} 
[2026-09-18 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b311cb78012d195d8007237378004600cf23..."} 
[2026-09-18 11:23:04] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b311cb78012d195d8007237378004600cf23..."} 
[2026-09-18 11:23:04] local.INFO: Packet analysis {"connection_id":186089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b311"} 
[2026-09-18 11:23:04] local.INFO: Extracted packet for processing {"connection_id":186089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b311"} 
[2026-09-18 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119763832,"longitude_deg":75.6637056,"latitude_deg":11.9763832,"altitude":70,"angle":207,"satellites":35,"speed":36,"hex_longitude":"2d195d80","hex_latitude":"07237378","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165933056001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21253430915891200,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072861304832,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789710683000,"timestamp_ms":1789710683000,"timestamp_seconds":1789710683,"priority":1,"record_length":96,"hex_timestamp":"000001a0b311cb78"} 
[2026-09-18 11:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 11:23: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-09-18 11: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-09-18 11:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165933056001,"66":14396,"112":206,"28":31744,"24":36,"16":21253430915891200,"45":1831628072861304832},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165933056001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21253430915891200,"km_value":21253430915891.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072861304832,"description":"Unknown IO ID 45"} 
[2026-09-18 11:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165933056001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1831628072861304832}} 
[2026-09-18 11:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":186089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:23:05] local.INFO: GPS data processed {"connection_id":186089,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:23:05] local.INFO: Acknowledgment sent {"connection_id":186089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:23:13] local.INFO: TCP Data received {"connection_id":185926,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:23:13] local.INFO: Processing buffer {"connection_id":185926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:23:13] local.INFO: IMEI packet received {"connection_id":185926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":185926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:23:17] local.INFO: TCP Data received {"connection_id":185926,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:23:17] local.INFO: Processing buffer {"connection_id":185926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:23:17] local.INFO: IMEI packet received {"connection_id":185926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":185926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:23:19] local.INFO: TCP Data received {"connection_id":185926,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b30e5c90012d48858006962e18004b00682b..."} 
[2026-09-18 11:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b30e5c90012d48858006962e18004b00682b..."} 
[2026-09-18 11:23:19] local.INFO: Processing buffer {"connection_id":185926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b30e5c90012d48858006962e18004b00682b..."} 
[2026-09-18 11:23:19] local.INFO: Packet analysis {"connection_id":185926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b30e"} 
[2026-09-18 11:23:19] local.INFO: Extracted packet for processing {"connection_id":185926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b30e"} 
[2026-09-18 11:23:19] local.INFO: GPS Element Parsed {"raw_longitude":759727488,"raw_latitude":110505496,"longitude_deg":75.9727488,"latitude_deg":11.0505496,"altitude":75,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d488580","hex_latitude":"06962e18","is_valid_coordinates":true} 
[2026-09-18 11:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165876992001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339666913280,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710458000,"timestamp_ms":1789710458000,"timestamp_seconds":1789710458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b30e5c90"} 
[2026-09-18 11:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:23:19] 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-09-18 11:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165876992001,"66":27876,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225653339666913280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165876992001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:23:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:23:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339666913280,"description":"Unknown IO ID 45"} 
[2026-09-18 11:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165876992001,"power":27876,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339666913280}} 
[2026-09-18 11:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":185926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:23:19] local.INFO: GPS data processed {"connection_id":185926,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:23:19] local.INFO: Acknowledgment sent {"connection_id":185926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:23:30] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:23:30] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:23:30] local.INFO: IMEI packet received {"connection_id":186090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":186090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:23:36] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:23:36] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:23:36] local.INFO: IMEI packet received {"connection_id":186090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":186090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:23:46] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312b9c0012d18bdc00722ff48006200eb28..."} 
[2026-09-18 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312b9c0012d18bdc00722ff48006200eb28..."} 
[2026-09-18 11:23:46] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312b9c0012d18bdc00722ff48006200eb28..."} 
[2026-09-18 11:23:46] local.INFO: Packet analysis {"connection_id":186090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:23:46] local.INFO: Extracted packet for processing {"connection_id":186090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119734088,"longitude_deg":75.659616,"latitude_deg":11.9734088,"altitude":98,"angle":235,"satellites":40,"speed":33,"hex_longitude":"2d18bdc0","hex_latitude":"0722ff48","is_valid_coordinates":true} 
[2026-09-18 11:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165949952001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256153925156864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382997686272,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789710744000,"timestamp_ms":1789710744000,"timestamp_seconds":1789710744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312b9c0"} 
[2026-09-18 11:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 11:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165949952001,"66":14048,"112":206,"28":31744,"24":33,"16":21256153925156864,"45":1784551382997686272},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165949952001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:23:46] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256153925156864,"km_value":21256153925156.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382997686272,"description":"Unknown IO ID 45"} 
[2026-09-18 11:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165949952001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1784551382997686272}} 
[2026-09-18 11:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":186090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:23:46] local.INFO: GPS data processed {"connection_id":186090,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:23:46] local.INFO: Acknowledgment sent {"connection_id":186090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:23:47] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312c190012d18b9400722fa00006300d527..."} 
[2026-09-18 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312c190012d18b9400722fa00006300d527..."} 
[2026-09-18 11:23:47] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312c190012d18b9400722fa00006300d527..."} 
[2026-09-18 11:23:47] local.INFO: Packet analysis {"connection_id":186090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:23:47] local.INFO: Extracted packet for processing {"connection_id":186090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756595008,"raw_latitude":119732736,"longitude_deg":75.6595008,"latitude_deg":11.9732736,"altitude":99,"angle":213,"satellites":39,"speed":34,"hex_longitude":"2d18b940","hex_latitude":"0722fa00","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165950464001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256239824502784,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782792164393043968,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789710746000,"timestamp_ms":1789710746000,"timestamp_seconds":1789710746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312c190"} 
[2026-09-18 11:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:23: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-09-18 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 11:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165950464001,"66":13993,"112":206,"28":31744,"24":34,"16":21256239824502784,"45":1782792164393043968},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165950464001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:23:47] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256239824502784,"km_value":21256239824502.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782792164393043968,"description":"Unknown IO ID 45"} 
[2026-09-18 11:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165950464001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1782792164393043968}} 
[2026-09-18 11:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:23:47] local.INFO: GPS data processed {"connection_id":186090,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:23:47] local.INFO: Acknowledgment sent {"connection_id":186090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:23:51] local.INFO: TCP Data received {"connection_id":185926,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:23:51] local.INFO: Processing buffer {"connection_id":185926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:23:51] local.INFO: Packet analysis {"connection_id":185926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:23:51] local.INFO: Extracted packet for processing {"connection_id":185926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:23:51] 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-09-18 11:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:23:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:23:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":185926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:23:51] local.INFO: GPS data processed {"connection_id":185926,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:23:51] local.INFO: Acknowledgment sent {"connection_id":185926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:24:17] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:24:17] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:24:17] local.INFO: IMEI packet received {"connection_id":188703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":188703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:24:22] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:24:22] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:24:22] local.INFO: IMEI packet received {"connection_id":188703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":188703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:24:24] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:24:24] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:24:24] local.INFO: Packet analysis {"connection_id":188703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:24] local.INFO: Extracted packet for processing {"connection_id":188703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:24:24] 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-09-18 11:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:24:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:24:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":188703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:24:24] local.INFO: GPS data processed {"connection_id":188703,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:24:24] local.INFO: Acknowledgment sent {"connection_id":188703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:24:25] local.INFO: TCP Data received {"connection_id":188704,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:24:25] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:24:25] local.INFO: IMEI packet received {"connection_id":188704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":188704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:24:27] local.INFO: TCP Data received {"connection_id":188704,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:24:27] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:24:27] local.INFO: IMEI packet received {"connection_id":188704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":188704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:24:28] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:24:28] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:24:28] local.INFO: Packet analysis {"connection_id":188703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:28] local.INFO: Extracted packet for processing {"connection_id":188703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:24:28] 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-09-18 11:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":188703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:24:28] local.INFO: GPS data processed {"connection_id":188703,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:24:28] local.INFO: Acknowledgment sent {"connection_id":188703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:24:28] local.INFO: TCP Data received {"connection_id":188704,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312c960012d18b6800722f358006300c526..."} 
[2026-09-18 11:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312c960012d18b6800722f358006300c526..."} 
[2026-09-18 11:24:28] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312c960012d18b6800722f358006300c526..."} 
[2026-09-18 11:24:28] local.INFO: Packet analysis {"connection_id":188704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:28] local.INFO: Extracted packet for processing {"connection_id":188704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756594304,"raw_latitude":119731032,"longitude_deg":75.6594304,"latitude_deg":11.9731032,"altitude":99,"angle":197,"satellites":38,"speed":35,"hex_longitude":"2d18b680","hex_latitude":"0722f358","is_valid_coordinates":true} 
[2026-09-18 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165950976001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256330018816000,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781525526997499904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789710748000,"timestamp_ms":1789710748000,"timestamp_seconds":1789710748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312c960"} 
[2026-09-18 11:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:24: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-09-18 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 11:24: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-09-18 11:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165950976001,"66":13993,"112":206,"28":31744,"24":35,"16":21256330018816000,"45":1781525526997499904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 11:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165950976001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256330018816000,"km_value":21256330018816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781525526997499904,"description":"Unknown IO ID 45"} 
[2026-09-18 11:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165950976001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1781525526997499904}} 
[2026-09-18 11:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":188704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:24:28] local.INFO: GPS data processed {"connection_id":188704,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:24:28] local.INFO: Acknowledgment sent {"connection_id":188704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:24:31] local.INFO: TCP Data received {"connection_id":188704,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312e4b8012d18ae400722dbb0006600d226..."} 
[2026-09-18 11:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312e4b8012d18ae400722dbb0006600d226..."} 
[2026-09-18 11:24:31] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312e4b8012d18ae400722dbb0006600d226..."} 
[2026-09-18 11:24:31] local.INFO: Packet analysis {"connection_id":188704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:31] local.INFO: Extracted packet for processing {"connection_id":188704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756592192,"raw_latitude":119724976,"longitude_deg":75.6592192,"latitude_deg":11.9724976,"altitude":102,"angle":210,"satellites":38,"speed":38,"hex_longitude":"2d18ae40","hex_latitude":"0722dbb0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165951488001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256643551428608,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780751470811109376,"note":"Value kept but may cause issues"} 
[2026-09-18 11:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789710755000,"timestamp_ms":1789710755000,"timestamp_seconds":1789710755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312e4b8"} 
[2026-09-18 11:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 11:24: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-09-18 11: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-09-18 11:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165951488001,"66":13961,"120":206,"28":31744,"24":38,"16":21256643551428608,"45":1780751470811109376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165951488001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:24:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256643551428608,"km_value":21256643551428.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780751470811109376,"description":"Unknown IO ID 45"} 
[2026-09-18 11:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165951488001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1780751470811109376}} 
[2026-09-18 11:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":188704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:24:31] local.INFO: GPS data processed {"connection_id":188704,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:24:31] local.INFO: Acknowledgment sent {"connection_id":188704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:25:02] local.INFO: TCP Data received {"connection_id":188704,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31428f0012d183d400721d950004d00d627..."} 
[2026-09-18 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31428f0012d183d400721d950004d00d627..."} 
[2026-09-18 11:25:02] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31428f0012d183d400721d950004d00d627..."} 
[2026-09-18 11:25:02] local.INFO: Packet analysis {"connection_id":188704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:25:02] local.INFO: Extracted packet for processing {"connection_id":188704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756563264,"raw_latitude":119658832,"longitude_deg":75.6563264,"latitude_deg":11.9658832,"altitude":77,"angle":214,"satellites":39,"speed":41,"hex_longitude":"2d183d40","hex_latitude":"0721d950","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165972224001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260259913891840,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752252129402605568,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789710838000,"timestamp_ms":1789710838000,"timestamp_seconds":1789710838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31428f0"} 
[2026-09-18 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-09-18 11:25: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-09-18 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 11:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 11:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165972224001,"66":12939,"120":206,"28":31744,"24":41,"16":21260259913891840,"45":1752252129402605568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165972224001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:25:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260259913891840,"km_value":21260259913891.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752252129402605568,"description":"Unknown IO ID 45"} 
[2026-09-18 11:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165972224001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1752252129402605568}} 
[2026-09-18 11:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":188704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:25:02] local.INFO: GPS data processed {"connection_id":188704,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:25:02] local.INFO: Acknowledgment sent {"connection_id":188704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:25:12] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:25:12] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:25:12] local.INFO: IMEI packet received {"connection_id":185927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":185927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:25:17] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:25:17] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:25:17] local.INFO: IMEI packet received {"connection_id":185927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":185927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:25:20] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:25:20] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:25:20] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:25:20] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:25:20] 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-09-18 11:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:25:20] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:25:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:25:20] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:25:20] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:25:25] local.INFO: TCP Data received {"connection_id":187386,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:25:25] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:25:25] local.INFO: IMEI packet received {"connection_id":187386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":187386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:25:30] local.INFO: TCP Data received {"connection_id":187386,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:25:30] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:25:30] local.INFO: IMEI packet received {"connection_id":187386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":187386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:25:32] local.INFO: TCP Data received {"connection_id":187386,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3144c18012d182ac00721bfa8004a00e428..."} 
[2026-09-18 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3144c18012d182ac00721bfa8004a00e428..."} 
[2026-09-18 11:25:32] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3144c18012d182ac00721bfa8004a00e428..."} 
[2026-09-18 11:25:32] local.INFO: Packet analysis {"connection_id":187386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:25:32] local.INFO: Extracted packet for processing {"connection_id":187386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119652264,"longitude_deg":75.6558528,"latitude_deg":11.9652264,"altitude":74,"angle":228,"satellites":40,"speed":21,"hex_longitude":"2d182ac0","hex_latitude":"0721bfa8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165974528001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260650755915776,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746622629866459136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710847000,"timestamp_ms":1789710847000,"timestamp_seconds":1789710847,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3144c18"} 
[2026-09-18 11:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:25: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-09-18 11: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 11:25: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-09-18 11: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-09-18 11:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165974528001,"66":13091,"120":206,"28":31744,"24":21,"16":21260650755915776,"45":1746622629866459136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165974528001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:25:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260650755915776,"km_value":21260650755915.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746622629866459136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165974528001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1746622629866459136}} 
[2026-09-18 11:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":187386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:25:32] local.INFO: GPS data processed {"connection_id":187386,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:25:32] local.INFO: Acknowledgment sent {"connection_id":187386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:25:51] local.INFO: TCP Data received {"connection_id":185927,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:25:51] local.INFO: Processing buffer {"connection_id":185927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:25:51] local.INFO: Packet analysis {"connection_id":185927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:25:51] local.INFO: Extracted packet for processing {"connection_id":185927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:25:51] 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-09-18 11: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-09-18 11:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:25:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:25:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":185927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:25:51] local.INFO: GPS data processed {"connection_id":185927,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:25:51] local.INFO: Acknowledgment sent {"connection_id":185927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:26:04] local.INFO: TCP Data received {"connection_id":187386,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3145bb8012d1826400721bac8004a00d228..."} 
[2026-09-18 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3145bb8012d1826400721bac8004a00d228..."} 
[2026-09-18 11:26:04] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3145bb8012d1826400721bac8004a00d228..."} 
[2026-09-18 11:26:04] local.INFO: Packet analysis {"connection_id":187386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:26:04] local.INFO: Extracted packet for processing {"connection_id":187386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119651016,"longitude_deg":75.6557376,"latitude_deg":11.9651016,"altitude":74,"angle":210,"satellites":40,"speed":13,"hex_longitude":"2d182640","hex_latitude":"0721bac8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165976832001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260732360294400,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342795630592,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789710851000,"timestamp_ms":1789710851000,"timestamp_seconds":1789710851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3145bb8"} 
[2026-09-18 11:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 11:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165976832001,"66":13059,"120":206,"28":31744,"24":13,"16":21260732360294400,"45":1741415342795630592},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165976832001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260732360294400,"km_value":21260732360294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342795630592,"description":"Unknown IO ID 45"} 
[2026-09-18 11:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165976832001,"power":13059,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1741415342795630592}} 
[2026-09-18 11:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":187386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:26:04] local.INFO: GPS data processed {"connection_id":187386,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:26:04] local.INFO: Acknowledgment sent {"connection_id":187386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:26:12] local.INFO: TCP Data received {"connection_id":185928,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:26:12] local.INFO: Processing buffer {"connection_id":185928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:26:12] local.INFO: IMEI packet received {"connection_id":185928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":185928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:26:17] local.INFO: TCP Data received {"connection_id":185928,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:26:17] local.INFO: Processing buffer {"connection_id":185928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:26:17] local.INFO: IMEI packet received {"connection_id":185928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":185928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:26:21] local.INFO: TCP Data received {"connection_id":185928,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:26:21] local.INFO: Processing buffer {"connection_id":185928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:26:21] local.INFO: Packet analysis {"connection_id":185928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:26:21] local.INFO: Extracted packet for processing {"connection_id":185928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:26:21] 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-09-18 11:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:26:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:26:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":185928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:26:21] local.INFO: GPS data processed {"connection_id":185928,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:26:21] local.INFO: Acknowledgment sent {"connection_id":185928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:26:25] local.INFO: TCP Data received {"connection_id":186091,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:26:25] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:26:25] local.INFO: IMEI packet received {"connection_id":186091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":186091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:26:30] local.INFO: TCP Data received {"connection_id":186091,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:26:30] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:26:30] local.INFO: IMEI packet received {"connection_id":186091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":186091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:26:32] local.INFO: TCP Data received {"connection_id":186091,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b314adc0012d1824800721b7f0004b00d529..."} 
[2026-09-18 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b314adc0012d1824800721b7f0004b00d529..."} 
[2026-09-18 11:26:32] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b314adc0012d1824800721b7f0004b00d529..."} 
[2026-09-18 11:26:32] local.INFO: Packet analysis {"connection_id":186091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:26:32] local.INFO: Extracted packet for processing {"connection_id":186091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165977856001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705400113152,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710872000,"timestamp_ms":1789710872000,"timestamp_seconds":1789710872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b314adc0"} 
[2026-09-18 11:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:26: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-09-18 11: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":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303185980870119,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":120,"raw_value":58015164105490475,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3004405864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2262761472,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:32] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,136,160,76,45,192,191,74,40,10,66,64,217,77,39,5,1,240,135,179,34,4,113,205,38,187,122,128,239,55,2,75,7,100,43],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:26:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493028048044032,"timestamp_seconds":5332493028048044.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165977856001,"66":13015,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1740148705400113152},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165977856001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:26:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705400113152,"description":"Unknown IO ID 45"} 
[2026-09-18 11:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165977856001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705400113152}} 
[2026-09-18 11:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":186091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:26:32] local.INFO: GPS data processed {"connection_id":186091,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:26:32] local.INFO: Acknowledgment sent {"connection_id":186091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:26:52] local.INFO: TCP Data received {"connection_id":185928,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:26:52] local.INFO: Processing buffer {"connection_id":185928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:26:52] local.INFO: Packet analysis {"connection_id":185928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:26:52] local.INFO: Extracted packet for processing {"connection_id":185928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:26:52] 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-09-18 11:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:26:52] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:26:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":185928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:26:52] local.INFO: GPS data processed {"connection_id":185928,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:26:52] local.INFO: Acknowledgment sent {"connection_id":185928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:27:03] local.INFO: TCP Data received {"connection_id":186091,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b314ffc8012d1824800721b7f0004b00d528..."} 
[2026-09-18 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b314ffc8012d1824800721b7f0004b00d528..."} 
[2026-09-18 11:27:03] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b314ffc8012d1824800721b7f0004b00d528..."} 
[2026-09-18 11:27:03] local.INFO: Packet analysis {"connection_id":186091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:27:03] local.INFO: Extracted packet for processing {"connection_id":186091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b314"} 
[2026-09-18 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165983232001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710893000,"timestamp_ms":1789710893000,"timestamp_seconds":1789710893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b314ffc8"} 
[2026-09-18 11:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:27: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-09-18 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 11:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165983232001,"66":12961,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165983232001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:27:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165983232001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":186091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:27:04] local.INFO: GPS data processed {"connection_id":186091,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:27:04] local.INFO: Acknowledgment sent {"connection_id":186091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:27:12] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:27:12] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:27:12] local.INFO: IMEI packet received {"connection_id":188705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":188705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:27:17] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:27:17] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:27:17] local.INFO: IMEI packet received {"connection_id":188705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":188705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:27:19] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:27:19] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:27:19] local.INFO: Packet analysis {"connection_id":188705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:27:19] local.INFO: Extracted packet for processing {"connection_id":188705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:27:19] 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-09-18 11:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:27: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-09-18 11:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:27:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:27:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":188705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:27:19] local.INFO: GPS data processed {"connection_id":188705,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:27:19] local.INFO: Acknowledgment sent {"connection_id":188705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:27:21] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:27:21] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:27:21] local.INFO: IMEI packet received {"connection_id":188702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":188702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:27:25] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:27:25] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:27:25] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:27:30] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:27:30] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:27:30] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:27:31] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31551d0012d1824800721b7f0004b00d527..."} 
[2026-09-18 11:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31551d0012d1824800721b7f0004b00d527..."} 
[2026-09-18 11:27:31] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31551d0012d1824800721b7f0004b00d527..."} 
[2026-09-18 11:27:31] local.INFO: Packet analysis {"connection_id":186092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b315"} 
[2026-09-18 11:27:31] local.INFO: Extracted packet for processing {"connection_id":186092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b315"} 
[2026-09-18 11:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165988608001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789710914000,"timestamp_ms":1789710914000,"timestamp_seconds":1789710914,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31551d0"} 
[2026-09-18 11:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 11:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165988608001,"66":12928,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165988608001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:27:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165988608001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":186092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:27:31] local.INFO: GPS data processed {"connection_id":186092,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:27:31] local.INFO: Acknowledgment sent {"connection_id":186092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:27:51] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:27:51] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b312f840012d4883c006962c60004c006829..."} 
[2026-09-18 11:27:51] local.INFO: Packet analysis {"connection_id":188705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:27:51] local.INFO: Extracted packet for processing {"connection_id":188705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b312"} 
[2026-09-18 11:27:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165877248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708411090944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789710760000,"timestamp_ms":1789710760000,"timestamp_seconds":1789710760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b312f840"} 
[2026-09-18 11:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:27:51] 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-09-18 11:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165877248001,"66":26408,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225723708411090944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165877248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:27:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:27:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708411090944,"description":"Unknown IO ID 45"} 
[2026-09-18 11:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165877248001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708411090944}} 
[2026-09-18 11:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":188705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:27:51] local.INFO: GPS data processed {"connection_id":188705,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:27:51] local.INFO: Acknowledgment sent {"connection_id":188705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:28:03] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b315a3d8012d1824800721b7f0004b00d529..."} 
[2026-09-18 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b315a3d8012d1824800721b7f0004b00d529..."} 
[2026-09-18 11:28:03] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b315a3d8012d1824800721b7f0004b00d529..."} 
[2026-09-18 11:28:03] local.INFO: Packet analysis {"connection_id":186092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b315"} 
[2026-09-18 11:28:03] local.INFO: Extracted packet for processing {"connection_id":186092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b315"} 
[2026-09-18 11:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165993984001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710935000,"timestamp_ms":1789710935000,"timestamp_seconds":1789710935,"priority":1,"record_length":96,"hex_timestamp":"000001a0b315a3d8"} 
[2026-09-18 11:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:28: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-09-18 11: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-18 11:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165993984001,"66":12928,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165993984001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:28:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165993984001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":186092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:28:03] local.INFO: GPS data processed {"connection_id":186092,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:28:03] local.INFO: Acknowledgment sent {"connection_id":186092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:28:17] local.INFO: TCP Data received {"connection_id":188707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:28:17] local.INFO: Processing buffer {"connection_id":188707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:28:17] local.INFO: IMEI packet received {"connection_id":188707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:28:20] local.INFO: TCP Data received {"connection_id":188707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:28:20] local.INFO: Processing buffer {"connection_id":188707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:28:20] local.INFO: IMEI packet received {"connection_id":188707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":188707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:28:22] local.INFO: TCP Data received {"connection_id":188707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:22] local.INFO: Processing buffer {"connection_id":188707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:22] local.INFO: Packet analysis {"connection_id":188707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:28:22] local.INFO: Extracted packet for processing {"connection_id":188707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:28:22] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:28:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":188707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:28:22] local.INFO: GPS data processed {"connection_id":188707,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:28:22] local.INFO: Acknowledgment sent {"connection_id":188707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:28:24] local.INFO: TCP Data received {"connection_id":188707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:24] local.INFO: Processing buffer {"connection_id":188707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:24] local.INFO: Packet analysis {"connection_id":188707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:28:24] local.INFO: Extracted packet for processing {"connection_id":188707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:28:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:28:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:28:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":188707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:28:24] local.INFO: GPS data processed {"connection_id":188707,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:28:24] local.INFO: Acknowledgment sent {"connection_id":188707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:28:25] local.INFO: TCP Data received {"connection_id":185929,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:28:25] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:28:25] local.INFO: IMEI packet received {"connection_id":185929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":185929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:28:30] local.INFO: TCP Data received {"connection_id":185929,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:28:30] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:28:30] local.INFO: IMEI packet received {"connection_id":185929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":185929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:28:32] local.INFO: TCP Data received {"connection_id":185929,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b315f5e0012d1824800721b7f0004b00d52c..."} 
[2026-09-18 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b315f5e0012d1824800721b7f0004b00d52c..."} 
[2026-09-18 11:28:32] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b315f5e0012d1824800721b7f0004b00d52c..."} 
[2026-09-18 11:28:32] local.INFO: Packet analysis {"connection_id":185929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b315"} 
[2026-09-18 11:28:32] local.INFO: Extracted packet for processing {"connection_id":185929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b315"} 
[2026-09-18 11:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165999360001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789710956000,"timestamp_ms":1789710956000,"timestamp_seconds":1789710956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b315f5e0"} 
[2026-09-18 11:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:28: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-09-18 11: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-18 11:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165999360001,"66":12711,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165999360001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:28:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165999360001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":185929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:28:32] local.INFO: GPS data processed {"connection_id":185929,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:28:32] local.INFO: Acknowledgment sent {"connection_id":185929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:28:57] local.INFO: TCP Data received {"connection_id":188707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:57] local.INFO: Processing buffer {"connection_id":188707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:28:57] local.INFO: Packet analysis {"connection_id":188707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:28:57] local.INFO: Extracted packet for processing {"connection_id":188707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:28:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:28:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:28:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":188707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:28:57] local.INFO: GPS data processed {"connection_id":188707,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:28:57] local.INFO: Acknowledgment sent {"connection_id":188707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:29:03] local.INFO: TCP Data received {"connection_id":185929,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31647e8012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31647e8012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:29:03] local.INFO: Processing buffer {"connection_id":185929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31647e8012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:29:03] local.INFO: Packet analysis {"connection_id":185929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b316"} 
[2026-09-18 11:29:03] local.INFO: Extracted packet for processing {"connection_id":185929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b316"} 
[2026-09-18 11:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166004736001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789710977000,"timestamp_ms":1789710977000,"timestamp_seconds":1789710977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31647e8"} 
[2026-09-18 11:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:29: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-09-18 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 11:29: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-09-18 11: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-09-18 11:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166004736001,"66":12558,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166004736001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:29:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166004736001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":185929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:29:03] local.INFO: GPS data processed {"connection_id":185929,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:29:03] local.INFO: Acknowledgment sent {"connection_id":185929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:29:13] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:29:13] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:29:13] local.INFO: IMEI packet received {"connection_id":185930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":185930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:29:17] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:29:17] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:29:17] local.INFO: IMEI packet received {"connection_id":185930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":185930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:29:20] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:29:20] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:29:20] local.INFO: Packet analysis {"connection_id":185930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:29:20] local.INFO: Extracted packet for processing {"connection_id":185930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:29:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:29:20] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:29:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":185930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:29:20] local.INFO: GPS data processed {"connection_id":185930,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:29:20] local.INFO: Acknowledgment sent {"connection_id":185930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:29:30] local.INFO: TCP Data received {"connection_id":185931,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:29:30] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:29:30] local.INFO: IMEI packet received {"connection_id":185931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":185931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:29:36] local.INFO: TCP Data received {"connection_id":185931,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:29:36] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:29:36] local.INFO: IMEI packet received {"connection_id":185931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":185931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:29:37] local.INFO: TCP Data received {"connection_id":185931,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31699f0012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31699f0012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:29:37] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31699f0012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:29:37] local.INFO: Packet analysis {"connection_id":185931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b316"} 
[2026-09-18 11:29:37] local.INFO: Extracted packet for processing {"connection_id":185931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b316"} 
[2026-09-18 11:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166010112001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789710998000,"timestamp_ms":1789710998000,"timestamp_seconds":1789710998,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31699f0"} 
[2026-09-18 11:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:29: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-09-18 11:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3004455864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2291138560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249394135389552552,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3085959243,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951031,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154151,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633254694914,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,136,160,245,45,128,183,75,44,10,66,163,41,81,1,240,179,33,4,113,205,173,36,239,50,2,7,74,13,231,69,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:29:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553933504905216,"timestamp_seconds":5404553933504905.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166010112001,"66":12841,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166010112001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:29:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166010112001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":185931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:29:37] local.INFO: GPS data processed {"connection_id":185931,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:29:37] local.INFO: Acknowledgment sent {"connection_id":185931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:29:41] local.INFO: TCP Data received {"connection_id":185931,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b316ebf8012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b316ebf8012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:29:41] local.INFO: Processing buffer {"connection_id":185931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b316ebf8012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:29:41] local.INFO: Packet analysis {"connection_id":185931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b316"} 
[2026-09-18 11:29:41] local.INFO: Extracted packet for processing {"connection_id":185931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b316"} 
[2026-09-18 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166015488001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789711019000,"timestamp_ms":1789711019000,"timestamp_seconds":1789711019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b316ebf8"} 
[2026-09-18 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:29: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-09-18 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 11:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166015488001,"66":12852,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166015488001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:29:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166015488001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":185931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:29:41] local.INFO: GPS data processed {"connection_id":185931,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:29:41] local.INFO: Acknowledgment sent {"connection_id":185931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:29:53] local.INFO: TCP Data received {"connection_id":185930,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:29:53] local.INFO: Processing buffer {"connection_id":185930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:29:53] local.INFO: Packet analysis {"connection_id":185930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:29:53] local.INFO: Extracted packet for processing {"connection_id":185930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:29:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:29:53] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:29:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":185930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:29:53] local.INFO: GPS data processed {"connection_id":185930,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:29:53] local.INFO: Acknowledgment sent {"connection_id":185930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:30:12] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:30:12] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:30:12] local.INFO: IMEI packet received {"connection_id":188708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":188708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:30:17] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:30:17] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:30:17] local.INFO: IMEI packet received {"connection_id":188708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":188708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:30:19] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:30:19] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:30:19] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:30:19] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:30:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:30:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:30:19] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:30:19] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:30:26] local.INFO: TCP Data received {"connection_id":185932,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:26] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:26] local.INFO: IMEI packet received {"connection_id":185932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":185932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:30:26] local.INFO: TCP Data received {"connection_id":185932,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:26] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:26] local.INFO: IMEI packet received {"connection_id":185932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":185932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:30:31] local.INFO: TCP Data received {"connection_id":185932,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:31] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:30:31] local.INFO: IMEI packet received {"connection_id":185932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":185932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:30:32] local.INFO: TCP Data received {"connection_id":185932,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3173e00012d1824800721b7f0004b00d52c..."} 
[2026-09-18 11:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3173e00012d1824800721b7f0004b00d52c..."} 
[2026-09-18 11:30:32] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3173e00012d1824800721b7f0004b00d52c..."} 
[2026-09-18 11:30:32] local.INFO: Packet analysis {"connection_id":185932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:30:32] local.INFO: Extracted packet for processing {"connection_id":185932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166020864001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711040000,"timestamp_ms":1789711040000,"timestamp_seconds":1789711040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3173e00"} 
[2026-09-18 11:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:30: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-09-18 11:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 11:30: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-09-18 11:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166020864001,"66":12841,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166020864001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:30:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166020864001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":185932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:30:32] local.INFO: GPS data processed {"connection_id":185932,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:30:32] local.INFO: Acknowledgment sent {"connection_id":185932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:30:51] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:30:51] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:30:51] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:30:51] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:30:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:30:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:30:51] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:30:51] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:31:04] local.INFO: TCP Data received {"connection_id":185932,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:31:04] local.INFO: Processing buffer {"connection_id":185932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:31:04] local.INFO: Packet analysis {"connection_id":185932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:04] local.INFO: Extracted packet for processing {"connection_id":185932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166026240001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 11:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166026240001,"66":12841,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166026240001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:31:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166026240001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":185932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:31:04] local.INFO: GPS data processed {"connection_id":185932,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:31:04] local.INFO: Acknowledgment sent {"connection_id":185932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:31:17] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:31:17] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:31:17] local.INFO: IMEI packet received {"connection_id":186093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":186093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:31:22] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:31:22] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:31:22] local.INFO: IMEI packet received {"connection_id":186093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":186093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:31:24] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:31:24] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:31:24] local.INFO: Packet analysis {"connection_id":186093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:24] local.INFO: Extracted packet for processing {"connection_id":186093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:31:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:31:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":186093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:31:24] local.INFO: GPS data processed {"connection_id":186093,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:31:24] local.INFO: Acknowledgment sent {"connection_id":186093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:31:25] local.INFO: TCP Data received {"connection_id":186094,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:31:25] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:31:25] local.INFO: IMEI packet received {"connection_id":186094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":186094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:31:29] local.INFO: TCP Data received {"connection_id":186094,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:31:29] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:31:29] local.INFO: IMEI packet received {"connection_id":186094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":186094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:31:30] local.INFO: TCP Data received {"connection_id":186094,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b317e210012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b317e210012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:31:30] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b317e210012d1824800721b7f0004b00d52a..."} 
[2026-09-18 11:31:30] local.INFO: Packet analysis {"connection_id":186094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:30] local.INFO: Extracted packet for processing {"connection_id":186094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789711082000,"timestamp_ms":1789711082000,"timestamp_seconds":1789711082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b317e210"} 
[2026-09-18 11:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 11:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":12809,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":186094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:31:30] local.INFO: GPS data processed {"connection_id":186094,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:31:30] local.INFO: Acknowledgment sent {"connection_id":186094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:31:56] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:31:56] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:31:56] local.INFO: Packet analysis {"connection_id":186093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:56] local.INFO: Extracted packet for processing {"connection_id":186093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:31:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:31:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":186093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:31:56] local.INFO: GPS data processed {"connection_id":186093,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:31:56] local.INFO: Acknowledgment sent {"connection_id":186093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:32:02] local.INFO: TCP Data received {"connection_id":186094,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3183418012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3183418012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:32:02] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3183418012d1824800721b7f0004b00d52b..."} 
[2026-09-18 11:32:02] local.INFO: Packet analysis {"connection_id":186094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b318"} 
[2026-09-18 11:32:02] local.INFO: Extracted packet for processing {"connection_id":186094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b318"} 
[2026-09-18 11:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166036992001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260775309967360,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789711103000,"timestamp_ms":1789711103000,"timestamp_seconds":1789711103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3183418"} 
[2026-09-18 11:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:32: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-09-18 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3004560864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":179,"raw_value":1559327395563447424,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3085959243,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951031,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-6412899475341128164,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429674408038683945,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,136,160,144,45,128,183,75,43,10,66,62,44,235,1,240,52,179,33,4,113,205,71,36,239,49,2,7,124],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:32:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553929209937920,"timestamp_seconds":5404553929209938.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166036992001,"66":12776,"120":206,"28":31744,"24":0,"16":21260775309967360,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166036992001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260775309967360,"km_value":21260775309967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166036992001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":186094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:32:02] local.INFO: GPS data processed {"connection_id":186094,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:32:02] local.INFO: Acknowledgment sent {"connection_id":186094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:32:12] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:32:12] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:32:12] local.INFO: IMEI packet received {"connection_id":185933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":185933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:32:17] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:32:17] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:32:17] local.INFO: IMEI packet received {"connection_id":185933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":185933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:32:19] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:32:19] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:32:19] local.INFO: Packet analysis {"connection_id":185933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:32:19] local.INFO: Extracted packet for processing {"connection_id":185933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:32:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:32:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":185933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:32:19] local.INFO: GPS data processed {"connection_id":185933,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:32:19] local.INFO: Acknowledgment sent {"connection_id":185933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:32:25] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:32:25] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:32:25] local.INFO: IMEI packet received {"connection_id":186095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":186095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:32:30] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:32:30] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:32:30] local.INFO: IMEI packet received {"connection_id":186095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":186095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:32:32] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3188620012d1821c00721b4c8004d00d62c..."} 
[2026-09-18 11:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3188620012d1821c00721b4c8004d00d62c..."} 
[2026-09-18 11:32:32] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3188620012d1821c00721b4c8004d00d62c..."} 
[2026-09-18 11:32:32] local.INFO: Packet analysis {"connection_id":186095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b318"} 
[2026-09-18 11:32:32] local.INFO: Extracted packet for processing {"connection_id":186095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b318"} 
[2026-09-18 11:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649480,"longitude_deg":75.6556224,"latitude_deg":11.964948,"altitude":77,"angle":214,"satellites":44,"speed":4,"hex_longitude":"2d1821c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-18 11:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166042368001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260831144542208,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711124000,"timestamp_ms":1789711124000,"timestamp_seconds":1789711124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3188620"} 
[2026-09-18 11:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:32: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-09-18 11:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:32: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-09-18 11:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166042368001,"66":12798,"120":206,"28":31744,"24":4,"16":21260831144542208,"45":1739656124190683136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166042368001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:32:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260831144542208,"km_value":21260831144542.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166042368001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-09-18 11:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":186095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:32:32] local.INFO: GPS data processed {"connection_id":186095,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:32:32] local.INFO: Acknowledgment sent {"connection_id":186095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:32:51] local.INFO: TCP Data received {"connection_id":185933,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:32:51] local.INFO: Processing buffer {"connection_id":185933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:32:51] local.INFO: Packet analysis {"connection_id":185933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:32:51] local.INFO: Extracted packet for processing {"connection_id":185933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:32:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:32:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":185933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:32:51] local.INFO: GPS data processed {"connection_id":185933,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:32:51] local.INFO: Acknowledgment sent {"connection_id":185933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:33:04] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b318d828012d1821800721b460004d00d42a..."} 
[2026-09-18 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b318d828012d1821800721b460004d00d42a..."} 
[2026-09-18 11:33:04] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b318d828012d1821800721b460004d00d42a..."} 
[2026-09-18 11:33:04] local.INFO: Packet analysis {"connection_id":186095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b318"} 
[2026-09-18 11:33:04] local.INFO: Extracted packet for processing {"connection_id":186095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b318"} 
[2026-09-18 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-09-18 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166047744001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260839734476800,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004521984,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789711145000,"timestamp_ms":1789711145000,"timestamp_seconds":1789711145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b318d828"} 
[2026-09-18 11:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 11:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166047744001,"66":12722,"120":206,"28":31744,"24":0,"16":21260839734476800,"45":1738882068004521984},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166047744001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:33:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260839734476800,"km_value":21260839734476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004521984,"description":"Unknown IO ID 45"} 
[2026-09-18 11:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166047744001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004521984}} 
[2026-09-18 11:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":186095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:33:04] local.INFO: GPS data processed {"connection_id":186095,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:33:04] local.INFO: Acknowledgment sent {"connection_id":186095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:33:10] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:33:10] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:33:10] local.INFO: IMEI packet received {"connection_id":188709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":188709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:33:12] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:33:12] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:33:12] local.INFO: IMEI packet received {"connection_id":187387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":187387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:33:17] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:33:17] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:33:17] local.INFO: IMEI packet received {"connection_id":187387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":187387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:33:19] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:33:19] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3179008012d4883c006962c60004c00682a..."} 
[2026-09-18 11:33:19] local.INFO: Packet analysis {"connection_id":187387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:33:19] local.INFO: Extracted packet for processing {"connection_id":187387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b317"} 
[2026-09-18 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458165954560001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711061000,"timestamp_ms":1789711061000,"timestamp_seconds":1789711061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3179008"} 
[2026-09-18 11:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 11:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458165954560001,"66":26223,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458165954560001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:33:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:33:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458165954560001,"power":26223,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":187387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:33:19] local.INFO: GPS data processed {"connection_id":187387,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:33:19] local.INFO: Acknowledgment sent {"connection_id":187387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:33:25] local.INFO: TCP Data received {"connection_id":185934,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:33:25] local.INFO: Processing buffer {"connection_id":185934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:33:25] local.INFO: IMEI packet received {"connection_id":185934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":185934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:33:30] local.INFO: TCP Data received {"connection_id":185934,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:33:30] local.INFO: Processing buffer {"connection_id":185934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:33:30] local.INFO: IMEI packet received {"connection_id":185934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":185934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:33:32] local.INFO: TCP Data received {"connection_id":185934,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3192a30012d1820c00721b3b8004d00d42e..."} 
[2026-09-18 11:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3192a30012d1820c00721b3b8004d00d42e..."} 
[2026-09-18 11:33:32] local.INFO: Processing buffer {"connection_id":185934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3192a30012d1820c00721b3b8004d00d42e..."} 
[2026-09-18 11:33:32] local.INFO: Packet analysis {"connection_id":185934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b319"} 
[2026-09-18 11:33:32] local.INFO: Extracted packet for processing {"connection_id":185934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b319"} 
[2026-09-18 11:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649208,"longitude_deg":75.6555968,"latitude_deg":11.9649208,"altitude":77,"angle":212,"satellites":46,"speed":1,"hex_longitude":"2d1820c0","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-18 11:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166053120001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260852619378688,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711166000,"timestamp_ms":1789711166000,"timestamp_seconds":1789711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3192a30"} 
[2026-09-18 11:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:33: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-09-18 11:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 11:33: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-09-18 11:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166053120001,"66":12722,"120":206,"28":31744,"24":1,"16":21260852619378688,"45":1738811699260317696},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166053120001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:33:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260852619378688,"km_value":21260852619378.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-09-18 11:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166053120001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-09-18 11:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":185934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:33:32] local.INFO: GPS data processed {"connection_id":185934,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:33:32] local.INFO: Acknowledgment sent {"connection_id":185934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:33:50] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:33:50] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:33:50] local.INFO: Packet analysis {"connection_id":187387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:33:50] local.INFO: Extracted packet for processing {"connection_id":187387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:33:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:33:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":187387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:33:50] local.INFO: GPS data processed {"connection_id":187387,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:33:50] local.INFO: Acknowledgment sent {"connection_id":187387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:34:03] local.INFO: TCP Data received {"connection_id":185934,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3197c38012d1820000721b260004d00d12c..."} 
[2026-09-18 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3197c38012d1820000721b260004d00d12c..."} 
[2026-09-18 11:34:03] local.INFO: Processing buffer {"connection_id":185934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3197c38012d1820000721b260004d00d12c..."} 
[2026-09-18 11:34:03] local.INFO: Packet analysis {"connection_id":185934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b319"} 
[2026-09-18 11:34:03] local.INFO: Extracted packet for processing {"connection_id":185934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b319"} 
[2026-09-18 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":77,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-09-18 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166058496001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260869799247872,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027741696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789711187000,"timestamp_ms":1789711187000,"timestamp_seconds":1789711187,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3197c38"} 
[2026-09-18 11:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:34: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-09-18 11: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":178,"data_length":795,"current_offset":136} 
[2026-09-18 11:34: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-09-18 11:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166058496001,"66":12722,"120":206,"28":31744,"24":0,"16":21260869799247872,"45":1738600593027741696},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166058496001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:34:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260869799247872,"km_value":21260869799247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027741696,"description":"Unknown IO ID 45"} 
[2026-09-18 11:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166058496001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027741696}} 
[2026-09-18 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":185934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:34:04] local.INFO: GPS data processed {"connection_id":185934,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:34:04] local.INFO: Acknowledgment sent {"connection_id":185934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:34:12] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:34:12] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:34:12] local.INFO: IMEI packet received {"connection_id":185935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":185935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:34:17] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:34:17] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:34:17] local.INFO: IMEI packet received {"connection_id":185935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":185935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:34:19] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:34:19] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:34:19] local.INFO: Packet analysis {"connection_id":185935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:34:19] local.INFO: Extracted packet for processing {"connection_id":185935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:34:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:34:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:34:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":185935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:34:19] local.INFO: GPS data processed {"connection_id":185935,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:34:19] local.INFO: Acknowledgment sent {"connection_id":185935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:34:30] local.INFO: TCP Data received {"connection_id":186096,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:34:30] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:34:30] local.INFO: IMEI packet received {"connection_id":186096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":186096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:34:35] local.INFO: TCP Data received {"connection_id":186096,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:34:35] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:34:35] local.INFO: IMEI packet received {"connection_id":186096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":186096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:34:36] local.INFO: TCP Data received {"connection_id":186096,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b319ce40012d1820000721b260004d00d12b..."} 
[2026-09-18 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b319ce40012d1820000721b260004d00d12b..."} 
[2026-09-18 11:34:36] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b319ce40012d1820000721b260004d00d12b..."} 
[2026-09-18 11:34:36] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b319"} 
[2026-09-18 11:34:36] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b319"} 
[2026-09-18 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-09-18 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166063872001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260869799247872,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789711208000,"timestamp_ms":1789711208000,"timestamp_seconds":1789711208,"priority":1,"record_length":96,"hex_timestamp":"000001a0b319ce40"} 
[2026-09-18 11:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 11:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166063872001,"66":12689,"120":206,"28":31744,"24":0,"16":21260869799247872,"45":1738389486795120640},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166063872001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260869799247872,"km_value":21260869799247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-09-18 11:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166063872001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-09-18 11:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:34:36] local.INFO: GPS data processed {"connection_id":186096,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:34:36] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:34:51] local.INFO: TCP Data received {"connection_id":185935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:34:51] local.INFO: Processing buffer {"connection_id":185935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:34:51] local.INFO: Packet analysis {"connection_id":185935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:34:51] local.INFO: Extracted packet for processing {"connection_id":185935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:34:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:34:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":185935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:34:51] local.INFO: GPS data processed {"connection_id":185935,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:34:51] local.INFO: Acknowledgment sent {"connection_id":185935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:35:08] local.INFO: TCP Data received {"connection_id":186096,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31a2048012d1820000721b260004d00d12b..."} 
[2026-09-18 11:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31a2048012d1820000721b260004d00d12b..."} 
[2026-09-18 11:35:08] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31a2048012d1820000721b260004d00d12b..."} 
[2026-09-18 11:35:08] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31a"} 
[2026-09-18 11:35:08] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31a"} 
[2026-09-18 11:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-09-18 11:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166069248001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260869799247872,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789711229000,"timestamp_ms":1789711229000,"timestamp_seconds":1789711229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31a2048"} 
[2026-09-18 11:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:35: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-09-18 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 11:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166069248001,"66":12711,"120":206,"28":31744,"24":0,"16":21260869799247872,"45":1738389486795120640},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166069248001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:35:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260869799247872,"km_value":21260869799247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-09-18 11:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166069248001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-09-18 11:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:35:08] local.INFO: GPS data processed {"connection_id":186096,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:35:08] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:35:12] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:35:12] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:35:12] local.INFO: IMEI packet received {"connection_id":186097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":186097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:35:17] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:35:17] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:35:17] local.INFO: IMEI packet received {"connection_id":186097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":186097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:35:19] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:35:19] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:35:19] local.INFO: Packet analysis {"connection_id":186097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:35:19] local.INFO: Extracted packet for processing {"connection_id":186097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:35:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:35:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:35:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":186097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:35:19] local.INFO: GPS data processed {"connection_id":186097,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:35:19] local.INFO: Acknowledgment sent {"connection_id":186097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:35:25] local.INFO: TCP Data received {"connection_id":188710,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:35:25] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:35:25] local.INFO: IMEI packet received {"connection_id":188710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":188710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:35:30] local.INFO: TCP Data received {"connection_id":188710,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:35:30] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:35:30] local.INFO: IMEI packet received {"connection_id":188710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":188710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:35:32] local.INFO: TCP Data received {"connection_id":188710,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31a7250012d1820000721b260004d00d12b..."} 
[2026-09-18 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31a7250012d1820000721b260004d00d12b..."} 
[2026-09-18 11:35:32] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31a7250012d1820000721b260004d00d12b..."} 
[2026-09-18 11:35:32] local.INFO: Packet analysis {"connection_id":188710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31a"} 
[2026-09-18 11:35:32] local.INFO: Extracted packet for processing {"connection_id":188710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31a"} 
[2026-09-18 11:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166074624001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260869799247872,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711250000,"timestamp_ms":1789711250000,"timestamp_seconds":1789711250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31a7250"} 
[2026-09-18 11:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:35: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-09-18 11: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":167,"data_length":795,"current_offset":136} 
[2026-09-18 11:35: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-09-18 11: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-09-18 11:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166074624001,"66":12678,"120":206,"28":31744,"24":0,"16":21260869799247872,"45":1738389486795120640},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166074624001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:35:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260869799247872,"km_value":21260869799247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-09-18 11:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166074624001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-09-18 11:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":188710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:35:32] local.INFO: GPS data processed {"connection_id":188710,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:35:32] local.INFO: Acknowledgment sent {"connection_id":188710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:35:51] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:35:51] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:35:51] local.INFO: Packet analysis {"connection_id":186097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:35:51] local.INFO: Extracted packet for processing {"connection_id":186097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:35: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:35:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:35:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":186097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:35:51] local.INFO: GPS data processed {"connection_id":186097,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:35:51] local.INFO: Acknowledgment sent {"connection_id":186097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:36:03] local.INFO: TCP Data received {"connection_id":188710,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31df8a8012d181e000721aed8004c00d22c..."} 
[2026-09-18 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31df8a8012d181e000721aed8004c00d22c..."} 
[2026-09-18 11:36:03] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31df8a8012d181e000721aed8004c00d22c..."} 
[2026-09-18 11:36:03] local.INFO: Packet analysis {"connection_id":188710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31d"} 
[2026-09-18 11:36:03] local.INFO: Extracted packet for processing {"connection_id":188710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31d"} 
[2026-09-18 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647960,"longitude_deg":75.6555264,"latitude_deg":11.964796,"altitude":76,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166133760001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260925633822720,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841467904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789711481000,"timestamp_ms":1789711481000,"timestamp_seconds":1789711481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31df8a8"} 
[2026-09-18 11:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:36: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-09-18 11: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":14,"data_length":795,"current_offset":136} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3004938864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2962227276,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2292580352,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,136,160,84,45,174,76,44,10,66,2,176,192,1,240,101,179,33,4,113,205,12,32,96,43,239,49,75,7,77,231,70,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:36:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608241892851712,"timestamp_seconds":5476608241892852.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166133760001,"66":12558,"120":206,"28":31744,"24":0,"16":21260925633822720,"45":1737826536841467904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166133760001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:36:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260925633822720,"km_value":21260925633822.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841467904,"description":"Unknown IO ID 45"} 
[2026-09-18 11:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166133760001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841467904}} 
[2026-09-18 11:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":188710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:36:03] local.INFO: GPS data processed {"connection_id":188710,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:36:03] local.INFO: Acknowledgment sent {"connection_id":188710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:36:12] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:36:12] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:36:12] local.INFO: IMEI packet received {"connection_id":185936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":185936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:36:17] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:36:17] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:36:17] local.INFO: IMEI packet received {"connection_id":185936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":185936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:36:19] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:36:19] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:36:19] local.INFO: Packet analysis {"connection_id":185936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:36:19] local.INFO: Extracted packet for processing {"connection_id":185936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:36:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:36:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":185936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:36:19] local.INFO: GPS data processed {"connection_id":185936,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:36:19] local.INFO: Acknowledgment sent {"connection_id":185936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:36:25] local.INFO: TCP Data received {"connection_id":188711,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:36:25] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:36:25] local.INFO: IMEI packet received {"connection_id":188711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":188711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:36:30] local.INFO: TCP Data received {"connection_id":188711,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:36:30] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:36:30] local.INFO: IMEI packet received {"connection_id":188711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":188711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:36:32] local.INFO: TCP Data received {"connection_id":188711,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31e4ab0012d181e000721aed8004c00d229..."} 
[2026-09-18 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31e4ab0012d181e000721aed8004c00d229..."} 
[2026-09-18 11:36:32] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31e4ab0012d181e000721aed8004c00d229..."} 
[2026-09-18 11:36:32] local.INFO: Packet analysis {"connection_id":188711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31e"} 
[2026-09-18 11:36:32] local.INFO: Extracted packet for processing {"connection_id":188711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31e"} 
[2026-09-18 11:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647960,"longitude_deg":75.6555264,"latitude_deg":11.964796,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166139136001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260925633822720,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841467904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711502000,"timestamp_ms":1789711502000,"timestamp_seconds":1789711502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31e4ab0"} 
[2026-09-18 11:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:36: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-09-18 11: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":14,"data_length":795,"current_offset":136} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3004959864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2961178701,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2293039104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,136,160,166,45,174,76,46,10,66,84,44,2,1,240,14,179,33,4,113,205,94,30,144,239,49,75,7,77,231,70,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:36:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608233302917120,"timestamp_seconds":5476608233302917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166139136001,"66":12558,"120":206,"28":31744,"24":0,"16":21260925633822720,"45":1737826536841467904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166139136001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260925633822720,"km_value":21260925633822.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841467904,"description":"Unknown IO ID 45"} 
[2026-09-18 11:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166139136001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841467904}} 
[2026-09-18 11:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":188711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:36:32] local.INFO: GPS data processed {"connection_id":188711,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:36:32] local.INFO: Acknowledgment sent {"connection_id":188711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:36:51] local.INFO: TCP Data received {"connection_id":185936,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:36:51] local.INFO: Processing buffer {"connection_id":185936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:36:51] local.INFO: Packet analysis {"connection_id":185936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:36:51] local.INFO: Extracted packet for processing {"connection_id":185936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:36:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:36:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":185936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:36:51] local.INFO: GPS data processed {"connection_id":185936,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:36:51] local.INFO: Acknowledgment sent {"connection_id":185936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:37:03] local.INFO: TCP Data received {"connection_id":188711,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31e9cb8012d181e000721aed8004c00d22b..."} 
[2026-09-18 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31e9cb8012d181e000721aed8004c00d22b..."} 
[2026-09-18 11:37:03] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31e9cb8012d181e000721aed8004c00d22b..."} 
[2026-09-18 11:37:03] local.INFO: Packet analysis {"connection_id":188711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31e"} 
[2026-09-18 11:37:03] local.INFO: Extracted packet for processing {"connection_id":188711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31e"} 
[2026-09-18 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647960,"longitude_deg":75.6555264,"latitude_deg":11.964796,"altitude":76,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-09-18 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166144512001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260925633822720,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841467904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789711523000,"timestamp_ms":1789711523000,"timestamp_seconds":1789711523,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31e9cb8"} 
[2026-09-18 11:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:37: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-09-18 11: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-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3004980864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2933391436,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2293039104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,136,160,248,45,174,76,44,10,66,166,46,84,1,240,36,179,33,4,113,205,176,30,128,239,49,2,75,7,231,70,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:37:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608220418015232,"timestamp_seconds":5476608220418015.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166144512001,"66":12558,"120":206,"28":31744,"24":0,"16":21260925633822720,"45":1737826536841467904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166144512001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:37:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260925633822720,"km_value":21260925633822.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841467904,"description":"Unknown IO ID 45"} 
[2026-09-18 11:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166144512001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841467904}} 
[2026-09-18 11:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":188711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:37:03] local.INFO: GPS data processed {"connection_id":188711,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:37:03] local.INFO: Acknowledgment sent {"connection_id":188711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:37:17] local.INFO: TCP Data received {"connection_id":187388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:37:17] local.INFO: Processing buffer {"connection_id":187388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:37:17] local.INFO: IMEI packet received {"connection_id":187388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":187388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:37:22] local.INFO: TCP Data received {"connection_id":187388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:37:22] local.INFO: Processing buffer {"connection_id":187388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:37:22] local.INFO: IMEI packet received {"connection_id":187388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":187388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:37:24] local.INFO: TCP Data received {"connection_id":187388,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:37:24] local.INFO: Processing buffer {"connection_id":187388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:37:24] local.INFO: Packet analysis {"connection_id":187388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:37:24] local.INFO: Extracted packet for processing {"connection_id":187388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:37:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:37: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-09-18 11:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:37:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:37:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":187388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:37:24] local.INFO: GPS data processed {"connection_id":187388,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:37:24] local.INFO: Acknowledgment sent {"connection_id":187388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:37:25] local.INFO: TCP Data received {"connection_id":187389,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:37:25] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:37:25] local.INFO: IMEI packet received {"connection_id":187389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":187389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:37:28] local.INFO: TCP Data received {"connection_id":187388,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:37:28] local.INFO: Processing buffer {"connection_id":187388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:37:28] local.INFO: Packet analysis {"connection_id":187388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:37:28] local.INFO: Extracted packet for processing {"connection_id":187388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:37:28] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:37:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:37:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":187388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:37:28] local.INFO: GPS data processed {"connection_id":187388,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:37:28] local.INFO: Acknowledgment sent {"connection_id":187388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:37:31] local.INFO: TCP Data received {"connection_id":187389,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:37:31] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:37:31] local.INFO: IMEI packet received {"connection_id":187389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":187389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:37:32] local.INFO: TCP Data received {"connection_id":187389,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31eeec0012d181e000721aed8004c00d22c..."} 
[2026-09-18 11:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31eeec0012d181e000721aed8004c00d22c..."} 
[2026-09-18 11:37:32] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31eeec0012d181e000721aed8004c00d22c..."} 
[2026-09-18 11:37:32] local.INFO: Packet analysis {"connection_id":187389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31e"} 
[2026-09-18 11:37:32] local.INFO: Extracted packet for processing {"connection_id":187389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31e"} 
[2026-09-18 11:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647960,"longitude_deg":75.6555264,"latitude_deg":11.964796,"altitude":76,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166149888001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260925633822720,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841467904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711544000,"timestamp_ms":1789711544000,"timestamp_seconds":1789711544,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31eeec0"} 
[2026-09-18 11:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:37: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-09-18 11: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":14,"data_length":795,"current_offset":136} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3005001864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015376,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2933391436,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2293432320,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 11:37:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,136,160,74,45,174,76,41,10,66,248,44,166,1,240,14,179,33,4,113,205,2,30,216,239,49,75,7,77,231,70,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 11:37:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608229007949824,"timestamp_seconds":5476608229007950.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166149888001,"66":13972,"120":206,"28":31744,"24":0,"16":21260925633822720,"45":1737826536841467904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 11:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166149888001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:37:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 11:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260925633822720,"km_value":21260925633822.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841467904,"description":"Unknown IO ID 45"} 
[2026-09-18 11:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166149888001,"power":13972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841467904}} 
[2026-09-18 11:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":187389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:37:32] local.INFO: GPS data processed {"connection_id":187389,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:37:32] local.INFO: Acknowledgment sent {"connection_id":187389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:38:03] local.INFO: TCP Data received {"connection_id":187389,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32032f8012d186540072183a00051000b2d..."} 
[2026-09-18 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32032f8012d186540072183a00051000b2d..."} 
[2026-09-18 11:38:03] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32032f8012d186540072183a00051000b2d..."} 
[2026-09-18 11:38:03] local.INFO: Packet analysis {"connection_id":187389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:03] local.INFO: Extracted packet for processing {"connection_id":187389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756573504,"raw_latitude":119636896,"longitude_deg":75.6573504,"latitude_deg":11.9636896,"altitude":81,"angle":11,"satellites":45,"speed":7,"hex_longitude":"2d186540","hex_latitude":"072183a0","is_valid_coordinates":true} 
[2026-09-18 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166176256001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262016555515904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260185051136,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789711627000,"timestamp_ms":1789711627000,"timestamp_seconds":1789711627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32032f8"} 
[2026-09-18 11:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:38: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-09-18 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 11:38: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-09-18 11:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166176256001,"66":14374,"121":206,"28":31744,"24":7,"16":21262016555515904,"45":1757811260185051136},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166176256001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262016555515904,"km_value":21262016555515.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260185051136,"description":"Unknown IO ID 45"} 
[2026-09-18 11:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166176256001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1757811260185051136}} 
[2026-09-18 11:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":187389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:38:03] local.INFO: GPS data processed {"connection_id":187389,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:38:03] local.INFO: Acknowledgment sent {"connection_id":187389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:38:14] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:38:14] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:38:14] local.INFO: IMEI packet received {"connection_id":188712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":188712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:38:17] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:38:17] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:38:17] local.INFO: IMEI packet received {"connection_id":188712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":188712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:38:19] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:38:19] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b31c27d0012d4883c006962c60004c00682c..."} 
[2026-09-18 11:38:19] local.INFO: Packet analysis {"connection_id":188712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:38:19] local.INFO: Extracted packet for processing {"connection_id":188712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b31c"} 
[2026-09-18 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166031616001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711362000,"timestamp_ms":1789711362000,"timestamp_seconds":1789711362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b31c27d0"} 
[2026-09-18 11:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 11:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166031616001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166031616001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:38:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:38:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166031616001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":188712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:38:19] local.INFO: GPS data processed {"connection_id":188712,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:38:19] local.INFO: Acknowledgment sent {"connection_id":188712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:38:21] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:38:21] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:38:21] local.INFO: Packet analysis {"connection_id":188712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:21] local.INFO: Extracted packet for processing {"connection_id":188712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:38:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:38:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":188712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:38:21] local.INFO: GPS data processed {"connection_id":188712,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:38:21] local.INFO: Acknowledgment sent {"connection_id":188712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:38:24] local.INFO: TCP Data received {"connection_id":188713,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:24] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:24] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:38:25] local.INFO: TCP Data received {"connection_id":188713,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:25] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:25] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:38:30] local.INFO: TCP Data received {"connection_id":188713,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:30] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:38:30] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:38:32] local.INFO: TCP Data received {"connection_id":188713,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3204298012d186580072187b00051016429..."} 
[2026-09-18 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3204298012d186580072187b00051016429..."} 
[2026-09-18 11:38:32] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3204298012d186580072187b00051016429..."} 
[2026-09-18 11:38:32] local.INFO: Packet analysis {"connection_id":188713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:32] local.INFO: Extracted packet for processing {"connection_id":188713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119637936,"longitude_deg":75.6573568,"latitude_deg":11.9637936,"altitude":81,"angle":356,"satellites":41,"speed":9,"hex_longitude":"2d186580","hex_latitude":"072187b0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166176512001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262068095123456,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757881628929269760,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711631000,"timestamp_ms":1789711631000,"timestamp_seconds":1789711631,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3204298"} 
[2026-09-18 11:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:38: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-09-18 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 11:38: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-09-18 11: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-09-18 11:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166176512001,"66":14048,"121":206,"28":31744,"24":9,"16":21262068095123456,"45":1757881628929269760},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166176512001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262068095123456,"km_value":21262068095123.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757881628929269760,"description":"Unknown IO ID 45"} 
[2026-09-18 11:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166176512001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1757881628929269760}} 
[2026-09-18 11:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":188713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:38:32] local.INFO: GPS data processed {"connection_id":188713,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:38:32] local.INFO: Acknowledgment sent {"connection_id":188713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:38:42] local.INFO: TCP Data received {"connection_id":185937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:38:42] local.INFO: Processing buffer {"connection_id":185937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:38:42] local.INFO: IMEI packet received {"connection_id":185937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":185937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:38:53] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:38:53] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:38:53] local.INFO: Packet analysis {"connection_id":188712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:53] local.INFO: Extracted packet for processing {"connection_id":188712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:38:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:38:53] 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-09-18 11:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:38:53] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:38:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":188712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:38:53] local.INFO: GPS data processed {"connection_id":188712,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:38:53] local.INFO: Acknowledgment sent {"connection_id":188712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:39:03] local.INFO: TCP Data received {"connection_id":188713,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3204680012d186580072188900051000628..."} 
[2026-09-18 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3204680012d186580072188900051000628..."} 
[2026-09-18 11:39:03] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3204680012d186580072188900051000628..."} 
[2026-09-18 11:39:03] local.INFO: Packet analysis {"connection_id":188713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:03] local.INFO: Extracted packet for processing {"connection_id":188713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119638160,"longitude_deg":75.6573568,"latitude_deg":11.963816,"altitude":81,"angle":6,"satellites":40,"speed":9,"hex_longitude":"2d186580","hex_latitude":"07218890","is_valid_coordinates":true} 
[2026-09-18 11:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166177536001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262076685058048,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997673713664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789711632000,"timestamp_ms":1789711632000,"timestamp_seconds":1789711632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3204680"} 
[2026-09-18 11:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:39: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-09-18 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 11:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166177536001,"66":14080,"121":206,"28":31744,"24":9,"16":21262076685058048,"45":1757951997673713664},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166177536001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262076685058048,"km_value":21262076685058.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997673713664,"description":"Unknown IO ID 45"} 
[2026-09-18 11:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166177536001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1757951997673713664}} 
[2026-09-18 11:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":188713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:39:04] local.INFO: GPS data processed {"connection_id":188713,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:39:04] local.INFO: Acknowledgment sent {"connection_id":188713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:39:12] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:39:12] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:39:12] local.INFO: IMEI packet received {"connection_id":186098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":186098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:39:17] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:39:17] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:39:17] local.INFO: IMEI packet received {"connection_id":186098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":186098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:39:19] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:39:19] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:39:19] local.INFO: Packet analysis {"connection_id":186098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:19] local.INFO: Extracted packet for processing {"connection_id":186098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:39:19] 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-09-18 11:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:39:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:39:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":186098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:39:19] local.INFO: GPS data processed {"connection_id":186098,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:39:19] local.INFO: Acknowledgment sent {"connection_id":186098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:39:25] local.INFO: TCP Data received {"connection_id":185938,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:25] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:25] local.INFO: IMEI packet received {"connection_id":185938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":185938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:39:27] local.INFO: TCP Data received {"connection_id":185938,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:27] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:27] local.INFO: IMEI packet received {"connection_id":185938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":185938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:39:31] local.INFO: TCP Data received {"connection_id":185938,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:31] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:39:31] local.INFO: IMEI packet received {"connection_id":185938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":185938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:39:32] local.INFO: TCP Data received {"connection_id":185938,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3209888012d1866c007218ce8005000112a..."} 
[2026-09-18 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3209888012d1866c007218ce8005000112a..."} 
[2026-09-18 11:39:32] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3209888012d1866c007218ce8005000112a..."} 
[2026-09-18 11:39:32] local.INFO: Packet analysis {"connection_id":185938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:32] local.INFO: Extracted packet for processing {"connection_id":185938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119639272,"longitude_deg":75.6573888,"latitude_deg":11.9639272,"altitude":80,"angle":17,"satellites":42,"speed":4,"hex_longitude":"2d1866c0","hex_latitude":"07218ce8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166177792001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262162584403968,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997673771008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711653000,"timestamp_ms":1789711653000,"timestamp_seconds":1789711653,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3209888"} 
[2026-09-18 11:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:39: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-09-18 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3005227864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2188378193,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3221692802,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2309619712,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,137,160,66,45,128,135,81,41,10,50,64,131,47,1,240,38,179,33,4,113,205,7,39,99,48,44,239,54,2,75,14],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 11:39:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836671885941211136,"timestamp_seconds":5836671885941211.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166177792001,"66":14428,"121":206,"28":31744,"24":4,"16":21262162584403968,"45":1757951997673771008},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166177792001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262162584403968,"km_value":21262162584403.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997673771008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166177792001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1757951997673771008}} 
[2026-09-18 11:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":185938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:39:32] local.INFO: GPS data processed {"connection_id":185938,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:39:32] local.INFO: Acknowledgment sent {"connection_id":185938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:39:51] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:39:51] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:39:51] local.INFO: Packet analysis {"connection_id":186098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:51] local.INFO: Extracted packet for processing {"connection_id":186098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:39:51] 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-09-18 11:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:39:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:39:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":186098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:39:51] local.INFO: GPS data processed {"connection_id":186098,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:39:51] local.INFO: Acknowledgment sent {"connection_id":186098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:40:04] local.INFO: TCP Data received {"connection_id":185938,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320a058012d18670007218dd0005000212a..."} 
[2026-09-18 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320a058012d18670007218dd0005000212a..."} 
[2026-09-18 11:40:04] local.INFO: Processing buffer {"connection_id":185938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320a058012d18670007218dd0005000212a..."} 
[2026-09-18 11:40:04] local.INFO: Packet analysis {"connection_id":185938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:40:04] local.INFO: Extracted packet for processing {"connection_id":185938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756573952,"raw_latitude":119639504,"longitude_deg":75.6573952,"latitude_deg":11.9639504,"altitude":80,"angle":33,"satellites":42,"speed":5,"hex_longitude":"2d186700","hex_latitude":"07218dd0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166183168001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262175469305856,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758303841394944000,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789711655000,"timestamp_ms":1789711655000,"timestamp_seconds":1789711655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320a058"} 
[2026-09-18 11:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:40: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-09-18 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 11:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166183168001,"66":14407,"121":206,"28":31744,"24":5,"16":21262175469305856,"45":1758303841394944000},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166183168001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:40:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262175469305856,"km_value":21262175469305.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758303841394944000,"description":"Unknown IO ID 45"} 
[2026-09-18 11:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166183168001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1758303841394944000}} 
[2026-09-18 11:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":185938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:40:04] local.INFO: GPS data processed {"connection_id":185938,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:40:04] local.INFO: Acknowledgment sent {"connection_id":185938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:40:12] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:40:12] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:40:12] local.INFO: IMEI packet received {"connection_id":188714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":188714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:40:17] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:40:17] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:40:17] local.INFO: IMEI packet received {"connection_id":188714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":188714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:40:19] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:40:19] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:40:19] local.INFO: Packet analysis {"connection_id":188714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:40:19] local.INFO: Extracted packet for processing {"connection_id":188714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:40:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:40:19] 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-09-18 11:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:40:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:40:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":188714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:40:19] local.INFO: GPS data processed {"connection_id":188714,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:40:19] local.INFO: Acknowledgment sent {"connection_id":188714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:40:25] local.INFO: TCP Data received {"connection_id":188715,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:25] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:25] local.INFO: IMEI packet received {"connection_id":188715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":188715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:40:25] local.INFO: TCP Data received {"connection_id":188715,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:25] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:25] local.INFO: IMEI packet received {"connection_id":188715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":188715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:40:28] local.INFO: TCP Data received {"connection_id":188715,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:28] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:28] local.INFO: IMEI packet received {"connection_id":188715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":188715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:40:30] local.INFO: TCP Data received {"connection_id":188715,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:30] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:40:30] local.INFO: IMEI packet received {"connection_id":188715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":188715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:40:31] local.INFO: TCP Data received {"connection_id":188715,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3226578012d186b8007218e20005000a828..."} 
[2026-09-18 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3226578012d186b8007218e20005000a828..."} 
[2026-09-18 11:40:31] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3226578012d186b8007218e20005000a828..."} 
[2026-09-18 11:40:31] local.INFO: Packet analysis {"connection_id":188715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b322"} 
[2026-09-18 11:40:31] local.INFO: Extracted packet for processing {"connection_id":188715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b322"} 
[2026-09-18 11:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756575104,"raw_latitude":119639584,"longitude_deg":75.6575104,"latitude_deg":11.9639584,"altitude":80,"angle":168,"satellites":40,"speed":0,"hex_longitude":"2d186b80","hex_latitude":"07218e20","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166208000001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262248483749888,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759640847534399488,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789711771000,"timestamp_ms":1789711771000,"timestamp_seconds":1789711771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3226578"} 
[2026-09-18 11:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 11:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166208000001,"66":14048,"121":206,"28":31744,"24":0,"16":21262248483749888,"45":1759640847534399488},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166208000001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:40:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262248483749888,"km_value":21262248483749.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759640847534399488,"description":"Unknown IO ID 45"} 
[2026-09-18 11:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166208000001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1759640847534399488}} 
[2026-09-18 11:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":188715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:40:31] local.INFO: GPS data processed {"connection_id":188715,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:40:31] local.INFO: Acknowledgment sent {"connection_id":188715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:40:50] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:40:50] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:40:50] local.INFO: Packet analysis {"connection_id":188714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:40:50] local.INFO: Extracted packet for processing {"connection_id":188714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:40:50] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:40:50] 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-09-18 11: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-09-18 11:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:40:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:40:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":188714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:40:50] local.INFO: GPS data processed {"connection_id":188714,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:40:50] local.INFO: Acknowledgment sent {"connection_id":188714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:41:02] local.INFO: TCP Data received {"connection_id":188715,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b322a3f8012d186b8007218ea80051015729..."} 
[2026-09-18 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b322a3f8012d186b8007218ea80051015729..."} 
[2026-09-18 11:41:02] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b322a3f8012d186b8007218ea80051015729..."} 
[2026-09-18 11:41:02] local.INFO: Packet analysis {"connection_id":188715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b322"} 
[2026-09-18 11:41:02] local.INFO: Extracted packet for processing {"connection_id":188715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b322"} 
[2026-09-18 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756575104,"raw_latitude":119639720,"longitude_deg":75.6575104,"latitude_deg":11.963972,"altitude":81,"angle":343,"satellites":41,"speed":2,"hex_longitude":"2d186b80","hex_latitude":"07218ea8","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166213376001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262257073684480,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759640847534399488,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789711787000,"timestamp_ms":1789711787000,"timestamp_seconds":1789711787,"priority":1,"record_length":96,"hex_timestamp":"000001a0b322a3f8"} 
[2026-09-18 11:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:41: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-09-18 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 11:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166213376001,"66":14428,"121":206,"28":31744,"24":2,"16":21262257073684480,"45":1759640847534399488},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166213376001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:41:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262257073684480,"km_value":21262257073684.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759640847534399488,"description":"Unknown IO ID 45"} 
[2026-09-18 11:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166213376001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1759640847534399488}} 
[2026-09-18 11:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":188715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:41:02] local.INFO: GPS data processed {"connection_id":188715,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:41:02] local.INFO: Acknowledgment sent {"connection_id":188715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:41:12] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:41:12] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:41:12] local.INFO: IMEI packet received {"connection_id":185939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":185939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:41:17] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:41:17] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:41:17] local.INFO: IMEI packet received {"connection_id":185939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":185939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:41:19] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:41:19] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:41:19] local.INFO: Packet analysis {"connection_id":185939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:41:19] local.INFO: Extracted packet for processing {"connection_id":185939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:41:19] 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-09-18 11:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:41:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:41:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":185939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:41:19] local.INFO: GPS data processed {"connection_id":185939,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:41:19] local.INFO: Acknowledgment sent {"connection_id":185939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:41:29] local.INFO: TCP Data received {"connection_id":188716,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:29] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:29] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:41:30] local.INFO: TCP Data received {"connection_id":188716,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:30] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:30] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:41:31] local.INFO: TCP Data received {"connection_id":188716,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:31] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:41:31] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:41:32] local.INFO: TCP Data received {"connection_id":188716,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3233480012d186a00072181780050005a2b..."} 
[2026-09-18 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3233480012d186a00072181780050005a2b..."} 
[2026-09-18 11:41:32] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3233480012d186a00072181780050005a2b..."} 
[2026-09-18 11:41:32] local.INFO: Packet analysis {"connection_id":188716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b323"} 
[2026-09-18 11:41:32] local.INFO: Extracted packet for processing {"connection_id":188716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b323"} 
[2026-09-18 11:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756574720,"raw_latitude":119636344,"longitude_deg":75.657472,"latitude_deg":11.9636344,"altitude":80,"angle":90,"satellites":43,"speed":14,"hex_longitude":"2d186a00","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166226432001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262523361656832,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758444578882564096,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789711824000,"timestamp_ms":1789711824000,"timestamp_seconds":1789711824,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3233480"} 
[2026-09-18 11:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:41: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-09-18 11: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 11:41: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-09-18 11: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-09-18 11:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166226432001,"66":13102,"121":206,"28":31744,"24":14,"16":21262523361656832,"45":1758444578882564096},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166226432001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:41:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262523361656832,"km_value":21262523361656.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758444578882564096,"description":"Unknown IO ID 45"} 
[2026-09-18 11:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166226432001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1758444578882564096}} 
[2026-09-18 11:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":188716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:41:32] local.INFO: GPS data processed {"connection_id":188716,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:41:32] local.INFO: Acknowledgment sent {"connection_id":188716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:41:51] local.INFO: TCP Data received {"connection_id":185939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:41:51] local.INFO: Processing buffer {"connection_id":185939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:41:51] local.INFO: Packet analysis {"connection_id":185939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:41:51] local.INFO: Extracted packet for processing {"connection_id":185939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:41:51] 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-09-18 11:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:41:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:41:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":185939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:41:51] local.INFO: GPS data processed {"connection_id":185939,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:41:51] local.INFO: Acknowledgment sent {"connection_id":185939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:42:04] local.INFO: TCP Data received {"connection_id":188716,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3236b30012d1885c0072180e0005200692c..."} 
[2026-09-18 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3236b30012d1885c0072180e0005200692c..."} 
[2026-09-18 11:42:04] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3236b30012d1885c0072180e0005200692c..."} 
[2026-09-18 11:42:04] local.INFO: Packet analysis {"connection_id":188716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b323"} 
[2026-09-18 11:42:04] local.INFO: Extracted packet for processing {"connection_id":188716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b323"} 
[2026-09-18 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756581824,"raw_latitude":119636192,"longitude_deg":75.6581824,"latitude_deg":11.9636192,"altitude":82,"angle":105,"satellites":44,"speed":26,"hex_longitude":"2d1885c0","hex_latitude":"072180e0","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166226944001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262862664073216,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759218635068504064,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789711838000,"timestamp_ms":1789711838000,"timestamp_seconds":1789711838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3236b30"} 
[2026-09-18 11:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:42: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-09-18 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 11:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166226944001,"66":13135,"121":206,"28":31744,"24":26,"16":21262862664073216,"45":1759218635068504064},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166226944001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:42:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262862664073216,"km_value":21262862664073.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759218635068504064,"description":"Unknown IO ID 45"} 
[2026-09-18 11:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166226944001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1759218635068504064}} 
[2026-09-18 11:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":188716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:42:04] local.INFO: GPS data processed {"connection_id":188716,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:42:04] local.INFO: Acknowledgment sent {"connection_id":188716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:42:17] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:42:17] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:42:17] local.INFO: IMEI packet received {"connection_id":186099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":186099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:42:22] local.INFO: TCP Data received {"connection_id":185940,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:22] local.INFO: Processing buffer {"connection_id":185940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:22] local.INFO: IMEI packet received {"connection_id":185940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":185940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:42:23] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:42:23] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:42:23] local.INFO: IMEI packet received {"connection_id":186099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":186099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:42:24] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:42:24] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:42:24] local.INFO: Packet analysis {"connection_id":186099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:42:24] local.INFO: Extracted packet for processing {"connection_id":186099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:42:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:42:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:42:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":186099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:42:24] local.INFO: GPS data processed {"connection_id":186099,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:42:24] local.INFO: Acknowledgment sent {"connection_id":186099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:42:25] local.INFO: TCP Data received {"connection_id":185940,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:25] local.INFO: Processing buffer {"connection_id":185940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:25] local.INFO: IMEI packet received {"connection_id":185940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":185940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:42:28] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:42:28] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:42:28] local.INFO: Packet analysis {"connection_id":186099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:42:28] local.INFO: Extracted packet for processing {"connection_id":186099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:42:28] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:42:28] 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-09-18 11:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:42:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:42:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":186099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:42:28] local.INFO: GPS data processed {"connection_id":186099,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:42:28] local.INFO: Acknowledgment sent {"connection_id":186099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:42:30] local.INFO: TCP Data received {"connection_id":185940,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:30] local.INFO: Processing buffer {"connection_id":185940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:42:30] local.INFO: IMEI packet received {"connection_id":185940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":185940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:42:31] local.INFO: TCP Data received {"connection_id":185940,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3243650012d18d7400720fe80003f00982b..."} 
[2026-09-18 11:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3243650012d18d7400720fe80003f00982b..."} 
[2026-09-18 11:42:31] local.INFO: Processing buffer {"connection_id":185940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3243650012d18d7400720fe80003f00982b..."} 
[2026-09-18 11:42:31] local.INFO: Packet analysis {"connection_id":185940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b324"} 
[2026-09-18 11:42:31] local.INFO: Extracted packet for processing {"connection_id":185940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b324"} 
[2026-09-18 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602816,"longitude_deg":75.6602688,"latitude_deg":11.9602816,"altitude":63,"angle":152,"satellites":43,"speed":38,"hex_longitude":"2d18d740","hex_latitude":"0720fe80","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166243328001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21264941428244480,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824229888,"note":"Value kept but may cause issues"} 
[2026-09-18 11:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789711890000,"timestamp_ms":1789711890000,"timestamp_seconds":1789711890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3243650"} 
[2026-09-18 11:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 11:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166243328001,"66":12558,"121":206,"28":31744,"24":38,"16":21264941428244480,"45":1789266088824229888},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166243328001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:42:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21264941428244480,"km_value":21264941428244.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824229888,"description":"Unknown IO ID 45"} 
[2026-09-18 11:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166243328001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1789266088824229888}} 
[2026-09-18 11:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":185940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:42:31] local.INFO: GPS data processed {"connection_id":185940,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:42:31] local.INFO: Acknowledgment sent {"connection_id":185940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:43:02] local.INFO: TCP Data received {"connection_id":185940,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3243e20012d18dbc00720f8d8003f00852a..."} 
[2026-09-18 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3243e20012d18dbc00720f8d8003f00852a..."} 
[2026-09-18 11:43:02] local.INFO: Processing buffer {"connection_id":185940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3243e20012d18dbc00720f8d8003f00852a..."} 
[2026-09-18 11:43:02] local.INFO: Packet analysis {"connection_id":185940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b324"} 
[2026-09-18 11:43:02] local.INFO: Extracted packet for processing {"connection_id":185940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b324"} 
[2026-09-18 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119601368,"longitude_deg":75.660384,"latitude_deg":11.9601368,"altitude":63,"angle":133,"satellites":42,"speed":36,"hex_longitude":"2d18dbc0","hex_latitude":"0720f8d8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166243840001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21265031622557696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265560064,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789711892000,"timestamp_ms":1789711892000,"timestamp_seconds":1789711892,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3243e20"} 
[2026-09-18 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-09-18 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3005470864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249562360668574032,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692734,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2341928960,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633255481346,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,140,160,46,45,192,5,64,43,10,66,15,33,67,139,7,1,240,179,4,113,205,31,232,197,40,35,239,51,2,75,71,231,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 11:43:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539795734842966016,"timestamp_seconds":4539795734842966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166243840001,"66":12939,"121":206,"28":31744,"24":36,"16":21265031622557696,"45":1789969776265560064},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166243840001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:43:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21265031622557696,"km_value":21265031622557.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265560064,"description":"Unknown IO ID 45"} 
[2026-09-18 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166243840001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1789969776265560064}} 
[2026-09-18 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":185940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:43:02] local.INFO: GPS data processed {"connection_id":185940,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:43:02] local.INFO: Acknowledgment sent {"connection_id":185940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:43:12] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:43:12] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:43:12] local.INFO: IMEI packet received {"connection_id":185941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":185941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:43:17] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:43:17] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:43:17] local.INFO: IMEI packet received {"connection_id":185941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":185941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:43:19] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:43:19] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b320bf98012d4883c006962c60004c006829..."} 
[2026-09-18 11:43:19] local.INFO: Packet analysis {"connection_id":185941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:43:19] local.INFO: Extracted packet for processing {"connection_id":185941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b320"} 
[2026-09-18 11:43:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":76,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166108672001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711663000,"timestamp_ms":1789711663000,"timestamp_seconds":1789711663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b320bf98"} 
[2026-09-18 11:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:43:19] 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-09-18 11:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166108672001,"66":26115,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166108672001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:43:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:43:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166108672001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":185941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:43:19] local.INFO: GPS data processed {"connection_id":185941,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:43:19] local.INFO: Acknowledgment sent {"connection_id":185941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:43:25] local.INFO: TCP Data received {"connection_id":188717,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:25] local.INFO: Processing buffer {"connection_id":188717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:25] local.INFO: IMEI packet received {"connection_id":188717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":188717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:43:27] local.INFO: TCP Data received {"connection_id":188717,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:27] local.INFO: Processing buffer {"connection_id":188717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:27] local.INFO: IMEI packet received {"connection_id":188717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":188717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:43:30] local.INFO: TCP Data received {"connection_id":188717,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:30] local.INFO: Processing buffer {"connection_id":188717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:43:30] local.INFO: IMEI packet received {"connection_id":188717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":188717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:43:31] local.INFO: TCP Data received {"connection_id":188717,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3244dc0012d18e5400720ee30003d00932c..."} 
[2026-09-18 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3244dc0012d18e5400720ee30003d00932c..."} 
[2026-09-18 11:43:31] local.INFO: Processing buffer {"connection_id":188717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3244dc0012d18e5400720ee30003d00932c..."} 
[2026-09-18 11:43:31] local.INFO: Packet analysis {"connection_id":188717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b324"} 
[2026-09-18 11:43:31] local.INFO: Extracted packet for processing {"connection_id":188717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b324"} 
[2026-09-18 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756606272,"raw_latitude":119598640,"longitude_deg":75.6606272,"latitude_deg":11.959864,"altitude":61,"angle":147,"satellites":44,"speed":36,"hex_longitude":"2d18e540","hex_latitude":"0720ee30","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166244352001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21265207716216832,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413660387328,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789711896000,"timestamp_ms":1789711896000,"timestamp_seconds":1789711896,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3244dc0"} 
[2026-09-18 11:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 11:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166244352001,"66":13015,"121":206,"28":31744,"24":36,"16":21265207716216832,"45":1791236413660387328},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166244352001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:43:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21265207716216832,"km_value":21265207716216.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413660387328,"description":"Unknown IO ID 45"} 
[2026-09-18 11:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166244352001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1791236413660387328}} 
[2026-09-18 11:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":188717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:43:31] local.INFO: GPS data processed {"connection_id":188717,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:43:31] local.INFO: Acknowledgment sent {"connection_id":188717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:43:50] local.INFO: TCP Data received {"connection_id":185941,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:43:50] local.INFO: Processing buffer {"connection_id":185941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:43:50] local.INFO: Packet analysis {"connection_id":185941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:43:50] local.INFO: Extracted packet for processing {"connection_id":185941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:43:50] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:43:50] 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-09-18 11:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:43:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:43:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":185941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:43:50] local.INFO: GPS data processed {"connection_id":185941,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:43:50] local.INFO: Acknowledgment sent {"connection_id":185941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:44:03] local.INFO: TCP Data received {"connection_id":188717,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b325ad50012d19ad4007208d40003300b32b..."} 
[2026-09-18 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b325ad50012d19ad4007208d40003300b32b..."} 
[2026-09-18 11:44:03] local.INFO: Processing buffer {"connection_id":188717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b325ad50012d19ad4007208d40003300b32b..."} 
[2026-09-18 11:44:03] local.INFO: Packet analysis {"connection_id":188717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:44:03] local.INFO: Extracted packet for processing {"connection_id":188717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573824,"longitude_deg":75.6657472,"latitude_deg":11.9573824,"altitude":51,"angle":179,"satellites":43,"speed":33,"hex_longitude":"2d19ad40","hex_latitude":"07208d40","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166268160001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21268536315871232,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018611200,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789711986000,"timestamp_ms":1789711986000,"timestamp_seconds":1789711986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b325ad50"} 
[2026-09-18 11:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:44: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-09-18 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 11:44: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-09-18 11: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-09-18 11:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166268160001,"66":14080,"121":206,"28":31744,"24":33,"16":21268536315871232,"45":1850275790018611200},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166268160001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:44:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21268536315871232,"km_value":21268536315871.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018611200,"description":"Unknown IO ID 45"} 
[2026-09-18 11:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166268160001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850275790018611200}} 
[2026-09-18 11:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":188717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:44:03] local.INFO: GPS data processed {"connection_id":188717,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:44:03] local.INFO: Acknowledgment sent {"connection_id":188717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:44:17] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:44:17] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:44:17] local.INFO: IMEI packet received {"connection_id":185942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":185942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:44:22] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:44:22] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:44:22] local.INFO: IMEI packet received {"connection_id":185942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":185942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:44:24] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:44:24] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:44:24] local.INFO: Packet analysis {"connection_id":185942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:44:24] local.INFO: Extracted packet for processing {"connection_id":185942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:44:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:44: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-09-18 11:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:44:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:44:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":185942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:44:24] local.INFO: GPS data processed {"connection_id":185942,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:44:24] local.INFO: Acknowledgment sent {"connection_id":185942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:44:25] local.INFO: TCP Data received {"connection_id":186101,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:25] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:25] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:44:26] local.INFO: TCP Data received {"connection_id":186101,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:26] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:26] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:44:27] local.INFO: TCP Data received {"connection_id":186101,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:27] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:27] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:44:28] local.INFO: TCP Data received {"connection_id":185942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:44:28] local.INFO: Processing buffer {"connection_id":185942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:44:28] local.INFO: Packet analysis {"connection_id":185942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:44:28] local.INFO: Extracted packet for processing {"connection_id":185942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:44:28] 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-09-18 11:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:44:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:44:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":185942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:44:28] local.INFO: GPS data processed {"connection_id":185942,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:44:28] local.INFO: Acknowledgment sent {"connection_id":185942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:44:28] local.INFO: TCP Data received {"connection_id":186101,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:28] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:44:28] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:44:36] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:44:36] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:44:36] local.INFO: IMEI packet received {"connection_id":186100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":186100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:45:12] local.INFO: TCP Data received {"connection_id":187390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:45:12] local.INFO: Processing buffer {"connection_id":187390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:45:12] local.INFO: IMEI packet received {"connection_id":187390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":187390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:45:17] local.INFO: TCP Data received {"connection_id":187390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:45:17] local.INFO: Processing buffer {"connection_id":187390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:45:17] local.INFO: IMEI packet received {"connection_id":187390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":187390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:45:19] local.INFO: TCP Data received {"connection_id":187390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:45:19] local.INFO: Processing buffer {"connection_id":187390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:45:19] local.INFO: Packet analysis {"connection_id":187390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:45:19] local.INFO: Extracted packet for processing {"connection_id":187390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:45:19] 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-09-18 11:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:45:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:45:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":187390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:45:19] local.INFO: GPS data processed {"connection_id":187390,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:45:19] local.INFO: Acknowledgment sent {"connection_id":187390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:45:51] local.INFO: TCP Data received {"connection_id":187390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:45:51] local.INFO: Processing buffer {"connection_id":187390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:45:51] local.INFO: Packet analysis {"connection_id":187390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:45:51] local.INFO: Extracted packet for processing {"connection_id":187390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:45:51] 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-09-18 11: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-09-18 11:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:45:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:45:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":187390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:45:51] local.INFO: GPS data processed {"connection_id":187390,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:45:51] local.INFO: Acknowledgment sent {"connection_id":187390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:46:13] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:46:13] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:46:13] local.INFO: IMEI packet received {"connection_id":186102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":186102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:46:17] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:46:17] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:46:17] local.INFO: IMEI packet received {"connection_id":186102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":186102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:46:18] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:46:18] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:46:18] local.INFO: Packet analysis {"connection_id":186102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:46:18] local.INFO: Extracted packet for processing {"connection_id":186102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:46:18] 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-09-18 11:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:46:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:46:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":186102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:46:18] local.INFO: GPS data processed {"connection_id":186102,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:46:18] local.INFO: Acknowledgment sent {"connection_id":186102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:46:50] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:46:50] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:46:50] local.INFO: Packet analysis {"connection_id":186102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:46:50] local.INFO: Extracted packet for processing {"connection_id":186102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:46:50] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:46:50] 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-09-18 11:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:46:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:46:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":186102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:46:50] local.INFO: GPS data processed {"connection_id":186102,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:46:50] local.INFO: Acknowledgment sent {"connection_id":186102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:47:12] local.INFO: TCP Data received {"connection_id":186103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:47:12] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:47:12] local.INFO: IMEI packet received {"connection_id":186103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":186103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:47:17] local.INFO: TCP Data received {"connection_id":186103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:47:17] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:47:17] local.INFO: IMEI packet received {"connection_id":186103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":186103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:47:18] local.INFO: TCP Data received {"connection_id":186103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:47:18] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3255760012d4883c006962c60003d006828..."} 
[2026-09-18 11:47:18] local.INFO: Packet analysis {"connection_id":186103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:47:18] local.INFO: Extracted packet for processing {"connection_id":186103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b325"} 
[2026-09-18 11:47:18] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166185728001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789711964000,"timestamp_ms":1789711964000,"timestamp_seconds":1789711964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3255760"} 
[2026-09-18 11:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 11:47:18] 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-09-18 11:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166185728001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166185728001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:47:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:47:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166185728001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":186103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:47:18] local.INFO: GPS data processed {"connection_id":186103,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:47:18] local.INFO: Acknowledgment sent {"connection_id":186103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:47:49] local.INFO: TCP Data received {"connection_id":186103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32956d0012d4883c006962c60003d006825..."} 
[2026-09-18 11:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32956d0012d4883c006962c60003d006825..."} 
[2026-09-18 11:47:49] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32956d0012d4883c006962c60003d006825..."} 
[2026-09-18 11:47:49] local.INFO: Packet analysis {"connection_id":186103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:47:49] local.INFO: Extracted packet for processing {"connection_id":186103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:47:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505056,"longitude_deg":75.972704,"latitude_deg":11.0505056,"altitude":61,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06962c60","is_valid_coordinates":true} 
[2026-09-18 11:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166262784001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789712226000,"timestamp_ms":1789712226000,"timestamp_seconds":1789712226,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32956d0"} 
[2026-09-18 11:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 11:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 11:47:49] 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-09-18 11:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166262784001,"66":26082,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166262784001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:47:49] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:47:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166262784001,"power":26082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":186103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:47:49] local.INFO: GPS data processed {"connection_id":186103,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:47:49] local.INFO: Acknowledgment sent {"connection_id":186103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:48:17] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:48:17] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:48:17] local.INFO: IMEI packet received {"connection_id":185945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":185945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:48:22] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:48:22] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:48:22] local.INFO: IMEI packet received {"connection_id":185945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":185945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:48:23] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3296670012d488700069622e0003d00a426..."} 
[2026-09-18 11:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3296670012d488700069622e0003d00a426..."} 
[2026-09-18 11:48:23] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3296670012d488700069622e0003d00a426..."} 
[2026-09-18 11:48:23] local.INFO: Packet analysis {"connection_id":185945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:48:23] local.INFO: Extracted packet for processing {"connection_id":185945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:48:23] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110502624,"longitude_deg":75.9727872,"latitude_deg":11.0502624,"altitude":61,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069622e0","is_valid_coordinates":true} 
[2026-09-18 11:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166329856001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201734656,"note":"Value kept but may cause issues"} 
[2026-09-18 11:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789712230000,"timestamp_ms":1789712230000,"timestamp_seconds":1789712230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3296670"} 
[2026-09-18 11:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 11:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166329856001,"66":25908,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5225231127201734656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166329856001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:48:23] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:48:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201734656,"description":"Unknown IO ID 45"} 
[2026-09-18 11:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166329856001,"power":25908,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127201734656}} 
[2026-09-18 11:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":185945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:48:23] local.INFO: GPS data processed {"connection_id":185945,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:48:23] local.INFO: Acknowledgment sent {"connection_id":185945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:48:27] local.INFO: TCP Data received {"connection_id":185945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b329b878012d488700069622e0003d00a426..."} 
[2026-09-18 11:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b329b878012d488700069622e0003d00a426..."} 
[2026-09-18 11:48:27] local.INFO: Processing buffer {"connection_id":185945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b329b878012d488700069622e0003d00a426..."} 
[2026-09-18 11:48:27] local.INFO: Packet analysis {"connection_id":185945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:48:27] local.INFO: Extracted packet for processing {"connection_id":185945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:48:27] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110502624,"longitude_deg":75.9727872,"latitude_deg":11.0502624,"altitude":61,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069622e0","is_valid_coordinates":true} 
[2026-09-18 11:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166330880001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875421696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789712251000,"timestamp_ms":1789712251000,"timestamp_seconds":1789712251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b329b878"} 
[2026-09-18 11:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 11:48:27] 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-09-18 11:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166330880001,"66":27713,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5226145920875421696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166330880001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:48:27] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:48:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875421696,"description":"Unknown IO ID 45"} 
[2026-09-18 11:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166330880001,"power":27713,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5226145920875421696}} 
[2026-09-18 11:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":185945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:48:27] local.INFO: GPS data processed {"connection_id":185945,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:48:27] local.INFO: Acknowledgment sent {"connection_id":185945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:49:12] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:49:12] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:49:12] local.INFO: IMEI packet received {"connection_id":186105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":186105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:49:15] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:49:15] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:49:15] local.INFO: IMEI packet received {"connection_id":186105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":186105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:49:16] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32a0a80012d488700069622e0003d00a426..."} 
[2026-09-18 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32a0a80012d488700069622e0003d00a426..."} 
[2026-09-18 11:49:16] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32a0a80012d488700069622e0003d00a426..."} 
[2026-09-18 11:49:16] local.INFO: Packet analysis {"connection_id":186105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:49:16] local.INFO: Extracted packet for processing {"connection_id":186105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:49:16] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110502624,"longitude_deg":75.9727872,"latitude_deg":11.0502624,"altitude":61,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069622e0","is_valid_coordinates":true} 
[2026-09-18 11:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166336256001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875421696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789712272000,"timestamp_ms":1789712272000,"timestamp_seconds":1789712272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32a0a80"} 
[2026-09-18 11:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 11:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166336256001,"66":28006,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5226145920875421696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166336256001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875421696,"description":"Unknown IO ID 45"} 
[2026-09-18 11:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166336256001,"power":28006,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5226145920875421696}} 
[2026-09-18 11:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:49:16] local.INFO: GPS data processed {"connection_id":186105,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:49:16] local.INFO: Acknowledgment sent {"connection_id":186105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:49:30] local.INFO: TCP Data received {"connection_id":185946,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:49:30] local.INFO: Processing buffer {"connection_id":185946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:49:30] local.INFO: IMEI packet received {"connection_id":185946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":185946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:49:31] local.INFO: TCP Data received {"connection_id":185946,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3285118012d196940071fec88003d010d2b..."} 
[2026-09-18 11:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3285118012d196940071fec88003d010d2b..."} 
[2026-09-18 11:49:31] local.INFO: Processing buffer {"connection_id":185946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3285118012d196940071fec88003d010d2b..."} 
[2026-09-18 11:49:31] local.INFO: Packet analysis {"connection_id":185946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b328"} 
[2026-09-18 11:49:31] local.INFO: Extracted packet for processing {"connection_id":185946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b328"} 
[2026-09-18 11:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166307328001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079894016,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789712159000,"timestamp_ms":1789712159000,"timestamp_seconds":1789712159,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3285118"} 
[2026-09-18 11:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-18 11:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166307328001,"66":13102,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831276229079894016},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166307328001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:49:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079894016,"description":"Unknown IO ID 45"} 
[2026-09-18 11:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166307328001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831276229079894016}} 
[2026-09-18 11:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":185946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:49:32] local.INFO: GPS data processed {"connection_id":185946,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:49:32] local.INFO: Acknowledgment sent {"connection_id":185946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:49:47] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32a5c88012d488700069622e0003d00a42a..."} 
[2026-09-18 11:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32a5c88012d488700069622e0003d00a42a..."} 
[2026-09-18 11:49:47] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32a5c88012d488700069622e0003d00a42a..."} 
[2026-09-18 11:49:47] local.INFO: Packet analysis {"connection_id":186105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:49:47] local.INFO: Extracted packet for processing {"connection_id":186105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:49:47] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110502624,"longitude_deg":75.9727872,"latitude_deg":11.0502624,"altitude":61,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069622e0","is_valid_coordinates":true} 
[2026-09-18 11:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166341632001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302345597976576,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875421696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789712293000,"timestamp_ms":1789712293000,"timestamp_seconds":1789712293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32a5c88"} 
[2026-09-18 11:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-18 11:49:47] 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-09-18 11:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166341632001,"66":27745,"215":206,"86":48896,"24":0,"16":405302345597976576,"45":5226145920875421696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166341632001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:49:47] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:49:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302345597976576,"km_value":405302345597976.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875421696,"description":"Unknown IO ID 45"} 
[2026-09-18 11:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166341632001,"power":27745,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5226145920875421696}} 
[2026-09-18 11:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":186105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:49:47] local.INFO: GPS data processed {"connection_id":186105,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:49:47] local.INFO: Acknowledgment sent {"connection_id":186105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:50:01] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:50:01] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:50:01] local.INFO: IMEI packet received {"connection_id":188718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":188718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:50:03] local.INFO: TCP Data received {"connection_id":185946,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b328a320012d196940071fec88003d010d29..."} 
[2026-09-18 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b328a320012d196940071fec88003d010d29..."} 
[2026-09-18 11:50:03] local.INFO: Processing buffer {"connection_id":185946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b328a320012d196940071fec88003d010d29..."} 
[2026-09-18 11:50:03] local.INFO: Packet analysis {"connection_id":185946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b328"} 
[2026-09-18 11:50:03] local.INFO: Extracted packet for processing {"connection_id":185946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b328"} 
[2026-09-18 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166312704001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789712180000,"timestamp_ms":1789712180000,"timestamp_seconds":1789712180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b328a320"} 
[2026-09-18 11:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:50: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-09-18 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 11:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166312704001,"66":13102,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166312704001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:50:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166312704001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":185946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:50:03] local.INFO: GPS data processed {"connection_id":185946,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:50:03] local.INFO: Acknowledgment sent {"connection_id":185946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:50:12] local.INFO: TCP Data received {"connection_id":187392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:50:12] local.INFO: Processing buffer {"connection_id":187392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:50:12] local.INFO: IMEI packet received {"connection_id":187392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":187392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:50:17] local.INFO: TCP Data received {"connection_id":187392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:50:17] local.INFO: Processing buffer {"connection_id":187392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:50:17] local.INFO: IMEI packet received {"connection_id":187392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":187392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:50:18] local.INFO: TCP Data received {"connection_id":187392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32a6840012d48854006962478004100542c..."} 
[2026-09-18 11:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32a6840012d48854006962478004100542c..."} 
[2026-09-18 11:50:18] local.INFO: Processing buffer {"connection_id":187392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32a6840012d48854006962478004100542c..."} 
[2026-09-18 11:50:18] local.INFO: Packet analysis {"connection_id":187392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:50:18] local.INFO: Extracted packet for processing {"connection_id":187392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:50:18] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110503032,"longitude_deg":75.9727424,"latitude_deg":11.0503032,"altitude":65,"angle":84,"satellites":44,"speed":1,"hex_longitude":"2d488540","hex_latitude":"06962478","is_valid_coordinates":true} 
[2026-09-18 11:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166347008001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302375662747648,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875421696,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789712296000,"timestamp_ms":1789712296000,"timestamp_seconds":1789712296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32a6840"} 
[2026-09-18 11:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:50:18] 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-09-18 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 11:50:18] 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-09-18 11:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166347008001,"66":27745,"215":206,"86":48896,"24":1,"16":405302375662747648,"45":5226145920875421696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166347008001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:50:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:50:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302375662747648,"km_value":405302375662747.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875421696,"description":"Unknown IO ID 45"} 
[2026-09-18 11:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166347008001,"power":27745,"unknown_215":206,"unknown_86":48896,"ignition":1,"odometer":null,"unknown_45":5226145920875421696}} 
[2026-09-18 11:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":187392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:50:18] local.INFO: GPS data processed {"connection_id":187392,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:50:18] local.INFO: Acknowledgment sent {"connection_id":187392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:50:25] local.INFO: TCP Data received {"connection_id":188719,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:25] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:25] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:50:29] local.INFO: TCP Data received {"connection_id":188719,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:29] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:29] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:50:30] local.INFO: TCP Data received {"connection_id":188719,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:30] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:50:30] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:50:31] local.INFO: TCP Data received {"connection_id":188719,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b328f528012d196940071fec88003d010d27..."} 
[2026-09-18 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b328f528012d196940071fec88003d010d27..."} 
[2026-09-18 11:50:31] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b328f528012d196940071fec88003d010d27..."} 
[2026-09-18 11:50:31] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b328"} 
[2026-09-18 11:50:31] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b328"} 
[2026-09-18 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166318080001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789712201000,"timestamp_ms":1789712201000,"timestamp_seconds":1789712201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b328f528"} 
[2026-09-18 11:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 11:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166318080001,"66":13080,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166318080001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:50:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166318080001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:50:31] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:50:31] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:50:36] local.INFO: TCP Data received {"connection_id":188719,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3294730012d196940071fec88003d010d26..."} 
[2026-09-18 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3294730012d196940071fec88003d010d26..."} 
[2026-09-18 11:50:36] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3294730012d196940071fec88003d010d26..."} 
[2026-09-18 11:50:36] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:50:36] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166323456001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789712222000,"timestamp_ms":1789712222000,"timestamp_seconds":1789712222,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3294730"} 
[2026-09-18 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:50: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-09-18 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 11:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166323456001,"66":13048,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166323456001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166323456001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:50:37] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:50:37] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:50:49] local.INFO: TCP Data received {"connection_id":187392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32a73f8012d48858006962468004100732b..."} 
[2026-09-18 11:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32a73f8012d48858006962468004100732b..."} 
[2026-09-18 11:50:49] local.INFO: Processing buffer {"connection_id":187392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32a73f8012d48858006962468004100732b..."} 
[2026-09-18 11:50:49] local.INFO: Packet analysis {"connection_id":187392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:50:49] local.INFO: Extracted packet for processing {"connection_id":187392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:50:49] local.INFO: GPS Element Parsed {"raw_longitude":759727488,"raw_latitude":110503016,"longitude_deg":75.9727488,"latitude_deg":11.0503016,"altitude":65,"angle":115,"satellites":43,"speed":0,"hex_longitude":"2d488580","hex_latitude":"06962468","is_valid_coordinates":true} 
[2026-09-18 11:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166347776001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302379957714944,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339666282496,"note":"Value kept but may cause issues"} 
[2026-09-18 11:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789712299000,"timestamp_ms":1789712299000,"timestamp_seconds":1789712299,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32a73f8"} 
[2026-09-18 11:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 11:50:49] 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-09-18 11:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166347776001,"66":27767,"215":206,"86":48896,"24":0,"16":405302379957714944,"45":5225653339666282496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166347776001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:50:49] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:50:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302379957714944,"km_value":405302379957714.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339666282496,"description":"Unknown IO ID 45"} 
[2026-09-18 11:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166347776001,"power":27767,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339666282496}} 
[2026-09-18 11:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":187392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:50:49] local.INFO: GPS data processed {"connection_id":187392,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:50:49] local.INFO: Acknowledgment sent {"connection_id":187392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:51:09] local.INFO: TCP Data received {"connection_id":188719,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3299938012d196940071fec88003d010d28..."} 
[2026-09-18 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3299938012d196940071fec88003d010d28..."} 
[2026-09-18 11:51:09] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3299938012d196940071fec88003d010d28..."} 
[2026-09-18 11:51:09] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:51:09] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166328832001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789712243000,"timestamp_ms":1789712243000,"timestamp_seconds":1789712243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3299938"} 
[2026-09-18 11:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 11:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166328832001,"66":13004,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166328832001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:51:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166328832001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:51:09] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:51:09] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:51:14] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:51:14] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:51:14] local.INFO: IMEI packet received {"connection_id":188720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:51:17] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:51:17] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:51:17] local.INFO: IMEI packet received {"connection_id":188720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:51:19] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32aba48012d4885c006962820004000672d..."} 
[2026-09-18 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32aba48012d4885c006962820004000672d..."} 
[2026-09-18 11:51:19] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32aba48012d4885c006962820004000672d..."} 
[2026-09-18 11:51:19] local.INFO: Packet analysis {"connection_id":188720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:51:19] local.INFO: Extracted packet for processing {"connection_id":188720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:51:19] local.INFO: GPS Element Parsed {"raw_longitude":759727552,"raw_latitude":110503968,"longitude_deg":75.9727552,"latitude_deg":11.0503968,"altitude":64,"angle":103,"satellites":45,"speed":0,"hex_longitude":"2d4885c0","hex_latitude":"06962820","is_valid_coordinates":true} 
[2026-09-18 11:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166348544001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302422907387904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225723708410456064,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789712317000,"timestamp_ms":1789712317000,"timestamp_seconds":1789712317,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32aba48"} 
[2026-09-18 11:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:51:19] 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-09-18 11:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 11:51:19] 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-09-18 11:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166348544001,"66":27908,"215":206,"86":48896,"24":0,"16":405302422907387904,"45":5225723708410456064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166348544001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:51:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:51:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302422907387904,"km_value":405302422907387.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225723708410456064,"description":"Unknown IO ID 45"} 
[2026-09-18 11:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166348544001,"power":27908,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225723708410456064}} 
[2026-09-18 11:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":188720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:51:19] local.INFO: GPS data processed {"connection_id":188720,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:51:19] local.INFO: Acknowledgment sent {"connection_id":188720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:51:25] local.INFO: TCP Data received {"connection_id":185947,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:51:25] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:51:25] local.INFO: IMEI packet received {"connection_id":185947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":185947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:51:30] local.INFO: TCP Data received {"connection_id":185947,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:51:30] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:51:30] local.INFO: IMEI packet received {"connection_id":185947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":185947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:51:32] local.INFO: TCP Data received {"connection_id":185947,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b329eb40012d196940071fec88003d010d29..."} 
[2026-09-18 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b329eb40012d196940071fec88003d010d29..."} 
[2026-09-18 11:51:32] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b329eb40012d196940071fec88003d010d29..."} 
[2026-09-18 11:51:32] local.INFO: Packet analysis {"connection_id":185947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:51:32] local.INFO: Extracted packet for processing {"connection_id":185947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b329"} 
[2026-09-18 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166334208001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712264000,"timestamp_ms":1789712264000,"timestamp_seconds":1789712264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b329eb40"} 
[2026-09-18 11:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:51: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-09-18 11: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 11:51: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-09-18 11: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-09-18 11:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166334208001,"66":12972,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166334208001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:51:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166334208001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":185947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:51:32] local.INFO: GPS data processed {"connection_id":185947,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:51:32] local.INFO: Acknowledgment sent {"connection_id":185947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:51:50] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32abe30012d4885c006962878004000222e..."} 
[2026-09-18 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32abe30012d4885c006962878004000222e..."} 
[2026-09-18 11:51:50] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32abe30012d4885c006962878004000222e..."} 
[2026-09-18 11:51:50] local.INFO: Packet analysis {"connection_id":188720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:51:50] local.INFO: Extracted packet for processing {"connection_id":188720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:51:50] local.INFO: GPS Element Parsed {"raw_longitude":759727552,"raw_latitude":110504056,"longitude_deg":75.9727552,"latitude_deg":11.0504056,"altitude":64,"angle":34,"satellites":46,"speed":0,"hex_longitude":"2d4885c0","hex_latitude":"06962878","is_valid_coordinates":true} 
[2026-09-18 11:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166353152001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405302427202355200,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225794077154877440,"note":"Value kept but may cause issues"} 
[2026-09-18 11:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789712318000,"timestamp_ms":1789712318000,"timestamp_seconds":1789712318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32abe30"} 
[2026-09-18 11:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:51:50] 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-09-18 11:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 11:51:50] 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-09-18 11:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166353152001,"66":27908,"215":206,"86":48896,"24":0,"16":405302427202355200,"45":5225794077154877440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-09-18 11:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166353152001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:51:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-18 11:51:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405302427202355200,"km_value":405302427202355.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225794077154877440,"description":"Unknown IO ID 45"} 
[2026-09-18 11:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166353152001,"power":27908,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225794077154877440}} 
[2026-09-18 11:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":188720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:51:50] local.INFO: GPS data processed {"connection_id":188720,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:51:50] local.INFO: Acknowledgment sent {"connection_id":188720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:52:04] local.INFO: TCP Data received {"connection_id":185947,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32a3d48012d196940071fec88003d010d21..."} 
[2026-09-18 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32a3d48012d196940071fec88003d010d21..."} 
[2026-09-18 11:52:04] local.INFO: Processing buffer {"connection_id":185947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32a3d48012d196940071fec88003d010d21..."} 
[2026-09-18 11:52:04] local.INFO: Packet analysis {"connection_id":185947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:52:04] local.INFO: Extracted packet for processing {"connection_id":185947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166339584001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789712285000,"timestamp_ms":1789712285000,"timestamp_seconds":1789712285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32a3d48"} 
[2026-09-18 11:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:52: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-09-18 11: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":172,"data_length":795,"current_offset":136} 
[2026-09-18 11:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166339584001,"66":13004,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166339584001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:52:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166339584001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":185947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:52:04] local.INFO: GPS data processed {"connection_id":185947,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:52:04] local.INFO: Acknowledgment sent {"connection_id":185947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:52:12] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:12] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:12] local.INFO: IMEI packet received {"connection_id":187393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":187393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:52:13] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:13] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:13] local.INFO: IMEI packet received {"connection_id":187393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:52:17] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:17] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:52:17] local.INFO: IMEI packet received {"connection_id":187393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":187393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:52:19] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32ce4f8012d4958c006963c78005300572e..."} 
[2026-09-18 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32ce4f8012d4958c006963c78005300572e..."} 
[2026-09-18 11:52:19] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32ce4f8012d4958c006963c78005300572e..."} 
[2026-09-18 11:52:19] local.INFO: Packet analysis {"connection_id":187393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:52:19] local.INFO: Extracted packet for processing {"connection_id":187393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:52:19] local.INFO: GPS Element Parsed {"raw_longitude":759781568,"raw_latitude":110509176,"longitude_deg":75.9781568,"latitude_deg":11.0509176,"altitude":83,"angle":87,"satellites":46,"speed":4,"hex_longitude":"2d4958c0","hex_latitude":"06963c78","is_valid_coordinates":true} 
[2026-09-18 11:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166384128001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405305098672013312,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5276389204219645952,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789712459000,"timestamp_ms":1789712459000,"timestamp_seconds":1789712459,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32ce4f8"} 
[2026-09-18 11:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:52:19] 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-09-18 11:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 11:52:19] 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-09-18 11:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166384128001,"66":27876,"213":206,"86":48896,"24":4,"16":405305098672013312,"45":5276389204219645952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,86,24,16,45]} 
[2026-09-18 11:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166384128001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:52:19] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-18 11:52:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405305098672013312,"km_value":405305098672013.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5276389204219645952,"description":"Unknown IO ID 45"} 
[2026-09-18 11:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166384128001,"power":27876,"unknown_213":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5276389204219645952}} 
[2026-09-18 11:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":187393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:52:19] local.INFO: GPS data processed {"connection_id":187393,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:52:19] local.INFO: Acknowledgment sent {"connection_id":187393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:52:30] local.INFO: TCP Data received {"connection_id":185948,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:52:30] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:52:30] local.INFO: IMEI packet received {"connection_id":185948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":185948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:52:35] local.INFO: TCP Data received {"connection_id":185948,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:52:35] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:52:35] local.INFO: IMEI packet received {"connection_id":185948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":185948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:52:36] local.INFO: TCP Data received {"connection_id":185948,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32a8f50012d196940071fec88003d010d2b..."} 
[2026-09-18 11:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32a8f50012d196940071fec88003d010d2b..."} 
[2026-09-18 11:52:36] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32a8f50012d196940071fec88003d010d2b..."} 
[2026-09-18 11:52:36] local.INFO: Packet analysis {"connection_id":185948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:52:36] local.INFO: Extracted packet for processing {"connection_id":185948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166344960001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789712306000,"timestamp_ms":1789712306000,"timestamp_seconds":1789712306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32a8f50"} 
[2026-09-18 11:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:52: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-09-18 11:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 11:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166344960001,"66":12972,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166344960001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:52:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166344960001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":185948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:52:36] local.INFO: GPS data processed {"connection_id":185948,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:52:36] local.INFO: Acknowledgment sent {"connection_id":185948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:52:38] local.INFO: TCP Data received {"connection_id":185948,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32ae158012d196940071fec88003d010d2a..."} 
[2026-09-18 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32ae158012d196940071fec88003d010d2a..."} 
[2026-09-18 11:52:38] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32ae158012d196940071fec88003d010d2a..."} 
[2026-09-18 11:52:38] local.INFO: Packet analysis {"connection_id":185948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:52:38] local.INFO: Extracted packet for processing {"connection_id":185948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32a"} 
[2026-09-18 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166350336001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789712327000,"timestamp_ms":1789712327000,"timestamp_seconds":1789712327,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32ae158"} 
[2026-09-18 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 11:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166350336001,"66":12809,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166350336001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166350336001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":185948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:52:38] local.INFO: GPS data processed {"connection_id":185948,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:52:38] local.INFO: Acknowledgment sent {"connection_id":185948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:52:51] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32d3700012d497380069640380053004e2e..."} 
[2026-09-18 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32d3700012d497380069640380053004e2e..."} 
[2026-09-18 11:52:51] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32d3700012d497380069640380053004e2e..."} 
[2026-09-18 11:52:51] local.INFO: Packet analysis {"connection_id":187393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:52:51] local.INFO: Extracted packet for processing {"connection_id":187393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":759788416,"raw_latitude":110510136,"longitude_deg":75.9788416,"latitude_deg":11.0510136,"altitude":83,"angle":78,"satellites":46,"speed":21,"hex_longitude":"2d497380","hex_latitude":"06964038","is_valid_coordinates":true} 
[2026-09-18 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166389504001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405305429384495104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5285185297242159104,"note":"Value kept but may cause issues"} 
[2026-09-18 11:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789712480000,"timestamp_ms":1789712480000,"timestamp_seconds":1789712480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32d3700"} 
[2026-09-18 11:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:52:51] 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-09-18 11:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166389504001,"66":27821,"194":206,"86":48896,"24":21,"16":405305429384495104,"45":5285185297242159104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,86,24,16,45]} 
[2026-09-18 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166389504001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:52:51] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-18 11:52:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405305429384495104,"km_value":405305429384495.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5285185297242159104,"description":"Unknown IO ID 45"} 
[2026-09-18 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166389504001,"power":27821,"unknown_194":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5285185297242159104}} 
[2026-09-18 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":187393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:52:51] local.INFO: GPS data processed {"connection_id":187393,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:52:51] local.INFO: Acknowledgment sent {"connection_id":187393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:53:10] local.INFO: TCP Data received {"connection_id":185948,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32b3360012d196940071fec88003d010d26..."} 
[2026-09-18 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32b3360012d196940071fec88003d010d26..."} 
[2026-09-18 11:53:10] local.INFO: Processing buffer {"connection_id":185948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32b3360012d196940071fec88003d010d26..."} 
[2026-09-18 11:53:10] local.INFO: Packet analysis {"connection_id":185948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32b"} 
[2026-09-18 11:53:10] local.INFO: Extracted packet for processing {"connection_id":185948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32b"} 
[2026-09-18 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166355712001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789712348000,"timestamp_ms":1789712348000,"timestamp_seconds":1789712348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32b3360"} 
[2026-09-18 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3005805864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2928219372144650560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802279,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300363044284337449,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":1729608650961505820,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,146,160,143,45,64,236,61,43,10,66,33,235,1,240,172,179,31,4,113,205,71,105,136,38,239,50,2,75,7,51,124,183],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 11:53:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809185330102272,"timestamp_seconds":4395809185330102.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166355712001,"66":12939,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166355712001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:53:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166355712001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":185948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:53:11] local.INFO: GPS data processed {"connection_id":185948,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:53:11] local.INFO: Acknowledgment sent {"connection_id":185948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:53:12] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:53:12] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:53:12] local.INFO: IMEI packet received {"connection_id":186106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":186106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:53:18] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:53:18] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:53:18] local.INFO: IMEI packet received {"connection_id":186106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":186106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:53:20] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32d6db0012d499940069643b8005400522e..."} 
[2026-09-18 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32d6db0012d499940069643b8005400522e..."} 
[2026-09-18 11:53:20] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32d6db0012d499940069643b8005400522e..."} 
[2026-09-18 11:53:20] local.INFO: Packet analysis {"connection_id":186106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:53:20] local.INFO: Extracted packet for processing {"connection_id":186106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:53:20] local.INFO: GPS Element Parsed {"raw_longitude":759798080,"raw_latitude":110511032,"longitude_deg":75.979808,"latitude_deg":11.0511032,"altitude":84,"angle":82,"satellites":46,"speed":25,"hex_longitude":"2d499940","hex_latitude":"069643b8","is_valid_coordinates":true} 
[2026-09-18 11:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166394880001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405305888945995776,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5292714752869414912,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789712494000,"timestamp_ms":1789712494000,"timestamp_seconds":1789712494,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32d6db0"} 
[2026-09-18 11:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:53: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":173,"data_length":795,"current_offset":136} 
[2026-09-18 11:53:20] 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-09-18 11:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166394880001,"66":27974,"194":206,"86":48896,"24":25,"16":405305888945995776,"45":5292714752869414912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,86,24,16,45]} 
[2026-09-18 11:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166394880001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:53:20] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-18 11:53:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405305888945995776,"km_value":405305888945995.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5292714752869414912,"description":"Unknown IO ID 45"} 
[2026-09-18 11:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166394880001,"power":27974,"unknown_194":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5292714752869414912}} 
[2026-09-18 11:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":186106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:53:20] local.INFO: GPS data processed {"connection_id":186106,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:53:20] local.INFO: Acknowledgment sent {"connection_id":186106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:53:25] local.INFO: TCP Data received {"connection_id":187394,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:53:25] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:53:25] local.INFO: IMEI packet received {"connection_id":187394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":187394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:53:30] local.INFO: TCP Data received {"connection_id":187394,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:53:30] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:53:30] local.INFO: IMEI packet received {"connection_id":187394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":187394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:53:32] local.INFO: TCP Data received {"connection_id":187394,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32b8568012d196940071fec88003d010d27..."} 
[2026-09-18 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32b8568012d196940071fec88003d010d27..."} 
[2026-09-18 11:53:32] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32b8568012d196940071fec88003d010d27..."} 
[2026-09-18 11:53:32] local.INFO: Packet analysis {"connection_id":187394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32b"} 
[2026-09-18 11:53:32] local.INFO: Extracted packet for processing {"connection_id":187394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32b"} 
[2026-09-18 11:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712369000,"timestamp_ms":1789712369000,"timestamp_seconds":1789712369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32b8568"} 
[2026-09-18 11:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:53: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-09-18 11: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 11:53: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-09-18 11: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-09-18 11:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166361088001,"66":12841,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:53:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166361088001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":187394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:53:32] local.INFO: GPS data processed {"connection_id":187394,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:53:32] local.INFO: Acknowledgment sent {"connection_id":187394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:53:36] local.INFO: TCP Data received {"connection_id":187394,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32bd770012d196940071fec88003d010d27..."} 
[2026-09-18 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32bd770012d196940071fec88003d010d27..."} 
[2026-09-18 11:53:36] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32bd770012d196940071fec88003d010d27..."} 
[2026-09-18 11:53:36] local.INFO: Packet analysis {"connection_id":187394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32b"} 
[2026-09-18 11:53:36] local.INFO: Extracted packet for processing {"connection_id":187394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32b"} 
[2026-09-18 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166366464001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789712390000,"timestamp_ms":1789712390000,"timestamp_seconds":1789712390,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32bd770"} 
[2026-09-18 11:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 11:53: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-09-18 11: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-09-18 11:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166366464001,"66":12885,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166366464001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:53:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166366464001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":187394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:53:36] local.INFO: GPS data processed {"connection_id":187394,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:53:36] local.INFO: Acknowledgment sent {"connection_id":187394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:53:51] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32db7e8012d49bd00069649d0005100552d..."} 
[2026-09-18 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32db7e8012d49bd00069649d0005100552d..."} 
[2026-09-18 11:53:51] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32db7e8012d49bd00069649d0005100552d..."} 
[2026-09-18 11:53:51] local.INFO: Packet analysis {"connection_id":186106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:53:51] local.INFO: Extracted packet for processing {"connection_id":186106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":759807232,"raw_latitude":110512592,"longitude_deg":75.9807232,"latitude_deg":11.0512592,"altitude":81,"angle":85,"satellites":45,"speed":18,"hex_longitude":"2d49bd00","hex_latitude":"069649d0","is_valid_coordinates":true} 
[2026-09-18 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166398464001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405306335622594560,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5303340433240471552,"note":"Value kept but may cause issues"} 
[2026-09-18 11:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789712513000,"timestamp_ms":1789712513000,"timestamp_seconds":1789712513,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32db7e8"} 
[2026-09-18 11:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:53: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 11:53:51] 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-09-18 11:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166398464001,"66":27821,"194":206,"86":48896,"24":18,"16":405306335622594560,"45":5303340433240471552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,86,24,16,45]} 
[2026-09-18 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166398464001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:53:51] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-18 11:53:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405306335622594560,"km_value":405306335622594.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5303340433240471552,"description":"Unknown IO ID 45"} 
[2026-09-18 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166398464001,"power":27821,"unknown_194":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5303340433240471552}} 
[2026-09-18 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":186106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:53:51] local.INFO: GPS data processed {"connection_id":186106,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:53:51] local.INFO: Acknowledgment sent {"connection_id":186106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:54:08] local.INFO: TCP Data received {"connection_id":187394,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32c2978012d196940071fec88003d010d29..."} 
[2026-09-18 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32c2978012d196940071fec88003d010d29..."} 
[2026-09-18 11:54:08] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32c2978012d196940071fec88003d010d29..."} 
[2026-09-18 11:54:08] local.INFO: Packet analysis {"connection_id":187394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:54:08] local.INFO: Extracted packet for processing {"connection_id":187394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166371840001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789712411000,"timestamp_ms":1789712411000,"timestamp_seconds":1789712411,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32c2978"} 
[2026-09-18 11:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 11:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166371840001,"66":12874,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166371840001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:54:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166371840001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":187394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:54:08] local.INFO: GPS data processed {"connection_id":187394,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:54:08] local.INFO: Acknowledgment sent {"connection_id":187394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:54:17] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:54:17] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:54:17] local.INFO: IMEI packet received {"connection_id":185949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":185949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:54:24] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:54:24] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:54:24] local.INFO: IMEI packet received {"connection_id":185949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":185949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:54:24] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32df280012d49e18006964cb8004e005b2d..."} 
[2026-09-18 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32df280012d49e18006964cb8004e005b2d..."} 
[2026-09-18 11:54:24] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32df280012d49e18006964cb8004e005b2d..."} 
[2026-09-18 11:54:24] local.INFO: Packet analysis {"connection_id":185949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:54:24] local.INFO: Extracted packet for processing {"connection_id":185949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:54:24] local.INFO: GPS Element Parsed {"raw_longitude":759816576,"raw_latitude":110513336,"longitude_deg":75.9816576,"latitude_deg":11.0513336,"altitude":78,"angle":91,"satellites":45,"speed":20,"hex_longitude":"2d49e180","hex_latitude":"06964cb8","is_valid_coordinates":true} 
[2026-09-18 11:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166403328001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405306782299193344,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5313403163658276864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789712528000,"timestamp_ms":1789712528000,"timestamp_seconds":1789712528,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32df280"} 
[2026-09-18 11:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 11:54:24] 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-09-18 11:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166403328001,"66":27974,"194":206,"86":48896,"24":20,"16":405306782299193344,"45":5313403163658276864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,86,24,16,45]} 
[2026-09-18 11:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166403328001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:54:24] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-18 11:54:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405306782299193344,"km_value":405306782299193.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5313403163658276864,"description":"Unknown IO ID 45"} 
[2026-09-18 11:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166403328001,"power":27974,"unknown_194":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5313403163658276864}} 
[2026-09-18 11:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":185949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:54:24] local.INFO: GPS data processed {"connection_id":185949,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:54:24] local.INFO: Acknowledgment sent {"connection_id":185949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:54:25] local.INFO: TCP Data received {"connection_id":188721,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:54:26] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:54:26] local.INFO: IMEI packet received {"connection_id":188721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":188721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:54:27] local.INFO: TCP Data received {"connection_id":185949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32e4488012d4a064006964b300052005b2e..."} 
[2026-09-18 11:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32e4488012d4a064006964b300052005b2e..."} 
[2026-09-18 11:54:27] local.INFO: Processing buffer {"connection_id":185949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32e4488012d4a064006964b300052005b2e..."} 
[2026-09-18 11:54:27] local.INFO: Packet analysis {"connection_id":185949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:54:27] local.INFO: Extracted packet for processing {"connection_id":185949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:54:27] local.INFO: GPS Element Parsed {"raw_longitude":759825984,"raw_latitude":110512944,"longitude_deg":75.9825984,"latitude_deg":11.0512944,"altitude":82,"angle":91,"satellites":46,"speed":24,"hex_longitude":"2d4a0640","hex_latitude":"06964b30","is_valid_coordinates":true} 
[2026-09-18 11:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166407168001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405307228975792128,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5323677000308406272,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789712549000,"timestamp_ms":1789712549000,"timestamp_seconds":1789712549,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32e4488"} 
[2026-09-18 11:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 11:54:27] 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-09-18 11:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166407168001,"66":27919,"194":206,"86":48896,"24":24,"16":405307228975792128,"45":5323677000308406272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,86,24,16,45]} 
[2026-09-18 11:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166407168001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:54:27] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-18 11:54:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405307228975792128,"km_value":405307228975792.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5323677000308406272,"description":"Unknown IO ID 45"} 
[2026-09-18 11:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166407168001,"power":27919,"unknown_194":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5323677000308406272}} 
[2026-09-18 11:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":185949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:54:27] local.INFO: GPS data processed {"connection_id":185949,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:54:27] local.INFO: Acknowledgment sent {"connection_id":185949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:54:30] local.INFO: TCP Data received {"connection_id":188721,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:54:30] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:54:30] local.INFO: IMEI packet received {"connection_id":188721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":188721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:54:32] local.INFO: TCP Data received {"connection_id":188721,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32c7b80012d196940071fec88003d010d2a..."} 
[2026-09-18 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32c7b80012d196940071fec88003d010d2a..."} 
[2026-09-18 11:54:32] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32c7b80012d196940071fec88003d010d2a..."} 
[2026-09-18 11:54:32] local.INFO: Packet analysis {"connection_id":188721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:54:32] local.INFO: Extracted packet for processing {"connection_id":188721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166377216001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712432000,"timestamp_ms":1789712432000,"timestamp_seconds":1789712432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32c7b80"} 
[2026-09-18 11:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:54: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-09-18 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 11:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166377216001,"66":12515,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166377216001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166377216001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":188721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:54:32] local.INFO: GPS data processed {"connection_id":188721,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:54:32] local.INFO: Acknowledgment sent {"connection_id":188721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:54:36] local.INFO: TCP Data received {"connection_id":188721,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32ccd88012d196940071fec88003d010d29..."} 
[2026-09-18 11:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32ccd88012d196940071fec88003d010d29..."} 
[2026-09-18 11:54:36] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32ccd88012d196940071fec88003d010d29..."} 
[2026-09-18 11:54:36] local.INFO: Packet analysis {"connection_id":188721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:54:36] local.INFO: Extracted packet for processing {"connection_id":188721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32c"} 
[2026-09-18 11:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166382592001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789712453000,"timestamp_ms":1789712453000,"timestamp_seconds":1789712453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32ccd88"} 
[2026-09-18 11:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:54: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-09-18 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 11:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11: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-09-18 11:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166382592001,"66":12841,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166382592001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166382592001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":188721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:54:36] local.INFO: GPS data processed {"connection_id":188721,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:54:36] local.INFO: Acknowledgment sent {"connection_id":188721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:55:08] local.INFO: TCP Data received {"connection_id":188721,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32d1f90012d196940071fec88003d010d29..."} 
[2026-09-18 11:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32d1f90012d196940071fec88003d010d29..."} 
[2026-09-18 11:55:08] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32d1f90012d196940071fec88003d010d29..."} 
[2026-09-18 11:55:08] local.INFO: Packet analysis {"connection_id":188721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:55:08] local.INFO: Extracted packet for processing {"connection_id":188721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166387968001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789712474000,"timestamp_ms":1789712474000,"timestamp_seconds":1789712474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32d1f90"} 
[2026-09-18 11:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":41,"data_length":795,"current_offset":136} 
[2026-09-18 11:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166387968001,"66":12798,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166387968001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166387968001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":188721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:55:08] local.INFO: GPS data processed {"connection_id":188721,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:55:08] local.INFO: Acknowledgment sent {"connection_id":188721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:55:10] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:10] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:10] local.INFO: IMEI packet received {"connection_id":186107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":186107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:55:12] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:12] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:12] local.INFO: IMEI packet received {"connection_id":186107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:55:17] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:17] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:55:17] local.INFO: IMEI packet received {"connection_id":186107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":186107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:55:18] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32fdac8012d4ae5c006964678005a009b2d..."} 
[2026-09-18 11:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32fdac8012d4ae5c006964678005a009b2d..."} 
[2026-09-18 11:55:18] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32fdac8012d4ae5c006964678005a009b2d..."} 
[2026-09-18 11:55:18] local.INFO: Packet analysis {"connection_id":186107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32f"} 
[2026-09-18 11:55:18] local.INFO: Extracted packet for processing {"connection_id":186107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32f"} 
[2026-09-18 11:55:18] local.INFO: GPS Element Parsed {"raw_longitude":759883200,"raw_latitude":110511736,"longitude_deg":75.98832,"latitude_deg":11.0511736,"altitude":90,"angle":155,"satellites":45,"speed":9,"hex_longitude":"2d4ae5c0","hex_latitude":"06964678","is_valid_coordinates":true} 
[2026-09-18 11:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166438656001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405309977754861568,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5396649388020326400,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789712653000,"timestamp_ms":1789712653000,"timestamp_seconds":1789712653,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32fdac8"} 
[2026-09-18 11:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 11:55:18] 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-09-18 11:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166438656001,"66":27832,"243":206,"86":48896,"24":9,"16":405309977754861568,"45":5396649388020326400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,86,24,16,45]} 
[2026-09-18 11:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166438656001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:55:18] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-18 11:55:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405309977754861568,"km_value":405309977754861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5396649388020326400,"description":"Unknown IO ID 45"} 
[2026-09-18 11:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166438656001,"power":27832,"unknown_243":206,"unknown_86":48896,"ignition":9,"odometer":null,"unknown_45":5396649388020326400}} 
[2026-09-18 11:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":186107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:55:18] local.INFO: GPS data processed {"connection_id":186107,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:55:18] local.INFO: Acknowledgment sent {"connection_id":186107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:55:25] local.INFO: TCP Data received {"connection_id":185950,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:55:25] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:55:25] local.INFO: IMEI packet received {"connection_id":185950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":185950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:55:30] local.INFO: TCP Data received {"connection_id":185950,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:55:30] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:55:30] local.INFO: IMEI packet received {"connection_id":185950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":185950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:55:32] local.INFO: TCP Data received {"connection_id":185950,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32d7198012d196940071fec88003d010d21..."} 
[2026-09-18 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32d7198012d196940071fec88003d010d21..."} 
[2026-09-18 11:55:32] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32d7198012d196940071fec88003d010d21..."} 
[2026-09-18 11:55:32] local.INFO: Packet analysis {"connection_id":185950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:55:32] local.INFO: Extracted packet for processing {"connection_id":185950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166393344001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712495000,"timestamp_ms":1789712495000,"timestamp_seconds":1789712495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32d7198"} 
[2026-09-18 11:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:55: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-09-18 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 11:55: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-09-18 11: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-09-18 11:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166393344001,"66":12776,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166393344001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166393344001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":185950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:55:32] local.INFO: GPS data processed {"connection_id":185950,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:55:32] local.INFO: Acknowledgment sent {"connection_id":185950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:55:36] local.INFO: TCP Data received {"connection_id":187395,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:55:36] local.INFO: Processing buffer {"connection_id":187395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 11:55:36] local.INFO: IMEI packet received {"connection_id":187395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 11:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":187395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:55:49] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32fee50012d4ae94006964008005a008d2e..."} 
[2026-09-18 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32fee50012d4ae94006964008005a008d2e..."} 
[2026-09-18 11:55:49] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32fee50012d4ae94006964008005a008d2e..."} 
[2026-09-18 11:55:49] local.INFO: Packet analysis {"connection_id":186107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32f"} 
[2026-09-18 11:55:49] local.INFO: Extracted packet for processing {"connection_id":186107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32f"} 
[2026-09-18 11:55:49] local.INFO: GPS Element Parsed {"raw_longitude":759884096,"raw_latitude":110510088,"longitude_deg":75.9884096,"latitude_deg":11.0510088,"altitude":90,"angle":141,"satellites":46,"speed":20,"hex_longitude":"2d4ae940","hex_latitude":"06964008","is_valid_coordinates":true} 
[2026-09-18 11:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166439168001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405310067949174784,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5396930862996944896,"note":"Value kept but may cause issues"} 
[2026-09-18 11:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789712658000,"timestamp_ms":1789712658000,"timestamp_seconds":1789712658,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32fee50"} 
[2026-09-18 11:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 11:55:49] 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-09-18 11:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166439168001,"66":27876,"243":206,"86":48896,"24":20,"16":405310067949174784,"45":5396930862996944896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,86,24,16,45]} 
[2026-09-18 11:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166439168001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:55:49] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-18 11:55:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405310067949174784,"km_value":405310067949174.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5396930862996944896,"description":"Unknown IO ID 45"} 
[2026-09-18 11:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166439168001,"power":27876,"unknown_243":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5396930862996944896}} 
[2026-09-18 11:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":186107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:55:49] local.INFO: GPS data processed {"connection_id":186107,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:55:49] local.INFO: Acknowledgment sent {"connection_id":186107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:56:03] local.INFO: TCP Data received {"connection_id":185950,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32dc3a0012d196940071fec88003d010d29..."} 
[2026-09-18 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32dc3a0012d196940071fec88003d010d29..."} 
[2026-09-18 11:56:03] local.INFO: Processing buffer {"connection_id":185950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32dc3a0012d196940071fec88003d010d29..."} 
[2026-09-18 11:56:03] local.INFO: Packet analysis {"connection_id":185950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:56:03] local.INFO: Extracted packet for processing {"connection_id":185950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32d"} 
[2026-09-18 11:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166398720001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789712516000,"timestamp_ms":1789712516000,"timestamp_seconds":1789712516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32dc3a0"} 
[2026-09-18 11:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:56: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-09-18 11:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166398720001,"66":12798,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166398720001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:56:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166398720001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":185950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:56:03] local.INFO: GPS data processed {"connection_id":185950,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:56:03] local.INFO: Acknowledgment sent {"connection_id":185950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:56:13] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:56:13] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:56:13] local.INFO: IMEI packet received {"connection_id":187396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":187396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:56:17] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:56:17] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:56:17] local.INFO: IMEI packet received {"connection_id":187396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":187396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:56:18] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3302500012d4afd0006962190005700922b..."} 
[2026-09-18 11:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3302500012d4afd0006962190005700922b..."} 
[2026-09-18 11:56:18] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3302500012d4afd0006962190005700922b..."} 
[2026-09-18 11:56:18] local.INFO: Packet analysis {"connection_id":187396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b330"} 
[2026-09-18 11:56:18] local.INFO: Extracted packet for processing {"connection_id":187396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b330"} 
[2026-09-18 11:56:18] local.INFO: GPS Element Parsed {"raw_longitude":759889152,"raw_latitude":110502288,"longitude_deg":75.9889152,"latitude_deg":11.0502288,"altitude":87,"angle":146,"satellites":43,"speed":31,"hex_longitude":"2d4afd00","hex_latitude":"06962190","is_valid_coordinates":true} 
[2026-09-18 11:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166440448001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405310518920740864,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5397916025415010304,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789712672000,"timestamp_ms":1789712672000,"timestamp_seconds":1789712672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3302500"} 
[2026-09-18 11:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:56: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-09-18 11:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166440448001,"66":27789,"13":206,"86":48896,"24":31,"16":405310518920740864,"45":5397916025415010304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-09-18 11:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166440448001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:56:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-18 11:56:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405310518920740864,"km_value":405310518920740.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5397916025415010304,"description":"Unknown IO ID 45"} 
[2026-09-18 11:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166440448001,"power":27789,"unknown_13":206,"unknown_86":48896,"ignition":31,"odometer":null,"unknown_45":5397916025415010304}} 
[2026-09-18 11:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":187396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:56:18] local.INFO: GPS data processed {"connection_id":187396,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:56:18] local.INFO: Acknowledgment sent {"connection_id":187396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:56:25] local.INFO: TCP Data received {"connection_id":188722,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:25] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:25] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:56:26] local.INFO: TCP Data received {"connection_id":188722,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:26] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:26] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:56:30] local.INFO: TCP Data received {"connection_id":188722,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:30] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:56:30] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:56:32] local.INFO: TCP Data received {"connection_id":188722,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32e15a8012d196940071fec88003d010d29..."} 
[2026-09-18 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32e15a8012d196940071fec88003d010d29..."} 
[2026-09-18 11:56:32] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32e15a8012d196940071fec88003d010d29..."} 
[2026-09-18 11:56:32] local.INFO: Packet analysis {"connection_id":188722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:56:32] local.INFO: Extracted packet for processing {"connection_id":188722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166404096001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712537000,"timestamp_ms":1789712537000,"timestamp_seconds":1789712537,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32e15a8"} 
[2026-09-18 11:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:56: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-09-18 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 11:56: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-09-18 11:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166404096001,"66":12776,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166404096001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:56:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166404096001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":188722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:56:32] local.INFO: GPS data processed {"connection_id":188722,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:56:32] local.INFO: Acknowledgment sent {"connection_id":188722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:56:49] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33178d8012d4b4b40069530980036009629..."} 
[2026-09-18 11:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33178d8012d4b4b40069530980036009629..."} 
[2026-09-18 11:56:49] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33178d8012d4b4b40069530980036009629..."} 
[2026-09-18 11:56:49] local.INFO: Packet analysis {"connection_id":187396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b331"} 
[2026-09-18 11:56:49] local.INFO: Extracted packet for processing {"connection_id":187396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b331"} 
[2026-09-18 11:56:49] local.INFO: GPS Element Parsed {"raw_longitude":759909184,"raw_latitude":110440600,"longitude_deg":75.9909184,"latitude_deg":11.04406,"altitude":54,"angle":150,"satellites":41,"speed":28,"hex_longitude":"2d4b4b40","hex_latitude":"06953098","is_valid_coordinates":true} 
[2026-09-18 11:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166465792001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405313774505951232,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5424515410696691712,"note":"Value kept but may cause issues"} 
[2026-09-18 11:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789712759000,"timestamp_ms":1789712759000,"timestamp_seconds":1789712759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33178d8"} 
[2026-09-18 11:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 11:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166465792001,"66":27658,"13":206,"86":48896,"24":28,"16":405313774505951232,"45":5424515410696691712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-09-18 11:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166465792001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:56:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-18 11:56:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405313774505951232,"km_value":405313774505951.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5424515410696691712,"description":"Unknown IO ID 45"} 
[2026-09-18 11:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166465792001,"power":27658,"unknown_13":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5424515410696691712}} 
[2026-09-18 11:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":187396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:56:49] local.INFO: GPS data processed {"connection_id":187396,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:56:49] local.INFO: Acknowledgment sent {"connection_id":187396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:57:07] local.INFO: TCP Data received {"connection_id":188722,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32e67b0012d196940071fec88003d010d2b..."} 
[2026-09-18 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32e67b0012d196940071fec88003d010d2b..."} 
[2026-09-18 11:57:07] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32e67b0012d196940071fec88003d010d2b..."} 
[2026-09-18 11:57:07] local.INFO: Packet analysis {"connection_id":188722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:57:07] local.INFO: Extracted packet for processing {"connection_id":188722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 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-09-18 11:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166409472001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789712558000,"timestamp_ms":1789712558000,"timestamp_seconds":1789712558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32e67b0"} 
[2026-09-18 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-09-18 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 11:57: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-09-18 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-09-18 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-09-18 11:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166409472001,"66":12341,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166409472001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:57:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166409472001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":188722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:57:07] local.INFO: GPS data processed {"connection_id":188722,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:57:07] local.INFO: Acknowledgment sent {"connection_id":188722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:57:12] local.INFO: TCP Data received {"connection_id":187397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:12] local.INFO: Processing buffer {"connection_id":187397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:12] local.INFO: IMEI packet received {"connection_id":187397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":187397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:57:16] local.INFO: TCP Data received {"connection_id":187397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:16] local.INFO: Processing buffer {"connection_id":187397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:16] local.INFO: IMEI packet received {"connection_id":187397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":187397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:57:17] local.INFO: TCP Data received {"connection_id":187397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33180a8012d4b4e4006952c20003700892a..."} 
[2026-09-18 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33180a8012d4b4e4006952c20003700892a..."} 
[2026-09-18 11:57:17] local.INFO: Processing buffer {"connection_id":187397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33180a8012d4b4e4006952c20003700892a..."} 
[2026-09-18 11:57:17] local.INFO: Packet analysis {"connection_id":187397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b331"} 
[2026-09-18 11:57:17] local.INFO: Extracted packet for processing {"connection_id":187397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b331"} 
[2026-09-18 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":759909952,"raw_latitude":110439456,"longitude_deg":75.9909952,"latitude_deg":11.0439456,"altitude":55,"angle":137,"satellites":42,"speed":26,"hex_longitude":"2d4b4e40","hex_latitude":"06952c20","is_valid_coordinates":true} 
[2026-09-18 11:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166466304001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405313843225427968,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5425500573114865664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789712761000,"timestamp_ms":1789712761000,"timestamp_seconds":1789712761,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33180a8"} 
[2026-09-18 11:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 11:57:17] 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-09-18 11:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166466304001,"66":27865,"13":206,"86":48896,"24":26,"16":405313843225427968,"45":5425500573114865664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-09-18 11:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166466304001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:57:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-18 11:57:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405313843225427968,"km_value":405313843225427.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5425500573114865664,"description":"Unknown IO ID 45"} 
[2026-09-18 11:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166466304001,"power":27865,"unknown_13":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5425500573114865664}} 
[2026-09-18 11:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":187397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:57:17] local.INFO: GPS data processed {"connection_id":187397,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:57:17] local.INFO: Acknowledgment sent {"connection_id":187397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:57:25] local.INFO: TCP Data received {"connection_id":185951,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:25] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:25] local.INFO: IMEI packet received {"connection_id":185951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":185951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:57:29] local.INFO: TCP Data received {"connection_id":185951,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:29] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:29] local.INFO: IMEI packet received {"connection_id":185951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":185951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:57:30] local.INFO: TCP Data received {"connection_id":185951,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:30] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:57:30] local.INFO: IMEI packet received {"connection_id":185951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":185951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:57:31] local.INFO: TCP Data received {"connection_id":185951,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32eb9b8012d196940071fec88003d010d29..."} 
[2026-09-18 11:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32eb9b8012d196940071fec88003d010d29..."} 
[2026-09-18 11:57:31] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32eb9b8012d196940071fec88003d010d29..."} 
[2026-09-18 11:57:31] local.INFO: Packet analysis {"connection_id":185951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:57:31] local.INFO: Extracted packet for processing {"connection_id":185951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32e"} 
[2026-09-18 11:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166414848001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789712579000,"timestamp_ms":1789712579000,"timestamp_seconds":1789712579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32eb9b8"} 
[2026-09-18 11:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 11:57: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-09-18 11: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-09-18 11:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166414848001,"66":12765,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166414848001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:57:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166414848001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":185951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:57:31] local.INFO: GPS data processed {"connection_id":185951,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:57:31] local.INFO: Acknowledgment sent {"connection_id":185951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:57:41] local.INFO: TCP Data received {"connection_id":185951,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b32f0bc0012d196940071fec88003d010d24..."} 
[2026-09-18 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b32f0bc0012d196940071fec88003d010d24..."} 
[2026-09-18 11:57:41] local.INFO: Processing buffer {"connection_id":185951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b32f0bc0012d196940071fec88003d010d24..."} 
[2026-09-18 11:57:41] local.INFO: Packet analysis {"connection_id":185951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b32f"} 
[2026-09-18 11:57:41] local.INFO: Extracted packet for processing {"connection_id":185951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b32f"} 
[2026-09-18 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166420224001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789712600000,"timestamp_ms":1789712600000,"timestamp_seconds":1789712600,"priority":1,"record_length":96,"hex_timestamp":"000001a0b32f0bc0"} 
[2026-09-18 11:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 11:57: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-09-18 11:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166420224001,"66":12113,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166420224001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:57:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166420224001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":185951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:57:41] local.INFO: GPS data processed {"connection_id":185951,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:57:41] local.INFO: Acknowledgment sent {"connection_id":185951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:57:52] local.INFO: TCP Data received {"connection_id":186108,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:52] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:57:52] local.INFO: IMEI packet received {"connection_id":186108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":186108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:58:22] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:58:22] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:58:22] local.INFO: IMEI packet received {"connection_id":188723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":188723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:58:27] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:58:27] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:58:27] local.INFO: IMEI packet received {"connection_id":188723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":188723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:58:28] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3327aa8012d4bbf000694c3d0004a00932d..."} 
[2026-09-18 11:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3327aa8012d4bbf000694c3d0004a00932d..."} 
[2026-09-18 11:58:28] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3327aa8012d4bbf000694c3d0004a00932d..."} 
[2026-09-18 11:58:28] local.INFO: Packet analysis {"connection_id":188723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:58:28] local.INFO: Extracted packet for processing {"connection_id":188723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:58:28] local.INFO: GPS Element Parsed {"raw_longitude":759938816,"raw_latitude":110412752,"longitude_deg":75.9938816,"latitude_deg":11.0412752,"altitude":74,"angle":147,"satellites":45,"speed":33,"hex_longitude":"2d4bbf00","hex_latitude":"0694c3d0","is_valid_coordinates":true} 
[2026-09-18 11:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166480384001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405315750190907392,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5451537008455389184,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789712825000,"timestamp_ms":1789712825000,"timestamp_seconds":1789712825,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3327aa8"} 
[2026-09-18 11:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 11:58:28] 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-09-18 11:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166480384001,"66":27745,"11":206,"86":48896,"24":33,"16":405315750190907392,"45":5451537008455389184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,86,24,16,45]} 
[2026-09-18 11:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166480384001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:58:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-18 11:58:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405315750190907392,"km_value":405315750190907.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5451537008455389184,"description":"Unknown IO ID 45"} 
[2026-09-18 11:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166480384001,"power":27745,"unknown_11":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5451537008455389184}} 
[2026-09-18 11:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":188723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:58:28] local.INFO: GPS data processed {"connection_id":188723,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:58:28] local.INFO: Acknowledgment sent {"connection_id":188723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:58:30] local.INFO: TCP Data received {"connection_id":185952,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:58:30] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:58:30] local.INFO: IMEI packet received {"connection_id":185952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":185952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:58:32] local.INFO: TCP Data received {"connection_id":185952,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:58:32] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:58:32] local.INFO: IMEI packet received {"connection_id":185952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":185952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:58:40] local.INFO: TCP Data received {"connection_id":185952,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3329218012d196940071fec88003d010d2c..."} 
[2026-09-18 11:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3329218012d196940071fec88003d010d2c..."} 
[2026-09-18 11:58:40] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3329218012d196940071fec88003d010d2c..."} 
[2026-09-18 11:58:40] local.INFO: Packet analysis {"connection_id":185952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:58:40] local.INFO: Extracted packet for processing {"connection_id":185952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166479360001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789712831000,"timestamp_ms":1789712831000,"timestamp_seconds":1789712831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3329218"} 
[2026-09-18 11:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:58: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-09-18 11: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 11:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166479360001,"66":12667,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166479360001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:58:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166479360001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":185952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:58:40] local.INFO: GPS data processed {"connection_id":185952,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:58:40] local.INFO: Acknowledgment sent {"connection_id":185952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:58:41] local.INFO: TCP Data received {"connection_id":185952,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b332e420012d196940071fec88003d010d29..."} 
[2026-09-18 11:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b332e420012d196940071fec88003d010d29..."} 
[2026-09-18 11:58:41] local.INFO: Processing buffer {"connection_id":185952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b332e420012d196940071fec88003d010d29..."} 
[2026-09-18 11:58:41] local.INFO: Packet analysis {"connection_id":185952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:58:41] local.INFO: Extracted packet for processing {"connection_id":185952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166484736001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789712852000,"timestamp_ms":1789712852000,"timestamp_seconds":1789712852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b332e420"} 
[2026-09-18 11:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 11:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166484736001,"66":12613,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166484736001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166484736001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":185952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:58:41] local.INFO: GPS data processed {"connection_id":185952,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:58:41] local.INFO: Acknowledgment sent {"connection_id":185952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:59:17] local.INFO: TCP Data received {"connection_id":186110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:59:17] local.INFO: Processing buffer {"connection_id":186110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:59:17] local.INFO: IMEI packet received {"connection_id":186110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 11:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":186110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:59:21] local.INFO: TCP Data received {"connection_id":186110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:59:21] local.INFO: Processing buffer {"connection_id":186110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 11:59:21] local.INFO: IMEI packet received {"connection_id":186110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 11:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":186110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:59:22] local.INFO: TCP Data received {"connection_id":186110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3328660012d4bc4c00694bc68004c00862c..."} 
[2026-09-18 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3328660012d4bc4c00694bc68004c00862c..."} 
[2026-09-18 11:59:22] local.INFO: Processing buffer {"connection_id":186110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3328660012d4bc4c00694bc68004c00862c..."} 
[2026-09-18 11:59:22] local.INFO: Packet analysis {"connection_id":186110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:59:22] local.INFO: Extracted packet for processing {"connection_id":186110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":759940288,"raw_latitude":110410856,"longitude_deg":75.9940288,"latitude_deg":11.0410856,"altitude":76,"angle":134,"satellites":44,"speed":29,"hex_longitude":"2d4bc4c0","hex_latitude":"0694bc68","is_valid_coordinates":true} 
[2026-09-18 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166483200001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405315866155024384,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5458081301661995008,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789712828000,"timestamp_ms":1789712828000,"timestamp_seconds":1789712828,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3328660"} 
[2026-09-18 11:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 11:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 11:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166483200001,"66":27800,"11":206,"86":48896,"24":29,"16":405315866155024384,"45":5458081301661995008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,86,24,16,45]} 
[2026-09-18 11:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166483200001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:59:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-18 11:59:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405315866155024384,"km_value":405315866155024.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5458081301661995008,"description":"Unknown IO ID 45"} 
[2026-09-18 11:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166483200001,"power":27800,"unknown_11":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5458081301661995008}} 
[2026-09-18 11:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":186110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:59:22] local.INFO: GPS data processed {"connection_id":186110,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:59:22] local.INFO: Acknowledgment sent {"connection_id":186110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:59:23] local.INFO: TCP Data received {"connection_id":186110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b332b540012d4bde000694a1b0004d00862d..."} 
[2026-09-18 11:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b332b540012d4bde000694a1b0004d00862d..."} 
[2026-09-18 11:59:23] local.INFO: Processing buffer {"connection_id":186110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b332b540012d4bde000694a1b0004d00862d..."} 
[2026-09-18 11:59:23] local.INFO: Packet analysis {"connection_id":186110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:59:23] local.INFO: Extracted packet for processing {"connection_id":186110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b332"} 
[2026-09-18 11:59:23] local.INFO: GPS Element Parsed {"raw_longitude":759946752,"raw_latitude":110404016,"longitude_deg":75.9946752,"latitude_deg":11.0404016,"altitude":77,"angle":134,"satellites":45,"speed":26,"hex_longitude":"2d4bde00","hex_latitude":"0694a1b0","is_valid_coordinates":true} 
[2026-09-18 11:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166483968001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405316317126590464,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5459699782777595904,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789712840000,"timestamp_ms":1789712840000,"timestamp_seconds":1789712840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b332b540"} 
[2026-09-18 11:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 11:59:23] 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-09-18 11:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166483968001,"66":27843,"210":206,"86":48896,"24":26,"16":405316317126590464,"45":5459699782777595904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-09-18 11:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166483968001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:59:23] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-18 11:59:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405316317126590464,"km_value":405316317126590.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5459699782777595904,"description":"Unknown IO ID 45"} 
[2026-09-18 11:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166483968001,"power":27843,"unknown_210":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5459699782777595904}} 
[2026-09-18 11:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":186110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:59:23] local.INFO: GPS data processed {"connection_id":186110,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:59:23] local.INFO: Acknowledgment sent {"connection_id":186110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:59:25] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:59:25] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:59:25] local.INFO: IMEI packet received {"connection_id":186111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 11:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":186111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 11:59:30] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:59:30] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 11:59:30] local.INFO: IMEI packet received {"connection_id":186111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 11:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":186111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 11:59:32] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3333628012d196940071fec88003d010d28..."} 
[2026-09-18 11:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3333628012d196940071fec88003d010d28..."} 
[2026-09-18 11:59:32] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3333628012d196940071fec88003d010d28..."} 
[2026-09-18 11:59:32] local.INFO: Packet analysis {"connection_id":186111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b333"} 
[2026-09-18 11:59:32] local.INFO: Extracted packet for processing {"connection_id":186111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b333"} 
[2026-09-18 11:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 11: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-09-18 11:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166490112001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712873000,"timestamp_ms":1789712873000,"timestamp_seconds":1789712873,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3333628"} 
[2026-09-18 11:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:59: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-09-18 11: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":69,"data_length":795,"current_offset":136} 
[2026-09-18 11:59: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-09-18 11: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-09-18 11:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 11:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 11:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 11:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166490112001,"66":12613,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 11:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 11:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 11:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166490112001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:59:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 11:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 11:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 11:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166490112001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 11:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":186111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:59:32] local.INFO: GPS data processed {"connection_id":186111,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:59:32] local.INFO: Acknowledgment sent {"connection_id":186111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 11:59:54] local.INFO: TCP Data received {"connection_id":186110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3345f08012d4c57000693b210001b007e29..."} 
[2026-09-18 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3345f08012d4c57000693b210001b007e29..."} 
[2026-09-18 11:59:54] local.INFO: Processing buffer {"connection_id":186110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3345f08012d4c57000693b210001b007e29..."} 
[2026-09-18 11:59:54] local.INFO: Packet analysis {"connection_id":186110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 11:59:54] local.INFO: Extracted packet for processing {"connection_id":186110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 11:59:54] local.INFO: GPS Element Parsed {"raw_longitude":759977728,"raw_latitude":110342672,"longitude_deg":75.9977728,"latitude_deg":11.0342672,"altitude":27,"angle":126,"satellites":41,"speed":25,"hex_longitude":"2d4c5700","hex_latitude":"0693b210","is_valid_coordinates":true} 
[2026-09-18 11:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 11:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166514688001,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405319748805459968,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500302548150761472,"note":"Value kept but may cause issues"} 
[2026-09-18 11:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 11:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789712949000,"timestamp_ms":1789712949000,"timestamp_seconds":1789712949,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3345f08"} 
[2026-09-18 11:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 11:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 11:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 11:59:54] 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-09-18 11:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 11:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 11:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 11:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 11:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 11:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 11:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 11:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 11:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166514688001,"66":27919,"210":206,"86":48896,"24":25,"16":405319748805459968,"45":5500302548150761472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-09-18 11:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 11:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 11:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166514688001,"description":"Unknown IO ID 0"} 
[2026-09-18 11:59:54] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-18 11:59:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 11:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405319748805459968,"km_value":405319748805459.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 11:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500302548150761472,"description":"Unknown IO ID 45"} 
[2026-09-18 11:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166514688001,"power":27919,"unknown_210":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5500302548150761472}} 
[2026-09-18 11:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":186110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 11:59:54] local.INFO: GPS data processed {"connection_id":186110,"processed":1,"errors":0,"total":1} 
[2026-09-18 11:59:54] local.INFO: Acknowledgment sent {"connection_id":186110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:00:09] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3338830012d196940071fec88003d010d28..."} 
[2026-09-18 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3338830012d196940071fec88003d010d28..."} 
[2026-09-18 12:00:09] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3338830012d196940071fec88003d010d28..."} 
[2026-09-18 12:00:09] local.INFO: Packet analysis {"connection_id":186111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b333"} 
[2026-09-18 12:00:09] local.INFO: Extracted packet for processing {"connection_id":186111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b333"} 
[2026-09-18 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166495488001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789712894000,"timestamp_ms":1789712894000,"timestamp_seconds":1789712894,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3338830"} 
[2026-09-18 12:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 12:00: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-09-18 12:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166495488001,"66":12591,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166495488001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:00:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166495488001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":186111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:00:09] local.INFO: GPS data processed {"connection_id":186111,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:00:09] local.INFO: Acknowledgment sent {"connection_id":186111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:00:12] local.INFO: TCP Data received {"connection_id":187398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:00:12] local.INFO: Processing buffer {"connection_id":187398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:00:12] local.INFO: IMEI packet received {"connection_id":187398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":187398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:00:14] local.INFO: TCP Data received {"connection_id":187398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:00:14] local.INFO: Processing buffer {"connection_id":187398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:00:14] local.INFO: IMEI packet received {"connection_id":187398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":187398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:00:14] local.INFO: TCP Data received {"connection_id":187398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33462f0012d4c59000693b120001b00712a..."} 
[2026-09-18 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33462f0012d4c59000693b120001b00712a..."} 
[2026-09-18 12:00:14] local.INFO: Processing buffer {"connection_id":187398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33462f0012d4c59000693b120001b00712a..."} 
[2026-09-18 12:00:14] local.INFO: Packet analysis {"connection_id":187398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:00:14] local.INFO: Extracted packet for processing {"connection_id":187398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:00:14] local.INFO: GPS Element Parsed {"raw_longitude":759978240,"raw_latitude":110342432,"longitude_deg":75.997824,"latitude_deg":11.0342432,"altitude":27,"angle":113,"satellites":42,"speed":21,"hex_longitude":"2d4c5900","hex_latitude":"0693b120","is_valid_coordinates":true} 
[2026-09-18 12:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166514944001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405319778870231040,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500865498104074240,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789712950000,"timestamp_ms":1789712950000,"timestamp_seconds":1789712950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33462f0"} 
[2026-09-18 12:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:00:14] 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-09-18 12:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 12:00: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-09-18 12:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166514944001,"66":27919,"210":206,"86":48896,"24":21,"16":405319778870231040,"45":5500865498104074240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-09-18 12:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166514944001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:00:14] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-18 12:00:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405319778870231040,"km_value":405319778870231.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500865498104074240,"description":"Unknown IO ID 45"} 
[2026-09-18 12:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166514944001,"power":27919,"unknown_210":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5500865498104074240}} 
[2026-09-18 12:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":187398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:00:14] local.INFO: GPS data processed {"connection_id":187398,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:00:14] local.INFO: Acknowledgment sent {"connection_id":187398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:00:23] local.INFO: TCP Data received {"connection_id":187398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3347290012d4c5e400693afe8001c00652a..."} 
[2026-09-18 12:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3347290012d4c5e400693afe8001c00652a..."} 
[2026-09-18 12:00:23] local.INFO: Processing buffer {"connection_id":187398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3347290012d4c5e400693afe8001c00652a..."} 
[2026-09-18 12:00:23] local.INFO: Packet analysis {"connection_id":187398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:00:23] local.INFO: Extracted packet for processing {"connection_id":187398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:00:23] local.INFO: GPS Element Parsed {"raw_longitude":759979584,"raw_latitude":110342120,"longitude_deg":75.9979584,"latitude_deg":11.034212,"altitude":28,"angle":101,"satellites":42,"speed":7,"hex_longitude":"2d4c5e40","hex_latitude":"0693afe8","is_valid_coordinates":true} 
[2026-09-18 12:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405319843294740480,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501428448057434112,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789712954000,"timestamp_ms":1789712954000,"timestamp_seconds":1789712954,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3347290"} 
[2026-09-18 12:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 12:00:23] 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-09-18 12: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-09-18 12:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166515200001,"66":27767,"210":206,"86":48896,"24":7,"16":405319843294740480,"45":5501428448057434112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-09-18 12:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:00:23] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-18 12:00:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405319843294740480,"km_value":405319843294740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501428448057434112,"description":"Unknown IO ID 45"} 
[2026-09-18 12:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166515200001,"power":27767,"unknown_210":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5501428448057434112}} 
[2026-09-18 12:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":187398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:00:23] local.INFO: GPS data processed {"connection_id":187398,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:00:23] local.INFO: Acknowledgment sent {"connection_id":187398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:00:25] local.INFO: TCP Data received {"connection_id":188724,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:00:25] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:00:25] local.INFO: IMEI packet received {"connection_id":188724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":188724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:00:30] local.INFO: TCP Data received {"connection_id":188724,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:00:30] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:00:30] local.INFO: IMEI packet received {"connection_id":188724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":188724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:00:32] local.INFO: TCP Data received {"connection_id":188724,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b333da38012d196940071fec88003d010d26..."} 
[2026-09-18 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b333da38012d196940071fec88003d010d26..."} 
[2026-09-18 12:00:32] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b333da38012d196940071fec88003d010d26..."} 
[2026-09-18 12:00:32] local.INFO: Packet analysis {"connection_id":188724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b333"} 
[2026-09-18 12:00:32] local.INFO: Extracted packet for processing {"connection_id":188724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b333"} 
[2026-09-18 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166500864001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712915000,"timestamp_ms":1789712915000,"timestamp_seconds":1789712915,"priority":1,"record_length":96,"hex_timestamp":"000001a0b333da38"} 
[2026-09-18 12:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:00: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-09-18 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 12:00: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-09-18 12:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166500864001,"66":12558,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166500864001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166500864001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":188724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:00:32] local.INFO: GPS data processed {"connection_id":188724,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:00:32] local.INFO: Acknowledgment sent {"connection_id":188724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:00:55] local.INFO: TCP Data received {"connection_id":187398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33499a0012d4c67000693adf8001f00742b..."} 
[2026-09-18 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33499a0012d4c67000693adf8001f00742b..."} 
[2026-09-18 12:00:55] local.INFO: Processing buffer {"connection_id":187398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33499a0012d4c67000693adf8001f00742b..."} 
[2026-09-18 12:00:55] local.INFO: Packet analysis {"connection_id":187398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:00:55] local.INFO: Extracted packet for processing {"connection_id":187398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":759981824,"raw_latitude":110341624,"longitude_deg":75.9981824,"latitude_deg":11.0341624,"altitude":31,"angle":116,"satellites":43,"speed":10,"hex_longitude":"2d4c6700","hex_latitude":"0693adf8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166516224001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405319954963890176,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5502906191685085184,"note":"Value kept but may cause issues"} 
[2026-09-18 12:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789712964000,"timestamp_ms":1789712964000,"timestamp_seconds":1789712964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33499a0"} 
[2026-09-18 12:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:00:55] 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-09-18 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 12:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166516224001,"66":27800,"210":206,"86":48896,"24":10,"16":405319954963890176,"45":5502906191685085184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-09-18 12:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166516224001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:00:55] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-18 12:00:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405319954963890176,"km_value":405319954963890.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5502906191685085184,"description":"Unknown IO ID 45"} 
[2026-09-18 12:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166516224001,"power":27800,"unknown_210":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5502906191685085184}} 
[2026-09-18 12:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":187398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:00:55] local.INFO: GPS data processed {"connection_id":187398,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:00:55] local.INFO: Acknowledgment sent {"connection_id":187398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:01:03] local.INFO: TCP Data received {"connection_id":188724,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3342c40012d196940071fec88003d010d29..."} 
[2026-09-18 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3342c40012d196940071fec88003d010d29..."} 
[2026-09-18 12:01:03] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3342c40012d196940071fec88003d010d29..."} 
[2026-09-18 12:01:03] local.INFO: Packet analysis {"connection_id":188724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:01:03] local.INFO: Extracted packet for processing {"connection_id":188724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166506240001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789712936000,"timestamp_ms":1789712936000,"timestamp_seconds":1789712936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3342c40"} 
[2026-09-18 12:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:01: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-09-18 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3006393864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,146,160,136,45,64,236,61,40,10,66,54,228,1,240,69,179,31,4,113,205,105,43,239,49,2,75,7,231,73,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:01:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809168150233088,"timestamp_seconds":4395809168150233.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166506240001,"66":12515,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166506240001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:01:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166506240001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":188724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:01:03] local.INFO: GPS data processed {"connection_id":188724,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:01:03] local.INFO: Acknowledgment sent {"connection_id":188724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:01:10] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:10] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:10] local.INFO: IMEI packet received {"connection_id":186112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":186112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:01:11] local.INFO: TCP Data received {"connection_id":186109,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:01:11] local.INFO: Processing buffer {"connection_id":186109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:01:11] local.INFO: IMEI packet received {"connection_id":186109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:01:12] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:12] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:12] local.INFO: IMEI packet received {"connection_id":186112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":186112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:01:17] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:17] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:01:17] local.INFO: IMEI packet received {"connection_id":186112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":186112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:01:18] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3349d88012d4c67c00693ad70001f00802b..."} 
[2026-09-18 12:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3349d88012d4c67c00693ad70001f00802b..."} 
[2026-09-18 12:01:18] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3349d88012d4c67c00693ad70001f00802b..."} 
[2026-09-18 12:01:18] local.INFO: Packet analysis {"connection_id":186112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:01:18] local.INFO: Extracted packet for processing {"connection_id":186112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:01:18] local.INFO: GPS Element Parsed {"raw_longitude":759982016,"raw_latitude":110341488,"longitude_deg":75.9982016,"latitude_deg":11.0341488,"altitude":31,"angle":128,"satellites":43,"speed":9,"hex_longitude":"2d4c67c0","hex_latitude":"0693ad70","is_valid_coordinates":true} 
[2026-09-18 12:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166518784001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405319963553824768,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5505369097731176448,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789712965000,"timestamp_ms":1789712965000,"timestamp_seconds":1789712965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3349d88"} 
[2026-09-18 12:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:01:18] 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-09-18 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 12:01:18] 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-09-18 12:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166518784001,"66":27843,"210":206,"86":48896,"24":9,"16":405319963553824768,"45":5505369097731176448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-09-18 12:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166518784001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:01:18] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-18 12:01:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405319963553824768,"km_value":405319963553824.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5505369097731176448,"description":"Unknown IO ID 45"} 
[2026-09-18 12:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166518784001,"power":27843,"unknown_210":206,"unknown_86":48896,"ignition":9,"odometer":null,"unknown_45":5505369097731176448}} 
[2026-09-18 12:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":186112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:01:18] local.INFO: GPS data processed {"connection_id":186112,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:01:18] local.INFO: Acknowledgment sent {"connection_id":186112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:01:25] local.INFO: TCP Data received {"connection_id":185953,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:01:25] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:01:25] local.INFO: IMEI packet received {"connection_id":185953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":185953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:01:30] local.INFO: TCP Data received {"connection_id":185953,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:01:30] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:01:30] local.INFO: IMEI packet received {"connection_id":185953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":185953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:01:32] local.INFO: TCP Data received {"connection_id":185953,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3347e48012d196940071fec88003d010d2c..."} 
[2026-09-18 12:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3347e48012d196940071fec88003d010d2c..."} 
[2026-09-18 12:01:32] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3347e48012d196940071fec88003d010d2c..."} 
[2026-09-18 12:01:32] local.INFO: Packet analysis {"connection_id":185953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:01:32] local.INFO: Extracted packet for processing {"connection_id":185953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166511616001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712957000,"timestamp_ms":1789712957000,"timestamp_seconds":1789712957,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3347e48"} 
[2026-09-18 12:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:01: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-09-18 12: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 12:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166511616001,"66":12558,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166511616001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:01:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166511616001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":185953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:01:32] local.INFO: GPS data processed {"connection_id":185953,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:01:32] local.INFO: Acknowledgment sent {"connection_id":185953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:01:50] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33610a0012d4c62000692fd08001e00be2f..."} 
[2026-09-18 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33610a0012d4c62000692fd08001e00be2f..."} 
[2026-09-18 12:01:50] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33610a0012d4c62000692fd08001e00be2f..."} 
[2026-09-18 12:01:50] local.INFO: Packet analysis {"connection_id":186112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:01:50] local.INFO: Extracted packet for processing {"connection_id":186112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:01:50] local.INFO: GPS Element Parsed {"raw_longitude":759980544,"raw_latitude":110296328,"longitude_deg":75.9980544,"latitude_deg":11.0296328,"altitude":30,"angle":190,"satellites":47,"speed":24,"hex_longitude":"2d4c6200","hex_latitude":"0692fd08","is_valid_coordinates":true} 
[2026-09-18 12:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166542848001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405322355850608640,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5504032091580502016,"note":"Value kept but may cause issues"} 
[2026-09-18 12:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713060000,"timestamp_ms":1789713060000,"timestamp_seconds":1789713060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33610a0"} 
[2026-09-18 12:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:01:50] 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-09-18 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 12:01:50] 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-09-18 12:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166542848001,"66":27865,"209":206,"86":48896,"24":24,"16":405322355850608640,"45":5504032091580502016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-09-18 12:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166542848001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:01:50] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-18 12:01:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405322355850608640,"km_value":405322355850608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5504032091580502016,"description":"Unknown IO ID 45"} 
[2026-09-18 12:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166542848001,"power":27865,"unknown_209":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5504032091580502016}} 
[2026-09-18 12:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":186112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:01:50] local.INFO: GPS data processed {"connection_id":186112,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:01:50] local.INFO: Acknowledgment sent {"connection_id":186112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:02:03] local.INFO: TCP Data received {"connection_id":185953,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b334d050012d196940071fec88003d010d2a..."} 
[2026-09-18 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b334d050012d196940071fec88003d010d2a..."} 
[2026-09-18 12:02:03] local.INFO: Processing buffer {"connection_id":185953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b334d050012d196940071fec88003d010d2a..."} 
[2026-09-18 12:02:03] local.INFO: Packet analysis {"connection_id":185953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:02:03] local.INFO: Extracted packet for processing {"connection_id":185953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b334"} 
[2026-09-18 12:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166516992001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789712978000,"timestamp_ms":1789712978000,"timestamp_seconds":1789712978,"priority":1,"record_length":96,"hex_timestamp":"000001a0b334d050"} 
[2026-09-18 12:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:02: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-09-18 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3006435864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,146,160,44,45,64,236,61,41,10,66,218,38,136,1,240,47,179,31,4,113,205,228,105,239,49,2,75,7,231,72,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:02:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809193920036864,"timestamp_seconds":4395809193920037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166516992001,"66":12548,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166516992001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:02:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166516992001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":185953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:02:03] local.INFO: GPS data processed {"connection_id":185953,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:02:03] local.INFO: Acknowledgment sent {"connection_id":185953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:02:25] local.INFO: TCP Data received {"connection_id":187399,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:02:25] local.INFO: Processing buffer {"connection_id":187399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:02:25] local.INFO: IMEI packet received {"connection_id":187399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":187399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:02:30] local.INFO: TCP Data received {"connection_id":187399,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:02:30] local.INFO: Processing buffer {"connection_id":187399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:02:30] local.INFO: IMEI packet received {"connection_id":187399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":187399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:02:32] local.INFO: TCP Data received {"connection_id":187399,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3352258012d196940071fec88003d010d2b..."} 
[2026-09-18 12:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3352258012d196940071fec88003d010d2b..."} 
[2026-09-18 12:02:32] local.INFO: Processing buffer {"connection_id":187399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3352258012d196940071fec88003d010d2b..."} 
[2026-09-18 12:02:32] local.INFO: Packet analysis {"connection_id":187399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b335"} 
[2026-09-18 12:02:32] local.INFO: Extracted packet for processing {"connection_id":187399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b335"} 
[2026-09-18 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166522368001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789712999000,"timestamp_ms":1789712999000,"timestamp_seconds":1789712999,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3352258"} 
[2026-09-18 12:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:02: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-09-18 12: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":4,"data_length":795,"current_offset":136} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3006456864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,146,160,126,45,64,236,61,44,10,66,41,218,1,240,14,179,31,4,113,205,54,105,136,40,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:02:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809185330102272,"timestamp_seconds":4395809185330102.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166522368001,"66":12526,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166522368001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:02:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166522368001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":187399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:02:32] local.INFO: GPS data processed {"connection_id":187399,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:02:32] local.INFO: Acknowledgment sent {"connection_id":187399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:02:42] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:42] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:42] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:02:46] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:46] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:46] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:02:47] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:47] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:02:47] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:02:48] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b336e390012d4c03000692ae80001f00e928..."} 
[2026-09-18 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b336e390012d4c03000692ae80001f00e928..."} 
[2026-09-18 12:02:48] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b336e390012d4c03000692ae80001f00e928..."} 
[2026-09-18 12:02:48] local.INFO: Packet analysis {"connection_id":188725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:02:48] local.INFO: Extracted packet for processing {"connection_id":188725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":759956224,"raw_latitude":110276224,"longitude_deg":75.9956224,"latitude_deg":11.0276224,"altitude":31,"angle":233,"satellites":40,"speed":26,"hex_longitude":"2d4c0300","hex_latitude":"0692ae80","is_valid_coordinates":true} 
[2026-09-18 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166554624001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405324052362690560,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5485314005625200640,"note":"Value kept but may cause issues"} 
[2026-09-18 12:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789713114000,"timestamp_ms":1789713114000,"timestamp_seconds":1789713114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b336e390"} 
[2026-09-18 12:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 12:02: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-09-18 12:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166554624001,"66":27843,"226":206,"86":48896,"24":26,"16":405324052362690560,"45":5485314005625200640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 12:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166554624001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:02:48] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 12:02:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405324052362690560,"km_value":405324052362690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5485314005625200640,"description":"Unknown IO ID 45"} 
[2026-09-18 12:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166554624001,"power":27843,"unknown_226":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5485314005625200640}} 
[2026-09-18 12:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":188725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:02:48] local.INFO: GPS data processed {"connection_id":188725,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:02:48] local.INFO: Acknowledgment sent {"connection_id":188725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:03:03] local.INFO: TCP Data received {"connection_id":187399,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3357460012d196940071fec88003d010d2a..."} 
[2026-09-18 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3357460012d196940071fec88003d010d2a..."} 
[2026-09-18 12:03:03] local.INFO: Processing buffer {"connection_id":187399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3357460012d196940071fec88003d010d2a..."} 
[2026-09-18 12:03:03] local.INFO: Packet analysis {"connection_id":187399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b335"} 
[2026-09-18 12:03:03] local.INFO: Extracted packet for processing {"connection_id":187399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b335"} 
[2026-09-18 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166527744001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713020000,"timestamp_ms":1789713020000,"timestamp_seconds":1789713020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3357460"} 
[2026-09-18 12:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:03: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-09-18 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 12:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166527744001,"66":12537,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166527744001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166527744001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":187399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:03:03] local.INFO: GPS data processed {"connection_id":187399,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:03:03] local.INFO: Acknowledgment sent {"connection_id":187399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:03:17] local.INFO: TCP Data received {"connection_id":185955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:03:17] local.INFO: Processing buffer {"connection_id":185955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:03:17] local.INFO: IMEI packet received {"connection_id":185955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":185955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:03:20] local.INFO: TCP Data received {"connection_id":185955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:03:20] local.INFO: Processing buffer {"connection_id":185955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:03:20] local.INFO: IMEI packet received {"connection_id":185955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:03:21] local.INFO: TCP Data received {"connection_id":185955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33702d0012d4bee000692a258002000f62c..."} 
[2026-09-18 12:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33702d0012d4bee000692a258002000f62c..."} 
[2026-09-18 12:03:21] local.INFO: Processing buffer {"connection_id":185955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33702d0012d4bee000692a258002000f62c..."} 
[2026-09-18 12:03:21] local.INFO: Packet analysis {"connection_id":185955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:03:21] local.INFO: Extracted packet for processing {"connection_id":185955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:03:21] local.INFO: GPS Element Parsed {"raw_longitude":759950848,"raw_latitude":110273112,"longitude_deg":75.9950848,"latitude_deg":11.0273112,"altitude":32,"angle":246,"satellites":44,"speed":32,"hex_longitude":"2d4bee00","hex_latitude":"0692a258","is_valid_coordinates":true} 
[2026-09-18 12:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166557184001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405324348715433984,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5477221600043368448,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789713122000,"timestamp_ms":1789713122000,"timestamp_seconds":1789713122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33702d0"} 
[2026-09-18 12:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:03: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":195,"data_length":795,"current_offset":136} 
[2026-09-18 12:03:21] 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-09-18 12:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166557184001,"66":27745,"226":206,"86":48896,"24":32,"16":405324348715433984,"45":5477221600043368448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 12:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166557184001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:03:21] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 12:03:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405324348715433984,"km_value":405324348715434.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5477221600043368448,"description":"Unknown IO ID 45"} 
[2026-09-18 12:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166557184001,"power":27745,"unknown_226":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5477221600043368448}} 
[2026-09-18 12:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":185955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:03:21] local.INFO: GPS data processed {"connection_id":185955,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:03:21] local.INFO: Acknowledgment sent {"connection_id":185955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:03:22] local.INFO: TCP Data received {"connection_id":185955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3371658012d4be00006929b18001f00ea2b..."} 
[2026-09-18 12:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3371658012d4be00006929b18001f00ea2b..."} 
[2026-09-18 12:03:22] local.INFO: Processing buffer {"connection_id":185955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3371658012d4be00006929b18001f00ea2b..."} 
[2026-09-18 12:03:22] local.INFO: Packet analysis {"connection_id":185955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:03:22] local.INFO: Extracted packet for processing {"connection_id":185955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:03:22] local.INFO: GPS Element Parsed {"raw_longitude":759947264,"raw_latitude":110271256,"longitude_deg":75.9947264,"latitude_deg":11.0271256,"altitude":31,"angle":234,"satellites":43,"speed":30,"hex_longitude":"2d4be000","hex_latitude":"06929b18","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166559232001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405324541988962304,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5471310625531648000,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789713127000,"timestamp_ms":1789713127000,"timestamp_seconds":1789713127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3371658"} 
[2026-09-18 12:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 12:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166559232001,"66":27919,"226":206,"86":48896,"24":30,"16":405324541988962304,"45":5471310625531648000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 12:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166559232001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:03:22] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 12:03:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405324541988962304,"km_value":405324541988962.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5471310625531648000,"description":"Unknown IO ID 45"} 
[2026-09-18 12:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166559232001,"power":27919,"unknown_226":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5471310625531648000}} 
[2026-09-18 12:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":185955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:03:22] local.INFO: GPS data processed {"connection_id":185955,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:03:22] local.INFO: Acknowledgment sent {"connection_id":185955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:03:25] local.INFO: TCP Data received {"connection_id":185956,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:25] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:25] local.INFO: IMEI packet received {"connection_id":185956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":185956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:03:26] local.INFO: TCP Data received {"connection_id":185956,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:26] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:26] local.INFO: IMEI packet received {"connection_id":185956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":185956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:03:30] local.INFO: TCP Data received {"connection_id":185956,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:30] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:03:30] local.INFO: IMEI packet received {"connection_id":185956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":185956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:03:32] local.INFO: TCP Data received {"connection_id":185956,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b335c668012d196940071fec88003d010d2a..."} 
[2026-09-18 12:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b335c668012d196940071fec88003d010d2a..."} 
[2026-09-18 12:03:32] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b335c668012d196940071fec88003d010d2a..."} 
[2026-09-18 12:03:32] local.INFO: Packet analysis {"connection_id":185956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b335"} 
[2026-09-18 12:03:32] local.INFO: Extracted packet for processing {"connection_id":185956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b335"} 
[2026-09-18 12:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166533120001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713041000,"timestamp_ms":1789713041000,"timestamp_seconds":1789713041,"priority":1,"record_length":96,"hex_timestamp":"000001a0b335c668"} 
[2026-09-18 12:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:03: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-09-18 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 12:03: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-09-18 12: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-09-18 12:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166533120001,"66":12526,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166533120001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:03:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166533120001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":185956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:03:32] local.INFO: GPS data processed {"connection_id":185956,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:03:32] local.INFO: Acknowledgment sent {"connection_id":185956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:03:55] local.INFO: TCP Data received {"connection_id":185955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3373d68012d4bc98006928ac8001b00dc2b..."} 
[2026-09-18 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3373d68012d4bc98006928ac8001b00dc2b..."} 
[2026-09-18 12:03:55] local.INFO: Processing buffer {"connection_id":185955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3373d68012d4bc98006928ac8001b00dc2b..."} 
[2026-09-18 12:03:55] local.INFO: Packet analysis {"connection_id":185955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:03:55] local.INFO: Extracted packet for processing {"connection_id":185955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:03:55] local.INFO: GPS Element Parsed {"raw_longitude":759941504,"raw_latitude":110267080,"longitude_deg":75.9941504,"latitude_deg":11.026708,"altitude":27,"angle":220,"satellites":43,"speed":21,"hex_longitude":"2d4bc980","hex_latitude":"06928ac8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166560512001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405324885586345984,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5467369975857223680,"note":"Value kept but may cause issues"} 
[2026-09-18 12:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789713137000,"timestamp_ms":1789713137000,"timestamp_seconds":1789713137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3373d68"} 
[2026-09-18 12:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:03:55] 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-09-18 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 12:03:55] 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-09-18 12: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-09-18 12:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166560512001,"66":27800,"226":206,"86":48896,"24":21,"16":405324885586345984,"45":5467369975857223680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 12:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166560512001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:03:55] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 12:03:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405324885586345984,"km_value":405324885586346.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5467369975857223680,"description":"Unknown IO ID 45"} 
[2026-09-18 12:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166560512001,"power":27800,"unknown_226":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5467369975857223680}} 
[2026-09-18 12:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":185955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:03:55] local.INFO: GPS data processed {"connection_id":185955,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:03:55] local.INFO: Acknowledgment sent {"connection_id":185955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:04:03] local.INFO: TCP Data received {"connection_id":185956,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3361870012d196940071fec88003d010d2b..."} 
[2026-09-18 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3361870012d196940071fec88003d010d2b..."} 
[2026-09-18 12:04:03] local.INFO: Processing buffer {"connection_id":185956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3361870012d196940071fec88003d010d2b..."} 
[2026-09-18 12:04:03] local.INFO: Packet analysis {"connection_id":185956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:04:03] local.INFO: Extracted packet for processing {"connection_id":185956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166538496001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713062000,"timestamp_ms":1789713062000,"timestamp_seconds":1789713062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3361870"} 
[2026-09-18 12:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:04: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-09-18 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 12:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166538496001,"66":12537,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166538496001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:04:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166538496001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":185956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:04:04] local.INFO: GPS data processed {"connection_id":185956,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:04:04] local.INFO: Acknowledgment sent {"connection_id":185956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:04:12] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:12] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:12] local.INFO: IMEI packet received {"connection_id":187400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":187400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:04:14] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:14] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:14] local.INFO: IMEI packet received {"connection_id":187400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":187400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:04:17] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:17] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:04:17] local.INFO: IMEI packet received {"connection_id":187400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":187400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:04:19] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3374538012d4bc74006928758001b00c62b..."} 
[2026-09-18 12:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3374538012d4bc74006928758001b00c62b..."} 
[2026-09-18 12:04:19] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3374538012d4bc74006928758001b00c62b..."} 
[2026-09-18 12:04:19] local.INFO: Packet analysis {"connection_id":187400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:04:19] local.INFO: Extracted packet for processing {"connection_id":187400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:04:19] local.INFO: GPS Element Parsed {"raw_longitude":759940928,"raw_latitude":110266200,"longitude_deg":75.9940928,"latitude_deg":11.02662,"altitude":27,"angle":198,"satellites":43,"speed":21,"hex_longitude":"2d4bc740","hex_latitude":"06928758","is_valid_coordinates":true} 
[2026-09-18 12:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166563072001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405324932830986240,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461036788880164864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713139000,"timestamp_ms":1789713139000,"timestamp_seconds":1789713139,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3374538"} 
[2026-09-18 12:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:04:19] 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-09-18 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 12:04: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-09-18 12:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166563072001,"66":27669,"226":206,"86":48896,"24":21,"16":405324932830986240,"45":5461036788880164864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 12:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166563072001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:04:19] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 12:04:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405324932830986240,"km_value":405324932830986.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461036788880164864,"description":"Unknown IO ID 45"} 
[2026-09-18 12:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166563072001,"power":27669,"unknown_226":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5461036788880164864}} 
[2026-09-18 12:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":187400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:04:19] local.INFO: GPS data processed {"connection_id":187400,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:04:19] local.INFO: Acknowledgment sent {"connection_id":187400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:04:21] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3374d08012d4bc6c006928260001a00b72c..."} 
[2026-09-18 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3374d08012d4bc6c006928260001a00b72c..."} 
[2026-09-18 12:04:21] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3374d08012d4bc6c006928260001a00b72c..."} 
[2026-09-18 12:04:21] local.INFO: Packet analysis {"connection_id":187400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:04:21] local.INFO: Extracted packet for processing {"connection_id":187400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":759940800,"raw_latitude":110264928,"longitude_deg":75.99408,"latitude_deg":11.0264928,"altitude":26,"angle":183,"satellites":44,"speed":28,"hex_longitude":"2d4bc6c0","hex_latitude":"06928260","is_valid_coordinates":true} 
[2026-09-18 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166563584001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405324997255495680,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460403470182340608,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789713141000,"timestamp_ms":1789713141000,"timestamp_seconds":1789713141,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3374d08"} 
[2026-09-18 12:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:04:21] 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-09-18 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-18 12:04:21] 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-09-18 12:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166563584001,"66":27767,"226":206,"86":48896,"24":28,"16":405324997255495680,"45":5460403470182340608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 12:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166563584001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:04:21] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 12:04:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405324997255495680,"km_value":405324997255495.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460403470182340608,"description":"Unknown IO ID 45"} 
[2026-09-18 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166563584001,"power":27767,"unknown_226":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5460403470182340608}} 
[2026-09-18 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":187400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:04:21] local.INFO: GPS data processed {"connection_id":187400,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:04:21] local.INFO: Acknowledgment sent {"connection_id":187400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:04:29] local.INFO: TCP Data received {"connection_id":185957,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:29] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:29] local.INFO: IMEI packet received {"connection_id":185957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":185957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:04:30] local.INFO: TCP Data received {"connection_id":185957,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:30] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:30] local.INFO: IMEI packet received {"connection_id":185957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":185957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:04:35] local.INFO: TCP Data received {"connection_id":185957,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:35] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:04:35] local.INFO: IMEI packet received {"connection_id":185957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":185957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:04:37] local.INFO: TCP Data received {"connection_id":185957,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3366a78012d196940071fec88003d010d2b..."} 
[2026-09-18 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3366a78012d196940071fec88003d010d2b..."} 
[2026-09-18 12:04:37] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3366a78012d196940071fec88003d010d2b..."} 
[2026-09-18 12:04:37] local.INFO: Packet analysis {"connection_id":185957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:04:37] local.INFO: Extracted packet for processing {"connection_id":185957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166543872001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789713083000,"timestamp_ms":1789713083000,"timestamp_seconds":1789713083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3366a78"} 
[2026-09-18 12:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:04: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-09-18 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 12:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166543872001,"66":12113,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166543872001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166543872001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":185957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:04:37] local.INFO: GPS data processed {"connection_id":185957,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:04:37] local.INFO: Acknowledgment sent {"connection_id":185957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:04:41] local.INFO: TCP Data received {"connection_id":185957,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b336bc80012d196940071fec88003d010d28..."} 
[2026-09-18 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b336bc80012d196940071fec88003d010d28..."} 
[2026-09-18 12:04:41] local.INFO: Processing buffer {"connection_id":185957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b336bc80012d196940071fec88003d010d28..."} 
[2026-09-18 12:04:41] local.INFO: Packet analysis {"connection_id":185957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:04:41] local.INFO: Extracted packet for processing {"connection_id":185957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b336"} 
[2026-09-18 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166549248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789713104000,"timestamp_ms":1789713104000,"timestamp_seconds":1789713104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b336bc80"} 
[2026-09-18 12:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:04: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-09-18 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 12:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166549248001,"66":12548,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166549248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:04:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166549248001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":185957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:04:41] local.INFO: GPS data processed {"connection_id":185957,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:04:41] local.INFO: Acknowledgment sent {"connection_id":185957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:05:03] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b338b468012d4b88c006919320001b00a72c..."} 
[2026-09-18 12:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b338b468012d4b88c006919320001b00a72c..."} 
[2026-09-18 12:05:03] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b338b468012d4b88c006919320001b00a72c..."} 
[2026-09-18 12:05:03] local.INFO: Packet analysis {"connection_id":187400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:05:03] local.INFO: Extracted packet for processing {"connection_id":187400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:05:03] local.INFO: GPS Element Parsed {"raw_longitude":759924928,"raw_latitude":110203680,"longitude_deg":75.9924928,"latitude_deg":11.020368,"altitude":27,"angle":167,"satellites":44,"speed":27,"hex_longitude":"2d4b88c0","hex_latitude":"06919320","is_valid_coordinates":true} 
[2026-09-18 12:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166586112001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405328123991687168,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442881652867158016,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:03] 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-09-18 12:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713233000,"timestamp_ms":1789713233000,"timestamp_seconds":1789713233,"priority":1,"record_length":96,"hex_timestamp":"000001a0b338b468"} 
[2026-09-18 12:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:05:03] 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-09-18 12: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":195,"data_length":795,"current_offset":136} 
[2026-09-18 12:05: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-09-18 12:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166586112001,"66":27691,"187":206,"86":48896,"24":27,"16":405328123991687168,"45":5442881652867158016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 12:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166586112001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405328123991687168,"km_value":405328123991687.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442881652867158016,"description":"Unknown IO ID 45"} 
[2026-09-18 12:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166586112001,"power":27691,"unknown_187":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5442881652867158016}} 
[2026-09-18 12:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":187400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:05:03] local.INFO: GPS data processed {"connection_id":187400,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:05:03] local.INFO: Acknowledgment sent {"connection_id":187400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:05:11] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:11] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:11] local.INFO: IMEI packet received {"connection_id":188726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":188726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:05:12] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:12] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:12] local.INFO: IMEI packet received {"connection_id":188726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":188726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:05:12] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:12] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:12] local.INFO: IMEI packet received {"connection_id":188726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":188726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:05:17] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:17] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:05:17] local.INFO: IMEI packet received {"connection_id":188726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":188726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:05:19] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b338bc38012d4b8ac006918e28001c009a2a..."} 
[2026-09-18 12:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b338bc38012d4b8ac006918e28001c009a2a..."} 
[2026-09-18 12:05:19] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b338bc38012d4b8ac006918e28001c009a2a..."} 
[2026-09-18 12:05:19] local.INFO: Packet analysis {"connection_id":188726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:05:19] local.INFO: Extracted packet for processing {"connection_id":188726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:05:19] local.INFO: GPS Element Parsed {"raw_longitude":759925440,"raw_latitude":110202408,"longitude_deg":75.992544,"latitude_deg":11.0202408,"altitude":28,"angle":154,"satellites":42,"speed":27,"hex_longitude":"2d4b8ac0","hex_latitude":"06918e28","is_valid_coordinates":true} 
[2026-09-18 12:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166587648001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405328188416196608,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442811284121919488,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:19] 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-09-18 12:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713235000,"timestamp_ms":1789713235000,"timestamp_seconds":1789713235,"priority":1,"record_length":96,"hex_timestamp":"000001a0b338bc38"} 
[2026-09-18 12:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:05:19] 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-09-18 12:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 12:05:19] 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-09-18 12:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166587648001,"66":27865,"187":206,"86":48896,"24":27,"16":405328188416196608,"45":5442811284121919488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 12:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166587648001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:05:19] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 12:05:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405328188416196608,"km_value":405328188416196.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442811284121919488,"description":"Unknown IO ID 45"} 
[2026-09-18 12:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166587648001,"power":27865,"unknown_187":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5442811284121919488}} 
[2026-09-18 12:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":188726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:05:19] local.INFO: GPS data processed {"connection_id":188726,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:05:19] local.INFO: Acknowledgment sent {"connection_id":188726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:05:25] local.INFO: TCP Data received {"connection_id":185958,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:05:25] local.INFO: Processing buffer {"connection_id":185958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:05:25] local.INFO: IMEI packet received {"connection_id":185958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":185958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:05:30] local.INFO: TCP Data received {"connection_id":185958,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:05:30] local.INFO: Processing buffer {"connection_id":185958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:05:30] local.INFO: IMEI packet received {"connection_id":185958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":185958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:05:32] local.INFO: TCP Data received {"connection_id":185958,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3370e88012d196940071fec88003d010d29..."} 
[2026-09-18 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3370e88012d196940071fec88003d010d29..."} 
[2026-09-18 12:05:32] local.INFO: Processing buffer {"connection_id":185958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3370e88012d196940071fec88003d010d29..."} 
[2026-09-18 12:05:32] local.INFO: Packet analysis {"connection_id":185958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:05:32] local.INFO: Extracted packet for processing {"connection_id":185958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166554624001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713125000,"timestamp_ms":1789713125000,"timestamp_seconds":1789713125,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3370e88"} 
[2026-09-18 12:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:05: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-09-18 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3006582864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030119,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:32] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,146,160,106,45,64,236,61,43,10,66,198,1,240,238,179,31,4,113,205,34,105,136,239,48,2,75,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:05:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809176740167680,"timestamp_seconds":4395809176740167.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166554624001,"66":12526,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166554624001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:05:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166554624001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":185958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:05:32] local.INFO: GPS data processed {"connection_id":185958,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:05:32] local.INFO: Acknowledgment sent {"connection_id":185958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:05:33] local.INFO: TCP Data received {"connection_id":185958,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3376090012d196940071fec88003d010d2a..."} 
[2026-09-18 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3376090012d196940071fec88003d010d2a..."} 
[2026-09-18 12:05:33] local.INFO: Processing buffer {"connection_id":185958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3376090012d196940071fec88003d010d2a..."} 
[2026-09-18 12:05:33] local.INFO: Packet analysis {"connection_id":185958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:05:33] local.INFO: Extracted packet for processing {"connection_id":185958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166560000001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789713146000,"timestamp_ms":1789713146000,"timestamp_seconds":1789713146,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3376090"} 
[2026-09-18 12:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 12:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166560000001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166560000001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:05:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166560000001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":185958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:05:33] local.INFO: GPS data processed {"connection_id":185958,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:05:33] local.INFO: Acknowledgment sent {"connection_id":185958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:05:50] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b338d790012d4b924006918138001f008f2c..."} 
[2026-09-18 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b338d790012d4b924006918138001f008f2c..."} 
[2026-09-18 12:05:50] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b338d790012d4b924006918138001f008f2c..."} 
[2026-09-18 12:05:50] local.INFO: Packet analysis {"connection_id":188726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:05:50] local.INFO: Extracted packet for processing {"connection_id":188726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:05:50] local.INFO: GPS Element Parsed {"raw_longitude":759927360,"raw_latitude":110199096,"longitude_deg":75.992736,"latitude_deg":11.0199096,"altitude":31,"angle":143,"satellites":44,"speed":18,"hex_longitude":"2d4b9240","hex_latitude":"06918138","is_valid_coordinates":true} 
[2026-09-18 12:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166588160001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405328373099790336,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5443374234075015168,"note":"Value kept but may cause issues"} 
[2026-09-18 12:05:50] 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-09-18 12:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713242000,"timestamp_ms":1789713242000,"timestamp_seconds":1789713242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b338d790"} 
[2026-09-18 12:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:05:50] 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-09-18 12:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 12:05: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-09-18 12:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166588160001,"66":27865,"187":206,"86":48896,"24":18,"16":405328373099790336,"45":5443374234075015168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 12:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166588160001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:05:50] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 12:05:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405328373099790336,"km_value":405328373099790.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5443374234075015168,"description":"Unknown IO ID 45"} 
[2026-09-18 12:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166588160001,"power":27865,"unknown_187":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5443374234075015168}} 
[2026-09-18 12:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":188726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:05:50] local.INFO: GPS data processed {"connection_id":188726,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:05:50] local.INFO: Acknowledgment sent {"connection_id":188726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:06:05] local.INFO: TCP Data received {"connection_id":185958,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b337b298012d196940071fec88003d010d28..."} 
[2026-09-18 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b337b298012d196940071fec88003d010d28..."} 
[2026-09-18 12:06:05] local.INFO: Processing buffer {"connection_id":185958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b337b298012d196940071fec88003d010d28..."} 
[2026-09-18 12:06:05] local.INFO: Packet analysis {"connection_id":185958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:06:05] local.INFO: Extracted packet for processing {"connection_id":185958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b337"} 
[2026-09-18 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166565376001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789713167000,"timestamp_ms":1789713167000,"timestamp_seconds":1789713167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b337b298"} 
[2026-09-18 12:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166565376001,"66":12526,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166565376001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166565376001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":185958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:06:05] local.INFO: GPS data processed {"connection_id":185958,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:06:05] local.INFO: Acknowledgment sent {"connection_id":185958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:06:11] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:11] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:11] local.INFO: IMEI packet received {"connection_id":185959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":185959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:06:12] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:12] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:12] local.INFO: IMEI packet received {"connection_id":185959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":185959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:06:16] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:16] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:06:16] local.INFO: IMEI packet received {"connection_id":185959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":185959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:06:17] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b339d578012d4bea800690ff28002b00ba2b..."} 
[2026-09-18 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b339d578012d4bea800690ff28002b00ba2b..."} 
[2026-09-18 12:06:17] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b339d578012d4bea800690ff28002b00ba2b..."} 
[2026-09-18 12:06:17] local.INFO: Packet analysis {"connection_id":185959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:06:17] local.INFO: Extracted packet for processing {"connection_id":185959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":759949952,"raw_latitude":110165800,"longitude_deg":75.9949952,"latitude_deg":11.01658,"altitude":43,"angle":186,"satellites":43,"speed":30,"hex_longitude":"2d4bea80","hex_latitude":"0690ff28","is_valid_coordinates":true} 
[2026-09-18 12:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166603776001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405330623662653440,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470606938064719872,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789713307000,"timestamp_ms":1789713307000,"timestamp_seconds":1789713307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b339d578"} 
[2026-09-18 12:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 12:06:17] 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-09-18 12:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166603776001,"66":27908,"68":206,"86":48896,"24":30,"16":405330623662653440,"45":5470606938064719872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 12:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166603776001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405330623662653440,"km_value":405330623662653.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470606938064719872,"description":"Unknown IO ID 45"} 
[2026-09-18 12:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166603776001,"power":27908,"unknown_68":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5470606938064719872}} 
[2026-09-18 12:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":185959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:06:17] local.INFO: GPS data processed {"connection_id":185959,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:06:17] local.INFO: Acknowledgment sent {"connection_id":185959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:06:25] local.INFO: TCP Data received {"connection_id":187401,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:06:25] local.INFO: Processing buffer {"connection_id":187401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:06:25] local.INFO: IMEI packet received {"connection_id":187401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":187401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:06:33] local.INFO: TCP Data received {"connection_id":187401,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:06:33] local.INFO: Processing buffer {"connection_id":187401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:06:33] local.INFO: IMEI packet received {"connection_id":187401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":187401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:06:34] local.INFO: TCP Data received {"connection_id":187401,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33804a0012d196940071fec88003d010d27..."} 
[2026-09-18 12:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33804a0012d196940071fec88003d010d27..."} 
[2026-09-18 12:06:34] local.INFO: Processing buffer {"connection_id":187401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33804a0012d196940071fec88003d010d27..."} 
[2026-09-18 12:06:34] local.INFO: Packet analysis {"connection_id":187401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:06:34] local.INFO: Extracted packet for processing {"connection_id":187401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166570752001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789713188000,"timestamp_ms":1789713188000,"timestamp_seconds":1789713188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33804a0"} 
[2026-09-18 12:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 12:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166570752001,"66":12526,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166570752001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:06:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166570752001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":187401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:06:34] local.INFO: GPS data processed {"connection_id":187401,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:06:34] local.INFO: Acknowledgment sent {"connection_id":187401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:06:45] local.INFO: TCP Data received {"connection_id":185954,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:06:46] local.INFO: Processing buffer {"connection_id":185954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:06:46] local.INFO: IMEI packet received {"connection_id":185954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":185954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:06:49] local.INFO: TCP Data received {"connection_id":185959,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33a0458012d4be9400690dc80002d00b32b..."} 
[2026-09-18 12:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33a0458012d4be9400690dc80002d00b32b..."} 
[2026-09-18 12:06:49] local.INFO: Processing buffer {"connection_id":185959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33a0458012d4be9400690dc80002d00b32b..."} 
[2026-09-18 12:06:49] local.INFO: Packet analysis {"connection_id":185959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:06:49] local.INFO: Extracted packet for processing {"connection_id":185959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:06:49] local.INFO: GPS Element Parsed {"raw_longitude":759949632,"raw_latitude":110156928,"longitude_deg":75.9949632,"latitude_deg":11.0156928,"altitude":45,"angle":179,"satellites":43,"speed":30,"hex_longitude":"2d4be940","hex_latitude":"0690dc80","is_valid_coordinates":true} 
[2026-09-18 12:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166606592001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405331053159383040,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470325463085688832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789713319000,"timestamp_ms":1789713319000,"timestamp_seconds":1789713319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33a0458"} 
[2026-09-18 12:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 12:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166606592001,"66":27908,"68":206,"86":48896,"24":30,"16":405331053159383040,"45":5470325463085688832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 12:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166606592001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:06:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 12:06:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405331053159383040,"km_value":405331053159383.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470325463085688832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166606592001,"power":27908,"unknown_68":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5470325463085688832}} 
[2026-09-18 12:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":185959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:06:49] local.INFO: GPS data processed {"connection_id":185959,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:06:49] local.INFO: Acknowledgment sent {"connection_id":185959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:07:06] local.INFO: TCP Data received {"connection_id":187401,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33856a8012d196940071fec88003d010d29..."} 
[2026-09-18 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33856a8012d196940071fec88003d010d29..."} 
[2026-09-18 12:07:06] local.INFO: Processing buffer {"connection_id":187401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33856a8012d196940071fec88003d010d29..."} 
[2026-09-18 12:07:06] local.INFO: Packet analysis {"connection_id":187401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:07:06] local.INFO: Extracted packet for processing {"connection_id":187401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166576128001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789713209000,"timestamp_ms":1789713209000,"timestamp_seconds":1789713209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33856a8"} 
[2026-09-18 12:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 12:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166576128001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166576128001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166576128001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":187401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:07:06] local.INFO: GPS data processed {"connection_id":187401,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:07:06] local.INFO: Acknowledgment sent {"connection_id":187401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:07:12] local.INFO: TCP Data received {"connection_id":187402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:07:12] local.INFO: Processing buffer {"connection_id":187402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:07:12] local.INFO: IMEI packet received {"connection_id":187402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":187402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:07:17] local.INFO: TCP Data received {"connection_id":187402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:07:17] local.INFO: Processing buffer {"connection_id":187402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:07:17] local.INFO: IMEI packet received {"connection_id":187402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":187402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:07:19] local.INFO: TCP Data received {"connection_id":187402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33a3338012d4be9400690b8a8002f00ba29..."} 
[2026-09-18 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33a3338012d4be9400690b8a8002f00ba29..."} 
[2026-09-18 12:07:19] local.INFO: Processing buffer {"connection_id":187402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33a3338012d4be9400690b8a8002f00ba29..."} 
[2026-09-18 12:07:19] local.INFO: Packet analysis {"connection_id":187402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:07:19] local.INFO: Extracted packet for processing {"connection_id":187402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:07:19] local.INFO: GPS Element Parsed {"raw_longitude":759949632,"raw_latitude":110147752,"longitude_deg":75.9949632,"latitude_deg":11.0147752,"altitude":47,"angle":186,"satellites":41,"speed":29,"hex_longitude":"2d4be940","hex_latitude":"0690b8a8","is_valid_coordinates":true} 
[2026-09-18 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166609664001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405331499835981824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469973619362529280,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713331000,"timestamp_ms":1789713331000,"timestamp_seconds":1789713331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33a3338"} 
[2026-09-18 12:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 12:07: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-09-18 12:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166609664001,"66":27876,"68":206,"86":48896,"24":29,"16":405331499835981824,"45":5469973619362529280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 12:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166609664001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:07:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 12:07:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405331499835981824,"km_value":405331499835981.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469973619362529280,"description":"Unknown IO ID 45"} 
[2026-09-18 12:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166609664001,"power":27876,"unknown_68":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5469973619362529280}} 
[2026-09-18 12:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":187402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:07:19] local.INFO: GPS data processed {"connection_id":187402,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:07:19] local.INFO: Acknowledgment sent {"connection_id":187402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:07:25] local.INFO: TCP Data received {"connection_id":187403,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:07:25] local.INFO: Processing buffer {"connection_id":187403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:07:25] local.INFO: IMEI packet received {"connection_id":187403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":187403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:07:30] local.INFO: TCP Data received {"connection_id":187403,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:07:30] local.INFO: Processing buffer {"connection_id":187403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:07:30] local.INFO: IMEI packet received {"connection_id":187403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":187403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:07:32] local.INFO: TCP Data received {"connection_id":187403,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b338a8b0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b338a8b0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:07:32] local.INFO: Processing buffer {"connection_id":187403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b338a8b0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:07:32] local.INFO: Packet analysis {"connection_id":187403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:07:32] local.INFO: Extracted packet for processing {"connection_id":187403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166581504001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713230000,"timestamp_ms":1789713230000,"timestamp_seconds":1789713230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b338a8b0"} 
[2026-09-18 12:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:07: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-09-18 12:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:07: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-09-18 12:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166581504001,"66":12439,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166581504001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:07:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166581504001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":187403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:07:32] local.INFO: GPS data processed {"connection_id":187403,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:07:32] local.INFO: Acknowledgment sent {"connection_id":187403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:07:50] local.INFO: TCP Data received {"connection_id":187402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33b63e8012d4c1480069012c80047008830..."} 
[2026-09-18 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33b63e8012d4c1480069012c80047008830..."} 
[2026-09-18 12:07:50] local.INFO: Processing buffer {"connection_id":187402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33b63e8012d4c1480069012c80047008830..."} 
[2026-09-18 12:07:50] local.INFO: Packet analysis {"connection_id":187402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:07:50] local.INFO: Extracted packet for processing {"connection_id":187402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":759960704,"raw_latitude":110105288,"longitude_deg":75.9960704,"latitude_deg":11.0105288,"altitude":71,"angle":136,"satellites":48,"speed":23,"hex_longitude":"2d4c1480","hex_latitude":"069012c8","is_valid_coordinates":true} 
[2026-09-18 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166632704001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405333720334073856,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5482147412092045312,"note":"Value kept but may cause issues"} 
[2026-09-18 12:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713409000,"timestamp_ms":1789713409000,"timestamp_seconds":1789713409,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33b63e8"} 
[2026-09-18 12:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-18 12:07:50] 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-09-18 12:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166632704001,"66":27887,"68":206,"86":48896,"24":23,"16":405333720334073856,"45":5482147412092045312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 12:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166632704001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:07:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 12:07:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405333720334073856,"km_value":405333720334073.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5482147412092045312,"description":"Unknown IO ID 45"} 
[2026-09-18 12:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166632704001,"power":27887,"unknown_68":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5482147412092045312}} 
[2026-09-18 12:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":187402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:07:50] local.INFO: GPS data processed {"connection_id":187402,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:07:50] local.INFO: Acknowledgment sent {"connection_id":187402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:08:03] local.INFO: TCP Data received {"connection_id":187403,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b338fab8012d196940071fec88003d010d2d..."} 
[2026-09-18 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b338fab8012d196940071fec88003d010d2d..."} 
[2026-09-18 12:08:03] local.INFO: Processing buffer {"connection_id":187403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b338fab8012d196940071fec88003d010d2d..."} 
[2026-09-18 12:08:03] local.INFO: Packet analysis {"connection_id":187403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:08:03] local.INFO: Extracted packet for processing {"connection_id":187403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b338"} 
[2026-09-18 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166586880001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713251000,"timestamp_ms":1789713251000,"timestamp_seconds":1789713251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b338fab8"} 
[2026-09-18 12:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:08: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-09-18 12: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":151,"data_length":795,"current_offset":136} 
[2026-09-18 12:08: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-09-18 12: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-09-18 12:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166586880001,"66":12298,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166586880001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166586880001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":187403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:08:03] local.INFO: GPS data processed {"connection_id":187403,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:08:03] local.INFO: Acknowledgment sent {"connection_id":187403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:08:12] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:12] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:12] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:08:16] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:16] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:16] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:08:17] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:17] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:08:17] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:08:18] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33ba650012d4c2fc0068ffb80004d008130..."} 
[2026-09-18 12:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33ba650012d4c2fc0068ffb80004d008130..."} 
[2026-09-18 12:08:18] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33ba650012d4c2fc0068ffb80004d008130..."} 
[2026-09-18 12:08:18] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:08:18] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:08:18] local.INFO: GPS Element Parsed {"raw_longitude":759967680,"raw_latitude":110099328,"longitude_deg":75.996768,"latitude_deg":11.0099328,"altitude":77,"angle":129,"satellites":48,"speed":20,"hex_longitude":"2d4c2fc0","hex_latitude":"068ffb80","is_valid_coordinates":true} 
[2026-09-18 12:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166632704001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405334162715705344,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5482147412092045312,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713426000,"timestamp_ms":1789713426000,"timestamp_seconds":1789713426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33ba650"} 
[2026-09-18 12:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-18 12:08:18] 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-09-18 12:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166632704001,"66":206,"86":48896,"24":20,"16":405334162715705344,"45":5482147412092045312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166632704001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:08:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405334162715705344,"km_value":405334162715705.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5482147412092045312,"description":"Unknown IO ID 45"} 
[2026-09-18 12:08:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166632704001,"power":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5482147412092045312}} 
[2026-09-18 12:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:08:18] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:08:18] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:08:23] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33bb9d8012d4c37c0068ff5d0005000732e..."} 
[2026-09-18 12:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33bb9d8012d4c37c0068ff5d0005000732e..."} 
[2026-09-18 12:08:23] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33bb9d8012d4c37c0068ff5d0005000732e..."} 
[2026-09-18 12:08:23] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:08:23] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:08:23] local.INFO: GPS Element Parsed {"raw_longitude":759969728,"raw_latitude":110097872,"longitude_deg":75.9969728,"latitude_deg":11.0097872,"altitude":80,"angle":115,"satellites":46,"speed":18,"hex_longitude":"2d4c37c0","hex_latitude":"068ff5d0","is_valid_coordinates":true} 
[2026-09-18 12:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166637056001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405334282974789632,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5489817605205884928,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789713431000,"timestamp_ms":1789713431000,"timestamp_seconds":1789713431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33bb9d8"} 
[2026-09-18 12:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-18 12:08:23] 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-09-18 12:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166637056001,"66":206,"86":48896,"24":18,"16":405334282974789632,"45":5489817605205884928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166637056001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:08:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405334282974789632,"km_value":405334282974789.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5489817605205884928,"description":"Unknown IO ID 45"} 
[2026-09-18 12:08:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166637056001,"power":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5489817605205884928}} 
[2026-09-18 12:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:08:23] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:08:23] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:08:28] local.INFO: TCP Data received {"connection_id":186114,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:08:28] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:08:28] local.INFO: IMEI packet received {"connection_id":186114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":186114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:08:30] local.INFO: TCP Data received {"connection_id":186114,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:08:30] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:08:30] local.INFO: IMEI packet received {"connection_id":186114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":186114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:08:31] local.INFO: TCP Data received {"connection_id":186114,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3394cc0012d196940071fec88003d010d28..."} 
[2026-09-18 12:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3394cc0012d196940071fec88003d010d28..."} 
[2026-09-18 12:08:31] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3394cc0012d196940071fec88003d010d28..."} 
[2026-09-18 12:08:31] local.INFO: Packet analysis {"connection_id":186114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:08:31] local.INFO: Extracted packet for processing {"connection_id":186114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789713272000,"timestamp_ms":1789713272000,"timestamp_seconds":1789713272,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3394cc0"} 
[2026-09-18 12:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:08: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-09-18 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452363,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-5260204364768739327,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5533027834216507031,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513388951407231245,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":61,"raw_value":75761848711905280,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3525756442629439694,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931367,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,146,160,168,45,64,236,61,43,10,66,86,41,4,1,240,238,179,31,113,205,96,105,136,42,239,48,2,75,7,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:08:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809198215004160,"timestamp_seconds":4395809198215004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166592256001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:08:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166592256001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":186114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:08:31] local.INFO: GPS data processed {"connection_id":186114,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:08:31] local.INFO: Acknowledgment sent {"connection_id":186114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:08:36] local.INFO: TCP Data received {"connection_id":186114,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3399ec8012d196940071fec88003d010d27..."} 
[2026-09-18 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3399ec8012d196940071fec88003d010d27..."} 
[2026-09-18 12:08:36] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3399ec8012d196940071fec88003d010d27..."} 
[2026-09-18 12:08:36] local.INFO: Packet analysis {"connection_id":186114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:08:36] local.INFO: Extracted packet for processing {"connection_id":186114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166597632001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789713293000,"timestamp_ms":1789713293000,"timestamp_seconds":1789713293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3399ec8"} 
[2026-09-18 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166597632001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166597632001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166597632001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":186114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:08:36] local.INFO: GPS data processed {"connection_id":186114,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:08:36] local.INFO: Acknowledgment sent {"connection_id":186114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:08:54] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33bd148012d4c40c0068ff0c00052008130..."} 
[2026-09-18 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33bd148012d4c40c0068ff0c00052008130..."} 
[2026-09-18 12:08:54] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33bd148012d4c40c0068ff0c00052008130..."} 
[2026-09-18 12:08:54] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:08:54] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":759972032,"raw_latitude":110096576,"longitude_deg":75.9972032,"latitude_deg":11.0096576,"altitude":82,"angle":129,"satellites":48,"speed":17,"hex_longitude":"2d4c40c0","hex_latitude":"068ff0c0","is_valid_coordinates":true} 
[2026-09-18 12:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166638336001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405334407528841216,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5492069405019197440,"note":"Value kept but may cause issues"} 
[2026-09-18 12:08:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789713437000,"timestamp_ms":1789713437000,"timestamp_seconds":1789713437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33bd148"} 
[2026-09-18 12:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 12:08:54] 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-09-18 12:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166638336001,"66":206,"86":48896,"24":17,"16":405334407528841216,"45":5492069405019197440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166638336001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:08:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405334407528841216,"km_value":405334407528841.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5492069405019197440,"description":"Unknown IO ID 45"} 
[2026-09-18 12:08:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166638336001,"power":206,"unknown_86":48896,"ignition":17,"odometer":null,"unknown_45":5492069405019197440}} 
[2026-09-18 12:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:08:54] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:08:54] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:09:08] local.INFO: TCP Data received {"connection_id":186114,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b339f0d0012d196940071fec88003d010d27..."} 
[2026-09-18 12:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b339f0d0012d196940071fec88003d010d27..."} 
[2026-09-18 12:09:08] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b339f0d0012d196940071fec88003d010d27..."} 
[2026-09-18 12:09:08] local.INFO: Packet analysis {"connection_id":186114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:09:08] local.INFO: Extracted packet for processing {"connection_id":186114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b339"} 
[2026-09-18 12:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789713314000,"timestamp_ms":1789713314000,"timestamp_seconds":1789713314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b339f0d0"} 
[2026-09-18 12:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:09: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-09-18 12: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":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166603008001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:09:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166603008001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":186114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:09:08] local.INFO: GPS data processed {"connection_id":186114,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:09:08] local.INFO: Acknowledgment sent {"connection_id":186114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:09:12] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:09:12] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:09:12] local.INFO: IMEI packet received {"connection_id":185960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":185960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:09:17] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:09:17] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:09:17] local.INFO: IMEI packet received {"connection_id":185960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":185960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:09:18] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33c2350012d4c5a00068fdb20005300822f..."} 
[2026-09-18 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33c2350012d4c5a00068fdb20005300822f..."} 
[2026-09-18 12:09:18] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33c2350012d4c5a00068fdb20005300822f..."} 
[2026-09-18 12:09:18] local.INFO: Packet analysis {"connection_id":185960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:09:18] local.INFO: Extracted packet for processing {"connection_id":185960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:09:18] local.INFO: GPS Element Parsed {"raw_longitude":759978496,"raw_latitude":110091040,"longitude_deg":75.9978496,"latitude_deg":11.009104,"altitude":83,"angle":130,"satellites":47,"speed":27,"hex_longitude":"2d4c5a00","hex_latitude":"068fdb20","is_valid_coordinates":true} 
[2026-09-18 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166639872001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405334819845701632,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5494602679809261568,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713458000,"timestamp_ms":1789713458000,"timestamp_seconds":1789713458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33c2350"} 
[2026-09-18 12:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:09:18] 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-09-18 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 12:09: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-09-18 12:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166639872001,"66":206,"86":48896,"24":27,"16":405334819845701632,"45":5494602679809261568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166639872001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405334819845701632,"km_value":405334819845701.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5494602679809261568,"description":"Unknown IO ID 45"} 
[2026-09-18 12:09:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166639872001,"power":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5494602679809261568}} 
[2026-09-18 12:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":185960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:09:18] local.INFO: GPS data processed {"connection_id":185960,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:09:18] local.INFO: Acknowledgment sent {"connection_id":185960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:09:25] local.INFO: TCP Data received {"connection_id":188728,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:09:25] local.INFO: Processing buffer {"connection_id":188728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:09:25] local.INFO: IMEI packet received {"connection_id":188728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":188728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:09:30] local.INFO: TCP Data received {"connection_id":188728,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:09:30] local.INFO: Processing buffer {"connection_id":188728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:09:30] local.INFO: IMEI packet received {"connection_id":188728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":188728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:09:32] local.INFO: TCP Data received {"connection_id":188728,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33a42d8012d196940071fec88003d010d28..."} 
[2026-09-18 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33a42d8012d196940071fec88003d010d28..."} 
[2026-09-18 12:09:32] local.INFO: Processing buffer {"connection_id":188728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33a42d8012d196940071fec88003d010d28..."} 
[2026-09-18 12:09:32] local.INFO: Packet analysis {"connection_id":188728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:09:32] local.INFO: Extracted packet for processing {"connection_id":188728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166608384001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713335000,"timestamp_ms":1789713335000,"timestamp_seconds":1789713335,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33a42d8"} 
[2026-09-18 12:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:09: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-09-18 12: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-09-18 12: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-09-18 12: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-09-18 12:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166608384001,"66":12493,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166608384001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:09:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166608384001,"power":12493,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":188728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:09:32] local.INFO: GPS data processed {"connection_id":188728,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:09:32] local.INFO: Acknowledgment sent {"connection_id":188728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:09:50] local.INFO: TCP Data received {"connection_id":185960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33c7558012d4c7400068fc670005400832e..."} 
[2026-09-18 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33c7558012d4c7400068fc670005400832e..."} 
[2026-09-18 12:09:50] local.INFO: Processing buffer {"connection_id":185960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33c7558012d4c7400068fc670005400832e..."} 
[2026-09-18 12:09:50] local.INFO: Packet analysis {"connection_id":185960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:09:50] local.INFO: Extracted packet for processing {"connection_id":185960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:09:50] local.INFO: GPS Element Parsed {"raw_longitude":759985152,"raw_latitude":110085744,"longitude_deg":75.9985152,"latitude_deg":11.0085744,"altitude":84,"angle":131,"satellites":46,"speed":24,"hex_longitude":"2d4c7400","hex_latitude":"068fc670","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166645248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405335227867594752,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501709922969788416,"note":"Value kept but may cause issues"} 
[2026-09-18 12:09:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713479000,"timestamp_ms":1789713479000,"timestamp_seconds":1789713479,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33c7558"} 
[2026-09-18 12:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:09:50] 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-09-18 12: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-18 12:09:50] 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-09-18 12:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166645248001,"66":206,"86":48896,"24":24,"16":405335227867594752,"45":5501709922969788416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166645248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:09:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405335227867594752,"km_value":405335227867594.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501709922969788416,"description":"Unknown IO ID 45"} 
[2026-09-18 12:09:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166645248001,"power":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5501709922969788416}} 
[2026-09-18 12:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":185960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:09:50] local.INFO: GPS data processed {"connection_id":185960,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:09:50] local.INFO: Acknowledgment sent {"connection_id":185960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:10:03] local.INFO: TCP Data received {"connection_id":188728,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33a94e0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33a94e0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:10:03] local.INFO: Processing buffer {"connection_id":188728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33a94e0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:10:03] local.INFO: Packet analysis {"connection_id":188728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:10:03] local.INFO: Extracted packet for processing {"connection_id":188728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166613760001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713356000,"timestamp_ms":1789713356000,"timestamp_seconds":1789713356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33a94e0"} 
[2026-09-18 12:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:10: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-09-18 12:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 12:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166613760001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166613760001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:10:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166613760001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":188728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:10:03] local.INFO: GPS data processed {"connection_id":188728,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:10:03] local.INFO: Acknowledgment sent {"connection_id":188728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:10:17] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:10:17] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:10:17] local.INFO: IMEI packet received {"connection_id":185961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":185961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:10:18] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:10:18] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:10:18] local.INFO: IMEI packet received {"connection_id":185961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":185961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:10:19] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33ca438012d4c8ac0068fb260005200932d..."} 
[2026-09-18 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33ca438012d4c8ac0068fb260005200932d..."} 
[2026-09-18 12:10:19] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33ca438012d4c8ac0068fb260005200932d..."} 
[2026-09-18 12:10:19] local.INFO: Packet analysis {"connection_id":185961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:10:19] local.INFO: Extracted packet for processing {"connection_id":185961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:10:19] local.INFO: GPS Element Parsed {"raw_longitude":759990976,"raw_latitude":110080608,"longitude_deg":75.9990976,"latitude_deg":11.0080608,"altitude":82,"angle":147,"satellites":45,"speed":18,"hex_longitude":"2d4c8ac0","hex_latitude":"068fb260","is_valid_coordinates":true} 
[2026-09-18 12:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166650624001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405335601529749504,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509028272362909696,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713491000,"timestamp_ms":1789713491000,"timestamp_seconds":1789713491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33ca438"} 
[2026-09-18 12:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 12:10:19] 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-09-18 12:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166650624001,"66":206,"86":48896,"24":18,"16":405335601529749504,"45":5509028272362909696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166650624001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405335601529749504,"km_value":405335601529749.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509028272362909696,"description":"Unknown IO ID 45"} 
[2026-09-18 12:10:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166650624001,"power":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5509028272362909696}} 
[2026-09-18 12:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":185961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:10:19] local.INFO: GPS data processed {"connection_id":185961,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:10:19] local.INFO: Acknowledgment sent {"connection_id":185961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:10:30] local.INFO: TCP Data received {"connection_id":188729,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:10:30] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:10:30] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:10:35] local.INFO: TCP Data received {"connection_id":188729,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:10:35] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:10:35] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:10:37] local.INFO: TCP Data received {"connection_id":188729,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33ae6e8012d196940071fec88003d010d2a..."} 
[2026-09-18 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33ae6e8012d196940071fec88003d010d2a..."} 
[2026-09-18 12:10:37] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33ae6e8012d196940071fec88003d010d2a..."} 
[2026-09-18 12:10:37] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:10:37] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33a"} 
[2026-09-18 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166619136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789713377000,"timestamp_ms":1789713377000,"timestamp_seconds":1789713377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33ae6e8"} 
[2026-09-18 12:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:10: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-09-18 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:10: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-09-18 12:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166619136001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166619136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166619136001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:10:37] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:10:37] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:10:40] local.INFO: TCP Data received {"connection_id":188729,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33b38f0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33b38f0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:10:40] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33b38f0012d196940071fec88003d010d2b..."} 
[2026-09-18 12:10:40] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:10:40] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166624512001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789713398000,"timestamp_ms":1789713398000,"timestamp_seconds":1789713398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33b38f0"} 
[2026-09-18 12:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166624512001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166624512001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166624512001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:10:40] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:10:40] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:10:50] local.INFO: TCP Data received {"connection_id":185961,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33cc760012d4c90c0068fa6300050009f2e..."} 
[2026-09-18 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33cc760012d4c90c0068fa6300050009f2e..."} 
[2026-09-18 12:10:50] local.INFO: Processing buffer {"connection_id":185961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33cc760012d4c90c0068fa6300050009f2e..."} 
[2026-09-18 12:10:50] local.INFO: Packet analysis {"connection_id":185961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:10:50] local.INFO: Extracted packet for processing {"connection_id":185961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:10:50] local.INFO: GPS Element Parsed {"raw_longitude":759992512,"raw_latitude":110077488,"longitude_deg":75.9992512,"latitude_deg":11.0077488,"altitude":80,"angle":159,"satellites":46,"speed":19,"hex_longitude":"2d4c90c0","hex_latitude":"068fa630","is_valid_coordinates":true} 
[2026-09-18 12:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166653696001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405335769033474048,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5515431828081762304,"note":"Value kept but may cause issues"} 
[2026-09-18 12:10:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713500000,"timestamp_ms":1789713500000,"timestamp_seconds":1789713500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33cc760"} 
[2026-09-18 12:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:10:50] 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-09-18 12: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 12:10:50] 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-09-18 12:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166653696001,"66":206,"86":48896,"24":19,"16":405335769033474048,"45":5515431828081762304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166653696001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:10:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405335769033474048,"km_value":405335769033474.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5515431828081762304,"description":"Unknown IO ID 45"} 
[2026-09-18 12:10:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166653696001,"power":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5515431828081762304}} 
[2026-09-18 12:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":185961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:10:50] local.INFO: GPS data processed {"connection_id":185961,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:10:50] local.INFO: Acknowledgment sent {"connection_id":185961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:11:12] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:11:12] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:11:12] local.INFO: IMEI packet received {"connection_id":185962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":185962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:11:17] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:11:17] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:11:17] local.INFO: IMEI packet received {"connection_id":185962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":185962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:11:18] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33cf640012d4c9800068f9090004e00aa2c..."} 
[2026-09-18 12:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33cf640012d4c9800068f9090004e00aa2c..."} 
[2026-09-18 12:11:18] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33cf640012d4c9800068f9090004e00aa2c..."} 
[2026-09-18 12:11:18] local.INFO: Packet analysis {"connection_id":185962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:11:18] local.INFO: Extracted packet for processing {"connection_id":185962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:11:18] local.INFO: GPS Element Parsed {"raw_longitude":759994368,"raw_latitude":110071952,"longitude_deg":75.9994368,"latitude_deg":11.0071952,"altitude":78,"angle":170,"satellites":44,"speed":10,"hex_longitude":"2d4c9800","hex_latitude":"068f9090","is_valid_coordinates":true} 
[2026-09-18 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166656000001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405336052501315584,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5517120677941227520,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713512000,"timestamp_ms":1789713512000,"timestamp_seconds":1789713512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33cf640"} 
[2026-09-18 12:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:11:18] 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-09-18 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 12:11:18] 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-09-18 12:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166656000001,"66":206,"86":48896,"24":10,"16":405336052501315584,"45":5517120677941227520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166656000001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:11:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405336052501315584,"km_value":405336052501315.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5517120677941227520,"description":"Unknown IO ID 45"} 
[2026-09-18 12:11:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166656000001,"power":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5517120677941227520}} 
[2026-09-18 12:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":185962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:11:18] local.INFO: GPS data processed {"connection_id":185962,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:11:18] local.INFO: Acknowledgment sent {"connection_id":185962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:11:25] local.INFO: TCP Data received {"connection_id":187404,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:11:25] local.INFO: Processing buffer {"connection_id":187404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:11:25] local.INFO: IMEI packet received {"connection_id":187404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":187404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:11:28] local.INFO: TCP Data received {"connection_id":187404,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:11:28] local.INFO: Processing buffer {"connection_id":187404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:11:28] local.INFO: IMEI packet received {"connection_id":187404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":187404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:11:30] local.INFO: TCP Data received {"connection_id":187404,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33b8af8012d196940071fec88003d010d29..."} 
[2026-09-18 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33b8af8012d196940071fec88003d010d29..."} 
[2026-09-18 12:11:30] local.INFO: Processing buffer {"connection_id":187404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33b8af8012d196940071fec88003d010d29..."} 
[2026-09-18 12:11:30] local.INFO: Packet analysis {"connection_id":187404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:11:30] local.INFO: Extracted packet for processing {"connection_id":187404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166629888001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789713419000,"timestamp_ms":1789713419000,"timestamp_seconds":1789713419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33b8af8"} 
[2026-09-18 12:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166629888001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166629888001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:11:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:11:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166629888001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":187404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:11:30] local.INFO: GPS data processed {"connection_id":187404,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:11:30] local.INFO: Acknowledgment sent {"connection_id":187404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:11:31] local.INFO: TCP Data received {"connection_id":187404,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33bdd00012d196940071fec88003d010d2c..."} 
[2026-09-18 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33bdd00012d196940071fec88003d010d2c..."} 
[2026-09-18 12:11:31] local.INFO: Processing buffer {"connection_id":187404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33bdd00012d196940071fec88003d010d2c..."} 
[2026-09-18 12:11:31] local.INFO: Packet analysis {"connection_id":187404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:11:31] local.INFO: Extracted packet for processing {"connection_id":187404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33b"} 
[2026-09-18 12:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166635264001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789713440000,"timestamp_ms":1789713440000,"timestamp_seconds":1789713440,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33bdd00"} 
[2026-09-18 12:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:11: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-09-18 12:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166635264001,"66":11743,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166635264001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:11:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166635264001,"power":11743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":187404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:11:31] local.INFO: GPS data processed {"connection_id":187404,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:11:31] local.INFO: Acknowledgment sent {"connection_id":187404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:11:49] local.INFO: TCP Data received {"connection_id":185962,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33d30d8012d4c9f80068f7440004c009a2d..."} 
[2026-09-18 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33d30d8012d4c9f80068f7440004c009a2d..."} 
[2026-09-18 12:11:49] local.INFO: Processing buffer {"connection_id":185962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33d30d8012d4c9f80068f7440004c009a2d..."} 
[2026-09-18 12:11:49] local.INFO: Packet analysis {"connection_id":185962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:11:49] local.INFO: Extracted packet for processing {"connection_id":185962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:11:49] local.INFO: GPS Element Parsed {"raw_longitude":759996288,"raw_latitude":110064704,"longitude_deg":75.9996288,"latitude_deg":11.0064704,"altitude":76,"angle":154,"satellites":45,"speed":22,"hex_longitude":"2d4c9f80","hex_latitude":"068f7440","is_valid_coordinates":true} 
[2026-09-18 12:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166659072001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405336417573535744,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5519161371520962560,"note":"Value kept but may cause issues"} 
[2026-09-18 12:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789713527000,"timestamp_ms":1789713527000,"timestamp_seconds":1789713527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33d30d8"} 
[2026-09-18 12:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 12:11:49] 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-09-18 12:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166659072001,"66":27626,"142":206,"86":48896,"24":22,"16":405336417573535744,"45":5519161371520962560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166659072001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:11:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:11:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405336417573535744,"km_value":405336417573535.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5519161371520962560,"description":"Unknown IO ID 45"} 
[2026-09-18 12:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166659072001,"power":27626,"unknown_142":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5519161371520962560}} 
[2026-09-18 12:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":185962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:11:49] local.INFO: GPS data processed {"connection_id":185962,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:11:49] local.INFO: Acknowledgment sent {"connection_id":185962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:12:03] local.INFO: TCP Data received {"connection_id":187404,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33c2f08012d196940071fec88003d010d2a..."} 
[2026-09-18 12:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33c2f08012d196940071fec88003d010d2a..."} 
[2026-09-18 12:12:03] local.INFO: Processing buffer {"connection_id":187404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33c2f08012d196940071fec88003d010d2a..."} 
[2026-09-18 12:12:03] local.INFO: Packet analysis {"connection_id":187404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:12:03] local.INFO: Extracted packet for processing {"connection_id":187404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166640640001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713461000,"timestamp_ms":1789713461000,"timestamp_seconds":1789713461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33c2f08"} 
[2026-09-18 12:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:12: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-09-18 12: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 12:12:03] 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-09-18 12: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-09-18 12:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166640640001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166640640001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:12:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166640640001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":187404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:12:03] local.INFO: GPS data processed {"connection_id":187404,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:12:03] local.INFO: Acknowledgment sent {"connection_id":187404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:12:15] local.INFO: TCP Data received {"connection_id":186115,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:12:15] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:12:15] local.INFO: IMEI packet received {"connection_id":186115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:12:17] local.INFO: TCP Data received {"connection_id":186113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:12:17] local.INFO: Processing buffer {"connection_id":186113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:12:17] local.INFO: IMEI packet received {"connection_id":186113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:12:17] local.INFO: TCP Data received {"connection_id":186115,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:12:17] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:12:17] local.INFO: IMEI packet received {"connection_id":186115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:12:18] local.INFO: TCP Data received {"connection_id":186115,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33d3c90012d4ca340068f6e68004c008e2c..."} 
[2026-09-18 12:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33d3c90012d4ca340068f6e68004c008e2c..."} 
[2026-09-18 12:12:18] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33d3c90012d4ca340068f6e68004c008e2c..."} 
[2026-09-18 12:12:18] local.INFO: Packet analysis {"connection_id":186115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:12:18] local.INFO: Extracted packet for processing {"connection_id":186115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:12:18] local.INFO: GPS Element Parsed {"raw_longitude":759997248,"raw_latitude":110063208,"longitude_deg":75.9997248,"latitude_deg":11.0063208,"altitude":76,"angle":142,"satellites":44,"speed":22,"hex_longitude":"2d4ca340","hex_latitude":"068f6e68","is_valid_coordinates":true} 
[2026-09-18 12:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166662912001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405336503472881664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521272433844436992,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713530000,"timestamp_ms":1789713530000,"timestamp_seconds":1789713530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33d3c90"} 
[2026-09-18 12:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 12:12:18] 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-09-18 12:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166662912001,"66":27767,"142":206,"86":48896,"24":22,"16":405336503472881664,"45":5521272433844436992},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166662912001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:12:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:12:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405336503472881664,"km_value":405336503472881.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521272433844436992,"description":"Unknown IO ID 45"} 
[2026-09-18 12:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166662912001,"power":27767,"unknown_142":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5521272433844436992}} 
[2026-09-18 12:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":186115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:12:18] local.INFO: GPS data processed {"connection_id":186115,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:12:18] local.INFO: Acknowledgment sent {"connection_id":186115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:12:23] local.INFO: TCP Data received {"connection_id":186115,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33d4c30012d4ca800068f68d0004b00802c..."} 
[2026-09-18 12:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33d4c30012d4ca800068f68d0004b00802c..."} 
[2026-09-18 12:12:23] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33d4c30012d4ca800068f68d0004b00802c..."} 
[2026-09-18 12:12:23] local.INFO: Packet analysis {"connection_id":186115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:12:23] local.INFO: Extracted packet for processing {"connection_id":186115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:12:23] local.INFO: GPS Element Parsed {"raw_longitude":759998464,"raw_latitude":110061776,"longitude_deg":75.9998464,"latitude_deg":11.0061776,"altitude":75,"angle":128,"satellites":44,"speed":18,"hex_longitude":"2d4ca800","hex_latitude":"068f68d0","is_valid_coordinates":true} 
[2026-09-18 12:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166663680001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405336597962162176,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5522327965006718976,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789713534000,"timestamp_ms":1789713534000,"timestamp_seconds":1789713534,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33d4c30"} 
[2026-09-18 12:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 12:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166663680001,"66":27800,"142":206,"86":48896,"24":18,"16":405336597962162176,"45":5522327965006718976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166663680001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:12:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:12:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405336597962162176,"km_value":405336597962162.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5522327965006718976,"description":"Unknown IO ID 45"} 
[2026-09-18 12:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166663680001,"power":27800,"unknown_142":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5522327965006718976}} 
[2026-09-18 12:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":186115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:12:23] local.INFO: GPS data processed {"connection_id":186115,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:12:23] local.INFO: Acknowledgment sent {"connection_id":186115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:12:25] local.INFO: TCP Data received {"connection_id":186116,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:12:25] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:12:25] local.INFO: IMEI packet received {"connection_id":186116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":186116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:12:30] local.INFO: TCP Data received {"connection_id":186116,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:12:30] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:12:30] local.INFO: IMEI packet received {"connection_id":186116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":186116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:12:32] local.INFO: TCP Data received {"connection_id":186116,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33c8110012d196940071fec88003d010d2c..."} 
[2026-09-18 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33c8110012d196940071fec88003d010d2c..."} 
[2026-09-18 12:12:32] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33c8110012d196940071fec88003d010d2c..."} 
[2026-09-18 12:12:32] local.INFO: Packet analysis {"connection_id":186116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:12:32] local.INFO: Extracted packet for processing {"connection_id":186116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166646016001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713482000,"timestamp_ms":1789713482000,"timestamp_seconds":1789713482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33c8110"} 
[2026-09-18 12:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:12: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-09-18 12:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:12: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-09-18 12:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166646016001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166646016001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:12:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166646016001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":186116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:12:32] local.INFO: GPS data processed {"connection_id":186116,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:12:32] local.INFO: Acknowledgment sent {"connection_id":186116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:12:54] local.INFO: TCP Data received {"connection_id":186115,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33d5bd0012d4cacc0068f64e0004b00732d..."} 
[2026-09-18 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33d5bd0012d4cacc0068f64e0004b00732d..."} 
[2026-09-18 12:12:54] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33d5bd0012d4cacc0068f64e0004b00732d..."} 
[2026-09-18 12:12:54] local.INFO: Packet analysis {"connection_id":186115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:12:54] local.INFO: Extracted packet for processing {"connection_id":186115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":759999680,"raw_latitude":110060768,"longitude_deg":75.999968,"latitude_deg":11.0060768,"altitude":75,"angle":115,"satellites":45,"speed":6,"hex_longitude":"2d4cacc0","hex_latitude":"068f64e0","is_valid_coordinates":true} 
[2026-09-18 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166664704001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405336670976606208,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5523664971145728000,"note":"Value kept but may cause issues"} 
[2026-09-18 12:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789713538000,"timestamp_ms":1789713538000,"timestamp_seconds":1789713538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33d5bd0"} 
[2026-09-18 12:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 12:12:54] 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-09-18 12:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166664704001,"66":27767,"142":206,"86":48896,"24":6,"16":405336670976606208,"45":5523664971145728000},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166664704001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:12:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:12:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405336670976606208,"km_value":405336670976606.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5523664971145728000,"description":"Unknown IO ID 45"} 
[2026-09-18 12:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166664704001,"power":27767,"unknown_142":206,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5523664971145728000}} 
[2026-09-18 12:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":186115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:12:54] local.INFO: GPS data processed {"connection_id":186115,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:12:54] local.INFO: Acknowledgment sent {"connection_id":186115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:13:03] local.INFO: TCP Data received {"connection_id":186116,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33cd318012d196940071fec88003d010d2a..."} 
[2026-09-18 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33cd318012d196940071fec88003d010d2a..."} 
[2026-09-18 12:13:03] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33cd318012d196940071fec88003d010d2a..."} 
[2026-09-18 12:13:03] local.INFO: Packet analysis {"connection_id":186116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:13:03] local.INFO: Extracted packet for processing {"connection_id":186116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33c"} 
[2026-09-18 12:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166651392001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713503000,"timestamp_ms":1789713503000,"timestamp_seconds":1789713503,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33cd318"} 
[2026-09-18 12:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:13: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-09-18 12: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":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166651392001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166651392001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:13:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166651392001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":186116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:13:03] local.INFO: GPS data processed {"connection_id":186116,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:13:03] local.INFO: Acknowledgment sent {"connection_id":186116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:13:12] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:13:12] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:13:12] local.INFO: IMEI packet received {"connection_id":188731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:13:17] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:13:17] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:13:17] local.INFO: IMEI packet received {"connection_id":188731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":188731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:13:18] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33dadd8012d4cbec0068f5b70004d00742c..."} 
[2026-09-18 12:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33dadd8012d4cbec0068f5b70004d00742c..."} 
[2026-09-18 12:13:18] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33dadd8012d4cbec0068f5b70004d00742c..."} 
[2026-09-18 12:13:18] local.INFO: Packet analysis {"connection_id":188731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:13:18] local.INFO: Extracted packet for processing {"connection_id":188731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:13:18] local.INFO: GPS Element Parsed {"raw_longitude":760004288,"raw_latitude":110058352,"longitude_deg":76.0004288,"latitude_deg":11.0058352,"altitude":77,"angle":116,"satellites":44,"speed":22,"hex_longitude":"2d4cbec0","hex_latitude":"068f5b70","is_valid_coordinates":true} 
[2026-09-18 12:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166665728001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405336924379676672,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5525001977284845568,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713559000,"timestamp_ms":1789713559000,"timestamp_seconds":1789713559,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33dadd8"} 
[2026-09-18 12:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 12:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166665728001,"66":27691,"142":206,"86":48896,"24":22,"16":405336924379676672,"45":5525001977284845568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166665728001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:13:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:13:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405336924379676672,"km_value":405336924379676.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5525001977284845568,"description":"Unknown IO ID 45"} 
[2026-09-18 12:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166665728001,"power":27691,"unknown_142":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5525001977284845568}} 
[2026-09-18 12:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":188731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:13:18] local.INFO: GPS data processed {"connection_id":188731,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:13:18] local.INFO: Acknowledgment sent {"connection_id":188731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:13:25] local.INFO: TCP Data received {"connection_id":185963,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:13:25] local.INFO: Processing buffer {"connection_id":185963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:13:25] local.INFO: IMEI packet received {"connection_id":185963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":185963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:13:30] local.INFO: TCP Data received {"connection_id":185963,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:13:30] local.INFO: Processing buffer {"connection_id":185963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:13:30] local.INFO: IMEI packet received {"connection_id":185963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":185963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:13:31] local.INFO: TCP Data received {"connection_id":185963,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33d2520012d196940071fec88003d010d2a..."} 
[2026-09-18 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33d2520012d196940071fec88003d010d2a..."} 
[2026-09-18 12:13:31] local.INFO: Processing buffer {"connection_id":185963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33d2520012d196940071fec88003d010d2a..."} 
[2026-09-18 12:13:31] local.INFO: Packet analysis {"connection_id":185963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:13:31] local.INFO: Extracted packet for processing {"connection_id":185963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166656768001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789713524000,"timestamp_ms":1789713524000,"timestamp_seconds":1789713524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33d2520"} 
[2026-09-18 12:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:13: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-09-18 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:13: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-09-18 12: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-09-18 12:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166656768001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166656768001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:13:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166656768001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":185963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:13:31] local.INFO: GPS data processed {"connection_id":185963,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:13:31] local.INFO: Acknowledgment sent {"connection_id":185963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:13:51] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33dffe0012d4cdb80068f4c40004400732e..."} 
[2026-09-18 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33dffe0012d4cdb80068f4c40004400732e..."} 
[2026-09-18 12:13:51] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33dffe0012d4cdb80068f4c40004400732e..."} 
[2026-09-18 12:13:51] local.INFO: Packet analysis {"connection_id":188731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:13:51] local.INFO: Extracted packet for processing {"connection_id":188731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33d"} 
[2026-09-18 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":760011648,"raw_latitude":110054464,"longitude_deg":76.0011648,"latitude_deg":11.0054464,"altitude":68,"angle":115,"satellites":46,"speed":2,"hex_longitude":"2d4cdb80","hex_latitude":"068f4c40","is_valid_coordinates":true} 
[2026-09-18 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166671104001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337323811635200,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5530068526865018880,"note":"Value kept but may cause issues"} 
[2026-09-18 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789713580000,"timestamp_ms":1789713580000,"timestamp_seconds":1789713580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33dffe0"} 
[2026-09-18 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 12:13:51] 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-09-18 12:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166671104001,"66":27604,"142":206,"86":48896,"24":2,"16":405337323811635200,"45":5530068526865018880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166671104001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:13:51] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:13:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337323811635200,"km_value":405337323811635.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5530068526865018880,"description":"Unknown IO ID 45"} 
[2026-09-18 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166671104001,"power":27604,"unknown_142":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5530068526865018880}} 
[2026-09-18 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":188731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:13:51] local.INFO: GPS data processed {"connection_id":188731,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:13:51] local.INFO: Acknowledgment sent {"connection_id":188731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:14:03] local.INFO: TCP Data received {"connection_id":185963,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b340ab78012d196940071fec88003d010d2c..."} 
[2026-09-18 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b340ab78012d196940071fec88003d010d2c..."} 
[2026-09-18 12:14:03] local.INFO: Processing buffer {"connection_id":185963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b340ab78012d196940071fec88003d010d2c..."} 
[2026-09-18 12:14:03] local.INFO: Packet analysis {"connection_id":185963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b340"} 
[2026-09-18 12:14:03] local.INFO: Extracted packet for processing {"connection_id":185963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b340"} 
[2026-09-18 12:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166715904001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713755000,"timestamp_ms":1789713755000,"timestamp_seconds":1789713755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b340ab78"} 
[2026-09-18 12:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:14: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-09-18 12: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 12:14: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-09-18 12: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-09-18 12:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166715904001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166715904001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:14:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166715904001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":185963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:14:03] local.INFO: GPS data processed {"connection_id":185963,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:14:03] local.INFO: Acknowledgment sent {"connection_id":185963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:14:17] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:14:17] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:14:17] local.INFO: IMEI packet received {"connection_id":187405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":187405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:14:22] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:14:22] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:14:22] local.INFO: IMEI packet received {"connection_id":187405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":187405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:14:23] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33e51e8012d4cdc00068f4bd8004400732c..."} 
[2026-09-18 12:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33e51e8012d4cdc00068f4bd8004400732c..."} 
[2026-09-18 12:14:23] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33e51e8012d4cdc00068f4bd8004400732c..."} 
[2026-09-18 12:14:23] local.INFO: Packet analysis {"connection_id":187405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:14:23] local.INFO: Extracted packet for processing {"connection_id":187405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:14:23] local.INFO: GPS Element Parsed {"raw_longitude":760011776,"raw_latitude":110054360,"longitude_deg":76.0011776,"latitude_deg":11.005436,"altitude":68,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2d4cdc00","hex_latitude":"068f4bd8","is_valid_coordinates":true} 
[2026-09-18 12:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166676480001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337332401569792,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538160932444454912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789713601000,"timestamp_ms":1789713601000,"timestamp_seconds":1789713601,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33e51e8"} 
[2026-09-18 12:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 12:14:23] 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-09-18 12:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166676480001,"66":27843,"142":206,"86":48896,"24":0,"16":405337332401569792,"45":5538160932444454912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166676480001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:14:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:14:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337332401569792,"km_value":405337332401569.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538160932444454912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166676480001,"power":27843,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538160932444454912}} 
[2026-09-18 12:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":187405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:14:23] local.INFO: GPS data processed {"connection_id":187405,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:14:23] local.INFO: Acknowledgment sent {"connection_id":187405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:14:25] local.INFO: TCP Data received {"connection_id":188732,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:14:25] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:14:25] local.INFO: IMEI packet received {"connection_id":188732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":188732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:14:30] local.INFO: TCP Data received {"connection_id":188732,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:14:30] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:14:30] local.INFO: IMEI packet received {"connection_id":188732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":188732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:14:32] local.INFO: TCP Data received {"connection_id":188732,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b340fd80012d196940071fec88003d010d29..."} 
[2026-09-18 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b340fd80012d196940071fec88003d010d29..."} 
[2026-09-18 12:14:32] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b340fd80012d196940071fec88003d010d29..."} 
[2026-09-18 12:14:32] local.INFO: Packet analysis {"connection_id":188732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b340"} 
[2026-09-18 12:14:32] local.INFO: Extracted packet for processing {"connection_id":188732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b340"} 
[2026-09-18 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166721280001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713776000,"timestamp_ms":1789713776000,"timestamp_seconds":1789713776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b340fd80"} 
[2026-09-18 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-09-18 12:14: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-09-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12: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-09-18 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-09-18 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-09-18 12:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166721280001,"66":11961,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166721280001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166721280001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":188732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:14:32] local.INFO: GPS data processed {"connection_id":188732,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:14:32] local.INFO: Acknowledgment sent {"connection_id":188732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:14:57] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33ea3f0012d4cddc0068f4870004700732e..."} 
[2026-09-18 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33ea3f0012d4cddc0068f4870004700732e..."} 
[2026-09-18 12:14:57] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33ea3f0012d4cddc0068f4870004700732e..."} 
[2026-09-18 12:14:57] local.INFO: Packet analysis {"connection_id":187405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:14:57] local.INFO: Extracted packet for processing {"connection_id":187405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":760012224,"raw_latitude":110053488,"longitude_deg":76.0012224,"latitude_deg":11.0053488,"altitude":71,"angle":115,"satellites":46,"speed":4,"hex_longitude":"2d4cddc0","hex_latitude":"068f4870","is_valid_coordinates":true} 
[2026-09-18 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166681856001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337383941177344,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538301669932783616,"note":"Value kept but may cause issues"} 
[2026-09-18 12:14:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789713622000,"timestamp_ms":1789713622000,"timestamp_seconds":1789713622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33ea3f0"} 
[2026-09-18 12:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 12:14:57] 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-09-18 12:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:14: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-09-18 12:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166681856001,"66":206,"86":48896,"24":4,"16":405337383941177344,"45":5538301669932783616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166681856001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:14:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337383941177344,"km_value":405337383941177.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538301669932783616,"description":"Unknown IO ID 45"} 
[2026-09-18 12:14:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166681856001,"power":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5538301669932783616}} 
[2026-09-18 12:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":187405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:14:57] local.INFO: GPS data processed {"connection_id":187405,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:14:57] local.INFO: Acknowledgment sent {"connection_id":187405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:15:03] local.INFO: TCP Data received {"connection_id":188732,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3414f88012d196940071fec88003d010d2b..."} 
[2026-09-18 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3414f88012d196940071fec88003d010d2b..."} 
[2026-09-18 12:15:03] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3414f88012d196940071fec88003d010d2b..."} 
[2026-09-18 12:15:03] local.INFO: Packet analysis {"connection_id":188732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b341"} 
[2026-09-18 12:15:03] local.INFO: Extracted packet for processing {"connection_id":188732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b341"} 
[2026-09-18 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166726656001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713797000,"timestamp_ms":1789713797000,"timestamp_seconds":1789713797,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3414f88"} 
[2026-09-18 12:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:15: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-09-18 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 12:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166726656001,"66":12504,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166726656001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166726656001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":188732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:15:03] local.INFO: GPS data processed {"connection_id":188732,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:15:03] local.INFO: Acknowledgment sent {"connection_id":188732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:15:12] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:15:12] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:15:12] local.INFO: IMEI packet received {"connection_id":188733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":188733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:15:17] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:15:17] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:15:17] local.INFO: IMEI packet received {"connection_id":188733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:15:19] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33eb390012d4cde80068f4710004700732e..."} 
[2026-09-18 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33eb390012d4cde80068f4710004700732e..."} 
[2026-09-18 12:15:19] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33eb390012d4cde80068f4710004700732e..."} 
[2026-09-18 12:15:19] local.INFO: Packet analysis {"connection_id":188733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:15:19] local.INFO: Extracted packet for processing {"connection_id":188733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:15:19] local.INFO: GPS Element Parsed {"raw_longitude":760012416,"raw_latitude":110053136,"longitude_deg":76.0012416,"latitude_deg":11.0053136,"altitude":71,"angle":115,"satellites":46,"speed":4,"hex_longitude":"2d4cde80","hex_latitude":"068f4710","is_valid_coordinates":true} 
[2026-09-18 12:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166687232001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538794251141804032,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713626000,"timestamp_ms":1789713626000,"timestamp_seconds":1789713626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33eb390"} 
[2026-09-18 12:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:15:19] 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-09-18 12:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:15:19] 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-09-18 12:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166687232001,"66":206,"86":48896,"24":4,"16":405337405416013824,"45":5538794251141804032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166687232001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:15:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538794251141804032,"description":"Unknown IO ID 45"} 
[2026-09-18 12:15:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166687232001,"power":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5538794251141804032}} 
[2026-09-18 12:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":188733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:15:19] local.INFO: GPS data processed {"connection_id":188733,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:15:19] local.INFO: Acknowledgment sent {"connection_id":188733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:15:30] local.INFO: TCP Data received {"connection_id":187406,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:15:30] local.INFO: Processing buffer {"connection_id":187406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:15:30] local.INFO: IMEI packet received {"connection_id":187406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":187406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:15:35] local.INFO: TCP Data received {"connection_id":187406,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:15:35] local.INFO: Processing buffer {"connection_id":187406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:15:35] local.INFO: IMEI packet received {"connection_id":187406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":187406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:15:37] local.INFO: TCP Data received {"connection_id":187406,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b341a190012d196940071fec88003d010d2c..."} 
[2026-09-18 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b341a190012d196940071fec88003d010d2c..."} 
[2026-09-18 12:15:37] local.INFO: Processing buffer {"connection_id":187406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b341a190012d196940071fec88003d010d2c..."} 
[2026-09-18 12:15:37] local.INFO: Packet analysis {"connection_id":187406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b341"} 
[2026-09-18 12:15:37] local.INFO: Extracted packet for processing {"connection_id":187406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b341"} 
[2026-09-18 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166732032001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789713818000,"timestamp_ms":1789713818000,"timestamp_seconds":1789713818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b341a190"} 
[2026-09-18 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:15: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-09-18 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 12:15: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-09-18 12:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166732032001,"66":12439,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166732032001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:15:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166732032001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":187406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:15:37] local.INFO: GPS data processed {"connection_id":187406,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:15:37] local.INFO: Acknowledgment sent {"connection_id":187406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:15:41] local.INFO: TCP Data received {"connection_id":187406,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b341f398012d196940071fec88003d010d2b..."} 
[2026-09-18 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b341f398012d196940071fec88003d010d2b..."} 
[2026-09-18 12:15:41] local.INFO: Processing buffer {"connection_id":187406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b341f398012d196940071fec88003d010d2b..."} 
[2026-09-18 12:15:41] local.INFO: Packet analysis {"connection_id":187406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b341"} 
[2026-09-18 12:15:41] local.INFO: Extracted packet for processing {"connection_id":187406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b341"} 
[2026-09-18 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166737408001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789713839000,"timestamp_ms":1789713839000,"timestamp_seconds":1789713839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b341f398"} 
[2026-09-18 12:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:15: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-09-18 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-18 12:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166737408001,"66":12298,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166737408001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:15:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:15:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166737408001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":187406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:15:41] local.INFO: GPS data processed {"connection_id":187406,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:15:41] local.INFO: Acknowledgment sent {"connection_id":187406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:15:50] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b33eb390012d4cde80068f4710004700732e..."} 
[2026-09-18 12:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b33eb390012d4cde80068f4710004700732e..."} 
[2026-09-18 12:15:50] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b33eb390012d4cde80068f4710004700732e..."} 
[2026-09-18 12:15:50] local.INFO: Packet analysis {"connection_id":188733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:15:50] local.INFO: Extracted packet for processing {"connection_id":188733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b33e"} 
[2026-09-18 12:15:50] local.INFO: GPS Element Parsed {"raw_longitude":760012416,"raw_latitude":110053136,"longitude_deg":76.0012416,"latitude_deg":11.0053136,"altitude":71,"angle":115,"satellites":46,"speed":4,"hex_longitude":"2d4cde80","hex_latitude":"068f4710","is_valid_coordinates":true} 
[2026-09-18 12:15: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-09-18 12:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166687232001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538794251141804032,"note":"Value kept but may cause issues"} 
[2026-09-18 12:15:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713626000,"timestamp_ms":1789713626000,"timestamp_seconds":1789713626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b33eb390"} 
[2026-09-18 12:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:15:50] 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-09-18 12:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166687232001,"66":206,"86":48896,"24":4,"16":405337405416013824,"45":5538794251141804032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166687232001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:15:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538794251141804032,"description":"Unknown IO ID 45"} 
[2026-09-18 12:15:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166687232001,"power":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5538794251141804032}} 
[2026-09-18 12:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":188733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:15:50] local.INFO: GPS data processed {"connection_id":188733,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:15:50] local.INFO: Acknowledgment sent {"connection_id":188733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:16:12] local.INFO: TCP Data received {"connection_id":186117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:16:12] local.INFO: Processing buffer {"connection_id":186117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:16:12] local.INFO: IMEI packet received {"connection_id":186117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":186117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:16:17] local.INFO: TCP Data received {"connection_id":186117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:16:17] local.INFO: Processing buffer {"connection_id":186117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:16:17] local.INFO: IMEI packet received {"connection_id":186117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":186117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:16:19] local.INFO: TCP Data received {"connection_id":186117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:16:19] local.INFO: Processing buffer {"connection_id":186117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:16:19] local.INFO: Packet analysis {"connection_id":186117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:16:19] local.INFO: Extracted packet for processing {"connection_id":186117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:16:19] 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-09-18 12:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:16:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:16:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":186117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:16:19] local.INFO: GPS data processed {"connection_id":186117,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:16:19] local.INFO: Acknowledgment sent {"connection_id":186117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:16:22] local.INFO: TCP Data received {"connection_id":188734,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:22] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:22] local.INFO: IMEI packet received {"connection_id":188734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":188734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:16:25] local.INFO: TCP Data received {"connection_id":188734,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:25] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:25] local.INFO: IMEI packet received {"connection_id":188734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":188734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:16:30] local.INFO: TCP Data received {"connection_id":188734,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:30] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:16:30] local.INFO: IMEI packet received {"connection_id":188734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":188734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:16:32] local.INFO: TCP Data received {"connection_id":188734,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34245a0012d196940071fec88003d010d2a..."} 
[2026-09-18 12:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34245a0012d196940071fec88003d010d2a..."} 
[2026-09-18 12:16:32] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34245a0012d196940071fec88003d010d2a..."} 
[2026-09-18 12:16:32] local.INFO: Packet analysis {"connection_id":188734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b342"} 
[2026-09-18 12:16:32] local.INFO: Extracted packet for processing {"connection_id":188734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b342"} 
[2026-09-18 12:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166742784001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789713860000,"timestamp_ms":1789713860000,"timestamp_seconds":1789713860,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34245a0"} 
[2026-09-18 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-09-18 12:16: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-09-18 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452363,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-5260204364768739327,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5530502393446459031,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513388951407231245,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":61,"raw_value":75765147246788608,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3968335933,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2461466624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,146,160,161,45,64,236,61,44,10,66,79,43,253,1,240,185,179,31,4,113,205,89,105,136,42,239,48,2,75,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:16:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395809189625069568,"timestamp_seconds":4395809189625069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 12:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166742784001,"66":12428,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166742784001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:16:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166742784001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":188734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:16:32] local.INFO: GPS data processed {"connection_id":188734,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:16:32] local.INFO: Acknowledgment sent {"connection_id":188734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:16:50] local.INFO: TCP Data received {"connection_id":186117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:16:50] local.INFO: Processing buffer {"connection_id":186117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:16:50] local.INFO: Packet analysis {"connection_id":186117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:16:50] local.INFO: Extracted packet for processing {"connection_id":186117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:16:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:16:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:16:50] 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-09-18 12:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:16:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:16:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":186117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:16:50] local.INFO: GPS data processed {"connection_id":186117,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:16:50] local.INFO: Acknowledgment sent {"connection_id":186117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:17:03] local.INFO: TCP Data received {"connection_id":188734,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34297a8012d196940071fec88003d010d2d..."} 
[2026-09-18 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34297a8012d196940071fec88003d010d2d..."} 
[2026-09-18 12:17:03] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34297a8012d196940071fec88003d010d2d..."} 
[2026-09-18 12:17:03] local.INFO: Packet analysis {"connection_id":188734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b342"} 
[2026-09-18 12:17:03] local.INFO: Extracted packet for processing {"connection_id":188734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b342"} 
[2026-09-18 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166748160001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789713881000,"timestamp_ms":1789713881000,"timestamp_seconds":1789713881,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34297a8"} 
[2026-09-18 12:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:17: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-09-18 12: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 12:17: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-09-18 12: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-09-18 12:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166748160001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166748160001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:17:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166748160001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":188734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:17:03] local.INFO: GPS data processed {"connection_id":188734,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:17:03] local.INFO: Acknowledgment sent {"connection_id":188734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:17:12] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:17:12] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:17:12] local.INFO: IMEI packet received {"connection_id":185964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":185964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:17:17] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:17:17] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:17:17] local.INFO: IMEI packet received {"connection_id":185964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":185964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:17:19] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:17:19] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:17:19] local.INFO: Packet analysis {"connection_id":185964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:17:19] local.INFO: Extracted packet for processing {"connection_id":185964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:17:19] 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-09-18 12:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:17:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:17:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":185964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:17:19] local.INFO: GPS data processed {"connection_id":185964,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:17:19] local.INFO: Acknowledgment sent {"connection_id":185964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:17:25] local.INFO: TCP Data received {"connection_id":187407,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:25] local.INFO: Processing buffer {"connection_id":187407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:25] local.INFO: IMEI packet received {"connection_id":187407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":187407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:17:26] local.INFO: TCP Data received {"connection_id":187407,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:26] local.INFO: Processing buffer {"connection_id":187407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:26] local.INFO: IMEI packet received {"connection_id":187407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":187407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:17:30] local.INFO: TCP Data received {"connection_id":187407,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:30] local.INFO: Processing buffer {"connection_id":187407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:17:30] local.INFO: IMEI packet received {"connection_id":187407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":187407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:17:35] local.INFO: TCP Data received {"connection_id":187407,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b342e9b0012d196940071fec88003d010d29..."} 
[2026-09-18 12:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b342e9b0012d196940071fec88003d010d29..."} 
[2026-09-18 12:17:35] local.INFO: Processing buffer {"connection_id":187407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b342e9b0012d196940071fec88003d010d29..."} 
[2026-09-18 12:17:35] local.INFO: Packet analysis {"connection_id":187407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b342"} 
[2026-09-18 12:17:35] local.INFO: Extracted packet for processing {"connection_id":187407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b342"} 
[2026-09-18 12:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166753536001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789713902000,"timestamp_ms":1789713902000,"timestamp_seconds":1789713902,"priority":1,"record_length":96,"hex_timestamp":"000001a0b342e9b0"} 
[2026-09-18 12:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166753536001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166753536001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:17:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166753536001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":187407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:17:35] local.INFO: GPS data processed {"connection_id":187407,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:17:35] local.INFO: Acknowledgment sent {"connection_id":187407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:17:50] local.INFO: TCP Data received {"connection_id":185964,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:17:50] local.INFO: Processing buffer {"connection_id":185964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:17:50] local.INFO: Packet analysis {"connection_id":185964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:17:50] local.INFO: Extracted packet for processing {"connection_id":185964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:17:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:17:50] 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-09-18 12:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:17:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:17:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":185964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:17:50] local.INFO: GPS data processed {"connection_id":185964,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:17:50] local.INFO: Acknowledgment sent {"connection_id":185964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:17:51] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:17:51] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:17:51] local.INFO: IMEI packet received {"connection_id":188730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":188730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:18:07] local.INFO: TCP Data received {"connection_id":187407,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3433bb8012d196940071fec88003d010d29..."} 
[2026-09-18 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3433bb8012d196940071fec88003d010d29..."} 
[2026-09-18 12:18:07] local.INFO: Processing buffer {"connection_id":187407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3433bb8012d196940071fec88003d010d29..."} 
[2026-09-18 12:18:07] local.INFO: Packet analysis {"connection_id":187407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:07] local.INFO: Extracted packet for processing {"connection_id":187407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166758912001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789713923000,"timestamp_ms":1789713923000,"timestamp_seconds":1789713923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3433bb8"} 
[2026-09-18 12:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:18: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-09-18 12:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166758912001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166758912001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166758912001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":187407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:18:07] local.INFO: GPS data processed {"connection_id":187407,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:18:07] local.INFO: Acknowledgment sent {"connection_id":187407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:18:11] local.INFO: TCP Data received {"connection_id":186118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:18:11] local.INFO: Processing buffer {"connection_id":186118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:18:11] local.INFO: IMEI packet received {"connection_id":186118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:18:12] local.INFO: TCP Data received {"connection_id":187408,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:18:12] local.INFO: Processing buffer {"connection_id":187408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:18:12] local.INFO: IMEI packet received {"connection_id":187408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":187408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:18:17] local.INFO: TCP Data received {"connection_id":187408,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:18:17] local.INFO: Processing buffer {"connection_id":187408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:18:17] local.INFO: IMEI packet received {"connection_id":187408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":187408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:18:18] local.INFO: TCP Data received {"connection_id":187408,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:18:18] local.INFO: Processing buffer {"connection_id":187408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:18:18] local.INFO: Packet analysis {"connection_id":187408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:18] local.INFO: Extracted packet for processing {"connection_id":187408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:18:18] 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-09-18 12:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:18:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:18:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":187408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:18:18] local.INFO: GPS data processed {"connection_id":187408,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:18:18] local.INFO: Acknowledgment sent {"connection_id":187408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:18:24] local.INFO: TCP Data received {"connection_id":186119,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:24] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:24] local.INFO: IMEI packet received {"connection_id":186119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":186119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:18:25] local.INFO: TCP Data received {"connection_id":186119,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:25] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:25] local.INFO: IMEI packet received {"connection_id":186119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":186119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:18:26] local.INFO: TCP Data received {"connection_id":186119,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:26] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:26] local.INFO: IMEI packet received {"connection_id":186119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":186119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:18:31] local.INFO: TCP Data received {"connection_id":186119,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:31] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:18:31] local.INFO: IMEI packet received {"connection_id":186119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":186119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:18:34] local.INFO: TCP Data received {"connection_id":186119,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3438dc0012d196940071fec88003d010d2c..."} 
[2026-09-18 12:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3438dc0012d196940071fec88003d010d2c..."} 
[2026-09-18 12:18:34] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3438dc0012d196940071fec88003d010d2c..."} 
[2026-09-18 12:18:34] local.INFO: Packet analysis {"connection_id":186119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:34] local.INFO: Extracted packet for processing {"connection_id":186119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532680,"longitude_deg":75.6640064,"latitude_deg":11.953268,"altitude":61,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166764288001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21271937929969664,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847361024,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789713944000,"timestamp_ms":1789713944000,"timestamp_seconds":1789713944,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3438dc0"} 
[2026-09-18 12:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 12:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166764288001,"66":12461,"121":206,"28":31744,"24":0,"16":21271937929969664,"45":1831065122847361024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166764288001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:18:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21271937929969664,"km_value":21271937929969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847361024,"description":"Unknown IO ID 45"} 
[2026-09-18 12:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166764288001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847361024}} 
[2026-09-18 12:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":186119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:18:34] local.INFO: GPS data processed {"connection_id":186119,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:18:34] local.INFO: Acknowledgment sent {"connection_id":186119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:18:49] local.INFO: TCP Data received {"connection_id":187408,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:18:49] local.INFO: Processing buffer {"connection_id":187408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:18:49] local.INFO: Packet analysis {"connection_id":187408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:49] local.INFO: Extracted packet for processing {"connection_id":187408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:18:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:18:49] 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-09-18 12:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:18:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:18:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":187408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:18:49] local.INFO: GPS data processed {"connection_id":187408,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:18:49] local.INFO: Acknowledgment sent {"connection_id":187408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:19:06] local.INFO: TCP Data received {"connection_id":186119,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b345e368012d197e40071fec78003c003a2b..."} 
[2026-09-18 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b345e368012d197e40071fec78003c003a2b..."} 
[2026-09-18 12:19:06] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b345e368012d197e40071fec78003c003a2b..."} 
[2026-09-18 12:19:06] local.INFO: Packet analysis {"connection_id":186119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b345"} 
[2026-09-18 12:19:06] local.INFO: Extracted packet for processing {"connection_id":186119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b345"} 
[2026-09-18 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119532664,"longitude_deg":75.664544,"latitude_deg":11.9532664,"altitude":60,"angle":58,"satellites":43,"speed":18,"hex_longitude":"2d197e40","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-09-18 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166808576001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21272303002189824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836483516148989952,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789714097000,"timestamp_ms":1789714097000,"timestamp_seconds":1789714097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b345e368"} 
[2026-09-18 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 12:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166808576001,"66":14189,"121":206,"28":31744,"24":18,"16":21272303002189824,"45":1836483516148989952},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166808576001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21272303002189824,"km_value":21272303002189.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836483516148989952,"description":"Unknown IO ID 45"} 
[2026-09-18 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166808576001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1836483516148989952}} 
[2026-09-18 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":186119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:19:06] local.INFO: GPS data processed {"connection_id":186119,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:19:06] local.INFO: Acknowledgment sent {"connection_id":186119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:19:17] local.INFO: TCP Data received {"connection_id":185965,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:19:17] local.INFO: Processing buffer {"connection_id":185965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:19:17] local.INFO: IMEI packet received {"connection_id":185965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":185965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:19:22] local.INFO: TCP Data received {"connection_id":185965,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:19:22] local.INFO: Processing buffer {"connection_id":185965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:19:22] local.INFO: IMEI packet received {"connection_id":185965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":185965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:19:23] local.INFO: TCP Data received {"connection_id":185965,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:19:23] local.INFO: Processing buffer {"connection_id":185965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:19:23] local.INFO: Packet analysis {"connection_id":185965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:19:23] local.INFO: Extracted packet for processing {"connection_id":185965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:19:23] 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-09-18 12:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:19:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":185965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:19:23] local.INFO: GPS data processed {"connection_id":185965,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:19:23] local.INFO: Acknowledgment sent {"connection_id":185965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:19:24] local.INFO: TCP Data received {"connection_id":188735,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:24] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:24] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:19:25] local.INFO: TCP Data received {"connection_id":188735,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:25] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:25] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:19:25] local.INFO: TCP Data received {"connection_id":188735,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:25] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:25] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:19:27] local.INFO: TCP Data received {"connection_id":188735,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:27] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:19:27] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:19:28] local.INFO: TCP Data received {"connection_id":185965,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:19:28] local.INFO: Processing buffer {"connection_id":185965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:19:28] local.INFO: Packet analysis {"connection_id":185965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:19:28] local.INFO: Extracted packet for processing {"connection_id":185965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:19:28] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:19:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:19:28] 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-09-18 12:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:19:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:19:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":185965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:19:28] local.INFO: GPS data processed {"connection_id":185965,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:19:28] local.INFO: Acknowledgment sent {"connection_id":185965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:20:12] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:20:12] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:20:12] local.INFO: IMEI packet received {"connection_id":186120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:20:17] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:20:17] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:20:17] local.INFO: IMEI packet received {"connection_id":186120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":186120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:20:18] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:20:18] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:20:18] local.INFO: Packet analysis {"connection_id":186120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:20:18] local.INFO: Extracted packet for processing {"connection_id":186120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:20:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:20:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:20:18] 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-09-18 12:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:20:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:20:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":186120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:20:18] local.INFO: GPS data processed {"connection_id":186120,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:20:18] local.INFO: Acknowledgment sent {"connection_id":186120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:20:50] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:20:50] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3435710012d4ce0c0068f46600047007322..."} 
[2026-09-18 12:20:50] local.INFO: Packet analysis {"connection_id":186120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:20:50] local.INFO: Extracted packet for processing {"connection_id":186120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b343"} 
[2026-09-18 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":71,"angle":115,"satellites":34,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166688256001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357374246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:20:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789713930000,"timestamp_ms":1789713930000,"timestamp_seconds":1789713930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3435710"} 
[2026-09-18 12:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 12:20:50] 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-09-18 12:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166688256001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539005357374246912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166688256001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:20:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357374246912,"description":"Unknown IO ID 45"} 
[2026-09-18 12:20:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166688256001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539005357374246912}} 
[2026-09-18 12:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":186120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:20:50] local.INFO: GPS data processed {"connection_id":186120,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:20:50] local.INFO: Acknowledgment sent {"connection_id":186120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:21:09] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:09] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:09] local.INFO: IMEI packet received {"connection_id":188736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:21:12] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:12] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:12] local.INFO: IMEI packet received {"connection_id":188736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":188736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:21:17] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:17] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:21:17] local.INFO: IMEI packet received {"connection_id":188736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":188736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:21:18] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:21:18] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:21:18] local.INFO: Packet analysis {"connection_id":188736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:21:18] local.INFO: Extracted packet for processing {"connection_id":188736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:21:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:21:18] 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-09-18 12:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":188736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:21:18] local.INFO: GPS data processed {"connection_id":188736,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:21:18] local.INFO: Acknowledgment sent {"connection_id":188736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:21:50] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:21:50] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:21:50] local.INFO: Packet analysis {"connection_id":188736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:21:50] local.INFO: Extracted packet for processing {"connection_id":188736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:21:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:21:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:21:50] 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-09-18 12:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:21:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:21:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":188736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:21:50] local.INFO: GPS data processed {"connection_id":188736,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:21:50] local.INFO: Acknowledgment sent {"connection_id":188736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:22:12] local.INFO: TCP Data received {"connection_id":185967,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:22:12] local.INFO: Processing buffer {"connection_id":185967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:22:12] local.INFO: IMEI packet received {"connection_id":185967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":185967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:22:17] local.INFO: TCP Data received {"connection_id":185967,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:22:17] local.INFO: Processing buffer {"connection_id":185967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:22:17] local.INFO: IMEI packet received {"connection_id":185967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":185967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:22:19] local.INFO: TCP Data received {"connection_id":185967,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:22:19] local.INFO: Processing buffer {"connection_id":185967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:22:19] local.INFO: Packet analysis {"connection_id":185967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:22:19] local.INFO: Extracted packet for processing {"connection_id":185967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:22:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:22:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:22:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:22:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":185967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:22:19] local.INFO: GPS data processed {"connection_id":185967,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:22:19] local.INFO: Acknowledgment sent {"connection_id":185967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:22:51] local.INFO: TCP Data received {"connection_id":185967,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:22:51] local.INFO: Processing buffer {"connection_id":185967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:22:51] local.INFO: Packet analysis {"connection_id":185967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:22:51] local.INFO: Extracted packet for processing {"connection_id":185967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:22:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:22:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":185967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:22:51] local.INFO: GPS data processed {"connection_id":185967,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:22:51] local.INFO: Acknowledgment sent {"connection_id":185967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:23:12] local.INFO: TCP Data received {"connection_id":187409,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:23:12] local.INFO: Processing buffer {"connection_id":187409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:23:12] local.INFO: IMEI packet received {"connection_id":187409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":187409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:23:17] local.INFO: TCP Data received {"connection_id":187409,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:23:17] local.INFO: Processing buffer {"connection_id":187409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:23:17] local.INFO: IMEI packet received {"connection_id":187409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":187409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:23:18] local.INFO: TCP Data received {"connection_id":187409,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:23:18] local.INFO: Processing buffer {"connection_id":187409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:23:18] local.INFO: Packet analysis {"connection_id":187409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:23:18] local.INFO: Extracted packet for processing {"connection_id":187409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:23:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:23:18] 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-09-18 12:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:23:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:23:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":187409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:23:18] local.INFO: GPS data processed {"connection_id":187409,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:23:18] local.INFO: Acknowledgment sent {"connection_id":187409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:23:26] local.INFO: TCP Data received {"connection_id":186122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:23:26] local.INFO: Processing buffer {"connection_id":186122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:23:26] local.INFO: IMEI packet received {"connection_id":186122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":186122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:23:50] local.INFO: TCP Data received {"connection_id":187409,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:23:50] local.INFO: Processing buffer {"connection_id":187409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:23:50] local.INFO: Packet analysis {"connection_id":187409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:23:50] local.INFO: Extracted packet for processing {"connection_id":187409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:23:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:23:50] 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-09-18 12:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:23:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:23:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":187409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:23:50] local.INFO: GPS data processed {"connection_id":187409,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:23:50] local.INFO: Acknowledgment sent {"connection_id":187409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:24:12] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:24:12] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:24:12] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:24:17] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:24:17] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:24:17] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:24:18] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:24:18] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:24:18] local.INFO: Packet analysis {"connection_id":186123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:24:18] local.INFO: Extracted packet for processing {"connection_id":186123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:24:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:24:18] 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-09-18 12:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:24:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:24:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":186123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:24:18] local.INFO: GPS data processed {"connection_id":186123,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:24:18] local.INFO: Acknowledgment sent {"connection_id":186123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:24:30] local.INFO: TCP Data received {"connection_id":188737,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:24:30] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:24:30] local.INFO: IMEI packet received {"connection_id":188737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":188737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:24:31] local.INFO: TCP Data received {"connection_id":188737,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34a63c0012d18f28007214bb8004700622c..."} 
[2026-09-18 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34a63c0012d18f28007214bb8004700622c..."} 
[2026-09-18 12:24:31] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34a63c0012d18f28007214bb8004700622c..."} 
[2026-09-18 12:24:31] local.INFO: Packet analysis {"connection_id":188737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34a"} 
[2026-09-18 12:24:31] local.INFO: Extracted packet for processing {"connection_id":188737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34a"} 
[2026-09-18 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756609664,"raw_latitude":119622584,"longitude_deg":75.6609664,"latitude_deg":11.9622584,"altitude":71,"angle":98,"satellites":44,"speed":13,"hex_longitude":"2d18f280","hex_latitude":"07214bb8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166882048001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280729728024576,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794262269665474560,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789714392000,"timestamp_ms":1789714392000,"timestamp_seconds":1789714392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34a63c0"} 
[2026-09-18 12:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:24: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-09-18 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 12:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166882048001,"66":14396,"121":206,"28":31744,"24":13,"16":21280729728024576,"45":1794262269665474560},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166882048001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:24:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280729728024576,"km_value":21280729728024.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794262269665474560,"description":"Unknown IO ID 45"} 
[2026-09-18 12:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166882048001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1794262269665474560}} 
[2026-09-18 12:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":188737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:24:31] local.INFO: GPS data processed {"connection_id":188737,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:24:31] local.INFO: Acknowledgment sent {"connection_id":188737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:24:50] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:24:50] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:24:50] local.INFO: Packet analysis {"connection_id":186123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:24:50] local.INFO: Extracted packet for processing {"connection_id":186123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:24:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:24:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:24:50] 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-09-18 12:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:24:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:24:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":186123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:24:50] local.INFO: GPS data processed {"connection_id":186123,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:24:50] local.INFO: Acknowledgment sent {"connection_id":186123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:25:03] local.INFO: TCP Data received {"connection_id":188737,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34a8ad0012d18fe0007214a30004500822b..."} 
[2026-09-18 12:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34a8ad0012d18fe0007214a30004500822b..."} 
[2026-09-18 12:25:03] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34a8ad0012d18fe0007214a30004500822b..."} 
[2026-09-18 12:25:03] local.INFO: Packet analysis {"connection_id":188737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34a"} 
[2026-09-18 12:25:03] local.INFO: Extracted packet for processing {"connection_id":188737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34a"} 
[2026-09-18 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756612608,"raw_latitude":119622192,"longitude_deg":75.6612608,"latitude_deg":11.9622192,"altitude":69,"angle":130,"satellites":43,"speed":13,"hex_longitude":"2d18fe00","hex_latitude":"07214a30","is_valid_coordinates":true} 
[2026-09-18 12:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166884352001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280871461945344,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797639969385986048,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789714402000,"timestamp_ms":1789714402000,"timestamp_seconds":1789714402,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34a8ad0"} 
[2026-09-18 12:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:25: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-09-18 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 12:25: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-09-18 12:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166884352001,"66":14483,"121":206,"28":31744,"24":13,"16":21280871461945344,"45":1797639969385986048},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166884352001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:25:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280871461945344,"km_value":21280871461945.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797639969385986048,"description":"Unknown IO ID 45"} 
[2026-09-18 12:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166884352001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1797639969385986048}} 
[2026-09-18 12:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":188737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:25:03] local.INFO: GPS data processed {"connection_id":188737,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:25:03] local.INFO: Acknowledgment sent {"connection_id":188737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:25:17] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:25:17] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:25:17] local.INFO: IMEI packet received {"connection_id":188738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":188738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:25:24] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:25:24] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:25:24] local.INFO: IMEI packet received {"connection_id":188738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":188738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:25:25] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:25:25] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:25:25] local.INFO: Packet analysis {"connection_id":188738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:25:25] local.INFO: Extracted packet for processing {"connection_id":188738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:25:25] 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-09-18 12:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:25:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:25:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":188738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:25:25] local.INFO: GPS data processed {"connection_id":188738,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:25:25] local.INFO: Acknowledgment sent {"connection_id":188738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:25:28] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:25:28] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b347eed8012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:25:28] local.INFO: Packet analysis {"connection_id":188738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:25:28] local.INFO: Extracted packet for processing {"connection_id":188738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b347"} 
[2026-09-18 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166766080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789714231000,"timestamp_ms":1789714231000,"timestamp_seconds":1789714231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b347eed8"} 
[2026-09-18 12:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 12:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166766080001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166766080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:25:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:25:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166766080001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":188738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:25:28] local.INFO: GPS data processed {"connection_id":188738,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:25:28] local.INFO: Acknowledgment sent {"connection_id":188738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:25:29] local.INFO: TCP Data received {"connection_id":185970,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:29] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:29] local.INFO: IMEI packet received {"connection_id":185970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":185970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:25:30] local.INFO: TCP Data received {"connection_id":185970,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:30] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:30] local.INFO: IMEI packet received {"connection_id":185970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":185970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:25:35] local.INFO: TCP Data received {"connection_id":185970,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:35] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:25:35] local.INFO: IMEI packet received {"connection_id":185970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":185970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:25:37] local.INFO: TCP Data received {"connection_id":185970,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34b4268012d190d0007213c90003c008e29..."} 
[2026-09-18 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34b4268012d190d0007213c90003c008e29..."} 
[2026-09-18 12:25:37] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34b4268012d190d0007213c90003c008e29..."} 
[2026-09-18 12:25:37] local.INFO: Packet analysis {"connection_id":185970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34b"} 
[2026-09-18 12:25:37] local.INFO: Extracted packet for processing {"connection_id":185970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34b"} 
[2026-09-18 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119618704,"longitude_deg":75.6616448,"latitude_deg":11.9618704,"altitude":60,"angle":142,"satellites":41,"speed":2,"hex_longitude":"2d190d00","hex_latitude":"07213c90","is_valid_coordinates":true} 
[2026-09-18 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166895616001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281202174427136,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169425012029440,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789714449000,"timestamp_ms":1789714449000,"timestamp_seconds":1789714449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34b4268"} 
[2026-09-18 12:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:25: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-09-18 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 12:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166895616001,"66":14048,"121":206,"28":31744,"24":2,"16":21281202174427136,"45":1805169425012029440},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166895616001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:25:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281202174427136,"km_value":21281202174427.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169425012029440,"description":"Unknown IO ID 45"} 
[2026-09-18 12:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166895616001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1805169425012029440}} 
[2026-09-18 12:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":185970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:25:37] local.INFO: GPS data processed {"connection_id":185970,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:25:37] local.INFO: Acknowledgment sent {"connection_id":185970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:25:41] local.INFO: TCP Data received {"connection_id":185970,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34b9470012d190cc007213cb8003d008f26..."} 
[2026-09-18 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34b9470012d190cc007213cb8003d008f26..."} 
[2026-09-18 12:25:41] local.INFO: Processing buffer {"connection_id":185970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34b9470012d190cc007213cb8003d008f26..."} 
[2026-09-18 12:25:41] local.INFO: Packet analysis {"connection_id":185970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34b"} 
[2026-09-18 12:25:41] local.INFO: Extracted packet for processing {"connection_id":185970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34b"} 
[2026-09-18 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119618744,"longitude_deg":75.6616384,"latitude_deg":11.9618744,"altitude":61,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d190cc0","hex_latitude":"07213cb8","is_valid_coordinates":true} 
[2026-09-18 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166898944001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281206469394432,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056267825152,"note":"Value kept but may cause issues"} 
[2026-09-18 12:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789714470000,"timestamp_ms":1789714470000,"timestamp_seconds":1789714470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34b9470"} 
[2026-09-18 12:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 12:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166898944001,"66":14135,"121":206,"28":31744,"24":0,"16":21281206469394432,"45":1805099056267825152},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166898944001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:25:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281206469394432,"km_value":21281206469394.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056267825152,"description":"Unknown IO ID 45"} 
[2026-09-18 12:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166898944001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1805099056267825152}} 
[2026-09-18 12:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":185970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:25:41] local.INFO: GPS data processed {"connection_id":185970,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:25:41] local.INFO: Acknowledgment sent {"connection_id":185970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:26:10] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:10] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:10] local.INFO: IMEI packet received {"connection_id":188739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":188739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:26:12] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:12] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:12] local.INFO: IMEI packet received {"connection_id":188739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":188739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:26:17] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:17] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:26:17] local.INFO: IMEI packet received {"connection_id":188739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":188739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:26:18] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:26:18] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:26:18] local.INFO: Packet analysis {"connection_id":188739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:26:18] local.INFO: Extracted packet for processing {"connection_id":188739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:26:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:26:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":188739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:26:18] local.INFO: GPS data processed {"connection_id":188739,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:26:18] local.INFO: Acknowledgment sent {"connection_id":188739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:26:25] local.INFO: TCP Data received {"connection_id":185971,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:26:25] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:26:25] local.INFO: IMEI packet received {"connection_id":185971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":185971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:26:29] local.INFO: TCP Data received {"connection_id":185971,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:26:29] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:26:29] local.INFO: IMEI packet received {"connection_id":185971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":185971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:26:33] local.INFO: TCP Data received {"connection_id":185971,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34be678012d190cc007213cb8003d008f21..."} 
[2026-09-18 12:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34be678012d190cc007213cb8003d008f21..."} 
[2026-09-18 12:26:33] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34be678012d190cc007213cb8003d008f21..."} 
[2026-09-18 12:26:33] local.INFO: Packet analysis {"connection_id":185971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34b"} 
[2026-09-18 12:26:33] local.INFO: Extracted packet for processing {"connection_id":185971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34b"} 
[2026-09-18 12:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119618744,"longitude_deg":75.6616384,"latitude_deg":11.9618744,"altitude":61,"angle":143,"satellites":33,"speed":0,"hex_longitude":"2d190cc0","hex_latitude":"07213cb8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166904320001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281206469394432,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805028687523657728,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789714491000,"timestamp_ms":1789714491000,"timestamp_seconds":1789714491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34be678"} 
[2026-09-18 12:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:26: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-09-18 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 12:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166904320001,"66":14080,"121":206,"28":31744,"24":0,"16":21281206469394432,"45":1805028687523657728},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166904320001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:26:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281206469394432,"km_value":21281206469394.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805028687523657728,"description":"Unknown IO ID 45"} 
[2026-09-18 12:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166904320001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1805028687523657728}} 
[2026-09-18 12:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":185971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:26:33] local.INFO: GPS data processed {"connection_id":185971,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:26:33] local.INFO: Acknowledgment sent {"connection_id":185971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:26:34] local.INFO: TCP Data received {"connection_id":185971,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c3880012d190cc007213cb8003d008f26..."} 
[2026-09-18 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c3880012d190cc007213cb8003d008f26..."} 
[2026-09-18 12:26:34] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c3880012d190cc007213cb8003d008f26..."} 
[2026-09-18 12:26:34] local.INFO: Packet analysis {"connection_id":185971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:26:34] local.INFO: Extracted packet for processing {"connection_id":185971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119618744,"longitude_deg":75.6616384,"latitude_deg":11.9618744,"altitude":61,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d190cc0","hex_latitude":"07213cb8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166909696001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281206469394432,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805028687523657728,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789714512000,"timestamp_ms":1789714512000,"timestamp_seconds":1789714512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c3880"} 
[2026-09-18 12:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3008024864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2602106880,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,155,160,148,45,192,60,61,38,10,66,41,15,64,1,240,55,179,33,4,113,205,2,220,12,239,54,75,7,63,5],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:26:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395670608210296832,"timestamp_seconds":4395670608210297.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166909696001,"66":14374,"121":206,"28":31744,"24":0,"16":21281206469394432,"45":1805028687523657728},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166909696001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:26:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281206469394432,"km_value":21281206469394.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805028687523657728,"description":"Unknown IO ID 45"} 
[2026-09-18 12:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166909696001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1805028687523657728}} 
[2026-09-18 12:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":185971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:26:34] local.INFO: GPS data processed {"connection_id":185971,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:26:34] local.INFO: Acknowledgment sent {"connection_id":185971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:26:50] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:26:50] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:26:50] local.INFO: Packet analysis {"connection_id":188739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:26:50] local.INFO: Extracted packet for processing {"connection_id":188739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:26:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:26:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:26:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:26:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":188739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:26:50] local.INFO: GPS data processed {"connection_id":188739,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:26:50] local.INFO: Acknowledgment sent {"connection_id":188739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:27:06] local.INFO: TCP Data received {"connection_id":185971,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34d2ab0012d18fd8007214a70003f012b2a..."} 
[2026-09-18 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34d2ab0012d18fd8007214a70003f012b2a..."} 
[2026-09-18 12:27:06] local.INFO: Processing buffer {"connection_id":185971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34d2ab0012d18fd8007214a70003f012b2a..."} 
[2026-09-18 12:27:06] local.INFO: Packet analysis {"connection_id":185971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34d"} 
[2026-09-18 12:27:06] local.INFO: Extracted packet for processing {"connection_id":185971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34d"} 
[2026-09-18 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756612480,"raw_latitude":119622256,"longitude_deg":75.661248,"latitude_deg":11.9622256,"altitude":63,"angle":299,"satellites":42,"speed":10,"hex_longitude":"2d18fd80","hex_latitude":"07214a70","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166930688001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281511412072448,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800947300362207232,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789714574000,"timestamp_ms":1789714574000,"timestamp_seconds":1789714574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34d2ab0"} 
[2026-09-18 12:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 12:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166930688001,"66":14070,"121":206,"28":31744,"24":10,"16":21281511412072448,"45":1800947300362207232},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166930688001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281511412072448,"km_value":21281511412072.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800947300362207232,"description":"Unknown IO ID 45"} 
[2026-09-18 12:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166930688001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1800947300362207232}} 
[2026-09-18 12:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":185971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:27:06] local.INFO: GPS data processed {"connection_id":185971,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:27:06] local.INFO: Acknowledgment sent {"connection_id":185971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:27:12] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:27:12] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:27:12] local.INFO: IMEI packet received {"connection_id":187410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":187410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:27:17] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:27:17] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:27:17] local.INFO: IMEI packet received {"connection_id":187410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":187410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:27:19] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:27:19] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:27:19] local.INFO: Packet analysis {"connection_id":187410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:27:19] local.INFO: Extracted packet for processing {"connection_id":187410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:27:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:27:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:27:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":187410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:27:19] local.INFO: GPS data processed {"connection_id":187410,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:27:19] local.INFO: Acknowledgment sent {"connection_id":187410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:27:26] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:27:26] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:27:26] local.INFO: IMEI packet received {"connection_id":186124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":186124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:27:30] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:27:30] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:27:30] local.INFO: IMEI packet received {"connection_id":186124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":186124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:27:32] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34d2e98012d18fc8007214ac8003f011e2a..."} 
[2026-09-18 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34d2e98012d18fc8007214ac8003f011e2a..."} 
[2026-09-18 12:27:32] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34d2e98012d18fc8007214ac8003f011e2a..."} 
[2026-09-18 12:27:32] local.INFO: Packet analysis {"connection_id":186124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34d"} 
[2026-09-18 12:27:32] local.INFO: Extracted packet for processing {"connection_id":186124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34d"} 
[2026-09-18 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756612224,"raw_latitude":119622344,"longitude_deg":75.6612224,"latitude_deg":11.9622344,"altitude":63,"angle":286,"satellites":42,"speed":10,"hex_longitude":"2d18fc80","hex_latitude":"07214ac8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166930944001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281524296974336,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194129719296,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789714575000,"timestamp_ms":1789714575000,"timestamp_seconds":1789714575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34d2e98"} 
[2026-09-18 12:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:27: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-09-18 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 12:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166930944001,"66":14070,"121":206,"28":31744,"24":10,"16":21281524296974336,"45":1800736194129719296},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166930944001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:27:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281524296974336,"km_value":21281524296974.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194129719296,"description":"Unknown IO ID 45"} 
[2026-09-18 12:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166930944001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1800736194129719296}} 
[2026-09-18 12:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":186124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:27:32] local.INFO: GPS data processed {"connection_id":186124,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:27:32] local.INFO: Acknowledgment sent {"connection_id":186124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:27:50] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:27:50] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:27:50] local.INFO: Packet analysis {"connection_id":187410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:27:50] local.INFO: Extracted packet for processing {"connection_id":187410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:27:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:27:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:27:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:27:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":187410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:27:50] local.INFO: GPS data processed {"connection_id":187410,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:27:50] local.INFO: Acknowledgment sent {"connection_id":187410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:28:03] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34e0188012d18c240072154300041013629..."} 
[2026-09-18 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34e0188012d18c240072154300041013629..."} 
[2026-09-18 12:28:03] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34e0188012d18c240072154300041013629..."} 
[2026-09-18 12:28:03] local.INFO: Packet analysis {"connection_id":186124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:28:03] local.INFO: Extracted packet for processing {"connection_id":186124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624752,"longitude_deg":75.6597312,"latitude_deg":11.9624752,"altitude":65,"angle":310,"satellites":41,"speed":13,"hex_longitude":"2d18c240","hex_latitude":"07215430","is_valid_coordinates":true} 
[2026-09-18 12:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166944512001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21282280211218432,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969425920,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789714629000,"timestamp_ms":1789714629000,"timestamp_seconds":1789714629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34e0188"} 
[2026-09-18 12:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:28: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-09-18 12:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991072632,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503924363362304,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3008199864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2613968896,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84751317268373837,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.WARNING: Large IO value detected {"io_id":136,"raw_value":18578714916817920,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,156,160,198,45,128,81,67,41,10,66,155,195,140,192,1,240,169,179,33,4,113,205,12,132,222,39,239,54,2,75,7,206,208,136],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 12:28:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612001754358808576,"timestamp_seconds":4612001754358809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166944512001,"66":14363,"121":206,"28":31744,"24":13,"16":21282280211218432,"45":1784551382969425920},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166944512001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:28:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21282280211218432,"km_value":21282280211218.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969425920,"description":"Unknown IO ID 45"} 
[2026-09-18 12:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166944512001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1784551382969425920}} 
[2026-09-18 12:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":186124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:28:03] local.INFO: GPS data processed {"connection_id":186124,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:28:03] local.INFO: Acknowledgment sent {"connection_id":186124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:28:12] local.INFO: TCP Data received {"connection_id":187411,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:28:12] local.INFO: Processing buffer {"connection_id":187411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:28:12] local.INFO: IMEI packet received {"connection_id":187411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":187411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:28:17] local.INFO: TCP Data received {"connection_id":187411,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:28:17] local.INFO: Processing buffer {"connection_id":187411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:28:17] local.INFO: IMEI packet received {"connection_id":187411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":187411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:28:18] local.INFO: TCP Data received {"connection_id":187411,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:28:18] local.INFO: Processing buffer {"connection_id":187411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:28:18] local.INFO: Packet analysis {"connection_id":187411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:28:18] local.INFO: Extracted packet for processing {"connection_id":187411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:28:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:28:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:28:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":187411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:28:18] local.INFO: GPS data processed {"connection_id":187411,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:28:18] local.INFO: Acknowledgment sent {"connection_id":187411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:28:25] local.INFO: TCP Data received {"connection_id":186125,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:28:25] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:28:25] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:28:30] local.INFO: TCP Data received {"connection_id":186125,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:28:30] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:28:30] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:28:32] local.INFO: TCP Data received {"connection_id":186125,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34e0958012d18bfc0072156a8004101432a..."} 
[2026-09-18 12:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34e0958012d18bfc0072156a8004101432a..."} 
[2026-09-18 12:28:32] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34e0958012d18bfc0072156a8004101432a..."} 
[2026-09-18 12:28:32] local.INFO: Packet analysis {"connection_id":186125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:28:32] local.INFO: Extracted packet for processing {"connection_id":186125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756596672,"raw_latitude":119625384,"longitude_deg":75.6596672,"latitude_deg":11.9625384,"altitude":65,"angle":323,"satellites":42,"speed":18,"hex_longitude":"2d18bfc0","hex_latitude":"072156a8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166945024001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21282318865924096,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760251904,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789714631000,"timestamp_ms":1789714631000,"timestamp_seconds":1789714631,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34e0958"} 
[2026-09-18 12:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:28: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-09-18 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 12:28: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-09-18 12: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-09-18 12:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166945024001,"66":14374,"121":206,"28":31744,"24":18,"16":21282318865924096,"45":1784058801760251904},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 12:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166945024001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21282318865924096,"km_value":21282318865924.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760251904,"description":"Unknown IO ID 45"} 
[2026-09-18 12:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166945024001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1784058801760251904}} 
[2026-09-18 12:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":186125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:28:32] local.INFO: GPS data processed {"connection_id":186125,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:28:32] local.INFO: Acknowledgment sent {"connection_id":186125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:28:49] local.INFO: TCP Data received {"connection_id":187411,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:28:49] local.INFO: Processing buffer {"connection_id":187411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:28:49] local.INFO: Packet analysis {"connection_id":187411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:28:49] local.INFO: Extracted packet for processing {"connection_id":187411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:28:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:28:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:28:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:28:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":187411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:28:49] local.INFO: GPS data processed {"connection_id":187411,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:28:49] local.INFO: Acknowledgment sent {"connection_id":187411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:29:01] local.INFO: TCP Data received {"connection_id":185972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:29:01] local.INFO: Processing buffer {"connection_id":185972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:29:01] local.INFO: IMEI packet received {"connection_id":185972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":185972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:29:03] local.INFO: TCP Data received {"connection_id":186125,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34ef7a0012d181e000721a8500047000829..."} 
[2026-09-18 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34ef7a0012d181e000721a8500047000829..."} 
[2026-09-18 12:29:03] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34ef7a0012d181e000721a8500047000829..."} 
[2026-09-18 12:29:03] local.INFO: Packet analysis {"connection_id":186125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:29:03] local.INFO: Extracted packet for processing {"connection_id":186125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646288,"longitude_deg":75.6555264,"latitude_deg":11.9646288,"altitude":71,"angle":8,"satellites":41,"speed":9,"hex_longitude":"2d181e00","hex_latitude":"0721a850","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166960896001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21284633853296640,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840988672,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789714692000,"timestamp_ms":1789714692000,"timestamp_seconds":1789714692,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34ef7a0"} 
[2026-09-18 12:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:29: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-09-18 12: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":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166960896001,"66":13798,"120":206,"28":31744,"24":9,"16":21284633853296640,"45":1737826536840988672},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166960896001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:29:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21284633853296640,"km_value":21284633853296.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840988672,"description":"Unknown IO ID 45"} 
[2026-09-18 12:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166960896001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737826536840988672}} 
[2026-09-18 12:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":186125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:29:03] local.INFO: GPS data processed {"connection_id":186125,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:29:03] local.INFO: Acknowledgment sent {"connection_id":186125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:29:17] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:29:17] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:29:17] local.INFO: IMEI packet received {"connection_id":185973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":185973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:29:22] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:29:22] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:29:22] local.INFO: IMEI packet received {"connection_id":185973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":185973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:29:23] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:23] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:23] local.INFO: Packet analysis {"connection_id":185973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:29:23] local.INFO: Extracted packet for processing {"connection_id":185973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:29:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:29:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":185973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:29:23] local.INFO: GPS data processed {"connection_id":185973,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:29:23] local.INFO: Acknowledgment sent {"connection_id":185973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:29:25] local.INFO: TCP Data received {"connection_id":187412,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:29:25] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:29:25] local.INFO: IMEI packet received {"connection_id":187412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":187412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:29:27] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:27] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:27] local.INFO: Packet analysis {"connection_id":185973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:29:27] local.INFO: Extracted packet for processing {"connection_id":185973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:29:27] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:29: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-09-18 12:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:29:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:29:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":185973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:29:27] local.INFO: GPS data processed {"connection_id":185973,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:29:27] local.INFO: Acknowledgment sent {"connection_id":185973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:29:30] local.INFO: TCP Data received {"connection_id":187412,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:29:30] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:29:30] local.INFO: IMEI packet received {"connection_id":187412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":187412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:29:31] local.INFO: TCP Data received {"connection_id":187412,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34efb88012d181e400721a9300048001427..."} 
[2026-09-18 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34efb88012d181e400721a9300048001427..."} 
[2026-09-18 12:29:31] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34efb88012d181e400721a9300048001427..."} 
[2026-09-18 12:29:31] local.INFO: Packet analysis {"connection_id":187412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:29:31] local.INFO: Extracted packet for processing {"connection_id":187412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646512,"longitude_deg":75.6555328,"latitude_deg":11.9646512,"altitude":72,"angle":20,"satellites":39,"speed":8,"hex_longitude":"2d181e40","hex_latitude":"0721a930","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166961152001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21284646738198528,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841039872,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789714693000,"timestamp_ms":1789714693000,"timestamp_seconds":1789714693,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34efb88"} 
[2026-09-18 12:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:29: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-09-18 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 12:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166961152001,"66":13798,"120":206,"28":31744,"24":8,"16":21284646738198528,"45":1737826536841039872},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166961152001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:29:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21284646738198528,"km_value":21284646738198.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841039872,"description":"Unknown IO ID 45"} 
[2026-09-18 12:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166961152001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737826536841039872}} 
[2026-09-18 12:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":187412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:29:31] local.INFO: GPS data processed {"connection_id":187412,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:29:31] local.INFO: Acknowledgment sent {"connection_id":187412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:29:32] local.INFO: TCP Data received {"connection_id":185973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:32] local.INFO: Processing buffer {"connection_id":185973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:29:32] local.INFO: Packet analysis {"connection_id":185973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:29:32] local.INFO: Extracted packet for processing {"connection_id":185973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:29:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:29: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-09-18 12:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:29:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:29:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":185973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:29:32] local.INFO: GPS data processed {"connection_id":185973,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:29:32] local.INFO: Acknowledgment sent {"connection_id":185973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:30:03] local.INFO: TCP Data received {"connection_id":187412,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34eff70012d181e800721a9d80048002327..."} 
[2026-09-18 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34eff70012d181e800721a9d80048002327..."} 
[2026-09-18 12:30:03] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34eff70012d181e800721a9d80048002327..."} 
[2026-09-18 12:30:03] local.INFO: Packet analysis {"connection_id":187412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:30:03] local.INFO: Extracted packet for processing {"connection_id":187412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34e"} 
[2026-09-18 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646680,"longitude_deg":75.6555392,"latitude_deg":11.964668,"altitude":72,"angle":35,"satellites":39,"speed":7,"hex_longitude":"2d181e80","hex_latitude":"0721a9d8","is_valid_coordinates":true} 
[2026-09-18 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166961408001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21284655328133120,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585274880,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789714694000,"timestamp_ms":1789714694000,"timestamp_seconds":1789714694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34eff70"} 
[2026-09-18 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:30: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-09-18 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 12:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166961408001,"66":13798,"120":206,"28":31744,"24":7,"16":21284655328133120,"45":1737896905585274880},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166961408001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:30:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21284655328133120,"km_value":21284655328133.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585274880,"description":"Unknown IO ID 45"} 
[2026-09-18 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166961408001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737896905585274880}} 
[2026-09-18 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":187412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:30:03] local.INFO: GPS data processed {"connection_id":187412,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:30:03] local.INFO: Acknowledgment sent {"connection_id":187412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:30:12] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:30:12] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:30:12] local.INFO: IMEI packet received {"connection_id":188740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":188740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:30:17] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:30:17] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:30:17] local.INFO: IMEI packet received {"connection_id":188740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":188740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:30:18] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:30:18] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:30:18] local.INFO: Packet analysis {"connection_id":188740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:30:18] local.INFO: Extracted packet for processing {"connection_id":188740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:30:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:30:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:30:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":188740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:30:18] local.INFO: GPS data processed {"connection_id":188740,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:30:18] local.INFO: Acknowledgment sent {"connection_id":188740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:30:30] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:30:30] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:30:30] local.INFO: IMEI packet received {"connection_id":186126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":186126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:30:32] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:30:32] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:30:32] local.INFO: IMEI packet received {"connection_id":186126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":186126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:30:33] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34f45c0012d1823000721afa80046001729..."} 
[2026-09-18 12:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34f45c0012d1823000721afa80046001729..."} 
[2026-09-18 12:30:33] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34f45c0012d1823000721afa80046001729..."} 
[2026-09-18 12:30:33] local.INFO: Packet analysis {"connection_id":186126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34f"} 
[2026-09-18 12:30:33] local.INFO: Extracted packet for processing {"connection_id":186126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34f"} 
[2026-09-18 12:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119648168,"longitude_deg":75.6556544,"latitude_deg":11.9648168,"altitude":70,"angle":23,"satellites":41,"speed":15,"hex_longitude":"2d182300","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166961664001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21284749817413632,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329495552,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789714712000,"timestamp_ms":1789714712000,"timestamp_seconds":1789714712,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34f45c0"} 
[2026-09-18 12:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:30: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-09-18 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 12:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166961664001,"66":14048,"120":206,"28":31744,"24":15,"16":21284749817413632,"45":1737967274329495552},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166961664001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21284749817413632,"km_value":21284749817413.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329495552,"description":"Unknown IO ID 45"} 
[2026-09-18 12:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166961664001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1737967274329495552}} 
[2026-09-18 12:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":186126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:30:33] local.INFO: GPS data processed {"connection_id":186126,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:30:33] local.INFO: Acknowledgment sent {"connection_id":186126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:30:36] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34f7888012d1834800721cec8004800212a..."} 
[2026-09-18 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34f7888012d1834800721cec8004800212a..."} 
[2026-09-18 12:30:36] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34f7888012d1834800721cec8004800212a..."} 
[2026-09-18 12:30:36] local.INFO: Packet analysis {"connection_id":186126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34f"} 
[2026-09-18 12:30:36] local.INFO: Extracted packet for processing {"connection_id":186126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34f"} 
[2026-09-18 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119656136,"longitude_deg":75.6561024,"latitude_deg":11.9656136,"altitude":72,"angle":33,"satellites":42,"speed":36,"hex_longitude":"2d183480","hex_latitude":"0721cec8","is_valid_coordinates":true} 
[2026-09-18 12:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166966272001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21285187904077824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725074432,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789714725000,"timestamp_ms":1789714725000,"timestamp_seconds":1789714725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34f7888"} 
[2026-09-18 12:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 12:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166966272001,"66":14080,"120":206,"28":31744,"24":36,"16":21285187904077824,"45":1739233911725074432},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166966272001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:30:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21285187904077824,"km_value":21285187904077.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725074432,"description":"Unknown IO ID 45"} 
[2026-09-18 12:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166966272001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1739233911725074432}} 
[2026-09-18 12:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":186126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:30:36] local.INFO: GPS data processed {"connection_id":186126,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:30:36] local.INFO: Acknowledgment sent {"connection_id":186126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:30:49] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:30:49] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b34c86a0012d4ce0c0068f46600054007327..."} 
[2026-09-18 12:30:49] local.INFO: Packet analysis {"connection_id":188740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:30:49] local.INFO: Extracted packet for processing {"connection_id":188740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b34c"} 
[2026-09-18 12:30:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166843136001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:30:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789714532000,"timestamp_ms":1789714532000,"timestamp_seconds":1789714532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b34c86a0"} 
[2026-09-18 12:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166843136001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166843136001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:30:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:30:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166843136001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":188740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:30:49] local.INFO: GPS data processed {"connection_id":188740,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:30:49] local.INFO: Acknowledgment sent {"connection_id":188740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:31:12] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:12] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:12] local.INFO: IMEI packet received {"connection_id":187413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":187413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:31:12] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:12] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:12] local.INFO: IMEI packet received {"connection_id":187413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":187413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:31:17] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:17] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:31:17] local.INFO: IMEI packet received {"connection_id":187413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":187413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:31:18] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:31:18] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:31:18] local.INFO: Packet analysis {"connection_id":187413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:31:18] local.INFO: Extracted packet for processing {"connection_id":187413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:31:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:31:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":187413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:31:18] local.INFO: GPS data processed {"connection_id":187413,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:31:18] local.INFO: Acknowledgment sent {"connection_id":187413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:31:25] local.INFO: TCP Data received {"connection_id":185974,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:31:25] local.INFO: Processing buffer {"connection_id":185974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:31:25] local.INFO: IMEI packet received {"connection_id":185974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":185974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:31:26] local.INFO: TCP Data received {"connection_id":185974,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:31:26] local.INFO: Processing buffer {"connection_id":185974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:31:26] local.INFO: IMEI packet received {"connection_id":185974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":185974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:31:30] local.INFO: TCP Data received {"connection_id":185974,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b350fb40012d18c2c0072304f00060003f28..."} 
[2026-09-18 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b350fb40012d18c2c0072304f00060003f28..."} 
[2026-09-18 12:31:30] local.INFO: Processing buffer {"connection_id":185974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b350fb40012d18c2c0072304f00060003f28..."} 
[2026-09-18 12:31:30] local.INFO: Packet analysis {"connection_id":185974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b350"} 
[2026-09-18 12:31:30] local.INFO: Extracted packet for processing {"connection_id":185974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b350"} 
[2026-09-18 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119735536,"longitude_deg":75.659744,"latitude_deg":11.9735536,"altitude":96,"angle":63,"satellites":40,"speed":40,"hex_longitude":"2d18c2c0","hex_latitude":"072304f0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166994688001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21289568770719744,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214376858351616,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789714824000,"timestamp_ms":1789714824000,"timestamp_seconds":1789714824,"priority":1,"record_length":96,"hex_timestamp":"000001a0b350fb40"} 
[2026-09-18 12:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 12:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166994688001,"66":13243,"62":206,"28":31744,"24":40,"16":21289568770719744,"45":1783214376858351616},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-09-18 12:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166994688001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:31:30] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-18 12:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21289568770719744,"km_value":21289568770719.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214376858351616,"description":"Unknown IO ID 45"} 
[2026-09-18 12:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166994688001,"power":13243,"unknown_62":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1783214376858351616}} 
[2026-09-18 12:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":185974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:31:31] local.INFO: GPS data processed {"connection_id":185974,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:31:31] local.INFO: Acknowledgment sent {"connection_id":185974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:31:49] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:31:49] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:31:49] local.INFO: Packet analysis {"connection_id":187413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:31:49] local.INFO: Extracted packet for processing {"connection_id":187413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:31:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:31:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:31:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:31:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":187413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:31:49] local.INFO: GPS data processed {"connection_id":187413,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:31:49] local.INFO: Acknowledgment sent {"connection_id":187413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:32:05] local.INFO: TCP Data received {"connection_id":185974,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b351c278012d196a0007238930003e002a20..."} 
[2026-09-18 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b351c278012d196a0007238930003e002a20..."} 
[2026-09-18 12:32:05] local.INFO: Processing buffer {"connection_id":185974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b351c278012d196a0007238930003e002a20..."} 
[2026-09-18 12:32:05] local.INFO: Packet analysis {"connection_id":185974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:05] local.INFO: Extracted packet for processing {"connection_id":185974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119769392,"longitude_deg":75.6640256,"latitude_deg":11.9769392,"altitude":62,"angle":42,"satellites":32,"speed":48,"hex_longitude":"2d196a00","hex_latitude":"07238930","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167006720001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21292510823317504,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948209475584,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789714875000,"timestamp_ms":1789714875000,"timestamp_seconds":1789714875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b351c278"} 
[2026-09-18 12:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 12:32: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-09-18 12: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-09-18 12:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167006720001,"66":14515,"81":206,"28":31744,"24":48,"16":21292510823317504,"45":1827405948209475584},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-18 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167006720001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 12:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21292510823317504,"km_value":21292510823317.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948209475584,"description":"Unknown IO ID 45"} 
[2026-09-18 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167006720001,"power":14515,"unknown_81":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1827405948209475584}} 
[2026-09-18 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":185974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:32:05] local.INFO: GPS data processed {"connection_id":185974,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:32:05] local.INFO: Acknowledgment sent {"connection_id":185974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:32:12] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:32:12] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:32:12] local.INFO: IMEI packet received {"connection_id":188741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":188741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:32:17] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:32:17] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:32:17] local.INFO: IMEI packet received {"connection_id":188741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":188741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:32:18] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:32:18] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:32:18] local.INFO: Packet analysis {"connection_id":188741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:18] local.INFO: Extracted packet for processing {"connection_id":188741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:32:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:32:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":188741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:32:18] local.INFO: GPS data processed {"connection_id":188741,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:32:18] local.INFO: Acknowledgment sent {"connection_id":188741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:32:25] local.INFO: TCP Data received {"connection_id":185975,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:32:25] local.INFO: Processing buffer {"connection_id":185975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:32:25] local.INFO: IMEI packet received {"connection_id":185975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":185975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:32:27] local.INFO: TCP Data received {"connection_id":185975,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:32:27] local.INFO: Processing buffer {"connection_id":185975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:32:27] local.INFO: IMEI packet received {"connection_id":185975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":185975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:32:29] local.INFO: TCP Data received {"connection_id":185975,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b351ce30012d19750007239278003d00391e..."} 
[2026-09-18 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b351ce30012d19750007239278003d00391e..."} 
[2026-09-18 12:32:29] local.INFO: Processing buffer {"connection_id":185975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b351ce30012d19750007239278003d00391e..."} 
[2026-09-18 12:32:29] local.INFO: Packet analysis {"connection_id":185975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:29] local.INFO: Extracted packet for processing {"connection_id":185975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756643072,"raw_latitude":119771768,"longitude_deg":75.6643072,"latitude_deg":11.9771768,"altitude":61,"angle":57,"satellites":30,"speed":47,"hex_longitude":"2d197500","hex_latitude":"07239278","is_valid_coordinates":true} 
[2026-09-18 12:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167008000001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21292686916976640,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229140492288,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789714878000,"timestamp_ms":1789714878000,"timestamp_seconds":1789714878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b351ce30"} 
[2026-09-18 12:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 12:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167008000001,"66":14461,"81":206,"28":31744,"24":47,"16":21292686916976640,"45":1831276229140492288},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-18 12:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167008000001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 12:32:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21292686916976640,"km_value":21292686916976.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229140492288,"description":"Unknown IO ID 45"} 
[2026-09-18 12:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167008000001,"power":14461,"unknown_81":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1831276229140492288}} 
[2026-09-18 12:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":185975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:32:29] local.INFO: GPS data processed {"connection_id":185975,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:32:29] local.INFO: Acknowledgment sent {"connection_id":185975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:32:51] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:32:51] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:32:51] local.INFO: Packet analysis {"connection_id":188741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:51] local.INFO: Extracted packet for processing {"connection_id":188741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:32:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:32:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":188741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:32:51] local.INFO: GPS data processed {"connection_id":188741,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:32:51] local.INFO: Acknowledgment sent {"connection_id":188741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:33:01] local.INFO: TCP Data received {"connection_id":185975,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b351d9e8012d1981c007239888003b004623..."} 
[2026-09-18 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b351d9e8012d1981c007239888003b004623..."} 
[2026-09-18 12:33:01] local.INFO: Processing buffer {"connection_id":185975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b351d9e8012d1981c007239888003b004623..."} 
[2026-09-18 12:33:01] local.INFO: Packet analysis {"connection_id":185975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:33:01] local.INFO: Extracted packet for processing {"connection_id":185975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756646336,"raw_latitude":119773320,"longitude_deg":75.6646336,"latitude_deg":11.977332,"altitude":59,"angle":70,"satellites":35,"speed":48,"hex_longitude":"2d1981c0","hex_latitude":"07239888","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167008768001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21292863010635776,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834372453884917760,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789714881000,"timestamp_ms":1789714881000,"timestamp_seconds":1789714881,"priority":1,"record_length":96,"hex_timestamp":"000001a0b351d9e8"} 
[2026-09-18 12:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:33: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-09-18 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 12:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167008768001,"66":14080,"81":206,"28":31744,"24":48,"16":21292863010635776,"45":1834372453884917760},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-18 12:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167008768001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:33:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-18 12:33:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21292863010635776,"km_value":21292863010635.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834372453884917760,"description":"Unknown IO ID 45"} 
[2026-09-18 12:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167008768001,"power":14080,"unknown_81":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1834372453884917760}} 
[2026-09-18 12:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":185975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:33:01] local.INFO: GPS data processed {"connection_id":185975,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:33:01] local.INFO: Acknowledgment sent {"connection_id":185975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:33:12] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:33:12] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:33:12] local.INFO: IMEI packet received {"connection_id":188742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":188742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:33:17] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:33:17] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:33:17] local.INFO: IMEI packet received {"connection_id":188742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":188742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:33:18] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:33:18] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:33:18] local.INFO: Packet analysis {"connection_id":188742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:33:18] local.INFO: Extracted packet for processing {"connection_id":188742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:33:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:33:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:33:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":188742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:33:18] local.INFO: GPS data processed {"connection_id":188742,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:33:18] local.INFO: Acknowledgment sent {"connection_id":188742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:33:25] local.INFO: TCP Data received {"connection_id":186127,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:33:25] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:33:25] local.INFO: IMEI packet received {"connection_id":186127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":186127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:33:27] local.INFO: TCP Data received {"connection_id":186127,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:33:27] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:33:27] local.INFO: IMEI packet received {"connection_id":186127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":186127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:33:28] local.INFO: TCP Data received {"connection_id":186127,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b352faf8012d1a6ec007240a080028003b28..."} 
[2026-09-18 12:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b352faf8012d1a6ec007240a080028003b28..."} 
[2026-09-18 12:33:28] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b352faf8012d1a6ec007240a080028003b28..."} 
[2026-09-18 12:33:28] local.INFO: Packet analysis {"connection_id":186127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b352"} 
[2026-09-18 12:33:28] local.INFO: Extracted packet for processing {"connection_id":186127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b352"} 
[2026-09-18 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756707008,"raw_latitude":119802376,"longitude_deg":75.6707008,"latitude_deg":11.9802376,"altitude":40,"angle":59,"satellites":40,"speed":26,"hex_longitude":"2d1a6ec0","hex_latitude":"07240a08","is_valid_coordinates":true} 
[2026-09-18 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167027456001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21296294689505280,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901926448302848000,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789714955000,"timestamp_ms":1789714955000,"timestamp_seconds":1789714955,"priority":1,"record_length":96,"hex_timestamp":"000001a0b352faf8"} 
[2026-09-18 12:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-18 12:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167027456001,"66":14070,"112":206,"28":31744,"24":26,"16":21296294689505280,"45":1901926448302848000},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167027456001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:33:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21296294689505280,"km_value":21296294689505.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901926448302848000,"description":"Unknown IO ID 45"} 
[2026-09-18 12:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167027456001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1901926448302848000}} 
[2026-09-18 12:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":186127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:33:28] local.INFO: GPS data processed {"connection_id":186127,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:33:28] local.INFO: Acknowledgment sent {"connection_id":186127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:33:50] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:33:50] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:33:50] local.INFO: Packet analysis {"connection_id":188742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:33:50] local.INFO: Extracted packet for processing {"connection_id":188742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:33:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:33:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:33:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:33:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":188742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:33:50] local.INFO: GPS data processed {"connection_id":188742,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:33:50] local.INFO: Acknowledgment sent {"connection_id":188742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:34:00] local.INFO: TCP Data received {"connection_id":186127,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3530a98012d1a75c007240d980029004728..."} 
[2026-09-18 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3530a98012d1a75c007240d980029004728..."} 
[2026-09-18 12:34:00] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3530a98012d1a75c007240d980029004728..."} 
[2026-09-18 12:34:00] local.INFO: Packet analysis {"connection_id":186127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b353"} 
[2026-09-18 12:34:00] local.INFO: Extracted packet for processing {"connection_id":186127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b353"} 
[2026-09-18 12:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756708800,"raw_latitude":119803288,"longitude_deg":75.67088,"latitude_deg":11.9803288,"altitude":41,"angle":71,"satellites":40,"speed":13,"hex_longitude":"2d1a75c0","hex_latitude":"07240d98","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167028480001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21296389178785792,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904670829326239744,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789714959000,"timestamp_ms":1789714959000,"timestamp_seconds":1789714959,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3530a98"} 
[2026-09-18 12:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:34: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-09-18 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 12:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167028480001,"66":14080,"112":206,"28":31744,"24":13,"16":21296389178785792,"45":1904670829326239744},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167028480001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:34:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21296389178785792,"km_value":21296389178785.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904670829326239744,"description":"Unknown IO ID 45"} 
[2026-09-18 12:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167028480001,"power":14080,"unknown_112":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1904670829326239744}} 
[2026-09-18 12:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":186127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:34:00] local.INFO: GPS data processed {"connection_id":186127,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:34:00] local.INFO: Acknowledgment sent {"connection_id":186127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:34:12] local.INFO: TCP Data received {"connection_id":187415,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:34:12] local.INFO: Processing buffer {"connection_id":187415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:34:12] local.INFO: IMEI packet received {"connection_id":187415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":187415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:34:17] local.INFO: TCP Data received {"connection_id":187415,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:34:17] local.INFO: Processing buffer {"connection_id":187415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:34:17] local.INFO: IMEI packet received {"connection_id":187415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":187415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:34:18] local.INFO: TCP Data received {"connection_id":187415,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:34:18] local.INFO: Processing buffer {"connection_id":187415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:34:18] local.INFO: Packet analysis {"connection_id":187415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:34:18] local.INFO: Extracted packet for processing {"connection_id":187415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:34:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:34:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":187415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:34:18] local.INFO: GPS data processed {"connection_id":187415,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:34:18] local.INFO: Acknowledgment sent {"connection_id":187415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:34:25] local.INFO: TCP Data received {"connection_id":185976,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:34:25] local.INFO: Processing buffer {"connection_id":185976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:34:25] local.INFO: IMEI packet received {"connection_id":185976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":185976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:34:30] local.INFO: TCP Data received {"connection_id":185976,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:34:30] local.INFO: Processing buffer {"connection_id":185976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:34:30] local.INFO: IMEI packet received {"connection_id":185976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":185976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:34:32] local.INFO: TCP Data received {"connection_id":185976,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3531268012d1a780007240e100029005328..."} 
[2026-09-18 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3531268012d1a780007240e100029005328..."} 
[2026-09-18 12:34:32] local.INFO: Processing buffer {"connection_id":185976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3531268012d1a780007240e100029005328..."} 
[2026-09-18 12:34:32] local.INFO: Packet analysis {"connection_id":185976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b353"} 
[2026-09-18 12:34:32] local.INFO: Extracted packet for processing {"connection_id":185976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b353"} 
[2026-09-18 12:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756709376,"raw_latitude":119803408,"longitude_deg":75.6709376,"latitude_deg":11.9803408,"altitude":41,"angle":83,"satellites":40,"speed":6,"hex_longitude":"2d1a7800","hex_latitude":"07240e10","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167029504001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21296414948589568,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906641154163447808,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789714961000,"timestamp_ms":1789714961000,"timestamp_seconds":1789714961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3531268"} 
[2026-09-18 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-09-18 12:34: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-09-18 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454496768,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3008521864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":12289,"corrected_to":0} 
[2026-09-18 12:34:32] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13494128,"corrected_to":0} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3434610732,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2815229952,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,168,160,250,45,192,10,40,66,235,2,39,31,200,1,240,246,179,35,4,113,205,26,122,52,80,42,239,54,75,7,44],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":200,"original":12289,"validated":0},{"io_id":246,"original":13494128,"validated":0},{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-18 12:34:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954439592680161280,"timestamp_seconds":2954439592680161.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 12:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167029504001,"66":14048,"112":206,"28":31744,"24":6,"16":21296414948589568,"45":1906641154163447808},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167029504001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:34:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21296414948589568,"km_value":21296414948589.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906641154163447808,"description":"Unknown IO ID 45"} 
[2026-09-18 12:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167029504001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1906641154163447808}} 
[2026-09-18 12:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":185976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:34:32] local.INFO: GPS data processed {"connection_id":185976,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:34:32] local.INFO: Acknowledgment sent {"connection_id":185976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:34:36] local.INFO: TCP Data received {"connection_id":187414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:34:36] local.INFO: Processing buffer {"connection_id":187414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:34:36] local.INFO: IMEI packet received {"connection_id":187414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":187414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:34:50] local.INFO: TCP Data received {"connection_id":187415,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:34:50] local.INFO: Processing buffer {"connection_id":187415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:34:50] local.INFO: Packet analysis {"connection_id":187415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:34:50] local.INFO: Extracted packet for processing {"connection_id":187415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:34:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:34:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:34:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":187415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:34:50] local.INFO: GPS data processed {"connection_id":187415,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:34:50] local.INFO: Acknowledgment sent {"connection_id":187415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:35:03] local.INFO: TCP Data received {"connection_id":185976,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3546258012d1a83000723ff18002e014527..."} 
[2026-09-18 12:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3546258012d1a83000723ff18002e014527..."} 
[2026-09-18 12:35:03] local.INFO: Processing buffer {"connection_id":185976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3546258012d1a83000723ff18002e014527..."} 
[2026-09-18 12:35:03] local.INFO: Packet analysis {"connection_id":185976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b354"} 
[2026-09-18 12:35:03] local.INFO: Extracted packet for processing {"connection_id":185976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b354"} 
[2026-09-18 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756712192,"raw_latitude":119799576,"longitude_deg":75.6712192,"latitude_deg":11.9799576,"altitude":46,"angle":325,"satellites":39,"speed":4,"hex_longitude":"2d1a8300","hex_latitude":"0723ff18","is_valid_coordinates":true} 
[2026-09-18 12:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167051776001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21296707006365696,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910441066348079104,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715047000,"timestamp_ms":1789715047000,"timestamp_seconds":1789715047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3546258"} 
[2026-09-18 12:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:35: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-09-18 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-18 12:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167051776001,"66":13917,"112":206,"28":31744,"24":4,"16":21296707006365696,"45":1910441066348079104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167051776001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:35:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21296707006365696,"km_value":21296707006365.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910441066348079104,"description":"Unknown IO ID 45"} 
[2026-09-18 12:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167051776001,"power":13917,"unknown_112":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1910441066348079104}} 
[2026-09-18 12:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":185976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:35:04] local.INFO: GPS data processed {"connection_id":185976,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:35:04] local.INFO: Acknowledgment sent {"connection_id":185976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:35:12] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:35:12] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:35:12] local.INFO: IMEI packet received {"connection_id":186128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":186128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:35:17] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:35:17] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:35:17] local.INFO: IMEI packet received {"connection_id":186128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":186128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:35:19] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:35:19] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:35:19] local.INFO: Packet analysis {"connection_id":186128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:35:19] local.INFO: Extracted packet for processing {"connection_id":186128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:35:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:35:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":186128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:35:19] local.INFO: GPS data processed {"connection_id":186128,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:35:19] local.INFO: Acknowledgment sent {"connection_id":186128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:35:25] local.INFO: TCP Data received {"connection_id":185977,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:35:25] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:35:25] local.INFO: IMEI packet received {"connection_id":185977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":185977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:35:29] local.INFO: TCP Data received {"connection_id":185977,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:35:29] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:35:29] local.INFO: IMEI packet received {"connection_id":185977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":185977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:35:30] local.INFO: TCP Data received {"connection_id":185977,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3548d50012d1a7d00072407d8002f015229..."} 
[2026-09-18 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3548d50012d1a7d00072407d8002f015229..."} 
[2026-09-18 12:35:30] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3548d50012d1a7d00072407d8002f015229..."} 
[2026-09-18 12:35:30] local.INFO: Packet analysis {"connection_id":185977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b354"} 
[2026-09-18 12:35:30] local.INFO: Extracted packet for processing {"connection_id":185977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b354"} 
[2026-09-18 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756710656,"raw_latitude":119801816,"longitude_deg":75.6710656,"latitude_deg":11.9801816,"altitude":47,"angle":338,"satellites":41,"speed":13,"hex_longitude":"2d1a7d00","hex_latitude":"072407d8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167052032001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21296840150351872,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910370697603913728,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789715058000,"timestamp_ms":1789715058000,"timestamp_seconds":1789715058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3548d50"} 
[2026-09-18 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-09-18 12:35: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-09-18 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-18 12:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 12:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167052032001,"66":14428,"112":206,"28":31744,"24":13,"16":21296840150351872,"45":1910370697603913728},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167052032001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:35:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21296840150351872,"km_value":21296840150351.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910370697603913728,"description":"Unknown IO ID 45"} 
[2026-09-18 12:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167052032001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1910370697603913728}} 
[2026-09-18 12:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":185977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:35:30] local.INFO: GPS data processed {"connection_id":185977,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:35:30] local.INFO: Acknowledgment sent {"connection_id":185977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:35:50] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:35:50] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3511e68012d4ce0c0068f46600054007325..."} 
[2026-09-18 12:35:50] local.INFO: Packet analysis {"connection_id":186128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:35:50] local.INFO: Extracted packet for processing {"connection_id":186128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b351"} 
[2026-09-18 12:35:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166920192001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:35:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 12:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789714833000,"timestamp_ms":1789714833000,"timestamp_seconds":1789714833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3511e68"} 
[2026-09-18 12:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:35: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-09-18 12:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166920192001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 12:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166920192001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:35:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:35:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458166920192001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":186128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:35:50] local.INFO: GPS data processed {"connection_id":186128,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:35:50] local.INFO: Acknowledgment sent {"connection_id":186128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:36:02] local.INFO: TCP Data received {"connection_id":185977,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3549cf0012d1a7b4007240b58002e014028..."} 
[2026-09-18 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3549cf0012d1a7b4007240b58002e014028..."} 
[2026-09-18 12:36:02] local.INFO: Processing buffer {"connection_id":185977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3549cf0012d1a7b4007240b58002e014028..."} 
[2026-09-18 12:36:02] local.INFO: Packet analysis {"connection_id":185977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b354"} 
[2026-09-18 12:36:02] local.INFO: Extracted packet for processing {"connection_id":185977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b354"} 
[2026-09-18 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":756710208,"raw_latitude":119802712,"longitude_deg":75.6710208,"latitude_deg":11.9802712,"altitude":46,"angle":320,"satellites":40,"speed":7,"hex_longitude":"2d1a7b40","hex_latitude":"07240b58","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167054848001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21296887394992128,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908681847744223232,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789715062000,"timestamp_ms":1789715062000,"timestamp_seconds":1789715062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3549cf0"} 
[2026-09-18 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-09-18 12:36: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-09-18 12:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 12:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 12:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167054848001,"66":14374,"112":206,"28":31744,"24":7,"16":21296887394992128,"45":1908681847744223232},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167054848001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:36:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21296887394992128,"km_value":21296887394992.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908681847744223232,"description":"Unknown IO ID 45"} 
[2026-09-18 12:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167054848001,"power":14374,"unknown_112":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1908681847744223232}} 
[2026-09-18 12:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":185977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:36:02] local.INFO: GPS data processed {"connection_id":185977,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:36:02] local.INFO: Acknowledgment sent {"connection_id":185977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:36:17] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:36:17] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:36:17] local.INFO: IMEI packet received {"connection_id":188743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":188743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:36:22] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:36:22] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:36:22] local.INFO: IMEI packet received {"connection_id":188743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":188743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:36:23] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:36:23] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:36:23] local.INFO: Packet analysis {"connection_id":188743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:23] local.INFO: Extracted packet for processing {"connection_id":188743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:36:23] 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-09-18 12:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:36:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:36:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":188743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:36:23] local.INFO: GPS data processed {"connection_id":188743,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:36:23] local.INFO: Acknowledgment sent {"connection_id":188743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:36:25] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:25] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:25] local.INFO: IMEI packet received {"connection_id":186129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":186129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:36:27] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:27] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:27] local.INFO: IMEI packet received {"connection_id":186129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":186129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:36:28] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:36:28] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:36:28] local.INFO: Packet analysis {"connection_id":188743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:28] local.INFO: Extracted packet for processing {"connection_id":188743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:36:28] 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-09-18 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:36:28] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:36:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":188743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:36:28] local.INFO: GPS data processed {"connection_id":188743,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:36:28] local.INFO: Acknowledgment sent {"connection_id":188743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:36:30] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:30] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:36:30] local.INFO: IMEI packet received {"connection_id":186129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":186129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:36:32] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3556fe0012d1a0c000723a9880030010228..."} 
[2026-09-18 12:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3556fe0012d1a0c000723a9880030010228..."} 
[2026-09-18 12:36:32] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3556fe0012d1a0c000723a9880030010228..."} 
[2026-09-18 12:36:32] local.INFO: Packet analysis {"connection_id":186129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:32] local.INFO: Extracted packet for processing {"connection_id":186129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756681728,"raw_latitude":119777672,"longitude_deg":75.6681728,"latitude_deg":11.9777672,"altitude":48,"angle":258,"satellites":40,"speed":44,"hex_longitude":"2d1a0c00","hex_latitude":"0723a988","is_valid_coordinates":true} 
[2026-09-18 12:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167068672001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21298794360471552,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881660249974155264,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789715116000,"timestamp_ms":1789715116000,"timestamp_seconds":1789715116,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3556fe0"} 
[2026-09-18 12:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:36: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-09-18 12:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 12:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167068672001,"66":14004,"112":206,"28":31744,"24":44,"16":21298794360471552,"45":1881660249974155264},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167068672001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:36:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21298794360471552,"km_value":21298794360471.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881660249974155264,"description":"Unknown IO ID 45"} 
[2026-09-18 12:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167068672001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1881660249974155264}} 
[2026-09-18 12:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":186129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:36:32] local.INFO: GPS data processed {"connection_id":186129,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:36:32] local.INFO: Acknowledgment sent {"connection_id":186129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:36:33] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3558f20012d19e8400723a5180032010727..."} 
[2026-09-18 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3558f20012d19e8400723a5180032010727..."} 
[2026-09-18 12:36:33] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3558f20012d19e8400723a5180032010727..."} 
[2026-09-18 12:36:33] local.INFO: Packet analysis {"connection_id":186129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:33] local.INFO: Extracted packet for processing {"connection_id":186129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756672576,"raw_latitude":119776536,"longitude_deg":75.6672576,"latitude_deg":11.9776536,"altitude":50,"angle":263,"satellites":39,"speed":44,"hex_longitude":"2d19e840","hex_latitude":"0723a518","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167069696001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21299232447135744,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876875175369738240,"note":"Value kept but may cause issues"} 
[2026-09-18 12:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789715124000,"timestamp_ms":1789715124000,"timestamp_seconds":1789715124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3558f20"} 
[2026-09-18 12:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:36: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-09-18 12:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 12:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167069696001,"66":13993,"112":206,"28":31744,"24":44,"16":21299232447135744,"45":1876875175369738240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167069696001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:36:33] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21299232447135744,"km_value":21299232447135.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876875175369738240,"description":"Unknown IO ID 45"} 
[2026-09-18 12:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167069696001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1876875175369738240}} 
[2026-09-18 12:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":186129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:36:33] local.INFO: GPS data processed {"connection_id":186129,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:36:33] local.INFO: Acknowledgment sent {"connection_id":186129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:37:05] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b248012d19c1800723a0b00037010628..."} 
[2026-09-18 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b248012d19c1800723a0b00037010628..."} 
[2026-09-18 12:37:05] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b248012d19c1800723a0b00037010628..."} 
[2026-09-18 12:37:05] local.INFO: Packet analysis {"connection_id":186129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:37:05] local.INFO: Extracted packet for processing {"connection_id":186129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756662656,"raw_latitude":119775408,"longitude_deg":75.6662656,"latitude_deg":11.9775408,"altitude":55,"angle":262,"satellites":40,"speed":42,"hex_longitude":"2d19c180","hex_latitude":"0723a0b0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167071744001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21299704893538304,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866812444952041472,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789715133000,"timestamp_ms":1789715133000,"timestamp_seconds":1789715133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b248"} 
[2026-09-18 12:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 12:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167071744001,"66":14080,"112":206,"28":31744,"24":42,"16":21299704893538304,"45":1866812444952041472},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167071744001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:37:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21299704893538304,"km_value":21299704893538.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866812444952041472,"description":"Unknown IO ID 45"} 
[2026-09-18 12:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167071744001,"power":14080,"unknown_112":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1866812444952041472}} 
[2026-09-18 12:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":186129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:37:05] local.INFO: GPS data processed {"connection_id":186129,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:37:05] local.INFO: Acknowledgment sent {"connection_id":186129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:37:13] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:37:13] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:37:13] local.INFO: IMEI packet received {"connection_id":188744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":188744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:37:17] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:37:17] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:37:17] local.INFO: IMEI packet received {"connection_id":188744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":188744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:37:18] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:37:18] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:37:18] local.INFO: Packet analysis {"connection_id":188744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:37:18] local.INFO: Extracted packet for processing {"connection_id":188744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:37:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:37:18] 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-09-18 12:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:37:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:37:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":188744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:37:18] local.INFO: GPS data processed {"connection_id":188744,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:37:18] local.INFO: Acknowledgment sent {"connection_id":188744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:37:27] local.INFO: TCP Data received {"connection_id":186130,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:27] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:27] local.INFO: IMEI packet received {"connection_id":186130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":186130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:37:28] local.INFO: TCP Data received {"connection_id":186130,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:28] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:28] local.INFO: IMEI packet received {"connection_id":186130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":186130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:37:30] local.INFO: TCP Data received {"connection_id":186130,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:30] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:37:30] local.INFO: IMEI packet received {"connection_id":186130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":186130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:37:31] local.INFO: TCP Data received {"connection_id":186130,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b356c3b8012d18f4c00722f680005a00fa25..."} 
[2026-09-18 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b356c3b8012d18f4c00722f680005a00fa25..."} 
[2026-09-18 12:37:31] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b356c3b8012d18f4c00722f680005a00fa25..."} 
[2026-09-18 12:37:31] local.INFO: Packet analysis {"connection_id":186130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b356"} 
[2026-09-18 12:37:31] local.INFO: Extracted packet for processing {"connection_id":186130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b356"} 
[2026-09-18 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119731840,"longitude_deg":75.661024,"latitude_deg":11.973184,"altitude":90,"angle":250,"satellites":37,"speed":43,"hex_longitude":"2d18f4c0","hex_latitude":"0722f680","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167091456001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21303153752276992,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800384350437156864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715203000,"timestamp_ms":1789715203000,"timestamp_seconds":1789715203,"priority":1,"record_length":96,"hex_timestamp":"000001a0b356c3b8"} 
[2026-09-18 12:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:37: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-09-18 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 12:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167091456001,"66":13993,"112":206,"28":31744,"24":43,"16":21303153752276992,"45":1800384350437156864},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167091456001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:37:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21303153752276992,"km_value":21303153752276.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800384350437156864,"description":"Unknown IO ID 45"} 
[2026-09-18 12:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167091456001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1800384350437156864}} 
[2026-09-18 12:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":186130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:37:31] local.INFO: GPS data processed {"connection_id":186130,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:37:31] local.INFO: Acknowledgment sent {"connection_id":186130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:37:50] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:37:50] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:37:50] local.INFO: Packet analysis {"connection_id":188744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:37:50] local.INFO: Extracted packet for processing {"connection_id":188744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:37:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:37:50] 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-09-18 12:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:37:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:37:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":188744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:37:50] local.INFO: GPS data processed {"connection_id":188744,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:37:50] local.INFO: Acknowledgment sent {"connection_id":188744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:38:03] local.INFO: TCP Data received {"connection_id":186130,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b356cb88012d18ec400722f5a8005a010f23..."} 
[2026-09-18 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b356cb88012d18ec400722f5a8005a010f23..."} 
[2026-09-18 12:38:03] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b356cb88012d18ec400722f5a8005a010f23..."} 
[2026-09-18 12:38:03] local.INFO: Packet analysis {"connection_id":186130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b356"} 
[2026-09-18 12:38:03] local.INFO: Extracted packet for processing {"connection_id":186130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b356"} 
[2026-09-18 12:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119731624,"longitude_deg":75.6608064,"latitude_deg":11.9731624,"altitude":90,"angle":271,"satellites":35,"speed":43,"hex_longitude":"2d18ec40","hex_latitude":"0722f5a8","is_valid_coordinates":true} 
[2026-09-18 12:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167091968001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21303256831492096,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798273288111554560,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715205000,"timestamp_ms":1789715205000,"timestamp_seconds":1789715205,"priority":1,"record_length":96,"hex_timestamp":"000001a0b356cb88"} 
[2026-09-18 12:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:38: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-09-18 12:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 12:38: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-09-18 12:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167091968001,"66":14048,"112":206,"28":31744,"24":43,"16":21303256831492096,"45":1798273288111554560},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-18 12:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167091968001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:38:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-18 12:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21303256831492096,"km_value":21303256831492.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798273288111554560,"description":"Unknown IO ID 45"} 
[2026-09-18 12:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167091968001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1798273288111554560}} 
[2026-09-18 12:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":186130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:38:03] local.INFO: GPS data processed {"connection_id":186130,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:38:03] local.INFO: Acknowledgment sent {"connection_id":186130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:38:12] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:38:12] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:38:12] local.INFO: IMEI packet received {"connection_id":185978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":185978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:38:17] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:38:17] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:38:17] local.INFO: IMEI packet received {"connection_id":185978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":185978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:38:18] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:38:18] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:38:18] local.INFO: Packet analysis {"connection_id":185978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:38:18] local.INFO: Extracted packet for processing {"connection_id":185978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:38:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:38:18] 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-09-18 12:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:38:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:38:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":185978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:38:18] local.INFO: GPS data processed {"connection_id":185978,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:38:18] local.INFO: Acknowledgment sent {"connection_id":185978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:38:30] local.INFO: TCP Data received {"connection_id":187416,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:38:30] local.INFO: Processing buffer {"connection_id":187416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:38:30] local.INFO: IMEI packet received {"connection_id":187416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":187416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:38:34] local.INFO: TCP Data received {"connection_id":187416,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:38:34] local.INFO: Processing buffer {"connection_id":187416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:38:34] local.INFO: IMEI packet received {"connection_id":187416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":187416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:38:35] local.INFO: TCP Data received {"connection_id":187416,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35744a0012d18a2800722b9c0006600ab29..."} 
[2026-09-18 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35744a0012d18a2800722b9c0006600ab29..."} 
[2026-09-18 12:38:35] local.INFO: Processing buffer {"connection_id":187416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35744a0012d18a2800722b9c0006600ab29..."} 
[2026-09-18 12:38:35] local.INFO: Packet analysis {"connection_id":187416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:38:35] local.INFO: Extracted packet for processing {"connection_id":187416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119716288,"longitude_deg":75.6589184,"latitude_deg":11.9716288,"altitude":102,"angle":171,"satellites":41,"speed":40,"hex_longitude":"2d18a280","hex_latitude":"0722b9c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167099904001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21304824494555136,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233785294848,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789715236000,"timestamp_ms":1789715236000,"timestamp_seconds":1789715236,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35744a0"} 
[2026-09-18 12:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3008821864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4197449823,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 12:38:35] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2949513216,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,176,160,53,45,192,201,100,40,10,66,41,128,212,6,1,240,82,175,179,34,4,113,205,38,254,186,152,42,239,52,2,75,7,94],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 12:38:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7278018375964950528,"timestamp_seconds":7278018375964951.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167099904001,"66":13820,"120":206,"28":31744,"24":40,"16":21304824494555136,"45":1774981233785294848},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167099904001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:38:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21304824494555136,"km_value":21304824494555.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233785294848,"description":"Unknown IO ID 45"} 
[2026-09-18 12:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167099904001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1774981233785294848}} 
[2026-09-18 12:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":187416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:38:35] local.INFO: GPS data processed {"connection_id":187416,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:38:35] local.INFO: Acknowledgment sent {"connection_id":187416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:38:36] local.INFO: TCP Data received {"connection_id":187416,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35767c8012d18a88007229640006c00b329..."} 
[2026-09-18 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35767c8012d18a88007229640006c00b329..."} 
[2026-09-18 12:38:36] local.INFO: Processing buffer {"connection_id":187416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35767c8012d18a88007229640006c00b329..."} 
[2026-09-18 12:38:36] local.INFO: Packet analysis {"connection_id":187416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:38:36] local.INFO: Extracted packet for processing {"connection_id":187416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119707200,"longitude_deg":75.659072,"latitude_deg":11.97072,"altitude":108,"angle":179,"satellites":41,"speed":40,"hex_longitude":"2d18a880","hex_latitude":"07229640","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167100416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305271171153920,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273121792,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789715245000,"timestamp_ms":1789715245000,"timestamp_seconds":1789715245,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35767c8"} 
[2026-09-18 12:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 12:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167100416001,"66":14102,"120":206,"28":31744,"24":40,"16":21305271171153920,"45":1775121971273121792},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167100416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:38:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305271171153920,"km_value":21305271171153.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273121792,"description":"Unknown IO ID 45"} 
[2026-09-18 12:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167100416001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1775121971273121792}} 
[2026-09-18 12:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":187416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:38:37] local.INFO: GPS data processed {"connection_id":187416,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:38:37] local.INFO: Acknowledgment sent {"connection_id":187416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:38:49] local.INFO: TCP Data received {"connection_id":185978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:38:49] local.INFO: Processing buffer {"connection_id":185978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:38:49] local.INFO: Packet analysis {"connection_id":185978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:38:49] local.INFO: Extracted packet for processing {"connection_id":185978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:38:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:38:49] 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-09-18 12:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:38:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:38:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":185978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:38:49] local.INFO: GPS data processed {"connection_id":185978,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:38:49] local.INFO: Acknowledgment sent {"connection_id":185978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:39:08] local.INFO: TCP Data received {"connection_id":187416,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3578320012d18a54007227cd8006b00bf27..."} 
[2026-09-18 12:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3578320012d18a54007227cd8006b00bf27..."} 
[2026-09-18 12:39:08] local.INFO: Processing buffer {"connection_id":187416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3578320012d18a54007227cd8006b00bf27..."} 
[2026-09-18 12:39:08] local.INFO: Packet analysis {"connection_id":187416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:39:08] local.INFO: Extracted packet for processing {"connection_id":187416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119700696,"longitude_deg":75.6589888,"latitude_deg":11.9700696,"altitude":107,"angle":191,"satellites":39,"speed":33,"hex_longitude":"2d18a540","hex_latitude":"07227cd8","is_valid_coordinates":true} 
[2026-09-18 12:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167102720001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305593293701120,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131059200,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789715252000,"timestamp_ms":1789715252000,"timestamp_seconds":1789715252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3578320"} 
[2026-09-18 12:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:39: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-09-18 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 12:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167102720001,"66":14080,"120":206,"28":31744,"24":33,"16":21305593293701120,"45":1776810821131059200},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167102720001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:39:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305593293701120,"km_value":21305593293701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131059200,"description":"Unknown IO ID 45"} 
[2026-09-18 12:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167102720001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1776810821131059200}} 
[2026-09-18 12:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":187416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:39:08] local.INFO: GPS data processed {"connection_id":187416,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:39:08] local.INFO: Acknowledgment sent {"connection_id":187416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:39:12] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:39:12] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:39:12] local.INFO: IMEI packet received {"connection_id":188745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":188745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:39:17] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:39:17] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:39:17] local.INFO: IMEI packet received {"connection_id":188745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":188745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:39:18] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:39:18] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:39:18] local.INFO: Packet analysis {"connection_id":188745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:39:18] local.INFO: Extracted packet for processing {"connection_id":188745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:39:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:39:18] 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-09-18 12:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:39:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:39:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":188745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:39:18] local.INFO: GPS data processed {"connection_id":188745,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:39:18] local.INFO: Acknowledgment sent {"connection_id":188745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:39:24] local.INFO: TCP Data received {"connection_id":188746,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:24] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:24] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:39:24] local.INFO: TCP Data received {"connection_id":188746,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:24] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:24] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:39:25] local.INFO: TCP Data received {"connection_id":188746,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:25] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:25] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:39:30] local.INFO: TCP Data received {"connection_id":188746,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:30] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:39:30] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:39:31] local.INFO: TCP Data received {"connection_id":188746,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3578ed8012d18a280072273b8006900cb27..."} 
[2026-09-18 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3578ed8012d18a280072273b8006900cb27..."} 
[2026-09-18 12:39:31] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3578ed8012d18a280072273b8006900cb27..."} 
[2026-09-18 12:39:31] local.INFO: Packet analysis {"connection_id":188746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:39:31] local.INFO: Extracted packet for processing {"connection_id":188746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119698360,"longitude_deg":75.6589184,"latitude_deg":11.969836,"altitude":105,"angle":203,"satellites":39,"speed":30,"hex_longitude":"2d18a280","hex_latitude":"072273b8","is_valid_coordinates":true} 
[2026-09-18 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167104512001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305709257818112,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027455084544,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715255000,"timestamp_ms":1789715255000,"timestamp_seconds":1789715255,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3578ed8"} 
[2026-09-18 12:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:39: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-09-18 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3008824864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3382706276,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147951316,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2957967360,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,177,160,103,45,128,150,108,41,10,66,68,185,102,176,60,1,240,179,34,4,113,205,40,169,80,239,54,2,75,7,95,38],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 12:39:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7710372736285081600,"timestamp_seconds":7710372736285082.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167104512001,"66":14048,"120":206,"28":31744,"24":30,"16":21305709257818112,"45":1775896027455084544},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167104512001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305709257818112,"km_value":21305709257818.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027455084544,"description":"Unknown IO ID 45"} 
[2026-09-18 12:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167104512001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1775896027455084544}} 
[2026-09-18 12:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":188746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:39:32] local.INFO: GPS data processed {"connection_id":188746,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:39:32] local.INFO: Acknowledgment sent {"connection_id":188746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:39:50] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:39:50] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:39:50] local.INFO: Packet analysis {"connection_id":188745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:39:50] local.INFO: Extracted packet for processing {"connection_id":188745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:39:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:39:50] 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-09-18 12:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:39:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:39:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":188745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:39:50] local.INFO: GPS data processed {"connection_id":188745,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:39:50] local.INFO: Acknowledgment sent {"connection_id":188745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:40:04] local.INFO: TCP Data received {"connection_id":188746,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b357b9d0012d189000072253b0005e00d627..."} 
[2026-09-18 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b357b9d0012d189000072253b0005e00d627..."} 
[2026-09-18 12:40:04] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b357b9d0012d189000072253b0005e00d627..."} 
[2026-09-18 12:40:04] local.INFO: Packet analysis {"connection_id":188746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:40:04] local.INFO: Extracted packet for processing {"connection_id":188746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756584448,"raw_latitude":119690160,"longitude_deg":75.6584448,"latitude_deg":11.969016,"altitude":94,"angle":214,"satellites":39,"speed":36,"hex_longitude":"2d189000","hex_latitude":"072253b0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167105280001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306168819318784,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971268532224,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789715266000,"timestamp_ms":1789715266000,"timestamp_seconds":1789715266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b357b9d0"} 
[2026-09-18 12:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 12:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167105280001,"66":14048,"120":206,"28":31744,"24":36,"16":21306168819318784,"45":1775121971268532224},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167105280001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:40:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306168819318784,"km_value":21306168819318.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971268532224,"description":"Unknown IO ID 45"} 
[2026-09-18 12:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167105280001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1775121971268532224}} 
[2026-09-18 12:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":188746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:40:04] local.INFO: GPS data processed {"connection_id":188746,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:40:04] local.INFO: Acknowledgment sent {"connection_id":188746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:40:11] local.INFO: TCP Data received {"connection_id":186131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:40:11] local.INFO: Processing buffer {"connection_id":186131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:40:11] local.INFO: IMEI packet received {"connection_id":186131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":186131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:40:12] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:40:12] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:40:12] local.INFO: IMEI packet received {"connection_id":188747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":188747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:40:17] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:40:17] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:40:17] local.INFO: IMEI packet received {"connection_id":188747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":188747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:40:19] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:40:19] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:40:19] local.INFO: Packet analysis {"connection_id":188747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:40:19] local.INFO: Extracted packet for processing {"connection_id":188747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:40:19] 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-09-18 12:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:40:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:40:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":188747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:40:19] local.INFO: GPS data processed {"connection_id":188747,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:40:19] local.INFO: Acknowledgment sent {"connection_id":188747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:40:26] local.INFO: TCP Data received {"connection_id":187417,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:26] local.INFO: Processing buffer {"connection_id":187417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:26] local.INFO: IMEI packet received {"connection_id":187417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":187417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:40:26] local.INFO: TCP Data received {"connection_id":187417,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:26] local.INFO: Processing buffer {"connection_id":187417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:26] local.INFO: IMEI packet received {"connection_id":187417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":187417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:40:30] local.INFO: TCP Data received {"connection_id":187417,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:30] local.INFO: Processing buffer {"connection_id":187417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:40:30] local.INFO: IMEI packet received {"connection_id":187417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":187417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:40:32] local.INFO: TCP Data received {"connection_id":187417,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b357e0e0012d187bc007223530005400d428..."} 
[2026-09-18 12:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b357e0e0012d187bc007223530005400d428..."} 
[2026-09-18 12:40:32] local.INFO: Processing buffer {"connection_id":187417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b357e0e0012d187bc007223530005400d428..."} 
[2026-09-18 12:40:32] local.INFO: Packet analysis {"connection_id":187417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:40:32] local.INFO: Extracted packet for processing {"connection_id":187417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b357"} 
[2026-09-18 12:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119682352,"longitude_deg":75.6579264,"latitude_deg":11.9682352,"altitude":84,"angle":212,"satellites":40,"speed":39,"hex_longitude":"2d187bc0","hex_latitude":"07223530","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167108096001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306619790884864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769914684197285888,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789715276000,"timestamp_ms":1789715276000,"timestamp_seconds":1789715276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b357e0e0"} 
[2026-09-18 12:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:40: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-09-18 12:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 12:40: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-09-18 12: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-09-18 12:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167108096001,"66":13852,"120":206,"28":31744,"24":39,"16":21306619790884864,"45":1769914684197285888},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167108096001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:40:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:40:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306619790884864,"km_value":21306619790884.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769914684197285888,"description":"Unknown IO ID 45"} 
[2026-09-18 12:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167108096001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1769914684197285888}} 
[2026-09-18 12:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":187417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:40:32] local.INFO: GPS data processed {"connection_id":187417,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:40:32] local.INFO: Acknowledgment sent {"connection_id":187417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:40:50] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:40:50] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b355b630012d4ce0c0068f46600054007329..."} 
[2026-09-18 12:40:50] local.INFO: Packet analysis {"connection_id":188747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:40:50] local.INFO: Extracted packet for processing {"connection_id":188747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b355"} 
[2026-09-18 12:40:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":84,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458166997248001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715134000,"timestamp_ms":1789715134000,"timestamp_seconds":1789715134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b355b630"} 
[2026-09-18 12:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:40:50] 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-09-18 12: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-09-18 12:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458166997248001,"66":26136,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458166997248001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:40:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:40:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458166997248001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":188747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:40:50] local.INFO: GPS data processed {"connection_id":188747,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:40:50] local.INFO: Acknowledgment sent {"connection_id":188747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:41:04] local.INFO: TCP Data received {"connection_id":187417,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35807f0012d18688007221748004e00d528..."} 
[2026-09-18 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35807f0012d18688007221748004e00d528..."} 
[2026-09-18 12:41:04] local.INFO: Processing buffer {"connection_id":187417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35807f0012d18688007221748004e00d528..."} 
[2026-09-18 12:41:04] local.INFO: Packet analysis {"connection_id":187417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:41:04] local.INFO: Extracted packet for processing {"connection_id":187417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756574336,"raw_latitude":119674696,"longitude_deg":75.6574336,"latitude_deg":11.9674696,"altitude":78,"angle":213,"satellites":40,"speed":33,"hex_longitude":"2d186880","hex_latitude":"07221748","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167110656001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21307057877549056,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815916896256,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789715286000,"timestamp_ms":1789715286000,"timestamp_seconds":1789715286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35807f0"} 
[2026-09-18 12:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-18 12:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167110656001,"66":13820,"120":206,"28":31744,"24":33,"16":21307057877549056,"45":1764214815916896256},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167110656001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:41:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21307057877549056,"km_value":21307057877549.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815916896256,"description":"Unknown IO ID 45"} 
[2026-09-18 12:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167110656001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1764214815916896256}} 
[2026-09-18 12:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":187417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:41:04] local.INFO: GPS data processed {"connection_id":187417,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:41:04] local.INFO: Acknowledgment sent {"connection_id":187417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:41:13] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:13] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:13] local.INFO: IMEI packet received {"connection_id":186132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":186132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:41:17] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:17] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:17] local.INFO: IMEI packet received {"connection_id":186132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":186132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:41:23] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:23] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:41:23] local.INFO: IMEI packet received {"connection_id":186132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":186132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:41:24] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:41:24] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:41:24] local.INFO: Packet analysis {"connection_id":186132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:41:24] local.INFO: Extracted packet for processing {"connection_id":186132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:41:24] 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-09-18 12: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-09-18 12:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:41:24] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:41:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":186132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:41:24] local.INFO: GPS data processed {"connection_id":186132,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:41:24] local.INFO: Acknowledgment sent {"connection_id":186132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:41:25] local.INFO: TCP Data received {"connection_id":188748,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:41:25] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:41:25] local.INFO: IMEI packet received {"connection_id":188748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":188748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:41:28] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:41:28] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:41:28] local.INFO: Packet analysis {"connection_id":186132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:41:28] local.INFO: Extracted packet for processing {"connection_id":186132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:41:28] 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-09-18 12: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-09-18 12:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:41:28] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:41:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":186132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:41:28] local.INFO: GPS data processed {"connection_id":186132,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:41:28] local.INFO: Acknowledgment sent {"connection_id":186132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:41:29] local.INFO: TCP Data received {"connection_id":188748,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:41:29] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:41:29] local.INFO: IMEI packet received {"connection_id":188748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":188748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:41:30] local.INFO: TCP Data received {"connection_id":188748,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35832e8012d1853000721f7e0004900d529..."} 
[2026-09-18 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35832e8012d1853000721f7e0004900d529..."} 
[2026-09-18 12:41:30] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35832e8012d1853000721f7e0004900d529..."} 
[2026-09-18 12:41:30] local.INFO: Packet analysis {"connection_id":188748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:41:30] local.INFO: Extracted packet for processing {"connection_id":188748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119666656,"longitude_deg":75.6568832,"latitude_deg":11.9666656,"altitude":73,"angle":213,"satellites":41,"speed":35,"hex_longitude":"2d185300","hex_latitude":"0721f7e0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167113216001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21307526028984320,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758796422613256192,"note":"Value kept but may cause issues"} 
[2026-09-18 12:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789715297000,"timestamp_ms":1789715297000,"timestamp_seconds":1789715297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35832e8"} 
[2026-09-18 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-09-18 12:41: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-09-18 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 12:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 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-09-18 12:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167113216001,"66":12863,"120":206,"28":31744,"24":35,"16":21307526028984320,"45":1758796422613256192},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167113216001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:41:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21307526028984320,"km_value":21307526028984.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758796422613256192,"description":"Unknown IO ID 45"} 
[2026-09-18 12:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167113216001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1758796422613256192}} 
[2026-09-18 12:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":188748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:41:30] local.INFO: GPS data processed {"connection_id":188748,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:41:30] local.INFO: Acknowledgment sent {"connection_id":188748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:42:02] local.INFO: TCP Data received {"connection_id":188748,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3585de0012d183f400721da68004500d528..."} 
[2026-09-18 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3585de0012d183f400721da68004500d528..."} 
[2026-09-18 12:42:02] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3585de0012d183f400721da68004500d528..."} 
[2026-09-18 12:42:02] local.INFO: Packet analysis {"connection_id":188748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:42:02] local.INFO: Extracted packet for processing {"connection_id":188748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756563776,"raw_latitude":119659112,"longitude_deg":75.6563776,"latitude_deg":11.9659112,"altitude":69,"angle":213,"satellites":40,"speed":29,"hex_longitude":"2d183f40","hex_latitude":"0721da68","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167116032001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21307964115648512,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752744710611918848,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789715308000,"timestamp_ms":1789715308000,"timestamp_seconds":1789715308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3585de0"} 
[2026-09-18 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-09-18 12:42: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-09-18 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 12:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 12:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167116032001,"66":13167,"120":206,"28":31744,"24":29,"16":21307964115648512,"45":1752744710611918848},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167116032001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:42:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21307964115648512,"km_value":21307964115648.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752744710611918848,"description":"Unknown IO ID 45"} 
[2026-09-18 12:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167116032001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1752744710611918848}} 
[2026-09-18 12:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":188748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:42:02] local.INFO: GPS data processed {"connection_id":188748,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:42:02] local.INFO: Acknowledgment sent {"connection_id":188748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:42:12] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:42:12] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:42:12] local.INFO: IMEI packet received {"connection_id":185979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":185979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:42:17] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:42:17] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:42:17] local.INFO: IMEI packet received {"connection_id":185979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":185979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:42:18] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:42:18] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:42:18] local.INFO: Packet analysis {"connection_id":185979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:42:18] local.INFO: Extracted packet for processing {"connection_id":185979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:42:18] 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-09-18 12:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:42:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:42:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":185979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:42:18] local.INFO: GPS data processed {"connection_id":185979,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:42:18] local.INFO: Acknowledgment sent {"connection_id":185979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:42:25] local.INFO: TCP Data received {"connection_id":187418,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:42:25] local.INFO: Processing buffer {"connection_id":187418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:42:25] local.INFO: IMEI packet received {"connection_id":187418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":187418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:42:30] local.INFO: TCP Data received {"connection_id":187418,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:42:30] local.INFO: Processing buffer {"connection_id":187418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:42:30] local.INFO: IMEI packet received {"connection_id":187418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":187418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:42:32] local.INFO: TCP Data received {"connection_id":187418,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b358a048012d182a800721bcd0004100e326..."} 
[2026-09-18 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b358a048012d182a800721bcd0004100e326..."} 
[2026-09-18 12:42:32] local.INFO: Processing buffer {"connection_id":187418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b358a048012d182a800721bcd0004100e326..."} 
[2026-09-18 12:42:32] local.INFO: Packet analysis {"connection_id":187418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:42:32] local.INFO: Extracted packet for processing {"connection_id":187418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119651536,"longitude_deg":75.6558464,"latitude_deg":11.9651536,"altitude":65,"angle":227,"satellites":38,"speed":17,"hex_longitude":"2d182a80","hex_latitude":"0721bcd0","is_valid_coordinates":true} 
[2026-09-18 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167118848001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308410792247296,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747185579819952128,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789715325000,"timestamp_ms":1789715325000,"timestamp_seconds":1789715325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b358a048"} 
[2026-09-18 12:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:42: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-09-18 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 12:42: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-09-18 12:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167118848001,"66":13015,"120":206,"28":31744,"24":17,"16":21308410792247296,"45":1747185579819952128},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167118848001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:42:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308410792247296,"km_value":21308410792247.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747185579819952128,"description":"Unknown IO ID 45"} 
[2026-09-18 12:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167118848001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1747185579819952128}} 
[2026-09-18 12:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":187418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:42:32] local.INFO: GPS data processed {"connection_id":187418,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:42:32] local.INFO: Acknowledgment sent {"connection_id":187418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:42:50] local.INFO: TCP Data received {"connection_id":185979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:42:50] local.INFO: Processing buffer {"connection_id":185979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:42:50] local.INFO: Packet analysis {"connection_id":185979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:42:50] local.INFO: Extracted packet for processing {"connection_id":185979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:42:50] 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-09-18 12:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:42:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:42:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":185979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:42:50] local.INFO: GPS data processed {"connection_id":185979,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:42:50] local.INFO: Acknowledgment sent {"connection_id":185979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:43:04] local.INFO: TCP Data received {"connection_id":187418,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b358a048012d182a800721bcd0004100e326..."} 
[2026-09-18 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b358a048012d182a800721bcd0004100e326..."} 
[2026-09-18 12:43:04] local.INFO: Processing buffer {"connection_id":187418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b358a048012d182a800721bcd0004100e326..."} 
[2026-09-18 12:43:04] local.INFO: Packet analysis {"connection_id":187418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:43:04] local.INFO: Extracted packet for processing {"connection_id":187418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119651536,"longitude_deg":75.6558464,"latitude_deg":11.9651536,"altitude":65,"angle":227,"satellites":38,"speed":17,"hex_longitude":"2d182a80","hex_latitude":"0721bcd0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167123200001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308410792247296,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974051266560,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789715325000,"timestamp_ms":1789715325000,"timestamp_seconds":1789715325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b358a048"} 
[2026-09-18 12:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167123200001,"66":13015,"120":206,"28":31744,"24":17,"16":21308410792247296,"45":1741344974051266560},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167123200001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:43:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308410792247296,"km_value":21308410792247.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974051266560,"description":"Unknown IO ID 45"} 
[2026-09-18 12:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167123200001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1741344974051266560}} 
[2026-09-18 12:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":187418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:43:04] local.INFO: GPS data processed {"connection_id":187418,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:43:04] local.INFO: Acknowledgment sent {"connection_id":187418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:43:12] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:43:12] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:43:12] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:43:17] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:43:17] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:43:17] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:43:19] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:43:19] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:43:19] local.INFO: Packet analysis {"connection_id":186133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:43:19] local.INFO: Extracted packet for processing {"connection_id":186133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:43:19] 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-09-18 12:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:43:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:43:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":186133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:43:19] local.INFO: GPS data processed {"connection_id":186133,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:43:19] local.INFO: Acknowledgment sent {"connection_id":186133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:43:30] local.INFO: TCP Data received {"connection_id":187420,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:43:30] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:43:30] local.INFO: IMEI packet received {"connection_id":187420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":187420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:43:36] local.INFO: TCP Data received {"connection_id":187420,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:43:36] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:43:36] local.INFO: IMEI packet received {"connection_id":187420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":187420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:43:37] local.INFO: TCP Data received {"connection_id":187420,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b358f250012d1825c00721b930004300df2a..."} 
[2026-09-18 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b358f250012d1825c00721b930004300df2a..."} 
[2026-09-18 12:43:37] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b358f250012d1825c00721b930004300df2a..."} 
[2026-09-18 12:43:37] local.INFO: Packet analysis {"connection_id":187420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:43:37] local.INFO: Extracted packet for processing {"connection_id":187420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b358"} 
[2026-09-18 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650608,"longitude_deg":75.6557248,"latitude_deg":11.9650608,"altitude":67,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-18 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167123200001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308488101658624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974051266560,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789715346000,"timestamp_ms":1789715346000,"timestamp_seconds":1789715346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b358f250"} 
[2026-09-18 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:43: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-09-18 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 12:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167123200001,"66":13102,"120":206,"28":31744,"24":0,"16":21308488101658624,"45":1741344974051266560},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167123200001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:43:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308488101658624,"km_value":21308488101658.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974051266560,"description":"Unknown IO ID 45"} 
[2026-09-18 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167123200001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741344974051266560}} 
[2026-09-18 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":187420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:43:37] local.INFO: GPS data processed {"connection_id":187420,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:43:37] local.INFO: Acknowledgment sent {"connection_id":187420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:43:38] local.INFO: TCP Data received {"connection_id":187420,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3594458012d1825c00721b930004300df2a..."} 
[2026-09-18 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3594458012d1825c00721b930004300df2a..."} 
[2026-09-18 12:43:38] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3594458012d1825c00721b930004300df2a..."} 
[2026-09-18 12:43:38] local.INFO: Packet analysis {"connection_id":187420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b359"} 
[2026-09-18 12:43:38] local.INFO: Extracted packet for processing {"connection_id":187420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b359"} 
[2026-09-18 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650608,"longitude_deg":75.6557248,"latitude_deg":11.9650608,"altitude":67,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-18 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167128576001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308488101658624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911653376,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789715367000,"timestamp_ms":1789715367000,"timestamp_seconds":1789715367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3594458"} 
[2026-09-18 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 12:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167128576001,"66":13091,"120":206,"28":31744,"24":0,"16":21308488101658624,"45":1740007967911653376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167128576001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:43:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308488101658624,"km_value":21308488101658.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911653376,"description":"Unknown IO ID 45"} 
[2026-09-18 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167128576001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911653376}} 
[2026-09-18 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":187420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:43:38] local.INFO: GPS data processed {"connection_id":187420,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:43:38] local.INFO: Acknowledgment sent {"connection_id":187420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:43:50] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:43:50] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:43:50] local.INFO: Packet analysis {"connection_id":186133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:43:50] local.INFO: Extracted packet for processing {"connection_id":186133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:43:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:43:50] 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-09-18 12:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:43:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:43:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":186133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:43:50] local.INFO: GPS data processed {"connection_id":186133,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:43:50] local.INFO: Acknowledgment sent {"connection_id":186133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:44:09] local.INFO: TCP Data received {"connection_id":187420,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3599660012d1825c00721b930004300df28..."} 
[2026-09-18 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3599660012d1825c00721b930004300df28..."} 
[2026-09-18 12:44:09] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3599660012d1825c00721b930004300df28..."} 
[2026-09-18 12:44:09] local.INFO: Packet analysis {"connection_id":187420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b359"} 
[2026-09-18 12:44:09] local.INFO: Extracted packet for processing {"connection_id":187420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b359"} 
[2026-09-18 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650608,"longitude_deg":75.6557248,"latitude_deg":11.9650608,"altitude":67,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-18 12:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167133952001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308488101658624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911653376,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789715388000,"timestamp_ms":1789715388000,"timestamp_seconds":1789715388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3599660"} 
[2026-09-18 12:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:44: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-09-18 12:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 12:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167133952001,"66":13048,"120":206,"28":31744,"24":0,"16":21308488101658624,"45":1740007967911653376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167133952001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:44:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308488101658624,"km_value":21308488101658.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911653376,"description":"Unknown IO ID 45"} 
[2026-09-18 12:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167133952001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911653376}} 
[2026-09-18 12:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":187420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:44:09] local.INFO: GPS data processed {"connection_id":187420,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:44:09] local.INFO: Acknowledgment sent {"connection_id":187420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:44:12] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:44:12] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:44:12] local.INFO: IMEI packet received {"connection_id":186134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":186134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:44:17] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:44:17] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:44:17] local.INFO: IMEI packet received {"connection_id":186134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":186134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:44:18] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:44:18] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:44:18] local.INFO: Packet analysis {"connection_id":186134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:44:18] local.INFO: Extracted packet for processing {"connection_id":186134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:44:18] 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-09-18 12:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:44:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:44:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":186134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:44:18] local.INFO: GPS data processed {"connection_id":186134,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:44:18] local.INFO: Acknowledgment sent {"connection_id":186134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:44:25] local.INFO: TCP Data received {"connection_id":187421,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:44:25] local.INFO: Processing buffer {"connection_id":187421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:44:25] local.INFO: IMEI packet received {"connection_id":187421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":187421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:44:30] local.INFO: TCP Data received {"connection_id":187421,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:44:30] local.INFO: Processing buffer {"connection_id":187421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:44:30] local.INFO: IMEI packet received {"connection_id":187421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":187421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:44:31] local.INFO: TCP Data received {"connection_id":187421,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b359e868012d1825c00721b930004300df27..."} 
[2026-09-18 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b359e868012d1825c00721b930004300df27..."} 
[2026-09-18 12:44:31] local.INFO: Processing buffer {"connection_id":187421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b359e868012d1825c00721b930004300df27..."} 
[2026-09-18 12:44:31] local.INFO: Packet analysis {"connection_id":187421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b359"} 
[2026-09-18 12:44:31] local.INFO: Extracted packet for processing {"connection_id":187421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b359"} 
[2026-09-18 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650608,"longitude_deg":75.6557248,"latitude_deg":11.9650608,"altitude":67,"angle":223,"satellites":39,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167139328001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308488101658624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911653376,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715409000,"timestamp_ms":1789715409000,"timestamp_seconds":1789715409,"priority":1,"record_length":96,"hex_timestamp":"000001a0b359e868"} 
[2026-09-18 12:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:44: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-09-18 12: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":248,"data_length":795,"current_offset":136} 
[2026-09-18 12:44: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-09-18 12: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-09-18 12:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167139328001,"66":13048,"120":206,"28":31744,"24":0,"16":21308488101658624,"45":1740007967911653376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167139328001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:44:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308488101658624,"km_value":21308488101658.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911653376,"description":"Unknown IO ID 45"} 
[2026-09-18 12:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167139328001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911653376}} 
[2026-09-18 12:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":187421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:44:31] local.INFO: GPS data processed {"connection_id":187421,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:44:31] local.INFO: Acknowledgment sent {"connection_id":187421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:44:50] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:44:50] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:44:50] local.INFO: Packet analysis {"connection_id":186134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:44:50] local.INFO: Extracted packet for processing {"connection_id":186134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:44:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:44:50] 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-09-18 12:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:44:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:44:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":186134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:44:50] local.INFO: GPS data processed {"connection_id":186134,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:44:50] local.INFO: Acknowledgment sent {"connection_id":186134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:45:03] local.INFO: TCP Data received {"connection_id":187421,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a3a70012d1825c00721b930004300df28..."} 
[2026-09-18 12:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a3a70012d1825c00721b930004300df28..."} 
[2026-09-18 12:45:03] local.INFO: Processing buffer {"connection_id":187421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a3a70012d1825c00721b930004300df28..."} 
[2026-09-18 12:45:03] local.INFO: Packet analysis {"connection_id":187421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:45:03] local.INFO: Extracted packet for processing {"connection_id":187421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650608,"longitude_deg":75.6557248,"latitude_deg":11.9650608,"altitude":67,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-18 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167144704001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308488101658624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911653376,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715430000,"timestamp_ms":1789715430000,"timestamp_seconds":1789715430,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a3a70"} 
[2026-09-18 12:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:45: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-09-18 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 12:45: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-09-18 12: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-09-18 12:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167144704001,"66":12939,"120":206,"28":31744,"24":0,"16":21308488101658624,"45":1740007967911653376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167144704001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:45:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308488101658624,"km_value":21308488101658.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911653376,"description":"Unknown IO ID 45"} 
[2026-09-18 12:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167144704001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911653376}} 
[2026-09-18 12:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":187421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:45:03] local.INFO: GPS data processed {"connection_id":187421,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:45:03] local.INFO: Acknowledgment sent {"connection_id":187421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:45:12] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:45:12] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:45:12] local.INFO: IMEI packet received {"connection_id":185980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":185980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:45:17] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:45:17] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:45:17] local.INFO: IMEI packet received {"connection_id":185980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":185980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:45:18] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:45:18] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:45:18] local.INFO: Packet analysis {"connection_id":185980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:45:18] local.INFO: Extracted packet for processing {"connection_id":185980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:45:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:45:18] 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-09-18 12:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:45: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-09-18 12:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:45:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:45:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":185980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:45:18] local.INFO: GPS data processed {"connection_id":185980,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:45:18] local.INFO: Acknowledgment sent {"connection_id":185980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:45:25] local.INFO: TCP Data received {"connection_id":186135,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:25] local.INFO: Processing buffer {"connection_id":186135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:25] local.INFO: IMEI packet received {"connection_id":186135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":186135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:45:26] local.INFO: TCP Data received {"connection_id":186135,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:26] local.INFO: Processing buffer {"connection_id":186135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:26] local.INFO: IMEI packet received {"connection_id":186135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":186135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:45:27] local.INFO: TCP Data received {"connection_id":186135,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:27] local.INFO: Processing buffer {"connection_id":186135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:27] local.INFO: IMEI packet received {"connection_id":186135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":186135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:45:30] local.INFO: TCP Data received {"connection_id":186135,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:30] local.INFO: Processing buffer {"connection_id":186135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:45:30] local.INFO: IMEI packet received {"connection_id":186135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":186135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:45:31] local.INFO: TCP Data received {"connection_id":186135,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35dc0c8012d1825c00721b930004300df28..."} 
[2026-09-18 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35dc0c8012d1825c00721b930004300df28..."} 
[2026-09-18 12:45:31] local.INFO: Processing buffer {"connection_id":186135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35dc0c8012d1825c00721b930004300df28..."} 
[2026-09-18 12:45:31] local.INFO: Packet analysis {"connection_id":186135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35d"} 
[2026-09-18 12:45:31] local.INFO: Extracted packet for processing {"connection_id":186135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35d"} 
[2026-09-18 12:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650608,"longitude_deg":75.6557248,"latitude_deg":11.9650608,"altitude":67,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167203840001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308488101658624,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911653376,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715661000,"timestamp_ms":1789715661000,"timestamp_seconds":1789715661,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35dc0c8"} 
[2026-09-18 12:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:45: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-09-18 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 12:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167203840001,"66":14080,"120":206,"28":31744,"24":0,"16":21308488101658624,"45":1740007967911653376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167203840001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308488101658624,"km_value":21308488101658.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911653376,"description":"Unknown IO ID 45"} 
[2026-09-18 12:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167203840001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911653376}} 
[2026-09-18 12:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":186135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:45:31] local.INFO: GPS data processed {"connection_id":186135,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:45:31] local.INFO: Acknowledgment sent {"connection_id":186135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:45:46] local.INFO: TCP Data received {"connection_id":187419,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:45:46] local.INFO: Processing buffer {"connection_id":187419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:45:46] local.INFO: IMEI packet received {"connection_id":187419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":187419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:45:50] local.INFO: TCP Data received {"connection_id":185980,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:45:50] local.INFO: Processing buffer {"connection_id":185980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35a4df8012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:45:50] local.INFO: Packet analysis {"connection_id":185980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:45:50] local.INFO: Extracted packet for processing {"connection_id":185980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35a"} 
[2026-09-18 12:45:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167074304001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715435000,"timestamp_ms":1789715435000,"timestamp_seconds":1789715435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35a4df8"} 
[2026-09-18 12:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:45:50] 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-09-18 12:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:45: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-09-18 12:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167074304001,"66":26082,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167074304001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:45:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:45:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167074304001,"power":26082,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":185980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:45:50] local.INFO: GPS data processed {"connection_id":185980,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:45:50] local.INFO: Acknowledgment sent {"connection_id":185980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:46:02] local.INFO: TCP Data received {"connection_id":186135,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e0b00012d1825000721b848004900f02b..."} 
[2026-09-18 12:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e0b00012d1825000721b848004900f02b..."} 
[2026-09-18 12:46:02] local.INFO: Processing buffer {"connection_id":186135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e0b00012d1825000721b848004900f02b..."} 
[2026-09-18 12:46:02] local.INFO: Packet analysis {"connection_id":186135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:02] local.INFO: Extracted packet for processing {"connection_id":186135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650376,"longitude_deg":75.6557056,"latitude_deg":11.9650376,"altitude":73,"angle":240,"satellites":43,"speed":2,"hex_longitude":"2d182500","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167209216001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308500986560512,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911653376,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789715680000,"timestamp_ms":1789715680000,"timestamp_seconds":1789715680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e0b00"} 
[2026-09-18 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-09-18 12:46: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-09-18 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3009139864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":45057,"corrected_to":0} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3106930755,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3221692857,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3019177984,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:02] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,120,28,24,241,158,16,179,160,110,45,192,185,67,41,10,66,42,202,1,240,33,4,113,205,38,37,48,239,2,75,7],"length":479,"final_offset":609,"validated_count":32,"validation_warnings":[{"io_id":202,"original":45057,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 12:46:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828104163432857600,"timestamp_seconds":4828104163432858.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 12:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167209216001,"66":14048,"120":206,"28":31744,"24":2,"16":21308500986560512,"45":1740007967911653376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167209216001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:46:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308500986560512,"km_value":21308500986560.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911653376,"description":"Unknown IO ID 45"} 
[2026-09-18 12:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167209216001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1740007967911653376}} 
[2026-09-18 12:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":186135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:46:03] local.INFO: GPS data processed {"connection_id":186135,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:46:03] local.INFO: Acknowledgment sent {"connection_id":186135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:46:12] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:12] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:12] local.INFO: IMEI packet received {"connection_id":188749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":188749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:46:14] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:14] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:14] local.INFO: IMEI packet received {"connection_id":188749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":188749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:46:18] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:18] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:46:18] local.INFO: IMEI packet received {"connection_id":188749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":188749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:46:19] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:46:19] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:46:19] local.INFO: Packet analysis {"connection_id":188749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:19] local.INFO: Extracted packet for processing {"connection_id":188749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:46:19] 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-09-18 12:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:46:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:46:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":188749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:46:19] local.INFO: GPS data processed {"connection_id":188749,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:46:19] local.INFO: Acknowledgment sent {"connection_id":188749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:46:25] local.INFO: TCP Data received {"connection_id":187422,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:46:25] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:46:25] local.INFO: IMEI packet received {"connection_id":187422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":187422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:46:30] local.INFO: TCP Data received {"connection_id":187422,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:46:30] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:46:30] local.INFO: IMEI packet received {"connection_id":187422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":187422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:46:31] local.INFO: TCP Data received {"connection_id":187422,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e2a40012d1824400721b700004900d72b..."} 
[2026-09-18 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e2a40012d1824400721b700004900d72b..."} 
[2026-09-18 12:46:31] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e2a40012d1824400721b700004900d72b..."} 
[2026-09-18 12:46:31] local.INFO: Packet analysis {"connection_id":187422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:31] local.INFO: Extracted packet for processing {"connection_id":187422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650048,"longitude_deg":75.6556864,"latitude_deg":11.9650048,"altitude":73,"angle":215,"satellites":43,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b700","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167214080001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308526756364288,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679060992,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715688000,"timestamp_ms":1789715688000,"timestamp_seconds":1789715688,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e2a40"} 
[2026-09-18 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-09-18 12:46: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-09-18 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 12:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 12:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167214080001,"66":14135,"120":206,"28":31744,"24":6,"16":21308526756364288,"45":1739796861679060992},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167214080001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:46:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308526756364288,"km_value":21308526756364.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679060992,"description":"Unknown IO ID 45"} 
[2026-09-18 12:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167214080001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739796861679060992}} 
[2026-09-18 12:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":187422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:46:31] local.INFO: GPS data processed {"connection_id":187422,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:46:31] local.INFO: Acknowledgment sent {"connection_id":187422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:46:50] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:46:50] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:46:50] local.INFO: Packet analysis {"connection_id":188749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:50] local.INFO: Extracted packet for processing {"connection_id":188749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:46:50] 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-09-18 12:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:46:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:46:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":188749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:46:50] local.INFO: GPS data processed {"connection_id":188749,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:46:50] local.INFO: Acknowledgment sent {"connection_id":188749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:47:03] local.INFO: TCP Data received {"connection_id":187422,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e2e28012d1824000721b670004900c62b..."} 
[2026-09-18 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e2e28012d1824000721b670004900c62b..."} 
[2026-09-18 12:47:03] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e2e28012d1824000721b670004900c62b..."} 
[2026-09-18 12:47:03] local.INFO: Packet analysis {"connection_id":187422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:03] local.INFO: Extracted packet for processing {"connection_id":187422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649904,"longitude_deg":75.65568,"latitude_deg":11.9649904,"altitude":73,"angle":198,"satellites":43,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b670","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167216128001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308535346298880,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446444032,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715689000,"timestamp_ms":1789715689000,"timestamp_seconds":1789715689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e2e28"} 
[2026-09-18 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:47: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-09-18 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 12:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167216128001,"66":14135,"120":206,"28":31744,"24":5,"16":21308535346298880,"45":1739585755446444032},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167216128001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308535346298880,"km_value":21308535346298.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446444032,"description":"Unknown IO ID 45"} 
[2026-09-18 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167216128001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739585755446444032}} 
[2026-09-18 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":187422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:47:03] local.INFO: GPS data processed {"connection_id":187422,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:47:03] local.INFO: Acknowledgment sent {"connection_id":187422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:47:12] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:47:12] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:47:12] local.INFO: IMEI packet received {"connection_id":186136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":186136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:47:17] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:47:17] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:47:17] local.INFO: IMEI packet received {"connection_id":186136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":186136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:47:19] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:47:19] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:47:19] local.INFO: Packet analysis {"connection_id":186136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:19] local.INFO: Extracted packet for processing {"connection_id":186136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:47:19] 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-09-18 12:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:47:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:47:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":186136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:47:19] local.INFO: GPS data processed {"connection_id":186136,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:47:19] local.INFO: Acknowledgment sent {"connection_id":186136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:47:25] local.INFO: TCP Data received {"connection_id":185981,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:47:25] local.INFO: Processing buffer {"connection_id":185981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:47:25] local.INFO: IMEI packet received {"connection_id":185981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":185981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:47:30] local.INFO: TCP Data received {"connection_id":185981,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:47:30] local.INFO: Processing buffer {"connection_id":185981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:47:30] local.INFO: IMEI packet received {"connection_id":185981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":185981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:47:32] local.INFO: TCP Data received {"connection_id":185981,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e41b0012d1823800721b560004900232c..."} 
[2026-09-18 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e41b0012d1823800721b560004900232c..."} 
[2026-09-18 12:47:32] local.INFO: Processing buffer {"connection_id":185981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e41b0012d1823800721b560004900232c..."} 
[2026-09-18 12:47:32] local.INFO: Packet analysis {"connection_id":185981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:32] local.INFO: Extracted packet for processing {"connection_id":185981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649632,"longitude_deg":75.6556672,"latitude_deg":11.9649632,"altitude":73,"angle":35,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167216384001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308552526168064,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702229504,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789715694000,"timestamp_ms":1789715694000,"timestamp_seconds":1789715694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e41b0"} 
[2026-09-18 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-09-18 12:47: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-09-18 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 12:47: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-09-18 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-09-18 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-09-18 12:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167216384001,"66":14265,"120":206,"28":31744,"24":0,"16":21308552526168064,"45":1739515386702229504},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167216384001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:47:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308552526168064,"km_value":21308552526168.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702229504,"description":"Unknown IO ID 45"} 
[2026-09-18 12:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167216384001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702229504}} 
[2026-09-18 12:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":185981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:47:32] local.INFO: GPS data processed {"connection_id":185981,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:47:32] local.INFO: Acknowledgment sent {"connection_id":185981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:47:50] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:47:50] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:47:50] local.INFO: Packet analysis {"connection_id":186136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:50] local.INFO: Extracted packet for processing {"connection_id":186136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:47:50] 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-09-18 12:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:47:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:47:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":186136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:47:50] local.INFO: GPS data processed {"connection_id":186136,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:47:50] local.INFO: Acknowledgment sent {"connection_id":186136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:48:03] local.INFO: TCP Data received {"connection_id":185981,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e4598012d1823800721b5d0004900142c..."} 
[2026-09-18 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e4598012d1823800721b5d0004900142c..."} 
[2026-09-18 12:48:03] local.INFO: Processing buffer {"connection_id":185981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e4598012d1823800721b5d0004900142c..."} 
[2026-09-18 12:48:03] local.INFO: Packet analysis {"connection_id":185981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:03] local.INFO: Extracted packet for processing {"connection_id":185981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649744,"longitude_deg":75.6556672,"latitude_deg":11.9649744,"altitude":73,"angle":20,"satellites":44,"speed":4,"hex_longitude":"2d182380","hex_latitude":"0721b5d0","is_valid_coordinates":true} 
[2026-09-18 12:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167217664001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308561116102656,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213804544,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715695000,"timestamp_ms":1789715695000,"timestamp_seconds":1789715695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e4598"} 
[2026-09-18 12:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:48: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-09-18 12:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 12:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167217664001,"66":14265,"120":206,"28":31744,"24":4,"16":21308561116102656,"45":1739374649213804544},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167217664001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:48:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308561116102656,"km_value":21308561116102.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213804544,"description":"Unknown IO ID 45"} 
[2026-09-18 12:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167217664001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1739374649213804544}} 
[2026-09-18 12:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":185981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:48:03] local.INFO: GPS data processed {"connection_id":185981,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:48:03] local.INFO: Acknowledgment sent {"connection_id":185981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:48:12] local.INFO: TCP Data received {"connection_id":188750,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:48:12] local.INFO: Processing buffer {"connection_id":188750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:48:12] local.INFO: IMEI packet received {"connection_id":188750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":188750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:48:17] local.INFO: TCP Data received {"connection_id":188750,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:48:17] local.INFO: Processing buffer {"connection_id":188750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:48:17] local.INFO: IMEI packet received {"connection_id":188750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":188750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:48:18] local.INFO: TCP Data received {"connection_id":188750,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:48:18] local.INFO: Processing buffer {"connection_id":188750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:48:18] local.INFO: Packet analysis {"connection_id":188750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:18] local.INFO: Extracted packet for processing {"connection_id":188750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:48:18] 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-09-18 12:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:48:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:48:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":188750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:48:18] local.INFO: GPS data processed {"connection_id":188750,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:48:18] local.INFO: Acknowledgment sent {"connection_id":188750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:48:30] local.INFO: TCP Data received {"connection_id":188751,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:48:30] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:48:30] local.INFO: IMEI packet received {"connection_id":188751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":188751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:48:35] local.INFO: TCP Data received {"connection_id":188751,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:48:35] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:48:35] local.INFO: IMEI packet received {"connection_id":188751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":188751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:48:36] local.INFO: TCP Data received {"connection_id":188751,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e4980012d1823800721b660004901672c..."} 
[2026-09-18 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e4980012d1823800721b660004901672c..."} 
[2026-09-18 12:48:36] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e4980012d1823800721b660004901672c..."} 
[2026-09-18 12:48:36] local.INFO: Packet analysis {"connection_id":188751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:36] local.INFO: Extracted packet for processing {"connection_id":188751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649888,"longitude_deg":75.6556672,"latitude_deg":11.9649888,"altitude":73,"angle":359,"satellites":44,"speed":6,"hex_longitude":"2d182380","hex_latitude":"0721b660","is_valid_coordinates":true} 
[2026-09-18 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167217920001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308565411069952,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213833216,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789715696000,"timestamp_ms":1789715696000,"timestamp_seconds":1789715696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e4980"} 
[2026-09-18 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 12:48: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-09-18 12:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167217920001,"66":14004,"120":206,"28":31744,"24":6,"16":21308565411069952,"45":1739374649213833216},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167217920001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308565411069952,"km_value":21308565411069.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213833216,"description":"Unknown IO ID 45"} 
[2026-09-18 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167217920001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739374649213833216}} 
[2026-09-18 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":188751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:48:36] local.INFO: GPS data processed {"connection_id":188751,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:48:36] local.INFO: Acknowledgment sent {"connection_id":188751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:48:40] local.INFO: TCP Data received {"connection_id":188751,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35e5150012d1823800721b788004901592c..."} 
[2026-09-18 12:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35e5150012d1823800721b788004901592c..."} 
[2026-09-18 12:48:40] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35e5150012d1823800721b788004901592c..."} 
[2026-09-18 12:48:40] local.INFO: Packet analysis {"connection_id":188751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:40] local.INFO: Extracted packet for processing {"connection_id":188751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650184,"longitude_deg":75.6556672,"latitude_deg":11.9650184,"altitude":73,"angle":345,"satellites":44,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b788","is_valid_coordinates":true} 
[2026-09-18 12:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167218176001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308582590939136,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213870080,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789715698000,"timestamp_ms":1789715698000,"timestamp_seconds":1789715698,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35e5150"} 
[2026-09-18 12:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 12:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167218176001,"66":13722,"120":206,"28":31744,"24":5,"16":21308582590939136,"45":1739374649213870080},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167218176001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:48:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:48:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308582590939136,"km_value":21308582590939.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213870080,"description":"Unknown IO ID 45"} 
[2026-09-18 12:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167218176001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739374649213870080}} 
[2026-09-18 12:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":188751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:48:40] local.INFO: GPS data processed {"connection_id":188751,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:48:40] local.INFO: Acknowledgment sent {"connection_id":188751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:48:49] local.INFO: TCP Data received {"connection_id":188750,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:48:49] local.INFO: Processing buffer {"connection_id":188750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:48:49] local.INFO: Packet analysis {"connection_id":188750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:49] local.INFO: Extracted packet for processing {"connection_id":188750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:48:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:48:49] 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-09-18 12:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:48:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:48:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":188750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:48:49] local.INFO: GPS data processed {"connection_id":188750,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:48:49] local.INFO: Acknowledgment sent {"connection_id":188750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:49:12] local.INFO: TCP Data received {"connection_id":187423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:49:12] local.INFO: Processing buffer {"connection_id":187423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:49:12] local.INFO: IMEI packet received {"connection_id":187423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":187423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:49:17] local.INFO: TCP Data received {"connection_id":187423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:49:17] local.INFO: Processing buffer {"connection_id":187423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:49:17] local.INFO: IMEI packet received {"connection_id":187423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":187423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:49:19] local.INFO: TCP Data received {"connection_id":187423,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:49:19] local.INFO: Processing buffer {"connection_id":187423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:49:19] local.INFO: Packet analysis {"connection_id":187423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:49:19] local.INFO: Extracted packet for processing {"connection_id":187423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:49:19] 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-09-18 12:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12: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-09-18 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:49:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:49:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":187423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:49:19] local.INFO: GPS data processed {"connection_id":187423,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:49:19] local.INFO: Acknowledgment sent {"connection_id":187423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:49:25] local.INFO: TCP Data received {"connection_id":186137,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:49:25] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:49:25] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:49:30] local.INFO: TCP Data received {"connection_id":186137,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:49:30] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:49:30] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:49:32] local.INFO: TCP Data received {"connection_id":186137,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ea358012d1823000721b878004901542a..."} 
[2026-09-18 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ea358012d1823000721b878004901542a..."} 
[2026-09-18 12:49:32] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ea358012d1823000721b878004901542a..."} 
[2026-09-18 12:49:32] local.INFO: Packet analysis {"connection_id":186137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:49:32] local.INFO: Extracted packet for processing {"connection_id":186137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650424,"longitude_deg":75.6556544,"latitude_deg":11.9650424,"altitude":73,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167218688001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308599770808320,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213945856,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789715719000,"timestamp_ms":1789715719000,"timestamp_seconds":1789715719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ea358"} 
[2026-09-18 12:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:49: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-09-18 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 12:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167218688001,"66":13080,"120":206,"28":31744,"24":0,"16":21308599770808320,"45":1739374649213945856},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167218688001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:49:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:49:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308599770808320,"km_value":21308599770808.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213945856,"description":"Unknown IO ID 45"} 
[2026-09-18 12:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167218688001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213945856}} 
[2026-09-18 12:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":186137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:49:32] local.INFO: GPS data processed {"connection_id":186137,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:49:32] local.INFO: Acknowledgment sent {"connection_id":186137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:49:50] local.INFO: TCP Data received {"connection_id":187423,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:49:50] local.INFO: Processing buffer {"connection_id":187423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:49:50] local.INFO: Packet analysis {"connection_id":187423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:49:50] local.INFO: Extracted packet for processing {"connection_id":187423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:49:50] 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-09-18 12:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:49:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:49:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":187423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:49:50] local.INFO: GPS data processed {"connection_id":187423,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:49:50] local.INFO: Acknowledgment sent {"connection_id":187423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:50:03] local.INFO: TCP Data received {"connection_id":186137,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35eddf0012d1822c00721b678004800cd2a..."} 
[2026-09-18 12:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35eddf0012d1822c00721b678004800cd2a..."} 
[2026-09-18 12:50:03] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35eddf0012d1822c00721b678004800cd2a..."} 
[2026-09-18 12:50:03] local.INFO: Packet analysis {"connection_id":186137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:50:03] local.INFO: Extracted packet for processing {"connection_id":186137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649912,"longitude_deg":75.655648,"latitude_deg":11.9649912,"altitude":72,"angle":205,"satellites":42,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-18 12:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167224064001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308625540612096,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725651968,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715734000,"timestamp_ms":1789715734000,"timestamp_seconds":1789715734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35eddf0"} 
[2026-09-18 12:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:50: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-09-18 12: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 12:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167224064001,"66":12287,"120":206,"28":31744,"24":5,"16":21308625540612096,"45":1739233911725651968},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167224064001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:50:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308625540612096,"km_value":21308625540612.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725651968,"description":"Unknown IO ID 45"} 
[2026-09-18 12:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167224064001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739233911725651968}} 
[2026-09-18 12:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":186137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:50:03] local.INFO: GPS data processed {"connection_id":186137,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:50:03] local.INFO: Acknowledgment sent {"connection_id":186137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:50:12] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:50:12] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:50:12] local.INFO: IMEI packet received {"connection_id":188752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":188752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:50:17] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:50:17] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:50:17] local.INFO: IMEI packet received {"connection_id":188752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":188752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:50:19] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:50:19] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:50:19] local.INFO: Packet analysis {"connection_id":188752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:50:19] local.INFO: Extracted packet for processing {"connection_id":188752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:50:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:50:19] 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-09-18 12:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:50:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:50:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":188752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:50:19] local.INFO: GPS data processed {"connection_id":188752,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:50:19] local.INFO: Acknowledgment sent {"connection_id":188752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:50:25] local.INFO: TCP Data received {"connection_id":186138,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:50:25] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:50:25] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:50:30] local.INFO: TCP Data received {"connection_id":186138,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:50:30] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:50:30] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:50:31] local.INFO: TCP Data received {"connection_id":186138,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35f2ff8012d1822800721b5b0004800d02c..."} 
[2026-09-18 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35f2ff8012d1822800721b5b0004800d02c..."} 
[2026-09-18 12:50:31] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35f2ff8012d1822800721b5b0004800d02c..."} 
[2026-09-18 12:50:31] local.INFO: Packet analysis {"connection_id":186138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35f"} 
[2026-09-18 12:50:31] local.INFO: Extracted packet for processing {"connection_id":186138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35f"} 
[2026-09-18 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649712,"longitude_deg":75.6556416,"latitude_deg":11.9649712,"altitude":72,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b5b0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167227904001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308634130546688,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981343232,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715755000,"timestamp_ms":1789715755000,"timestamp_seconds":1789715755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35f2ff8"} 
[2026-09-18 12:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:50: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-09-18 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 12:50: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-09-18 12: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-09-18 12:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167227904001,"66":13004,"120":206,"28":31744,"24":0,"16":21308634130546688,"45":1739163542981343232},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167227904001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308634130546688,"km_value":21308634130546.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981343232,"description":"Unknown IO ID 45"} 
[2026-09-18 12:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167227904001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981343232}} 
[2026-09-18 12:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":186138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:50:31] local.INFO: GPS data processed {"connection_id":186138,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:50:31] local.INFO: Acknowledgment sent {"connection_id":186138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:50:50] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:50:50] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b35ee5c0012d4ce0c0068f4660004600732a..."} 
[2026-09-18 12:50:50] local.INFO: Packet analysis {"connection_id":188752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:50:50] local.INFO: Extracted packet for processing {"connection_id":188752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b35e"} 
[2026-09-18 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167151360001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789715736000,"timestamp_ms":1789715736000,"timestamp_seconds":1789715736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b35ee5c0"} 
[2026-09-18 12:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 12:50:50] 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-09-18 12:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167151360001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167151360001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:50:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:50:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167151360001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":188752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:50:50] local.INFO: GPS data processed {"connection_id":188752,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:50:50] local.INFO: Acknowledgment sent {"connection_id":188752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:51:03] local.INFO: TCP Data received {"connection_id":186138,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3627fa0012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3627fa0012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:51:03] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3627fa0012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:51:03] local.INFO: Packet analysis {"connection_id":186138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b362"} 
[2026-09-18 12:51:03] local.INFO: Extracted packet for processing {"connection_id":186138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b362"} 
[2026-09-18 12:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167283456001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492869120,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789715972000,"timestamp_ms":1789715972000,"timestamp_seconds":1789715972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3627fa0"} 
[2026-09-18 12:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:51: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-09-18 12:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 12:51: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-09-18 12:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167283456001,"66":12613,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1739022805492869120},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167283456001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:51:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492869120,"description":"Unknown IO ID 45"} 
[2026-09-18 12:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167283456001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492869120}} 
[2026-09-18 12:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":186138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:51:03] local.INFO: GPS data processed {"connection_id":186138,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:51:03] local.INFO: Acknowledgment sent {"connection_id":186138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:51:12] local.INFO: TCP Data received {"connection_id":187424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:12] local.INFO: Processing buffer {"connection_id":187424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:12] local.INFO: IMEI packet received {"connection_id":187424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":187424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:51:18] local.INFO: TCP Data received {"connection_id":187424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:18] local.INFO: Processing buffer {"connection_id":187424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:18] local.INFO: IMEI packet received {"connection_id":187424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":187424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:51:18] local.INFO: TCP Data received {"connection_id":187424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:18] local.INFO: Processing buffer {"connection_id":187424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:51:18] local.INFO: IMEI packet received {"connection_id":187424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":187424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:51:19] local.INFO: TCP Data received {"connection_id":187424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:19] local.INFO: Processing buffer {"connection_id":187424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:19] local.INFO: Packet analysis {"connection_id":187424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:51:19] local.INFO: Extracted packet for processing {"connection_id":187424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:51:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:51:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":187424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:51:19] local.INFO: GPS data processed {"connection_id":187424,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:51:19] local.INFO: Acknowledgment sent {"connection_id":187424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:51:21] local.INFO: TCP Data received {"connection_id":185982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:51:21] local.INFO: Processing buffer {"connection_id":185982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:51:21] local.INFO: IMEI packet received {"connection_id":185982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":185982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:51:22] local.INFO: TCP Data received {"connection_id":187424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:22] local.INFO: Processing buffer {"connection_id":187424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:22] local.INFO: Packet analysis {"connection_id":187424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:51:22] local.INFO: Extracted packet for processing {"connection_id":187424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:51:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:51:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":187424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:51:22] local.INFO: GPS data processed {"connection_id":187424,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:51:22] local.INFO: Acknowledgment sent {"connection_id":187424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:51:25] local.INFO: TCP Data received {"connection_id":185983,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:51:25] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:51:25] local.INFO: IMEI packet received {"connection_id":185983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":185983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:51:30] local.INFO: TCP Data received {"connection_id":185983,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:51:30] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:51:30] local.INFO: IMEI packet received {"connection_id":185983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":185983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:51:31] local.INFO: TCP Data received {"connection_id":185983,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b362d1a8012d1821400721b3c0004b00d22e..."} 
[2026-09-18 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b362d1a8012d1821400721b3c0004b00d22e..."} 
[2026-09-18 12:51:31] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b362d1a8012d1821400721b3c0004b00d22e..."} 
[2026-09-18 12:51:31] local.INFO: Packet analysis {"connection_id":185983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b362"} 
[2026-09-18 12:51:31] local.INFO: Extracted packet for processing {"connection_id":185983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b362"} 
[2026-09-18 12:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167288832001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789715993000,"timestamp_ms":1789715993000,"timestamp_seconds":1789715993,"priority":1,"record_length":96,"hex_timestamp":"000001a0b362d1a8"} 
[2026-09-18 12:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:51: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-09-18 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 12:51: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-09-18 12: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-09-18 12:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167288832001,"66":12809,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167288832001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:51:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167288832001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":185983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:51:31] local.INFO: GPS data processed {"connection_id":185983,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:51:31] local.INFO: Acknowledgment sent {"connection_id":185983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:51:54] local.INFO: TCP Data received {"connection_id":187424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:54] local.INFO: Processing buffer {"connection_id":187424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:51:54] local.INFO: Packet analysis {"connection_id":187424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:51:54] local.INFO: Extracted packet for processing {"connection_id":187424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:51:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:51:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":187424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:51:54] local.INFO: GPS data processed {"connection_id":187424,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:51:54] local.INFO: Acknowledgment sent {"connection_id":187424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:52:03] local.INFO: TCP Data received {"connection_id":185983,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36323b0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36323b0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:52:03] local.INFO: Processing buffer {"connection_id":185983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36323b0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:52:03] local.INFO: Packet analysis {"connection_id":185983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:03] local.INFO: Extracted packet for processing {"connection_id":185983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167294208001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716014000,"timestamp_ms":1789716014000,"timestamp_seconds":1789716014,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36323b0"} 
[2026-09-18 12:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:52: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-09-18 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3009485864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":6974422162360246912,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3021406208,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3048210504,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854818423918108,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429041089290752044,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,180,160,127,45,64,179,75,44,10,66,18,128,1,240,52,33,4,113,205,110,34,176,239,50,2,7,72,124,23],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 12:52:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550647854923776,"timestamp_seconds":5404550647854924.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167294208001,"66":12798,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167294208001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:52:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167294208001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":185983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:52:03] local.INFO: GPS data processed {"connection_id":185983,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:52:03] local.INFO: Acknowledgment sent {"connection_id":185983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:52:12] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:52:12] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:52:12] local.INFO: IMEI packet received {"connection_id":188753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":188753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:52:17] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:52:17] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:52:17] local.INFO: IMEI packet received {"connection_id":188753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":188753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:52:18] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:52:18] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:52:18] local.INFO: Packet analysis {"connection_id":188753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:18] local.INFO: Extracted packet for processing {"connection_id":188753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:52:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:52:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":188753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:52:18] local.INFO: GPS data processed {"connection_id":188753,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:52:18] local.INFO: Acknowledgment sent {"connection_id":188753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:52:25] local.INFO: TCP Data received {"connection_id":185984,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:52:25] local.INFO: Processing buffer {"connection_id":185984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:52:25] local.INFO: IMEI packet received {"connection_id":185984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":185984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:52:30] local.INFO: TCP Data received {"connection_id":185984,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:52:30] local.INFO: Processing buffer {"connection_id":185984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:52:30] local.INFO: IMEI packet received {"connection_id":185984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":185984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:52:32] local.INFO: TCP Data received {"connection_id":185984,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36375b8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36375b8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:52:32] local.INFO: Processing buffer {"connection_id":185984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36375b8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:52:32] local.INFO: Packet analysis {"connection_id":185984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:32] local.INFO: Extracted packet for processing {"connection_id":185984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167299584001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789716035000,"timestamp_ms":1789716035000,"timestamp_seconds":1789716035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36375b8"} 
[2026-09-18 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-09-18 12:52: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-09-18 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167299584001,"66":12743,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167299584001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:52:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167299584001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":185984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:52:32] local.INFO: GPS data processed {"connection_id":185984,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:52:32] local.INFO: Acknowledgment sent {"connection_id":185984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:52:49] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:52:49] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:52:49] local.INFO: Packet analysis {"connection_id":188753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:49] local.INFO: Extracted packet for processing {"connection_id":188753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:52:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:52:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:52:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":188753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:52:49] local.INFO: GPS data processed {"connection_id":188753,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:52:49] local.INFO: Acknowledgment sent {"connection_id":188753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:53:03] local.INFO: TCP Data received {"connection_id":185984,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b363c7c0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b363c7c0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:53:03] local.INFO: Processing buffer {"connection_id":185984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b363c7c0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:53:03] local.INFO: Packet analysis {"connection_id":185984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:53:03] local.INFO: Extracted packet for processing {"connection_id":185984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167304960001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716056000,"timestamp_ms":1789716056000,"timestamp_seconds":1789716056,"priority":1,"record_length":96,"hex_timestamp":"000001a0b363c7c0"} 
[2026-09-18 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-09-18 12:53: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-09-18 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 12:53: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-09-18 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-09-18 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-09-18 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167304960001,"66":12689,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167304960001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:53:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167304960001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":185984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:53:03] local.INFO: GPS data processed {"connection_id":185984,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:53:03] local.INFO: Acknowledgment sent {"connection_id":185984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:53:12] local.INFO: TCP Data received {"connection_id":187425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:53:12] local.INFO: Processing buffer {"connection_id":187425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:53:12] local.INFO: IMEI packet received {"connection_id":187425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":187425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:53:17] local.INFO: TCP Data received {"connection_id":187425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:53:17] local.INFO: Processing buffer {"connection_id":187425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:53:17] local.INFO: IMEI packet received {"connection_id":187425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":187425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:53:19] local.INFO: TCP Data received {"connection_id":187425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:53:19] local.INFO: Processing buffer {"connection_id":187425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:53:19] local.INFO: Packet analysis {"connection_id":187425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:53:19] local.INFO: Extracted packet for processing {"connection_id":187425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:53: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-09-18 12:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:53:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:53:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":187425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:53:19] local.INFO: GPS data processed {"connection_id":187425,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:53:19] local.INFO: Acknowledgment sent {"connection_id":187425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:53:31] local.INFO: TCP Data received {"connection_id":185985,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:53:31] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:53:31] local.INFO: IMEI packet received {"connection_id":185985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":185985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:53:35] local.INFO: TCP Data received {"connection_id":185985,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:53:35] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:53:35] local.INFO: IMEI packet received {"connection_id":185985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":185985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:53:36] local.INFO: TCP Data received {"connection_id":185985,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36419c8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36419c8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:53:36] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36419c8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:53:36] local.INFO: Packet analysis {"connection_id":185985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b364"} 
[2026-09-18 12:53:36] local.INFO: Extracted packet for processing {"connection_id":185985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b364"} 
[2026-09-18 12:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167310336001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789716077000,"timestamp_ms":1789716077000,"timestamp_seconds":1789716077,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36419c8"} 
[2026-09-18 12:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12: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-09-18 12: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":145,"data_length":795,"current_offset":136} 
[2026-09-18 12:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167310336001,"66":12711,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167310336001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:53:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167310336001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":185985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:53:36] local.INFO: GPS data processed {"connection_id":185985,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:53:36] local.INFO: Acknowledgment sent {"connection_id":185985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:53:41] local.INFO: TCP Data received {"connection_id":185985,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3646bd0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3646bd0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:53:41] local.INFO: Processing buffer {"connection_id":185985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3646bd0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:53:41] local.INFO: Packet analysis {"connection_id":185985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b364"} 
[2026-09-18 12:53:41] local.INFO: Extracted packet for processing {"connection_id":185985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b364"} 
[2026-09-18 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167315712001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789716098000,"timestamp_ms":1789716098000,"timestamp_seconds":1789716098,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3646bd0"} 
[2026-09-18 12:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 12:53: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-09-18 12:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167315712001,"66":12722,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167315712001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:53:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167315712001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":185985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:53:41] local.INFO: GPS data processed {"connection_id":185985,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:53:41] local.INFO: Acknowledgment sent {"connection_id":185985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:53:50] local.INFO: TCP Data received {"connection_id":187425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:53:50] local.INFO: Processing buffer {"connection_id":187425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:53:50] local.INFO: Packet analysis {"connection_id":187425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:53:50] local.INFO: Extracted packet for processing {"connection_id":187425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:53:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:53:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":187425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:53:50] local.INFO: GPS data processed {"connection_id":187425,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:53:50] local.INFO: Acknowledgment sent {"connection_id":187425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:54:12] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:54:12] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:54:12] local.INFO: IMEI packet received {"connection_id":188755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":188755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:54:17] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:54:17] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:54:17] local.INFO: IMEI packet received {"connection_id":188755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":188755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:54:18] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:54:18] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:54:18] local.INFO: Packet analysis {"connection_id":188755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:54:18] local.INFO: Extracted packet for processing {"connection_id":188755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:54:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:54:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:54:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":188755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:54:18] local.INFO: GPS data processed {"connection_id":188755,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:54:18] local.INFO: Acknowledgment sent {"connection_id":188755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:54:22] local.INFO: TCP Data received {"connection_id":187426,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:22] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:22] local.INFO: IMEI packet received {"connection_id":187426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":187426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:54:25] local.INFO: TCP Data received {"connection_id":187426,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:25] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:25] local.INFO: IMEI packet received {"connection_id":187426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":187426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:54:30] local.INFO: TCP Data received {"connection_id":187426,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:30] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:54:30] local.INFO: IMEI packet received {"connection_id":187426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":187426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:54:31] local.INFO: TCP Data received {"connection_id":187426,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b364bdd8012d1821400721b3c0004b00d22b..."} 
[2026-09-18 12:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b364bdd8012d1821400721b3c0004b00d22b..."} 
[2026-09-18 12:54:31] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b364bdd8012d1821400721b3c0004b00d22b..."} 
[2026-09-18 12:54:31] local.INFO: Packet analysis {"connection_id":187426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b364"} 
[2026-09-18 12:54:31] local.INFO: Extracted packet for processing {"connection_id":187426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b364"} 
[2026-09-18 12:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167321088001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716119000,"timestamp_ms":1789716119000,"timestamp_seconds":1789716119,"priority":1,"record_length":96,"hex_timestamp":"000001a0b364bdd8"} 
[2026-09-18 12:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:54: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-09-18 12:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 12:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167321088001,"66":12722,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167321088001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:54:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167321088001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":187426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:54:31] local.INFO: GPS data processed {"connection_id":187426,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:54:31] local.INFO: Acknowledgment sent {"connection_id":187426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:54:50] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:54:50] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:54:50] local.INFO: Packet analysis {"connection_id":188755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:54:50] local.INFO: Extracted packet for processing {"connection_id":188755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:54:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:54:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":188755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:54:50] local.INFO: GPS data processed {"connection_id":188755,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:54:50] local.INFO: Acknowledgment sent {"connection_id":188755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:55:03] local.INFO: TCP Data received {"connection_id":187426,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3650fe0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3650fe0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:55:03] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3650fe0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:55:03] local.INFO: Packet analysis {"connection_id":187426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b365"} 
[2026-09-18 12:55:03] local.INFO: Extracted packet for processing {"connection_id":187426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b365"} 
[2026-09-18 12:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167326464001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716140000,"timestamp_ms":1789716140000,"timestamp_seconds":1789716140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3650fe0"} 
[2026-09-18 12:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:55: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-09-18 12:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 12:55: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-09-18 12: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-09-18 12:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167326464001,"66":12689,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167326464001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:55:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167326464001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":187426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:55:03] local.INFO: GPS data processed {"connection_id":187426,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:55:03] local.INFO: Acknowledgment sent {"connection_id":187426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:55:12] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:55:12] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:55:12] local.INFO: IMEI packet received {"connection_id":185986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":185986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:55:17] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:55:17] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:55:17] local.INFO: IMEI packet received {"connection_id":185986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":185986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:55:18] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:55:18] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:55:18] local.INFO: Packet analysis {"connection_id":185986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:55:18] local.INFO: Extracted packet for processing {"connection_id":185986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:55:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:55:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:55:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":185986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:55:18] local.INFO: GPS data processed {"connection_id":185986,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:55:18] local.INFO: Acknowledgment sent {"connection_id":185986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:55:26] local.INFO: TCP Data received {"connection_id":186139,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:26] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:26] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:55:26] local.INFO: TCP Data received {"connection_id":186139,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:26] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:26] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:55:30] local.INFO: TCP Data received {"connection_id":186139,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:30] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:55:30] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:55:31] local.INFO: TCP Data received {"connection_id":186139,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36561e8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36561e8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:55:31] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36561e8012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:55:31] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b365"} 
[2026-09-18 12:55:31] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b365"} 
[2026-09-18 12:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167331840001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716161000,"timestamp_ms":1789716161000,"timestamp_seconds":1789716161,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36561e8"} 
[2026-09-18 12:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:55: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-09-18 12: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-09-18 12: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-09-18 12: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-09-18 12:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167331840001,"66":12689,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167331840001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:55:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167331840001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:55:31] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:55:31] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:55:50] local.INFO: TCP Data received {"connection_id":185986,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:55:50] local.INFO: Processing buffer {"connection_id":185986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3637d88012d4ce0c0068f46600046007327..."} 
[2026-09-18 12:55:50] local.INFO: Packet analysis {"connection_id":185986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:55:50] local.INFO: Extracted packet for processing {"connection_id":185986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b363"} 
[2026-09-18 12:55:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":39,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167228416001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716037000,"timestamp_ms":1789716037000,"timestamp_seconds":1789716037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3637d88"} 
[2026-09-18 12:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 12:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167228416001,"66":26060,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167228416001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:55:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:55:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167228416001,"power":26060,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":185986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:55:50] local.INFO: GPS data processed {"connection_id":185986,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:55:50] local.INFO: Acknowledgment sent {"connection_id":185986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:03] local.INFO: TCP Data received {"connection_id":186139,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b365b3f0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b365b3f0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:56:03] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b365b3f0012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:56:03] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b365"} 
[2026-09-18 12:56:03] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b365"} 
[2026-09-18 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167337216001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716182000,"timestamp_ms":1789716182000,"timestamp_seconds":1789716182,"priority":1,"record_length":96,"hex_timestamp":"000001a0b365b3f0"} 
[2026-09-18 12:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:56: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-09-18 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 12:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167337216001,"66":12678,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167337216001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:56:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167337216001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:56:03] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:56:03] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:12] local.INFO: TCP Data received {"connection_id":185987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:12] local.INFO: Processing buffer {"connection_id":185987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:12] local.INFO: IMEI packet received {"connection_id":185987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":185987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:56:16] local.INFO: TCP Data received {"connection_id":185987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:16] local.INFO: Processing buffer {"connection_id":185987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:16] local.INFO: IMEI packet received {"connection_id":185987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":185987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:56:17] local.INFO: TCP Data received {"connection_id":185987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:17] local.INFO: Processing buffer {"connection_id":185987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:56:17] local.INFO: IMEI packet received {"connection_id":185987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":185987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:56:18] local.INFO: TCP Data received {"connection_id":185987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:18] local.INFO: Processing buffer {"connection_id":185987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:18] local.INFO: Packet analysis {"connection_id":185987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:56:18] local.INFO: Extracted packet for processing {"connection_id":185987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:56:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:56:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:56:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":185987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:56:18] local.INFO: GPS data processed {"connection_id":185987,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:56:18] local.INFO: Acknowledgment sent {"connection_id":185987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:23] local.INFO: TCP Data received {"connection_id":185987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:23] local.INFO: Processing buffer {"connection_id":185987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:23] local.INFO: Packet analysis {"connection_id":185987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:56:23] local.INFO: Extracted packet for processing {"connection_id":185987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:56:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:56:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:56:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":185987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:56:23] local.INFO: GPS data processed {"connection_id":185987,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:56:23] local.INFO: Acknowledgment sent {"connection_id":185987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:25] local.INFO: TCP Data received {"connection_id":188756,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:25] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:25] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:56:28] local.INFO: TCP Data received {"connection_id":188756,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:28] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:28] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:56:30] local.INFO: TCP Data received {"connection_id":188756,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:30] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:56:30] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:56:31] local.INFO: TCP Data received {"connection_id":188756,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36605f8012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36605f8012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:56:31] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36605f8012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:56:31] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:56:31] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167342592001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716203000,"timestamp_ms":1789716203000,"timestamp_seconds":1789716203,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36605f8"} 
[2026-09-18 12:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:56: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-09-18 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 12:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167342592001,"66":12667,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167342592001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:56:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167342592001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:56:31] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:56:31] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:35] local.INFO: TCP Data received {"connection_id":188756,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3665800012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3665800012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:56:35] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3665800012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:56:35] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:56:35] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167347968001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789716224000,"timestamp_ms":1789716224000,"timestamp_seconds":1789716224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3665800"} 
[2026-09-18 12:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 12:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167347968001,"66":12580,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167347968001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:56:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167347968001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:56:35] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:56:35] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:54] local.INFO: TCP Data received {"connection_id":185987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:54] local.INFO: Processing buffer {"connection_id":185987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:56:54] local.INFO: Packet analysis {"connection_id":185987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:56:54] local.INFO: Extracted packet for processing {"connection_id":185987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12: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-09-18 12:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:56:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:56:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":185987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:56:54] local.INFO: GPS data processed {"connection_id":185987,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:56:54] local.INFO: Acknowledgment sent {"connection_id":185987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:56:56] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:56:56] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 12:56:56] local.INFO: IMEI packet received {"connection_id":188754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":188754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:57:07] local.INFO: TCP Data received {"connection_id":188756,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b366aa08012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b366aa08012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:57:07] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b366aa08012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:57:07] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:57:07] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167353344001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789716245000,"timestamp_ms":1789716245000,"timestamp_seconds":1789716245,"priority":1,"record_length":96,"hex_timestamp":"000001a0b366aa08"} 
[2026-09-18 12:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:57: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-09-18 12:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 12:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167353344001,"66":12613,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167353344001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:57:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167353344001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:57:07] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:57:07] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:57:12] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:57:12] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:57:12] local.INFO: IMEI packet received {"connection_id":185988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":185988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:57:17] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:57:17] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:57:17] local.INFO: IMEI packet received {"connection_id":185988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":185988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:57:18] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:57:18] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:57:18] local.INFO: Packet analysis {"connection_id":185988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:57:18] local.INFO: Extracted packet for processing {"connection_id":185988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:57:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:57:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:57:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":185988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:57:18] local.INFO: GPS data processed {"connection_id":185988,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:57:18] local.INFO: Acknowledgment sent {"connection_id":185988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:57:25] local.INFO: TCP Data received {"connection_id":187427,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:57:25] local.INFO: Processing buffer {"connection_id":187427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:57:25] local.INFO: IMEI packet received {"connection_id":187427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":187427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:57:30] local.INFO: TCP Data received {"connection_id":187427,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:57:30] local.INFO: Processing buffer {"connection_id":187427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:57:30] local.INFO: IMEI packet received {"connection_id":187427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":187427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:57:32] local.INFO: TCP Data received {"connection_id":187427,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b366fc10012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b366fc10012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:57:32] local.INFO: Processing buffer {"connection_id":187427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b366fc10012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:57:32] local.INFO: Packet analysis {"connection_id":187427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:57:32] local.INFO: Extracted packet for processing {"connection_id":187427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b366"} 
[2026-09-18 12:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167358720001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789716266000,"timestamp_ms":1789716266000,"timestamp_seconds":1789716266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b366fc10"} 
[2026-09-18 12:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12: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-09-18 12: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":69,"data_length":795,"current_offset":136} 
[2026-09-18 12:57: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-09-18 12: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-09-18 12:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167358720001,"66":12613,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167358720001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:57:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167358720001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":187427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:57:32] local.INFO: GPS data processed {"connection_id":187427,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:57:32] local.INFO: Acknowledgment sent {"connection_id":187427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:57:50] local.INFO: TCP Data received {"connection_id":185988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:57:50] local.INFO: Processing buffer {"connection_id":185988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:57:50] local.INFO: Packet analysis {"connection_id":185988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:57:50] local.INFO: Extracted packet for processing {"connection_id":185988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:57:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:57:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":185988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:57:50] local.INFO: GPS data processed {"connection_id":185988,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:57:50] local.INFO: Acknowledgment sent {"connection_id":185988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:58:03] local.INFO: TCP Data received {"connection_id":187427,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3674e18012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3674e18012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:58:03] local.INFO: Processing buffer {"connection_id":187427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3674e18012d1821400721b3c0004b00d22c..."} 
[2026-09-18 12:58:03] local.INFO: Packet analysis {"connection_id":187427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b367"} 
[2026-09-18 12:58:03] local.INFO: Extracted packet for processing {"connection_id":187427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b367"} 
[2026-09-18 12:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167364096001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716287000,"timestamp_ms":1789716287000,"timestamp_seconds":1789716287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3674e18"} 
[2026-09-18 12:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:58: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-09-18 12: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-09-18 12: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-09-18 12:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167364096001,"66":11874,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167364096001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:58:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167364096001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":187427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:58:03] local.INFO: GPS data processed {"connection_id":187427,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:58:03] local.INFO: Acknowledgment sent {"connection_id":187427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:58:13] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:58:13] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:58:13] local.INFO: IMEI packet received {"connection_id":188757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":188757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:58:17] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:58:17] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:58:17] local.INFO: IMEI packet received {"connection_id":188757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:58:18] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:58:18] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:58:18] local.INFO: Packet analysis {"connection_id":188757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:58:18] local.INFO: Extracted packet for processing {"connection_id":188757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:58:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:58:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:58:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":188757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:58:18] local.INFO: GPS data processed {"connection_id":188757,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:58:18] local.INFO: Acknowledgment sent {"connection_id":188757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:58:30] local.INFO: TCP Data received {"connection_id":187428,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:58:30] local.INFO: Processing buffer {"connection_id":187428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:58:30] local.INFO: IMEI packet received {"connection_id":187428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":187428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:58:34] local.INFO: TCP Data received {"connection_id":187428,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:58:34] local.INFO: Processing buffer {"connection_id":187428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:58:34] local.INFO: IMEI packet received {"connection_id":187428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":187428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:58:35] local.INFO: TCP Data received {"connection_id":187428,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b367a020012d1821400721b3c0004b00d22b..."} 
[2026-09-18 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b367a020012d1821400721b3c0004b00d22b..."} 
[2026-09-18 12:58:35] local.INFO: Processing buffer {"connection_id":187428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b367a020012d1821400721b3c0004b00d22b..."} 
[2026-09-18 12:58:35] local.INFO: Packet analysis {"connection_id":187428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b367"} 
[2026-09-18 12:58:35] local.INFO: Extracted packet for processing {"connection_id":187428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b367"} 
[2026-09-18 12:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167369472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789716308000,"timestamp_ms":1789716308000,"timestamp_seconds":1789716308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b367a020"} 
[2026-09-18 12:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 12: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 12:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167369472001,"66":12602,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167369472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:58:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167369472001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":187428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:58:35] local.INFO: GPS data processed {"connection_id":187428,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:58:35] local.INFO: Acknowledgment sent {"connection_id":187428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:58:36] local.INFO: TCP Data received {"connection_id":187428,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b367f228012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b367f228012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:58:36] local.INFO: Processing buffer {"connection_id":187428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b367f228012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:58:36] local.INFO: Packet analysis {"connection_id":187428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b367"} 
[2026-09-18 12:58:36] local.INFO: Extracted packet for processing {"connection_id":187428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b367"} 
[2026-09-18 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167374848001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789716329000,"timestamp_ms":1789716329000,"timestamp_seconds":1789716329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b367f228"} 
[2026-09-18 12:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:58: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-09-18 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-18 12:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167374848001,"66":12558,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167374848001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:58:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167374848001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":187428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:58:36] local.INFO: GPS data processed {"connection_id":187428,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:58:36] local.INFO: Acknowledgment sent {"connection_id":187428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:58:49] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:58:49] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:58:49] local.INFO: Packet analysis {"connection_id":188757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:58:49] local.INFO: Extracted packet for processing {"connection_id":188757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:58:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:58:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:58:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":188757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:58:49] local.INFO: GPS data processed {"connection_id":188757,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:58:49] local.INFO: Acknowledgment sent {"connection_id":188757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:59:07] local.INFO: TCP Data received {"connection_id":187428,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3684430012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3684430012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:59:07] local.INFO: Processing buffer {"connection_id":187428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3684430012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:59:07] local.INFO: Packet analysis {"connection_id":187428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:07] local.INFO: Extracted packet for processing {"connection_id":187428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167380224001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789716350000,"timestamp_ms":1789716350000,"timestamp_seconds":1789716350,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3684430"} 
[2026-09-18 12:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:59: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-09-18 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3009807864,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085632,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,180,160,45,64,179,75,43,10,66,78,44,252,1,240,69,33,4,113,205,88,192,239,49,2,7,231,77,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 12:59:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550643559956480,"timestamp_seconds":5404550643559956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 12:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167380224001,"66":12591,"120":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 12:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167380224001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:59:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 12:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167380224001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":187428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:59:07] local.INFO: GPS data processed {"connection_id":187428,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:59:07] local.INFO: Acknowledgment sent {"connection_id":187428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:59:12] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:59:12] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:59:12] local.INFO: IMEI packet received {"connection_id":185989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 12:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":185989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:59:17] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:59:17] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 12:59:17] local.INFO: IMEI packet received {"connection_id":185989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 12:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":185989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:59:18] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:59:18] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:59:18] local.INFO: Packet analysis {"connection_id":185989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:18] local.INFO: Extracted packet for processing {"connection_id":185989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:59:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:59:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":185989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:59:18] local.INFO: GPS data processed {"connection_id":185989,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:59:18] local.INFO: Acknowledgment sent {"connection_id":185989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:59:25] local.INFO: TCP Data received {"connection_id":186141,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:59:25] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:59:25] local.INFO: IMEI packet received {"connection_id":186141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 12:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":186141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 12:59:31] local.INFO: TCP Data received {"connection_id":186141,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:59:31] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 12:59:31] local.INFO: IMEI packet received {"connection_id":186141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 12:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":186141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 12:59:32] local.INFO: TCP Data received {"connection_id":186141,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3689638012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3689638012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:59:32] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3689638012d1821400721b3c0004b00d22d..."} 
[2026-09-18 12:59:32] local.INFO: Packet analysis {"connection_id":186141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:32] local.INFO: Extracted packet for processing {"connection_id":186141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 12: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-09-18 12:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167385600001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789716371000,"timestamp_ms":1789716371000,"timestamp_seconds":1789716371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3689638"} 
[2026-09-18 12:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:59: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-09-18 12: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":47,"data_length":795,"current_offset":136} 
[2026-09-18 12:59: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-09-18 12: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-09-18 12:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 12:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 12:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 12:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167385600001,"66":12558,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 12:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 12:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 12:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167385600001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:59:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 12:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 12:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 12:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167385600001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 12:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":186141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:59:32] local.INFO: GPS data processed {"connection_id":186141,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:59:32] local.INFO: Acknowledgment sent {"connection_id":186141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 12:59:49] local.INFO: TCP Data received {"connection_id":185989,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:59:49] local.INFO: Processing buffer {"connection_id":185989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 12:59:49] local.INFO: Packet analysis {"connection_id":185989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:49] local.INFO: Extracted packet for processing {"connection_id":185989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 12:59:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 12:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 12:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 12:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 12:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 12:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 12:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 12:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 12:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 12:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 12:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 12:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 12:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 12:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 12:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 12:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 12:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 12:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 12:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 12:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 12:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 12:59:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 12:59:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 12:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 12:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 12:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 12:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":185989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 12:59:49] local.INFO: GPS data processed {"connection_id":185989,"processed":1,"errors":0,"total":1} 
[2026-09-18 12:59:49] local.INFO: Acknowledgment sent {"connection_id":185989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:00:04] local.INFO: TCP Data received {"connection_id":186141,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b368e840012d1821400721b3c0004b00d22d..."} 
[2026-09-18 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b368e840012d1821400721b3c0004b00d22d..."} 
[2026-09-18 13:00:04] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b368e840012d1821400721b3c0004b00d22d..."} 
[2026-09-18 13:00:04] local.INFO: Packet analysis {"connection_id":186141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 13:00:04] local.INFO: Extracted packet for processing {"connection_id":186141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167390976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789716392000,"timestamp_ms":1789716392000,"timestamp_seconds":1789716392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b368e840"} 
[2026-09-18 13:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:00: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-09-18 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3009849864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085632,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,122,28,24,241,158,16,180,160,68,45,64,179,75,10,66,120,242,1,240,58,33,4,113,205,252,192,44,239,49,2,7,231,77,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:00:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550643559956480,"timestamp_seconds":5404550643559956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167390976001,"66":12298,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167390976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:00:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 13:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167390976001,"power":12298,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 13:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":186141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:00:04] local.INFO: GPS data processed {"connection_id":186141,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:00:04] local.INFO: Acknowledgment sent {"connection_id":186141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:00:12] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:00:12] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:00:12] local.INFO: IMEI packet received {"connection_id":187429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":187429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:00:17] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:00:17] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:00:17] local.INFO: IMEI packet received {"connection_id":187429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":187429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:00:18] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:00:18] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:00:18] local.INFO: Packet analysis {"connection_id":187429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 13:00:18] local.INFO: Extracted packet for processing {"connection_id":187429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 13:00:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 13:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 13:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:00:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:00:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":187429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:00:18] local.INFO: GPS data processed {"connection_id":187429,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:00:18] local.INFO: Acknowledgment sent {"connection_id":187429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:00:25] local.INFO: TCP Data received {"connection_id":185990,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:00:25] local.INFO: Processing buffer {"connection_id":185990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:00:25] local.INFO: IMEI packet received {"connection_id":185990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":185990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:00:30] local.INFO: TCP Data received {"connection_id":185990,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:00:30] local.INFO: Processing buffer {"connection_id":185990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:00:30] local.INFO: IMEI packet received {"connection_id":185990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":185990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:00:31] local.INFO: TCP Data received {"connection_id":185990,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3693a48012d1821400721b3c0004b00d22c..."} 
[2026-09-18 13:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3693a48012d1821400721b3c0004b00d22c..."} 
[2026-09-18 13:00:31] local.INFO: Processing buffer {"connection_id":185990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3693a48012d1821400721b3c0004b00d22c..."} 
[2026-09-18 13:00:31] local.INFO: Packet analysis {"connection_id":185990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b369"} 
[2026-09-18 13:00:31] local.INFO: Extracted packet for processing {"connection_id":185990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b369"} 
[2026-09-18 13:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716413000,"timestamp_ms":1789716413000,"timestamp_seconds":1789716413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3693a48"} 
[2026-09-18 13:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":10,"data_length":795,"current_offset":136} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452363,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2305843009213693953,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5519537341939771359,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513889469716955346,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":59158123620859904,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3550244765603201230,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:00:31] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,122,28,24,241,158,16,180,160,150,45,64,179,75,10,66,68,120,242,1,240,14,33,4,113,205,78,192,44,239,46,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:00:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550643559956480,"timestamp_seconds":5404550643559956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167396352001,"66":12591,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:00:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 13:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167396352001,"power":12591,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 13:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":185990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:00:32] local.INFO: GPS data processed {"connection_id":185990,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:00:32] local.INFO: Acknowledgment sent {"connection_id":185990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:00:50] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:00:50] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3681550012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:00:50] local.INFO: Packet analysis {"connection_id":187429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 13:00:50] local.INFO: Extracted packet for processing {"connection_id":187429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b368"} 
[2026-09-18 13:00:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167305472001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716338000,"timestamp_ms":1789716338000,"timestamp_seconds":1789716338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3681550"} 
[2026-09-18 13:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 13:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167305472001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167305472001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:00:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:00:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167305472001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":187429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:00:50] local.INFO: GPS data processed {"connection_id":187429,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:00:50] local.INFO: Acknowledgment sent {"connection_id":187429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:01:03] local.INFO: TCP Data received {"connection_id":185990,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3698c50012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3698c50012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:01:03] local.INFO: Processing buffer {"connection_id":185990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3698c50012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:01:03] local.INFO: Packet analysis {"connection_id":185990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b369"} 
[2026-09-18 13:01:03] local.INFO: Extracted packet for processing {"connection_id":185990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b369"} 
[2026-09-18 13:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167401728001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716434000,"timestamp_ms":1789716434000,"timestamp_seconds":1789716434,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3698c50"} 
[2026-09-18 13:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:01: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-09-18 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 13:01: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-09-18 13: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-09-18 13:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167401728001,"66":12558,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167401728001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:01:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 13:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167401728001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 13:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":185990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:01:03] local.INFO: GPS data processed {"connection_id":185990,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:01:03] local.INFO: Acknowledgment sent {"connection_id":185990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:01:12] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:01:12] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:01:12] local.INFO: IMEI packet received {"connection_id":186142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":186142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:01:17] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:01:17] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:01:17] local.INFO: IMEI packet received {"connection_id":186142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":186142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:01:18] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:01:18] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:01:18] local.INFO: Packet analysis {"connection_id":186142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:01:18] local.INFO: Extracted packet for processing {"connection_id":186142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:01:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:01:18] 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-09-18 13:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:01:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:01:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":186142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:01:18] local.INFO: GPS data processed {"connection_id":186142,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:01:18] local.INFO: Acknowledgment sent {"connection_id":186142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:01:25] local.INFO: TCP Data received {"connection_id":187430,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:01:25] local.INFO: Processing buffer {"connection_id":187430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:01:25] local.INFO: IMEI packet received {"connection_id":187430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":187430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:01:30] local.INFO: TCP Data received {"connection_id":187430,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:01:30] local.INFO: Processing buffer {"connection_id":187430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:01:30] local.INFO: IMEI packet received {"connection_id":187430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":187430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:01:32] local.INFO: TCP Data received {"connection_id":187430,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b369de58012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b369de58012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:01:32] local.INFO: Processing buffer {"connection_id":187430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b369de58012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:01:32] local.INFO: Packet analysis {"connection_id":187430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b369"} 
[2026-09-18 13:01:32] local.INFO: Extracted packet for processing {"connection_id":187430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b369"} 
[2026-09-18 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167407104001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789716455000,"timestamp_ms":1789716455000,"timestamp_seconds":1789716455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b369de58"} 
[2026-09-18 13:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3009912864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085632,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,122,28,24,241,158,16,180,160,58,45,64,179,75,44,10,66,232,150,1,240,14,33,4,113,205,242,192,239,49,120,2,7,231,77,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:01:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550647854923776,"timestamp_seconds":5404550647854924.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167407104001,"66":12526,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167407104001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:01:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167407104001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":187430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:01:32] local.INFO: GPS data processed {"connection_id":187430,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:01:32] local.INFO: Acknowledgment sent {"connection_id":187430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:01:49] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:01:49] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:01:49] local.INFO: Packet analysis {"connection_id":186142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:01:49] local.INFO: Extracted packet for processing {"connection_id":186142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:01:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:01:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:01:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:01:49] local.INFO: GPS data processed {"connection_id":186142,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:01:49] local.INFO: Acknowledgment sent {"connection_id":186142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:02:04] local.INFO: TCP Data received {"connection_id":187430,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36a3060012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36a3060012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:02:04] local.INFO: Processing buffer {"connection_id":187430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36a3060012d1821400721b3c0004b00d22e..."} 
[2026-09-18 13:02:04] local.INFO: Packet analysis {"connection_id":187430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36a"} 
[2026-09-18 13:02:04] local.INFO: Extracted packet for processing {"connection_id":187430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36a"} 
[2026-09-18 13:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167412480001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789716476000,"timestamp_ms":1789716476000,"timestamp_seconds":1789716476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36a3060"} 
[2026-09-18 13:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:02: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-09-18 13: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":238,"data_length":795,"current_offset":136} 
[2026-09-18 13:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167412480001,"66":12537,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167412480001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:02:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 13:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167412480001,"power":12537,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 13:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":187430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:02:04] local.INFO: GPS data processed {"connection_id":187430,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:02:04] local.INFO: Acknowledgment sent {"connection_id":187430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:02:17] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:02:17] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:02:17] local.INFO: IMEI packet received {"connection_id":188758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:02:22] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:02:22] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:02:22] local.INFO: IMEI packet received {"connection_id":188758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":188758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:02:23] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:02:23] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:02:23] local.INFO: Packet analysis {"connection_id":188758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:02:23] local.INFO: Extracted packet for processing {"connection_id":188758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:02:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:02:23] 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-09-18 13: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-09-18 13:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:02:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:02:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":188758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:02:23] local.INFO: GPS data processed {"connection_id":188758,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:02:23] local.INFO: Acknowledgment sent {"connection_id":188758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:02:25] local.INFO: TCP Data received {"connection_id":187431,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:25] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:25] local.INFO: IMEI packet received {"connection_id":187431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":187431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:02:25] local.INFO: TCP Data received {"connection_id":187431,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:25] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:25] local.INFO: IMEI packet received {"connection_id":187431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":187431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:02:30] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:02:30] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:02:30] local.INFO: IMEI packet received {"connection_id":186140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":186140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:02:30] local.INFO: TCP Data received {"connection_id":187431,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:30] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:02:30] local.INFO: IMEI packet received {"connection_id":187431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":187431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:02:31] local.INFO: TCP Data received {"connection_id":187431,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36a8268012d1821400721b3c0004b00d22d..."} 
[2026-09-18 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36a8268012d1821400721b3c0004b00d22d..."} 
[2026-09-18 13:02:31] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36a8268012d1821400721b3c0004b00d22d..."} 
[2026-09-18 13:02:31] local.INFO: Packet analysis {"connection_id":187431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36a"} 
[2026-09-18 13:02:31] local.INFO: Extracted packet for processing {"connection_id":187431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36a"} 
[2026-09-18 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167417856001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308672785252352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716497000,"timestamp_ms":1789716497000,"timestamp_seconds":1789716497,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36a8268"} 
[2026-09-18 13:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:02: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-09-18 13: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 13:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167417856001,"66":12558,"122":206,"28":31744,"24":0,"16":21308672785252352,"45":1738741330516099072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167417856001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308672785252352,"km_value":21308672785252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-09-18 13:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167417856001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-09-18 13:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":187431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:02:32] local.INFO: GPS data processed {"connection_id":187431,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:02:32] local.INFO: Acknowledgment sent {"connection_id":187431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:02:54] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:02:54] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:02:54] local.INFO: Packet analysis {"connection_id":188758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:02:54] local.INFO: Extracted packet for processing {"connection_id":188758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:02:54] 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-09-18 13:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:02:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:02:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":188758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:02:54] local.INFO: GPS data processed {"connection_id":188758,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:02:54] local.INFO: Acknowledgment sent {"connection_id":188758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:03:03] local.INFO: TCP Data received {"connection_id":187431,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36e1478012d181ec00721af88004c002a2b..."} 
[2026-09-18 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36e1478012d181ec00721af88004c002a2b..."} 
[2026-09-18 13:03:03] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36e1478012d181ec00721af88004c002a2b..."} 
[2026-09-18 13:03:03] local.INFO: Packet analysis {"connection_id":187431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:03:03] local.INFO: Extracted packet for processing {"connection_id":187431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648136,"longitude_deg":75.6555456,"latitude_deg":11.9648136,"altitude":76,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167482368001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308741504729088,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074041856,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716731000,"timestamp_ms":1789716731000,"timestamp_seconds":1789716731,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36e1478"} 
[2026-09-18 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-09-18 13:03: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-09-18 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":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:03: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-09-18 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-09-18 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-09-18 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167482368001,"66":12406,"120":206,"28":31744,"24":0,"16":21308741504729088,"45":1738037643074041856},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167482368001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:03:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308741504729088,"km_value":21308741504729.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074041856,"description":"Unknown IO ID 45"} 
[2026-09-18 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167482368001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074041856}} 
[2026-09-18 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":187431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:03:03] local.INFO: GPS data processed {"connection_id":187431,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:03:03] local.INFO: Acknowledgment sent {"connection_id":187431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:03:11] local.INFO: TCP Data received {"connection_id":188759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:03:11] local.INFO: Processing buffer {"connection_id":188759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:03:11] local.INFO: IMEI packet received {"connection_id":188759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":188759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:03:12] local.INFO: TCP Data received {"connection_id":187432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:03:12] local.INFO: Processing buffer {"connection_id":187432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:03:12] local.INFO: IMEI packet received {"connection_id":187432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":187432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:03:17] local.INFO: TCP Data received {"connection_id":187432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:03:17] local.INFO: Processing buffer {"connection_id":187432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:03:17] local.INFO: IMEI packet received {"connection_id":187432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":187432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:03:18] local.INFO: TCP Data received {"connection_id":187432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:03:18] local.INFO: Processing buffer {"connection_id":187432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:03:18] local.INFO: Packet analysis {"connection_id":187432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:03:18] local.INFO: Extracted packet for processing {"connection_id":187432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:03:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:03:18] 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-09-18 13:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:03:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:03:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":187432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:03:18] local.INFO: GPS data processed {"connection_id":187432,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:03:18] local.INFO: Acknowledgment sent {"connection_id":187432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:03:25] local.INFO: TCP Data received {"connection_id":186143,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:03:25] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:03:25] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:03:30] local.INFO: TCP Data received {"connection_id":186143,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:03:30] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:03:30] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:03:32] local.INFO: TCP Data received {"connection_id":186143,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36e1c48012d181f400721afd8004c00162b..."} 
[2026-09-18 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36e1c48012d181f400721afd8004c00162b..."} 
[2026-09-18 13:03:32] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36e1c48012d181f400721afd8004c00162b..."} 
[2026-09-18 13:03:32] local.INFO: Packet analysis {"connection_id":186143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:03:32] local.INFO: Extracted packet for processing {"connection_id":186143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648216,"longitude_deg":75.6555584,"latitude_deg":11.9648216,"altitude":76,"angle":22,"satellites":43,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167483136001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308745799696384,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074045952,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789716733000,"timestamp_ms":1789716733000,"timestamp_seconds":1789716733,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36e1c48"} 
[2026-09-18 13:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:03: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-09-18 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 13:03: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-09-18 13: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-09-18 13:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167483136001,"66":12939,"120":206,"28":31744,"24":1,"16":21308745799696384,"45":1738037643074045952},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167483136001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:03:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308745799696384,"km_value":21308745799696.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074045952,"description":"Unknown IO ID 45"} 
[2026-09-18 13:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167483136001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738037643074045952}} 
[2026-09-18 13:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":186143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:03:32] local.INFO: GPS data processed {"connection_id":186143,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:03:32] local.INFO: Acknowledgment sent {"connection_id":186143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:03:49] local.INFO: TCP Data received {"connection_id":187432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:03:49] local.INFO: Processing buffer {"connection_id":187432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:03:49] local.INFO: Packet analysis {"connection_id":187432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:03:49] local.INFO: Extracted packet for processing {"connection_id":187432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:03:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:03:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:03:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":187432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:03:49] local.INFO: GPS data processed {"connection_id":187432,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:03:49] local.INFO: Acknowledgment sent {"connection_id":187432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:04:03] local.INFO: TCP Data received {"connection_id":186143,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36e2418012d181f400721b030004c00022a..."} 
[2026-09-18 13:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36e2418012d181f400721b030004c00022a..."} 
[2026-09-18 13:04:03] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36e2418012d181f400721b030004c00022a..."} 
[2026-09-18 13:04:03] local.INFO: Packet analysis {"connection_id":186143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:04:03] local.INFO: Extracted packet for processing {"connection_id":186143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648304,"longitude_deg":75.6555584,"latitude_deg":11.9648304,"altitude":76,"angle":2,"satellites":42,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721b030","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167483648001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308750094663680,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562421760,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716735000,"timestamp_ms":1789716735000,"timestamp_seconds":1789716735,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36e2418"} 
[2026-09-18 13:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:04: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-09-18 13: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:04: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-09-18 13: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-09-18 13:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167483648001,"66":12939,"120":206,"28":31744,"24":1,"16":21308750094663680,"45":1738178380562421760},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167483648001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:04:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308750094663680,"km_value":21308750094663.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562421760,"description":"Unknown IO ID 45"} 
[2026-09-18 13:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167483648001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738178380562421760}} 
[2026-09-18 13:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":186143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:04:03] local.INFO: GPS data processed {"connection_id":186143,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:04:03] local.INFO: Acknowledgment sent {"connection_id":186143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:04:13] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:04:13] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:04:13] local.INFO: IMEI packet received {"connection_id":186144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":186144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:04:17] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:04:17] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:04:17] local.INFO: IMEI packet received {"connection_id":186144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":186144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:04:18] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:04:18] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:04:18] local.INFO: Packet analysis {"connection_id":186144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:04:18] local.INFO: Extracted packet for processing {"connection_id":186144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:04:18] 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-09-18 13:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:04:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:04:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":186144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:04:18] local.INFO: GPS data processed {"connection_id":186144,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:04:18] local.INFO: Acknowledgment sent {"connection_id":186144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:04:30] local.INFO: TCP Data received {"connection_id":185991,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:04:30] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:04:30] local.INFO: IMEI packet received {"connection_id":185991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":185991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:04:35] local.INFO: TCP Data received {"connection_id":185991,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:04:35] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:04:35] local.INFO: IMEI packet received {"connection_id":185991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":185991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:04:36] local.INFO: TCP Data received {"connection_id":185991,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36e7620012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36e7620012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:04:36] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36e7620012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:04:36] local.INFO: Packet analysis {"connection_id":185991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:04:36] local.INFO: Extracted packet for processing {"connection_id":185991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167484160001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562444288,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789716756000,"timestamp_ms":1789716756000,"timestamp_seconds":1789716756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36e7620"} 
[2026-09-18 13:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:04: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-09-18 13:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167484160001,"66":12928,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562444288},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167484160001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:04:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562444288,"description":"Unknown IO ID 45"} 
[2026-09-18 13:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167484160001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562444288}} 
[2026-09-18 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":185991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:04:37] local.INFO: GPS data processed {"connection_id":185991,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:04:37] local.INFO: Acknowledgment sent {"connection_id":185991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:04:39] local.INFO: TCP Data received {"connection_id":185991,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36ec828012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36ec828012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:04:39] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36ec828012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:04:39] local.INFO: Packet analysis {"connection_id":185991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:04:39] local.INFO: Extracted packet for processing {"connection_id":185991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36e"} 
[2026-09-18 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167489536001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789716777000,"timestamp_ms":1789716777000,"timestamp_seconds":1789716777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36ec828"} 
[2026-09-18 13:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:04: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-09-18 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-18 13:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167489536001,"66":12874,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167489536001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:04:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167489536001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":185991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:04:39] local.INFO: GPS data processed {"connection_id":185991,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:04:39] local.INFO: Acknowledgment sent {"connection_id":185991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:04:49] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:04:49] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:04:49] local.INFO: Packet analysis {"connection_id":186144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:04:49] local.INFO: Extracted packet for processing {"connection_id":186144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:04:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:04:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":186144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:04:49] local.INFO: GPS data processed {"connection_id":186144,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:04:49] local.INFO: Acknowledgment sent {"connection_id":186144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:05:11] local.INFO: TCP Data received {"connection_id":185991,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36f1a30012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36f1a30012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:05:11] local.INFO: Processing buffer {"connection_id":185991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36f1a30012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:05:11] local.INFO: Packet analysis {"connection_id":185991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36f"} 
[2026-09-18 13:05:11] local.INFO: Extracted packet for processing {"connection_id":185991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36f"} 
[2026-09-18 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167494912001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789716798000,"timestamp_ms":1789716798000,"timestamp_seconds":1789716798,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36f1a30"} 
[2026-09-18 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:05: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-09-18 13: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":74,"data_length":795,"current_offset":136} 
[2026-09-18 13:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167494912001,"66":12798,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167494912001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:05:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167494912001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":185991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:05:11] local.INFO: GPS data processed {"connection_id":185991,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:05:11] local.INFO: Acknowledgment sent {"connection_id":185991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:05:12] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:05:12] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:05:12] local.INFO: IMEI packet received {"connection_id":186145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":186145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:05:17] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:05:17] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:05:17] local.INFO: IMEI packet received {"connection_id":186145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":186145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:05:19] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:05:19] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:05:19] local.INFO: Packet analysis {"connection_id":186145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:05:19] local.INFO: Extracted packet for processing {"connection_id":186145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:05:19] 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-09-18 13:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:05:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:05:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":186145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:05:19] local.INFO: GPS data processed {"connection_id":186145,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:05:19] local.INFO: Acknowledgment sent {"connection_id":186145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:05:25] local.INFO: TCP Data received {"connection_id":187433,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:05:25] local.INFO: Processing buffer {"connection_id":187433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:05:25] local.INFO: IMEI packet received {"connection_id":187433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":187433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:05:30] local.INFO: TCP Data received {"connection_id":187433,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:05:30] local.INFO: Processing buffer {"connection_id":187433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:05:30] local.INFO: IMEI packet received {"connection_id":187433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":187433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:05:31] local.INFO: TCP Data received {"connection_id":187433,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36f6c38012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36f6c38012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:05:31] local.INFO: Processing buffer {"connection_id":187433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36f6c38012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:05:31] local.INFO: Packet analysis {"connection_id":187433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36f"} 
[2026-09-18 13:05:31] local.INFO: Extracted packet for processing {"connection_id":187433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36f"} 
[2026-09-18 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167500288001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716819000,"timestamp_ms":1789716819000,"timestamp_seconds":1789716819,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36f6c38"} 
[2026-09-18 13:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:05: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-09-18 13:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 13:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167500288001,"66":12287,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167500288001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167500288001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":187433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:05:31] local.INFO: GPS data processed {"connection_id":187433,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:05:31] local.INFO: Acknowledgment sent {"connection_id":187433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:05:36] local.INFO: TCP Data received {"connection_id":187433,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36fbe40012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36fbe40012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:05:36] local.INFO: Processing buffer {"connection_id":187433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36fbe40012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:05:36] local.INFO: Packet analysis {"connection_id":187433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36f"} 
[2026-09-18 13:05:36] local.INFO: Extracted packet for processing {"connection_id":187433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36f"} 
[2026-09-18 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167505664001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789716840000,"timestamp_ms":1789716840000,"timestamp_seconds":1789716840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36fbe40"} 
[2026-09-18 13:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 13:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167505664001,"66":12776,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167505664001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:05:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167505664001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":187433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:05:36] local.INFO: GPS data processed {"connection_id":187433,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:05:36] local.INFO: Acknowledgment sent {"connection_id":187433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:05:51] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:05:51] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:05:51] local.INFO: Packet analysis {"connection_id":186145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:05:51] local.INFO: Extracted packet for processing {"connection_id":186145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:05:51] 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-09-18 13: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-09-18 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:05:51] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:05:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":186145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:05:51] local.INFO: GPS data processed {"connection_id":186145,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:05:51] local.INFO: Acknowledgment sent {"connection_id":186145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:06:07] local.INFO: TCP Data received {"connection_id":187433,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3701048012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3701048012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:06:07] local.INFO: Processing buffer {"connection_id":187433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3701048012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:06:07] local.INFO: Packet analysis {"connection_id":187433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b370"} 
[2026-09-18 13:06:07] local.INFO: Extracted packet for processing {"connection_id":187433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b370"} 
[2026-09-18 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167511040001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789716861000,"timestamp_ms":1789716861000,"timestamp_seconds":1789716861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3701048"} 
[2026-09-18 13:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:06: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-09-18 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 13:06: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-09-18 13:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167511040001,"66":12809,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167511040001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:06:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167511040001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":187433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:06:08] local.INFO: GPS data processed {"connection_id":187433,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:06:08] local.INFO: Acknowledgment sent {"connection_id":187433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:06:12] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:06:12] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:06:12] local.INFO: IMEI packet received {"connection_id":185992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":185992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:06:17] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:06:17] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:06:17] local.INFO: IMEI packet received {"connection_id":185992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":185992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:06:18] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:06:18] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b36cad18012d4ce0c0068f46600046007328..."} 
[2026-09-18 13:06:18] local.INFO: Packet analysis {"connection_id":185992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:06:18] local.INFO: Extracted packet for processing {"connection_id":185992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b36c"} 
[2026-09-18 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":40,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167382528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716639000,"timestamp_ms":1789716639000,"timestamp_seconds":1789716639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b36cad18"} 
[2026-09-18 13:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:06:18] 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-09-18 13:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167382528001,"66":26039,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167382528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:06:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:06:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167382528001,"power":26039,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":185992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:06:18] local.INFO: GPS data processed {"connection_id":185992,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:06:18] local.INFO: Acknowledgment sent {"connection_id":185992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:06:23] local.INFO: TCP Data received {"connection_id":188760,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:23] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:23] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:06:25] local.INFO: TCP Data received {"connection_id":188760,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:25] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:25] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:06:30] local.INFO: TCP Data received {"connection_id":188760,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:30] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:06:30] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:06:32] local.INFO: TCP Data received {"connection_id":188760,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3706250012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3706250012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:06:32] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3706250012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:06:32] local.INFO: Packet analysis {"connection_id":188760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b370"} 
[2026-09-18 13:06:32] local.INFO: Extracted packet for processing {"connection_id":188760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b370"} 
[2026-09-18 13:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167516416001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789716882000,"timestamp_ms":1789716882000,"timestamp_seconds":1789716882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3706250"} 
[2026-09-18 13:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:06: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-09-18 13: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":9,"data_length":795,"current_offset":136} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010339864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":179,"raw_value":7934295813408694080,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427396219962660395,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,180,160,190,45,64,176,76,42,10,66,108,43,26,1,240,254,179,33,4,113,205,118,31,184,239,50,2,75,7,124],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:06:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772064830423040,"timestamp_seconds":5476772064830423.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167516416001,"66":12743,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167516416001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:06:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167516416001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":188760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:06:32] local.INFO: GPS data processed {"connection_id":188760,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:06:32] local.INFO: Acknowledgment sent {"connection_id":188760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:06:50] local.INFO: TCP Data received {"connection_id":185992,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:06:50] local.INFO: Processing buffer {"connection_id":185992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:06:50] local.INFO: Packet analysis {"connection_id":185992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:06:50] local.INFO: Extracted packet for processing {"connection_id":185992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:06:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:06:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":185992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:06:50] local.INFO: GPS data processed {"connection_id":185992,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:06:50] local.INFO: Acknowledgment sent {"connection_id":185992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:07:03] local.INFO: TCP Data received {"connection_id":188760,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b370b458012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b370b458012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:07:03] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b370b458012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:07:03] local.INFO: Packet analysis {"connection_id":188760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b370"} 
[2026-09-18 13:07:03] local.INFO: Extracted packet for processing {"connection_id":188760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b370"} 
[2026-09-18 13:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167521792001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716903000,"timestamp_ms":1789716903000,"timestamp_seconds":1789716903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b370b458"} 
[2026-09-18 13:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":199,"data_length":795,"current_offset":136} 
[2026-09-18 13:07: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-09-18 13:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167521792001,"66":12776,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167521792001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167521792001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":188760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:07:03] local.INFO: GPS data processed {"connection_id":188760,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:07:03] local.INFO: Acknowledgment sent {"connection_id":188760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:07:12] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:07:12] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:07:12] local.INFO: IMEI packet received {"connection_id":187434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":187434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:07:17] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:07:17] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:07:17] local.INFO: IMEI packet received {"connection_id":187434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":187434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:07:18] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:07:18] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:07:18] local.INFO: Packet analysis {"connection_id":187434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:07:18] local.INFO: Extracted packet for processing {"connection_id":187434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:07:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:07:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":187434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:07:18] local.INFO: GPS data processed {"connection_id":187434,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:07:18] local.INFO: Acknowledgment sent {"connection_id":187434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:07:25] local.INFO: TCP Data received {"connection_id":186146,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:25] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:25] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:07:26] local.INFO: TCP Data received {"connection_id":186146,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:26] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:26] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:07:30] local.INFO: TCP Data received {"connection_id":186146,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:30] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:07:30] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:07:31] local.INFO: TCP Data received {"connection_id":186146,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3710660012d181f400721b0b8004c016729..."} 
[2026-09-18 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3710660012d181f400721b0b8004c016729..."} 
[2026-09-18 13:07:31] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3710660012d181f400721b0b8004c016729..."} 
[2026-09-18 13:07:31] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:07:31] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167527168001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716924000,"timestamp_ms":1789716924000,"timestamp_seconds":1789716924,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3710660"} 
[2026-09-18 13:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:07: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-09-18 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 13:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167527168001,"66":12722,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167527168001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167527168001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:07:32] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:07:32] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:07:50] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:07:50] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:07:50] local.INFO: Packet analysis {"connection_id":187434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:07:50] local.INFO: Extracted packet for processing {"connection_id":187434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:07:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:07:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":187434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:07:50] local.INFO: GPS data processed {"connection_id":187434,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:07:50] local.INFO: Acknowledgment sent {"connection_id":187434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:08:03] local.INFO: TCP Data received {"connection_id":186146,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3715868012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3715868012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:08:03] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3715868012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:08:03] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:03] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167532544001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789716945000,"timestamp_ms":1789716945000,"timestamp_seconds":1789716945,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3715868"} 
[2026-09-18 13:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:08: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-09-18 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 13:08: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-09-18 13: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-09-18 13:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167532544001,"66":12113,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167532544001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167532544001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:08:04] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:08:04] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:08:12] local.INFO: TCP Data received {"connection_id":188761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:08:12] local.INFO: Processing buffer {"connection_id":188761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:08:12] local.INFO: IMEI packet received {"connection_id":188761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":188761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:08:17] local.INFO: TCP Data received {"connection_id":188761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:08:17] local.INFO: Processing buffer {"connection_id":188761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:08:17] local.INFO: IMEI packet received {"connection_id":188761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":188761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:08:18] local.INFO: TCP Data received {"connection_id":188761,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:08:18] local.INFO: Processing buffer {"connection_id":188761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:08:18] local.INFO: Packet analysis {"connection_id":188761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:18] local.INFO: Extracted packet for processing {"connection_id":188761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:08:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:08:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":188761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:08:18] local.INFO: GPS data processed {"connection_id":188761,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:08:18] local.INFO: Acknowledgment sent {"connection_id":188761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:08:25] local.INFO: TCP Data received {"connection_id":187435,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:08:25] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:08:25] local.INFO: IMEI packet received {"connection_id":187435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":187435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:08:30] local.INFO: TCP Data received {"connection_id":187435,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:08:30] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:08:30] local.INFO: IMEI packet received {"connection_id":187435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":187435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:08:31] local.INFO: TCP Data received {"connection_id":187435,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b371aa70012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b371aa70012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:08:31] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b371aa70012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:08:31] local.INFO: Packet analysis {"connection_id":187435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:31] local.INFO: Extracted packet for processing {"connection_id":187435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167537920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789716966000,"timestamp_ms":1789716966000,"timestamp_seconds":1789716966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b371aa70"} 
[2026-09-18 13:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:08: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-09-18 13: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 13:08: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-09-18 13: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-09-18 13:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167537920001,"66":12711,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167537920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:08:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167537920001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":187435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:08:31] local.INFO: GPS data processed {"connection_id":187435,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:08:31] local.INFO: Acknowledgment sent {"connection_id":187435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:08:41] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:08:41] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:08:41] local.INFO: IMEI packet received {"connection_id":186147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":186147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:08:49] local.INFO: TCP Data received {"connection_id":188761,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:08:49] local.INFO: Processing buffer {"connection_id":188761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:08:49] local.INFO: Packet analysis {"connection_id":188761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:49] local.INFO: Extracted packet for processing {"connection_id":188761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:08:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:08:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:08:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":188761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:08:49] local.INFO: GPS data processed {"connection_id":188761,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:08:49] local.INFO: Acknowledgment sent {"connection_id":188761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:09:02] local.INFO: TCP Data received {"connection_id":187435,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b371fc78012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b371fc78012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:09:02] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b371fc78012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:09:02] local.INFO: Packet analysis {"connection_id":187435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:02] local.INFO: Extracted packet for processing {"connection_id":187435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167543296001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789716987000,"timestamp_ms":1789716987000,"timestamp_seconds":1789716987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b371fc78"} 
[2026-09-18 13:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:09: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-09-18 13: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 13:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167543296001,"66":12667,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167543296001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:09:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167543296001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":187435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:09:03] local.INFO: GPS data processed {"connection_id":187435,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:09:03] local.INFO: Acknowledgment sent {"connection_id":187435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:09:14] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:09:14] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:09:14] local.INFO: IMEI packet received {"connection_id":186148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:09:17] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:09:17] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:09:17] local.INFO: IMEI packet received {"connection_id":186148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":186148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:09:18] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:18] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:18] local.INFO: Packet analysis {"connection_id":186148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:18] local.INFO: Extracted packet for processing {"connection_id":186148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:09:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:09:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":186148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:09:18] local.INFO: GPS data processed {"connection_id":186148,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:09:18] local.INFO: Acknowledgment sent {"connection_id":186148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:09:25] local.INFO: TCP Data received {"connection_id":185993,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:09:25] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:09:25] local.INFO: IMEI packet received {"connection_id":185993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":185993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:09:25] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:25] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:25] local.INFO: Packet analysis {"connection_id":186148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:25] local.INFO: Extracted packet for processing {"connection_id":186148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:25] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:09:25] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:09:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":186148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:09:25] local.INFO: GPS data processed {"connection_id":186148,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:09:25] local.INFO: Acknowledgment sent {"connection_id":186148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:09:30] local.INFO: TCP Data received {"connection_id":185993,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:09:30] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:09:30] local.INFO: IMEI packet received {"connection_id":185993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":185993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:09:32] local.INFO: TCP Data received {"connection_id":185993,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3724e80012d181f400721b0b8004c016724..."} 
[2026-09-18 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3724e80012d181f400721b0b8004c016724..."} 
[2026-09-18 13:09:32] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3724e80012d181f400721b0b8004c016724..."} 
[2026-09-18 13:09:32] local.INFO: Packet analysis {"connection_id":185993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b372"} 
[2026-09-18 13:09:32] local.INFO: Extracted packet for processing {"connection_id":185993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b372"} 
[2026-09-18 13:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167548672001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789717008000,"timestamp_ms":1789717008000,"timestamp_seconds":1789717008,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3724e80"} 
[2026-09-18 13:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:09: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-09-18 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 13:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167548672001,"66":12667,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167548672001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:09:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167548672001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":185993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:09:32] local.INFO: GPS data processed {"connection_id":185993,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:09:32] local.INFO: Acknowledgment sent {"connection_id":185993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:09:56] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:56] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:09:56] local.INFO: Packet analysis {"connection_id":186148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:56] local.INFO: Extracted packet for processing {"connection_id":186148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:09:56] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:09:56] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:09:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":186148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:09:56] local.INFO: GPS data processed {"connection_id":186148,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:09:56] local.INFO: Acknowledgment sent {"connection_id":186148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:10:03] local.INFO: TCP Data received {"connection_id":185993,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b372a088012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b372a088012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:10:03] local.INFO: Processing buffer {"connection_id":185993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b372a088012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:10:03] local.INFO: Packet analysis {"connection_id":185993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b372"} 
[2026-09-18 13:10:03] local.INFO: Extracted packet for processing {"connection_id":185993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b372"} 
[2026-09-18 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167554048001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717029000,"timestamp_ms":1789717029000,"timestamp_seconds":1789717029,"priority":1,"record_length":96,"hex_timestamp":"000001a0b372a088"} 
[2026-09-18 13:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:10: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-09-18 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 13:10: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-09-18 13:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167554048001,"66":12678,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167554048001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:10:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167554048001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":185993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:10:03] local.INFO: GPS data processed {"connection_id":185993,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:10:03] local.INFO: Acknowledgment sent {"connection_id":185993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:10:12] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:10:12] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:10:12] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:10:17] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:10:17] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:10:17] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:10:19] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:10:19] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:10:19] local.INFO: Packet analysis {"connection_id":188762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:10:19] local.INFO: Extracted packet for processing {"connection_id":188762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:10:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:10:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:10:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":188762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:10:19] local.INFO: GPS data processed {"connection_id":188762,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:10:19] local.INFO: Acknowledgment sent {"connection_id":188762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:10:30] local.INFO: TCP Data received {"connection_id":186149,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:10:30] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:10:30] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:10:35] local.INFO: TCP Data received {"connection_id":186149,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:10:35] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:10:35] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:10:36] local.INFO: TCP Data received {"connection_id":186149,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b372f290012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b372f290012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:10:36] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b372f290012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:10:36] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b372"} 
[2026-09-18 13:10:36] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b372"} 
[2026-09-18 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167559424001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789717050000,"timestamp_ms":1789717050000,"timestamp_seconds":1789717050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b372f290"} 
[2026-09-18 13:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:10: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-09-18 13:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 13:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167559424001,"66":12667,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167559424001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:10:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167559424001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:10:37] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:10:37] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:10:38] local.INFO: TCP Data received {"connection_id":186149,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3734498012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3734498012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:10:38] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3734498012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:10:38] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b373"} 
[2026-09-18 13:10:38] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b373"} 
[2026-09-18 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167564800001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789717071000,"timestamp_ms":1789717071000,"timestamp_seconds":1789717071,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3734498"} 
[2026-09-18 13:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 13:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167564800001,"66":12613,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167564800001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:10:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167564800001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:10:38] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:10:38] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:10:50] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:10:50] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:10:50] local.INFO: Packet analysis {"connection_id":188762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:10:50] local.INFO: Extracted packet for processing {"connection_id":188762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:10:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:10:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:10:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":188762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:10:50] local.INFO: GPS data processed {"connection_id":188762,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:10:50] local.INFO: Acknowledgment sent {"connection_id":188762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:11:09] local.INFO: TCP Data received {"connection_id":186149,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37396a0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37396a0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:11:09] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37396a0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:11:09] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b373"} 
[2026-09-18 13:11:09] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b373"} 
[2026-09-18 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167570176001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789717092000,"timestamp_ms":1789717092000,"timestamp_seconds":1789717092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37396a0"} 
[2026-09-18 13:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:11: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-09-18 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 13:11: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-09-18 13:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167570176001,"66":12645,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167570176001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:11:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167570176001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:11:09] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:11:09] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:11:12] local.INFO: TCP Data received {"connection_id":188763,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:11:12] local.INFO: Processing buffer {"connection_id":188763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:11:12] local.INFO: IMEI packet received {"connection_id":188763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":188763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:11:17] local.INFO: TCP Data received {"connection_id":188763,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:11:17] local.INFO: Processing buffer {"connection_id":188763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:11:17] local.INFO: IMEI packet received {"connection_id":188763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":188763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:11:18] local.INFO: TCP Data received {"connection_id":188763,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:11:18] local.INFO: Processing buffer {"connection_id":188763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37144e0012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:11:18] local.INFO: Packet analysis {"connection_id":188763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:11:18] local.INFO: Extracted packet for processing {"connection_id":188763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b371"} 
[2026-09-18 13:11:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167459584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789716940000,"timestamp_ms":1789716940000,"timestamp_seconds":1789716940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37144e0"} 
[2026-09-18 13:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 13:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167459584001,"66":26006,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167459584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:11:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:11:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167459584001,"power":26006,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":188763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:11:18] local.INFO: GPS data processed {"connection_id":188763,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:11:18] local.INFO: Acknowledgment sent {"connection_id":188763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:11:25] local.INFO: TCP Data received {"connection_id":185994,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:11:25] local.INFO: Processing buffer {"connection_id":185994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:11:25] local.INFO: IMEI packet received {"connection_id":185994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":185994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:11:30] local.INFO: TCP Data received {"connection_id":185994,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:11:30] local.INFO: Processing buffer {"connection_id":185994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:11:30] local.INFO: IMEI packet received {"connection_id":185994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":185994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:11:31] local.INFO: TCP Data received {"connection_id":185994,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b373e8a8012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b373e8a8012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:11:31] local.INFO: Processing buffer {"connection_id":185994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b373e8a8012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:11:31] local.INFO: Packet analysis {"connection_id":185994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b373"} 
[2026-09-18 13:11:31] local.INFO: Extracted packet for processing {"connection_id":185994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b373"} 
[2026-09-18 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167575552001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717113000,"timestamp_ms":1789717113000,"timestamp_seconds":1789717113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b373e8a8"} 
[2026-09-18 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-09-18 13:11: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-09-18 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 13:11: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-09-18 13: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-09-18 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-09-18 13:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167575552001,"66":12602,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167575552001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167575552001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":185994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:11:32] local.INFO: GPS data processed {"connection_id":185994,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:11:32] local.INFO: Acknowledgment sent {"connection_id":185994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:11:50] local.INFO: TCP Data received {"connection_id":188763,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:11:50] local.INFO: Processing buffer {"connection_id":188763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:11:50] local.INFO: Packet analysis {"connection_id":188763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:11:50] local.INFO: Extracted packet for processing {"connection_id":188763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:11:50] 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-09-18 13:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:11:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:11:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":188763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:11:50] local.INFO: GPS data processed {"connection_id":188763,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:11:50] local.INFO: Acknowledgment sent {"connection_id":188763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:12:04] local.INFO: TCP Data received {"connection_id":185994,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3743ab0012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3743ab0012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:12:04] local.INFO: Processing buffer {"connection_id":185994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3743ab0012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:12:04] local.INFO: Packet analysis {"connection_id":185994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b374"} 
[2026-09-18 13:12:04] local.INFO: Extracted packet for processing {"connection_id":185994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b374"} 
[2026-09-18 13:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167580928001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789717134000,"timestamp_ms":1789717134000,"timestamp_seconds":1789717134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3743ab0"} 
[2026-09-18 13:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:12: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-09-18 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-18 13:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167580928001,"66":12135,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167580928001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:12:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167580928001,"power":12135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":185994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:12:04] local.INFO: GPS data processed {"connection_id":185994,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:12:04] local.INFO: Acknowledgment sent {"connection_id":185994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:12:17] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:12:17] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:12:17] local.INFO: IMEI packet received {"connection_id":186150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:12:22] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:12:22] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:12:22] local.INFO: IMEI packet received {"connection_id":186150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":186150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:12:23] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:12:23] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:12:23] local.INFO: Packet analysis {"connection_id":186150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:12:23] local.INFO: Extracted packet for processing {"connection_id":186150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:12:23] 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-09-18 13:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:12:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:12:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":186150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:12:23] local.INFO: GPS data processed {"connection_id":186150,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:12:23] local.INFO: Acknowledgment sent {"connection_id":186150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:12:25] local.INFO: TCP Data received {"connection_id":187436,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:12:25] local.INFO: Processing buffer {"connection_id":187436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:12:25] local.INFO: IMEI packet received {"connection_id":187436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":187436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:12:28] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:12:28] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:12:28] local.INFO: Packet analysis {"connection_id":186150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:12:28] local.INFO: Extracted packet for processing {"connection_id":186150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:12:28] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:12:28] 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-09-18 13:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:12:28] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:12:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":186150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:12:28] local.INFO: GPS data processed {"connection_id":186150,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:12:28] local.INFO: Acknowledgment sent {"connection_id":186150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:12:30] local.INFO: TCP Data received {"connection_id":187436,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:12:30] local.INFO: Processing buffer {"connection_id":187436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:12:30] local.INFO: IMEI packet received {"connection_id":187436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":187436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:12:31] local.INFO: TCP Data received {"connection_id":187436,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3748cb8012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3748cb8012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:12:31] local.INFO: Processing buffer {"connection_id":187436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3748cb8012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:12:31] local.INFO: Packet analysis {"connection_id":187436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b374"} 
[2026-09-18 13:12:31] local.INFO: Extracted packet for processing {"connection_id":187436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b374"} 
[2026-09-18 13:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167586304001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717155000,"timestamp_ms":1789717155000,"timestamp_seconds":1789717155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3748cb8"} 
[2026-09-18 13:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:12: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-09-18 13: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 13:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167586304001,"66":12558,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167586304001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167586304001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":187436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:12:31] local.INFO: GPS data processed {"connection_id":187436,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:12:31] local.INFO: Acknowledgment sent {"connection_id":187436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:13:03] local.INFO: TCP Data received {"connection_id":187436,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b374dec0012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b374dec0012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:13:03] local.INFO: Processing buffer {"connection_id":187436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b374dec0012d181f400721b0b8004c01672a..."} 
[2026-09-18 13:13:03] local.INFO: Packet analysis {"connection_id":187436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b374"} 
[2026-09-18 13:13:03] local.INFO: Extracted packet for processing {"connection_id":187436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b374"} 
[2026-09-18 13:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167591680001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717176000,"timestamp_ms":1789717176000,"timestamp_seconds":1789717176,"priority":1,"record_length":96,"hex_timestamp":"000001a0b374dec0"} 
[2026-09-18 13:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:13: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-09-18 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010633864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829304,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,180,160,58,45,64,176,76,43,10,66,232,150,1,240,101,179,33,4,113,205,242,31,184,44,239,49,2,75,7,231,78,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:13:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772064830423040,"timestamp_seconds":5476772064830423.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167591680001,"66":12341,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167591680001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167591680001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":187436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:13:03] local.INFO: GPS data processed {"connection_id":187436,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:13:03] local.INFO: Acknowledgment sent {"connection_id":187436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:13:12] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:13:12] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:13:12] local.INFO: IMEI packet received {"connection_id":187437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":187437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:13:17] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:13:17] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:13:17] local.INFO: IMEI packet received {"connection_id":187437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":187437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:13:18] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:13:18] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:13:18] local.INFO: Packet analysis {"connection_id":187437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:13:18] local.INFO: Extracted packet for processing {"connection_id":187437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:13:18] 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-09-18 13:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:13:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:13:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":187437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:13:18] local.INFO: GPS data processed {"connection_id":187437,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:13:18] local.INFO: Acknowledgment sent {"connection_id":187437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:13:23] local.INFO: TCP Data received {"connection_id":187438,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:23] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:23] local.INFO: IMEI packet received {"connection_id":187438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":187438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:13:25] local.INFO: TCP Data received {"connection_id":187438,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:25] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:25] local.INFO: IMEI packet received {"connection_id":187438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":187438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:13:30] local.INFO: TCP Data received {"connection_id":187438,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:30] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:13:30] local.INFO: IMEI packet received {"connection_id":187438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":187438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:13:31] local.INFO: TCP Data received {"connection_id":187438,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37530c8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37530c8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:13:31] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37530c8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:13:31] local.INFO: Packet analysis {"connection_id":187438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:13:31] local.INFO: Extracted packet for processing {"connection_id":187438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167597056001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717197000,"timestamp_ms":1789717197000,"timestamp_seconds":1789717197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37530c8"} 
[2026-09-18 13:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:13: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-09-18 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 13:13: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-09-18 13: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-09-18 13:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167597056001,"66":12548,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167597056001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167597056001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":187438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:13:32] local.INFO: GPS data processed {"connection_id":187438,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:13:32] local.INFO: Acknowledgment sent {"connection_id":187438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:13:50] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:13:50] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:13:50] local.INFO: Packet analysis {"connection_id":187437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:13:50] local.INFO: Extracted packet for processing {"connection_id":187437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:13:50] 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-09-18 13:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:13:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:13:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":187437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:13:50] local.INFO: GPS data processed {"connection_id":187437,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:13:50] local.INFO: Acknowledgment sent {"connection_id":187437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:14:03] local.INFO: TCP Data received {"connection_id":187438,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37582d0012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37582d0012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:14:03] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37582d0012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:14:03] local.INFO: Packet analysis {"connection_id":187438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:03] local.INFO: Extracted packet for processing {"connection_id":187438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167602432001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717218000,"timestamp_ms":1789717218000,"timestamp_seconds":1789717218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37582d0"} 
[2026-09-18 13:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010675864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,180,160,222,45,64,176,76,42,10,66,140,58,1,240,103,179,33,4,113,205,150,31,184,46,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:14:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772060535455744,"timestamp_seconds":5476772060535456.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167602432001,"66":12548,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167602432001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167602432001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":187438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:14:03] local.INFO: GPS data processed {"connection_id":187438,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:14:03] local.INFO: Acknowledgment sent {"connection_id":187438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:14:12] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:14:12] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:14:12] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:14:16] local.INFO: TCP Data received {"connection_id":185995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:14:16] local.INFO: Processing buffer {"connection_id":185995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:14:16] local.INFO: IMEI packet received {"connection_id":185995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":185995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:14:17] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:14:17] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:14:17] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:14:18] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:14:18] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:14:18] local.INFO: Packet analysis {"connection_id":186151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:18] local.INFO: Extracted packet for processing {"connection_id":186151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:14:18] 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-09-18 13:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:14:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:14:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":186151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:14:18] local.INFO: GPS data processed {"connection_id":186151,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:14:18] local.INFO: Acknowledgment sent {"connection_id":186151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:14:25] local.INFO: TCP Data received {"connection_id":185996,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:25] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:25] local.INFO: IMEI packet received {"connection_id":185996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":185996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:14:26] local.INFO: TCP Data received {"connection_id":185996,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:26] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:26] local.INFO: IMEI packet received {"connection_id":185996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":185996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:14:30] local.INFO: TCP Data received {"connection_id":185996,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:30] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:14:30] local.INFO: IMEI packet received {"connection_id":185996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":185996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:14:31] local.INFO: TCP Data received {"connection_id":185996,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375d4d8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375d4d8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:14:31] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375d4d8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:14:31] local.INFO: Packet analysis {"connection_id":185996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:31] local.INFO: Extracted packet for processing {"connection_id":185996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167607808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717239000,"timestamp_ms":1789717239000,"timestamp_seconds":1789717239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375d4d8"} 
[2026-09-18 13:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:14: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-09-18 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010696864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,180,160,48,45,64,176,76,44,10,66,222,42,140,1,240,14,179,33,4,113,205,232,31,184,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:14:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772056240488448,"timestamp_seconds":5476772056240488.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167607808001,"66":12548,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167607808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167607808001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":185996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:14:32] local.INFO: GPS data processed {"connection_id":185996,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:14:32] local.INFO: Acknowledgment sent {"connection_id":185996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:14:50] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:14:50] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:14:50] local.INFO: Packet analysis {"connection_id":186151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:50] local.INFO: Extracted packet for processing {"connection_id":186151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:14:50] 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-09-18 13:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:14:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:14:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":186151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:14:50] local.INFO: GPS data processed {"connection_id":186151,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:14:50] local.INFO: Acknowledgment sent {"connection_id":186151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:15:03] local.INFO: TCP Data received {"connection_id":185996,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37626e0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37626e0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:15:03] local.INFO: Processing buffer {"connection_id":185996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37626e0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:15:03] local.INFO: Packet analysis {"connection_id":185996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b376"} 
[2026-09-18 13:15:03] local.INFO: Extracted packet for processing {"connection_id":185996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b376"} 
[2026-09-18 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613184001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717260000,"timestamp_ms":1789717260000,"timestamp_seconds":1789717260,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37626e0"} 
[2026-09-18 13:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:15: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-09-18 13:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010717864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,180,160,130,45,64,176,76,43,10,66,48,44,222,1,240,53,179,33,4,113,205,58,31,184,239,47,2,75,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:15:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772060535455744,"timestamp_seconds":5476772060535456.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613184001,"66":12548,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613184001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613184001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":185996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:15:03] local.INFO: GPS data processed {"connection_id":185996,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:15:03] local.INFO: Acknowledgment sent {"connection_id":185996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:15:12] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:15:12] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:15:12] local.INFO: IMEI packet received {"connection_id":188764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":188764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:15:17] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:15:17] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:15:17] local.INFO: IMEI packet received {"connection_id":188764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:15:18] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:15:18] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:15:18] local.INFO: Packet analysis {"connection_id":188764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:15:18] local.INFO: Extracted packet for processing {"connection_id":188764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:15:18] 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-09-18 13:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:15:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:15:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:15:18] local.INFO: GPS data processed {"connection_id":188764,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:15:18] local.INFO: Acknowledgment sent {"connection_id":188764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:15:25] local.INFO: TCP Data received {"connection_id":187439,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:25] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:25] local.INFO: IMEI packet received {"connection_id":187439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":187439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:15:29] local.INFO: TCP Data received {"connection_id":187439,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:29] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:29] local.INFO: IMEI packet received {"connection_id":187439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":187439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:15:30] local.INFO: TCP Data received {"connection_id":187439,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:30] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:15:30] local.INFO: IMEI packet received {"connection_id":187439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":187439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:15:31] local.INFO: TCP Data received {"connection_id":187439,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37678e8012d181f400721b0b8004c016729..."} 
[2026-09-18 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37678e8012d181f400721b0b8004c016729..."} 
[2026-09-18 13:15:31] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37678e8012d181f400721b0b8004c016729..."} 
[2026-09-18 13:15:31] local.INFO: Packet analysis {"connection_id":187439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b376"} 
[2026-09-18 13:15:31] local.INFO: Extracted packet for processing {"connection_id":187439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b376"} 
[2026-09-18 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167618560001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717281000,"timestamp_ms":1789717281000,"timestamp_seconds":1789717281,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37678e8"} 
[2026-09-18 13:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010738864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184169963725,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:31] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,180,160,212,45,64,176,76,44,10,66,130,43,48,1,240,4,179,33,113,205,140,31,184,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:15:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772069125390336,"timestamp_seconds":5476772069125390.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167618560001,"66":12537,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167618560001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167618560001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":187439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:15:31] local.INFO: GPS data processed {"connection_id":187439,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:15:31] local.INFO: Acknowledgment sent {"connection_id":187439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:15:35] local.INFO: TCP Data received {"connection_id":187439,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b376caf0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b376caf0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:15:35] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b376caf0012d181f400721b0b8004c01672e..."} 
[2026-09-18 13:15:35] local.INFO: Packet analysis {"connection_id":187439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b376"} 
[2026-09-18 13:15:35] local.INFO: Extracted packet for processing {"connection_id":187439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b376"} 
[2026-09-18 13:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167623936001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789717302000,"timestamp_ms":1789717302000,"timestamp_seconds":1789717302,"priority":1,"record_length":96,"hex_timestamp":"000001a0b376caf0"} 
[2026-09-18 13:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:15: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-09-18 13: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 13:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167623936001,"66":12548,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167623936001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:15:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167623936001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":187439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:15:35] local.INFO: GPS data processed {"connection_id":187439,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:15:35] local.INFO: Acknowledgment sent {"connection_id":187439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:15:49] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:15:49] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:15:49] local.INFO: Packet analysis {"connection_id":188764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:15:49] local.INFO: Extracted packet for processing {"connection_id":188764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:15:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:15:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:15:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":188764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:15:49] local.INFO: GPS data processed {"connection_id":188764,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:15:49] local.INFO: Acknowledgment sent {"connection_id":188764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:16:07] local.INFO: TCP Data received {"connection_id":187439,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3771cf8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3771cf8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:16:07] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3771cf8012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:16:07] local.INFO: Packet analysis {"connection_id":187439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b377"} 
[2026-09-18 13:16:07] local.INFO: Extracted packet for processing {"connection_id":187439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b377"} 
[2026-09-18 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167629312001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789717323000,"timestamp_ms":1789717323000,"timestamp_seconds":1789717323,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3771cf8"} 
[2026-09-18 13:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:16: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-09-18 13:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010780864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184183464141,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,180,160,45,64,176,76,41,10,66,38,46,212,1,240,4,179,33,113,205,48,31,184,44,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:16:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772069125390336,"timestamp_seconds":5476772069125390.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167629312001,"66":12558,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167629312001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:16:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167629312001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":187439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:16:07] local.INFO: GPS data processed {"connection_id":187439,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:16:07] local.INFO: Acknowledgment sent {"connection_id":187439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:16:12] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:16:12] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:16:12] local.INFO: IMEI packet received {"connection_id":185997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":185997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:16:17] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:16:17] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:16:17] local.INFO: IMEI packet received {"connection_id":185997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":185997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:16:19] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:16:19] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b375dca8012d4ce0c0068f46600046007329..."} 
[2026-09-18 13:16:19] local.INFO: Packet analysis {"connection_id":185997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:16:19] local.INFO: Extracted packet for processing {"connection_id":185997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b375"} 
[2026-09-18 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167536640001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789717241000,"timestamp_ms":1789717241000,"timestamp_seconds":1789717241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b375dca8"} 
[2026-09-18 13:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 13:16:19] 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-09-18 13:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167536640001,"66":24810,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167536640001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:16:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:16:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167536640001,"power":24810,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":185997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:16:19] local.INFO: GPS data processed {"connection_id":185997,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:16:19] local.INFO: Acknowledgment sent {"connection_id":185997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:16:30] local.INFO: TCP Data received {"connection_id":188765,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:16:30] local.INFO: Processing buffer {"connection_id":188765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:16:30] local.INFO: IMEI packet received {"connection_id":188765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":188765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:16:32] local.INFO: TCP Data received {"connection_id":188765,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:16:32] local.INFO: Processing buffer {"connection_id":188765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:16:32] local.INFO: IMEI packet received {"connection_id":188765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":188765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:16:33] local.INFO: TCP Data received {"connection_id":188765,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3776f00012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3776f00012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:16:33] local.INFO: Processing buffer {"connection_id":188765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3776f00012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:16:33] local.INFO: Packet analysis {"connection_id":188765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b377"} 
[2026-09-18 13:16:33] local.INFO: Extracted packet for processing {"connection_id":188765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b377"} 
[2026-09-18 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167634688001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789717344000,"timestamp_ms":1789717344000,"timestamp_seconds":1789717344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3776f00"} 
[2026-09-18 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-09-18 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-09-18 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010801864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":61441,"corrected_to":0} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829304,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,180,160,202,45,64,176,76,46,10,66,41,38,1,240,4,179,33,113,205,130,31,184,43,239,49,2,75,7,231,79,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":202,"original":61441,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:16:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772060535455744,"timestamp_seconds":5476772060535456.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 13:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167634688001,"66":12548,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167634688001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:16:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:16:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167634688001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":188765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:16:33] local.INFO: GPS data processed {"connection_id":188765,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:16:33] local.INFO: Acknowledgment sent {"connection_id":188765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:16:35] local.INFO: TCP Data received {"connection_id":188765,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b377c108012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b377c108012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:16:35] local.INFO: Processing buffer {"connection_id":188765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b377c108012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:16:35] local.INFO: Packet analysis {"connection_id":188765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b377"} 
[2026-09-18 13:16:35] local.INFO: Extracted packet for processing {"connection_id":188765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b377"} 
[2026-09-18 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167640064001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789717365000,"timestamp_ms":1789717365000,"timestamp_seconds":1789717365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b377c108"} 
[2026-09-18 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-09-18 13:16: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-09-18 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":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3010822864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":61441,"corrected_to":0} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2964848716,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023241216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,180,160,45,64,176,76,44,10,66,202,46,1,240,249,179,33,4,113,205,212,31,184,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":202,"original":61441,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:16:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772056240488448,"timestamp_seconds":5476772056240488.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 13:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167640064001,"66":12526,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167640064001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:16:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167640064001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":188765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:16:35] local.INFO: GPS data processed {"connection_id":188765,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:16:35] local.INFO: Acknowledgment sent {"connection_id":188765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:16:50] local.INFO: TCP Data received {"connection_id":185997,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:16:50] local.INFO: Processing buffer {"connection_id":185997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:16:50] local.INFO: Packet analysis {"connection_id":185997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:16:50] local.INFO: Extracted packet for processing {"connection_id":185997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:16:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:16:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":185997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:16:50] local.INFO: GPS data processed {"connection_id":185997,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:16:50] local.INFO: Acknowledgment sent {"connection_id":185997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:17:07] local.INFO: TCP Data received {"connection_id":188765,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3781310012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3781310012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:17:07] local.INFO: Processing buffer {"connection_id":188765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3781310012d181f400721b0b8004c01672c..."} 
[2026-09-18 13:17:07] local.INFO: Packet analysis {"connection_id":188765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b378"} 
[2026-09-18 13:17:07] local.INFO: Extracted packet for processing {"connection_id":188765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b378"} 
[2026-09-18 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167645440001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789717386000,"timestamp_ms":1789717386000,"timestamp_seconds":1789717386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3781310"} 
[2026-09-18 13:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:17: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-09-18 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 13:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167645440001,"66":12515,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167645440001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:17:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167645440001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":188765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:17:07] local.INFO: GPS data processed {"connection_id":188765,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:17:07] local.INFO: Acknowledgment sent {"connection_id":188765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:17:12] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:17:12] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:17:12] local.INFO: IMEI packet received {"connection_id":188766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":188766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:17:17] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:17:17] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:17:17] local.INFO: IMEI packet received {"connection_id":188766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":188766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:17:18] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:17:18] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:17:18] local.INFO: Packet analysis {"connection_id":188766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:17:18] local.INFO: Extracted packet for processing {"connection_id":188766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:17:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:17:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:17:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":188766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:17:19] local.INFO: GPS data processed {"connection_id":188766,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:17:19] local.INFO: Acknowledgment sent {"connection_id":188766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:17:25] local.INFO: TCP Data received {"connection_id":186152,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:17:25] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:17:25] local.INFO: IMEI packet received {"connection_id":186152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":186152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:17:30] local.INFO: TCP Data received {"connection_id":186152,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:17:30] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:17:30] local.INFO: IMEI packet received {"connection_id":186152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":186152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:17:32] local.INFO: TCP Data received {"connection_id":186152,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3786518012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3786518012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:17:32] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3786518012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:17:32] local.INFO: Packet analysis {"connection_id":186152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b378"} 
[2026-09-18 13:17:32] local.INFO: Extracted packet for processing {"connection_id":186152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b378"} 
[2026-09-18 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167650816001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789717407000,"timestamp_ms":1789717407000,"timestamp_seconds":1789717407,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3786518"} 
[2026-09-18 13:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":227,"data_length":795,"current_offset":136} 
[2026-09-18 13:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167650816001,"66":12504,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167650816001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:17:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167650816001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":186152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:17:32] local.INFO: GPS data processed {"connection_id":186152,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:17:32] local.INFO: Acknowledgment sent {"connection_id":186152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:17:50] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:17:50] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:17:50] local.INFO: Packet analysis {"connection_id":188766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:17:50] local.INFO: Extracted packet for processing {"connection_id":188766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:17:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:17:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":188766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:17:50] local.INFO: GPS data processed {"connection_id":188766,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:17:50] local.INFO: Acknowledgment sent {"connection_id":188766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:18:03] local.INFO: TCP Data received {"connection_id":186152,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b378b720012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b378b720012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:18:03] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b378b720012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:18:03] local.INFO: Packet analysis {"connection_id":186152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b378"} 
[2026-09-18 13:18:03] local.INFO: Extracted packet for processing {"connection_id":186152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b378"} 
[2026-09-18 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167656192001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717428000,"timestamp_ms":1789717428000,"timestamp_seconds":1789717428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b378b720"} 
[2026-09-18 13:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:18: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-09-18 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 13:18: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-09-18 13:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167656192001,"66":11906,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167656192001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167656192001,"power":11906,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":186152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:18:03] local.INFO: GPS data processed {"connection_id":186152,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:18:03] local.INFO: Acknowledgment sent {"connection_id":186152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:18:13] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:18:13] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:18:13] local.INFO: IMEI packet received {"connection_id":185998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":185998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:18:17] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:18:17] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:18:17] local.INFO: IMEI packet received {"connection_id":185998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":185998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:18:18] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:18:18] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:18:18] local.INFO: Packet analysis {"connection_id":185998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:18:18] local.INFO: Extracted packet for processing {"connection_id":185998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:18:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:18:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:18:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":185998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:18:18] local.INFO: GPS data processed {"connection_id":185998,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:18:18] local.INFO: Acknowledgment sent {"connection_id":185998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:18:26] local.INFO: TCP Data received {"connection_id":188768,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:18:26] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:18:26] local.INFO: IMEI packet received {"connection_id":188768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":188768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:18:30] local.INFO: TCP Data received {"connection_id":188768,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:18:30] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:18:30] local.INFO: IMEI packet received {"connection_id":188768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":188768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:18:31] local.INFO: TCP Data received {"connection_id":188768,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3790928012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3790928012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:18:31] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3790928012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:18:31] local.INFO: Packet analysis {"connection_id":188768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b379"} 
[2026-09-18 13:18:31] local.INFO: Extracted packet for processing {"connection_id":188768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b379"} 
[2026-09-18 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167661568001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717449000,"timestamp_ms":1789717449000,"timestamp_seconds":1789717449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3790928"} 
[2026-09-18 13:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:18: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-09-18 13: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-18 13:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167661568001,"66":12537,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167661568001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167661568001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":188768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:18:32] local.INFO: GPS data processed {"connection_id":188768,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:18:32] local.INFO: Acknowledgment sent {"connection_id":188768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:18:50] local.INFO: TCP Data received {"connection_id":185998,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:18:50] local.INFO: Processing buffer {"connection_id":185998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:18:50] local.INFO: Packet analysis {"connection_id":185998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:18:50] local.INFO: Extracted packet for processing {"connection_id":185998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:18:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:18:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:18:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":185998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:18:50] local.INFO: GPS data processed {"connection_id":185998,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:18:50] local.INFO: Acknowledgment sent {"connection_id":185998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:19:03] local.INFO: TCP Data received {"connection_id":188768,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3795b30012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3795b30012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:19:03] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3795b30012d181f400721b0b8004c01672b..."} 
[2026-09-18 13:19:03] local.INFO: Packet analysis {"connection_id":188768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b379"} 
[2026-09-18 13:19:03] local.INFO: Extracted packet for processing {"connection_id":188768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b379"} 
[2026-09-18 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167666944001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717470000,"timestamp_ms":1789717470000,"timestamp_seconds":1789717470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3795b30"} 
[2026-09-18 13:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:19: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-09-18 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 13:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167666944001,"66":12526,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167666944001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167666944001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":188768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:19:03] local.INFO: GPS data processed {"connection_id":188768,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:19:03] local.INFO: Acknowledgment sent {"connection_id":188768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:19:12] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:19:12] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:19:12] local.INFO: IMEI packet received {"connection_id":188769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":188769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:19:17] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:19:17] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:19:17] local.INFO: IMEI packet received {"connection_id":188769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":188769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:19:18] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:19:18] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:19:18] local.INFO: Packet analysis {"connection_id":188769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:19:18] local.INFO: Extracted packet for processing {"connection_id":188769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:19:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:19:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:19:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":188769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:19:18] local.INFO: GPS data processed {"connection_id":188769,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:19:18] local.INFO: Acknowledgment sent {"connection_id":188769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:19:25] local.INFO: TCP Data received {"connection_id":186153,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:19:25] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:19:25] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:19:30] local.INFO: TCP Data received {"connection_id":186153,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:19:30] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:19:30] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:19:31] local.INFO: TCP Data received {"connection_id":186153,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b379ad38012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b379ad38012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:19:31] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b379ad38012d181f400721b0b8004c01672d..."} 
[2026-09-18 13:19:31] local.INFO: Packet analysis {"connection_id":186153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b379"} 
[2026-09-18 13:19:31] local.INFO: Extracted packet for processing {"connection_id":186153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b379"} 
[2026-09-18 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":76,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167672320001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308754389630976,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717491000,"timestamp_ms":1789717491000,"timestamp_seconds":1789717491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b379ad38"} 
[2026-09-18 13:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:19: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-09-18 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 13:19: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-09-18 13: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-09-18 13:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167672320001,"66":12526,"120":206,"28":31744,"24":0,"16":21308754389630976,"45":1738178380562479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167672320001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308754389630976,"km_value":21308754389630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167672320001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-18 13:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":186153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:19:32] local.INFO: GPS data processed {"connection_id":186153,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:19:32] local.INFO: Acknowledgment sent {"connection_id":186153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:19:50] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:19:50] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:19:50] local.INFO: Packet analysis {"connection_id":188769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:19:50] local.INFO: Extracted packet for processing {"connection_id":188769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:19:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:19:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:19:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":188769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:19:50] local.INFO: GPS data processed {"connection_id":188769,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:19:50] local.INFO: Acknowledgment sent {"connection_id":188769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:19:51] local.INFO: TCP Data received {"connection_id":188767,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:19:51] local.INFO: Processing buffer {"connection_id":188767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:19:51] local.INFO: IMEI packet received {"connection_id":188767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":188767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:20:04] local.INFO: TCP Data received {"connection_id":186153,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37d2008012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37d2008012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:20:04] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37d2008012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:20:04] local.INFO: Packet analysis {"connection_id":186153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37d"} 
[2026-09-18 13:20:04] local.INFO: Extracted packet for processing {"connection_id":186153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37d"} 
[2026-09-18 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167730176001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789717717000,"timestamp_ms":1789717717000,"timestamp_seconds":1789717717,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37d2008"} 
[2026-09-18 13:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:20: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-09-18 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 13:20: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-09-18 13: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-09-18 13:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167730176001,"66":12689,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167730176001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:20:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167730176001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":186153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:20:04] local.INFO: GPS data processed {"connection_id":186153,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:20:04] local.INFO: Acknowledgment sent {"connection_id":186153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:20:12] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:20:12] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:20:12] local.INFO: IMEI packet received {"connection_id":186154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:20:17] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:20:17] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:20:17] local.INFO: IMEI packet received {"connection_id":186154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":186154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:20:18] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:20:18] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:20:18] local.INFO: Packet analysis {"connection_id":186154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:20:18] local.INFO: Extracted packet for processing {"connection_id":186154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:20:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:20:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:20:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":186154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:20:18] local.INFO: GPS data processed {"connection_id":186154,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:20:18] local.INFO: Acknowledgment sent {"connection_id":186154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:20:25] local.INFO: TCP Data received {"connection_id":188770,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:20:25] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:20:25] local.INFO: IMEI packet received {"connection_id":188770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":188770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:20:30] local.INFO: TCP Data received {"connection_id":188770,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:20:30] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:20:30] local.INFO: IMEI packet received {"connection_id":188770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":188770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:20:31] local.INFO: TCP Data received {"connection_id":188770,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37d7210012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37d7210012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:20:31] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37d7210012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:20:31] local.INFO: Packet analysis {"connection_id":188770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37d"} 
[2026-09-18 13:20:31] local.INFO: Extracted packet for processing {"connection_id":188770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37d"} 
[2026-09-18 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167735552001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717738000,"timestamp_ms":1789717738000,"timestamp_seconds":1789717738,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37d7210"} 
[2026-09-18 13:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:20: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-09-18 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 13:20: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-09-18 13: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-09-18 13:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167735552001,"66":12548,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167735552001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167735552001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":188770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:20:32] local.INFO: GPS data processed {"connection_id":188770,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:20:32] local.INFO: Acknowledgment sent {"connection_id":188770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:20:50] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:20:50] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:20:50] local.INFO: Packet analysis {"connection_id":186154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:20:50] local.INFO: Extracted packet for processing {"connection_id":186154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:20:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:20:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":186154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:20:50] local.INFO: GPS data processed {"connection_id":186154,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:20:50] local.INFO: Acknowledgment sent {"connection_id":186154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:21:03] local.INFO: TCP Data received {"connection_id":188770,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37dc418012d181dc00721ae68004d00d72b..."} 
[2026-09-18 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37dc418012d181dc00721ae68004d00d72b..."} 
[2026-09-18 13:21:03] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37dc418012d181dc00721ae68004d00d72b..."} 
[2026-09-18 13:21:03] local.INFO: Packet analysis {"connection_id":188770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37d"} 
[2026-09-18 13:21:03] local.INFO: Extracted packet for processing {"connection_id":188770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37d"} 
[2026-09-18 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167740928001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717759000,"timestamp_ms":1789717759000,"timestamp_seconds":1789717759,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37dc418"} 
[2026-09-18 13:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011221864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184223375565,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2926051405,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023634432,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,180,160,32,45,192,174,77,41,10,66,206,123,1,240,178,179,33,4,113,205,215,30,248,44,239,50,2,75,7,76,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:21:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671312014082048,"timestamp_seconds":5548671312014082.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167740928001,"66":12602,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167740928001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:21:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167740928001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":188770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:21:03] local.INFO: GPS data processed {"connection_id":188770,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:21:03] local.INFO: Acknowledgment sent {"connection_id":188770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:21:12] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:21:12] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:21:12] local.INFO: IMEI packet received {"connection_id":185999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":185999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:21:17] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:21:17] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:21:17] local.INFO: IMEI packet received {"connection_id":185999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":185999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:21:18] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:21:18] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37a7470012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:21:18] local.INFO: Packet analysis {"connection_id":185999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:21:18] local.INFO: Extracted packet for processing {"connection_id":185999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37a"} 
[2026-09-18 13:21:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167613696001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717542000,"timestamp_ms":1789717542000,"timestamp_seconds":1789717542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37a7470"} 
[2026-09-18 13:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 13:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167613696001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167613696001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:21:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:21:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167613696001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":185999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:21:18] local.INFO: GPS data processed {"connection_id":185999,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:21:18] local.INFO: Acknowledgment sent {"connection_id":185999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:21:30] local.INFO: TCP Data received {"connection_id":186000,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:21:30] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:21:30] local.INFO: IMEI packet received {"connection_id":186000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":186000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:21:35] local.INFO: TCP Data received {"connection_id":186000,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:21:35] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:21:35] local.INFO: IMEI packet received {"connection_id":186000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":186000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:21:36] local.INFO: TCP Data received {"connection_id":186000,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37e1620012d181dc00721ae68004d00d72a..."} 
[2026-09-18 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37e1620012d181dc00721ae68004d00d72a..."} 
[2026-09-18 13:21:36] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37e1620012d181dc00721ae68004d00d72a..."} 
[2026-09-18 13:21:36] local.INFO: Packet analysis {"connection_id":186000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37e"} 
[2026-09-18 13:21:36] local.INFO: Extracted packet for processing {"connection_id":186000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37e"} 
[2026-09-18 13:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167746304001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789717780000,"timestamp_ms":1789717780000,"timestamp_seconds":1789717780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37e1620"} 
[2026-09-18 13:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:21: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-09-18 13:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-18 13:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167746304001,"66":12548,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167746304001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167746304001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":186000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:21:36] local.INFO: GPS data processed {"connection_id":186000,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:21:36] local.INFO: Acknowledgment sent {"connection_id":186000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:21:41] local.INFO: TCP Data received {"connection_id":186000,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37e6828012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37e6828012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:21:41] local.INFO: Processing buffer {"connection_id":186000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37e6828012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:21:41] local.INFO: Packet analysis {"connection_id":186000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37e"} 
[2026-09-18 13:21:41] local.INFO: Extracted packet for processing {"connection_id":186000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37e"} 
[2026-09-18 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789717801000,"timestamp_ms":1789717801000,"timestamp_seconds":1789717801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37e6828"} 
[2026-09-18 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011258864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2926051405,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692846,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3023765504,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:41] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,180,160,196,45,192,174,77,43,10,66,114,41,32,1,240,145,179,33,4,113,205,123,29,104,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:21:41] 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-09-18 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167751680001,"66":11961,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167751680001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":186000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:21:41] local.INFO: GPS data processed {"connection_id":186000,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:21:41] local.INFO: Acknowledgment sent {"connection_id":186000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:21:49] local.INFO: TCP Data received {"connection_id":185999,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:21:49] local.INFO: Processing buffer {"connection_id":185999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:21:49] local.INFO: Packet analysis {"connection_id":185999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:21:49] local.INFO: Extracted packet for processing {"connection_id":185999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:21:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:21:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:21:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":185999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:21:49] local.INFO: GPS data processed {"connection_id":185999,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:21:49] local.INFO: Acknowledgment sent {"connection_id":185999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:22:13] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:22:13] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:22:13] local.INFO: IMEI packet received {"connection_id":188771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":188771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:22:17] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:22:17] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:22:17] local.INFO: IMEI packet received {"connection_id":188771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:22:18] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:22:18] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:22:18] local.INFO: Packet analysis {"connection_id":188771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:22:18] local.INFO: Extracted packet for processing {"connection_id":188771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:22:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:22:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":188771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:22:18] local.INFO: GPS data processed {"connection_id":188771,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:22:18] local.INFO: Acknowledgment sent {"connection_id":188771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:22:24] local.INFO: TCP Data received {"connection_id":186001,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:24] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:24] local.INFO: IMEI packet received {"connection_id":186001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":186001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:22:25] local.INFO: TCP Data received {"connection_id":186001,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:25] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:25] local.INFO: IMEI packet received {"connection_id":186001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":186001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:22:30] local.INFO: TCP Data received {"connection_id":186001,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:30] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:22:30] local.INFO: IMEI packet received {"connection_id":186001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":186001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:22:31] local.INFO: TCP Data received {"connection_id":186001,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37eba30012d181dc00721ae68004d00d72a..."} 
[2026-09-18 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37eba30012d181dc00721ae68004d00d72a..."} 
[2026-09-18 13:22:31] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37eba30012d181dc00721ae68004d00d72a..."} 
[2026-09-18 13:22:31] local.INFO: Packet analysis {"connection_id":186001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37e"} 
[2026-09-18 13:22:31] local.INFO: Extracted packet for processing {"connection_id":186001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37e"} 
[2026-09-18 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167757056001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717822000,"timestamp_ms":1789717822000,"timestamp_seconds":1789717822,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37eba30"} 
[2026-09-18 13:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:22: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-09-18 13: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 13:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167757056001,"66":12526,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167757056001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167757056001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":186001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:22:32] local.INFO: GPS data processed {"connection_id":186001,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:22:32] local.INFO: Acknowledgment sent {"connection_id":186001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:22:49] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:22:49] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:22:49] local.INFO: Packet analysis {"connection_id":188771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:22:49] local.INFO: Extracted packet for processing {"connection_id":188771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:22:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:22:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":188771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:22:49] local.INFO: GPS data processed {"connection_id":188771,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:22:49] local.INFO: Acknowledgment sent {"connection_id":188771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:23:03] local.INFO: TCP Data received {"connection_id":186001,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d181dc00721ae68004d00d728..."} 
[2026-09-18 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d181dc00721ae68004d00d728..."} 
[2026-09-18 13:23:03] local.INFO: Processing buffer {"connection_id":186001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d181dc00721ae68004d00d728..."} 
[2026-09-18 13:23:03] local.INFO: Packet analysis {"connection_id":186001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:03] local.INFO: Extracted packet for processing {"connection_id":186001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167762432001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:23: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-09-18 13: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-09-18 13: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-09-18 13:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167762432001,"66":12504,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167762432001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:23:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167762432001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":186001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:23:03] local.INFO: GPS data processed {"connection_id":186001,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:23:03] local.INFO: Acknowledgment sent {"connection_id":186001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:23:12] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:23:12] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:23:12] local.INFO: IMEI packet received {"connection_id":187440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":187440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:23:17] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:23:17] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:23:17] local.INFO: IMEI packet received {"connection_id":187440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":187440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:23:18] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:23:18] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:23:18] local.INFO: Packet analysis {"connection_id":187440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:18] local.INFO: Extracted packet for processing {"connection_id":187440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:23:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:23:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":187440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:23:18] local.INFO: GPS data processed {"connection_id":187440,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:23:18] local.INFO: Acknowledgment sent {"connection_id":187440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:23:25] local.INFO: TCP Data received {"connection_id":186002,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:25] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:25] local.INFO: IMEI packet received {"connection_id":186002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":186002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:23:27] local.INFO: TCP Data received {"connection_id":186002,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:27] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:27] local.INFO: IMEI packet received {"connection_id":186002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":186002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:23:30] local.INFO: TCP Data received {"connection_id":186002,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:30] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:23:30] local.INFO: IMEI packet received {"connection_id":186002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":186002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:23:31] local.INFO: TCP Data received {"connection_id":186002,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f5e40012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f5e40012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:23:31] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f5e40012d181dc00721ae68004d00d729..."} 
[2026-09-18 13:23:31] local.INFO: Packet analysis {"connection_id":186002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:31] local.INFO: Extracted packet for processing {"connection_id":186002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 13:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789717864000,"timestamp_ms":1789717864000,"timestamp_seconds":1789717864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f5e40"} 
[2026-09-18 13:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 13:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":12461,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:23:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":186002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:23:31] local.INFO: GPS data processed {"connection_id":186002,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:23:31] local.INFO: Acknowledgment sent {"connection_id":186002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:23:50] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:23:50] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:23:50] local.INFO: Packet analysis {"connection_id":187440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:50] local.INFO: Extracted packet for processing {"connection_id":187440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:23:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:23:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":187440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:23:50] local.INFO: GPS data processed {"connection_id":187440,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:23:50] local.INFO: Acknowledgment sent {"connection_id":187440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:24:02] local.INFO: TCP Data received {"connection_id":186002,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37fb048012d181dc00721ae68004d00d728..."} 
[2026-09-18 13:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37fb048012d181dc00721ae68004d00d728..."} 
[2026-09-18 13:24:02] local.INFO: Processing buffer {"connection_id":186002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37fb048012d181dc00721ae68004d00d728..."} 
[2026-09-18 13:24:02] local.INFO: Packet analysis {"connection_id":186002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:24:02] local.INFO: Extracted packet for processing {"connection_id":186002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167773184001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308788749369344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789717885000,"timestamp_ms":1789717885000,"timestamp_seconds":1789717885,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37fb048"} 
[2026-09-18 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-09-18 13:24: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-09-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 13:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 13:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167773184001,"66":12504,"120":206,"28":31744,"24":0,"16":21308788749369344,"45":1737756168097261568},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167773184001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:24:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308788749369344,"km_value":21308788749369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-09-18 13:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167773184001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-09-18 13:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":186002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:24:02] local.INFO: GPS data processed {"connection_id":186002,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:24:02] local.INFO: Acknowledgment sent {"connection_id":186002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:24:12] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:24:12] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:24:12] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:24:17] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:24:17] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:24:17] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:24:18] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:24:18] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:24:18] local.INFO: Packet analysis {"connection_id":188772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:24:18] local.INFO: Extracted packet for processing {"connection_id":188772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:24:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:24:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:24:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":188772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:24:18] local.INFO: GPS data processed {"connection_id":188772,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:24:18] local.INFO: Acknowledgment sent {"connection_id":188772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:24:24] local.INFO: TCP Data received {"connection_id":187442,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:24] local.INFO: Processing buffer {"connection_id":187442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:24] local.INFO: IMEI packet received {"connection_id":187442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":187442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:24:25] local.INFO: TCP Data received {"connection_id":187442,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:25] local.INFO: Processing buffer {"connection_id":187442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:25] local.INFO: IMEI packet received {"connection_id":187442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":187442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:24:30] local.INFO: TCP Data received {"connection_id":187442,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:30] local.INFO: Processing buffer {"connection_id":187442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:24:30] local.INFO: IMEI packet received {"connection_id":187442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":187442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:24:31] local.INFO: TCP Data received {"connection_id":187442,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b381b000012d1824000721a2d8004d008e2b..."} 
[2026-09-18 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b381b000012d1824000721a2d8004d008e2b..."} 
[2026-09-18 13:24:31] local.INFO: Processing buffer {"connection_id":187442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b381b000012d1824000721a2d8004d008e2b..."} 
[2026-09-18 13:24:31] local.INFO: Packet analysis {"connection_id":187442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b381"} 
[2026-09-18 13:24:31] local.INFO: Extracted packet for processing {"connection_id":187442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b381"} 
[2026-09-18 13:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119644888,"longitude_deg":75.65568,"latitude_deg":11.9644888,"altitude":77,"angle":142,"satellites":43,"speed":13,"hex_longitude":"2d182400","hex_latitude":"0721a2d8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167810560001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21308973432963072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050189312,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718016000,"timestamp_ms":1789718016000,"timestamp_seconds":1789718016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b381b000"} 
[2026-09-18 13:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:24: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-09-18 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 13:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167810560001,"66":14157,"121":206,"28":31744,"24":13,"16":21308973432963072,"45":1738319118050189312},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167810560001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:24:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21308973432963072,"km_value":21308973432963.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050189312,"description":"Unknown IO ID 45"} 
[2026-09-18 13:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167810560001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1738319118050189312}} 
[2026-09-18 13:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":187442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:24:31] local.INFO: GPS data processed {"connection_id":187442,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:24:31] local.INFO: Acknowledgment sent {"connection_id":187442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:24:49] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:24:49] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:24:49] local.INFO: Packet analysis {"connection_id":188772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:24:49] local.INFO: Extracted packet for processing {"connection_id":188772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:24:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:24:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:24:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":188772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:24:49] local.INFO: GPS data processed {"connection_id":188772,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:24:49] local.INFO: Acknowledgment sent {"connection_id":188772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:25:03] local.INFO: TCP Data received {"connection_id":187442,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b381bfa0012d18288007219e58004d00812a..."} 
[2026-09-18 13:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b381bfa0012d18288007219e58004d00812a..."} 
[2026-09-18 13:25:03] local.INFO: Processing buffer {"connection_id":187442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b381bfa0012d18288007219e58004d00812a..."} 
[2026-09-18 13:25:03] local.INFO: Packet analysis {"connection_id":187442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b381"} 
[2026-09-18 13:25:03] local.INFO: Extracted packet for processing {"connection_id":187442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b381"} 
[2026-09-18 13:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643736,"longitude_deg":75.6557952,"latitude_deg":11.9643736,"altitude":77,"angle":129,"satellites":42,"speed":18,"hex_longitude":"2d182880","hex_latitude":"07219e58","is_valid_coordinates":true} 
[2026-09-18 13:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167812096001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21309055037341696,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386700945408,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718020000,"timestamp_ms":1789718020000,"timestamp_seconds":1789718020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b381bfa0"} 
[2026-09-18 13:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:25: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-09-18 13: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 13:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167812096001,"66":14080,"121":206,"28":31744,"24":18,"16":21309055037341696,"45":1739515386700945408},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167812096001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:25:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21309055037341696,"km_value":21309055037341.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386700945408,"description":"Unknown IO ID 45"} 
[2026-09-18 13:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167812096001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1739515386700945408}} 
[2026-09-18 13:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":187442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:25:03] local.INFO: GPS data processed {"connection_id":187442,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:25:03] local.INFO: Acknowledgment sent {"connection_id":187442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:25:12] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:25:12] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:25:12] local.INFO: IMEI packet received {"connection_id":186003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":186003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:25:17] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:25:17] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:25:17] local.INFO: IMEI packet received {"connection_id":186003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":186003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:25:19] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:25:19] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:25:19] local.INFO: Packet analysis {"connection_id":186003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:25:19] local.INFO: Extracted packet for processing {"connection_id":186003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:25:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:25:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":186003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:25:19] local.INFO: GPS data processed {"connection_id":186003,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:25:19] local.INFO: Acknowledgment sent {"connection_id":186003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:25:25] local.INFO: TCP Data received {"connection_id":188773,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:25] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:25] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:25:25] local.INFO: TCP Data received {"connection_id":187441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:25:25] local.INFO: Processing buffer {"connection_id":187441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:25:25] local.INFO: IMEI packet received {"connection_id":187441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":187441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:25:29] local.INFO: TCP Data received {"connection_id":188773,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:29] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:29] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:25:30] local.INFO: TCP Data received {"connection_id":188773,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:30] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:25:30] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:25:31] local.INFO: TCP Data received {"connection_id":188773,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b381d710012d183280072197e8004e007428..."} 
[2026-09-18 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b381d710012d183280072197e8004e007428..."} 
[2026-09-18 13:25:31] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b381d710012d183280072197e8004e007428..."} 
[2026-09-18 13:25:31] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b381"} 
[2026-09-18 13:25:31] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b381"} 
[2026-09-18 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756560512,"raw_latitude":119642088,"longitude_deg":75.6560512,"latitude_deg":11.9642088,"altitude":78,"angle":116,"satellites":40,"speed":22,"hex_longitude":"2d183280","hex_latitude":"072197e8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167813120001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21309201066229760,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095848448,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718026000,"timestamp_ms":1789718026000,"timestamp_seconds":1789718026,"priority":1,"record_length":96,"hex_timestamp":"000001a0b381d710"} 
[2026-09-18 13:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:25: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-09-18 13:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221692844,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011594864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2170163201,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2869428302,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:25:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3024289792,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,180,160,176,45,162,77,43,10,66,152,192,166,42,97,1,240,55,179,33,4,113,205,7,82,40,239,120,2,75,78,3],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:25:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548576758310240256,"timestamp_seconds":5548576758310240.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167813120001,"66":14157,"121":206,"28":31744,"24":22,"16":21309201066229760,"45":1740782024095848448},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167813120001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21309201066229760,"km_value":21309201066229.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095848448,"description":"Unknown IO ID 45"} 
[2026-09-18 13:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167813120001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1740782024095848448}} 
[2026-09-18 13:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:25:31] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:25:31] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:25:33] local.INFO: TCP Data received {"connection_id":188773,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3820dc0012d185380072189a0005100742a..."} 
[2026-09-18 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3820dc0012d185380072189a0005100742a..."} 
[2026-09-18 13:25:33] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3820dc0012d185380072189a0005100742a..."} 
[2026-09-18 13:25:33] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b382"} 
[2026-09-18 13:25:33] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b382"} 
[2026-09-18 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756568960,"raw_latitude":119638432,"longitude_deg":75.656896,"latitude_deg":11.9638432,"altitude":81,"angle":116,"satellites":42,"speed":30,"hex_longitude":"2d185380","hex_latitude":"072189a0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167814656001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21309639152893952,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773862533120,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789718040000,"timestamp_ms":1789718040000,"timestamp_seconds":1789718040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3820dc0"} 
[2026-09-18 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-09-18 13: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-09-18 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 13:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167814656001,"66":13993,"121":206,"28":31744,"24":30,"16":21309639152893952,"45":1743596773862533120},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167814656001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:25:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21309639152893952,"km_value":21309639152893.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773862533120,"description":"Unknown IO ID 45"} 
[2026-09-18 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167814656001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1743596773862533120}} 
[2026-09-18 13:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:25:33] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:25:33] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:25:50] local.INFO: TCP Data received {"connection_id":186003,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:25:50] local.INFO: Processing buffer {"connection_id":186003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:25:50] local.INFO: Packet analysis {"connection_id":186003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:25:50] local.INFO: Extracted packet for processing {"connection_id":186003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:25:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:25:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":186003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:25:50] local.INFO: GPS data processed {"connection_id":186003,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:25:50] local.INFO: Acknowledgment sent {"connection_id":186003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:26:04] local.INFO: TCP Data received {"connection_id":188773,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3834640012d18fd4007214ad0004700702a..."} 
[2026-09-18 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3834640012d18fd4007214ad0004700702a..."} 
[2026-09-18 13:26:04] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3834640012d18fd4007214ad0004700702a..."} 
[2026-09-18 13:26:04] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:26:04] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756612416,"raw_latitude":119622352,"longitude_deg":75.6612416,"latitude_deg":11.9622352,"altitude":71,"angle":112,"satellites":42,"speed":15,"hex_longitude":"2d18fd40","hex_latitude":"07214ad0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167834112001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21311984205037568,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792995632270313472,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789718120000,"timestamp_ms":1789718120000,"timestamp_seconds":1789718120,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3834640"} 
[2026-09-18 13:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:26: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-09-18 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 13:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167834112001,"66":14363,"121":206,"28":31744,"24":15,"16":21311984205037568,"45":1792995632270313472},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167834112001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:26:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21311984205037568,"km_value":21311984205037.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792995632270313472,"description":"Unknown IO ID 45"} 
[2026-09-18 13:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167834112001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1792995632270313472}} 
[2026-09-18 13:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:26:04] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:26:04] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:26:12] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:26:12] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:26:12] local.INFO: IMEI packet received {"connection_id":186004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":186004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:26:17] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:26:17] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:26:17] local.INFO: IMEI packet received {"connection_id":186004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":186004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:26:18] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:26:18] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b37f0c38012d4ce0c0068f46600046007326..."} 
[2026-09-18 13:26:18] local.INFO: Packet analysis {"connection_id":186004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:26:18] local.INFO: Extracted packet for processing {"connection_id":186004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b37f"} 
[2026-09-18 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167690752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789717843000,"timestamp_ms":1789717843000,"timestamp_seconds":1789717843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b37f0c38"} 
[2026-09-18 13:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167690752001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167690752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:26:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:26:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167690752001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":186004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:26:18] local.INFO: GPS data processed {"connection_id":186004,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:26:18] local.INFO: Acknowledgment sent {"connection_id":186004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:26:26] local.INFO: TCP Data received {"connection_id":187443,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:26:26] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:26:26] local.INFO: IMEI packet received {"connection_id":187443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":187443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:26:30] local.INFO: TCP Data received {"connection_id":187443,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:26:31] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:26:31] local.INFO: IMEI packet received {"connection_id":187443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":187443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:26:32] local.INFO: TCP Data received {"connection_id":187443,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3839c30012d191c8007213b900041008d29..."} 
[2026-09-18 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3839c30012d191c8007213b900041008d29..."} 
[2026-09-18 13:26:32] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3839c30012d191c8007213b900041008d29..."} 
[2026-09-18 13:26:32] local.INFO: Packet analysis {"connection_id":187443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:26:32] local.INFO: Extracted packet for processing {"connection_id":187443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756620416,"raw_latitude":119618448,"longitude_deg":75.6620416,"latitude_deg":11.9618448,"altitude":65,"angle":141,"satellites":41,"speed":19,"hex_longitude":"2d191c80","hex_latitude":"07213b90","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844096001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21312473831309312,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809110074685972480,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789718142000,"timestamp_ms":1789718142000,"timestamp_seconds":1789718142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3839c30"} 
[2026-09-18 13:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:26: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-09-18 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-18 13:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844096001,"66":14243,"121":206,"28":31744,"24":19,"16":21312473831309312,"45":1809110074685972480},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844096001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:26:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21312473831309312,"km_value":21312473831309.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809110074685972480,"description":"Unknown IO ID 45"} 
[2026-09-18 13:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844096001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1809110074685972480}} 
[2026-09-18 13:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":187443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:26:32] local.INFO: GPS data processed {"connection_id":187443,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:26:32] local.INFO: Acknowledgment sent {"connection_id":187443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:26:49] local.INFO: TCP Data received {"connection_id":186004,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:26:49] local.INFO: Processing buffer {"connection_id":186004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:26:49] local.INFO: Packet analysis {"connection_id":186004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:26:49] local.INFO: Extracted packet for processing {"connection_id":186004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:26:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:26:49] 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-09-18 13:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:26:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:26:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":186004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:26:49] local.INFO: GPS data processed {"connection_id":186004,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:26:49] local.INFO: Acknowledgment sent {"connection_id":186004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:27:03] local.INFO: TCP Data received {"connection_id":187443,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38428d0012d191b0007213c90003d012a29..."} 
[2026-09-18 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38428d0012d191b0007213c90003d012a29..."} 
[2026-09-18 13:27:03] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38428d0012d191b0007213c90003d012a29..."} 
[2026-09-18 13:27:03] local.INFO: Packet analysis {"connection_id":187443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:27:03] local.INFO: Extracted packet for processing {"connection_id":187443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756620032,"raw_latitude":119618704,"longitude_deg":75.6620032,"latitude_deg":11.9618704,"altitude":61,"angle":298,"satellites":41,"speed":16,"hex_longitude":"2d191b00","hex_latitude":"07213c90","is_valid_coordinates":true} 
[2026-09-18 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167853312001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21312662809870336,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809391549662603264,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718178000,"timestamp_ms":1789718178000,"timestamp_seconds":1789718178,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38428d0"} 
[2026-09-18 13:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:27: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-09-18 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 13:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167853312001,"66":14341,"121":206,"28":31744,"24":16,"16":21312662809870336,"45":1809391549662603264},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167853312001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21312662809870336,"km_value":21312662809870.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809391549662603264,"description":"Unknown IO ID 45"} 
[2026-09-18 13:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167853312001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1809391549662603264}} 
[2026-09-18 13:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":187443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:27:03] local.INFO: GPS data processed {"connection_id":187443,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:27:03] local.INFO: Acknowledgment sent {"connection_id":187443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:27:12] local.INFO: TCP Data received {"connection_id":188774,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:27:12] local.INFO: Processing buffer {"connection_id":188774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:27:12] local.INFO: IMEI packet received {"connection_id":188774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":188774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:27:17] local.INFO: TCP Data received {"connection_id":188774,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:27:17] local.INFO: Processing buffer {"connection_id":188774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:27:17] local.INFO: IMEI packet received {"connection_id":188774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":188774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:27:18] local.INFO: TCP Data received {"connection_id":188774,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:27:18] local.INFO: Processing buffer {"connection_id":188774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:27:18] local.INFO: Packet analysis {"connection_id":188774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:27:18] local.INFO: Extracted packet for processing {"connection_id":188774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:27:18] 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-09-18 13:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:27:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:27:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":188774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:27:18] local.INFO: GPS data processed {"connection_id":188774,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:27:18] local.INFO: Acknowledgment sent {"connection_id":188774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:27:30] local.INFO: TCP Data received {"connection_id":188775,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:27:30] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:27:30] local.INFO: IMEI packet received {"connection_id":188775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":188775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:27:35] local.INFO: TCP Data received {"connection_id":188775,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:27:35] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:27:35] local.INFO: IMEI packet received {"connection_id":188775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":188775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:27:36] local.INFO: TCP Data received {"connection_id":188775,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3842cb8012d19194007213d08003d011729..."} 
[2026-09-18 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3842cb8012d19194007213d08003d011729..."} 
[2026-09-18 13:27:36] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3842cb8012d19194007213d08003d011729..."} 
[2026-09-18 13:27:36] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:27:36] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756619584,"raw_latitude":119618824,"longitude_deg":75.6619584,"latitude_deg":11.9618824,"altitude":61,"angle":279,"satellites":41,"speed":18,"hex_longitude":"2d191940","hex_latitude":"07213d08","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167853568001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21312684284706816,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809039705941774336,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789718179000,"timestamp_ms":1789718179000,"timestamp_seconds":1789718179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3842cb8"} 
[2026-09-18 13:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:27: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-09-18 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991086582,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503924831289344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011770864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288387047,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2214707201,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3081502720,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751580335120694,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":17451453522117120,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,183,160,36,45,64,59,61,41,10,66,21,192,55,40,13,1,240,78,179,33,4,113,205,3,253,29,216,239,2,75,7,62,206,8,56],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 13:27:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395841066873389056,"timestamp_seconds":4395841066873389.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167853568001,"66":14341,"121":206,"28":31744,"24":18,"16":21312684284706816,"45":1809039705941774336},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167853568001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:27:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21312684284706816,"km_value":21312684284706.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809039705941774336,"description":"Unknown IO ID 45"} 
[2026-09-18 13:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167853568001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1809039705941774336}} 
[2026-09-18 13:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:27:36] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:27:36] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:27:39] local.INFO: TCP Data received {"connection_id":188775,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3843488012d19154007213d00003e010729..."} 
[2026-09-18 13:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3843488012d19154007213d00003e010729..."} 
[2026-09-18 13:27:39] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3843488012d19154007213d00003e010729..."} 
[2026-09-18 13:27:39] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:27:39] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756618560,"raw_latitude":119618816,"longitude_deg":75.661856,"latitude_deg":11.9618816,"altitude":62,"angle":263,"satellites":41,"speed":20,"hex_longitude":"2d191540","hex_latitude":"07213d00","is_valid_coordinates":true} 
[2026-09-18 13:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167853824001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21312731529347072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808547124732561408,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789718181000,"timestamp_ms":1789718181000,"timestamp_seconds":1789718181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3843488"} 
[2026-09-18 13:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991086585,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503924831420416,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011771864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84751580335120694,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2215475201,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692727,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3081568256,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":17451522241594112,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,183,160,40,45,60,61,41,10,66,36,64,59,21,192,1,240,5,179,33,4,113,205,29,8,239,55,2,75,7,62,3,206,136],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 13:27:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395820176152592384,"timestamp_seconds":4395820176152592.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167853824001,"66":13993,"121":206,"28":31744,"24":20,"16":21312731529347072,"45":1808547124732561408},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167853824001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:27:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21312731529347072,"km_value":21312731529347.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808547124732561408,"description":"Unknown IO ID 45"} 
[2026-09-18 13:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167853824001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1808547124732561408}} 
[2026-09-18 13:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:27:39] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:27:39] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:27:49] local.INFO: TCP Data received {"connection_id":188774,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:27:49] local.INFO: Processing buffer {"connection_id":188774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:27:49] local.INFO: Packet analysis {"connection_id":188774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:27:49] local.INFO: Extracted packet for processing {"connection_id":188774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:27:49] 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-09-18 13:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:27:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:27:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":188774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:27:49] local.INFO: GPS data processed {"connection_id":188774,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:27:49] local.INFO: Acknowledgment sent {"connection_id":188774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:28:10] local.INFO: TCP Data received {"connection_id":188775,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b384f3f0012d18d740072152000049010a2b..."} 
[2026-09-18 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b384f3f0012d18d740072152000049010a2b..."} 
[2026-09-18 13:28:10] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b384f3f0012d18d740072152000049010a2b..."} 
[2026-09-18 13:28:10] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:28:10] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b384"} 
[2026-09-18 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119624192,"longitude_deg":75.6602688,"latitude_deg":11.9624192,"altitude":73,"angle":266,"satellites":43,"speed":13,"hex_longitude":"2d18d740","hex_latitude":"07215200","is_valid_coordinates":true} 
[2026-09-18 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167866112001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21313624882544640,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044922052608,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789718230000,"timestamp_ms":1789718230000,"timestamp_seconds":1789718230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b384f3f0"} 
[2026-09-18 13:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:28: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-09-18 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 13:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167866112001,"66":14265,"121":206,"28":31744,"24":13,"16":21313624882544640,"45":1791166044922052608},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167866112001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:28:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21313624882544640,"km_value":21313624882544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044922052608,"description":"Unknown IO ID 45"} 
[2026-09-18 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167866112001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1791166044922052608}} 
[2026-09-18 13:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:28:10] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:28:10] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:28:13] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:28:13] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:28:13] local.INFO: IMEI packet received {"connection_id":188776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:28:17] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:28:17] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:28:17] local.INFO: IMEI packet received {"connection_id":188776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:28:18] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:28:18] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:28:18] local.INFO: Packet analysis {"connection_id":188776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:28:18] local.INFO: Extracted packet for processing {"connection_id":188776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:28:18] 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-09-18 13:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:28:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:28:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":188776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:28:18] local.INFO: GPS data processed {"connection_id":188776,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:28:18] local.INFO: Acknowledgment sent {"connection_id":188776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:28:25] local.INFO: TCP Data received {"connection_id":186155,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:25] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:25] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:28:26] local.INFO: TCP Data received {"connection_id":186155,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:26] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:26] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:28:27] local.INFO: TCP Data received {"connection_id":186155,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:27] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:28:27] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:28:28] local.INFO: TCP Data received {"connection_id":186155,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3850f48012d18cd40072152280048011529..."} 
[2026-09-18 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3850f48012d18cd40072152280048011529..."} 
[2026-09-18 13:28:28] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3850f48012d18cd40072152280048011529..."} 
[2026-09-18 13:28:28] local.INFO: Packet analysis {"connection_id":186155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b385"} 
[2026-09-18 13:28:28] local.INFO: Extracted packet for processing {"connection_id":186155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b385"} 
[2026-09-18 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119624232,"longitude_deg":75.6600128,"latitude_deg":11.9624232,"altitude":72,"angle":277,"satellites":41,"speed":14,"hex_longitude":"2d18cd40","hex_latitude":"07215228","is_valid_coordinates":true} 
[2026-09-18 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167866880001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21313749436596224,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776271032320,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789718237000,"timestamp_ms":1789718237000,"timestamp_seconds":1789718237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3850f48"} 
[2026-09-18 13:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 13:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167866880001,"66":14341,"121":206,"28":31744,"24":14,"16":21313749436596224,"45":1789969776271032320},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167866880001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:28:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21313749436596224,"km_value":21313749436596.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776271032320,"description":"Unknown IO ID 45"} 
[2026-09-18 13:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167866880001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1789969776271032320}} 
[2026-09-18 13:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":186155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:28:28] local.INFO: GPS data processed {"connection_id":186155,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:28:28] local.INFO: Acknowledgment sent {"connection_id":186155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:28:50] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:28:50] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:28:50] local.INFO: Packet analysis {"connection_id":188776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:28:50] local.INFO: Extracted packet for processing {"connection_id":188776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:28:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:28:50] 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-09-18 13:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:28:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:28:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":188776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:28:50] local.INFO: GPS data processed {"connection_id":188776,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:28:50] local.INFO: Acknowledgment sent {"connection_id":188776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:29:00] local.INFO: TCP Data received {"connection_id":186155,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38545f8012d18c280072153a0004901292b..."} 
[2026-09-18 13:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38545f8012d18c280072153a0004901292b..."} 
[2026-09-18 13:29:00] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38545f8012d18c280072153a0004901292b..."} 
[2026-09-18 13:29:00] local.INFO: Packet analysis {"connection_id":186155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b385"} 
[2026-09-18 13:29:00] local.INFO: Extracted packet for processing {"connection_id":186155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b385"} 
[2026-09-18 13:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624608,"longitude_deg":75.6597376,"latitude_deg":11.9624608,"altitude":73,"angle":297,"satellites":43,"speed":8,"hex_longitude":"2d18c280","hex_latitude":"072153a0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167868672001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21313882580582400,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026503936000,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789718251000,"timestamp_ms":1789718251000,"timestamp_seconds":1789718251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38545f8"} 
[2026-09-18 13:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:29: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-09-18 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991086796,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503924845379584,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011825864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2229299201,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3221692749,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966759,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3095658496,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84751321563341132,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.WARNING: Large IO value detected {"io_id":136,"raw_value":20267427405236992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:00] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,28,24,241,158,16,184,160,243,45,64,82,73,43,10,66,232,128,72,40,228,192,1,240,185,179,33,4,113,205,13,212,223,44,239,55,2,75,7,9,206,224,136],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 13:29:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188451511546281984,"timestamp_seconds":5188451511546282.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167868672001,"66":14374,"121":206,"28":31744,"24":8,"16":21313882580582400,"45":1787155026503936000},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167868672001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:29:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21313882580582400,"km_value":21313882580582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026503936000,"description":"Unknown IO ID 45"} 
[2026-09-18 13:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167868672001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1787155026503936000}} 
[2026-09-18 13:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":186155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:29:00] local.INFO: GPS data processed {"connection_id":186155,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:29:00] local.INFO: Acknowledgment sent {"connection_id":186155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:29:12] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:29:12] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:29:12] local.INFO: IMEI packet received {"connection_id":186006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":186006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:29:18] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:29:18] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:29:18] local.INFO: IMEI packet received {"connection_id":186006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":186006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:29:19] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:29:19] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:29:19] local.INFO: Packet analysis {"connection_id":186006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:29:19] local.INFO: Extracted packet for processing {"connection_id":186006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:29:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:29:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:29:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":186006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:29:19] local.INFO: GPS data processed {"connection_id":186006,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:29:19] local.INFO: Acknowledgment sent {"connection_id":186006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:29:25] local.INFO: TCP Data received {"connection_id":187444,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:29:25] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:29:25] local.INFO: IMEI packet received {"connection_id":187444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":187444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:29:29] local.INFO: TCP Data received {"connection_id":187444,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:29:29] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:29:29] local.INFO: IMEI packet received {"connection_id":187444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":187444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:29:30] local.INFO: TCP Data received {"connection_id":187444,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38549e0012d18c18007215430004801352c..."} 
[2026-09-18 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38549e0012d18c18007215430004801352c..."} 
[2026-09-18 13:29:30] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38549e0012d18c18007215430004801352c..."} 
[2026-09-18 13:29:30] local.INFO: Packet analysis {"connection_id":187444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b385"} 
[2026-09-18 13:29:30] local.INFO: Extracted packet for processing {"connection_id":187444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b385"} 
[2026-09-18 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119624752,"longitude_deg":75.659712,"latitude_deg":11.9624752,"altitude":72,"angle":309,"satellites":44,"speed":10,"hex_longitude":"2d18c180","hex_latitude":"07215430","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167872256001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21313895465484288,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504392704,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789718252000,"timestamp_ms":1789718252000,"timestamp_seconds":1789718252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38549e0"} 
[2026-09-18 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-09-18 13:29: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-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 13:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 13:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167872256001,"66":14330,"121":206,"28":31744,"24":10,"16":21313895465484288,"45":1784129170504392704},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167872256001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:29:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21313895465484288,"km_value":21313895465484.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504392704,"description":"Unknown IO ID 45"} 
[2026-09-18 13:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167872256001,"power":14330,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1784129170504392704}} 
[2026-09-18 13:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":187444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:29:30] local.INFO: GPS data processed {"connection_id":187444,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:29:30] local.INFO: Acknowledgment sent {"connection_id":187444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:29:50] local.INFO: TCP Data received {"connection_id":186006,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:29:50] local.INFO: Processing buffer {"connection_id":186006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:29:50] local.INFO: Packet analysis {"connection_id":186006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:29:50] local.INFO: Extracted packet for processing {"connection_id":186006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:29:50] 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-09-18 13: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-09-18 13:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:29:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:29:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":186006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:29:50] local.INFO: GPS data processed {"connection_id":186006,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:29:50] local.INFO: Acknowledgment sent {"connection_id":186006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:30:02] local.INFO: TCP Data received {"connection_id":187444,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38699d0012d181c400721aa38004c001b2b..."} 
[2026-09-18 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38699d0012d181c400721aa38004c001b2b..."} 
[2026-09-18 13:30:02] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38699d0012d181c400721aa38004c001b2b..."} 
[2026-09-18 13:30:02] local.INFO: Packet analysis {"connection_id":187444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b386"} 
[2026-09-18 13:30:02] local.INFO: Extracted packet for processing {"connection_id":187444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b386"} 
[2026-09-18 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646776,"longitude_deg":75.6554816,"latitude_deg":11.9646776,"altitude":76,"angle":27,"satellites":43,"speed":17,"hex_longitude":"2d181c40","hex_latitude":"0721aa38","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167894272001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316296352202752,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399293952,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789718338000,"timestamp_ms":1789718338000,"timestamp_seconds":1789718338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38699d0"} 
[2026-09-18 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-09-18 13:30: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-09-18 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 13:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167894272001,"66":13276,"120":206,"28":31744,"24":17,"16":21316296352202752,"45":1737122849399293952},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167894272001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316296352202752,"km_value":21316296352202.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399293952,"description":"Unknown IO ID 45"} 
[2026-09-18 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167894272001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1737122849399293952}} 
[2026-09-18 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":187444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:30:02] local.INFO: GPS data processed {"connection_id":187444,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:30:02] local.INFO: Acknowledgment sent {"connection_id":187444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:30:12] local.INFO: TCP Data received {"connection_id":186007,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:30:12] local.INFO: Processing buffer {"connection_id":186007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:30:12] local.INFO: IMEI packet received {"connection_id":186007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":186007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:30:17] local.INFO: TCP Data received {"connection_id":186007,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:30:17] local.INFO: Processing buffer {"connection_id":186007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:30:17] local.INFO: IMEI packet received {"connection_id":186007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":186007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:30:18] local.INFO: TCP Data received {"connection_id":186007,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:30:18] local.INFO: Processing buffer {"connection_id":186007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:30:18] local.INFO: Packet analysis {"connection_id":186007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:30:18] local.INFO: Extracted packet for processing {"connection_id":186007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:30:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:30:18] 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-09-18 13:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:30:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:30:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":186007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:30:18] local.INFO: GPS data processed {"connection_id":186007,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:30:18] local.INFO: Acknowledgment sent {"connection_id":186007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:30:25] local.INFO: TCP Data received {"connection_id":186156,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:30:25] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:30:25] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:30:30] local.INFO: TCP Data received {"connection_id":186156,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:30:30] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:30:30] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:30:31] local.INFO: TCP Data received {"connection_id":186156,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b386b910012d1824800721b7a0004b000329..."} 
[2026-09-18 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b386b910012d1824800721b7a0004b000329..."} 
[2026-09-18 13:30:31] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b386b910012d1824800721b7a0004b000329..."} 
[2026-09-18 13:30:31] local.INFO: Packet analysis {"connection_id":186156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b386"} 
[2026-09-18 13:30:31] local.INFO: Extracted packet for processing {"connection_id":186156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b386"} 
[2026-09-18 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650208,"longitude_deg":75.6556928,"latitude_deg":11.9650208,"altitude":75,"angle":3,"satellites":41,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167894528001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316489625731072,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631921152,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718346000,"timestamp_ms":1789718346000,"timestamp_seconds":1789718346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b386b910"} 
[2026-09-18 13:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:30: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-09-18 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 13:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167894528001,"66":13222,"120":206,"28":31744,"24":7,"16":21316489625731072,"45":1737333955631921152},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167894528001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:30:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316489625731072,"km_value":21316489625731.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631921152,"description":"Unknown IO ID 45"} 
[2026-09-18 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167894528001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737333955631921152}} 
[2026-09-18 13:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":186156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:30:32] local.INFO: GPS data processed {"connection_id":186156,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:30:32] local.INFO: Acknowledgment sent {"connection_id":186156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:30:49] local.INFO: TCP Data received {"connection_id":186007,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:30:49] local.INFO: Processing buffer {"connection_id":186007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:30:49] local.INFO: Packet analysis {"connection_id":186007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:30:49] local.INFO: Extracted packet for processing {"connection_id":186007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:30:49] 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-09-18 13:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:30:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:30:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":186007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:30:49] local.INFO: GPS data processed {"connection_id":186007,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:30:49] local.INFO: Acknowledgment sent {"connection_id":186007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:31:00] local.INFO: TCP Data received {"connection_id":186005,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:31:00] local.INFO: Processing buffer {"connection_id":186005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:31:00] local.INFO: IMEI packet received {"connection_id":186005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":186005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:31:03] local.INFO: TCP Data received {"connection_id":186156,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b386efc0012d1822c00721b630004b00c12b..."} 
[2026-09-18 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b386efc0012d1822c00721b630004b00c12b..."} 
[2026-09-18 13:31:03] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b386efc0012d1822c00721b630004b00c12b..."} 
[2026-09-18 13:31:03] local.INFO: Packet analysis {"connection_id":186156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b386"} 
[2026-09-18 13:31:03] local.INFO: Extracted packet for processing {"connection_id":186156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b386"} 
[2026-09-18 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":75,"angle":193,"satellites":43,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167896576001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316541165338624,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190662656,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718360000,"timestamp_ms":1789718360000,"timestamp_seconds":1789718360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b386efc0"} 
[2026-09-18 13:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:31: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-09-18 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 13:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167896576001,"66":13222,"120":206,"28":31744,"24":5,"16":21316541165338624,"45":1739656124190662656},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167896576001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:31:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316541165338624,"km_value":21316541165338.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190662656,"description":"Unknown IO ID 45"} 
[2026-09-18 13:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167896576001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739656124190662656}} 
[2026-09-18 13:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":186156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:31:03] local.INFO: GPS data processed {"connection_id":186156,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:31:03] local.INFO: Acknowledgment sent {"connection_id":186156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:31:12] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:31:12] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:31:12] local.INFO: IMEI packet received {"connection_id":186008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":186008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:31:17] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:31:17] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:31:17] local.INFO: IMEI packet received {"connection_id":186008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":186008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:31:18] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:31:18] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b383a400012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:31:18] local.INFO: Packet analysis {"connection_id":186008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:31:18] local.INFO: Extracted packet for processing {"connection_id":186008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b383"} 
[2026-09-18 13:31:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167767808001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718144000,"timestamp_ms":1789718144000,"timestamp_seconds":1789718144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b383a400"} 
[2026-09-18 13:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:31:18] 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-09-18 13:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167767808001,"66":25995,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167767808001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:31:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:31:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167767808001,"power":25995,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":186008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:31:18] local.INFO: GPS data processed {"connection_id":186008,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:31:18] local.INFO: Acknowledgment sent {"connection_id":186008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:31:25] local.INFO: TCP Data received {"connection_id":187445,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:31:25] local.INFO: Processing buffer {"connection_id":187445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:31:25] local.INFO: IMEI packet received {"connection_id":187445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":187445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:31:30] local.INFO: TCP Data received {"connection_id":187445,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:31:30] local.INFO: Processing buffer {"connection_id":187445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:31:30] local.INFO: IMEI packet received {"connection_id":187445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":187445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:31:31] local.INFO: TCP Data received {"connection_id":187445,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38741c8012d1821400721b3f0004c00cb28..."} 
[2026-09-18 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38741c8012d1821400721b3f0004c00cb28..."} 
[2026-09-18 13:31:31] local.INFO: Processing buffer {"connection_id":187445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38741c8012d1821400721b3f0004c00cb28..."} 
[2026-09-18 13:31:31] local.INFO: Packet analysis {"connection_id":187445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b387"} 
[2026-09-18 13:31:31] local.INFO: Extracted packet for processing {"connection_id":187445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b387"} 
[2026-09-18 13:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649264,"longitude_deg":75.6556096,"latitude_deg":11.9649264,"altitude":76,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167900160001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316575525076992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718381000,"timestamp_ms":1789718381000,"timestamp_seconds":1789718381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38741c8"} 
[2026-09-18 13:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:31: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-09-18 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 13:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167900160001,"66":13102,"120":206,"28":31744,"24":0,"16":21316575525076992,"45":1739163542981324800},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167900160001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316575525076992,"km_value":21316575525076.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-09-18 13:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167900160001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-09-18 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":187445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:31:32] local.INFO: GPS data processed {"connection_id":187445,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:31:32] local.INFO: Acknowledgment sent {"connection_id":187445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:31:49] local.INFO: TCP Data received {"connection_id":186008,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:31:49] local.INFO: Processing buffer {"connection_id":186008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:31:49] local.INFO: Packet analysis {"connection_id":186008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:31:49] local.INFO: Extracted packet for processing {"connection_id":186008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:31:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:31:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:31:49] local.INFO: GPS data processed {"connection_id":186008,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:31:49] local.INFO: Acknowledgment sent {"connection_id":186008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:32:03] local.INFO: TCP Data received {"connection_id":187445,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38793d0012d1821400721b3f0004c00cb2c..."} 
[2026-09-18 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38793d0012d1821400721b3f0004c00cb2c..."} 
[2026-09-18 13:32:03] local.INFO: Processing buffer {"connection_id":187445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38793d0012d1821400721b3f0004c00cb2c..."} 
[2026-09-18 13:32:03] local.INFO: Packet analysis {"connection_id":187445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b387"} 
[2026-09-18 13:32:03] local.INFO: Extracted packet for processing {"connection_id":187445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b387"} 
[2026-09-18 13:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649264,"longitude_deg":75.6556096,"latitude_deg":11.9649264,"altitude":76,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-18 13:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167905536001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316575525076992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516111360,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718402000,"timestamp_ms":1789718402000,"timestamp_seconds":1789718402,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38793d0"} 
[2026-09-18 13:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:32: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-09-18 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 13:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167905536001,"66":12993,"120":206,"28":31744,"24":0,"16":21316575525076992,"45":1738741330516111360},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167905536001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:32:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316575525076992,"km_value":21316575525076.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516111360,"description":"Unknown IO ID 45"} 
[2026-09-18 13:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167905536001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516111360}} 
[2026-09-18 13:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":187445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:32:03] local.INFO: GPS data processed {"connection_id":187445,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:32:03] local.INFO: Acknowledgment sent {"connection_id":187445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:32:12] local.INFO: TCP Data received {"connection_id":186157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:32:12] local.INFO: Processing buffer {"connection_id":186157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:32:12] local.INFO: IMEI packet received {"connection_id":186157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":186157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:32:17] local.INFO: TCP Data received {"connection_id":186157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:32:17] local.INFO: Processing buffer {"connection_id":186157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:32:17] local.INFO: IMEI packet received {"connection_id":186157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":186157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:32:18] local.INFO: TCP Data received {"connection_id":186157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:32:18] local.INFO: Processing buffer {"connection_id":186157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:32:18] local.INFO: Packet analysis {"connection_id":186157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:32:18] local.INFO: Extracted packet for processing {"connection_id":186157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:32:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:32:18] 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-09-18 13:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:32:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:32:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":186157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:32:18] local.INFO: GPS data processed {"connection_id":186157,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:32:18] local.INFO: Acknowledgment sent {"connection_id":186157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:32:30] local.INFO: TCP Data received {"connection_id":188777,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:32:30] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:32:30] local.INFO: IMEI packet received {"connection_id":188777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":188777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:32:35] local.INFO: TCP Data received {"connection_id":188777,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:32:35] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:32:35] local.INFO: IMEI packet received {"connection_id":188777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":188777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:32:36] local.INFO: TCP Data received {"connection_id":188777,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b387e5d8012d1821400721b3f0004c00cb2b..."} 
[2026-09-18 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b387e5d8012d1821400721b3f0004c00cb2b..."} 
[2026-09-18 13:32:36] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b387e5d8012d1821400721b3f0004c00cb2b..."} 
[2026-09-18 13:32:36] local.INFO: Packet analysis {"connection_id":188777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b387"} 
[2026-09-18 13:32:36] local.INFO: Extracted packet for processing {"connection_id":188777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b387"} 
[2026-09-18 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649264,"longitude_deg":75.6556096,"latitude_deg":11.9649264,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-18 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167910912001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316575525076992,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516111360,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789718423000,"timestamp_ms":1789718423000,"timestamp_seconds":1789718423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b387e5d8"} 
[2026-09-18 13:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:32: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-09-18 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 13:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167910912001,"66":12961,"120":206,"28":31744,"24":0,"16":21316575525076992,"45":1738741330516111360},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167910912001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:32:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316575525076992,"km_value":21316575525076.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516111360,"description":"Unknown IO ID 45"} 
[2026-09-18 13:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167910912001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516111360}} 
[2026-09-18 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":188777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:32:36] local.INFO: GPS data processed {"connection_id":188777,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:32:36] local.INFO: Acknowledgment sent {"connection_id":188777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:32:40] local.INFO: TCP Data received {"connection_id":188777,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38837e0012d1820000721b230004a00cb28..."} 
[2026-09-18 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38837e0012d1820000721b230004a00cb28..."} 
[2026-09-18 13:32:40] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38837e0012d1820000721b230004a00cb28..."} 
[2026-09-18 13:32:40] local.INFO: Packet analysis {"connection_id":188777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:32:40] local.INFO: Extracted packet for processing {"connection_id":188777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167916288001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516111360,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789718444000,"timestamp_ms":1789718444000,"timestamp_seconds":1789718444,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38837e0"} 
[2026-09-18 13:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13: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-09-18 13:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 13:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167916288001,"66":12885,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738741330516111360},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167916288001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:32:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:32:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516111360,"description":"Unknown IO ID 45"} 
[2026-09-18 13:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167916288001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516111360}} 
[2026-09-18 13:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":188777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:32:40] local.INFO: GPS data processed {"connection_id":188777,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:32:40] local.INFO: Acknowledgment sent {"connection_id":188777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:32:50] local.INFO: TCP Data received {"connection_id":186157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:32:50] local.INFO: Processing buffer {"connection_id":186157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:32:50] local.INFO: Packet analysis {"connection_id":186157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:32:50] local.INFO: Extracted packet for processing {"connection_id":186157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:32:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:32:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":186157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:32:50] local.INFO: GPS data processed {"connection_id":186157,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:32:50] local.INFO: Acknowledgment sent {"connection_id":186157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:33:12] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:33:12] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:33:12] local.INFO: IMEI packet received {"connection_id":188778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":188778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:33:17] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:33:17] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:33:17] local.INFO: IMEI packet received {"connection_id":188778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":188778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:33:19] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:33:19] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:33:19] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:19] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:33:19] 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-09-18 13:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:33:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:33:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:33:19] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:33:19] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:33:25] local.INFO: TCP Data received {"connection_id":187446,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:33:25] local.INFO: Processing buffer {"connection_id":187446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:33:25] local.INFO: IMEI packet received {"connection_id":187446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":187446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:33:28] local.INFO: TCP Data received {"connection_id":187446,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:33:28] local.INFO: Processing buffer {"connection_id":187446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:33:28] local.INFO: IMEI packet received {"connection_id":187446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":187446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:33:30] local.INFO: TCP Data received {"connection_id":187446,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38889e8012d1820000721b230004a00cb28..."} 
[2026-09-18 13:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38889e8012d1820000721b230004a00cb28..."} 
[2026-09-18 13:33:30] local.INFO: Processing buffer {"connection_id":187446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38889e8012d1820000721b230004a00cb28..."} 
[2026-09-18 13:33:30] local.INFO: Packet analysis {"connection_id":187446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:30] local.INFO: Extracted packet for processing {"connection_id":187446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13:33: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-09-18 13:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921664001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789718465000,"timestamp_ms":1789718465000,"timestamp_seconds":1789718465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38889e8"} 
[2026-09-18 13:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:33: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-09-18 13:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 13:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:33: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-09-18 13:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921664001,"66":12863,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738389486795108352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921664001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:33:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-18 13:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921664001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-18 13:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":187446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:33:30] local.INFO: GPS data processed {"connection_id":187446,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:33:30] local.INFO: Acknowledgment sent {"connection_id":187446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:33:31] local.INFO: TCP Data received {"connection_id":187446,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b388dbf0012d1820000721b230004a00cb28..."} 
[2026-09-18 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b388dbf0012d1820000721b230004a00cb28..."} 
[2026-09-18 13:33:31] local.INFO: Processing buffer {"connection_id":187446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b388dbf0012d1820000721b230004a00cb28..."} 
[2026-09-18 13:33:31] local.INFO: Packet analysis {"connection_id":187446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:31] local.INFO: Extracted packet for processing {"connection_id":187446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167927040001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718486000,"timestamp_ms":1789718486000,"timestamp_seconds":1789718486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b388dbf0"} 
[2026-09-18 13:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:33: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-09-18 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 13:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167927040001,"66":12809,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738389486795108352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167927040001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:33:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-18 13:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167927040001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-18 13:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":187446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:33:31] local.INFO: GPS data processed {"connection_id":187446,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:33:31] local.INFO: Acknowledgment sent {"connection_id":187446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:33:50] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:33:50] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:33:50] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:50] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:33:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:33:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:33:50] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:33:50] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:34:02] local.INFO: TCP Data received {"connection_id":187446,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3892df8012d1820000721b230004a00cb27..."} 
[2026-09-18 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3892df8012d1820000721b230004a00cb27..."} 
[2026-09-18 13:34:02] local.INFO: Processing buffer {"connection_id":187446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3892df8012d1820000721b230004a00cb27..."} 
[2026-09-18 13:34:02] local.INFO: Packet analysis {"connection_id":187446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b389"} 
[2026-09-18 13:34:02] local.INFO: Extracted packet for processing {"connection_id":187446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b389"} 
[2026-09-18 13:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167932416001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789718507000,"timestamp_ms":1789718507000,"timestamp_seconds":1789718507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3892df8"} 
[2026-09-18 13:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:34: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-09-18 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011964864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-8738936004698168192,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957069379056100,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429586447108408105,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,187,160,137,45,178,74,40,10,66,55,229,64,1,240,161,179,33,4,113,205,65,239,51,2,75,7,5,124,72],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:34:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332485331465797632,"timestamp_seconds":5332485331465798.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167932416001,"66":12809,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738389486795108352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167932416001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:34:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-18 13:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167932416001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-18 13:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":187446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:34:02] local.INFO: GPS data processed {"connection_id":187446,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:34:02] local.INFO: Acknowledgment sent {"connection_id":187446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:34:12] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:34:12] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:34:12] local.INFO: IMEI packet received {"connection_id":186009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":186009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:34:17] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:34:17] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:34:17] local.INFO: IMEI packet received {"connection_id":186009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":186009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:34:18] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:34:18] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:34:18] local.INFO: Packet analysis {"connection_id":186009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:34:18] local.INFO: Extracted packet for processing {"connection_id":186009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:34:18] 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-09-18 13:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:34:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:34:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":186009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:34:18] local.INFO: GPS data processed {"connection_id":186009,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:34:18] local.INFO: Acknowledgment sent {"connection_id":186009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:34:25] local.INFO: TCP Data received {"connection_id":186158,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:34:25] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:34:25] local.INFO: IMEI packet received {"connection_id":186158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":186158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:34:30] local.INFO: TCP Data received {"connection_id":186158,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:34:30] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:34:30] local.INFO: IMEI packet received {"connection_id":186158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":186158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:34:31] local.INFO: TCP Data received {"connection_id":186158,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3898000012d1820000721b230004a00cb24..."} 
[2026-09-18 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3898000012d1820000721b230004a00cb24..."} 
[2026-09-18 13:34:31] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3898000012d1820000721b230004a00cb24..."} 
[2026-09-18 13:34:31] local.INFO: Packet analysis {"connection_id":186158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b389"} 
[2026-09-18 13:34:31] local.INFO: Extracted packet for processing {"connection_id":186158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b389"} 
[2026-09-18 13:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167937792001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718528000,"timestamp_ms":1789718528000,"timestamp_seconds":1789718528,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3898000"} 
[2026-09-18 13:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:34: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-09-18 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3011985864,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-8723542841909304640,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055399,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3142582272,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429181826829435179,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875719779143196,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,187,160,219,45,178,74,40,10,66,137,55,1,240,85,179,33,4,113,205,147,44,239,50,2,75,7,76,51,124,80],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 13:34:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332485327170830336,"timestamp_seconds":5332485327170830.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 13:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167937792001,"66":12743,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738389486795108352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167937792001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:34:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-18 13:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167937792001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-18 13:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":186158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:34:32] local.INFO: GPS data processed {"connection_id":186158,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:34:32] local.INFO: Acknowledgment sent {"connection_id":186158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:34:50] local.INFO: TCP Data received {"connection_id":186009,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:34:50] local.INFO: Processing buffer {"connection_id":186009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:34:50] local.INFO: Packet analysis {"connection_id":186009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:34:50] local.INFO: Extracted packet for processing {"connection_id":186009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:34:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:34:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":186009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:34:50] local.INFO: GPS data processed {"connection_id":186009,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:34:50] local.INFO: Acknowledgment sent {"connection_id":186009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:35:03] local.INFO: TCP Data received {"connection_id":186158,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b389d208012d1820000721b230004a00cb26..."} 
[2026-09-18 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b389d208012d1820000721b230004a00cb26..."} 
[2026-09-18 13:35:03] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b389d208012d1820000721b230004a00cb26..."} 
[2026-09-18 13:35:03] local.INFO: Packet analysis {"connection_id":186158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b389"} 
[2026-09-18 13:35:03] local.INFO: Extracted packet for processing {"connection_id":186158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b389"} 
[2026-09-18 13:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167943168001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718549000,"timestamp_ms":1789718549000,"timestamp_seconds":1789718549,"priority":1,"record_length":96,"hex_timestamp":"000001a0b389d208"} 
[2026-09-18 13:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:35: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-09-18 13: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":199,"data_length":795,"current_offset":136} 
[2026-09-18 13:35: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-09-18 13:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167943168001,"66":12743,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738389486795108352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167943168001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:35:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-18 13:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167943168001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-18 13:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":186158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:35:03] local.INFO: GPS data processed {"connection_id":186158,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:35:03] local.INFO: Acknowledgment sent {"connection_id":186158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:35:12] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:35:12] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:35:12] local.INFO: IMEI packet received {"connection_id":187447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":187447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:35:17] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:35:17] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:35:17] local.INFO: IMEI packet received {"connection_id":187447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":187447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:35:19] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:35:19] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:35:19] local.INFO: Packet analysis {"connection_id":187447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:35:19] local.INFO: Extracted packet for processing {"connection_id":187447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:35:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:35:19] 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-09-18 13:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:35:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:35:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":187447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:35:19] local.INFO: GPS data processed {"connection_id":187447,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:35:19] local.INFO: Acknowledgment sent {"connection_id":187447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:35:25] local.INFO: TCP Data received {"connection_id":188780,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:35:25] local.INFO: Processing buffer {"connection_id":188780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:35:25] local.INFO: IMEI packet received {"connection_id":188780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":188780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:35:30] local.INFO: TCP Data received {"connection_id":188780,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:35:30] local.INFO: Processing buffer {"connection_id":188780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:35:30] local.INFO: IMEI packet received {"connection_id":188780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":188780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:35:31] local.INFO: TCP Data received {"connection_id":188780,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38a2410012d1820000721b230004a00cb27..."} 
[2026-09-18 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38a2410012d1820000721b230004a00cb27..."} 
[2026-09-18 13:35:31] local.INFO: Processing buffer {"connection_id":188780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38a2410012d1820000721b230004a00cb27..."} 
[2026-09-18 13:35:31] local.INFO: Packet analysis {"connection_id":188780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38a"} 
[2026-09-18 13:35:31] local.INFO: Extracted packet for processing {"connection_id":188780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38a"} 
[2026-09-18 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167948544001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316605589848064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718570000,"timestamp_ms":1789718570000,"timestamp_seconds":1789718570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38a2410"} 
[2026-09-18 13:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:35: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-09-18 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 13:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167948544001,"66":13993,"120":206,"28":31744,"24":0,"16":21316605589848064,"45":1738389486795108352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167948544001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:35:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316605589848064,"km_value":21316605589848.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-18 13:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167948544001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-18 13:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":188780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:35:31] local.INFO: GPS data processed {"connection_id":188780,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:35:31] local.INFO: Acknowledgment sent {"connection_id":188780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:35:50] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:35:50] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:35:50] local.INFO: Packet analysis {"connection_id":187447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:35:50] local.INFO: Extracted packet for processing {"connection_id":187447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:35:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:35:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:35:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":187447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:35:50] local.INFO: GPS data processed {"connection_id":187447,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:35:50] local.INFO: Acknowledgment sent {"connection_id":187447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:36:03] local.INFO: TCP Data received {"connection_id":188780,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38c1810012d181d000721aae8004e009a2a..."} 
[2026-09-18 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38c1810012d181d000721aae8004e009a2a..."} 
[2026-09-18 13:36:03] local.INFO: Processing buffer {"connection_id":188780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38c1810012d181d000721aae8004e009a2a..."} 
[2026-09-18 13:36:03] local.INFO: Packet analysis {"connection_id":188780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:03] local.INFO: Extracted packet for processing {"connection_id":188780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646952,"longitude_deg":75.6555008,"latitude_deg":11.9646952,"altitude":78,"angle":154,"satellites":42,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721aae8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167986432001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316712964030464,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120360448,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718698000,"timestamp_ms":1789718698000,"timestamp_seconds":1789718698,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38c1810"} 
[2026-09-18 13:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:36: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-09-18 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 13:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167986432001,"66":14265,"120":206,"28":31744,"24":7,"16":21316712964030464,"45":1737474693120360448},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167986432001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:36:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316712964030464,"km_value":21316712964030.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120360448,"description":"Unknown IO ID 45"} 
[2026-09-18 13:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167986432001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737474693120360448}} 
[2026-09-18 13:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":188780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:36:03] local.INFO: GPS data processed {"connection_id":188780,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:36:03] local.INFO: Acknowledgment sent {"connection_id":188780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:36:12] local.INFO: TCP Data received {"connection_id":187448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:36:12] local.INFO: Processing buffer {"connection_id":187448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:36:12] local.INFO: IMEI packet received {"connection_id":187448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":187448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:36:17] local.INFO: TCP Data received {"connection_id":187448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:36:17] local.INFO: Processing buffer {"connection_id":187448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:36:17] local.INFO: IMEI packet received {"connection_id":187448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":187448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:36:18] local.INFO: TCP Data received {"connection_id":187448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:36:18] local.INFO: Processing buffer {"connection_id":187448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3883bc8012d4ce0c0068f46600046007324..."} 
[2026-09-18 13:36:18] local.INFO: Packet analysis {"connection_id":187448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:36:18] local.INFO: Extracted packet for processing {"connection_id":187448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b388"} 
[2026-09-18 13:36:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167844864001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718445000,"timestamp_ms":1789718445000,"timestamp_seconds":1789718445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3883bc8"} 
[2026-09-18 13:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:36:18] 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-09-18 13:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167844864001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167844864001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:36:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:36:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167844864001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":187448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:36:18] local.INFO: GPS data processed {"connection_id":187448,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:36:18] local.INFO: Acknowledgment sent {"connection_id":187448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:36:27] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:27] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:27] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:36:29] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:29] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:29] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:36:30] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:30] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:30] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:36:35] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:35] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:36:35] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:36:36] local.INFO: TCP Data received {"connection_id":188779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:36:36] local.INFO: Processing buffer {"connection_id":188779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:36:36] local.INFO: IMEI packet received {"connection_id":188779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":188779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:36:36] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38c23c8012d181ec00721a860004e008427..."} 
[2026-09-18 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38c23c8012d181ec00721a860004e008427..."} 
[2026-09-18 13:36:36] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38c23c8012d181ec00721a860004e008427..."} 
[2026-09-18 13:36:36] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:36] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646304,"longitude_deg":75.6555456,"latitude_deg":11.9646304,"altitude":78,"angle":132,"satellites":39,"speed":10,"hex_longitude":"2d181ec0","hex_latitude":"0721a860","is_valid_coordinates":true} 
[2026-09-18 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167986688001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316751618736128,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864499200,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789718701000,"timestamp_ms":1789718701000,"timestamp_seconds":1789718701,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38c23c8"} 
[2026-09-18 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:36: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-09-18 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 13:36: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-09-18 13:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167986688001,"66":14233,"120":206,"28":31744,"24":10,"16":21316751618736128,"45":1737545061864499200},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167986688001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:36:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316751618736128,"km_value":21316751618736.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864499200,"description":"Unknown IO ID 45"} 
[2026-09-18 13:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167986688001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737545061864499200}} 
[2026-09-18 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:36:36] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:36:36] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:36:37] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38c75d0012d1821800721a558004f008c26..."} 
[2026-09-18 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38c75d0012d1821800721a558004f008c26..."} 
[2026-09-18 13:36:37] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38c75d0012d1821800721a558004f008c26..."} 
[2026-09-18 13:36:37] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:37] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119645528,"longitude_deg":75.655616,"latitude_deg":11.9645528,"altitude":79,"angle":140,"satellites":38,"speed":4,"hex_longitude":"2d182180","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167987456001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21316803158343680,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073576960,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789718722000,"timestamp_ms":1789718722000,"timestamp_seconds":1789718722,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38c75d0"} 
[2026-09-18 13:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:36: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-09-18 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 13:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167987456001,"66":14233,"120":206,"28":31744,"24":4,"16":21316803158343680,"45":1738037643073576960},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167987456001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:36:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21316803158343680,"km_value":21316803158343.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073576960,"description":"Unknown IO ID 45"} 
[2026-09-18 13:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167987456001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738037643073576960}} 
[2026-09-18 13:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:36:37] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:36:37] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:36:49] local.INFO: TCP Data received {"connection_id":187448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:36:49] local.INFO: Processing buffer {"connection_id":187448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:36:49] local.INFO: Packet analysis {"connection_id":187448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:49] local.INFO: Extracted packet for processing {"connection_id":187448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:36:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:36:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:36:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":187448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:36:49] local.INFO: GPS data processed {"connection_id":187448,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:36:49] local.INFO: Acknowledgment sent {"connection_id":187448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:37:08] local.INFO: TCP Data received {"connection_id":188781,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d6fd0012d18cc00072133500040008f28..."} 
[2026-09-18 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d6fd0012d18cc00072133500040008f28..."} 
[2026-09-18 13:37:08] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d6fd0012d18cc00072133500040008f28..."} 
[2026-09-18 13:37:08] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:37:08] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119616336,"longitude_deg":75.6599808,"latitude_deg":11.9616336,"altitude":64,"angle":143,"satellites":40,"speed":40,"hex_longitude":"2d18cc00","hex_latitude":"07213350","is_valid_coordinates":true} 
[2026-09-18 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168008704001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21319534757543936,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130450432,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789718786000,"timestamp_ms":1789718786000,"timestamp_seconds":1789718786,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d6fd0"} 
[2026-09-18 13:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:37: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-09-18 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 13:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168008704001,"66":13439,"121":206,"28":31744,"24":40,"16":21319534757543936,"45":1785606914130450432},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168008704001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:37:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21319534757543936,"km_value":21319534757543.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130450432,"description":"Unknown IO ID 45"} 
[2026-09-18 13:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168008704001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1785606914130450432}} 
[2026-09-18 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:37:08] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:37:08] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:37:12] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:37:12] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:37:12] local.INFO: IMEI packet received {"connection_id":188782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":188782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:37:17] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:37:17] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:37:17] local.INFO: IMEI packet received {"connection_id":188782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":188782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:37:18] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:37:18] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:37:18] local.INFO: Packet analysis {"connection_id":188782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:37:18] local.INFO: Extracted packet for processing {"connection_id":188782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:37:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:37:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":188782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:37:18] local.INFO: GPS data processed {"connection_id":188782,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:37:18] local.INFO: Acknowledgment sent {"connection_id":188782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:37:25] local.INFO: TCP Data received {"connection_id":186010,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:25] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:25] local.INFO: IMEI packet received {"connection_id":186010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":186010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:37:25] local.INFO: TCP Data received {"connection_id":186010,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:25] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:25] local.INFO: IMEI packet received {"connection_id":186010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":186010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:37:30] local.INFO: TCP Data received {"connection_id":186010,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:30] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:37:30] local.INFO: IMEI packet received {"connection_id":186010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":186010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:37:32] local.INFO: TCP Data received {"connection_id":186010,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d7b88012d18d200072128f0003f009f28..."} 
[2026-09-18 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d7b88012d18d200072128f0003f009f28..."} 
[2026-09-18 13:37:32] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d7b88012d18d200072128f0003f009f28..."} 
[2026-09-18 13:37:32] local.INFO: Packet analysis {"connection_id":186010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:37:32] local.INFO: Extracted packet for processing {"connection_id":186010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613680,"longitude_deg":75.6601344,"latitude_deg":11.961368,"altitude":63,"angle":159,"satellites":40,"speed":40,"hex_longitude":"2d18d200","hex_latitude":"072128f0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168009216001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21319680786432000,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182781026304,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789718789000,"timestamp_ms":1789718789000,"timestamp_seconds":1789718789,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d7b88"} 
[2026-09-18 13:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:37: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-09-18 13: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 13:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168009216001,"66":14070,"121":206,"28":31744,"24":40,"16":21319680786432000,"45":1786803182781026304},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168009216001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:37:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21319680786432000,"km_value":21319680786432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182781026304,"description":"Unknown IO ID 45"} 
[2026-09-18 13:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168009216001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1786803182781026304}} 
[2026-09-18 13:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":186010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:37:32] local.INFO: GPS data processed {"connection_id":186010,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:37:32] local.INFO: Acknowledgment sent {"connection_id":186010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:37:33] local.INFO: TCP Data received {"connection_id":186010,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d7f70012d18d2c007212510003f00ab27..."} 
[2026-09-18 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d7f70012d18d2c007212510003f00ab27..."} 
[2026-09-18 13:37:33] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d7f70012d18d2c007212510003f00ab27..."} 
[2026-09-18 13:37:33] local.INFO: Packet analysis {"connection_id":186010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:37:33] local.INFO: Extracted packet for processing {"connection_id":186010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612688,"longitude_deg":75.6601536,"latitude_deg":11.9612688,"altitude":63,"angle":171,"satellites":39,"speed":40,"hex_longitude":"2d18d2c0","hex_latitude":"07212510","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168009984001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21319732326039552,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640610304,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789718790000,"timestamp_ms":1789718790000,"timestamp_seconds":1789718790,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d7f70"} 
[2026-09-18 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-09-18 13:37: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-09-18 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 13:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 13:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168009984001,"66":14211,"121":206,"28":31744,"24":40,"16":21319732326039552,"45":1788492032640610304},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168009984001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:37:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21319732326039552,"km_value":21319732326039.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640610304,"description":"Unknown IO ID 45"} 
[2026-09-18 13:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168009984001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1788492032640610304}} 
[2026-09-18 13:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":186010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:37:33] local.INFO: GPS data processed {"connection_id":186010,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:37:33] local.INFO: Acknowledgment sent {"connection_id":186010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:37:49] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:37:49] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:37:49] local.INFO: Packet analysis {"connection_id":188782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:37:49] local.INFO: Extracted packet for processing {"connection_id":188782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:37:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:37:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:37:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":188782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:37:49] local.INFO: GPS data processed {"connection_id":188782,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:37:49] local.INFO: Acknowledgment sent {"connection_id":188782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:38:04] local.INFO: TCP Data received {"connection_id":186010,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d8740012d18d28007211d50003e00ba25..."} 
[2026-09-18 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d8740012d18d28007211d50003e00ba25..."} 
[2026-09-18 13:38:04] local.INFO: Processing buffer {"connection_id":186010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d8740012d18d28007211d50003e00ba25..."} 
[2026-09-18 13:38:04] local.INFO: Packet analysis {"connection_id":186010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:38:04] local.INFO: Extracted packet for processing {"connection_id":186010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119610704,"longitude_deg":75.6601472,"latitude_deg":11.9610704,"altitude":62,"angle":186,"satellites":37,"speed":39,"hex_longitude":"2d18d280","hex_latitude":"07211d50","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168010240001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21319826815320064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872889344,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789718792000,"timestamp_ms":1789718792000,"timestamp_seconds":1789718792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d8740"} 
[2026-09-18 13:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:38: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-09-18 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 13:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168010240001,"66":13656,"121":206,"28":31744,"24":39,"16":21319826815320064,"45":1788703138872889344},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168010240001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:38:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21319826815320064,"km_value":21319826815320.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872889344,"description":"Unknown IO ID 45"} 
[2026-09-18 13:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168010240001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1788703138872889344}} 
[2026-09-18 13:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":186010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:38:04] local.INFO: GPS data processed {"connection_id":186010,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:38:04] local.INFO: Acknowledgment sent {"connection_id":186010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:38:15] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:38:15] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:38:15] local.INFO: IMEI packet received {"connection_id":186011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":186011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:38:17] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:38:17] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:38:17] local.INFO: IMEI packet received {"connection_id":186011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":186011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:38:18] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:18] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:18] local.INFO: Packet analysis {"connection_id":186011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:38:18] local.INFO: Extracted packet for processing {"connection_id":186011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:38:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:38:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:38:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":186011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:38:18] local.INFO: GPS data processed {"connection_id":186011,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:38:18] local.INFO: Acknowledgment sent {"connection_id":186011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:38:23] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:23] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:23] local.INFO: Packet analysis {"connection_id":186011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:38:23] local.INFO: Extracted packet for processing {"connection_id":186011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:38:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:38:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":186011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:38:23] local.INFO: GPS data processed {"connection_id":186011,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:38:23] local.INFO: Acknowledgment sent {"connection_id":186011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:38:26] local.INFO: TCP Data received {"connection_id":187449,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:38:26] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:38:26] local.INFO: IMEI packet received {"connection_id":187449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":187449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:38:30] local.INFO: TCP Data received {"connection_id":187449,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:38:30] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:38:30] local.INFO: IMEI packet received {"connection_id":187449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":187449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:38:31] local.INFO: TCP Data received {"connection_id":187449,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d92f8012d18d280072111c8003d00ab26..."} 
[2026-09-18 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d92f8012d18d280072111c8003d00ab26..."} 
[2026-09-18 13:38:31] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d92f8012d18d280072111c8003d00ab26..."} 
[2026-09-18 13:38:31] local.INFO: Packet analysis {"connection_id":187449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:38:31] local.INFO: Extracted packet for processing {"connection_id":187449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119607752,"longitude_deg":75.6601472,"latitude_deg":11.9607752,"altitude":61,"angle":171,"satellites":38,"speed":39,"hex_longitude":"2d18d280","hex_latitude":"072111c8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168010752001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21319972844208128,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128203776,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789718795000,"timestamp_ms":1789718795000,"timestamp_seconds":1789718795,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d92f8"} 
[2026-09-18 13:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 13:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168010752001,"66":14396,"121":206,"28":31744,"24":39,"16":21319972844208128,"45":1788632770128203776},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168010752001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21319972844208128,"km_value":21319972844208.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128203776,"description":"Unknown IO ID 45"} 
[2026-09-18 13:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168010752001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1788632770128203776}} 
[2026-09-18 13:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":187449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:38:32] local.INFO: GPS data processed {"connection_id":187449,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:38:32] local.INFO: Acknowledgment sent {"connection_id":187449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:38:54] local.INFO: TCP Data received {"connection_id":186011,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:54] local.INFO: Processing buffer {"connection_id":186011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:38:54] local.INFO: Packet analysis {"connection_id":186011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:38:54] local.INFO: Extracted packet for processing {"connection_id":186011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:38:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:38:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":186011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:38:54] local.INFO: GPS data processed {"connection_id":186011,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:38:54] local.INFO: Acknowledgment sent {"connection_id":186011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:39:03] local.INFO: TCP Data received {"connection_id":187449,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38da680012d18d8800720fef8003a009724..."} 
[2026-09-18 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38da680012d18d8800720fef8003a009724..."} 
[2026-09-18 13:39:03] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38da680012d18d8800720fef8003a009724..."} 
[2026-09-18 13:39:03] local.INFO: Packet analysis {"connection_id":187449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:39:03] local.INFO: Extracted packet for processing {"connection_id":187449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756603008,"raw_latitude":119602936,"longitude_deg":75.6603008,"latitude_deg":11.9602936,"altitude":58,"angle":151,"satellites":36,"speed":40,"hex_longitude":"2d18d880","hex_latitude":"0720fef8","is_valid_coordinates":true} 
[2026-09-18 13:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168011520001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21320217657344000,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127448064,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789718800000,"timestamp_ms":1789718800000,"timestamp_seconds":1789718800,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38da680"} 
[2026-09-18 13:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:39: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-09-18 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 13:39: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-09-18 13:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168011520001,"66":14102,"121":206,"28":31744,"24":40,"16":21320217657344000,"45":1788632770127448064},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168011520001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:39:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21320217657344000,"km_value":21320217657344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127448064,"description":"Unknown IO ID 45"} 
[2026-09-18 13:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168011520001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1788632770127448064}} 
[2026-09-18 13:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":187449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:39:03] local.INFO: GPS data processed {"connection_id":187449,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:39:03] local.INFO: Acknowledgment sent {"connection_id":187449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:39:12] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:39:12] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:39:12] local.INFO: IMEI packet received {"connection_id":186160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":186160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:39:17] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:39:17] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:39:17] local.INFO: IMEI packet received {"connection_id":186160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":186160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:39:18] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:39:18] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:39:18] local.INFO: Packet analysis {"connection_id":186160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:39:18] local.INFO: Extracted packet for processing {"connection_id":186160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:39:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:39:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:39:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":186160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:39:18] local.INFO: GPS data processed {"connection_id":186160,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:39:18] local.INFO: Acknowledgment sent {"connection_id":186160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:39:25] local.INFO: TCP Data received {"connection_id":186161,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:39:25] local.INFO: Processing buffer {"connection_id":186161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:39:25] local.INFO: IMEI packet received {"connection_id":186161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":186161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:39:30] local.INFO: TCP Data received {"connection_id":186161,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:39:30] local.INFO: Processing buffer {"connection_id":186161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:39:30] local.INFO: IMEI packet received {"connection_id":186161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":186161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:39:32] local.INFO: TCP Data received {"connection_id":186161,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38dae50012d18dd400720f8e80039008722..."} 
[2026-09-18 13:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38dae50012d18dd400720f8e80039008722..."} 
[2026-09-18 13:39:32] local.INFO: Processing buffer {"connection_id":186161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38dae50012d18dd400720f8e80039008722..."} 
[2026-09-18 13:39:32] local.INFO: Packet analysis {"connection_id":186161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:39:32] local.INFO: Extracted packet for processing {"connection_id":186161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-18 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756604224,"raw_latitude":119601384,"longitude_deg":75.6604224,"latitude_deg":11.9601384,"altitude":57,"angle":135,"satellites":34,"speed":39,"hex_longitude":"2d18dd40","hex_latitude":"0720f8e8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168012800001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21320312146624512,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790321619986479104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789718802000,"timestamp_ms":1789718802000,"timestamp_seconds":1789718802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38dae50"} 
[2026-09-18 13:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:39: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-09-18 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 13:39: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-09-18 13: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-09-18 13:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168012800001,"66":14004,"121":206,"28":31744,"24":39,"16":21320312146624512,"45":1790321619986479104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168012800001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21320312146624512,"km_value":21320312146624.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790321619986479104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168012800001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1790321619986479104}} 
[2026-09-18 13:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":186161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:39:32] local.INFO: GPS data processed {"connection_id":186161,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:39:32] local.INFO: Acknowledgment sent {"connection_id":186161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:39:49] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:39:49] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:39:49] local.INFO: Packet analysis {"connection_id":186160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:39:49] local.INFO: Extracted packet for processing {"connection_id":186160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:39:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:39:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:39:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":186160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:39:49] local.INFO: GPS data processed {"connection_id":186160,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:39:49] local.INFO: Acknowledgment sent {"connection_id":186160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:40:04] local.INFO: TCP Data received {"connection_id":186161,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38fe0d0012d196e000720ad800036004827..."} 
[2026-09-18 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38fe0d0012d196e000720ad800036004827..."} 
[2026-09-18 13:40:04] local.INFO: Processing buffer {"connection_id":186161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38fe0d0012d196e000720ad800036004827..."} 
[2026-09-18 13:40:04] local.INFO: Packet analysis {"connection_id":186161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38f"} 
[2026-09-18 13:40:04] local.INFO: Extracted packet for processing {"connection_id":186161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38f"} 
[2026-09-18 13:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119582080,"longitude_deg":75.664128,"latitude_deg":11.958208,"altitude":54,"angle":72,"satellites":39,"speed":25,"hex_longitude":"2d196e00","hex_latitude":"0720ad80","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168049408001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21322425270534144,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066673960960,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789718946000,"timestamp_ms":1789718946000,"timestamp_seconds":1789718946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38fe0d0"} 
[2026-09-18 13:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:40: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-09-18 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 13:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168049408001,"66":14374,"121":206,"28":31744,"24":25,"16":21322425270534144,"45":1830291066673960960},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168049408001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:40:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21322425270534144,"km_value":21322425270534.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066673960960,"description":"Unknown IO ID 45"} 
[2026-09-18 13:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168049408001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1830291066673960960}} 
[2026-09-18 13:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":186161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:40:04] local.INFO: GPS data processed {"connection_id":186161,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:40:04] local.INFO: Acknowledgment sent {"connection_id":186161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:40:12] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:40:12] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:40:12] local.INFO: IMEI packet received {"connection_id":186012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":186012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:40:17] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:40:17] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:40:17] local.INFO: IMEI packet received {"connection_id":186012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":186012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:40:18] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:40:18] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:40:18] local.INFO: Packet analysis {"connection_id":186012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:40:18] local.INFO: Extracted packet for processing {"connection_id":186012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:40:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:40:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:40:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":186012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:40:18] local.INFO: GPS data processed {"connection_id":186012,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:40:18] local.INFO: Acknowledgment sent {"connection_id":186012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:40:25] local.INFO: TCP Data received {"connection_id":188783,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:40:25] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:40:25] local.INFO: IMEI packet received {"connection_id":188783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":188783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:40:30] local.INFO: TCP Data received {"connection_id":188783,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:40:30] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:40:30] local.INFO: IMEI packet received {"connection_id":188783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":188783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:40:30] local.INFO: TCP Data received {"connection_id":188783,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3900fb0012d1989000720b358003c005527..."} 
[2026-09-18 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3900fb0012d1989000720b358003c005527..."} 
[2026-09-18 13:40:30] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3900fb0012d1989000720b358003c005527..."} 
[2026-09-18 13:40:30] local.INFO: Packet analysis {"connection_id":188783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b390"} 
[2026-09-18 13:40:30] local.INFO: Extracted packet for processing {"connection_id":188783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b390"} 
[2026-09-18 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756648192,"raw_latitude":119583576,"longitude_deg":75.6648192,"latitude_deg":11.9583576,"altitude":60,"angle":85,"satellites":39,"speed":21,"hex_longitude":"2d198900","hex_latitude":"0720b358","is_valid_coordinates":true} 
[2026-09-18 13:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168050176001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21322760277983232,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128999383040,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789718958000,"timestamp_ms":1789718958000,"timestamp_seconds":1789718958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3900fb0"} 
[2026-09-18 13:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:40: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-09-18 13:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 13:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168050176001,"66":14298,"121":206,"28":31744,"24":21,"16":21322760277983232,"45":1832402128999383040},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168050176001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:40:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21322760277983232,"km_value":21322760277983.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128999383040,"description":"Unknown IO ID 45"} 
[2026-09-18 13:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168050176001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1832402128999383040}} 
[2026-09-18 13:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":188783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:40:31] local.INFO: GPS data processed {"connection_id":188783,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:40:31] local.INFO: Acknowledgment sent {"connection_id":188783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:40:49] local.INFO: TCP Data received {"connection_id":186012,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:40:49] local.INFO: Processing buffer {"connection_id":186012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:40:49] local.INFO: Packet analysis {"connection_id":186012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:40:49] local.INFO: Extracted packet for processing {"connection_id":186012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:40:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:40:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:40:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":186012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:40:49] local.INFO: GPS data processed {"connection_id":186012,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:40:49] local.INFO: Acknowledgment sent {"connection_id":186012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:41:02] local.INFO: TCP Data received {"connection_id":188783,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b390d300012d19b4c007206fc0002f009d28..."} 
[2026-09-18 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b390d300012d19b4c007206fc0002f009d28..."} 
[2026-09-18 13:41:02] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b390d300012d19b4c007206fc0002f009d28..."} 
[2026-09-18 13:41:02] local.INFO: Packet analysis {"connection_id":188783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b390"} 
[2026-09-18 13:41:02] local.INFO: Extracted packet for processing {"connection_id":188783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b390"} 
[2026-09-18 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756659392,"raw_latitude":119566272,"longitude_deg":75.6659392,"latitude_deg":11.9566272,"altitude":47,"angle":157,"satellites":40,"speed":43,"hex_longitude":"2d19b4c0","hex_latitude":"07206fc0","is_valid_coordinates":true} 
[2026-09-18 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168064256001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324173322223616,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273942016,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789719008000,"timestamp_ms":1789719008000,"timestamp_seconds":1789719008,"priority":1,"record_length":96,"hex_timestamp":"000001a0b390d300"} 
[2026-09-18 13:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:41: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-09-18 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 13:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168064256001,"66":14483,"121":206,"28":31744,"24":43,"16":21324173322223616,"45":1850205421273942016},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168064256001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:41:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324173322223616,"km_value":21324173322223.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273942016,"description":"Unknown IO ID 45"} 
[2026-09-18 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168064256001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1850205421273942016}} 
[2026-09-18 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":188783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:41:02] local.INFO: GPS data processed {"connection_id":188783,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:41:02] local.INFO: Acknowledgment sent {"connection_id":188783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:41:12] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:41:12] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:41:12] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:41:17] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:41:17] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:41:17] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:41:18] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:41:18] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38cd390012d4ce0c0068f46600046007321..."} 
[2026-09-18 13:41:18] local.INFO: Packet analysis {"connection_id":186162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:41:18] local.INFO: Extracted packet for processing {"connection_id":186162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38c"} 
[2026-09-18 13:41:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":33,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167921920001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789718746000,"timestamp_ms":1789718746000,"timestamp_seconds":1789718746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38cd390"} 
[2026-09-18 13:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167921920001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167921920001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:41:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:41:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458167921920001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":186162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:41:18] local.INFO: GPS data processed {"connection_id":186162,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:41:18] local.INFO: Acknowledgment sent {"connection_id":186162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:41:25] local.INFO: TCP Data received {"connection_id":188784,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:25] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:25] local.INFO: IMEI packet received {"connection_id":188784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":188784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:41:30] local.INFO: TCP Data received {"connection_id":188784,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:30] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:30] local.INFO: IMEI packet received {"connection_id":188784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":188784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:41:30] local.INFO: TCP Data received {"connection_id":188784,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:30] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:41:30] local.INFO: IMEI packet received {"connection_id":188784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":188784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:41:32] local.INFO: TCP Data received {"connection_id":188784,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b390e2a0012d19b9c007205f40002d00aa29..."} 
[2026-09-18 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b390e2a0012d19b9c007205f40002d00aa29..."} 
[2026-09-18 13:41:32] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b390e2a0012d19b9c007205f40002d00aa29..."} 
[2026-09-18 13:41:32] local.INFO: Packet analysis {"connection_id":188784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b390"} 
[2026-09-18 13:41:32] local.INFO: Extracted packet for processing {"connection_id":188784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b390"} 
[2026-09-18 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119562048,"longitude_deg":75.6660672,"latitude_deg":11.9562048,"altitude":45,"angle":170,"satellites":41,"speed":44,"hex_longitude":"2d19b9c0","hex_latitude":"07205f40","is_valid_coordinates":true} 
[2026-09-18 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168066048001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324388070588416,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852316483597615104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789719012000,"timestamp_ms":1789719012000,"timestamp_seconds":1789719012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b390e2a0"} 
[2026-09-18 13:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:41: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-09-18 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 13:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168066048001,"66":14396,"121":206,"28":31744,"24":44,"16":21324388070588416,"45":1852316483597615104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168066048001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324388070588416,"km_value":21324388070588.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852316483597615104,"description":"Unknown IO ID 45"} 
[2026-09-18 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168066048001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1852316483597615104}} 
[2026-09-18 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":188784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:41:32] local.INFO: GPS data processed {"connection_id":188784,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:41:32] local.INFO: Acknowledgment sent {"connection_id":188784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:41:35] local.INFO: TCP Data received {"connection_id":188784,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39105c8012d19be0007203a80002d00a628..."} 
[2026-09-18 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39105c8012d19be0007203a80002d00a628..."} 
[2026-09-18 13:41:35] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39105c8012d19be0007203a80002d00a628..."} 
[2026-09-18 13:41:35] local.INFO: Packet analysis {"connection_id":188784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:41:35] local.INFO: Extracted packet for processing {"connection_id":188784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756661760,"raw_latitude":119552640,"longitude_deg":75.666176,"latitude_deg":11.955264,"altitude":45,"angle":166,"satellites":40,"speed":39,"hex_longitude":"2d19be00","hex_latitude":"07203a80","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168067072001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324847632089088,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858480087040,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789719021000,"timestamp_ms":1789719021000,"timestamp_seconds":1789719021,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39105c8"} 
[2026-09-18 13:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 13:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168067072001,"66":14102,"121":206,"28":31744,"24":39,"16":21324847632089088,"45":1853723858480087040},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168067072001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:41:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:41:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324847632089088,"km_value":21324847632089.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858480087040,"description":"Unknown IO ID 45"} 
[2026-09-18 13:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168067072001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1853723858480087040}} 
[2026-09-18 13:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":188784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:41:35] local.INFO: GPS data processed {"connection_id":188784,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:41:35] local.INFO: Acknowledgment sent {"connection_id":188784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:41:49] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:41:49] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:41:49] local.INFO: Packet analysis {"connection_id":186162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:41:49] local.INFO: Extracted packet for processing {"connection_id":186162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:41:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:41:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:41:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:41:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":186162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:41:49] local.INFO: GPS data processed {"connection_id":186162,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:41:49] local.INFO: Acknowledgment sent {"connection_id":186162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:42:07] local.INFO: TCP Data received {"connection_id":188784,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b391c918012d19cd00071ff940003000db26..."} 
[2026-09-18 13:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b391c918012d19cd00071ff940003000db26..."} 
[2026-09-18 13:42:07] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b391c918012d19cd00071ff940003000db26..."} 
[2026-09-18 13:42:07] local.INFO: Packet analysis {"connection_id":188784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:42:07] local.INFO: Extracted packet for processing {"connection_id":188784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119535936,"longitude_deg":75.66656,"latitude_deg":11.9535936,"altitude":48,"angle":219,"satellites":38,"speed":20,"hex_longitude":"2d19cd00","hex_latitude":"071ff940","is_valid_coordinates":true} 
[2026-09-18 13:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168081664001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21325891309142016,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414193760256,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789719071000,"timestamp_ms":1789719071000,"timestamp_seconds":1789719071,"priority":1,"record_length":96,"hex_timestamp":"000001a0b391c918"} 
[2026-09-18 13:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:42: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-09-18 13:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 13:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168081664001,"66":14374,"121":206,"28":31744,"24":20,"16":21325891309142016,"45":1860127414193760256},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 13:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168081664001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 13:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21325891309142016,"km_value":21325891309142.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414193760256,"description":"Unknown IO ID 45"} 
[2026-09-18 13:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168081664001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1860127414193760256}} 
[2026-09-18 13:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":188784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:42:07] local.INFO: GPS data processed {"connection_id":188784,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:42:07] local.INFO: Acknowledgment sent {"connection_id":188784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:42:10] local.INFO: TCP Data received {"connection_id":186159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:42:10] local.INFO: Processing buffer {"connection_id":186159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:42:10] local.INFO: IMEI packet received {"connection_id":186159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":186159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:42:12] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:42:12] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:42:12] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:42:17] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:42:17] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:42:17] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:42:18] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:42:18] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:42:18] local.INFO: Packet analysis {"connection_id":188785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:42:18] local.INFO: Extracted packet for processing {"connection_id":188785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:42:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:42:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:42:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":188785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:42:18] local.INFO: GPS data processed {"connection_id":188785,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:42:18] local.INFO: Acknowledgment sent {"connection_id":188785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:42:25] local.INFO: TCP Data received {"connection_id":188786,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:25] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:25] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:42:26] local.INFO: TCP Data received {"connection_id":188786,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:26] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:26] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:42:27] local.INFO: TCP Data received {"connection_id":188786,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:27] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:27] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:42:28] local.INFO: TCP Data received {"connection_id":188786,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:28] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:42:28] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:42:49] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:42:49] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:42:49] local.INFO: Packet analysis {"connection_id":188785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:42:49] local.INFO: Extracted packet for processing {"connection_id":188785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:42:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:42:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:42:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:42:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":188785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:42:49] local.INFO: GPS data processed {"connection_id":188785,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:42:49] local.INFO: Acknowledgment sent {"connection_id":188785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:43:12] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:43:12] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:43:12] local.INFO: IMEI packet received {"connection_id":186013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":186013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:43:17] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:43:17] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:43:17] local.INFO: IMEI packet received {"connection_id":186013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":186013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:43:19] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:43:19] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:43:19] local.INFO: Packet analysis {"connection_id":186013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:43:19] local.INFO: Extracted packet for processing {"connection_id":186013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:43:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:43:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:43: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-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:43:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:43:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":186013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:43:19] local.INFO: GPS data processed {"connection_id":186013,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:43:19] local.INFO: Acknowledgment sent {"connection_id":186013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:43:50] local.INFO: TCP Data received {"connection_id":186013,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:43:50] local.INFO: Processing buffer {"connection_id":186013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:43:50] local.INFO: Packet analysis {"connection_id":186013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:43:50] local.INFO: Extracted packet for processing {"connection_id":186013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:43:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:43: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-09-18 13:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:43:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:43:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":186013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:43:50] local.INFO: GPS data processed {"connection_id":186013,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:43:50] local.INFO: Acknowledgment sent {"connection_id":186013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:44:12] local.INFO: TCP Data received {"connection_id":186014,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:44:12] local.INFO: Processing buffer {"connection_id":186014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:44:12] local.INFO: IMEI packet received {"connection_id":186014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":186014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:44:17] local.INFO: TCP Data received {"connection_id":186014,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:44:17] local.INFO: Processing buffer {"connection_id":186014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:44:17] local.INFO: IMEI packet received {"connection_id":186014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":186014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:44:18] local.INFO: TCP Data received {"connection_id":186014,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:44:18] local.INFO: Processing buffer {"connection_id":186014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:44:18] local.INFO: Packet analysis {"connection_id":186014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:44:18] local.INFO: Extracted packet for processing {"connection_id":186014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:44:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:44: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-09-18 13:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:44:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:44:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":186014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:44:18] local.INFO: GPS data processed {"connection_id":186014,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:44:18] local.INFO: Acknowledgment sent {"connection_id":186014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:44:49] local.INFO: TCP Data received {"connection_id":186014,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:44:49] local.INFO: Processing buffer {"connection_id":186014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:44:49] local.INFO: Packet analysis {"connection_id":186014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:44:49] local.INFO: Extracted packet for processing {"connection_id":186014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:44:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:44:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:44:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:44:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":186014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:44:49] local.INFO: GPS data processed {"connection_id":186014,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:44:49] local.INFO: Acknowledgment sent {"connection_id":186014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:45:12] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:45:12] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:45:12] local.INFO: IMEI packet received {"connection_id":186164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":186164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:45:17] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:45:17] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:45:17] local.INFO: IMEI packet received {"connection_id":186164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":186164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:45:18] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:45:18] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:45:18] local.INFO: Packet analysis {"connection_id":186164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:45:18] local.INFO: Extracted packet for processing {"connection_id":186164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:45:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:45:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:45:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":186164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:45:18] local.INFO: GPS data processed {"connection_id":186164,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:45:18] local.INFO: Acknowledgment sent {"connection_id":186164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:45:49] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:45:49] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:45:49] local.INFO: Packet analysis {"connection_id":186164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:45:49] local.INFO: Extracted packet for processing {"connection_id":186164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:45:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:45:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:45:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":186164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:45:49] local.INFO: GPS data processed {"connection_id":186164,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:45:49] local.INFO: Acknowledgment sent {"connection_id":186164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:46:12] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:46:12] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:46:12] local.INFO: IMEI packet received {"connection_id":186015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":186015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:46:17] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:46:17] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:46:17] local.INFO: IMEI packet received {"connection_id":186015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":186015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:46:18] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:46:18] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3916b58012d4ce0c0068f4660004600731f..."} 
[2026-09-18 13:46:18] local.INFO: Packet analysis {"connection_id":186015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:46:18] local.INFO: Extracted packet for processing {"connection_id":186015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b391"} 
[2026-09-18 13:46:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":31,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458167998976001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:46:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 13:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719047000,"timestamp_ms":1789719047000,"timestamp_seconds":1789719047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3916b58"} 
[2026-09-18 13:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458167998976001,"66":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 13:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458167998976001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:46:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458167998976001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":186015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:46:18] local.INFO: GPS data processed {"connection_id":186015,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:46:18] local.INFO: Acknowledgment sent {"connection_id":186015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:46:49] local.INFO: TCP Data received {"connection_id":186015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:46:49] local.INFO: Processing buffer {"connection_id":186015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:46:49] local.INFO: Packet analysis {"connection_id":186015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:46:49] local.INFO: Extracted packet for processing {"connection_id":186015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:46:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:46:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":186015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:46:49] local.INFO: GPS data processed {"connection_id":186015,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:46:49] local.INFO: Acknowledgment sent {"connection_id":186015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:47:12] local.INFO: TCP Data received {"connection_id":187452,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:47:12] local.INFO: Processing buffer {"connection_id":187452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:47:12] local.INFO: IMEI packet received {"connection_id":187452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":187452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:47:17] local.INFO: TCP Data received {"connection_id":187452,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:47:17] local.INFO: Processing buffer {"connection_id":187452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:47:17] local.INFO: IMEI packet received {"connection_id":187452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":187452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:47:19] local.INFO: TCP Data received {"connection_id":187452,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:47:19] local.INFO: Processing buffer {"connection_id":187452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:47:19] local.INFO: Packet analysis {"connection_id":187452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:47:19] local.INFO: Extracted packet for processing {"connection_id":187452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:47: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-09-18 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:47:19] 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-09-18 13:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":187452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:47:19] local.INFO: GPS data processed {"connection_id":187452,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:47:19] local.INFO: Acknowledgment sent {"connection_id":187452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:47:30] local.INFO: TCP Data received {"connection_id":188788,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:47:30] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:47:30] local.INFO: IMEI packet received {"connection_id":188788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":188788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:47:32] local.INFO: TCP Data received {"connection_id":188788,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b396bea0012d1863c007218258004c011c24..."} 
[2026-09-18 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b396bea0012d1863c007218258004c011c24..."} 
[2026-09-18 13:47:32] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b396bea0012d1863c007218258004c011c24..."} 
[2026-09-18 13:47:32] local.INFO: Packet analysis {"connection_id":188788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:47:32] local.INFO: Extracted packet for processing {"connection_id":188788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119636568,"longitude_deg":75.657312,"latitude_deg":11.9636568,"altitude":76,"angle":284,"satellites":36,"speed":36,"hex_longitude":"2d1863c0","hex_latitude":"07218258","is_valid_coordinates":true} 
[2026-09-18 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-09-18 13:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168163584001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21334266495369216,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922137675776,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789719396000,"timestamp_ms":1789719396000,"timestamp_seconds":1789719396,"priority":1,"record_length":96,"hex_timestamp":"000001a0b396bea0"} 
[2026-09-18 13:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 13:47: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-09-18 13: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-09-18 13:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168163584001,"66":14070,"120":206,"28":31744,"24":36,"16":21334266495369216,"45":1764425922137675776},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168163584001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:47:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21334266495369216,"km_value":21334266495369.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922137675776,"description":"Unknown IO ID 45"} 
[2026-09-18 13:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168163584001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1764425922137675776}} 
[2026-09-18 13:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":188788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:47:32] local.INFO: GPS data processed {"connection_id":188788,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:47:32] local.INFO: Acknowledgment sent {"connection_id":188788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:47:42] local.INFO: TCP Data received {"connection_id":186163,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:47:42] local.INFO: Processing buffer {"connection_id":186163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:47:42] local.INFO: IMEI packet received {"connection_id":186163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":186163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:47:50] local.INFO: TCP Data received {"connection_id":187452,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:47:50] local.INFO: Processing buffer {"connection_id":187452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:47:50] local.INFO: Packet analysis {"connection_id":187452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:47:50] local.INFO: Extracted packet for processing {"connection_id":187452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:47:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:47:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":187452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:47:50] local.INFO: GPS data processed {"connection_id":187452,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:47:50] local.INFO: Acknowledgment sent {"connection_id":187452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:48:03] local.INFO: TCP Data received {"connection_id":188788,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b396ca58012d185900072186a8004d012826..."} 
[2026-09-18 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b396ca58012d185900072186a8004d012826..."} 
[2026-09-18 13:48:03] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b396ca58012d185900072186a8004d012826..."} 
[2026-09-18 13:48:03] local.INFO: Packet analysis {"connection_id":188788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:48:03] local.INFO: Extracted packet for processing {"connection_id":188788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119637672,"longitude_deg":75.6570368,"latitude_deg":11.9637672,"altitude":77,"angle":296,"satellites":38,"speed":40,"hex_longitude":"2d185900","hex_latitude":"072186a8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168165376001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21334408229289984,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464119808,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789719399000,"timestamp_ms":1789719399000,"timestamp_seconds":1789719399,"priority":1,"record_length":96,"hex_timestamp":"000001a0b396ca58"} 
[2026-09-18 13:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:48: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-09-18 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 13:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168165376001,"66":14330,"120":206,"28":31744,"24":40,"16":21334408229289984,"45":1757459416464119808},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168165376001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:48:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21334408229289984,"km_value":21334408229289.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464119808,"description":"Unknown IO ID 45"} 
[2026-09-18 13:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168165376001,"power":14330,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1757459416464119808}} 
[2026-09-18 13:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":188788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:48:03] local.INFO: GPS data processed {"connection_id":188788,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:48:03] local.INFO: Acknowledgment sent {"connection_id":188788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:48:10] local.INFO: TCP Data received {"connection_id":186016,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:48:10] local.INFO: Processing buffer {"connection_id":186016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:48:10] local.INFO: IMEI packet received {"connection_id":186016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":186016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:48:12] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:48:12] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:48:12] local.INFO: IMEI packet received {"connection_id":186166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":186166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:48:17] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:48:17] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:48:17] local.INFO: IMEI packet received {"connection_id":186166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":186166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:48:18] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:48:18] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:48:18] local.INFO: Packet analysis {"connection_id":186166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:48:18] local.INFO: Extracted packet for processing {"connection_id":186166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:48:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:48:18] 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-09-18 13:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:48:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:48:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":186166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:48:19] local.INFO: GPS data processed {"connection_id":186166,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:48:19] local.INFO: Acknowledgment sent {"connection_id":186166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:48:25] local.INFO: TCP Data received {"connection_id":186167,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:25] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:25] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:48:27] local.INFO: TCP Data received {"connection_id":186167,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:27] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:27] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:48:28] local.INFO: TCP Data received {"connection_id":186167,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:28] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:28] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:48:29] local.INFO: TCP Data received {"connection_id":186167,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:29] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:48:29] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:48:50] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:48:50] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:48:50] local.INFO: Packet analysis {"connection_id":186166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:48:50] local.INFO: Extracted packet for processing {"connection_id":186166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:48:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:48:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":186166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:48:50] local.INFO: GPS data processed {"connection_id":186166,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:48:50] local.INFO: Acknowledgment sent {"connection_id":186166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:49:12] local.INFO: TCP Data received {"connection_id":187453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:49:12] local.INFO: Processing buffer {"connection_id":187453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:49:12] local.INFO: IMEI packet received {"connection_id":187453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":187453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:49:17] local.INFO: TCP Data received {"connection_id":187453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:49:17] local.INFO: Processing buffer {"connection_id":187453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:49:17] local.INFO: IMEI packet received {"connection_id":187453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":187453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:49:18] local.INFO: TCP Data received {"connection_id":187453,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:49:18] local.INFO: Processing buffer {"connection_id":187453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:49:18] local.INFO: Packet analysis {"connection_id":187453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:49:18] local.INFO: Extracted packet for processing {"connection_id":187453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:49:18] 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-09-18 13:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":187453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:49:18] local.INFO: GPS data processed {"connection_id":187453,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:49:18] local.INFO: Acknowledgment sent {"connection_id":187453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:49:49] local.INFO: TCP Data received {"connection_id":187453,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:49:49] local.INFO: Processing buffer {"connection_id":187453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:49:49] local.INFO: Packet analysis {"connection_id":187453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:49:49] local.INFO: Extracted packet for processing {"connection_id":187453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:49:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:49:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":187453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:49:49] local.INFO: GPS data processed {"connection_id":187453,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:49:49] local.INFO: Acknowledgment sent {"connection_id":187453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:50:12] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:50:12] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:50:12] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:50:17] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:50:17] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:50:17] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:50:18] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:50:18] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:50:18] local.INFO: Packet analysis {"connection_id":188790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:50:18] local.INFO: Extracted packet for processing {"connection_id":188790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:50:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:50:18] 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-09-18 13:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:50:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:50:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":188790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:50:18] local.INFO: GPS data processed {"connection_id":188790,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:50:18] local.INFO: Acknowledgment sent {"connection_id":188790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:50:49] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:50:49] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:50:49] local.INFO: Packet analysis {"connection_id":188790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:50:49] local.INFO: Extracted packet for processing {"connection_id":188790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:50:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:50:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":188790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:50:49] local.INFO: GPS data processed {"connection_id":188790,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:50:49] local.INFO: Acknowledgment sent {"connection_id":188790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:51:12] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:51:12] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:51:12] local.INFO: IMEI packet received {"connection_id":186169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":186169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:51:17] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:51:17] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:51:17] local.INFO: IMEI packet received {"connection_id":186169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":186169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:51:18] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:51:18] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3960320012d4ce0c0068f46600046007325..."} 
[2026-09-18 13:51:18] local.INFO: Packet analysis {"connection_id":186169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:51:18] local.INFO: Extracted packet for processing {"connection_id":186169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b396"} 
[2026-09-18 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":70,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168076032001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719348000,"timestamp_ms":1789719348000,"timestamp_seconds":1789719348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3960320"} 
[2026-09-18 13:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 13:51:18] 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-09-18 13:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168076032001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168076032001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:51:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:51:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168076032001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":186169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:51:18] local.INFO: GPS data processed {"connection_id":186169,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:51:18] local.INFO: Acknowledgment sent {"connection_id":186169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:51:49] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:51:49] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:51:49] local.INFO: Packet analysis {"connection_id":186169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:51:49] local.INFO: Extracted packet for processing {"connection_id":186169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:51:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:51:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:51:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":186169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:51:49] local.INFO: GPS data processed {"connection_id":186169,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:51:49] local.INFO: Acknowledgment sent {"connection_id":186169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:52:12] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:52:12] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:52:12] local.INFO: IMEI packet received {"connection_id":188791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":188791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:52:17] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:52:17] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:52:17] local.INFO: IMEI packet received {"connection_id":188791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":188791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:52:18] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:52:18] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:52:18] local.INFO: Packet analysis {"connection_id":188791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:52:18] local.INFO: Extracted packet for processing {"connection_id":188791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:52:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:52:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:52:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":188791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:52:18] local.INFO: GPS data processed {"connection_id":188791,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:52:18] local.INFO: Acknowledgment sent {"connection_id":188791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:52:50] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:52:50] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:52:50] local.INFO: Packet analysis {"connection_id":188791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:52:50] local.INFO: Extracted packet for processing {"connection_id":188791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:52:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:52:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":188791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:52:50] local.INFO: GPS data processed {"connection_id":188791,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:52:50] local.INFO: Acknowledgment sent {"connection_id":188791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:53:12] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:53:12] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:53:12] local.INFO: IMEI packet received {"connection_id":186017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":186017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:53:17] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:53:17] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:53:17] local.INFO: IMEI packet received {"connection_id":186017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":186017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:53:18] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:53:18] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:53:18] local.INFO: Packet analysis {"connection_id":186017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:53:18] local.INFO: Extracted packet for processing {"connection_id":186017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:53:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:53:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:53:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":186017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:53:18] local.INFO: GPS data processed {"connection_id":186017,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:53:18] local.INFO: Acknowledgment sent {"connection_id":186017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:53:26] local.INFO: TCP Data received {"connection_id":186018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:53:26] local.INFO: Processing buffer {"connection_id":186018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:53:26] local.INFO: IMEI packet received {"connection_id":186018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":186018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:53:30] local.INFO: TCP Data received {"connection_id":186171,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:53:30] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:53:30] local.INFO: IMEI packet received {"connection_id":186171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":186171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:53:31] local.INFO: TCP Data received {"connection_id":186171,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39bd368012d17564007224af80069014229..."} 
[2026-09-18 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39bd368012d17564007224af80069014229..."} 
[2026-09-18 13:53:31] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39bd368012d17564007224af80069014229..."} 
[2026-09-18 13:53:31] local.INFO: Packet analysis {"connection_id":186171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39b"} 
[2026-09-18 13:53:31] local.INFO: Extracted packet for processing {"connection_id":186171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39b"} 
[2026-09-18 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756504128,"raw_latitude":119687928,"longitude_deg":75.6504128,"latitude_deg":11.9687928,"altitude":105,"angle":322,"satellites":41,"speed":12,"hex_longitude":"2d175640","hex_latitude":"07224af8","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168250368001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21339764053508096,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681883385230401536,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789719729000,"timestamp_ms":1789719729000,"timestamp_seconds":1789719729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39bd368"} 
[2026-09-18 13:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 13:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168250368001,"66":13798,"120":206,"28":31744,"24":12,"16":21339764053508096,"45":1681883385230401536},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168250368001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21339764053508096,"km_value":21339764053508.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681883385230401536,"description":"Unknown IO ID 45"} 
[2026-09-18 13:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168250368001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1681883385230401536}} 
[2026-09-18 13:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":186171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:53:32] local.INFO: GPS data processed {"connection_id":186171,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:53:32] local.INFO: Acknowledgment sent {"connection_id":186171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:53:49] local.INFO: TCP Data received {"connection_id":186017,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:53:49] local.INFO: Processing buffer {"connection_id":186017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:53:49] local.INFO: Packet analysis {"connection_id":186017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:53:49] local.INFO: Extracted packet for processing {"connection_id":186017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:53:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:53:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:53:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":186017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:53:49] local.INFO: GPS data processed {"connection_id":186017,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:53:49] local.INFO: Acknowledgment sent {"connection_id":186017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:54:02] local.INFO: TCP Data received {"connection_id":186171,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39ce8c0012d17480007226e60007d007224..."} 
[2026-09-18 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39ce8c0012d17480007226e60007d007224..."} 
[2026-09-18 13:54:02] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39ce8c0012d17480007226e60007d007224..."} 
[2026-09-18 13:54:02] local.INFO: Packet analysis {"connection_id":186171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39c"} 
[2026-09-18 13:54:02] local.INFO: Extracted packet for processing {"connection_id":186171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39c"} 
[2026-09-18 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756500480,"raw_latitude":119696992,"longitude_deg":75.650048,"latitude_deg":11.9696992,"altitude":125,"angle":114,"satellites":36,"speed":9,"hex_longitude":"2d174800","hex_latitude":"07226e60","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168268544001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21340665996640256,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677309416861249536,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789719800000,"timestamp_ms":1789719800000,"timestamp_seconds":1789719800,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39ce8c0"} 
[2026-09-18 13:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 13:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168268544001,"66":14374,"120":206,"28":31744,"24":9,"16":21340665996640256,"45":1677309416861249536},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 13:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168268544001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:54:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 13:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21340665996640256,"km_value":21340665996640.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677309416861249536,"description":"Unknown IO ID 45"} 
[2026-09-18 13:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168268544001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1677309416861249536}} 
[2026-09-18 13:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":186171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:54:03] local.INFO: GPS data processed {"connection_id":186171,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:54:03] local.INFO: Acknowledgment sent {"connection_id":186171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:54:12] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:54:12] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:54:12] local.INFO: IMEI packet received {"connection_id":186019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":186019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:54:17] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:54:17] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:54:17] local.INFO: IMEI packet received {"connection_id":186019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":186019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:54:18] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:54:18] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:54:18] local.INFO: Packet analysis {"connection_id":186019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:54:18] local.INFO: Extracted packet for processing {"connection_id":186019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:54:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:54:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:54:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":186019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:54:18] local.INFO: GPS data processed {"connection_id":186019,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:54:18] local.INFO: Acknowledgment sent {"connection_id":186019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:54:25] local.INFO: TCP Data received {"connection_id":186172,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:25] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:25] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:54:25] local.INFO: TCP Data received {"connection_id":186172,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:25] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:25] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:54:26] local.INFO: TCP Data received {"connection_id":186172,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:26] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:26] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:54:28] local.INFO: TCP Data received {"connection_id":186172,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:28] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:54:28] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 13:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:54:49] local.INFO: TCP Data received {"connection_id":186019,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:54:49] local.INFO: Processing buffer {"connection_id":186019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:54:49] local.INFO: Packet analysis {"connection_id":186019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:54:49] local.INFO: Extracted packet for processing {"connection_id":186019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:54:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:54:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:54:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":186019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:54:49] local.INFO: GPS data processed {"connection_id":186019,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:54:49] local.INFO: Acknowledgment sent {"connection_id":186019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:55:12] local.INFO: TCP Data received {"connection_id":187455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:55:12] local.INFO: Processing buffer {"connection_id":187455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:55:12] local.INFO: IMEI packet received {"connection_id":187455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":187455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:55:17] local.INFO: TCP Data received {"connection_id":187455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:55:17] local.INFO: Processing buffer {"connection_id":187455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:55:17] local.INFO: IMEI packet received {"connection_id":187455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":187455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:55:18] local.INFO: TCP Data received {"connection_id":187455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:55:18] local.INFO: Processing buffer {"connection_id":187455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:55:18] local.INFO: Packet analysis {"connection_id":187455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:55:18] local.INFO: Extracted packet for processing {"connection_id":187455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:55:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:55:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:55:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":187455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:55:18] local.INFO: GPS data processed {"connection_id":187455,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:55:18] local.INFO: Acknowledgment sent {"connection_id":187455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:55:50] local.INFO: TCP Data received {"connection_id":187455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:55:50] local.INFO: Processing buffer {"connection_id":187455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:55:50] local.INFO: Packet analysis {"connection_id":187455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:55:50] local.INFO: Extracted packet for processing {"connection_id":187455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:55:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:55:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":187455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:55:50] local.INFO: GPS data processed {"connection_id":187455,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:55:50] local.INFO: Acknowledgment sent {"connection_id":187455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:56:12] local.INFO: TCP Data received {"connection_id":186021,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:56:12] local.INFO: Processing buffer {"connection_id":186021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:56:12] local.INFO: IMEI packet received {"connection_id":186021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":186021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:56:17] local.INFO: TCP Data received {"connection_id":186021,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:56:17] local.INFO: Processing buffer {"connection_id":186021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:56:17] local.INFO: IMEI packet received {"connection_id":186021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":186021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:56:18] local.INFO: TCP Data received {"connection_id":186021,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:56:18] local.INFO: Processing buffer {"connection_id":186021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39a9ae8012d4ce0c0068f46600044007325..."} 
[2026-09-18 13:56:18] local.INFO: Packet analysis {"connection_id":186021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:56:18] local.INFO: Extracted packet for processing {"connection_id":186021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39a"} 
[2026-09-18 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168153088001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719649000,"timestamp_ms":1789719649000,"timestamp_seconds":1789719649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39a9ae8"} 
[2026-09-18 13:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 13:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:56: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-09-18 13:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168153088001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168153088001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:56:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:56:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168153088001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":186021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:56:18] local.INFO: GPS data processed {"connection_id":186021,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:56:18] local.INFO: Acknowledgment sent {"connection_id":186021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:56:49] local.INFO: TCP Data received {"connection_id":186021,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:56:49] local.INFO: Processing buffer {"connection_id":186021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:56:49] local.INFO: Packet analysis {"connection_id":186021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:56:49] local.INFO: Extracted packet for processing {"connection_id":186021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:56:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:56:49] 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-09-18 13:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:56:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:56:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":186021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:56:49] local.INFO: GPS data processed {"connection_id":186021,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:56:49] local.INFO: Acknowledgment sent {"connection_id":186021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:57:17] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:57:17] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:57:17] local.INFO: IMEI packet received {"connection_id":187456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":187456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:57:22] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:57:22] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:57:22] local.INFO: IMEI packet received {"connection_id":187456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":187456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:57:23] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:57:23] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:57:23] local.INFO: Packet analysis {"connection_id":187456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:57:23] local.INFO: Extracted packet for processing {"connection_id":187456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:57:23] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:57:23] 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-09-18 13:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:57:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:57:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":187456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:57:23] local.INFO: GPS data processed {"connection_id":187456,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:57:23] local.INFO: Acknowledgment sent {"connection_id":187456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:57:27] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:57:27] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:57:27] local.INFO: Packet analysis {"connection_id":187456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:57:27] local.INFO: Extracted packet for processing {"connection_id":187456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:57:27] 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-09-18 13:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:57:27] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:57:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":187456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:57:27] local.INFO: GPS data processed {"connection_id":187456,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:57:27] local.INFO: Acknowledgment sent {"connection_id":187456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:58:12] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:58:12] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:58:12] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:58:17] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:58:17] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:58:17] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:58:18] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:58:18] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:58:18] local.INFO: Packet analysis {"connection_id":188794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:58:18] local.INFO: Extracted packet for processing {"connection_id":188794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:58:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:58:18] 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-09-18 13:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:58:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:58:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":188794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:58:18] local.INFO: GPS data processed {"connection_id":188794,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:58:18] local.INFO: Acknowledgment sent {"connection_id":188794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:58:49] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:58:49] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:58:49] local.INFO: Packet analysis {"connection_id":188794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:58:49] local.INFO: Extracted packet for processing {"connection_id":188794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:58:49] 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-09-18 13:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:58:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:58:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":188794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:58:49] local.INFO: GPS data processed {"connection_id":188794,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:58:49] local.INFO: Acknowledgment sent {"connection_id":188794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:59:00] local.INFO: TCP Data received {"connection_id":188793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:59:00] local.INFO: Processing buffer {"connection_id":188793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 13:59:00] local.INFO: IMEI packet received {"connection_id":188793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":188793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:59:12] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:59:12] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:59:12] local.INFO: IMEI packet received {"connection_id":186022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 13:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":186022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:59:17] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:59:17] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 13:59:17] local.INFO: IMEI packet received {"connection_id":186022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 13:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":186022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 13:59:18] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:59:18] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:59:18] local.INFO: Packet analysis {"connection_id":186022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:59:18] local.INFO: Extracted packet for processing {"connection_id":186022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:59:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:59:18] 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-09-18 13:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:59: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-09-18 13:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:59:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:59:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":186022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:59:18] local.INFO: GPS data processed {"connection_id":186022,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:59:18] local.INFO: Acknowledgment sent {"connection_id":186022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:59:30] local.INFO: TCP Data received {"connection_id":187457,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:59:30] local.INFO: Processing buffer {"connection_id":187457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 13:59:30] local.INFO: IMEI packet received {"connection_id":187457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 13:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":187457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 13:59:31] local.INFO: TCP Data received {"connection_id":187457,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a11af8012d17f880072182a00047014328..."} 
[2026-09-18 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a11af8012d17f880072182a00047014328..."} 
[2026-09-18 13:59:31] local.INFO: Processing buffer {"connection_id":187457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a11af8012d17f880072182a00047014328..."} 
[2026-09-18 13:59:31] local.INFO: Packet analysis {"connection_id":187457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a1"} 
[2026-09-18 13:59:31] local.INFO: Extracted packet for processing {"connection_id":187457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a1"} 
[2026-09-18 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756545664,"raw_latitude":119636640,"longitude_deg":75.6545664,"latitude_deg":11.963664,"altitude":71,"angle":323,"satellites":40,"speed":3,"hex_longitude":"2d17f880","hex_latitude":"072182a0","is_valid_coordinates":true} 
[2026-09-18 13: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-09-18 13:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168338688001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21345016798511104,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727341593956063232,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720075000,"timestamp_ms":1789720075000,"timestamp_seconds":1789720075,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a11af8"} 
[2026-09-18 13:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 13:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 13: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-09-18 13:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 13:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 13:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 13:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 13:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168338688001,"66":14363,"122":206,"28":31744,"24":3,"16":21345016798511104,"45":1727341593956063232},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 13:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 13:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 13:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168338688001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:59:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 13:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 13:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21345016798511104,"km_value":21345016798511.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727341593956063232,"description":"Unknown IO ID 45"} 
[2026-09-18 13:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168338688001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1727341593956063232}} 
[2026-09-18 13:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":187457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:59:31] local.INFO: GPS data processed {"connection_id":187457,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:59:31] local.INFO: Acknowledgment sent {"connection_id":187457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 13:59:50] local.INFO: TCP Data received {"connection_id":186022,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:59:50] local.INFO: Processing buffer {"connection_id":186022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 13:59:50] local.INFO: Packet analysis {"connection_id":186022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:59:50] local.INFO: Extracted packet for processing {"connection_id":186022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 13:59:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 13:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 13:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 13:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 13:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 13:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 13:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 13:59:50] 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-09-18 13:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 13:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 13:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 13:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 13:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 13:59: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-09-18 13:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 13:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 13:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 13:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 13:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 13:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 13:59:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 13:59:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 13:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 13:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 13:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 13:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":186022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 13:59:50] local.INFO: GPS data processed {"connection_id":186022,"processed":1,"errors":0,"total":1} 
[2026-09-18 13:59:50] local.INFO: Acknowledgment sent {"connection_id":186022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:00:03] local.INFO: TCP Data received {"connection_id":187457,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a16d00012d17f800072182c00047013a2a..."} 
[2026-09-18 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a16d00012d17f800072182c00047013a2a..."} 
[2026-09-18 14:00:03] local.INFO: Processing buffer {"connection_id":187457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a16d00012d17f800072182c00047013a2a..."} 
[2026-09-18 14:00:03] local.INFO: Packet analysis {"connection_id":187457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a1"} 
[2026-09-18 14:00:03] local.INFO: Extracted packet for processing {"connection_id":187457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a1"} 
[2026-09-18 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756545536,"raw_latitude":119636672,"longitude_deg":75.6545536,"latitude_deg":11.9636672,"altitude":71,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d17f800","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-09-18 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168339200001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21345025388445696,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727271225211920384,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720096000,"timestamp_ms":1789720096000,"timestamp_seconds":1789720096,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a16d00"} 
[2026-09-18 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 14:00: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-09-18 14:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168339200001,"66":14396,"122":206,"28":31744,"24":0,"16":21345025388445696,"45":1727271225211920384},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168339200001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:00:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21345025388445696,"km_value":21345025388445.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727271225211920384,"description":"Unknown IO ID 45"} 
[2026-09-18 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168339200001,"power":14396,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1727271225211920384}} 
[2026-09-18 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":187457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:00:03] local.INFO: GPS data processed {"connection_id":187457,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:00:03] local.INFO: Acknowledgment sent {"connection_id":187457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:00:12] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:00:12] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:00:12] local.INFO: IMEI packet received {"connection_id":188796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":188796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:00:17] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:00:17] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:00:17] local.INFO: IMEI packet received {"connection_id":188796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":188796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:00:18] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:00:18] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:00:18] local.INFO: Packet analysis {"connection_id":188796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 14:00:18] local.INFO: Extracted packet for processing {"connection_id":188796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 14:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 14:00:18] 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-09-18 14:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:00:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:00:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 14:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":188796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:00:18] local.INFO: GPS data processed {"connection_id":188796,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:00:18] local.INFO: Acknowledgment sent {"connection_id":188796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:00:25] local.INFO: TCP Data received {"connection_id":187458,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:00:25] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:00:25] local.INFO: IMEI packet received {"connection_id":187458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":187458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:00:31] local.INFO: TCP Data received {"connection_id":187458,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:00:31] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:00:31] local.INFO: IMEI packet received {"connection_id":187458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":187458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:00:32] local.INFO: TCP Data received {"connection_id":187458,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a276a0012d1768800720d9f8003a00de29..."} 
[2026-09-18 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a276a0012d1768800720d9f8003a00de29..."} 
[2026-09-18 14:00:32] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a276a0012d1768800720d9f8003a00de29..."} 
[2026-09-18 14:00:32] local.INFO: Packet analysis {"connection_id":187458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:00:32] local.INFO: Extracted packet for processing {"connection_id":187458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756508800,"raw_latitude":119593464,"longitude_deg":75.65088,"latitude_deg":11.9593464,"altitude":58,"angle":222,"satellites":41,"speed":52,"hex_longitude":"2d176880","hex_latitude":"0720d9f8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168359936001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21347787052417024,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1694197915439292416,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789720164000,"timestamp_ms":1789720164000,"timestamp_seconds":1789720164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a276a0"} 
[2026-09-18 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-09-18 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499328,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3013716864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2716979201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3623955735,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3581018112,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,122,28,24,241,158,16,215,160,67,45,192,5,61,39,10,66,36,58,41,214,17,1,240,147,179,33,4,113,205,198,235,96,43,239,55,2,75,7,72],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:00:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467816193246232576,"timestamp_seconds":4467816193246232.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 14:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168359936001,"66":13993,"122":206,"28":31744,"24":52,"16":21347787052417024,"45":1694197915439292416},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168359936001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:00:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21347787052417024,"km_value":21347787052417.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1694197915439292416,"description":"Unknown IO ID 45"} 
[2026-09-18 14:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168359936001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1694197915439292416}} 
[2026-09-18 14:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":187458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:00:32] local.INFO: GPS data processed {"connection_id":187458,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:00:32] local.INFO: Acknowledgment sent {"connection_id":187458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:00:49] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:00:49] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:00:49] local.INFO: Packet analysis {"connection_id":188796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 14:00:49] local.INFO: Extracted packet for processing {"connection_id":188796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 14:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 14:00:49] 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-09-18 14:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:00:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:00:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 14:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":188796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:00:49] local.INFO: GPS data processed {"connection_id":188796,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:00:49] local.INFO: Acknowledgment sent {"connection_id":188796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:01:04] local.INFO: TCP Data received {"connection_id":187458,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a291f8012d174d000720c078003400e528..."} 
[2026-09-18 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a291f8012d174d000720c078003400e528..."} 
[2026-09-18 14:01:04] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a291f8012d174d000720c078003400e528..."} 
[2026-09-18 14:01:04] local.INFO: Packet analysis {"connection_id":187458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:01:04] local.INFO: Extracted packet for processing {"connection_id":187458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756501760,"raw_latitude":119586936,"longitude_deg":75.650176,"latitude_deg":11.9586936,"altitude":52,"angle":229,"satellites":40,"speed":55,"hex_longitude":"2d174d00","hex_latitude":"0720c078","is_valid_coordinates":true} 
[2026-09-18 14:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168361984001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21348246613917696,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1686738828554532864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789720171000,"timestamp_ms":1789720171000,"timestamp_seconds":1789720171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a291f8"} 
[2026-09-18 14:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 14:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168361984001,"66":13993,"122":206,"28":31744,"24":55,"16":21348246613917696,"45":1686738828554532864},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168361984001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:01:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21348246613917696,"km_value":21348246613917.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1686738828554532864,"description":"Unknown IO ID 45"} 
[2026-09-18 14:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168361984001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":55,"odometer":null,"unknown_45":1686738828554532864}} 
[2026-09-18 14:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":187458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:01:04] local.INFO: GPS data processed {"connection_id":187458,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:01:04] local.INFO: Acknowledgment sent {"connection_id":187458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:01:12] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:01:12] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:01:12] local.INFO: IMEI packet received {"connection_id":186174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":186174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:01:17] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:01:17] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:01:17] local.INFO: IMEI packet received {"connection_id":186174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":186174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:01:19] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:01:19] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b39f32b0012d4ce0c0068f46600044007324..."} 
[2026-09-18 14:01:19] local.INFO: Packet analysis {"connection_id":186174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 14:01:19] local.INFO: Extracted packet for processing {"connection_id":186174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b39f"} 
[2026-09-18 14:01:19] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":68,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 14:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168230144001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789719950000,"timestamp_ms":1789719950000,"timestamp_seconds":1789719950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b39f32b0"} 
[2026-09-18 14:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:01: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-09-18 14:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 14:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168230144001,"66":25973,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168230144001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:01:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:01:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168230144001,"power":25973,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 14:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":186174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:01:19] local.INFO: GPS data processed {"connection_id":186174,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:01:19] local.INFO: Acknowledgment sent {"connection_id":186174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:01:25] local.INFO: TCP Data received {"connection_id":186023,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:01:25] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:01:25] local.INFO: IMEI packet received {"connection_id":186023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":186023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:01:30] local.INFO: TCP Data received {"connection_id":186023,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:01:30] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:01:30] local.INFO: IMEI packet received {"connection_id":186023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":186023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:01:31] local.INFO: TCP Data received {"connection_id":186023,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a2ad50012d172f000720a7e0002f00e528..."} 
[2026-09-18 14:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a2ad50012d172f000720a7e0002f00e528..."} 
[2026-09-18 14:01:31] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a2ad50012d172f000720a7e0002f00e528..."} 
[2026-09-18 14:01:31] local.INFO: Packet analysis {"connection_id":186023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:01:31] local.INFO: Extracted packet for processing {"connection_id":186023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756494080,"raw_latitude":119580640,"longitude_deg":75.649408,"latitude_deg":11.958064,"altitude":47,"angle":229,"satellites":40,"speed":55,"hex_longitude":"2d172f00","hex_latitude":"0720a7e0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168363776001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21348723355287552,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678998266693318656,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720178000,"timestamp_ms":1789720178000,"timestamp_seconds":1789720178,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a2ad50"} 
[2026-09-18 14:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 14:01: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-09-18 14: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-09-18 14:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168363776001,"66":14135,"122":206,"28":31744,"24":55,"16":21348723355287552,"45":1678998266693318656},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168363776001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:01:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21348723355287552,"km_value":21348723355287.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678998266693318656,"description":"Unknown IO ID 45"} 
[2026-09-18 14:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168363776001,"power":14135,"unknown_122":206,"unknown_28":31744,"ignition":55,"odometer":null,"unknown_45":1678998266693318656}} 
[2026-09-18 14:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":186023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:01:31] local.INFO: GPS data processed {"connection_id":186023,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:01:31] local.INFO: Acknowledgment sent {"connection_id":186023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:01:50] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a3ca78012d4ce0c0068f4660004b007323..."} 
[2026-09-18 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a3ca78012d4ce0c0068f4660004b007323..."} 
[2026-09-18 14:01:50] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a3ca78012d4ce0c0068f4660004b007323..."} 
[2026-09-18 14:01:50] local.INFO: Packet analysis {"connection_id":186174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a3"} 
[2026-09-18 14:01:50] local.INFO: Extracted packet for processing {"connection_id":186174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a3"} 
[2026-09-18 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":75,"angle":115,"satellites":35,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 14:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168307200001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789720251000,"timestamp_ms":1789720251000,"timestamp_seconds":1789720251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a3ca78"} 
[2026-09-18 14:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 14:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168307200001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168307200001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:01:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:01:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168307200001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 14:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":186174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:01:50] local.INFO: GPS data processed {"connection_id":186174,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:01:50] local.INFO: Acknowledgment sent {"connection_id":186174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:02:03] local.INFO: TCP Data received {"connection_id":186023,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a2c8a8012d1712c007208e38002c00e128..."} 
[2026-09-18 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a2c8a8012d1712c007208e38002c00e128..."} 
[2026-09-18 14:02:03] local.INFO: Processing buffer {"connection_id":186023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a2c8a8012d1712c007208e38002c00e128..."} 
[2026-09-18 14:02:03] local.INFO: Packet analysis {"connection_id":186023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:02:03] local.INFO: Extracted packet for processing {"connection_id":186023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756486848,"raw_latitude":119574072,"longitude_deg":75.6486848,"latitude_deg":11.9574072,"altitude":44,"angle":225,"satellites":40,"speed":54,"hex_longitude":"2d1712c0","hex_latitude":"07208e38","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168365568001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21349191506722816,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1670554017390387200,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720185000,"timestamp_ms":1789720185000,"timestamp_seconds":1789720185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a2c8a8"} 
[2026-09-18 14:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 14:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168365568001,"66":13993,"122":206,"28":31744,"24":54,"16":21349191506722816,"45":1670554017390387200},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168365568001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:02:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21349191506722816,"km_value":21349191506722.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1670554017390387200,"description":"Unknown IO ID 45"} 
[2026-09-18 14:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168365568001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1670554017390387200}} 
[2026-09-18 14:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":186023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:02:03] local.INFO: GPS data processed {"connection_id":186023,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:02:03] local.INFO: Acknowledgment sent {"connection_id":186023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:02:12] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:12] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:12] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:02:13] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:13] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:13] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:02:17] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:17] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:02:17] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:02:18] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a47658012d4ce0c0068f4660004b007324..."} 
[2026-09-18 14:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a47658012d4ce0c0068f4660004b007324..."} 
[2026-09-18 14:02:18] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a47658012d4ce0c0068f4660004b007324..."} 
[2026-09-18 14:02:18] local.INFO: Packet analysis {"connection_id":188797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a4"} 
[2026-09-18 14:02:18] local.INFO: Extracted packet for processing {"connection_id":188797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a4"} 
[2026-09-18 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052960,"longitude_deg":76.0012992,"latitude_deg":11.005296,"altitude":75,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"068f4660","is_valid_coordinates":true} 
[2026-09-18 14:02: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-09-18 14:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168384256001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789720295000,"timestamp_ms":1789720295000,"timestamp_seconds":1789720295,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a47658"} 
[2026-09-18 14:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 14:02:18] 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-09-18 14:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168384256001,"66":25952,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168384256001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:02:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:02:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168384256001,"power":25952,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 14:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":188797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:02:18] local.INFO: GPS data processed {"connection_id":188797,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:02:18] local.INFO: Acknowledgment sent {"connection_id":188797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:02:25] local.INFO: TCP Data received {"connection_id":188798,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:02:25] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:02:25] local.INFO: IMEI packet received {"connection_id":188798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":188798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:02:30] local.INFO: TCP Data received {"connection_id":188798,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:02:30] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:02:30] local.INFO: IMEI packet received {"connection_id":188798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":188798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:02:31] local.INFO: TCP Data received {"connection_id":188798,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a2ebd0012d16fa8007207328002900db28..."} 
[2026-09-18 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a2ebd0012d16fa8007207328002900db28..."} 
[2026-09-18 14:02:31] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a2ebd0012d16fa8007207328002900db28..."} 
[2026-09-18 14:02:31] local.INFO: Packet analysis {"connection_id":188798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:02:31] local.INFO: Extracted packet for processing {"connection_id":188798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a2"} 
[2026-09-18 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756480640,"raw_latitude":119567144,"longitude_deg":75.648064,"latitude_deg":11.9567144,"altitude":41,"angle":219,"satellites":40,"speed":23,"hex_longitude":"2d16fa80","hex_latitude":"07207328","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168367360001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21349638183321600,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662602349296629760,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720194000,"timestamp_ms":1789720194000,"timestamp_seconds":1789720194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a2ebd0"} 
[2026-09-18 14:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 14:02: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-09-18 14: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-09-18 14:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168367360001,"66":13993,"122":206,"28":31744,"24":23,"16":21349638183321600,"45":1662602349296629760},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168367360001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:02:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21349638183321600,"km_value":21349638183321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662602349296629760,"description":"Unknown IO ID 45"} 
[2026-09-18 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168367360001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1662602349296629760}} 
[2026-09-18 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":188798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:02:31] local.INFO: GPS data processed {"connection_id":188798,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:02:31] local.INFO: Acknowledgment sent {"connection_id":188798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:02:50] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a489e0012d4ce100068f46d8004b003623..."} 
[2026-09-18 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a489e0012d4ce100068f46d8004b003623..."} 
[2026-09-18 14:02:50] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a489e0012d4ce100068f46d8004b003623..."} 
[2026-09-18 14:02:50] local.INFO: Packet analysis {"connection_id":188797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a4"} 
[2026-09-18 14:02:50] local.INFO: Extracted packet for processing {"connection_id":188797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a4"} 
[2026-09-18 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":760013056,"raw_latitude":110053080,"longitude_deg":76.0013056,"latitude_deg":11.005308,"altitude":75,"angle":54,"satellites":35,"speed":0,"hex_longitude":"2d4ce100","hex_latitude":"068f46d8","is_valid_coordinates":true} 
[2026-09-18 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168395520001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789720300000,"timestamp_ms":1789720300000,"timestamp_seconds":1789720300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a489e0"} 
[2026-09-18 14:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 14:02:50] 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-09-18 14:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168395520001,"66":27484,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539638676071800832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168395520001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:02:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:02:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071800832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168395520001,"power":27484,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539638676071800832}} 
[2026-09-18 14:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":188797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:02:50] local.INFO: GPS data processed {"connection_id":188797,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:02:50] local.INFO: Acknowledgment sent {"connection_id":188797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:03:03] local.INFO: TCP Data received {"connection_id":188798,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a506e0012d16d4c007204cb8002400052a..."} 
[2026-09-18 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a506e0012d16d4c007204cb8002400052a..."} 
[2026-09-18 14:03:03] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a506e0012d16d4c007204cb8002400052a..."} 
[2026-09-18 14:03:03] local.INFO: Packet analysis {"connection_id":188798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:03] local.INFO: Extracted packet for processing {"connection_id":188798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756470976,"raw_latitude":119557304,"longitude_deg":75.6470976,"latitude_deg":11.9557304,"altitude":36,"angle":5,"satellites":42,"speed":9,"hex_longitude":"2d16d4c0","hex_latitude":"07204cb8","is_valid_coordinates":true} 
[2026-09-18 14:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168404736001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350346852925440,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645150900736233472,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720332000,"timestamp_ms":1789720332000,"timestamp_seconds":1789720332,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a506e0"} 
[2026-09-18 14:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499328,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3013869864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3656712192,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":217,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2754355201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:03:03] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2147950669,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,218,160,251,45,64,75,35,41,10,66,208,40,217,126,1,240,174,179,32,4,113,205,6,36,216,239,51,2,7,11],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:03:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522395303228080128,"timestamp_seconds":2522395303228080.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168404736001,"66":12798,"122":206,"28":31744,"24":9,"16":21350346852925440,"45":1645150900736233472},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168404736001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:03:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350346852925440,"km_value":21350346852925.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645150900736233472,"description":"Unknown IO ID 45"} 
[2026-09-18 14:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168404736001,"power":12798,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1645150900736233472}} 
[2026-09-18 14:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":188798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:03:03] local.INFO: GPS data processed {"connection_id":188798,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:03:03] local.INFO: Acknowledgment sent {"connection_id":188798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:03:12] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:03:12] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:03:12] local.INFO: IMEI packet received {"connection_id":186024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":186024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:03:17] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:03:17] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:03:17] local.INFO: IMEI packet received {"connection_id":186024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":186024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:03:19] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a4dbe8012d4ce100068f46d8004b003624..."} 
[2026-09-18 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a4dbe8012d4ce100068f46d8004b003624..."} 
[2026-09-18 14:03:19] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a4dbe8012d4ce100068f46d8004b003624..."} 
[2026-09-18 14:03:19] local.INFO: Packet analysis {"connection_id":186024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a4"} 
[2026-09-18 14:03:19] local.INFO: Extracted packet for processing {"connection_id":186024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a4"} 
[2026-09-18 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":760013056,"raw_latitude":110053080,"longitude_deg":76.0013056,"latitude_deg":11.005308,"altitude":75,"angle":54,"satellites":36,"speed":0,"hex_longitude":"2d4ce100","hex_latitude":"068f46d8","is_valid_coordinates":true} 
[2026-09-18 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168396800001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539709044816009216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789720321000,"timestamp_ms":1789720321000,"timestamp_seconds":1789720321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a4dbe8"} 
[2026-09-18 14:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 14:03:19] 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-09-18 14:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168396800001,"66":27767,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539709044816009216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168396800001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:03:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:03:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539709044816009216,"description":"Unknown IO ID 45"} 
[2026-09-18 14:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168396800001,"power":27767,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539709044816009216}} 
[2026-09-18 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":186024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:03:19] local.INFO: GPS data processed {"connection_id":186024,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:03:19] local.INFO: Acknowledgment sent {"connection_id":186024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:03:30] local.INFO: TCP Data received {"connection_id":187459,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:03:30] local.INFO: Processing buffer {"connection_id":187459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:03:30] local.INFO: IMEI packet received {"connection_id":187459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":187459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:03:35] local.INFO: TCP Data received {"connection_id":187459,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:03:35] local.INFO: Processing buffer {"connection_id":187459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:03:35] local.INFO: IMEI packet received {"connection_id":187459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":187459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:03:36] local.INFO: TCP Data received {"connection_id":187459,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a50ac8012d16d50007204db0002400172a..."} 
[2026-09-18 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a50ac8012d16d50007204db0002400172a..."} 
[2026-09-18 14:03:36] local.INFO: Processing buffer {"connection_id":187459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a50ac8012d16d50007204db0002400172a..."} 
[2026-09-18 14:03:36] local.INFO: Packet analysis {"connection_id":187459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:36] local.INFO: Extracted packet for processing {"connection_id":187459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756471040,"raw_latitude":119557552,"longitude_deg":75.647104,"latitude_deg":11.9557552,"altitude":36,"angle":23,"satellites":42,"speed":12,"hex_longitude":"2d16d500","hex_latitude":"07204db0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168404992001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350359737827328,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645150900736276480,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789720333000,"timestamp_ms":1789720333000,"timestamp_seconds":1789720333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a50ac8"} 
[2026-09-18 14:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:03: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-09-18 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 14:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168404992001,"66":12798,"122":206,"28":31744,"24":12,"16":21350359737827328,"45":1645150900736276480},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168404992001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:03:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350359737827328,"km_value":21350359737827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645150900736276480,"description":"Unknown IO ID 45"} 
[2026-09-18 14:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168404992001,"power":12798,"unknown_122":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1645150900736276480}} 
[2026-09-18 14:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":187459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:03:36] local.INFO: GPS data processed {"connection_id":187459,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:03:36] local.INFO: Acknowledgment sent {"connection_id":187459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:03:41] local.INFO: TCP Data received {"connection_id":187459,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a51298012d16d6c007205020002400272a..."} 
[2026-09-18 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a51298012d16d6c007205020002400272a..."} 
[2026-09-18 14:03:41] local.INFO: Processing buffer {"connection_id":187459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a51298012d16d6c007205020002400272a..."} 
[2026-09-18 14:03:41] local.INFO: Packet analysis {"connection_id":187459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:41] local.INFO: Extracted packet for processing {"connection_id":187459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756471488,"raw_latitude":119558176,"longitude_deg":75.6471488,"latitude_deg":11.9558176,"altitude":36,"angle":39,"satellites":42,"speed":18,"hex_longitude":"2d16d6c0","hex_latitude":"07205020","is_valid_coordinates":true} 
[2026-09-18 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168405248001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350398392532992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645221269480517632,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789720335000,"timestamp_ms":1789720335000,"timestamp_seconds":1789720335,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a51298"} 
[2026-09-18 14:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 14:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168405248001,"66":13102,"122":206,"28":31744,"24":18,"16":21350398392532992,"45":1645221269480517632},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168405248001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:03:41] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:03:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350398392532992,"km_value":21350398392532.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645221269480517632,"description":"Unknown IO ID 45"} 
[2026-09-18 14:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168405248001,"power":13102,"unknown_122":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1645221269480517632}} 
[2026-09-18 14:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":187459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:03:41] local.INFO: GPS data processed {"connection_id":187459,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:03:41] local.INFO: Acknowledgment sent {"connection_id":187459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:03:50] local.INFO: TCP Data received {"connection_id":186024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a52df0012d4ce100068f46d8004b003624..."} 
[2026-09-18 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a52df0012d4ce100068f46d8004b003624..."} 
[2026-09-18 14:03:50] local.INFO: Processing buffer {"connection_id":186024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a52df0012d4ce100068f46d8004b003624..."} 
[2026-09-18 14:03:50] local.INFO: Packet analysis {"connection_id":186024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:50] local.INFO: Extracted packet for processing {"connection_id":186024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":760013056,"raw_latitude":110053080,"longitude_deg":76.0013056,"latitude_deg":11.005308,"altitude":75,"angle":54,"satellites":36,"speed":0,"hex_longitude":"2d4ce100","hex_latitude":"068f46d8","is_valid_coordinates":true} 
[2026-09-18 14:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168402176001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337405416013824,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539709044816009216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789720342000,"timestamp_ms":1789720342000,"timestamp_seconds":1789720342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a52df0"} 
[2026-09-18 14:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:03: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-09-18 14:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:03:50] 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-09-18 14:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168402176001,"66":27865,"142":206,"86":48896,"24":0,"16":405337405416013824,"45":5539709044816009216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168402176001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:03:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:03:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337405416013824,"km_value":405337405416013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539709044816009216,"description":"Unknown IO ID 45"} 
[2026-09-18 14:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168402176001,"power":27865,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539709044816009216}} 
[2026-09-18 14:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":186024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:03:50] local.INFO: GPS data processed {"connection_id":186024,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:03:50] local.INFO: Acknowledgment sent {"connection_id":186024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:04:05] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:05] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:05] local.INFO: IMEI packet received {"connection_id":186025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":186025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:04:06] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:06] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:06] local.INFO: IMEI packet received {"connection_id":186025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":186025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:04:10] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:10] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:04:10] local.INFO: IMEI packet received {"connection_id":186025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":186025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:04:11] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 14:04:11] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 14:04:11] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 14:04:11] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 14:04:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 14:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:04:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:04:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:04:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:04:11] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:04:11] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:04:12] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:04:12] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:04:12] local.INFO: IMEI packet received {"connection_id":186176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":186176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:04:14] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:04:14] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:04:14] local.INFO: IMEI packet received {"connection_id":186176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:04:15] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a54560012d4ce0c0068f44a00045008224..."} 
[2026-09-18 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a54560012d4ce0c0068f44a00045008224..."} 
[2026-09-18 14:04:15] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a54560012d4ce0c0068f44a00045008224..."} 
[2026-09-18 14:04:15] local.INFO: Packet analysis {"connection_id":186176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:04:15] local.INFO: Extracted packet for processing {"connection_id":186176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":110052512,"longitude_deg":76.0012992,"latitude_deg":11.0052512,"altitude":69,"angle":130,"satellites":36,"speed":4,"hex_longitude":"2d4ce0c0","hex_latitude":"068f44a0","is_valid_coordinates":true} 
[2026-09-18 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168407552001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337431185817600,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539709044816009216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789720348000,"timestamp_ms":1789720348000,"timestamp_seconds":1789720348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a54560"} 
[2026-09-18 14:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:04: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-09-18 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168407552001,"66":27865,"142":206,"86":48896,"24":4,"16":405337431185817600,"45":5539709044816009216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168407552001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:04:15] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:04:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337431185817600,"km_value":405337431185817.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539709044816009216,"description":"Unknown IO ID 45"} 
[2026-09-18 14:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168407552001,"power":27865,"unknown_142":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5539709044816009216}} 
[2026-09-18 14:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":186176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:04:15] local.INFO: GPS data processed {"connection_id":186176,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:04:15] local.INFO: Acknowledgment sent {"connection_id":186176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:04:25] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:04:25] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:04:25] local.INFO: IMEI packet received {"connection_id":186177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":186177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:04:30] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:04:30] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:04:30] local.INFO: IMEI packet received {"connection_id":186177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":186177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:04:31] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a564a0012d16ed00072069f00026003128..."} 
[2026-09-18 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a564a0012d16ed00072069f00026003128..."} 
[2026-09-18 14:04:31] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a564a0012d16ed00072069f00026003128..."} 
[2026-09-18 14:04:31] local.INFO: Packet analysis {"connection_id":186177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:04:31] local.INFO: Extracted packet for processing {"connection_id":186177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756477184,"raw_latitude":119564784,"longitude_deg":75.6477184,"latitude_deg":11.9564784,"altitude":38,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d16ed00","hex_latitude":"072069f0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168405760001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350819299328000,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645713850689921024,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720356000,"timestamp_ms":1789720356000,"timestamp_seconds":1789720356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a564a0"} 
[2026-09-18 14:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 14:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168405760001,"66":13972,"122":206,"28":31744,"24":0,"16":21350819299328000,"45":1645713850689921024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168405760001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350819299328000,"km_value":21350819299328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645713850689921024,"description":"Unknown IO ID 45"} 
[2026-09-18 14:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168405760001,"power":13972,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1645713850689921024}} 
[2026-09-18 14:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":186177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:04:31] local.INFO: GPS data processed {"connection_id":186177,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:04:31] local.INFO: Acknowledgment sent {"connection_id":186177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:04:35] local.INFO: TCP Data received {"connection_id":186175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:04:35] local.INFO: Processing buffer {"connection_id":186175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:04:35] local.INFO: IMEI packet received {"connection_id":186175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":186175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:04:42] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 14:04:42] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 14:04:42] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:04:42] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:04: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-09-18 14:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:04:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:04:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:04:42] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:04:42] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:04:42] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:04:46] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a58bb0012d4cfd80068f32b00044007625..."} 
[2026-09-18 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a58bb0012d4cfd80068f32b00044007625..."} 
[2026-09-18 14:04:46] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a58bb0012d4cfd80068f32b00044007625..."} 
[2026-09-18 14:04:46] local.INFO: Packet analysis {"connection_id":186176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:04:46] local.INFO: Extracted packet for processing {"connection_id":186176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":760020352,"raw_latitude":110047920,"longitude_deg":76.0020352,"latitude_deg":11.004792,"altitude":68,"angle":118,"satellites":37,"speed":28,"hex_longitude":"2d4cfd80","hex_latitude":"068f32b0","is_valid_coordinates":true} 
[2026-09-18 14:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168409088001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405337847797645312,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638676071686144,"note":"Value kept but may cause issues"} 
[2026-09-18 14:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789720366000,"timestamp_ms":1789720366000,"timestamp_seconds":1789720366,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a58bb0"} 
[2026-09-18 14:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168409088001,"66":27995,"142":206,"86":48896,"24":28,"16":405337847797645312,"45":5539638676071686144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 14:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168409088001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:04:46] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 14:04:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405337847797645312,"km_value":405337847797645.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638676071686144,"description":"Unknown IO ID 45"} 
[2026-09-18 14:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168409088001,"power":27995,"unknown_142":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5539638676071686144}} 
[2026-09-18 14:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":186176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:04:46] local.INFO: GPS data processed {"connection_id":186176,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:04:46] local.INFO: Acknowledgment sent {"connection_id":186176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:05:03] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a57ff8012d16ef8007206c980027002026..."} 
[2026-09-18 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a57ff8012d16ef8007206c980027002026..."} 
[2026-09-18 14:05:03] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a57ff8012d16ef8007206c980027002026..."} 
[2026-09-18 14:05:03] local.INFO: Packet analysis {"connection_id":186177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:05:03] local.INFO: Extracted packet for processing {"connection_id":186177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756477824,"raw_latitude":119565464,"longitude_deg":75.6477824,"latitude_deg":11.9565464,"altitude":39,"angle":32,"satellites":38,"speed":7,"hex_longitude":"2d16ef80","hex_latitude":"07206c98","is_valid_coordinates":true} 
[2026-09-18 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168411136001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350862249000960,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651976668923424768,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720363000,"timestamp_ms":1789720363000,"timestamp_seconds":1789720363,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a57ff8"} 
[2026-09-18 14:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-18 14:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168411136001,"66":14374,"122":206,"28":31744,"24":7,"16":21350862249000960,"45":1651976668923424768},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168411136001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350862249000960,"km_value":21350862249000.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651976668923424768,"description":"Unknown IO ID 45"} 
[2026-09-18 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168411136001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1651976668923424768}} 
[2026-09-18 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":186177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:05:03] local.INFO: GPS data processed {"connection_id":186177,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:05:03] local.INFO: Acknowledgment sent {"connection_id":186177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:05:11] local.INFO: TCP Data received {"connection_id":187460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:11] local.INFO: Processing buffer {"connection_id":187460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:11] local.INFO: IMEI packet received {"connection_id":187460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":187460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:05:12] local.INFO: TCP Data received {"connection_id":187460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:12] local.INFO: Processing buffer {"connection_id":187460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:12] local.INFO: IMEI packet received {"connection_id":187460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":187460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:05:13] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-18 14:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-18 14:05:13] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-18 14:05:13] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:05:13] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:05: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-09-18 14:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:05:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:05:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:05:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:05:13] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:05:13] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:05:17] local.INFO: TCP Data received {"connection_id":187460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:17] local.INFO: Processing buffer {"connection_id":187460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:05:17] local.INFO: IMEI packet received {"connection_id":187460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":187460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:05:18] local.INFO: TCP Data received {"connection_id":187460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a6acc0012d4d5000068edc98004500bf22..."} 
[2026-09-18 14:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a6acc0012d4d5000068edc98004500bf22..."} 
[2026-09-18 14:05:18] local.INFO: Processing buffer {"connection_id":187460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a6acc0012d4d5000068edc98004500bf22..."} 
[2026-09-18 14:05:18] local.INFO: Packet analysis {"connection_id":187460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a6"} 
[2026-09-18 14:05:18] local.INFO: Extracted packet for processing {"connection_id":187460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a6"} 
[2026-09-18 14:05:18] local.INFO: GPS Element Parsed {"raw_longitude":760041472,"raw_latitude":110025880,"longitude_deg":76.0041472,"latitude_deg":11.002588,"altitude":69,"angle":191,"satellites":34,"speed":25,"hex_longitude":"2d4d5000","hex_latitude":"068edc98","is_valid_coordinates":true} 
[2026-09-18 14:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168428800001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405339651683909632,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572500879598123008,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789720440000,"timestamp_ms":1789720440000,"timestamp_seconds":1789720440,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a6acc0"} 
[2026-09-18 14:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:05:18] 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-09-18 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:05:18] 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-09-18 14:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168428800001,"66":27767,"10":206,"86":48896,"24":25,"16":405339651683909632,"45":5572500879598123008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 14:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168428800001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:05:18] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 14:05:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405339651683909632,"km_value":405339651683909.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572500879598123008,"description":"Unknown IO ID 45"} 
[2026-09-18 14:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168428800001,"power":27767,"unknown_10":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5572500879598123008}} 
[2026-09-18 14:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":187460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:05:18] local.INFO: GPS data processed {"connection_id":187460,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:05:18] local.INFO: Acknowledgment sent {"connection_id":187460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:05:25] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:05:25] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:05:25] local.INFO: IMEI packet received {"connection_id":186178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":186178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:05:30] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:05:30] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:05:30] local.INFO: IMEI packet received {"connection_id":186178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":186178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:05:31] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a583e0012d16efc007206d280028001423..."} 
[2026-09-18 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a583e0012d16efc007206d280028001423..."} 
[2026-09-18 14:05:31] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a583e0012d16efc007206d280028001423..."} 
[2026-09-18 14:05:31] local.INFO: Packet analysis {"connection_id":186178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:05:31] local.INFO: Extracted packet for processing {"connection_id":186178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a5"} 
[2026-09-18 14:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756477888,"raw_latitude":119565608,"longitude_deg":75.6477888,"latitude_deg":11.9565608,"altitude":40,"angle":20,"satellites":35,"speed":6,"hex_longitude":"2d16efc0","hex_latitude":"07206d28","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168412928001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350870838935552,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1652680356365375488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720364000,"timestamp_ms":1789720364000,"timestamp_seconds":1789720364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a583e0"} 
[2026-09-18 14:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 14:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168412928001,"66":14450,"122":206,"28":31744,"24":6,"16":21350870838935552,"45":1652680356365375488},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168412928001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:05:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350870838935552,"km_value":21350870838935.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1652680356365375488,"description":"Unknown IO ID 45"} 
[2026-09-18 14:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168412928001,"power":14450,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1652680356365375488}} 
[2026-09-18 14:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":186178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:05:31] local.INFO: GPS data processed {"connection_id":186178,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:05:31] local.INFO: Acknowledgment sent {"connection_id":186178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:05:44] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-18 14:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-18 14:05:44] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-18 14:05:44] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:05:44] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:05: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-09-18 14:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:05:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:05:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:05:44] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:05:44] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:05:44] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:05:49] local.INFO: TCP Data received {"connection_id":187460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a6ef28012d4d4880068eba88004200c124..."} 
[2026-09-18 14:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a6ef28012d4d4880068eba88004200c124..."} 
[2026-09-18 14:05:49] local.INFO: Processing buffer {"connection_id":187460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a6ef28012d4d4880068eba88004200c124..."} 
[2026-09-18 14:05:49] local.INFO: Packet analysis {"connection_id":187460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a6"} 
[2026-09-18 14:05:49] local.INFO: Extracted packet for processing {"connection_id":187460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a6"} 
[2026-09-18 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":760039552,"raw_latitude":110017160,"longitude_deg":76.0039552,"latitude_deg":11.001716,"altitude":66,"angle":193,"satellites":36,"speed":24,"hex_longitude":"2d4d4880","hex_latitude":"068eba88","is_valid_coordinates":true} 
[2026-09-18 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168432640001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405340085475606528,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570952767223928832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789720457000,"timestamp_ms":1789720457000,"timestamp_seconds":1789720457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a6ef28"} 
[2026-09-18 14:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:05:49] 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-09-18 14:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168432640001,"66":27800,"110":206,"86":48896,"24":24,"16":405340085475606528,"45":5570952767223928832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,86,24,16,45]} 
[2026-09-18 14:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168432640001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:05:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:05:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405340085475606528,"km_value":405340085475606.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570952767223928832,"description":"Unknown IO ID 45"} 
[2026-09-18 14:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168432640001,"power":27800,"unknown_110":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5570952767223928832}} 
[2026-09-18 14:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":187460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:05:49] local.INFO: GPS data processed {"connection_id":187460,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:05:49] local.INFO: Acknowledgment sent {"connection_id":187460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:06:03] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a74ce8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a74ce8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:06:03] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a74ce8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:06:03] local.INFO: Packet analysis {"connection_id":186178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:06:03] local.INFO: Extracted packet for processing {"connection_id":186178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168437760001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720481000,"timestamp_ms":1789720481000,"timestamp_seconds":1789720481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a74ce8"} 
[2026-09-18 14:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 14:06: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-09-18 14: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-09-18 14:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168437760001,"66":13059,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168437760001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:06:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168437760001,"power":13059,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":186178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:06:03] local.INFO: GPS data processed {"connection_id":186178,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:06:03] local.INFO: Acknowledgment sent {"connection_id":186178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:06:12] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:06:12] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:06:12] local.INFO: IMEI packet received {"connection_id":186179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":186179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:06:15] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-18 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-18 14:06:15] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-18 14:06:15] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:06:15] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 14:06:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:06:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:06:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:06:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:06:15] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:06:15] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:06:25] local.INFO: TCP Data received {"connection_id":187461,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:06:25] local.INFO: Processing buffer {"connection_id":187461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:06:25] local.INFO: IMEI packet received {"connection_id":187461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":187461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:06:27] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:06:27] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:06:27] local.INFO: IMEI packet received {"connection_id":186179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":186179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:06:29] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a71a20012d4d4200068ea260004000b326..."} 
[2026-09-18 14:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a71a20012d4d4200068ea260004000b326..."} 
[2026-09-18 14:06:29] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a71a20012d4d4200068ea260004000b326..."} 
[2026-09-18 14:06:29] local.INFO: Packet analysis {"connection_id":186179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:06:29] local.INFO: Extracted packet for processing {"connection_id":186179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:06:29] local.INFO: GPS Element Parsed {"raw_longitude":760037888,"raw_latitude":110010976,"longitude_deg":76.0037888,"latitude_deg":11.0010976,"altitude":64,"angle":179,"satellites":38,"speed":19,"hex_longitude":"2d4d4200","hex_latitude":"068ea260","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168436992001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405340394713251840,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5568841704896366592,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789720468000,"timestamp_ms":1789720468000,"timestamp_seconds":1789720468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a71a20"} 
[2026-09-18 14:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:06:29] 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-09-18 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 14:06: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-09-18 14: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-09-18 14:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168436992001,"66":27865,"10":206,"86":48896,"24":19,"16":405340394713251840,"45":5568841704896366592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 14:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168436992001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:06:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 14:06:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405340394713251840,"km_value":405340394713251.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5568841704896366592,"description":"Unknown IO ID 45"} 
[2026-09-18 14:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168436992001,"power":27865,"unknown_10":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5568841704896366592}} 
[2026-09-18 14:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":186179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:06:29] local.INFO: GPS data processed {"connection_id":186179,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:06:29] local.INFO: Acknowledgment sent {"connection_id":186179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:06:30] local.INFO: TCP Data received {"connection_id":187461,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:06:30] local.INFO: Processing buffer {"connection_id":187461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:06:30] local.INFO: IMEI packet received {"connection_id":187461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":187461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:06:31] local.INFO: TCP Data received {"connection_id":187461,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a79ef0012d16f3c007206b98002900da29..."} 
[2026-09-18 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a79ef0012d16f3c007206b98002900da29..."} 
[2026-09-18 14:06:31] local.INFO: Processing buffer {"connection_id":187461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a79ef0012d16f3c007206b98002900da29..."} 
[2026-09-18 14:06:31] local.INFO: Packet analysis {"connection_id":187461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:06:31] local.INFO: Extracted packet for processing {"connection_id":187461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168443136001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720502000,"timestamp_ms":1789720502000,"timestamp_seconds":1789720502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a79ef0"} 
[2026-09-18 14:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861415,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":122,"raw_value":58015164105490439,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014018864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2790195201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:06:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3667460096,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:31] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,122,28,24,241,158,16,218,160,250,45,192,107,41,40,10,66,168,86,64,1,240,79,179,32,4,113,205,7,75,245,136,239,51,2],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:06:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601220888592384,"timestamp_seconds":2954601220888592.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168443136001,"66":13080,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168443136001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:06:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168443136001,"power":13080,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":187461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:06:31] local.INFO: GPS data processed {"connection_id":187461,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:06:31] local.INFO: Acknowledgment sent {"connection_id":187461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:06:46] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-18 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-18 14:06:46] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-18 14:06:46] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-18 14:06:46] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-18 14:06:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 14:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:06:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:06:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152000,"timestamp_seconds":152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:06:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:06:46] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:06:46] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:06:46] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:07:03] local.INFO: TCP Data received {"connection_id":187461,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a7f0f8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a7f0f8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:07:03] local.INFO: Processing buffer {"connection_id":187461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a7f0f8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:07:03] local.INFO: Packet analysis {"connection_id":187461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:07:03] local.INFO: Extracted packet for processing {"connection_id":187461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168448512001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720523000,"timestamp_ms":1789720523000,"timestamp_seconds":1789720523,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a7f0f8"} 
[2026-09-18 14:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 14:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168448512001,"66":13037,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168448512001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:07:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168448512001,"power":13037,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":187461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:07:04] local.INFO: GPS data processed {"connection_id":187461,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:07:04] local.INFO: Acknowledgment sent {"connection_id":187461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:07:12] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:07:12] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:07:12] local.INFO: IMEI packet received {"connection_id":188799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":188799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:07:21] local.INFO: TCP Data received {"connection_id":186025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-18 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186025,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-18 14:07:21] local.INFO: Processing buffer {"connection_id":186025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-18 14:07:21] local.INFO: Packet analysis {"connection_id":186025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-18 14:07:21] local.INFO: Extracted packet for processing {"connection_id":186025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-18 14:07: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-09-18 14:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134632707740139520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07: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-09-18 14:07:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:07:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 14:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186025,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-18 14:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 14:07:21] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 14:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":186025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 14:07:21] local.ERROR: GPS data processing failed {"connection_id":186025,"error":"No valid data to process"} 
[2026-09-18 14:07:21] local.INFO: Acknowledgment sent {"connection_id":186025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 14:07:24] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:07:24] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:07:24] local.INFO: IMEI packet received {"connection_id":188799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":188799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:07:25] local.INFO: TCP Data received {"connection_id":188800,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:25] local.INFO: Processing buffer {"connection_id":188800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:25] local.INFO: IMEI packet received {"connection_id":188800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":188800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:07:25] local.INFO: TCP Data received {"connection_id":188800,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:25] local.INFO: Processing buffer {"connection_id":188800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:25] local.INFO: IMEI packet received {"connection_id":188800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":188800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:07:26] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a72da8012d4d4100068e9d00003f00c227..."} 
[2026-09-18 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a72da8012d4d4100068e9d00003f00c227..."} 
[2026-09-18 14:07:26] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a72da8012d4d4100068e9d00003f00c227..."} 
[2026-09-18 14:07:26] local.INFO: Packet analysis {"connection_id":188799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:07:26] local.INFO: Extracted packet for processing {"connection_id":188799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a7"} 
[2026-09-18 14:07:26] local.INFO: GPS Element Parsed {"raw_longitude":760037632,"raw_latitude":110009600,"longitude_deg":76.0037632,"latitude_deg":11.00096,"altitude":63,"angle":194,"satellites":39,"speed":6,"hex_longitude":"2d4d4100","hex_latitude":"068e9d00","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168439808001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405340463432728576,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567012117546164224,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789720473000,"timestamp_ms":1789720473000,"timestamp_seconds":1789720473,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a72da8"} 
[2026-09-18 14:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:07:26] 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-09-18 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:07:26] 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-09-18 14: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-09-18 14:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168439808001,"66":27865,"10":206,"86":48896,"24":6,"16":405340463432728576,"45":5567012117546164224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 14:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168439808001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:07:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 14:07:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405340463432728576,"km_value":405340463432728.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567012117546164224,"description":"Unknown IO ID 45"} 
[2026-09-18 14:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168439808001,"power":27865,"unknown_10":206,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5567012117546164224}} 
[2026-09-18 14:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":188799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:07:26] local.INFO: GPS data processed {"connection_id":188799,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:07:26] local.INFO: Acknowledgment sent {"connection_id":188799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:07:30] local.INFO: TCP Data received {"connection_id":188800,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:30] local.INFO: Processing buffer {"connection_id":188800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:07:30] local.INFO: IMEI packet received {"connection_id":188800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":188800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:07:31] local.INFO: TCP Data received {"connection_id":188800,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a84300012d16f3c007206b98002900da29..."} 
[2026-09-18 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a84300012d16f3c007206b98002900da29..."} 
[2026-09-18 14:07:31] local.INFO: Processing buffer {"connection_id":188800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a84300012d16f3c007206b98002900da29..."} 
[2026-09-18 14:07:31] local.INFO: Packet analysis {"connection_id":188800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a8"} 
[2026-09-18 14:07:31] local.INFO: Extracted packet for processing {"connection_id":188800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a8"} 
[2026-09-18 14:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168453888001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720544000,"timestamp_ms":1789720544000,"timestamp_seconds":1789720544,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a84300"} 
[2026-09-18 14:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-18 14:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168453888001,"66":13015,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168453888001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:07:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168453888001,"power":13015,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":188800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:07:31] local.INFO: GPS data processed {"connection_id":188800,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:07:31] local.INFO: Acknowledgment sent {"connection_id":188800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:08:03] local.INFO: TCP Data received {"connection_id":188800,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a89508012d16f3c007206b98002900da29..."} 
[2026-09-18 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a89508012d16f3c007206b98002900da29..."} 
[2026-09-18 14:08:03] local.INFO: Processing buffer {"connection_id":188800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a89508012d16f3c007206b98002900da29..."} 
[2026-09-18 14:08:03] local.INFO: Packet analysis {"connection_id":188800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a8"} 
[2026-09-18 14:08:03] local.INFO: Extracted packet for processing {"connection_id":188800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a8"} 
[2026-09-18 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168459264001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720565000,"timestamp_ms":1789720565000,"timestamp_seconds":1789720565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a89508"} 
[2026-09-18 14:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 14:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168459264001,"66":13004,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168459264001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:08:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168459264001,"power":13004,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":188800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:08:03] local.INFO: GPS data processed {"connection_id":188800,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:08:03] local.INFO: Acknowledgment sent {"connection_id":188800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:08:11] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:11] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:11] local.INFO: IMEI packet received {"connection_id":188801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":188801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:08:12] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:12] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:12] local.INFO: IMEI packet received {"connection_id":188801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":188801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:08:14] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:14] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:14] local.INFO: IMEI packet received {"connection_id":188801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:08:16] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:16] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:08:16] local.INFO: IMEI packet received {"connection_id":188801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":188801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:08:17] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a97f68012d4bad00068e7188004d00f227..."} 
[2026-09-18 14:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a97f68012d4bad00068e7188004d00f227..."} 
[2026-09-18 14:08:17] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a97f68012d4bad00068e7188004d00f227..."} 
[2026-09-18 14:08:17] local.INFO: Packet analysis {"connection_id":188801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:08:17] local.INFO: Extracted packet for processing {"connection_id":188801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:08:17] local.INFO: GPS Element Parsed {"raw_longitude":759934208,"raw_latitude":109998472,"longitude_deg":75.9934208,"latitude_deg":10.9998472,"altitude":77,"angle":242,"satellites":39,"speed":30,"hex_longitude":"2d4bad00","hex_latitude":"068e7188","is_valid_coordinates":true} 
[2026-09-18 14:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168476672001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405345514314268672,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5462796007416797184,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789720625000,"timestamp_ms":1789720625000,"timestamp_seconds":1789720625,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a97f68"} 
[2026-09-18 14:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-18 14:08:17] 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-09-18 14:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168476672001,"66":27865,"86":48896,"24":30,"16":405345514314268672,"45":5462796007416797184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 14:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168476672001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:08:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405345514314268672,"km_value":405345514314268.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5462796007416797184,"description":"Unknown IO ID 45"} 
[2026-09-18 14:08:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168476672001,"power":27865,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5462796007416797184}} 
[2026-09-18 14:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":188801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:08:17] local.INFO: GPS data processed {"connection_id":188801,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:08:17] local.INFO: Acknowledgment sent {"connection_id":188801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:08:25] local.INFO: TCP Data received {"connection_id":186026,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:25] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:25] local.INFO: IMEI packet received {"connection_id":186026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":186026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:08:28] local.INFO: TCP Data received {"connection_id":186026,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:28] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:28] local.INFO: IMEI packet received {"connection_id":186026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":186026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:08:30] local.INFO: TCP Data received {"connection_id":186026,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:30] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:08:30] local.INFO: IMEI packet received {"connection_id":186026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":186026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:08:31] local.INFO: TCP Data received {"connection_id":186026,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a8e710012d16f3c007206b98002900da29..."} 
[2026-09-18 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a8e710012d16f3c007206b98002900da29..."} 
[2026-09-18 14:08:31] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a8e710012d16f3c007206b98002900da29..."} 
[2026-09-18 14:08:31] local.INFO: Packet analysis {"connection_id":186026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a8"} 
[2026-09-18 14:08:31] local.INFO: Extracted packet for processing {"connection_id":186026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a8"} 
[2026-09-18 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168464640001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720586000,"timestamp_ms":1789720586000,"timestamp_seconds":1789720586,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a8e710"} 
[2026-09-18 14:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:08: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-09-18 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 14:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168464640001,"66":12961,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168464640001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:08:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168464640001,"power":12961,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":186026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:08:31] local.INFO: GPS data processed {"connection_id":186026,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:08:31] local.INFO: Acknowledgment sent {"connection_id":186026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:08:49] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a97f68012d4bad00068e7188004d00f227..."} 
[2026-09-18 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a97f68012d4bad00068e7188004d00f227..."} 
[2026-09-18 14:08:49] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a97f68012d4bad00068e7188004d00f227..."} 
[2026-09-18 14:08:49] local.INFO: Packet analysis {"connection_id":188801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:08:49] local.INFO: Extracted packet for processing {"connection_id":188801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:08:49] local.INFO: GPS Element Parsed {"raw_longitude":759934208,"raw_latitude":109998472,"longitude_deg":75.9934208,"latitude_deg":10.9998472,"altitude":77,"angle":242,"satellites":39,"speed":30,"hex_longitude":"2d4bad00","hex_latitude":"068e7188","is_valid_coordinates":true} 
[2026-09-18 14:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168480000001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405345514314268672,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5453014751975147520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:08:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789720625000,"timestamp_ms":1789720625000,"timestamp_seconds":1789720625,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a97f68"} 
[2026-09-18 14:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:08:49] 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-09-18 14:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168480000001,"66":27865,"86":48896,"24":30,"16":405345514314268672,"45":5453014751975147520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 14:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168480000001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:08:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405345514314268672,"km_value":405345514314268.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5453014751975147520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:08:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168480000001,"power":27865,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5453014751975147520}} 
[2026-09-18 14:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":188801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:08:49] local.INFO: GPS data processed {"connection_id":188801,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:08:49] local.INFO: Acknowledgment sent {"connection_id":188801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:09:03] local.INFO: TCP Data received {"connection_id":186026,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a93918012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a93918012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:09:03] local.INFO: Processing buffer {"connection_id":186026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a93918012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:09:03] local.INFO: Packet analysis {"connection_id":186026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:03] local.INFO: Extracted packet for processing {"connection_id":186026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168470016001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720607000,"timestamp_ms":1789720607000,"timestamp_seconds":1789720607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a93918"} 
[2026-09-18 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 14:09: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-09-18 14:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168470016001,"66":12928,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168470016001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:09:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168470016001,"power":12928,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":186026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:09:03] local.INFO: GPS data processed {"connection_id":186026,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:09:03] local.INFO: Acknowledgment sent {"connection_id":186026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:09:12] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:09:12] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:09:12] local.INFO: IMEI packet received {"connection_id":188802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":188802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:09:17] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:09:17] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:09:17] local.INFO: IMEI packet received {"connection_id":188802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:09:18] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a9ae48012d4b8dc0068e6120004b00f428..."} 
[2026-09-18 14:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a9ae48012d4b8dc0068e6120004b00f428..."} 
[2026-09-18 14:09:18] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a9ae48012d4b8dc0068e6120004b00f428..."} 
[2026-09-18 14:09:18] local.INFO: Packet analysis {"connection_id":188802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:18] local.INFO: Extracted packet for processing {"connection_id":188802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":759926208,"raw_latitude":109994272,"longitude_deg":75.9926208,"latitude_deg":10.9994272,"altitude":75,"angle":244,"satellites":40,"speed":28,"hex_longitude":"2d4b8dc0","hex_latitude":"068e6120","is_valid_coordinates":true} 
[2026-09-18 14:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168480000001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405345948105965568,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5453014751975147520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789720637000,"timestamp_ms":1789720637000,"timestamp_seconds":1789720637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a9ae48"} 
[2026-09-18 14:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:09:18] 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-09-18 14:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168480000001,"66":27800,"86":48896,"24":28,"16":405345948105965568,"45":5453014751975147520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 14:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168480000001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:09:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405345948105965568,"km_value":405345948105965.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5453014751975147520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:09:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168480000001,"power":27800,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5453014751975147520}} 
[2026-09-18 14:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":188802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:09:18] local.INFO: GPS data processed {"connection_id":188802,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:09:18] local.INFO: Acknowledgment sent {"connection_id":188802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:09:30] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:09:30] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:09:30] local.INFO: IMEI packet received {"connection_id":186180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":186180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:09:31] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:09:31] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:09:31] local.INFO: IMEI packet received {"connection_id":186180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":186180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:09:33] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a98b20012d16f3c007206b98002900da24..."} 
[2026-09-18 14:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a98b20012d16f3c007206b98002900da24..."} 
[2026-09-18 14:09:33] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a98b20012d16f3c007206b98002900da24..."} 
[2026-09-18 14:09:33] local.INFO: Packet analysis {"connection_id":186180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:33] local.INFO: Extracted packet for processing {"connection_id":186180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":36,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168475392001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789720628000,"timestamp_ms":1789720628000,"timestamp_seconds":1789720628,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a98b20"} 
[2026-09-18 14:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-18 14:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168475392001,"66":12950,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168475392001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:09:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168475392001,"power":12950,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":186180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:09:33] local.INFO: GPS data processed {"connection_id":186180,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:09:33] local.INFO: Acknowledgment sent {"connection_id":186180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:09:35] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a9dd28012d16f3c007206b98002900da29..."} 
[2026-09-18 14:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a9dd28012d16f3c007206b98002900da29..."} 
[2026-09-18 14:09:35] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a9dd28012d16f3c007206b98002900da29..."} 
[2026-09-18 14:09:35] local.INFO: Packet analysis {"connection_id":186180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:35] local.INFO: Extracted packet for processing {"connection_id":186180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168480768001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789720649000,"timestamp_ms":1789720649000,"timestamp_seconds":1789720649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a9dd28"} 
[2026-09-18 14:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 14:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168480768001,"66":12885,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168480768001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:09:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168480768001,"power":12885,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":186180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:09:35] local.INFO: GPS data processed {"connection_id":186180,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:09:35] local.INFO: Acknowledgment sent {"connection_id":186180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:09:49] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3a9ecc8012d4b6fc0068e5180004a00e427..."} 
[2026-09-18 14:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3a9ecc8012d4b6fc0068e5180004a00e427..."} 
[2026-09-18 14:09:49] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3a9ecc8012d4b6fc0068e5180004a00e427..."} 
[2026-09-18 14:09:49] local.INFO: Packet analysis {"connection_id":188802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:49] local.INFO: Extracted packet for processing {"connection_id":188802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3a9"} 
[2026-09-18 14:09:49] local.INFO: GPS Element Parsed {"raw_longitude":759918528,"raw_latitude":109990272,"longitude_deg":75.9918528,"latitude_deg":10.9990272,"altitude":74,"angle":228,"satellites":39,"speed":10,"hex_longitude":"2d4b6fc0","hex_latitude":"068e5180","is_valid_coordinates":true} 
[2026-09-18 14:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168483072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405346364717793280,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5444218658951864320,"note":"Value kept but may cause issues"} 
[2026-09-18 14:09:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 14:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789720653000,"timestamp_ms":1789720653000,"timestamp_seconds":1789720653,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3a9ecc8"} 
[2026-09-18 14:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 14:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168483072001,"66":27745,"86":48896,"24":10,"16":405346364717793280,"45":5444218658951864320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 14:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168483072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:09:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405346364717793280,"km_value":405346364717793.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5444218658951864320,"description":"Unknown IO ID 45"} 
[2026-09-18 14:09:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168483072001,"power":27745,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5444218658951864320}} 
[2026-09-18 14:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":188802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:09:49] local.INFO: GPS data processed {"connection_id":188802,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:09:49] local.INFO: Acknowledgment sent {"connection_id":188802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:10:08] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3aa2f30012d16f3c007206b98002900da28..."} 
[2026-09-18 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3aa2f30012d16f3c007206b98002900da28..."} 
[2026-09-18 14:10:08] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3aa2f30012d16f3c007206b98002900da28..."} 
[2026-09-18 14:10:08] local.INFO: Packet analysis {"connection_id":186180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3aa"} 
[2026-09-18 14:10:08] local.INFO: Extracted packet for processing {"connection_id":186180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3aa"} 
[2026-09-18 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168486144001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789720670000,"timestamp_ms":1789720670000,"timestamp_seconds":1789720670,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3aa2f30"} 
[2026-09-18 14:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":85,"data_length":795,"current_offset":136} 
[2026-09-18 14:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168486144001,"66":12809,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168486144001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:10:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168486144001,"power":12809,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:10:08] local.INFO: GPS data processed {"connection_id":186180,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:10:08] local.INFO: Acknowledgment sent {"connection_id":186180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:10:10] local.INFO: TCP Data received {"connection_id":187462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:10:10] local.INFO: Processing buffer {"connection_id":187462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:10:10] local.INFO: IMEI packet received {"connection_id":187462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":187462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:10:12] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:10:12] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:10:12] local.INFO: IMEI packet received {"connection_id":186027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":186027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:10:17] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:10:17] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:10:17] local.INFO: IMEI packet received {"connection_id":186027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":186027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:10:18] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ab7750012d4b99c0068d3bc8005700ad29..."} 
[2026-09-18 14:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ab7750012d4b99c0068d3bc8005700ad29..."} 
[2026-09-18 14:10:18] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ab7750012d4b99c0068d3bc8005700ad29..."} 
[2026-09-18 14:10:18] local.INFO: Packet analysis {"connection_id":186027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:10:18] local.INFO: Extracted packet for processing {"connection_id":186027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:10:18] local.INFO: GPS Element Parsed {"raw_longitude":759929280,"raw_latitude":109919176,"longitude_deg":75.992928,"latitude_deg":10.9919176,"altitude":87,"angle":173,"satellites":41,"speed":35,"hex_longitude":"2d4b99c0","hex_latitude":"068d3bc8","is_valid_coordinates":true} 
[2026-09-18 14:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168510464001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405349878001041408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5446400090004463616,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789720754000,"timestamp_ms":1789720754000,"timestamp_seconds":1789720754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ab7750"} 
[2026-09-18 14:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:10:18] 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-09-18 14:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 14:10:18] 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-09-18 14:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168510464001,"66":27908,"83":206,"86":48896,"24":35,"16":405349878001041408,"45":5446400090004463616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 14:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168510464001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 14:10:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405349878001041408,"km_value":405349878001041.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5446400090004463616,"description":"Unknown IO ID 45"} 
[2026-09-18 14:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168510464001,"power":27908,"unknown_83":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5446400090004463616}} 
[2026-09-18 14:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":186027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:10:18] local.INFO: GPS data processed {"connection_id":186027,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:10:18] local.INFO: Acknowledgment sent {"connection_id":186027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:10:25] local.INFO: TCP Data received {"connection_id":188803,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:10:25] local.INFO: Processing buffer {"connection_id":188803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:10:25] local.INFO: IMEI packet received {"connection_id":188803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":188803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:10:30] local.INFO: TCP Data received {"connection_id":188803,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:10:30] local.INFO: Processing buffer {"connection_id":188803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:10:30] local.INFO: IMEI packet received {"connection_id":188803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":188803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:10:31] local.INFO: TCP Data received {"connection_id":188803,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3aa8138012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3aa8138012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:10:31] local.INFO: Processing buffer {"connection_id":188803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3aa8138012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:10:31] local.INFO: Packet analysis {"connection_id":188803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3aa"} 
[2026-09-18 14:10:31] local.INFO: Extracted packet for processing {"connection_id":188803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3aa"} 
[2026-09-18 14:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168491520001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720691000,"timestamp_ms":1789720691000,"timestamp_seconds":1789720691,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3aa8138"} 
[2026-09-18 14:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:10: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-09-18 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014148864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-6345299191029894208,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954134961487032804,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2336127958177077800,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,218,160,221,45,192,107,41,10,66,139,36,57,1,240,128,179,32,4,113,205,149,243,152,239,50,2,75,7,124,164],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:10:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601220888592384,"timestamp_seconds":2954601220888592.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168491520001,"66":12885,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168491520001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:10:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168491520001,"power":12885,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":188803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:10:31] local.INFO: GPS data processed {"connection_id":188803,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:10:31] local.INFO: Acknowledgment sent {"connection_id":188803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:10:49] local.INFO: TCP Data received {"connection_id":186027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ab9e60012d4b9e40068d1760005800a927..."} 
[2026-09-18 14:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ab9e60012d4b9e40068d1760005800a927..."} 
[2026-09-18 14:10:49] local.INFO: Processing buffer {"connection_id":186027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ab9e60012d4b9e40068d1760005800a927..."} 
[2026-09-18 14:10:49] local.INFO: Packet analysis {"connection_id":186027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:10:49] local.INFO: Extracted packet for processing {"connection_id":186027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:10:49] local.INFO: GPS Element Parsed {"raw_longitude":759930432,"raw_latitude":109909856,"longitude_deg":75.9930432,"latitude_deg":10.9909856,"altitude":88,"angle":169,"satellites":39,"speed":40,"hex_longitude":"2d4b9e40","hex_latitude":"068d1760","is_valid_coordinates":true} 
[2026-09-18 14:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168513024001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405350333267574784,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5447596358653167616,"note":"Value kept but may cause issues"} 
[2026-09-18 14:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789720764000,"timestamp_ms":1789720764000,"timestamp_seconds":1789720764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ab9e60"} 
[2026-09-18 14:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 14:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168513024001,"66":27865,"83":206,"86":48896,"24":40,"16":405350333267574784,"45":5447596358653167616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 14:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168513024001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 14:10:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405350333267574784,"km_value":405350333267574.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5447596358653167616,"description":"Unknown IO ID 45"} 
[2026-09-18 14:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168513024001,"power":27865,"unknown_83":206,"unknown_86":48896,"ignition":40,"odometer":null,"unknown_45":5447596358653167616}} 
[2026-09-18 14:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":186027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:10:49] local.INFO: GPS data processed {"connection_id":186027,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:10:49] local.INFO: Acknowledgment sent {"connection_id":186027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:11:03] local.INFO: TCP Data received {"connection_id":188803,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3aad340012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3aad340012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:11:03] local.INFO: Processing buffer {"connection_id":188803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3aad340012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:11:03] local.INFO: Packet analysis {"connection_id":188803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3aa"} 
[2026-09-18 14:11:03] local.INFO: Extracted packet for processing {"connection_id":188803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3aa"} 
[2026-09-18 14:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168496896001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720712000,"timestamp_ms":1789720712000,"timestamp_seconds":1789720712,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3aad340"} 
[2026-09-18 14:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":85,"data_length":795,"current_offset":136} 
[2026-09-18 14:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168496896001,"66":12852,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168496896001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:11:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168496896001,"power":12852,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":188803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:11:03] local.INFO: GPS data processed {"connection_id":188803,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:11:03] local.INFO: Acknowledgment sent {"connection_id":188803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:11:17] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:11:17] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:11:17] local.INFO: IMEI packet received {"connection_id":186028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":186028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:11:20] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:11:20] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:11:20] local.INFO: IMEI packet received {"connection_id":186028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":186028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:11:21] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3abc188012d4ba8c0068cf268005500a122..."} 
[2026-09-18 14:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3abc188012d4ba8c0068cf268005500a122..."} 
[2026-09-18 14:11:21] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3abc188012d4ba8c0068cf268005500a122..."} 
[2026-09-18 14:11:21] local.INFO: Packet analysis {"connection_id":186028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:11:21] local.INFO: Extracted packet for processing {"connection_id":186028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:11:21] local.INFO: GPS Element Parsed {"raw_longitude":759933120,"raw_latitude":109900392,"longitude_deg":75.993312,"latitude_deg":10.9900392,"altitude":85,"angle":161,"satellites":34,"speed":45,"hex_longitude":"2d4ba8c0","hex_latitude":"068cf268","is_valid_coordinates":true} 
[2026-09-18 14:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168515584001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405350810008944640,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5448862996045979648,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789720773000,"timestamp_ms":1789720773000,"timestamp_seconds":1789720773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3abc188"} 
[2026-09-18 14:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:11:21] 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-09-18 14:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168515584001,"66":27800,"83":206,"86":48896,"24":45,"16":405350810008944640,"45":5448862996045979648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 14:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168515584001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 14:11:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405350810008944640,"km_value":405350810008944.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5448862996045979648,"description":"Unknown IO ID 45"} 
[2026-09-18 14:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168515584001,"power":27800,"unknown_83":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5448862996045979648}} 
[2026-09-18 14:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":186028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:11:21] local.INFO: GPS data processed {"connection_id":186028,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:11:21] local.INFO: Acknowledgment sent {"connection_id":186028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:11:22] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3abe4b0012d4bb440068cd0500054009f2a..."} 
[2026-09-18 14:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3abe4b0012d4bb440068cd0500054009f2a..."} 
[2026-09-18 14:11:22] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3abe4b0012d4bb440068cd0500054009f2a..."} 
[2026-09-18 14:11:22] local.INFO: Packet analysis {"connection_id":186028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:11:22] local.INFO: Extracted packet for processing {"connection_id":186028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:11:22] local.INFO: GPS Element Parsed {"raw_longitude":759936064,"raw_latitude":109891664,"longitude_deg":75.9936064,"latitude_deg":10.9891664,"altitude":84,"angle":159,"satellites":42,"speed":36,"hex_longitude":"2d4bb440","hex_latitude":"068cd050","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168517888001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405351256685543424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5451818483299018752,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789720782000,"timestamp_ms":1789720782000,"timestamp_seconds":1789720782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3abe4b0"} 
[2026-09-18 14:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 14:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168517888001,"66":27800,"83":206,"86":48896,"24":36,"16":405351256685543424,"45":5451818483299018752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 14:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168517888001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 14:11:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405351256685543424,"km_value":405351256685543.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5451818483299018752,"description":"Unknown IO ID 45"} 
[2026-09-18 14:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168517888001,"power":27800,"unknown_83":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5451818483299018752}} 
[2026-09-18 14:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":186028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:11:23] local.INFO: GPS data processed {"connection_id":186028,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:11:23] local.INFO: Acknowledgment sent {"connection_id":186028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:11:25] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:11:25] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:11:25] local.INFO: IMEI packet received {"connection_id":186181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":186181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:11:30] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:11:30] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:11:30] local.INFO: IMEI packet received {"connection_id":186181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":186181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:11:31] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ab2548012d16f3c007206b98002900da29..."} 
[2026-09-18 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ab2548012d16f3c007206b98002900da29..."} 
[2026-09-18 14:11:31] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ab2548012d16f3c007206b98002900da29..."} 
[2026-09-18 14:11:31] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:11:31] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168502272001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720733000,"timestamp_ms":1789720733000,"timestamp_seconds":1789720733,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ab2548"} 
[2026-09-18 14:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14: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-09-18 14: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 14:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168502272001,"66":12819,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168502272001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:11:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168502272001,"power":12819,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:11:31] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:11:31] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:11:54] local.INFO: TCP Data received {"connection_id":186028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ac0bc0012d4bc240068cadd00056009a2a..."} 
[2026-09-18 14:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ac0bc0012d4bc240068cadd00056009a2a..."} 
[2026-09-18 14:11:54] local.INFO: Processing buffer {"connection_id":186028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ac0bc0012d4bc240068cadd00056009a2a..."} 
[2026-09-18 14:11:54] local.INFO: Packet analysis {"connection_id":186028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:11:54] local.INFO: Extracted packet for processing {"connection_id":186028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:11:54] local.INFO: GPS Element Parsed {"raw_longitude":759939648,"raw_latitude":109882832,"longitude_deg":75.9939648,"latitude_deg":10.9882832,"altitude":86,"angle":154,"satellites":42,"speed":39,"hex_longitude":"2d4bc240","hex_latitude":"068cadd0","is_valid_coordinates":true} 
[2026-09-18 14:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168520192001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405351716247044096,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5455055445528956928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789720792000,"timestamp_ms":1789720792000,"timestamp_seconds":1789720792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ac0bc0"} 
[2026-09-18 14:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 14:11:54] 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-09-18 14:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168520192001,"66":27908,"83":206,"86":48896,"24":39,"16":405351716247044096,"45":5455055445528956928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 14:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168520192001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 14:11:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405351716247044096,"km_value":405351716247044.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5455055445528956928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168520192001,"power":27908,"unknown_83":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5455055445528956928}} 
[2026-09-18 14:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":186028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:11:54] local.INFO: GPS data processed {"connection_id":186028,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:11:54] local.INFO: Acknowledgment sent {"connection_id":186028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:12:03] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ab7750012d16f3c007206b98002900da29..."} 
[2026-09-18 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ab7750012d16f3c007206b98002900da29..."} 
[2026-09-18 14:12:03] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ab7750012d16f3c007206b98002900da29..."} 
[2026-09-18 14:12:03] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:12:03] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168507648001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720754000,"timestamp_ms":1789720754000,"timestamp_seconds":1789720754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ab7750"} 
[2026-09-18 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":19,"data_length":795,"current_offset":136} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503925418098688,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014211864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-6276029958480006208,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767099018548346856,"corrected_to":0} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":152,"raw_value":11541411035873280,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223145642786763236,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2336127958177077801,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84749204144463979,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,122,28,24,241,158,16,218,160,211,45,192,107,41,42,10,66,129,43,47,1,240,9,179,32,4,113,205,139,243,152,36,239,50,2,75,7,124,164,69,8],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-1767099018548346856,"validated":0}]} 
[2026-09-18 14:12:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601225183559680,"timestamp_seconds":2954601225183559.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168507648001,"66":12841,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168507648001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:12:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168507648001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:12:03] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:12:03] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:12:12] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:12:12] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:12:12] local.INFO: IMEI packet received {"connection_id":187463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":187463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:12:14] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:12:14] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:12:14] local.INFO: IMEI packet received {"connection_id":187463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":187463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:12:15] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ad4440012d4cc380068ba1f0005500892b..."} 
[2026-09-18 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ad4440012d4cc380068ba1f0005500892b..."} 
[2026-09-18 14:12:15] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ad4440012d4cc380068ba1f0005500892b..."} 
[2026-09-18 14:12:15] local.INFO: Packet analysis {"connection_id":187463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:12:15] local.INFO: Extracted packet for processing {"connection_id":187463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":760005504,"raw_latitude":109814256,"longitude_deg":76.0005504,"latitude_deg":10.9814256,"altitude":85,"angle":137,"satellites":43,"speed":45,"hex_longitude":"2d4cc380","hex_latitude":"068ba1f0","is_valid_coordinates":true} 
[2026-09-18 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168541184001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405356333336887296,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5524790870990917632,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789720872000,"timestamp_ms":1789720872000,"timestamp_seconds":1789720872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ad4440"} 
[2026-09-18 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:12: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-09-18 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:12:15] 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-09-18 14:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168541184001,"66":27930,"95":206,"86":48896,"24":45,"16":405356333336887296,"45":5524790870990917632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168541184001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:12:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 14:12:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405356333336887296,"km_value":405356333336887.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5524790870990917632,"description":"Unknown IO ID 45"} 
[2026-09-18 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168541184001,"power":27930,"unknown_95":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5524790870990917632}} 
[2026-09-18 14:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":187463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:12:15] local.INFO: GPS data processed {"connection_id":187463,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:12:15] local.INFO: Acknowledgment sent {"connection_id":187463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:12:25] local.INFO: TCP Data received {"connection_id":188804,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:12:25] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:12:25] local.INFO: IMEI packet received {"connection_id":188804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":188804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:12:30] local.INFO: TCP Data received {"connection_id":188804,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:12:30] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:12:30] local.INFO: IMEI packet received {"connection_id":188804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":188804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:12:31] local.INFO: TCP Data received {"connection_id":188804,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3abc958012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3abc958012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:12:31] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3abc958012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:12:31] local.INFO: Packet analysis {"connection_id":188804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:12:31] local.INFO: Extracted packet for processing {"connection_id":188804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ab"} 
[2026-09-18 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168513024001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720775000,"timestamp_ms":1789720775000,"timestamp_seconds":1789720775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3abc958"} 
[2026-09-18 14:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:12: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-09-18 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 14:12: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-09-18 14: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-09-18 14:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168513024001,"66":12776,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168513024001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:12:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168513024001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":188804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:12:31] local.INFO: GPS data processed {"connection_id":188804,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:12:31] local.INFO: Acknowledgment sent {"connection_id":188804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:12:46] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ad57c8012d4cd180068b90a0005900982a..."} 
[2026-09-18 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ad57c8012d4cd180068b90a0005900982a..."} 
[2026-09-18 14:12:46] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ad57c8012d4cd180068b90a0005900982a..."} 
[2026-09-18 14:12:46] local.INFO: Packet analysis {"connection_id":187463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:12:46] local.INFO: Extracted packet for processing {"connection_id":187463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":760009088,"raw_latitude":109809824,"longitude_deg":76.0009088,"latitude_deg":10.9809824,"altitude":89,"angle":152,"satellites":42,"speed":44,"hex_longitude":"2d4cd180","hex_latitude":"068b90a0","is_valid_coordinates":true} 
[2026-09-18 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168543232001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405356608214794240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531405532941905920,"note":"Value kept but may cause issues"} 
[2026-09-18 14:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789720877000,"timestamp_ms":1789720877000,"timestamp_seconds":1789720877,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ad57c8"} 
[2026-09-18 14:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 14:12:46] 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-09-18 14:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168543232001,"66":27843,"95":206,"86":48896,"24":44,"16":405356608214794240,"45":5531405532941905920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 14:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168543232001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:12:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 14:12:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405356608214794240,"km_value":405356608214794.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531405532941905920,"description":"Unknown IO ID 45"} 
[2026-09-18 14:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168543232001,"power":27843,"unknown_95":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5531405532941905920}} 
[2026-09-18 14:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":187463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:12:46] local.INFO: GPS data processed {"connection_id":187463,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:12:46] local.INFO: Acknowledgment sent {"connection_id":187463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:13:03] local.INFO: TCP Data received {"connection_id":188804,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ac1b60012d16f3c007206b98002900da26..."} 
[2026-09-18 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ac1b60012d16f3c007206b98002900da26..."} 
[2026-09-18 14:13:03] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ac1b60012d16f3c007206b98002900da26..."} 
[2026-09-18 14:13:03] local.INFO: Packet analysis {"connection_id":188804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:13:03] local.INFO: Extracted packet for processing {"connection_id":188804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168518400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720796000,"timestamp_ms":1789720796000,"timestamp_seconds":1789720796,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ac1b60"} 
[2026-09-18 14:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 14:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168518400001,"66":12776,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168518400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:13:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168518400001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":188804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:13:03] local.INFO: GPS data processed {"connection_id":188804,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:13:03] local.INFO: Acknowledgment sent {"connection_id":188804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:13:17] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:13:17] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:13:17] local.INFO: IMEI packet received {"connection_id":187464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":187464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:13:22] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:13:22] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:13:22] local.INFO: IMEI packet received {"connection_id":187464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":187464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:13:23] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ad7af0012d4cdf00068b6e38005c009e2a..."} 
[2026-09-18 14:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ad7af0012d4cdf00068b6e38005c009e2a..."} 
[2026-09-18 14:13:23] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ad7af0012d4cdf00068b6e38005c009e2a..."} 
[2026-09-18 14:13:23] local.INFO: Packet analysis {"connection_id":187464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:13:23] local.INFO: Extracted packet for processing {"connection_id":187464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":109801016,"longitude_deg":76.0012544,"latitude_deg":10.9801016,"altitude":92,"angle":158,"satellites":42,"speed":38,"hex_longitude":"2d4cdf00","hex_latitude":"068b6e38","is_valid_coordinates":true} 
[2026-09-18 14:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168544512001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405357063481327616,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5535346182614720512,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789720886000,"timestamp_ms":1789720886000,"timestamp_seconds":1789720886,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ad7af0"} 
[2026-09-18 14:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 14:13:23] 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-09-18 14:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168544512001,"66":27919,"95":206,"86":48896,"24":38,"16":405357063481327616,"45":5535346182614720512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 14:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168544512001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:13:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 14:13:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405357063481327616,"km_value":405357063481327.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5535346182614720512,"description":"Unknown IO ID 45"} 
[2026-09-18 14:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168544512001,"power":27919,"unknown_95":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5535346182614720512}} 
[2026-09-18 14:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":187464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:13:23] local.INFO: GPS data processed {"connection_id":187464,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:13:23] local.INFO: Acknowledgment sent {"connection_id":187464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:13:24] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ada200012d4cec00068b4d00005f009e2b..."} 
[2026-09-18 14:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ada200012d4cec00068b4d00005f009e2b..."} 
[2026-09-18 14:13:24] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ada200012d4cec00068b4d00005f009e2b..."} 
[2026-09-18 14:13:24] local.INFO: Packet analysis {"connection_id":187464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:13:24] local.INFO: Extracted packet for processing {"connection_id":187464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:13:24] local.INFO: GPS Element Parsed {"raw_longitude":760015872,"raw_latitude":109792512,"longitude_deg":76.0015872,"latitude_deg":10.9792512,"altitude":95,"angle":158,"satellites":43,"speed":36,"hex_longitude":"2d4cec00","hex_latitude":"068b4d00","is_valid_coordinates":true} 
[2026-09-18 14:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168546816001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405357505862959104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094798059520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789720896000,"timestamp_ms":1789720896000,"timestamp_seconds":1789720896,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ada200"} 
[2026-09-18 14:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 14:13:24] 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-09-18 14:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168546816001,"66":27908,"95":206,"86":48896,"24":36,"16":405357505862959104,"45":5539146094798059520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 14:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168546816001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:13:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 14:13:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405357505862959104,"km_value":405357505862959.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094798059520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168546816001,"power":27908,"unknown_95":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5539146094798059520}} 
[2026-09-18 14:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":187464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:13:24] local.INFO: GPS data processed {"connection_id":187464,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:13:24] local.INFO: Acknowledgment sent {"connection_id":187464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:13:25] local.INFO: TCP Data received {"connection_id":186030,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:13:25] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:13:25] local.INFO: IMEI packet received {"connection_id":186030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":186030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:13:30] local.INFO: TCP Data received {"connection_id":186030,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:13:30] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:13:30] local.INFO: IMEI packet received {"connection_id":186030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":186030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:13:31] local.INFO: TCP Data received {"connection_id":186030,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ac6d68012d16f3c007206b98002900da27..."} 
[2026-09-18 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ac6d68012d16f3c007206b98002900da27..."} 
[2026-09-18 14:13:31] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ac6d68012d16f3c007206b98002900da27..."} 
[2026-09-18 14:13:31] local.INFO: Packet analysis {"connection_id":186030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:13:31] local.INFO: Extracted packet for processing {"connection_id":186030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168523776001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720817000,"timestamp_ms":1789720817000,"timestamp_seconds":1789720817,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ac6d68"} 
[2026-09-18 14:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:13: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-09-18 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 14:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168523776001,"66":12798,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168523776001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:13:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168523776001,"power":12798,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":186030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:13:31] local.INFO: GPS data processed {"connection_id":186030,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:13:31] local.INFO: Acknowledgment sent {"connection_id":186030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:13:58] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3adccf8012d4cfc00068b2e10006500952a..."} 
[2026-09-18 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3adccf8012d4cfc00068b2e10006500952a..."} 
[2026-09-18 14:13:58] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3adccf8012d4cfc00068b2e10006500952a..."} 
[2026-09-18 14:13:58] local.INFO: Packet analysis {"connection_id":187464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:13:58] local.INFO: Extracted packet for processing {"connection_id":187464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:13:58] local.INFO: GPS Element Parsed {"raw_longitude":760019968,"raw_latitude":109784592,"longitude_deg":76.0019968,"latitude_deg":10.9784592,"altitude":101,"angle":149,"satellites":42,"speed":29,"hex_longitude":"2d4cfc00","hex_latitude":"068b2e10","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168549376001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405357939654656000,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5542805269493121024,"note":"Value kept but may cause issues"} 
[2026-09-18 14:13:58] 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-09-18 14:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789720907000,"timestamp_ms":1789720907000,"timestamp_seconds":1789720907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3adccf8"} 
[2026-09-18 14:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:13:58] 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-09-18 14: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":4,"data_length":795,"current_offset":136} 
[2026-09-18 14:13:58] 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-09-18 14: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-09-18 14:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168549376001,"66":27843,"93":206,"86":48896,"24":29,"16":405357939654656000,"45":5542805269493121024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,86,24,16,45]} 
[2026-09-18 14:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168549376001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:13:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-18 14:13:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405357939654656000,"km_value":405357939654656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5542805269493121024,"description":"Unknown IO ID 45"} 
[2026-09-18 14:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168549376001,"power":27843,"unknown_93":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5542805269493121024}} 
[2026-09-18 14:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":187464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:13:58] local.INFO: GPS data processed {"connection_id":187464,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:13:58] local.INFO: Acknowledgment sent {"connection_id":187464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:14:03] local.INFO: TCP Data received {"connection_id":186030,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3acbf70012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3acbf70012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:14:03] local.INFO: Processing buffer {"connection_id":186030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3acbf70012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:14:03] local.INFO: Packet analysis {"connection_id":186030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:14:03] local.INFO: Extracted packet for processing {"connection_id":186030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168529152001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789720838000,"timestamp_ms":1789720838000,"timestamp_seconds":1789720838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3acbf70"} 
[2026-09-18 14:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 14:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168529152001,"66":12765,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168529152001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:14:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168529152001,"power":12765,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":186030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:14:03] local.INFO: GPS data processed {"connection_id":186030,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:14:03] local.INFO: Acknowledgment sent {"connection_id":186030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:14:17] local.INFO: TCP Data received {"connection_id":186031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:14:17] local.INFO: Processing buffer {"connection_id":186031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:14:17] local.INFO: IMEI packet received {"connection_id":186031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":186031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:14:22] local.INFO: TCP Data received {"connection_id":186031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:14:22] local.INFO: Processing buffer {"connection_id":186031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:14:22] local.INFO: IMEI packet received {"connection_id":186031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":186031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:14:23] local.INFO: TCP Data received {"connection_id":186031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3adf020012d4d0c00068b1840006800892b..."} 
[2026-09-18 14:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3adf020012d4d0c00068b1840006800892b..."} 
[2026-09-18 14:14:23] local.INFO: Processing buffer {"connection_id":186031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3adf020012d4d0c00068b1840006800892b..."} 
[2026-09-18 14:14:23] local.INFO: Packet analysis {"connection_id":186031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:14:23] local.INFO: Extracted packet for processing {"connection_id":186031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:14:23] local.INFO: GPS Element Parsed {"raw_longitude":760024064,"raw_latitude":109779008,"longitude_deg":76.0024064,"latitude_deg":10.9779008,"altitude":104,"angle":137,"satellites":43,"speed":32,"hex_longitude":"2d4d0c00","hex_latitude":"068b1840","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168552192001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405358270367137792,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5547308869118464000,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:23] 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-09-18 14:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789720916000,"timestamp_ms":1789720916000,"timestamp_seconds":1789720916,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3adf020"} 
[2026-09-18 14:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 14:14:23] 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-09-18 14: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-09-18 14:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168552192001,"66":27908,"93":206,"86":48896,"24":32,"16":405358270367137792,"45":5547308869118464000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,86,24,16,45]} 
[2026-09-18 14:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168552192001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:14:23] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-18 14:14:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405358270367137792,"km_value":405358270367137.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5547308869118464000,"description":"Unknown IO ID 45"} 
[2026-09-18 14:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168552192001,"power":27908,"unknown_93":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5547308869118464000}} 
[2026-09-18 14:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":186031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:14:23] local.INFO: GPS data processed {"connection_id":186031,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:14:23] local.INFO: Acknowledgment sent {"connection_id":186031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:14:30] local.INFO: TCP Data received {"connection_id":188805,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:14:30] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:14:30] local.INFO: IMEI packet received {"connection_id":188805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":188805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:14:35] local.INFO: TCP Data received {"connection_id":188805,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:14:35] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:14:35] local.INFO: IMEI packet received {"connection_id":188805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":188805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:14:36] local.INFO: TCP Data received {"connection_id":188805,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ad1178012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ad1178012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:14:36] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ad1178012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:14:36] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:14:36] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168534528001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789720859000,"timestamp_ms":1789720859000,"timestamp_seconds":1789720859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ad1178"} 
[2026-09-18 14:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 14:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168534528001,"66":12722,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168534528001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168534528001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:14:37] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:14:37] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:14:40] local.INFO: TCP Data received {"connection_id":188805,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ad6380012d16f3c007206b98002900da28..."} 
[2026-09-18 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ad6380012d16f3c007206b98002900da28..."} 
[2026-09-18 14:14:40] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ad6380012d16f3c007206b98002900da28..."} 
[2026-09-18 14:14:40] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:14:40] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168539904001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789720880000,"timestamp_ms":1789720880000,"timestamp_seconds":1789720880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ad6380"} 
[2026-09-18 14:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 14:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168539904001,"66":11961,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168539904001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:14:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:14:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168539904001,"power":11961,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:14:40] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:14:40] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:14:54] local.INFO: TCP Data received {"connection_id":186031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3afd098012d4e0dc0068a4168007300aa20..."} 
[2026-09-18 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3afd098012d4e0dc0068a4168007300aa20..."} 
[2026-09-18 14:14:54] local.INFO: Processing buffer {"connection_id":186031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3afd098012d4e0dc0068a4168007300aa20..."} 
[2026-09-18 14:14:54] local.INFO: Packet analysis {"connection_id":186031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:14:54] local.INFO: Extracted packet for processing {"connection_id":186031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:14:54] local.INFO: GPS Element Parsed {"raw_longitude":760090048,"raw_latitude":109724008,"longitude_deg":76.0090048,"latitude_deg":10.9724008,"altitude":115,"angle":170,"satellites":32,"speed":48,"hex_longitude":"2d4e0dc0","hex_latitude":"068a4168","is_valid_coordinates":true} 
[2026-09-18 14:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168584960001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405362500909924352,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623025637839302656,"note":"Value kept but may cause issues"} 
[2026-09-18 14:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789721039000,"timestamp_ms":1789721039000,"timestamp_seconds":1789721039,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3afd098"} 
[2026-09-18 14:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-18 14:14:54] 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-09-18 14:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168584960001,"66":27865,"9":206,"86":48896,"24":48,"16":405362500909924352,"45":5623025637839302656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,86,24,16,45]} 
[2026-09-18 14:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168584960001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:14:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 14:14:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405362500909924352,"km_value":405362500909924.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623025637839302656,"description":"Unknown IO ID 45"} 
[2026-09-18 14:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168584960001,"power":27865,"unknown_9":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5623025637839302656}} 
[2026-09-18 14:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":186031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:14:55] local.INFO: GPS data processed {"connection_id":186031,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:14:55] local.INFO: Acknowledgment sent {"connection_id":186031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:15:12] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:12] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:12] local.INFO: IMEI packet received {"connection_id":187465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":187465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:15:12] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:12] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:12] local.INFO: IMEI packet received {"connection_id":187465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":187465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:15:17] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:17] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:15:17] local.INFO: IMEI packet received {"connection_id":187465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":187465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:15:18] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3afebf0012d4e0fc0068a1f08007300b528..."} 
[2026-09-18 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3afebf0012d4e0fc0068a1f08007300b528..."} 
[2026-09-18 14:15:18] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3afebf0012d4e0fc0068a1f08007300b528..."} 
[2026-09-18 14:15:18] local.INFO: Packet analysis {"connection_id":187465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:15:18] local.INFO: Extracted packet for processing {"connection_id":187465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":760090560,"raw_latitude":109715208,"longitude_deg":76.009056,"latitude_deg":10.9715208,"altitude":115,"angle":181,"satellites":40,"speed":52,"hex_longitude":"2d4e0fc0","hex_latitude":"068a1f08","is_valid_coordinates":true} 
[2026-09-18 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168585984001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405362930406653952,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624362643977496576,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789721046000,"timestamp_ms":1789721046000,"timestamp_seconds":1789721046,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3afebf0"} 
[2026-09-18 14:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:15:18] 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-09-18 14: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":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:15:18] 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-09-18 14:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168585984001,"66":27767,"9":206,"86":48896,"24":52,"16":405362930406653952,"45":5624362643977496576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,86,24,16,45]} 
[2026-09-18 14:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168585984001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:15:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 14:15:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405362930406653952,"km_value":405362930406653.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624362643977496576,"description":"Unknown IO ID 45"} 
[2026-09-18 14:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168585984001,"power":27767,"unknown_9":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5624362643977496576}} 
[2026-09-18 14:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":187465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:15:18] local.INFO: GPS data processed {"connection_id":187465,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:15:18] local.INFO: Acknowledgment sent {"connection_id":187465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:15:25] local.INFO: TCP Data received {"connection_id":186182,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:15:25] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:15:25] local.INFO: IMEI packet received {"connection_id":186182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":186182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:15:28] local.INFO: TCP Data received {"connection_id":186182,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:15:28] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:15:28] local.INFO: IMEI packet received {"connection_id":186182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":186182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:15:29] local.INFO: TCP Data received {"connection_id":186182,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3adb588012d16f3c007206b98002900da29..."} 
[2026-09-18 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3adb588012d16f3c007206b98002900da29..."} 
[2026-09-18 14:15:29] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3adb588012d16f3c007206b98002900da29..."} 
[2026-09-18 14:15:29] local.INFO: Packet analysis {"connection_id":186182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:15:29] local.INFO: Extracted packet for processing {"connection_id":186182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ad"} 
[2026-09-18 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168545280001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789720901000,"timestamp_ms":1789720901000,"timestamp_seconds":1789720901,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3adb588"} 
[2026-09-18 14:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:15: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-09-18 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 14:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168545280001,"66":12743,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168545280001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:15:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:15:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168545280001,"power":12743,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":186182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:15:29] local.INFO: GPS data processed {"connection_id":186182,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:15:29] local.INFO: Acknowledgment sent {"connection_id":186182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:15:45] local.INFO: TCP Data received {"connection_id":186029,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:15:45] local.INFO: Processing buffer {"connection_id":186029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:15:45] local.INFO: IMEI packet received {"connection_id":186029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":186029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:15:49] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b00748012d4e0e400689fa10007200b528..."} 
[2026-09-18 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b00748012d4e0e400689fa10007200b528..."} 
[2026-09-18 14:15:49] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b00748012d4e0e400689fa10007200b528..."} 
[2026-09-18 14:15:49] local.INFO: Packet analysis {"connection_id":187465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b0"} 
[2026-09-18 14:15:49] local.INFO: Extracted packet for processing {"connection_id":187465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b0"} 
[2026-09-18 14:15:49] local.INFO: GPS Element Parsed {"raw_longitude":760090176,"raw_latitude":109705744,"longitude_deg":76.0090176,"latitude_deg":10.9705744,"altitude":114,"angle":181,"satellites":40,"speed":54,"hex_longitude":"2d4e0e40","hex_latitude":"0689fa10","is_valid_coordinates":true} 
[2026-09-18 14:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168587776001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405363389968154624,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624925593928665088,"note":"Value kept but may cause issues"} 
[2026-09-18 14:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789721053000,"timestamp_ms":1789721053000,"timestamp_seconds":1789721053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b00748"} 
[2026-09-18 14:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:15:49] 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-09-18 14:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168587776001,"66":27865,"9":206,"86":48896,"24":54,"16":405363389968154624,"45":5624925593928665088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,86,24,16,45]} 
[2026-09-18 14:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168587776001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:15:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 14:15:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405363389968154624,"km_value":405363389968154.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624925593928665088,"description":"Unknown IO ID 45"} 
[2026-09-18 14:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168587776001,"power":27865,"unknown_9":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":5624925593928665088}} 
[2026-09-18 14:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":187465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:15:49] local.INFO: GPS data processed {"connection_id":187465,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:15:49] local.INFO: Acknowledgment sent {"connection_id":187465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:16:00] local.INFO: TCP Data received {"connection_id":186182,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ae0790012d16f3c007206b98002900da27..."} 
[2026-09-18 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ae0790012d16f3c007206b98002900da27..."} 
[2026-09-18 14:16:00] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ae0790012d16f3c007206b98002900da27..."} 
[2026-09-18 14:16:00] local.INFO: Packet analysis {"connection_id":186182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:16:00] local.INFO: Extracted packet for processing {"connection_id":186182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168550656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789720922000,"timestamp_ms":1789720922000,"timestamp_seconds":1789720922,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ae0790"} 
[2026-09-18 14:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 14:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168550656001,"66":12722,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168550656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:16:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168550656001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":186182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:16:01] local.INFO: GPS data processed {"connection_id":186182,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:16:01] local.INFO: Acknowledgment sent {"connection_id":186182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:16:15] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:15] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:15] local.INFO: IMEI packet received {"connection_id":188806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":188806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:16:17] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:17] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:17] local.INFO: IMEI packet received {"connection_id":188806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":188806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:16:22] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:22] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:16:22] local.INFO: IMEI packet received {"connection_id":188806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":188806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:16:22] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b118b8012d4df580068892c8005200af2d..."} 
[2026-09-18 14:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b118b8012d4df580068892c8005200af2d..."} 
[2026-09-18 14:16:22] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b118b8012d4df580068892c8005200af2d..."} 
[2026-09-18 14:16:22] local.INFO: Packet analysis {"connection_id":188806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:16:22] local.INFO: Extracted packet for processing {"connection_id":188806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:16:22] local.INFO: GPS Element Parsed {"raw_longitude":760083840,"raw_latitude":109613768,"longitude_deg":76.008384,"latitude_deg":10.9613768,"altitude":82,"angle":175,"satellites":45,"speed":57,"hex_longitude":"2d4df580","hex_latitude":"068892c8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168605696001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405367921158651904,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616481344603873280,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:22] 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-09-18 14:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789721123000,"timestamp_ms":1789721123000,"timestamp_seconds":1789721123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b118b8"} 
[2026-09-18 14:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:16:22] 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-09-18 14: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-09-18 14:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168605696001,"66":27767,"237":206,"86":48896,"24":57,"16":405367921158651904,"45":5616481344603873280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168605696001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:16:22] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:16:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405367921158651904,"km_value":405367921158651.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616481344603873280,"description":"Unknown IO ID 45"} 
[2026-09-18 14:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168605696001,"power":27767,"unknown_237":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5616481344603873280}} 
[2026-09-18 14:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":188806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:16:22] local.INFO: GPS data processed {"connection_id":188806,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:16:22] local.INFO: Acknowledgment sent {"connection_id":188806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:16:23] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b13410012d4df58006886c80005000b72d..."} 
[2026-09-18 14:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b13410012d4df58006886c80005000b72d..."} 
[2026-09-18 14:16:23] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b13410012d4df58006886c80005000b72d..."} 
[2026-09-18 14:16:23] local.INFO: Packet analysis {"connection_id":188806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:16:23] local.INFO: Extracted packet for processing {"connection_id":188806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:16:23] local.INFO: GPS Element Parsed {"raw_longitude":760083840,"raw_latitude":109603968,"longitude_deg":76.008384,"latitude_deg":10.9603968,"altitude":80,"angle":183,"satellites":45,"speed":56,"hex_longitude":"2d4df580","hex_latitude":"06886c80","is_valid_coordinates":true} 
[2026-09-18 14:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168607488001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405368397900021760,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617536875764041728,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:23] 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-09-18 14:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789721130000,"timestamp_ms":1789721130000,"timestamp_seconds":1789721130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b13410"} 
[2026-09-18 14:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168607488001,"66":27713,"237":206,"86":48896,"24":56,"16":405368397900021760,"45":5617536875764041728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168607488001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:16:23] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:16:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405368397900021760,"km_value":405368397900021.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617536875764041728,"description":"Unknown IO ID 45"} 
[2026-09-18 14:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168607488001,"power":27713,"unknown_237":206,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":5617536875764041728}} 
[2026-09-18 14:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":188806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:16:23] local.INFO: GPS data processed {"connection_id":188806,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:16:23] local.INFO: Acknowledgment sent {"connection_id":188806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:16:30] local.INFO: TCP Data received {"connection_id":187466,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:30] local.INFO: Processing buffer {"connection_id":187466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:30] local.INFO: IMEI packet received {"connection_id":187466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":187466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:16:31] local.INFO: TCP Data received {"connection_id":187466,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:31] local.INFO: Processing buffer {"connection_id":187466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:31] local.INFO: IMEI packet received {"connection_id":187466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":187466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:16:35] local.INFO: TCP Data received {"connection_id":187466,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:35] local.INFO: Processing buffer {"connection_id":187466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:16:35] local.INFO: IMEI packet received {"connection_id":187466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":187466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:16:37] local.INFO: TCP Data received {"connection_id":187466,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ae5998012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ae5998012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:16:37] local.INFO: Processing buffer {"connection_id":187466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ae5998012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:16:37] local.INFO: Packet analysis {"connection_id":187466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:16:37] local.INFO: Extracted packet for processing {"connection_id":187466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168556032001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789720943000,"timestamp_ms":1789720943000,"timestamp_seconds":1789720943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ae5998"} 
[2026-09-18 14:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:16: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-09-18 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 14:16: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-09-18 14: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-09-18 14:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168556032001,"66":12722,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168556032001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:16:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168556032001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":187466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:16:37] local.INFO: GPS data processed {"connection_id":187466,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:16:37] local.INFO: Acknowledgment sent {"connection_id":187466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:16:40] local.INFO: TCP Data received {"connection_id":187466,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3aeaba0012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3aeaba0012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:16:40] local.INFO: Processing buffer {"connection_id":187466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3aeaba0012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:16:40] local.INFO: Packet analysis {"connection_id":187466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:16:40] local.INFO: Extracted packet for processing {"connection_id":187466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168561408001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789720964000,"timestamp_ms":1789720964000,"timestamp_seconds":1789720964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3aeaba0"} 
[2026-09-18 14:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 14:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168561408001,"66":12711,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168561408001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:16:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:16:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168561408001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":187466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:16:40] local.INFO: GPS data processed {"connection_id":187466,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:16:40] local.INFO: Acknowledgment sent {"connection_id":187466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:16:54] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b14f68012d4df04006884690005200bf2c..."} 
[2026-09-18 14:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b14f68012d4df04006884690005200bf2c..."} 
[2026-09-18 14:16:54] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b14f68012d4df04006884690005200bf2c..."} 
[2026-09-18 14:16:54] local.INFO: Packet analysis {"connection_id":188806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:16:54] local.INFO: Extracted packet for processing {"connection_id":188806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:16:54] local.INFO: GPS Element Parsed {"raw_longitude":760082496,"raw_latitude":109594256,"longitude_deg":76.0082496,"latitude_deg":10.9594256,"altitude":82,"angle":191,"satellites":44,"speed":54,"hex_longitude":"2d4df040","hex_latitude":"06884690","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168609280001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405368874641391616,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617536875761532928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:16:54] 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-09-18 14:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789721137000,"timestamp_ms":1789721137000,"timestamp_seconds":1789721137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b14f68"} 
[2026-09-18 14:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 14:16:54] 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-09-18 14: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-09-18 14:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168609280001,"66":27767,"237":206,"86":48896,"24":54,"16":405368874641391616,"45":5617536875761532928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168609280001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:16:54] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:16:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405368874641391616,"km_value":405368874641391.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617536875761532928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168609280001,"power":27767,"unknown_237":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":5617536875761532928}} 
[2026-09-18 14:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":188806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:16:54] local.INFO: GPS data processed {"connection_id":188806,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:16:54] local.INFO: Acknowledgment sent {"connection_id":188806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:17:12] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:12] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:12] local.INFO: IMEI packet received {"connection_id":186032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":186032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:17:12] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:12] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:12] local.INFO: IMEI packet received {"connection_id":186032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":186032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:17:17] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:17] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:17:17] local.INFO: IMEI packet received {"connection_id":186032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":186032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:17:18] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b16ac0012d4de78006882370005300c22d..."} 
[2026-09-18 14:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b16ac0012d4de78006882370005300c22d..."} 
[2026-09-18 14:17:18] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b16ac0012d4de78006882370005300c22d..."} 
[2026-09-18 14:17:18] local.INFO: Packet analysis {"connection_id":186032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:17:18] local.INFO: Extracted packet for processing {"connection_id":186032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:17:18] local.INFO: GPS Element Parsed {"raw_longitude":760080256,"raw_latitude":109585264,"longitude_deg":76.0080256,"latitude_deg":10.9585264,"altitude":83,"angle":194,"satellites":45,"speed":49,"hex_longitude":"2d4de780","hex_latitude":"06882370","is_valid_coordinates":true} 
[2026-09-18 14:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168611072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405369321317990400,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616059132131315712,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:18] 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-09-18 14:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789721144000,"timestamp_ms":1789721144000,"timestamp_seconds":1789721144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b16ac0"} 
[2026-09-18 14:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:17:18] 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-09-18 14:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168611072001,"66":27745,"237":206,"86":48896,"24":49,"16":405369321317990400,"45":5616059132131315712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168611072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:17:18] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:17:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405369321317990400,"km_value":405369321317990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616059132131315712,"description":"Unknown IO ID 45"} 
[2026-09-18 14:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168611072001,"power":27745,"unknown_237":206,"unknown_86":48896,"ignition":49,"odometer":null,"unknown_45":5616059132131315712}} 
[2026-09-18 14:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":186032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:17:18] local.INFO: GPS data processed {"connection_id":186032,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:17:18] local.INFO: Acknowledgment sent {"connection_id":186032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:17:21] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b18a00012d4dde800687fd60005600c22a..."} 
[2026-09-18 14:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b18a00012d4dde800687fd60005600c22a..."} 
[2026-09-18 14:17:21] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b18a00012d4dde800687fd60005600c22a..."} 
[2026-09-18 14:17:21] local.INFO: Packet analysis {"connection_id":186032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:17:21] local.INFO: Extracted packet for processing {"connection_id":186032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:17:21] local.INFO: GPS Element Parsed {"raw_longitude":760077952,"raw_latitude":109575520,"longitude_deg":76.0077952,"latitude_deg":10.957552,"altitude":86,"angle":194,"satellites":42,"speed":48,"hex_longitude":"2d4dde80","hex_latitude":"0687fd60","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168612864001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405369806649294848,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613596226082795520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:21] 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-09-18 14:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789721152000,"timestamp_ms":1789721152000,"timestamp_seconds":1789721152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b18a00"} 
[2026-09-18 14:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:17:21] 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-09-18 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168612864001,"66":27832,"237":206,"86":48896,"24":48,"16":405369806649294848,"45":5613596226082795520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168612864001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:17:21] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:17:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405369806649294848,"km_value":405369806649294.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613596226082795520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168612864001,"power":27832,"unknown_237":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5613596226082795520}} 
[2026-09-18 14:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":186032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:17:21] local.INFO: GPS data processed {"connection_id":186032,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:17:21] local.INFO: Acknowledgment sent {"connection_id":186032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:17:25] local.INFO: TCP Data received {"connection_id":188807,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:17:25] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:17:25] local.INFO: IMEI packet received {"connection_id":188807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":188807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:17:30] local.INFO: TCP Data received {"connection_id":188807,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:17:30] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:17:30] local.INFO: IMEI packet received {"connection_id":188807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":188807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:17:31] local.INFO: TCP Data received {"connection_id":188807,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3aefda8012d16f3c007206b98002900da29..."} 
[2026-09-18 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3aefda8012d16f3c007206b98002900da29..."} 
[2026-09-18 14:17:31] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3aefda8012d16f3c007206b98002900da29..."} 
[2026-09-18 14:17:31] local.INFO: Packet analysis {"connection_id":188807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:17:31] local.INFO: Extracted packet for processing {"connection_id":188807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ae"} 
[2026-09-18 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168566784001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789720985000,"timestamp_ms":1789720985000,"timestamp_seconds":1789720985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3aefda8"} 
[2026-09-18 14:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:17: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-09-18 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 14:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168566784001,"66":12711,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168566784001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:17:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168566784001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":188807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:17:31] local.INFO: GPS data processed {"connection_id":188807,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:17:31] local.INFO: Acknowledgment sent {"connection_id":188807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:17:52] local.INFO: TCP Data received {"connection_id":186032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b1a940012d4dd4400687d8b8005900c227..."} 
[2026-09-18 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b1a940012d4dd4400687d8b8005900c227..."} 
[2026-09-18 14:17:52] local.INFO: Processing buffer {"connection_id":186032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b1a940012d4dd4400687d8b8005900c227..."} 
[2026-09-18 14:17:52] local.INFO: Packet analysis {"connection_id":186032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:17:52] local.INFO: Extracted packet for processing {"connection_id":186032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":760075328,"raw_latitude":109566136,"longitude_deg":76.0075328,"latitude_deg":10.9566136,"altitude":89,"angle":194,"satellites":39,"speed":46,"hex_longitude":"2d4dd440","hex_latitude":"0687d8b8","is_valid_coordinates":true} 
[2026-09-18 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168614912001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405370279095697408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5611062951289905152,"note":"Value kept but may cause issues"} 
[2026-09-18 14:17:52] 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-09-18 14:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789721160000,"timestamp_ms":1789721160000,"timestamp_seconds":1789721160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b1a940"} 
[2026-09-18 14:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:17:52] 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-09-18 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 14:17:52] 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-09-18 14:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:17: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-09-18 14:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168614912001,"66":27397,"237":206,"86":48896,"24":46,"16":405370279095697408,"45":5611062951289905152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168614912001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:17:52] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:17:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405370279095697408,"km_value":405370279095697.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5611062951289905152,"description":"Unknown IO ID 45"} 
[2026-09-18 14:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168614912001,"power":27397,"unknown_237":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5611062951289905152}} 
[2026-09-18 14:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":186032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:17:52] local.INFO: GPS data processed {"connection_id":186032,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:17:52] local.INFO: Acknowledgment sent {"connection_id":186032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:17:54] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:17:54] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:17:54] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:17:59] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:17:59] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:17:59] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:18:00] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ac0fa8012d7e390005d35838000f01310e..."} 
[2026-09-18 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ac0fa8012d7e390005d35838000f01310e..."} 
[2026-09-18 14:18:00] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ac0fa8012d7e390005d35838000f01310e..."} 
[2026-09-18 14:18:00] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:18:00] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763246848,"raw_latitude":97736760,"longitude_deg":76.3246848,"latitude_deg":9.773676,"altitude":15,"angle":305,"satellites":14,"speed":0,"hex_longitude":"2d7e3900","hex_latitude":"05d35838","is_valid_coordinates":true} 
[2026-09-18 14:18: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-09-18 14:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168523008001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134635782936723456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947472037888,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789720793000,"timestamp_ms":1789720793000,"timestamp_seconds":1789720793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ac0fa8"} 
[2026-09-18 14:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:18: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-09-18 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 14:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168523008001,"66":13820,"109":206,"85":15104,"24":0,"16":134635782936723456,"45":9095300947472037888},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 14:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168523008001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:18:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 14:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134635782936723456,"km_value":134635782936723.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947472037888,"description":"Unknown IO ID 45"} 
[2026-09-18 14:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168523008001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095300947472037888}} 
[2026-09-18 14:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:18:00] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:18:00] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:18:03] local.INFO: TCP Data received {"connection_id":188807,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3af4fb0012d16f3c007206b98002900da28..."} 
[2026-09-18 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3af4fb0012d16f3c007206b98002900da28..."} 
[2026-09-18 14:18:03] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3af4fb0012d16f3c007206b98002900da28..."} 
[2026-09-18 14:18:03] local.INFO: Packet analysis {"connection_id":188807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:18:03] local.INFO: Extracted packet for processing {"connection_id":188807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168572160001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789721006000,"timestamp_ms":1789721006000,"timestamp_seconds":1789721006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3af4fb0"} 
[2026-09-18 14:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":167,"data_length":795,"current_offset":136} 
[2026-09-18 14:18: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-09-18 14: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-09-18 14:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168572160001,"66":12319,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168572160001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:18:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168572160001,"power":12319,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":188807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:18:03] local.INFO: GPS data processed {"connection_id":188807,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:18:03] local.INFO: Acknowledgment sent {"connection_id":188807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:18:12] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:18:12] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:18:12] local.INFO: IMEI packet received {"connection_id":186034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":186034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:18:23] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:18:23] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:18:23] local.INFO: IMEI packet received {"connection_id":186034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":186034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:18:24] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b1c880012d4dca800687b5d0005c00c229..."} 
[2026-09-18 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b1c880012d4dca800687b5d0005c00c229..."} 
[2026-09-18 14:18:24] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b1c880012d4dca800687b5d0005c00c229..."} 
[2026-09-18 14:18:24] local.INFO: Packet analysis {"connection_id":186034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:18:24] local.INFO: Extracted packet for processing {"connection_id":186034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b1"} 
[2026-09-18 14:18:24] local.INFO: GPS Element Parsed {"raw_longitude":760072832,"raw_latitude":109557200,"longitude_deg":76.0072832,"latitude_deg":10.95572,"altitude":92,"angle":194,"satellites":41,"speed":44,"hex_longitude":"2d4dca80","hex_latitude":"0687b5d0","is_valid_coordinates":true} 
[2026-09-18 14:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168616960001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405370730067263488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5608177832776218624,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:24] 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-09-18 14:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789721168000,"timestamp_ms":1789721168000,"timestamp_seconds":1789721168,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b1c880"} 
[2026-09-18 14:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 14:18:24] 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-09-18 14:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168616960001,"66":27821,"237":206,"86":48896,"24":44,"16":405370730067263488,"45":5608177832776218624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 14:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168616960001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:18:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 14:18:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 14:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405370730067263488,"km_value":405370730067263.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5608177832776218624,"description":"Unknown IO ID 45"} 
[2026-09-18 14:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168616960001,"power":27821,"unknown_237":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5608177832776218624}} 
[2026-09-18 14:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":186034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:18:25] local.INFO: GPS data processed {"connection_id":186034,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:18:25] local.INFO: Acknowledgment sent {"connection_id":186034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:18:25] local.INFO: TCP Data received {"connection_id":187467,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:18:25] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:18:25] local.INFO: IMEI packet received {"connection_id":187467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":187467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:18:30] local.INFO: TCP Data received {"connection_id":187467,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:18:30] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:18:30] local.INFO: IMEI packet received {"connection_id":187467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":187467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:18:31] local.INFO: TCP Data received {"connection_id":187467,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3afa1b8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3afa1b8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:18:31] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3afa1b8012d16f3c007206b98002900da28..."} 
[2026-09-18 14:18:31] local.INFO: Packet analysis {"connection_id":187467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:18:31] local.INFO: Extracted packet for processing {"connection_id":187467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3af"} 
[2026-09-18 14:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168577536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789721027000,"timestamp_ms":1789721027000,"timestamp_seconds":1789721027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3afa1b8"} 
[2026-09-18 14:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:18: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-09-18 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 14:18:31] 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-09-18 14: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-09-18 14:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168577536001,"66":12689,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168577536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168577536001,"power":12689,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":187467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:18:31] local.INFO: GPS data processed {"connection_id":187467,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:18:31] local.INFO: Acknowledgment sent {"connection_id":187467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:18:32] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ac1778012d7e390005d35828000f00560f..."} 
[2026-09-18 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ac1778012d7e390005d35828000f00560f..."} 
[2026-09-18 14:18:32] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ac1778012d7e390005d35828000f00560f..."} 
[2026-09-18 14:18:32] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:18:32] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763246848,"raw_latitude":97736744,"longitude_deg":76.3246848,"latitude_deg":9.7736744,"altitude":15,"angle":86,"satellites":15,"speed":0,"hex_longitude":"2d7e3900","hex_latitude":"05d35828","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168523008001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134635782936723456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947472037888,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789720795000,"timestamp_ms":1789720795000,"timestamp_seconds":1789720795,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ac1778"} 
[2026-09-18 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-09-18 14:18: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-09-18 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 14:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168523008001,"66":14157,"109":206,"85":15104,"24":0,"16":134635782936723456,"45":9095300947472037888},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168523008001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:18:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 14:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134635782936723456,"km_value":134635782936723.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947472037888,"description":"Unknown IO ID 45"} 
[2026-09-18 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168523008001,"power":14157,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095300947472037888}} 
[2026-09-18 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:18:32] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:18:32] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:18:55] local.INFO: TCP Data received {"connection_id":186034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b37630012d4d268006862c50007900db2e..."} 
[2026-09-18 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b37630012d4d268006862c50007900db2e..."} 
[2026-09-18 14:18:55] local.INFO: Processing buffer {"connection_id":186034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b37630012d4d268006862c50007900db2e..."} 
[2026-09-18 14:18:55] local.INFO: Packet analysis {"connection_id":186034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:18:55] local.INFO: Extracted packet for processing {"connection_id":186034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":760030848,"raw_latitude":109456464,"longitude_deg":76.0030848,"latitude_deg":10.9456464,"altitude":121,"angle":219,"satellites":46,"speed":45,"hex_longitude":"2d4d2680","hex_latitude":"06862c50","is_valid_coordinates":true} 
[2026-09-18 14:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168644864001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405376107366318080,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566238061220145152,"note":"Value kept but may cause issues"} 
[2026-09-18 14:18:55] 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-09-18 14:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789721278000,"timestamp_ms":1789721278000,"timestamp_seconds":1789721278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b37630"} 
[2026-09-18 14:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:18:55] 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-09-18 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:18:55] 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-09-18 14:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168644864001,"66":27876,"103":206,"80":60928,"24":45,"16":405376107366318080,"45":5566238061220145152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-18 14:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168644864001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:18:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 14:18:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405376107366318080,"km_value":405376107366318.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566238061220145152,"description":"Unknown IO ID 45"} 
[2026-09-18 14:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168644864001,"power":27876,"unknown_103":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":5566238061220145152}} 
[2026-09-18 14:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":186034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:18:56] local.INFO: GPS data processed {"connection_id":186034,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:18:56] local.INFO: Acknowledgment sent {"connection_id":186034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:19:04] local.INFO: TCP Data received {"connection_id":187467,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b32810012d16f3c007206b98002900da29..."} 
[2026-09-18 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b32810012d16f3c007206b98002900da29..."} 
[2026-09-18 14:19:04] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b32810012d16f3c007206b98002900da29..."} 
[2026-09-18 14:19:04] local.INFO: Packet analysis {"connection_id":187467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:04] local.INFO: Extracted packet for processing {"connection_id":187467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168636672001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789721258000,"timestamp_ms":1789721258000,"timestamp_seconds":1789721258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b32810"} 
[2026-09-18 14:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 14:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168636672001,"66":12558,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168636672001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:19:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168636672001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":187467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:19:04] local.INFO: GPS data processed {"connection_id":187467,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:19:04] local.INFO: Acknowledgment sent {"connection_id":187467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:19:07] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ac2718012d7e394005d357e8000f00700f..."} 
[2026-09-18 14:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ac2718012d7e394005d357e8000f00700f..."} 
[2026-09-18 14:19:07] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ac2718012d7e394005d357e8000f00700f..."} 
[2026-09-18 14:19:07] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:19:07] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ac"} 
[2026-09-18 14:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97736680,"longitude_deg":76.3246912,"latitude_deg":9.773668,"altitude":15,"angle":112,"satellites":15,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168523520001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134635782936723456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947472033792,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19: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-09-18 14:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789720799000,"timestamp_ms":1789720799000,"timestamp_seconds":1789720799,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ac2718"} 
[2026-09-18 14:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 14:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168523520001,"66":13656,"109":206,"85":15104,"24":0,"16":134635782936723456,"45":9095300947472033792},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 14:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168523520001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:19:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 14:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134635782936723456,"km_value":134635782936723.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947472033792,"description":"Unknown IO ID 45"} 
[2026-09-18 14:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168523520001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095300947472033792}} 
[2026-09-18 14:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:19:07] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:19:07] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:19:12] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:12] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:12] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:19:12] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:12] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:12] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:19:16] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:16] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:19:16] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:19:17] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b39570012d4d0e0006860f20007800da24..."} 
[2026-09-18 14:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b39570012d4d0e0006860f20007800da24..."} 
[2026-09-18 14:19:17] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b39570012d4d0e0006860f20007800da24..."} 
[2026-09-18 14:19:17] local.INFO: Packet analysis {"connection_id":186183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:17] local.INFO: Extracted packet for processing {"connection_id":186183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:17] local.INFO: GPS Element Parsed {"raw_longitude":760024576,"raw_latitude":109448992,"longitude_deg":76.0024576,"latitude_deg":10.9448992,"altitude":120,"angle":218,"satellites":36,"speed":50,"hex_longitude":"2d4d0e00","hex_latitude":"06860f20","is_valid_coordinates":true} 
[2026-09-18 14:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168647168001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405376575517753344,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5559271555544666112,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:17] 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-09-18 14:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789721286000,"timestamp_ms":1789721286000,"timestamp_seconds":1789721286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b39570"} 
[2026-09-18 14:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:19: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-09-18 14:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168647168001,"66":27821,"103":206,"80":60928,"24":50,"16":405376575517753344,"45":5559271555544666112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-18 14:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168647168001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:19:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 14:19:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405376575517753344,"km_value":405376575517753.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5559271555544666112,"description":"Unknown IO ID 45"} 
[2026-09-18 14:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168647168001,"power":27821,"unknown_103":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5559271555544666112}} 
[2026-09-18 14:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":186183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:19:17] local.INFO: GPS data processed {"connection_id":186183,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:19:17] local.INFO: Acknowledgment sent {"connection_id":186183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:19:25] local.INFO: TCP Data received {"connection_id":187468,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:19:25] local.INFO: Processing buffer {"connection_id":187468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:19:25] local.INFO: IMEI packet received {"connection_id":187468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":187468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:19:30] local.INFO: TCP Data received {"connection_id":187468,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:19:30] local.INFO: Processing buffer {"connection_id":187468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:19:30] local.INFO: IMEI packet received {"connection_id":187468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":187468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:19:31] local.INFO: TCP Data received {"connection_id":187468,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b37a18012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b37a18012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:19:31] local.INFO: Processing buffer {"connection_id":187468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b37a18012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:19:31] local.INFO: Packet analysis {"connection_id":187468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:31] local.INFO: Extracted packet for processing {"connection_id":187468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168642048001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789721279000,"timestamp_ms":1789721279000,"timestamp_seconds":1789721279,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b37a18"} 
[2026-09-18 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-09-18 14:19: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-09-18 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014736864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249052187273227160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2984243201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3892391190,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,218,160,214,45,192,107,41,42,10,66,132,40,49,1,240,14,179,32,4,113,205,141,243,152,239,2,75,7,231,83,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:19:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601225183559680,"timestamp_seconds":2954601225183559.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 14:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168642048001,"66":12558,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168642048001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:19:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168642048001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":187468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:19:31] local.INFO: GPS data processed {"connection_id":187468,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:19:31] local.INFO: Acknowledgment sent {"connection_id":187468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:19:39] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b40aa0012d7e398005d357a8000f007024..."} 
[2026-09-18 14:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b40aa0012d7e398005d357a8000f007024..."} 
[2026-09-18 14:19:39] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b40aa0012d7e398005d357a8000f007024..."} 
[2026-09-18 14:19:39] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:19:39] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97736616,"longitude_deg":76.3246976,"latitude_deg":9.7736616,"altitude":15,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-09-18 14:19: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-09-18 14:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168524544001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134635782936723456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316216195072,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789721316000,"timestamp_ms":1789721316000,"timestamp_seconds":1789721316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b40aa0"} 
[2026-09-18 14:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 14:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168524544001,"66":12798,"163":206,"19":45824,"24":0,"16":134635782936723456,"45":9095371316216195072},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-09-18 14:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168524544001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:19:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 14:19:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134635782936723456,"km_value":134635782936723.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316216195072,"description":"Unknown IO ID 45"} 
[2026-09-18 14:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168524544001,"power":12798,"unknown_163":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":9095371316216195072}} 
[2026-09-18 14:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:19:39] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:19:39] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:19:48] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b3b0c8012d4cf5c00685f330007900db29..."} 
[2026-09-18 14:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b3b0c8012d4cf5c00685f330007900db29..."} 
[2026-09-18 14:19:48] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b3b0c8012d4cf5c00685f330007900db29..."} 
[2026-09-18 14:19:48] local.INFO: Packet analysis {"connection_id":186183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:48] local.INFO: Extracted packet for processing {"connection_id":186183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:19:48] local.INFO: GPS Element Parsed {"raw_longitude":760018368,"raw_latitude":109441840,"longitude_deg":76.0018368,"latitude_deg":10.944184,"altitude":121,"angle":219,"satellites":41,"speed":54,"hex_longitude":"2d4cf5c0","hex_latitude":"0685f330","is_valid_coordinates":true} 
[2026-09-18 14:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168649216001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405377030784286720,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5552375418613342208,"note":"Value kept but may cause issues"} 
[2026-09-18 14:19:48] 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-09-18 14:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789721293000,"timestamp_ms":1789721293000,"timestamp_seconds":1789721293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b3b0c8"} 
[2026-09-18 14:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 14:19:48] 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-09-18 14:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:19: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-09-18 14:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168649216001,"66":27843,"103":206,"80":60928,"24":54,"16":405377030784286720,"45":5552375418613342208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-18 14:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168649216001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:19:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 14:19:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405377030784286720,"km_value":405377030784286.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5552375418613342208,"description":"Unknown IO ID 45"} 
[2026-09-18 14:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168649216001,"power":27843,"unknown_103":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":5552375418613342208}} 
[2026-09-18 14:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":186183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:19:48] local.INFO: GPS data processed {"connection_id":186183,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:19:48] local.INFO: Acknowledgment sent {"connection_id":186183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:20:04] local.INFO: TCP Data received {"connection_id":187468,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b3cc20012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b3cc20012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:20:04] local.INFO: Processing buffer {"connection_id":187468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b3cc20012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:20:04] local.INFO: Packet analysis {"connection_id":187468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:20:04] local.INFO: Extracted packet for processing {"connection_id":187468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b3"} 
[2026-09-18 14:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168647424001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789721300000,"timestamp_ms":1789721300000,"timestamp_seconds":1789721300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b3cc20"} 
[2026-09-18 14:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014757864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249052187273227160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2989619201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4026608918,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,122,28,24,241,158,16,218,160,40,45,192,107,41,10,66,214,42,132,1,240,86,179,32,4,113,205,223,243,152,43,239,49,2,75,7,231,83,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:20:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601233773494272,"timestamp_seconds":2954601233773494.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168647424001,"66":12548,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168647424001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:20:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168647424001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":187468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:20:04] local.INFO: GPS data processed {"connection_id":187468,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:20:04] local.INFO: Acknowledgment sent {"connection_id":187468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:20:10] local.INFO: TCP Data received {"connection_id":188808,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b51c10012d7e534005d35fc80005000226..."} 
[2026-09-18 14:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b51c10012d7e534005d35fc80005000226..."} 
[2026-09-18 14:20:10] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b51c10012d7e534005d35fc80005000226..."} 
[2026-09-18 14:20:10] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:20:10] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763253568,"raw_latitude":97738696,"longitude_deg":76.3253568,"latitude_deg":9.7738696,"altitude":5,"angle":2,"satellites":38,"speed":21,"hex_longitude":"2d7e5340","hex_latitude":"05d35fc8","is_valid_coordinates":true} 
[2026-09-18 14:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168674304001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134636281152929792,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102760034355142656,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789721386000,"timestamp_ms":1789721386000,"timestamp_seconds":1789721386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b51c10"} 
[2026-09-18 14:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 14:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168674304001,"66":13341,"163":206,"19":45824,"24":21,"16":134636281152929792,"45":9102760034355142656},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-09-18 14:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168674304001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:20:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 14:20:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134636281152929792,"km_value":134636281152929.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102760034355142656,"description":"Unknown IO ID 45"} 
[2026-09-18 14:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168674304001,"power":13341,"unknown_163":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":9102760034355142656}} 
[2026-09-18 14:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:20:11] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:20:11] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:20:17] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:17] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:17] local.INFO: IMEI packet received {"connection_id":187469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":187469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:20:18] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:18] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:18] local.INFO: IMEI packet received {"connection_id":187469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":187469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:20:22] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:22] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:20:22] local.INFO: IMEI packet received {"connection_id":187469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":187469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:20:25] local.INFO: TCP Data received {"connection_id":186035,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:20:25] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:20:25] local.INFO: IMEI packet received {"connection_id":186035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":186035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:20:26] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b4a6e0012d4d21400684c2a0007600862f..."} 
[2026-09-18 14:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b4a6e0012d4d21400684c2a0007600862f..."} 
[2026-09-18 14:20:26] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b4a6e0012d4d21400684c2a0007600862f..."} 
[2026-09-18 14:20:26] local.INFO: Packet analysis {"connection_id":187469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:20:26] local.INFO: Extracted packet for processing {"connection_id":187469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:20:26] local.INFO: GPS Element Parsed {"raw_longitude":760029504,"raw_latitude":109363872,"longitude_deg":76.0029504,"latitude_deg":10.9363872,"altitude":118,"angle":134,"satellites":47,"speed":57,"hex_longitude":"2d4d2140","hex_latitude":"0684c2a0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168665344001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405381364406288384,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5550193987523973120,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789721356000,"timestamp_ms":1789721356000,"timestamp_seconds":1789721356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b4a6e0"} 
[2026-09-18 14:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:20:26] 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-09-18 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:20:26] 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-09-18 14: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-09-18 14:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168665344001,"66":27789,"104":206,"80":60928,"24":57,"16":405381364406288384,"45":5550193987523973120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-09-18 14:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168665344001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:20:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-18 14:20:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405381364406288384,"km_value":405381364406288.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5550193987523973120,"description":"Unknown IO ID 45"} 
[2026-09-18 14:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168665344001,"power":27789,"unknown_104":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5550193987523973120}} 
[2026-09-18 14:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":187469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:20:26] local.INFO: GPS data processed {"connection_id":187469,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:20:26] local.INFO: Acknowledgment sent {"connection_id":187469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:20:30] local.INFO: TCP Data received {"connection_id":186035,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:20:30] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:20:30] local.INFO: IMEI packet received {"connection_id":186035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":186035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:20:31] local.INFO: TCP Data received {"connection_id":186035,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b41e28012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b41e28012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:20:31] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b41e28012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:20:31] local.INFO: Packet analysis {"connection_id":186035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:20:31] local.INFO: Extracted packet for processing {"connection_id":186035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168652800001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789721321000,"timestamp_ms":1789721321000,"timestamp_seconds":1789721321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b41e28"} 
[2026-09-18 14:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:20: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-09-18 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014778864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2994995201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:20:31] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,122,28,24,241,158,16,218,160,45,192,107,41,43,10,66,40,214,1,240,69,179,32,4,113,205,49,243,152,239,2,75,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:20:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601233773494272,"timestamp_seconds":2954601233773494.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168652800001,"66":12526,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168652800001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168652800001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":186035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:20:31] local.INFO: GPS data processed {"connection_id":186035,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:20:31] local.INFO: Acknowledgment sent {"connection_id":186035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:20:43] local.INFO: TCP Data received {"connection_id":186036,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:20:43] local.INFO: Processing buffer {"connection_id":186036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:20:43] local.INFO: IMEI packet received {"connection_id":186036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":186036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:21:03] local.INFO: TCP Data received {"connection_id":186035,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b47030012d16f3c007206b98002900da2c..."} 
[2026-09-18 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b47030012d16f3c007206b98002900da2c..."} 
[2026-09-18 14:21:03] local.INFO: Processing buffer {"connection_id":186035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b47030012d16f3c007206b98002900da2c..."} 
[2026-09-18 14:21:03] local.INFO: Packet analysis {"connection_id":186035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:21:03] local.INFO: Extracted packet for processing {"connection_id":186035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168658176001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789721342000,"timestamp_ms":1789721342000,"timestamp_seconds":1789721342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b47030"} 
[2026-09-18 14:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 14:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168658176001,"66":12558,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168658176001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168658176001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":186035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:21:03] local.INFO: GPS data processed {"connection_id":186035,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:21:03] local.INFO: Acknowledgment sent {"connection_id":186035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:21:12] local.INFO: TCP Data received {"connection_id":186037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:12] local.INFO: Processing buffer {"connection_id":186037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:12] local.INFO: IMEI packet received {"connection_id":186037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":186037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:21:13] local.INFO: TCP Data received {"connection_id":186037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:13] local.INFO: Processing buffer {"connection_id":186037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:13] local.INFO: IMEI packet received {"connection_id":186037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":186037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:21:17] local.INFO: TCP Data received {"connection_id":186037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:17] local.INFO: Processing buffer {"connection_id":186037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:21:17] local.INFO: IMEI packet received {"connection_id":186037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":186037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:21:17] local.INFO: TCP Data received {"connection_id":186037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b5a4c8012d4e5b8006841be8007700902e..."} 
[2026-09-18 14:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b5a4c8012d4e5b8006841be8007700902e..."} 
[2026-09-18 14:21:17] local.INFO: Processing buffer {"connection_id":186037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b5a4c8012d4e5b8006841be8007700902e..."} 
[2026-09-18 14:21:17] local.INFO: Packet analysis {"connection_id":186037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:21:17] local.INFO: Extracted packet for processing {"connection_id":186037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:21:17] local.INFO: GPS Element Parsed {"raw_longitude":760109952,"raw_latitude":109321192,"longitude_deg":76.0109952,"latitude_deg":10.9321192,"altitude":119,"angle":144,"satellites":46,"speed":59,"hex_longitude":"2d4e5b80","hex_latitude":"06841be8","is_valid_coordinates":true} 
[2026-09-18 14:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168681984001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405385891301818368,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5639421555130470400,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789721421000,"timestamp_ms":1789721421000,"timestamp_seconds":1789721421,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b5a4c8"} 
[2026-09-18 14:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:21:17] 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-09-18 14:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168681984001,"66":27539,"184":206,"80":60928,"24":59,"16":405385891301818368,"45":5639421555130470400},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-18 14:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168681984001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:21:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-18 14:21:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405385891301818368,"km_value":405385891301818.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5639421555130470400,"description":"Unknown IO ID 45"} 
[2026-09-18 14:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168681984001,"power":27539,"unknown_184":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5639421555130470400}} 
[2026-09-18 14:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":186037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:21:17] local.INFO: GPS data processed {"connection_id":186037,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:21:17] local.INFO: Acknowledgment sent {"connection_id":186037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:21:21] local.INFO: TCP Data received {"connection_id":186033,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:21:21] local.INFO: Processing buffer {"connection_id":186033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:21:21] local.INFO: IMEI packet received {"connection_id":186033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":186033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:21:30] local.INFO: TCP Data received {"connection_id":188809,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:21:30] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:21:30] local.INFO: IMEI packet received {"connection_id":188809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":188809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:21:35] local.INFO: TCP Data received {"connection_id":188809,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:21:35] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:21:35] local.INFO: IMEI packet received {"connection_id":188809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":188809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:21:36] local.INFO: TCP Data received {"connection_id":188809,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b4c238012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b4c238012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:21:36] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b4c238012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:21:36] local.INFO: Packet analysis {"connection_id":188809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:21:36] local.INFO: Extracted packet for processing {"connection_id":188809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b4"} 
[2026-09-18 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168663552001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789721363000,"timestamp_ms":1789721363000,"timestamp_seconds":1789721363,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b4c238"} 
[2026-09-18 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014820864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249052187273227160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3005747201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,218,160,30,45,192,107,41,42,10,66,204,43,1,240,14,179,32,4,113,205,214,243,152,239,49,2,75,7,231,83,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601238068461568,"timestamp_seconds":2954601238068461.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168663552001,"66":12580,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168663552001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:21:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168663552001,"power":12580,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":188809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:21:37] local.INFO: GPS data processed {"connection_id":188809,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:21:37] local.INFO: Acknowledgment sent {"connection_id":188809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:21:41] local.INFO: TCP Data received {"connection_id":188809,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b51440012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b51440012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:21:41] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b51440012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:21:41] local.INFO: Packet analysis {"connection_id":188809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:21:41] local.INFO: Extracted packet for processing {"connection_id":188809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168668928001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789721384000,"timestamp_ms":1789721384000,"timestamp_seconds":1789721384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b51440"} 
[2026-09-18 14:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 14:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168668928001,"66":12558,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168668928001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:21:41] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168668928001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:21:41] local.INFO: GPS data processed {"connection_id":188809,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:21:41] local.INFO: Acknowledgment sent {"connection_id":188809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:21:49] local.INFO: TCP Data received {"connection_id":186037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b5bc38012d4e7040068400000074008f2e..."} 
[2026-09-18 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b5bc38012d4e7040068400000074008f2e..."} 
[2026-09-18 14:21:49] local.INFO: Processing buffer {"connection_id":186037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b5bc38012d4e7040068400000074008f2e..."} 
[2026-09-18 14:21:49] local.INFO: Packet analysis {"connection_id":186037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:21:49] local.INFO: Extracted packet for processing {"connection_id":186037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":760115264,"raw_latitude":109314048,"longitude_deg":76.0115264,"latitude_deg":10.9314048,"altitude":116,"angle":143,"satellites":46,"speed":58,"hex_longitude":"2d4e7040","hex_latitude":"06840000","is_valid_coordinates":true} 
[2026-09-18 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168683776001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405386320798547968,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5646247323313629184,"note":"Value kept but may cause issues"} 
[2026-09-18 14:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789721427000,"timestamp_ms":1789721427000,"timestamp_seconds":1789721427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b5bc38"} 
[2026-09-18 14:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 14:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168683776001,"66":27767,"184":206,"80":60928,"24":58,"16":405386320798547968,"45":5646247323313629184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-18 14:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168683776001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:21:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-18 14:21:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405386320798547968,"km_value":405386320798547.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5646247323313629184,"description":"Unknown IO ID 45"} 
[2026-09-18 14:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168683776001,"power":27767,"unknown_184":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5646247323313629184}} 
[2026-09-18 14:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":186037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:21:49] local.INFO: GPS data processed {"connection_id":186037,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:21:49] local.INFO: Acknowledgment sent {"connection_id":186037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:22:07] local.INFO: TCP Data received {"connection_id":186036,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:07] local.INFO: Processing buffer {"connection_id":186036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:07] local.INFO: IMEI packet received {"connection_id":186036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":186036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:12] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:12] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:12] local.INFO: IMEI packet received {"connection_id":187470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":187470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:22:15] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:15] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:15] local.INFO: IMEI packet received {"connection_id":187470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":187470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:17] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:17] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:22:17] local.INFO: IMEI packet received {"connection_id":187470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":187470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:19] local.INFO: TCP Data received {"connection_id":186184,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:19] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:19] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:22:20] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b5cfc0012d4e84000683ea48007300822f..."} 
[2026-09-18 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b5cfc0012d4e84000683ea48007300822f..."} 
[2026-09-18 14:22:20] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b5cfc0012d4e84000683ea48007300822f..."} 
[2026-09-18 14:22:20] local.INFO: Packet analysis {"connection_id":187470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:22:20] local.INFO: Extracted packet for processing {"connection_id":187470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:22:20] local.INFO: GPS Element Parsed {"raw_longitude":760120320,"raw_latitude":109308488,"longitude_deg":76.012032,"latitude_deg":10.9308488,"altitude":115,"angle":130,"satellites":47,"speed":59,"hex_longitude":"2d4e8400","hex_latitude":"0683ea48","is_valid_coordinates":true} 
[2026-09-18 14:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168685312001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405386681575800832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5652087929078546432,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789721432000,"timestamp_ms":1789721432000,"timestamp_seconds":1789721432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b5cfc0"} 
[2026-09-18 14:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:22:20] 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-09-18 14:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168685312001,"66":27908,"184":206,"80":60928,"24":59,"16":405386681575800832,"45":5652087929078546432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-18 14:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168685312001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:22:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-18 14:22:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405386681575800832,"km_value":405386681575800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5652087929078546432,"description":"Unknown IO ID 45"} 
[2026-09-18 14:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168685312001,"power":27908,"unknown_184":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5652087929078546432}} 
[2026-09-18 14:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":187470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:22:20] local.INFO: GPS data processed {"connection_id":187470,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:22:20] local.INFO: Acknowledgment sent {"connection_id":187470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:22:24] local.INFO: TCP Data received {"connection_id":186184,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:24] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:24] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:25] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:22:25] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:22:25] local.INFO: IMEI packet received {"connection_id":186038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":186038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:22:26] local.INFO: TCP Data received {"connection_id":186184,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b73720012d7e1d0005d54e880006016227..."} 
[2026-09-18 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b73720012d7e1d0005d54e880006016227..."} 
[2026-09-18 14:22:26] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b73720012d7e1d0005d54e880006016227..."} 
[2026-09-18 14:22:26] local.INFO: Packet analysis {"connection_id":186184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:22:26] local.INFO: Extracted packet for processing {"connection_id":186184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763239680,"raw_latitude":97865352,"longitude_deg":76.323968,"latitude_deg":9.7865352,"altitude":6,"angle":354,"satellites":39,"speed":41,"hex_longitude":"2d7e1d00","hex_latitude":"05d54e88","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168707840001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134642508855508992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598108028928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789721524000,"timestamp_ms":1789721524000,"timestamp_seconds":1789721524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b73720"} 
[2026-09-18 14:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:22: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-09-18 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 14:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168707840001,"66":13526,"163":206,"19":45824,"24":41,"16":134642508855508992,"45":9087982598108028928},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-09-18 14:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168707840001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:22:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 14:22:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134642508855508992,"km_value":134642508855508.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598108028928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168707840001,"power":13526,"unknown_163":206,"unknown_19":45824,"ignition":41,"odometer":null,"unknown_45":9087982598108028928}} 
[2026-09-18 14:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":186184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:22:26] local.INFO: GPS data processed {"connection_id":186184,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:22:26] local.INFO: Acknowledgment sent {"connection_id":186184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:22:28] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:22:28] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:22:28] local.INFO: IMEI packet received {"connection_id":186038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":186038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:29] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b56648012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b56648012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:22:29] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b56648012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:22:29] local.INFO: Packet analysis {"connection_id":186038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:22:29] local.INFO: Extracted packet for processing {"connection_id":186038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168674304001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789721405000,"timestamp_ms":1789721405000,"timestamp_seconds":1789721405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b56648"} 
[2026-09-18 14:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:22: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-09-18 14:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014862864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249052187273227160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3016499201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,218,160,194,45,192,107,41,43,10,66,112,44,30,1,240,238,179,32,4,113,205,243,152,239,49,2,75,7,231,83,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:22:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601233773494272,"timestamp_seconds":2954601233773494.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168674304001,"66":12580,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168674304001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:22:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168674304001,"power":12580,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":186038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:22:29] local.INFO: GPS data processed {"connection_id":186038,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:22:29] local.INFO: Acknowledgment sent {"connection_id":186038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:22:30] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b5b850012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b5b850012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:22:30] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b5b850012d16f3c007206b98002900da2b..."} 
[2026-09-18 14:22:30] local.INFO: Packet analysis {"connection_id":186038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:22:30] local.INFO: Extracted packet for processing {"connection_id":186038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b5"} 
[2026-09-18 14:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168679680001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789721426000,"timestamp_ms":1789721426000,"timestamp_seconds":1789721426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b5b850"} 
[2026-09-18 14:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-18 14:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168679680001,"66":12548,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168679680001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:22:30] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168679680001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":186038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:22:31] local.INFO: GPS data processed {"connection_id":186038,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:22:31] local.INFO: Acknowledgment sent {"connection_id":186038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:22:49] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:49] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:49] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:22:49] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:49] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:49] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:51] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:51] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:51] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:51] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b70c28012d50208006839d98009300622e..."} 
[2026-09-18 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b70c28012d50208006839d98009300622e..."} 
[2026-09-18 14:22:51] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b70c28012d50208006839d98009300622e..."} 
[2026-09-18 14:22:51] local.INFO: Packet analysis {"connection_id":187470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:22:51] local.INFO: Extracted packet for processing {"connection_id":187470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:22:51] local.INFO: GPS Element Parsed {"raw_longitude":760225920,"raw_latitude":109288856,"longitude_deg":76.022592,"latitude_deg":10.9288856,"altitude":147,"angle":98,"satellites":46,"speed":49,"hex_longitude":"2d502080","hex_latitude":"06839d98","is_valid_coordinates":true} 
[2026-09-18 14:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168705280001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405391826946621440,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762989069896478720,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789721513000,"timestamp_ms":1789721513000,"timestamp_seconds":1789721513,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b70c28"} 
[2026-09-18 14:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:22:51] 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-09-18 14:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168705280001,"66":27767,"173":206,"80":60928,"24":49,"16":405391826946621440,"45":5762989069896478720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-18 14:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168705280001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:22:51] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-18 14:22:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405391826946621440,"km_value":405391826946621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762989069896478720,"description":"Unknown IO ID 45"} 
[2026-09-18 14:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168705280001,"power":27767,"unknown_173":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5762989069896478720}} 
[2026-09-18 14:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":187470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:22:51] local.INFO: GPS data processed {"connection_id":187470,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:22:51] local.INFO: Acknowledgment sent {"connection_id":187470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:22:55] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:55] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:22:55] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:22:56] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b7df18012d7dccc005d572300009014427..."} 
[2026-09-18 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b7df18012d7dccc005d572300009014427..."} 
[2026-09-18 14:22:56] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b7df18012d7dccc005d572300009014427..."} 
[2026-09-18 14:22:56] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:22:56] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763219136,"raw_latitude":97874480,"longitude_deg":76.3219136,"latitude_deg":9.787448,"altitude":9,"angle":324,"satellites":39,"speed":13,"hex_longitude":"2d7dccc0","hex_latitude":"05d57230","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168720896001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134643771575894016,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065042387510845440,"note":"Value kept but may cause issues"} 
[2026-09-18 14:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789721567000,"timestamp_ms":1789721567000,"timestamp_seconds":1789721567,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b7df18"} 
[2026-09-18 14:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 14:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168720896001,"66":13646,"77":206,"19":45824,"24":13,"16":134643771575894016,"45":9065042387510845440},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,19,24,16,45]} 
[2026-09-18 14:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168720896001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:22:56] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 14:22:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134643771575894016,"km_value":134643771575894.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065042387510845440,"description":"Unknown IO ID 45"} 
[2026-09-18 14:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168720896001,"power":13646,"unknown_77":206,"unknown_19":45824,"ignition":13,"odometer":null,"unknown_45":9065042387510845440}} 
[2026-09-18 14:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:22:56] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:22:56] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:23:05] local.INFO: TCP Data received {"connection_id":186038,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b60a58012d16f3c007206b98002900da29..."} 
[2026-09-18 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b60a58012d16f3c007206b98002900da29..."} 
[2026-09-18 14:23:05] local.INFO: Processing buffer {"connection_id":186038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b60a58012d16f3c007206b98002900da29..."} 
[2026-09-18 14:23:05] local.INFO: Packet analysis {"connection_id":186038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b6"} 
[2026-09-18 14:23:05] local.INFO: Extracted packet for processing {"connection_id":186038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b6"} 
[2026-09-18 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168685056001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789721447000,"timestamp_ms":1789721447000,"timestamp_seconds":1789721447,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b60a58"} 
[2026-09-18 14:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014904864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3027251201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030119,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,218,160,102,45,192,107,41,42,10,66,20,43,194,1,240,36,179,32,4,113,205,30,243,152,239,48,2,75,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:23:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601233773494272,"timestamp_seconds":2954601233773494.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168685056001,"66":12558,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168685056001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:23:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168685056001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":186038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:23:05] local.INFO: GPS data processed {"connection_id":186038,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:23:05] local.INFO: Acknowledgment sent {"connection_id":186038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:23:17] local.INFO: TCP Data received {"connection_id":187471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:17] local.INFO: Processing buffer {"connection_id":187471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:17] local.INFO: IMEI packet received {"connection_id":187471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":187471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:23:17] local.INFO: TCP Data received {"connection_id":187471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:17] local.INFO: Processing buffer {"connection_id":187471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:17] local.INFO: IMEI packet received {"connection_id":187471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":187471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:23:22] local.INFO: TCP Data received {"connection_id":187471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:22] local.INFO: Processing buffer {"connection_id":187471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:23:22] local.INFO: IMEI packet received {"connection_id":187471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":187471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:23:23] local.INFO: TCP Data received {"connection_id":187471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b72b68012d50478006839800009500622f..."} 
[2026-09-18 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b72b68012d50478006839800009500622f..."} 
[2026-09-18 14:23:23] local.INFO: Processing buffer {"connection_id":187471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b72b68012d50478006839800009500622f..."} 
[2026-09-18 14:23:23] local.INFO: Packet analysis {"connection_id":187471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:23:23] local.INFO: Extracted packet for processing {"connection_id":187471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":760235904,"raw_latitude":109287424,"longitude_deg":76.0235904,"latitude_deg":10.9287424,"altitude":149,"angle":98,"satellites":47,"speed":51,"hex_longitude":"2d504780","hex_latitude":"06839800","is_valid_coordinates":true} 
[2026-09-18 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168707328001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405392307982958592,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773755487755278336,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789721521000,"timestamp_ms":1789721521000,"timestamp_seconds":1789721521,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b72b68"} 
[2026-09-18 14:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168707328001,"66":27767,"173":206,"80":60928,"24":51,"16":405392307982958592,"45":5773755487755278336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-18 14:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168707328001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:23:23] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-18 14:23:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405392307982958592,"km_value":405392307982958.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773755487755278336,"description":"Unknown IO ID 45"} 
[2026-09-18 14:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168707328001,"power":27767,"unknown_173":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5773755487755278336}} 
[2026-09-18 14:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":187471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:23:23] local.INFO: GPS data processed {"connection_id":187471,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:23:23] local.INFO: Acknowledgment sent {"connection_id":187471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:23:25] local.INFO: TCP Data received {"connection_id":186186,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:23:25] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:23:25] local.INFO: IMEI packet received {"connection_id":186186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":186186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:23:28] local.INFO: TCP Data received {"connection_id":186039,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b84c78012d7d95c005d57720000d010527..."} 
[2026-09-18 14:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b84c78012d7d95c005d57720000d010527..."} 
[2026-09-18 14:23:28] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b84c78012d7d95c005d57720000d010527..."} 
[2026-09-18 14:23:28] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:23:28] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763205056,"raw_latitude":97875744,"longitude_deg":76.3205056,"latitude_deg":9.7875744,"altitude":13,"angle":261,"satellites":39,"speed":30,"hex_longitude":"2d7d95c0","hex_latitude":"05d57720","is_valid_coordinates":true} 
[2026-09-18 14:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168727040001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134644548964974592,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053079701001302016,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789721595000,"timestamp_ms":1789721595000,"timestamp_seconds":1789721595,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b84c78"} 
[2026-09-18 14:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 14:23: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-09-18 14:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168727040001,"66":13472,"77":206,"19":45824,"24":30,"16":134644548964974592,"45":9053079701001302016},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,19,24,16,45]} 
[2026-09-18 14:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168727040001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:23:28] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 14:23:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134644548964974592,"km_value":134644548964974.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053079701001302016,"description":"Unknown IO ID 45"} 
[2026-09-18 14:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168727040001,"power":13472,"unknown_77":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":9053079701001302016}} 
[2026-09-18 14:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:23:28] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:23:28] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:23:30] local.INFO: TCP Data received {"connection_id":186186,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:23:30] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:23:30] local.INFO: IMEI packet received {"connection_id":186186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":186186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:23:31] local.INFO: TCP Data received {"connection_id":186186,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b65c60012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b65c60012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:23:31] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b65c60012d16f3c007206b98002900da2a..."} 
[2026-09-18 14:23:31] local.INFO: Packet analysis {"connection_id":186186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b6"} 
[2026-09-18 14:23:31] local.INFO: Extracted packet for processing {"connection_id":186186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b6"} 
[2026-09-18 14:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168690432001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789721468000,"timestamp_ms":1789721468000,"timestamp_seconds":1789721468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b65c60"} 
[2026-09-18 14:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:23: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-09-18 14:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3014925864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249052187273227160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3032627201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668180992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,122,28,24,241,158,16,218,160,184,45,192,107,41,43,10,66,102,42,20,1,240,14,179,32,4,113,205,112,243,152,44,239,49,2,75,7,231,83,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:23:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954601225183559680,"timestamp_seconds":2954601225183559.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168690432001,"66":12526,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168690432001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168690432001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":186186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:23:31] local.INFO: GPS data processed {"connection_id":186186,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:23:31] local.INFO: Acknowledgment sent {"connection_id":186186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:23:44] local.INFO: TCP Data received {"connection_id":187472,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:23:44] local.INFO: Processing buffer {"connection_id":187472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:23:44] local.INFO: IMEI packet received {"connection_id":187472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":187472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:23:49] local.INFO: TCP Data received {"connection_id":187472,"ip":"117.224.81.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:23:49] local.INFO: Processing buffer {"connection_id":187472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:23:49] local.INFO: IMEI packet received {"connection_id":187472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":187472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:23:51] local.INFO: TCP Data received {"connection_id":187472,"ip":"117.224.81.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b86bb8012d7d888005d575c0000b011127..."} 
[2026-09-18 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b86bb8012d7d888005d575c0000b011127..."} 
[2026-09-18 14:23:51] local.INFO: Processing buffer {"connection_id":187472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b86bb8012d7d888005d575c0000b011127..."} 
[2026-09-18 14:23:51] local.INFO: Packet analysis {"connection_id":187472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:23:51] local.INFO: Extracted packet for processing {"connection_id":187472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":763201664,"raw_latitude":97875392,"longitude_deg":76.3201664,"latitude_deg":9.7875392,"altitude":11,"angle":273,"satellites":39,"speed":7,"hex_longitude":"2d7d8880","hex_latitude":"05d575c0","is_valid_coordinates":true} 
[2026-09-18 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168728320001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134644712173731840,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049350157559603200,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789721603000,"timestamp_ms":1789721603000,"timestamp_seconds":1789721603,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b86bb8"} 
[2026-09-18 14:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 14:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.81.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168728320001,"66":12885,"77":206,"19":45824,"24":7,"16":134644712173731840,"45":9049350157559603200},"client_ip":"117.224.81.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,19,24,16,45]} 
[2026-09-18 14:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168728320001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:23:51] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 14:23:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134644712173731840,"km_value":134644712173731.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049350157559603200,"description":"Unknown IO ID 45"} 
[2026-09-18 14:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168728320001,"power":12885,"unknown_77":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":9049350157559603200}} 
[2026-09-18 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":187472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:23:51] local.INFO: GPS data processed {"connection_id":187472,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:23:51] local.INFO: Acknowledgment sent {"connection_id":187472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:23:54] local.INFO: TCP Data received {"connection_id":187471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b746c0012d506b40068392b0009600622e..."} 
[2026-09-18 14:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b746c0012d506b40068392b0009600622e..."} 
[2026-09-18 14:23:54] local.INFO: Processing buffer {"connection_id":187471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b746c0012d506b40068392b0009600622e..."} 
[2026-09-18 14:23:54] local.INFO: Packet analysis {"connection_id":187471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:23:54] local.INFO: Extracted packet for processing {"connection_id":187471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:23:54] local.INFO: GPS Element Parsed {"raw_longitude":760245056,"raw_latitude":109286064,"longitude_deg":76.0245056,"latitude_deg":10.9286064,"altitude":150,"angle":98,"satellites":46,"speed":52,"hex_longitude":"2d506b40","hex_latitude":"068392b0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168709376001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405392746069622784,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5784733011846627328,"note":"Value kept but may cause issues"} 
[2026-09-18 14:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789721528000,"timestamp_ms":1789721528000,"timestamp_seconds":1789721528,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b746c0"} 
[2026-09-18 14:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168709376001,"66":27865,"173":206,"80":60928,"24":52,"16":405392746069622784,"45":5784733011846627328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-18 14:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168709376001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:23:54] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-18 14:23:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405392746069622784,"km_value":405392746069622.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5784733011846627328,"description":"Unknown IO ID 45"} 
[2026-09-18 14:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168709376001,"power":27865,"unknown_173":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5784733011846627328}} 
[2026-09-18 14:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":187471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:23:54] local.INFO: GPS data processed {"connection_id":187471,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:23:54] local.INFO: Acknowledgment sent {"connection_id":187471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:24:03] local.INFO: TCP Data received {"connection_id":186186,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b6ae68012d16f3c007206b98002900da29..."} 
[2026-09-18 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b6ae68012d16f3c007206b98002900da29..."} 
[2026-09-18 14:24:03] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b6ae68012d16f3c007206b98002900da29..."} 
[2026-09-18 14:24:03] local.INFO: Packet analysis {"connection_id":186186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b6"} 
[2026-09-18 14:24:03] local.INFO: Extracted packet for processing {"connection_id":186186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b6"} 
[2026-09-18 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756478912,"raw_latitude":119565208,"longitude_deg":75.6478912,"latitude_deg":11.9565208,"altitude":41,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d16f3c0","hex_latitude":"07206b98","is_valid_coordinates":true} 
[2026-09-18 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168695808001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351021162790912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653876625016330240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789721489000,"timestamp_ms":1789721489000,"timestamp_seconds":1789721489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b6ae68"} 
[2026-09-18 14:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":238,"data_length":795,"current_offset":136} 
[2026-09-18 14:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168695808001,"66":12558,"122":206,"28":31744,"24":0,"16":21351021162790912,"45":1653876625016330240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168695808001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:24:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351021162790912,"km_value":21351021162790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653876625016330240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168695808001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653876625016330240}} 
[2026-09-18 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":186186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:24:03] local.INFO: GPS data processed {"connection_id":186186,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:24:03] local.INFO: Acknowledgment sent {"connection_id":186186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:24:22] local.INFO: TCP Data received {"connection_id":187473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:24:22] local.INFO: Processing buffer {"connection_id":187473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:24:22] local.INFO: IMEI packet received {"connection_id":187473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":187473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:24:25] local.INFO: TCP Data received {"connection_id":186040,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:24:25] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:24:25] local.INFO: IMEI packet received {"connection_id":186040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":186040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:24:25] local.INFO: TCP Data received {"connection_id":187473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:24:25] local.INFO: Processing buffer {"connection_id":187473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:24:25] local.INFO: IMEI packet received {"connection_id":187473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":187473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:24:26] local.INFO: TCP Data received {"connection_id":187473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b76218012d50908006838d20009600632e..."} 
[2026-09-18 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b76218012d50908006838d20009600632e..."} 
[2026-09-18 14:24:26] local.INFO: Processing buffer {"connection_id":187473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b76218012d50908006838d20009600632e..."} 
[2026-09-18 14:24:26] local.INFO: Packet analysis {"connection_id":187473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:24:26] local.INFO: Extracted packet for processing {"connection_id":187473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b7"} 
[2026-09-18 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":760254592,"raw_latitude":109284640,"longitude_deg":76.0254592,"latitude_deg":10.928464,"altitude":150,"angle":99,"satellites":46,"speed":55,"hex_longitude":"2d509080","hex_latitude":"06838d20","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168711168001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405393205631123456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5794795742263685120,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789721535000,"timestamp_ms":1789721535000,"timestamp_seconds":1789721535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b76218"} 
[2026-09-18 14:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:24:26] 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-09-18 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:24:26] 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-09-18 14: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-09-18 14:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168711168001,"66":27789,"173":206,"80":60928,"24":55,"16":405393205631123456,"45":5794795742263685120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-18 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168711168001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:24:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-18 14:24:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405393205631123456,"km_value":405393205631123.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5794795742263685120,"description":"Unknown IO ID 45"} 
[2026-09-18 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168711168001,"power":27789,"unknown_173":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5794795742263685120}} 
[2026-09-18 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":187473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:24:26] local.INFO: GPS data processed {"connection_id":187473,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:24:26] local.INFO: Acknowledgment sent {"connection_id":187473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:24:30] local.INFO: TCP Data received {"connection_id":186040,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:24:30] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:24:30] local.INFO: IMEI packet received {"connection_id":186040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":186040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:24:32] local.INFO: TCP Data received {"connection_id":186040,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b84c78012d16f30007206ff00029002b2b..."} 
[2026-09-18 14:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b84c78012d16f30007206ff00029002b2b..."} 
[2026-09-18 14:24:32] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b84c78012d16f30007206ff00029002b2b..."} 
[2026-09-18 14:24:32] local.INFO: Packet analysis {"connection_id":186040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:24:32] local.INFO: Extracted packet for processing {"connection_id":186040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756478720,"raw_latitude":119566320,"longitude_deg":75.647872,"latitude_deg":11.956632,"altitude":41,"angle":43,"satellites":43,"speed":14,"hex_longitude":"2d16f300","hex_latitude":"07206ff0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168727808001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351102767169536,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653243306318903296,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789721595000,"timestamp_ms":1789721595000,"timestamp_seconds":1789721595,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b84c78"} 
[2026-09-18 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-09-18 14:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867805146,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3015177864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3090227201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638057839126394,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3221692523,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197868007,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3668312064,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-882697691139145687,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-720349546311266788,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 14:24:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,218,160,64,45,109,41,43,10,66,60,108,42,53,192,1,240,179,32,4,113,205,242,128,239,55,2,75,7,22,54,124],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:24:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954393426076499968,"timestamp_seconds":2954393426076500.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 14:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168727808001,"66":14157,"122":206,"28":31744,"24":14,"16":21351102767169536,"45":1653243306318903296},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168727808001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:24:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351102767169536,"km_value":21351102767169.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653243306318903296,"description":"Unknown IO ID 45"} 
[2026-09-18 14:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168727808001,"power":14157,"unknown_122":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1653243306318903296}} 
[2026-09-18 14:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":186040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:24:32] local.INFO: GPS data processed {"connection_id":186040,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:24:32] local.INFO: Acknowledgment sent {"connection_id":186040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:25:03] local.INFO: TCP Data received {"connection_id":186040,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b88710012d170bc0072089d0002a002c2c..."} 
[2026-09-18 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b88710012d170bc0072089d0002a002c2c..."} 
[2026-09-18 14:25:03] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b88710012d170bc0072089d0002a002c2c..."} 
[2026-09-18 14:25:03] local.INFO: Packet analysis {"connection_id":186040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:25:03] local.INFO: Extracted packet for processing {"connection_id":186040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756485056,"raw_latitude":119572944,"longitude_deg":75.6485056,"latitude_deg":11.9572944,"altitude":42,"angle":44,"satellites":44,"speed":32,"hex_longitude":"2d170bc0","hex_latitude":"072089d0","is_valid_coordinates":true} 
[2026-09-18 14:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168728320001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351545148801024,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653665518784081920,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789721610000,"timestamp_ms":1789721610000,"timestamp_seconds":1789721610,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b88710"} 
[2026-09-18 14:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 14:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168728320001,"66":14265,"122":206,"28":31744,"24":32,"16":21351545148801024,"45":1653665518784081920},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168728320001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:25:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351545148801024,"km_value":21351545148801.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653665518784081920,"description":"Unknown IO ID 45"} 
[2026-09-18 14:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168728320001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1653665518784081920}} 
[2026-09-18 14:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":186040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:25:03] local.INFO: GPS data processed {"connection_id":186040,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:25:03] local.INFO: Acknowledgment sent {"connection_id":186040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:25:16] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:16] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:16] local.INFO: IMEI packet received {"connection_id":187474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":187474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:25:17] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:17] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:17] local.INFO: IMEI packet received {"connection_id":187474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":187474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:25:22] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:22] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:25:22] local.INFO: IMEI packet received {"connection_id":187474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":187474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:25:22] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b90fc8012d51ec4006829c68008800792f..."} 
[2026-09-18 14:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b90fc8012d51ec4006829c68008800792f..."} 
[2026-09-18 14:25:22] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b90fc8012d51ec4006829c68008800792f..."} 
[2026-09-18 14:25:22] local.INFO: Packet analysis {"connection_id":187474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:25:22] local.INFO: Extracted packet for processing {"connection_id":187474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:25:22] local.INFO: GPS Element Parsed {"raw_longitude":760343616,"raw_latitude":109223016,"longitude_deg":76.0343616,"latitude_deg":10.9223016,"altitude":136,"angle":121,"satellites":47,"speed":60,"hex_longitude":"2d51ec40","hex_latitude":"06829c68","is_valid_coordinates":true} 
[2026-09-18 14:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168739584001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405398544275472384,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5894789727725230080,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789721645000,"timestamp_ms":1789721645000,"timestamp_seconds":1789721645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b90fc8"} 
[2026-09-18 14:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 14:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168739584001,"66":27767,"165":206,"80":60928,"24":60,"16":405398544275472384,"45":5894789727725230080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-18 14:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168739584001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:25:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 14:25:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405398544275472384,"km_value":405398544275472.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5894789727725230080,"description":"Unknown IO ID 45"} 
[2026-09-18 14:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168739584001,"power":27767,"unknown_165":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":5894789727725230080}} 
[2026-09-18 14:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":187474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:25:22] local.INFO: GPS data processed {"connection_id":187474,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:25:22] local.INFO: Acknowledgment sent {"connection_id":187474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:25:25] local.INFO: TCP Data received {"connection_id":186187,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:25:25] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:25:25] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:25:29] local.INFO: TCP Data received {"connection_id":188810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:25:29] local.INFO: Processing buffer {"connection_id":188810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:25:29] local.INFO: IMEI packet received {"connection_id":188810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":188810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:25:30] local.INFO: TCP Data received {"connection_id":186187,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:25:30] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:25:30] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:25:31] local.INFO: TCP Data received {"connection_id":186187,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b8b208012d1725800720a368002b00302a..."} 
[2026-09-18 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b8b208012d1725800720a368002b00302a..."} 
[2026-09-18 14:25:31] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b8b208012d1725800720a368002b00302a..."} 
[2026-09-18 14:25:31] local.INFO: Packet analysis {"connection_id":186187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:25:31] local.INFO: Extracted packet for processing {"connection_id":186187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756491648,"raw_latitude":119579496,"longitude_deg":75.6491648,"latitude_deg":11.9579496,"altitude":43,"angle":48,"satellites":42,"speed":32,"hex_longitude":"2d172580","hex_latitude":"0720a368","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168732160001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351987530432512,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660632024459366400,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789721621000,"timestamp_ms":1789721621000,"timestamp_seconds":1789721621,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b8b208"} 
[2026-09-18 14:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:25: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-09-18 14:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 14:25: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-09-18 14: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-09-18 14:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168732160001,"66":14233,"122":206,"28":31744,"24":32,"16":21351987530432512,"45":1660632024459366400},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168732160001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351987530432512,"km_value":21351987530432.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660632024459366400,"description":"Unknown IO ID 45"} 
[2026-09-18 14:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168732160001,"power":14233,"unknown_122":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1660632024459366400}} 
[2026-09-18 14:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":186187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:25:31] local.INFO: GPS data processed {"connection_id":186187,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:25:31] local.INFO: Acknowledgment sent {"connection_id":186187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:25:57] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b92738012d520b0006828a98008500782f..."} 
[2026-09-18 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b92738012d520b0006828a98008500782f..."} 
[2026-09-18 14:25:57] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b92738012d520b0006828a98008500782f..."} 
[2026-09-18 14:25:57] local.INFO: Packet analysis {"connection_id":187474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:25:57] local.INFO: Extracted packet for processing {"connection_id":187474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":760351488,"raw_latitude":109218456,"longitude_deg":76.0351488,"latitude_deg":10.9218456,"altitude":133,"angle":120,"satellites":47,"speed":59,"hex_longitude":"2d520b00","hex_latitude":"06828a98","is_valid_coordinates":true} 
[2026-09-18 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168741120001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405398978067169280,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5903163608281147392,"note":"Value kept but may cause issues"} 
[2026-09-18 14:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789721651000,"timestamp_ms":1789721651000,"timestamp_seconds":1789721651,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b92738"} 
[2026-09-18 14:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:25:57] 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-09-18 14:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168741120001,"66":27843,"165":206,"80":60928,"24":59,"16":405398978067169280,"45":5903163608281147392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-18 14:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168741120001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:25:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 14:25:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405398978067169280,"km_value":405398978067169.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5903163608281147392,"description":"Unknown IO ID 45"} 
[2026-09-18 14:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168741120001,"power":27843,"unknown_165":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5903163608281147392}} 
[2026-09-18 14:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":187474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:25:57] local.INFO: GPS data processed {"connection_id":187474,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:25:57] local.INFO: Acknowledgment sent {"connection_id":187474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:25:59] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:25:59] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:25:59] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:26:00] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:00] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:00] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:02] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:02] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:02] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:02] local.INFO: TCP Data received {"connection_id":186187,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b8e0e8012d1741800720b9e8003000342a..."} 
[2026-09-18 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b8e0e8012d1741800720b9e8003000342a..."} 
[2026-09-18 14:26:02] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b8e0e8012d1741800720b9e8003000342a..."} 
[2026-09-18 14:26:02] local.INFO: Packet analysis {"connection_id":186187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:26:02] local.INFO: Extracted packet for processing {"connection_id":186187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b8"} 
[2026-09-18 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756498816,"raw_latitude":119585256,"longitude_deg":75.6498816,"latitude_deg":11.9585256,"altitude":48,"angle":52,"satellites":42,"speed":30,"hex_longitude":"2d174180","hex_latitude":"0720b9e8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168734976001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352429912064000,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1667880005111343104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789721633000,"timestamp_ms":1789721633000,"timestamp_seconds":1789721633,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b8e0e8"} 
[2026-09-18 14:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 14:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168734976001,"66":14265,"122":206,"28":31744,"24":30,"16":21352429912064000,"45":1667880005111343104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168734976001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352429912064000,"km_value":21352429912064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1667880005111343104,"description":"Unknown IO ID 45"} 
[2026-09-18 14:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168734976001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1667880005111343104}} 
[2026-09-18 14:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":186187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:26:02] local.INFO: GPS data processed {"connection_id":186187,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:26:02] local.INFO: Acknowledgment sent {"connection_id":186187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:26:02] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b969a0012d7d270005d5c4d80006016326..."} 
[2026-09-18 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b969a0012d7d270005d5c4d80006016326..."} 
[2026-09-18 14:26:02] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b969a0012d7d270005d5c4d80006016326..."} 
[2026-09-18 14:26:02] local.INFO: Packet analysis {"connection_id":186041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:26:02] local.INFO: Extracted packet for processing {"connection_id":186041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97895640,"longitude_deg":76.3176704,"latitude_deg":9.789564,"altitude":6,"angle":355,"satellites":38,"speed":37,"hex_longitude":"2d7d2700","hex_latitude":"05d5c4d8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168744448001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134646790937903104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019724916263520256,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789721668000,"timestamp_ms":1789721668000,"timestamp_seconds":1789721668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b969a0"} 
[2026-09-18 14:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 14:26: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-09-18 14: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-09-18 14:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168744448001,"66":13689,"77":206,"19":45824,"24":37,"16":134646790937903104,"45":9019724916263520256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,19,24,16,45]} 
[2026-09-18 14:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168744448001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 14:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134646790937903104,"km_value":134646790937903.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019724916263520256,"description":"Unknown IO ID 45"} 
[2026-09-18 14:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168744448001,"power":13689,"unknown_77":206,"unknown_19":45824,"ignition":37,"odometer":null,"unknown_45":9019724916263520256}} 
[2026-09-18 14:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":186041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:26:02] local.INFO: GPS data processed {"connection_id":186041,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:26:02] local.INFO: Acknowledgment sent {"connection_id":186041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:26:10] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:10] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:10] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:26:12] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:12] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:12] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:17] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:17] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:26:17] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:18] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3b93ea8012d522980068279000083007a2f..."} 
[2026-09-18 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3b93ea8012d522980068279000083007a2f..."} 
[2026-09-18 14:26:18] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3b93ea8012d522980068279000083007a2f..."} 
[2026-09-18 14:26:18] local.INFO: Packet analysis {"connection_id":186042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:26:18] local.INFO: Extracted packet for processing {"connection_id":186042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3b9"} 
[2026-09-18 14:26:18] local.INFO: GPS Element Parsed {"raw_longitude":760359296,"raw_latitude":109213952,"longitude_deg":76.0359296,"latitude_deg":10.9213952,"altitude":131,"angle":122,"satellites":47,"speed":58,"hex_longitude":"2d522980","hex_latitude":"06827900","is_valid_coordinates":true} 
[2026-09-18 14:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168742656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405399407563898880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5911818963813832704,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789721657000,"timestamp_ms":1789721657000,"timestamp_seconds":1789721657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3b93ea8"} 
[2026-09-18 14:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:26:18] 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-09-18 14:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 14:26:18] 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-09-18 14:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168742656001,"66":27745,"165":206,"80":60928,"24":58,"16":405399407563898880,"45":5911818963813832704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-18 14:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168742656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:26:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 14:26:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405399407563898880,"km_value":405399407563898.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5911818963813832704,"description":"Unknown IO ID 45"} 
[2026-09-18 14:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168742656001,"power":27745,"unknown_165":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5911818963813832704}} 
[2026-09-18 14:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":186042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:26:18] local.INFO: GPS data processed {"connection_id":186042,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:26:18] local.INFO: Acknowledgment sent {"connection_id":186042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:26:25] local.INFO: TCP Data received {"connection_id":188811,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:25] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:25] local.INFO: IMEI packet received {"connection_id":188811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":188811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:26:27] local.INFO: TCP Data received {"connection_id":188811,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:27] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:27] local.INFO: IMEI packet received {"connection_id":188811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":188811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:28] local.INFO: TCP Data received {"connection_id":188811,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:28] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:28] local.INFO: IMEI packet received {"connection_id":188811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":188811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:30] local.INFO: TCP Data received {"connection_id":188811,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:30] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:26:30] local.INFO: IMEI packet received {"connection_id":188811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":188811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:30] local.INFO: TCP Data received {"connection_id":188811,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ba3c90012d17f740072183f00049013e2d..."} 
[2026-09-18 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ba3c90012d17f740072183f00049013e2d..."} 
[2026-09-18 14:26:30] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ba3c90012d17f740072183f00049013e2d..."} 
[2026-09-18 14:26:30] local.INFO: Packet analysis {"connection_id":188811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:26:30] local.INFO: Extracted packet for processing {"connection_id":188811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756545344,"raw_latitude":119636976,"longitude_deg":75.6545344,"latitude_deg":11.9636976,"altitude":73,"angle":318,"satellites":45,"speed":6,"hex_longitude":"2d17f740","hex_latitude":"072183f0","is_valid_coordinates":true} 
[2026-09-18 14:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168759808001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21355822936227840,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727130487723546624,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789721722000,"timestamp_ms":1789721722000,"timestamp_seconds":1789721722,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ba3c90"} 
[2026-09-18 14:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-18 14:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168759808001,"66":14265,"122":206,"28":31744,"24":6,"16":21355822936227840,"45":1727130487723546624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168759808001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:26:30] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21355822936227840,"km_value":21355822936227.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727130487723546624,"description":"Unknown IO ID 45"} 
[2026-09-18 14:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168759808001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1727130487723546624}} 
[2026-09-18 14:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":188811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:26:30] local.INFO: GPS data processed {"connection_id":188811,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:26:30] local.INFO: Acknowledgment sent {"connection_id":188811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:26:42] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:42] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:42] local.INFO: IMEI packet received {"connection_id":186043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":186043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:26:44] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:44] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:44] local.INFO: IMEI packet received {"connection_id":186043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":186043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:49] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:49] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:26:49] local.INFO: IMEI packet received {"connection_id":186043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":186043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:26:50] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bb1750012d7cdfc005d6b8400007014b27..."} 
[2026-09-18 14:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bb1750012d7cdfc005d6b8400007014b27..."} 
[2026-09-18 14:26:50] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bb1750012d7cdfc005d6b8400007014b27..."} 
[2026-09-18 14:26:50] local.INFO: Packet analysis {"connection_id":186043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:26:50] local.INFO: Extracted packet for processing {"connection_id":186043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:26:50] local.INFO: GPS Element Parsed {"raw_longitude":763158464,"raw_latitude":97957952,"longitude_deg":76.3158464,"latitude_deg":9.7957952,"altitude":7,"angle":331,"satellites":39,"speed":9,"hex_longitude":"2d7cdfc0","hex_latitude":"05d6b840","is_valid_coordinates":true} 
[2026-09-18 14:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168770560001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134649969213702144,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000514249119313920,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:50] 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-09-18 14:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789721778000,"timestamp_ms":1789721778000,"timestamp_seconds":1789721778,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bb1750"} 
[2026-09-18 14:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 14:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168770560001,"66":13341,"30":206,"85":15104,"24":9,"16":134649969213702144,"45":9000514249119313920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-18 14:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168770560001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:26:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 14:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134649969213702144,"km_value":134649969213702.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000514249119313920,"description":"Unknown IO ID 45"} 
[2026-09-18 14:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168770560001,"power":13341,"unknown_30":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9000514249119313920}} 
[2026-09-18 14:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":186043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:26:50] local.INFO: GPS data processed {"connection_id":186043,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:26:50] local.INFO: Acknowledgment sent {"connection_id":186043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:26:51] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3baadd8012d53bb8006811790007900852f..."} 
[2026-09-18 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3baadd8012d53bb8006811790007900852f..."} 
[2026-09-18 14:26:51] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3baadd8012d53bb8006811790007900852f..."} 
[2026-09-18 14:26:51] local.INFO: Packet analysis {"connection_id":186042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:26:51] local.INFO: Extracted packet for processing {"connection_id":186042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":760462208,"raw_latitude":109123472,"longitude_deg":76.0462208,"latitude_deg":10.9123472,"altitude":121,"angle":133,"satellites":47,"speed":59,"hex_longitude":"2d53bb80","hex_latitude":"06811790","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168766720001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405405996043730944,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6026168173079822336,"note":"Value kept but may cause issues"} 
[2026-09-18 14:26:51] 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-09-18 14:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789721751000,"timestamp_ms":1789721751000,"timestamp_seconds":1789721751,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3baadd8"} 
[2026-09-18 14:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 14:26:51] 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-09-18 14: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-09-18 14:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168766720001,"66":27745,"229":206,"80":60928,"24":59,"16":405405996043730944,"45":6026168173079822336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-09-18 14:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168766720001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:26:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-18 14:26:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405405996043730944,"km_value":405405996043730.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6026168173079822336,"description":"Unknown IO ID 45"} 
[2026-09-18 14:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168766720001,"power":27745,"unknown_229":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":6026168173079822336}} 
[2026-09-18 14:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":186042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:26:51] local.INFO: GPS data processed {"connection_id":186042,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:26:51] local.INFO: Acknowledgment sent {"connection_id":186042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:26:55] local.INFO: TCP Data received {"connection_id":186185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:26:55] local.INFO: Processing buffer {"connection_id":186185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:26:55] local.INFO: IMEI packet received {"connection_id":186185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":186185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:27:03] local.INFO: TCP Data received {"connection_id":188811,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3baf428012d17cdc0072198b8005101072b..."} 
[2026-09-18 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3baf428012d17cdc0072198b8005101072b..."} 
[2026-09-18 14:27:03] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3baf428012d17cdc0072198b8005101072b..."} 
[2026-09-18 14:27:03] local.INFO: Packet analysis {"connection_id":188811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:27:03] local.INFO: Extracted packet for processing {"connection_id":188811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756534720,"raw_latitude":119642296,"longitude_deg":75.653472,"latitude_deg":11.9642296,"altitude":81,"angle":263,"satellites":43,"speed":7,"hex_longitude":"2d17cdc0","hex_latitude":"072198b8","is_valid_coordinates":true} 
[2026-09-18 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168772096001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21356432821583872,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716152963633289216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789721769000,"timestamp_ms":1789721769000,"timestamp_seconds":1789721769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3baf428"} 
[2026-09-18 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168772096001,"66":14352,"122":206,"28":31744,"24":7,"16":21356432821583872,"45":1716152963633289216},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168772096001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:27:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21356432821583872,"km_value":21356432821583.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716152963633289216,"description":"Unknown IO ID 45"} 
[2026-09-18 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168772096001,"power":14352,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1716152963633289216}} 
[2026-09-18 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":188811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:27:03] local.INFO: GPS data processed {"connection_id":188811,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:27:03] local.INFO: Acknowledgment sent {"connection_id":188811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:27:11] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:11] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:11] local.INFO: IMEI packet received {"connection_id":186044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":186044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:27:12] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:12] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:12] local.INFO: IMEI packet received {"connection_id":186044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":186044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:27:17] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:17] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:27:17] local.INFO: IMEI packet received {"connection_id":186044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":186044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:27:18] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bac930012d53d8000680fc38007400852f..."} 
[2026-09-18 14:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bac930012d53d8000680fc38007400852f..."} 
[2026-09-18 14:27:18] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bac930012d53d8000680fc38007400852f..."} 
[2026-09-18 14:27:18] local.INFO: Packet analysis {"connection_id":186044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:27:18] local.INFO: Extracted packet for processing {"connection_id":186044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":760469504,"raw_latitude":109116472,"longitude_deg":76.0469504,"latitude_deg":10.9116472,"altitude":116,"angle":133,"satellites":47,"speed":57,"hex_longitude":"2d53d800","hex_latitude":"0680fc38","is_valid_coordinates":true} 
[2026-09-18 14:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168768256001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405406481375035392,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6033556891216875520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27: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-09-18 14:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789721758000,"timestamp_ms":1789721758000,"timestamp_seconds":1789721758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bac930"} 
[2026-09-18 14:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:27:18] 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-09-18 14:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168768256001,"66":27626,"229":206,"80":60928,"24":57,"16":405406481375035392,"45":6033556891216875520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-09-18 14:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168768256001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:27:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-18 14:27:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405406481375035392,"km_value":405406481375035.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6033556891216875520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168768256001,"power":27626,"unknown_229":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6033556891216875520}} 
[2026-09-18 14:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":186044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:27:18] local.INFO: GPS data processed {"connection_id":186044,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:27:18] local.INFO: Acknowledgment sent {"connection_id":186044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:27:21] local.INFO: TCP Data received {"connection_id":186043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bb1b38012d7cdf8005d6b9580007015b27..."} 
[2026-09-18 14:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bb1b38012d7cdf8005d6b9580007015b27..."} 
[2026-09-18 14:27:21] local.INFO: Processing buffer {"connection_id":186043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bb1b38012d7cdf8005d6b9580007015b27..."} 
[2026-09-18 14:27:21] local.INFO: Packet analysis {"connection_id":186043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:27:21] local.INFO: Extracted packet for processing {"connection_id":186043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763158400,"raw_latitude":97958232,"longitude_deg":76.31584,"latitude_deg":9.7958232,"altitude":7,"angle":347,"satellites":39,"speed":13,"hex_longitude":"2d7cdf80","hex_latitude":"05d6b958","is_valid_coordinates":true} 
[2026-09-18 14:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168775168001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134649982098604032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998121711819309056,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:21] 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-09-18 14:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789721779000,"timestamp_ms":1789721779000,"timestamp_seconds":1789721779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bb1b38"} 
[2026-09-18 14:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 14:27:21] 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-09-18 14:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168775168001,"66":13472,"30":206,"85":15104,"24":13,"16":134649982098604032,"45":8998121711819309056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-18 14:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168775168001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:27:21] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 14:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134649982098604032,"km_value":134649982098604.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998121711819309056,"description":"Unknown IO ID 45"} 
[2026-09-18 14:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168775168001,"power":13472,"unknown_30":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8998121711819309056}} 
[2026-09-18 14:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":186043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:27:21] local.INFO: GPS data processed {"connection_id":186043,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:27:21] local.INFO: Acknowledgment sent {"connection_id":186043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:27:25] local.INFO: TCP Data received {"connection_id":187475,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:25] local.INFO: Processing buffer {"connection_id":187475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:25] local.INFO: IMEI packet received {"connection_id":187475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":187475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:27:29] local.INFO: TCP Data received {"connection_id":187475,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:29] local.INFO: Processing buffer {"connection_id":187475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:29] local.INFO: IMEI packet received {"connection_id":187475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":187475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:27:30] local.INFO: TCP Data received {"connection_id":187475,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:30] local.INFO: Processing buffer {"connection_id":187475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:27:30] local.INFO: IMEI packet received {"connection_id":187475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":187475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:27:31] local.INFO: TCP Data received {"connection_id":187475,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bb0b98012d17c880072198f8005001152b..."} 
[2026-09-18 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bb0b98012d17c880072198f8005001152b..."} 
[2026-09-18 14:27:31] local.INFO: Processing buffer {"connection_id":187475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bb0b98012d17c880072198f8005001152b..."} 
[2026-09-18 14:27:31] local.INFO: Packet analysis {"connection_id":187475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:27:31] local.INFO: Extracted packet for processing {"connection_id":187475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119642360,"longitude_deg":75.6533376,"latitude_deg":11.964236,"altitude":80,"angle":277,"satellites":43,"speed":11,"hex_longitude":"2d17c880","hex_latitude":"072198f8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168772864001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21356497246093312,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715238169958987776,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789721775000,"timestamp_ms":1789721775000,"timestamp_seconds":1789721775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bb0b98"} 
[2026-09-18 14:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:27: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-09-18 14: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144576,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503925496086528,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3015350864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":22519502130383104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4840806692419534858,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3131699201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2442133585,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091669882,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050343,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3746627584,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750224199197069,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-2197748777480093617,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,122,28,24,241,158,16,223,160,232,45,152,82,44,10,66,185,192,147,181,1,240,187,179,33,4,113,205,7,166,225,239,54,2,75,80,206,104,23],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-18 14:27:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836954473314320384,"timestamp_seconds":5836954473314320.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168772864001,"66":14537,"122":206,"28":31744,"24":11,"16":21356497246093312,"45":1715238169958987776},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168772864001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:27:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21356497246093312,"km_value":21356497246093.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715238169958987776,"description":"Unknown IO ID 45"} 
[2026-09-18 14:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168772864001,"power":14537,"unknown_122":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1715238169958987776}} 
[2026-09-18 14:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":187475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:27:31] local.INFO: GPS data processed {"connection_id":187475,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:27:31] local.INFO: Acknowledgment sent {"connection_id":187475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:27:44] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:27:44] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:27:44] local.INFO: IMEI packet received {"connection_id":186188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":186188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:27:49] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bae488012d53f5800680e0d0006f00862f..."} 
[2026-09-18 14:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bae488012d53f5800680e0d0006f00862f..."} 
[2026-09-18 14:27:49] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bae488012d53f5800680e0d0006f00862f..."} 
[2026-09-18 14:27:49] local.INFO: Packet analysis {"connection_id":186044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:27:49] local.INFO: Extracted packet for processing {"connection_id":186044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ba"} 
[2026-09-18 14:27:49] local.INFO: GPS Element Parsed {"raw_longitude":760477056,"raw_latitude":109109456,"longitude_deg":76.0477056,"latitude_deg":10.9109456,"altitude":111,"angle":134,"satellites":47,"speed":57,"hex_longitude":"2d53f580","hex_latitude":"0680e0d0","is_valid_coordinates":true} 
[2026-09-18 14:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168770048001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405406975296274432,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041578928051337216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:49] 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-09-18 14:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789721765000,"timestamp_ms":1789721765000,"timestamp_seconds":1789721765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bae488"} 
[2026-09-18 14:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 14:27:49] 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-09-18 14:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168770048001,"66":27713,"229":206,"80":60928,"24":57,"16":405406975296274432,"45":6041578928051337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-09-18 14:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168770048001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:27:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-18 14:27:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405406975296274432,"km_value":405406975296274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041578928051337216,"description":"Unknown IO ID 45"} 
[2026-09-18 14:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168770048001,"power":27713,"unknown_229":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6041578928051337216}} 
[2026-09-18 14:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":186044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:27:49] local.INFO: GPS data processed {"connection_id":186044,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:27:49] local.INFO: Acknowledgment sent {"connection_id":186044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:27:50] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:27:50] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:27:50] local.INFO: IMEI packet received {"connection_id":186188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":186188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:27:50] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bb4e00012d7cd80005d6dc68000b015824..."} 
[2026-09-18 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bb4e00012d7cd80005d6dc68000b015824..."} 
[2026-09-18 14:27:50] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bb4e00012d7cd80005d6dc68000b015824..."} 
[2026-09-18 14:27:50] local.INFO: Packet analysis {"connection_id":186188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:27:50] local.INFO: Extracted packet for processing {"connection_id":186188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:27:50] local.INFO: GPS Element Parsed {"raw_longitude":763156480,"raw_latitude":97967208,"longitude_deg":76.315648,"latitude_deg":9.7967208,"altitude":11,"angle":344,"satellites":36,"speed":35,"hex_longitude":"2d7cd800","hex_latitude":"05d6dc68","is_valid_coordinates":true} 
[2026-09-18 14:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168775424001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134650428775202816,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998051343075203072,"note":"Value kept but may cause issues"} 
[2026-09-18 14:27:50] 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-09-18 14:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789721792000,"timestamp_ms":1789721792000,"timestamp_seconds":1789721792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bb4e00"} 
[2026-09-18 14:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 14:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:27: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-09-18 14:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168775424001,"66":13820,"30":206,"85":15104,"24":35,"16":134650428775202816,"45":8998051343075203072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-18 14:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168775424001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:27:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 14:27:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134650428775202816,"km_value":134650428775202.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998051343075203072,"description":"Unknown IO ID 45"} 
[2026-09-18 14:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168775424001,"power":13820,"unknown_30":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8998051343075203072}} 
[2026-09-18 14:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":186188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:27:51] local.INFO: GPS data processed {"connection_id":186188,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:27:51] local.INFO: Acknowledgment sent {"connection_id":186188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:03] local.INFO: TCP Data received {"connection_id":187475,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bb26f0012d17bd0007219b98004d012129..."} 
[2026-09-18 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bb26f0012d17bd0007219b98004d012129..."} 
[2026-09-18 14:28:03] local.INFO: Processing buffer {"connection_id":187475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bb26f0012d17bd0007219b98004d012129..."} 
[2026-09-18 14:28:03] local.INFO: Packet analysis {"connection_id":187475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:28:03] local.INFO: Extracted packet for processing {"connection_id":187475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756530432,"raw_latitude":119643032,"longitude_deg":75.6530432,"latitude_deg":11.9643032,"altitude":77,"angle":289,"satellites":41,"speed":19,"hex_longitude":"2d17bd00","hex_latitude":"07219b98","is_valid_coordinates":true} 
[2026-09-18 14:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168774400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21356638980014080,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426331273216,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789721782000,"timestamp_ms":1789721782000,"timestamp_seconds":1789721782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bb26f0"} 
[2026-09-18 14:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 14:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168774400001,"66":14407,"122":206,"28":31744,"24":19,"16":21356638980014080,"45":1713760426331273216},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168774400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21356638980014080,"km_value":21356638980014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426331273216,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168774400001,"power":14407,"unknown_122":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1713760426331273216}} 
[2026-09-18 14:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":187475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:03] local.INFO: GPS data processed {"connection_id":187475,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:03] local.INFO: Acknowledgment sent {"connection_id":187475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:12] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:12] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:12] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:28:15] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:15] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:15] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:17] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:17] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:28:17] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:19] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bbee28012d54e400067fc4d0003c00972d..."} 
[2026-09-18 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bbee28012d54e400067fc4d0003c00972d..."} 
[2026-09-18 14:28:19] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bbee28012d54e400067fc4d0003c00972d..."} 
[2026-09-18 14:28:19] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:28:19] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:28:19] local.INFO: GPS Element Parsed {"raw_longitude":760538112,"raw_latitude":109036752,"longitude_deg":76.0538112,"latitude_deg":10.9036752,"altitude":60,"angle":151,"satellites":45,"speed":60,"hex_longitude":"2d54e400","hex_latitude":"067fc4d0","is_valid_coordinates":true} 
[2026-09-18 14:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168787456001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405411626745856000,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6111455091001667584,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:19] 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-09-18 14:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789721833000,"timestamp_ms":1789721833000,"timestamp_seconds":1789721833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bbee28"} 
[2026-09-18 14:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28: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-09-18 14:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 14:28: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-09-18 14:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168787456001,"66":27767,"229":206,"80":60928,"24":60,"16":405411626745856000,"45":6111455091001667584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-09-18 14:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168787456001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:19] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-18 14:28:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405411626745856000,"km_value":405411626745856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6111455091001667584,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168787456001,"power":27767,"unknown_229":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":6111455091001667584}} 
[2026-09-18 14:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:19] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:19] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:24] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bb7128012d7ccdc005d6ffb0000c015620..."} 
[2026-09-18 14:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bb7128012d7ccdc005d6ffb0000c015620..."} 
[2026-09-18 14:28:24] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bb7128012d7ccdc005d6ffb0000c015620..."} 
[2026-09-18 14:28:24] local.INFO: Packet analysis {"connection_id":186188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:28:24] local.INFO: Extracted packet for processing {"connection_id":186188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bb"} 
[2026-09-18 14:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763153856,"raw_latitude":97976240,"longitude_deg":76.3153856,"latitude_deg":9.797624,"altitude":12,"angle":342,"satellites":32,"speed":44,"hex_longitude":"2d7ccdc0","hex_latitude":"05d6ffb0","is_valid_coordinates":true} 
[2026-09-18 14:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168778752001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134650884041736192,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995940280752171008,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:24] 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-09-18 14:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789721801000,"timestamp_ms":1789721801000,"timestamp_seconds":1789721801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bb7128"} 
[2026-09-18 14:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28:24] 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-09-18 14:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 14:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:28: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-09-18 14:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168778752001,"66":13798,"30":206,"85":15104,"24":44,"16":134650884041736192,"45":8995940280752171008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-18 14:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168778752001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-18 14:28:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134650884041736192,"km_value":134650884041736.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995940280752171008,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168778752001,"power":13798,"unknown_30":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8995940280752171008}} 
[2026-09-18 14:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":186188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:24] local.INFO: GPS data processed {"connection_id":186188,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:24] local.INFO: Acknowledgment sent {"connection_id":186188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:28] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:28] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:28] local.INFO: IMEI packet received {"connection_id":187476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":187476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:28:30] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:30] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:30] local.INFO: IMEI packet received {"connection_id":187476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":187476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:30] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:30] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:30] local.INFO: IMEI packet received {"connection_id":187476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":187476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:33] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:33] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:28:33] local.INFO: IMEI packet received {"connection_id":187476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":187476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:34] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bc28c0012d17a7000721f798004b001229..."} 
[2026-09-18 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bc28c0012d17a7000721f798004b001229..."} 
[2026-09-18 14:28:34] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bc28c0012d17a7000721f798004b001229..."} 
[2026-09-18 14:28:34] local.INFO: Packet analysis {"connection_id":187476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:34] local.INFO: Extracted packet for processing {"connection_id":187476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756524800,"raw_latitude":119666584,"longitude_deg":75.65248,"latitude_deg":11.9666584,"altitude":75,"angle":18,"satellites":41,"speed":23,"hex_longitude":"2d17a700","hex_latitude":"0721f798","is_valid_coordinates":true} 
[2026-09-18 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168792576001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21357940355104768,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703979170896494592,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789721848000,"timestamp_ms":1789721848000,"timestamp_seconds":1789721848,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bc28c0"} 
[2026-09-18 14:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168792576001,"66":14515,"120":206,"28":31744,"24":23,"16":21357940355104768,"45":1703979170896494592},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168792576001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21357940355104768,"km_value":21357940355104.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703979170896494592,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168792576001,"power":14515,"unknown_120":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1703979170896494592}} 
[2026-09-18 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":187476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:34] local.INFO: GPS data processed {"connection_id":187476,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:34] local.INFO: Acknowledgment sent {"connection_id":187476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:35] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bc3c48012d17a980072202c0004e000629..."} 
[2026-09-18 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bc3c48012d17a980072202c0004e000629..."} 
[2026-09-18 14:28:35] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bc3c48012d17a980072202c0004e000629..."} 
[2026-09-18 14:28:35] local.INFO: Packet analysis {"connection_id":187476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:35] local.INFO: Extracted packet for processing {"connection_id":187476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756525440,"raw_latitude":119669440,"longitude_deg":75.652544,"latitude_deg":11.966944,"altitude":78,"angle":6,"satellites":41,"speed":20,"hex_longitude":"2d17a980","hex_latitude":"072202c0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168793088001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21358082089025536,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704331014617667584,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789721853000,"timestamp_ms":1789721853000,"timestamp_seconds":1789721853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bc3c48"} 
[2026-09-18 14:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28: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-09-18 14: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:28:35] 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-09-18 14: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-09-18 14:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168793088001,"66":14048,"120":206,"28":31744,"24":20,"16":21358082089025536,"45":1704331014617667584},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168793088001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21358082089025536,"km_value":21358082089025.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704331014617667584,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168793088001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1704331014617667584}} 
[2026-09-18 14:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":187476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:35] local.INFO: GPS data processed {"connection_id":187476,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:35] local.INFO: Acknowledgment sent {"connection_id":187476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:45] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:45] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:45] local.INFO: IMEI packet received {"connection_id":186046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":186046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:28:45] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:45] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:45] local.INFO: IMEI packet received {"connection_id":186046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":186046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:50] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:50] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:28:50] local.INFO: IMEI packet received {"connection_id":186046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":186046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:28:50] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bcfbb0012d7c948005d88bf8000401641d..."} 
[2026-09-18 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bcfbb0012d7c948005d88bf8000401641d..."} 
[2026-09-18 14:28:50] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bcfbb0012d7c948005d88bf8000401641d..."} 
[2026-09-18 14:28:50] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:50] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763139200,"raw_latitude":98077688,"longitude_deg":76.31392,"latitude_deg":9.8077688,"altitude":4,"angle":356,"satellites":29,"speed":51,"hex_longitude":"2d7c9480","hex_latitude":"05d88bf8","is_valid_coordinates":true} 
[2026-09-18 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168805120001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134655883383668736,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977433301059278848,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:50] 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-09-18 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789721902000,"timestamp_ms":1789721902000,"timestamp_seconds":1789721902,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bcfbb0"} 
[2026-09-18 14:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 14:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:28: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-09-18 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168805120001,"66":13798,"195":206,"85":15104,"24":51,"16":134655883383668736,"45":8977433301059278848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-18 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168805120001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:50] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-18 14:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134655883383668736,"km_value":134655883383668.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977433301059278848,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168805120001,"power":13798,"unknown_195":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8977433301059278848}} 
[2026-09-18 14:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:51] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:51] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:28:55] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bc0598012d54f500067fa4b8003700992e..."} 
[2026-09-18 14:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bc0598012d54f500067fa4b8003700992e..."} 
[2026-09-18 14:28:55] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bc0598012d54f500067fa4b8003700992e..."} 
[2026-09-18 14:28:55] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:55] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760542464,"raw_latitude":109028536,"longitude_deg":76.0542464,"latitude_deg":10.9028536,"altitude":55,"angle":153,"satellites":46,"speed":62,"hex_longitude":"2d54f500","hex_latitude":"067fa4b8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168789248001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405412073422454784,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6117014221789384704,"note":"Value kept but may cause issues"} 
[2026-09-18 14:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789721839000,"timestamp_ms":1789721839000,"timestamp_seconds":1789721839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bc0598"} 
[2026-09-18 14:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168789248001,"66":27745,"228":206,"80":60928,"24":62,"16":405412073422454784,"45":6117014221789384704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-09-18 14:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168789248001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:28:55] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-18 14:28:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405412073422454784,"km_value":405412073422454.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6117014221789384704,"description":"Unknown IO ID 45"} 
[2026-09-18 14:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168789248001,"power":27745,"unknown_228":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":6117014221789384704}} 
[2026-09-18 14:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:28:55] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:28:55] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:29:06] local.INFO: TCP Data received {"connection_id":187476,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bcfbb0012d17764007223210006701242b..."} 
[2026-09-18 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bcfbb0012d17764007223210006701242b..."} 
[2026-09-18 14:29:06] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bcfbb0012d17764007223210006701242b..."} 
[2026-09-18 14:29:06] local.INFO: Packet analysis {"connection_id":187476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:29:06] local.INFO: Extracted packet for processing {"connection_id":187476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756512320,"raw_latitude":119681552,"longitude_deg":75.651232,"latitude_deg":11.9681552,"altitude":103,"angle":292,"satellites":43,"speed":12,"hex_longitude":"2d177640","hex_latitude":"07223210","is_valid_coordinates":true} 
[2026-09-18 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168804864001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21359125766078464,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1694197915459676160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789721902000,"timestamp_ms":1789721902000,"timestamp_seconds":1789721902,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bcfbb0"} 
[2026-09-18 14:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:29: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-09-18 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3015483864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":59393,"corrected_to":0} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3165747201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2415996183,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3784900608,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,225,160,212,45,128,102,43,10,66,204,44,200,192,1,240,55,179,34,4,113,205,18,173,153,112,42,239,54,2,75,7,94,17],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":200,"original":59393,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-18 14:29:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7350183747910893568,"timestamp_seconds":7350183747910894.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168804864001,"66":14428,"120":206,"28":31744,"24":12,"16":21359125766078464,"45":1694197915459676160},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168804864001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:29:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21359125766078464,"km_value":21359125766078.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1694197915459676160,"description":"Unknown IO ID 45"} 
[2026-09-18 14:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168804864001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1694197915459676160}} 
[2026-09-18 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":187476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:29:07] local.INFO: GPS data processed {"connection_id":187476,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:29:07] local.INFO: Acknowledgment sent {"connection_id":187476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:29:16] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:16] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:16] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:29:17] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:17] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:17] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:29:22] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bd1708012d7c920005d8aeb0000401631d..."} 
[2026-09-18 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bd1708012d7c920005d8aeb0000401631d..."} 
[2026-09-18 14:29:22] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bd1708012d7c920005d8aeb0000401631d..."} 
[2026-09-18 14:29:22] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bd"} 
[2026-09-18 14:29:22] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bd"} 
[2026-09-18 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763138560,"raw_latitude":98086576,"longitude_deg":76.313856,"latitude_deg":9.8086576,"altitude":4,"angle":355,"satellites":29,"speed":50,"hex_longitude":"2d7c9200","hex_latitude":"05d8aeb0","is_valid_coordinates":true} 
[2026-09-18 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168806912001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134656317175365632,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976940719852484608,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:22] 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-09-18 14:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789721909000,"timestamp_ms":1789721909000,"timestamp_seconds":1789721909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bd1708"} 
[2026-09-18 14:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 14:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:29: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-09-18 14:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168806912001,"66":13646,"196":206,"85":15104,"24":50,"16":134656317175365632,"45":8976940719852484608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-18 14:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168806912001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:29:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-18 14:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134656317175365632,"km_value":134656317175365.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976940719852484608,"description":"Unknown IO ID 45"} 
[2026-09-18 14:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168806912001,"power":13646,"unknown_196":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8976940719852484608}} 
[2026-09-18 14:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:29:22] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:29:22] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:29:22] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:22] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:29:22] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:29:23] local.INFO: TCP Data received {"connection_id":186047,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:29:23] local.INFO: Processing buffer {"connection_id":186047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:29:23] local.INFO: IMEI packet received {"connection_id":186047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":186047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:29:23] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bcf3e0012d557c40067e51a8001d00a72f..."} 
[2026-09-18 14:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bcf3e0012d557c40067e51a8001d00a72f..."} 
[2026-09-18 14:29:23] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bcf3e0012d557c40067e51a8001d00a72f..."} 
[2026-09-18 14:29:23] local.INFO: Packet analysis {"connection_id":186190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:29:23] local.INFO: Extracted packet for processing {"connection_id":186190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bc"} 
[2026-09-18 14:29:23] local.INFO: GPS Element Parsed {"raw_longitude":760577088,"raw_latitude":108941736,"longitude_deg":76.0577088,"latitude_deg":10.8941736,"altitude":29,"angle":167,"satellites":47,"speed":59,"hex_longitude":"2d557c40","hex_latitude":"067e51a8","is_valid_coordinates":true} 
[2026-09-18 14:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168804864001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405416638972690432,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6157968830878709760,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789721900000,"timestamp_ms":1789721900000,"timestamp_seconds":1789721900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bcf3e0"} 
[2026-09-18 14:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168804864001,"66":27767,"228":206,"80":60928,"24":59,"16":405416638972690432,"45":6157968830878709760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-09-18 14:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168804864001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:29:23] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-18 14:29:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405416638972690432,"km_value":405416638972690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6157968830878709760,"description":"Unknown IO ID 45"} 
[2026-09-18 14:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168804864001,"power":27767,"unknown_228":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":6157968830878709760}} 
[2026-09-18 14:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":186190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:29:23] local.INFO: GPS data processed {"connection_id":186190,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:29:23] local.INFO: Acknowledgment sent {"connection_id":186190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:29:24] local.INFO: TCP Data received {"connection_id":186047,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:29:24] local.INFO: Processing buffer {"connection_id":186047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:29:24] local.INFO: IMEI packet received {"connection_id":186047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":186047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:29:25] local.INFO: TCP Data received {"connection_id":186047,"ip":"117.225.196.200","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186047,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:29:25] local.INFO: Processing buffer {"connection_id":186047,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:29:25] local.INFO: IMEI packet received {"connection_id":186047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":186047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:29:45] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:45] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:45] local.INFO: IMEI packet received {"connection_id":187477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":187477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:29:47] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:47] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:47] local.INFO: IMEI packet received {"connection_id":187477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":187477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:29:50] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:50] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:29:50] local.INFO: IMEI packet received {"connection_id":187477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":187477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:29:51] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bd3260012d7c8ec005d8d1a8000601611c..."} 
[2026-09-18 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bd3260012d7c8ec005d8d1a8000601611c..."} 
[2026-09-18 14:29:51] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bd3260012d7c8ec005d8d1a8000601611c..."} 
[2026-09-18 14:29:51] local.INFO: Packet analysis {"connection_id":187477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bd"} 
[2026-09-18 14:29:51] local.INFO: Extracted packet for processing {"connection_id":187477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bd"} 
[2026-09-18 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":98095528,"longitude_deg":76.3137728,"latitude_deg":9.8095528,"altitude":6,"angle":353,"satellites":28,"speed":50,"hex_longitude":"2d7c8ec0","hex_latitude":"05d8d1a8","is_valid_coordinates":true} 
[2026-09-18 14:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168808704001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134656750967062528,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976237032412983296,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789721916000,"timestamp_ms":1789721916000,"timestamp_seconds":1789721916,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bd3260"} 
[2026-09-18 14:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:29: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":78,"data_length":795,"current_offset":136} 
[2026-09-18 14:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:29: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-09-18 14:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168808704001,"66":13656,"196":206,"85":15104,"24":50,"16":134656750967062528,"45":8976237032412983296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-18 14:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168808704001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:29:51] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-18 14:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134656750967062528,"km_value":134656750967062.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976237032412983296,"description":"Unknown IO ID 45"} 
[2026-09-18 14:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168808704001,"power":13656,"unknown_196":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8976237032412983296}} 
[2026-09-18 14:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":187477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:29:51] local.INFO: GPS data processed {"connection_id":187477,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:29:51] local.INFO: Acknowledgment sent {"connection_id":187477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:29:55] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bd0b50012d558580067e2fa8001b00a32f..."} 
[2026-09-18 14:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bd0b50012d558580067e2fa8001b00a32f..."} 
[2026-09-18 14:29:55] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bd0b50012d558580067e2fa8001b00a32f..."} 
[2026-09-18 14:29:55] local.INFO: Packet analysis {"connection_id":186190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bd"} 
[2026-09-18 14:29:55] local.INFO: Extracted packet for processing {"connection_id":186190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bd"} 
[2026-09-18 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":760579456,"raw_latitude":108933032,"longitude_deg":76.0579456,"latitude_deg":10.8933032,"altitude":27,"angle":163,"satellites":47,"speed":59,"hex_longitude":"2d558580","hex_latitude":"067e2fa8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168806400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405417077059354624,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6159868786969257984,"note":"Value kept but may cause issues"} 
[2026-09-18 14:29:55] 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-09-18 14:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789721906000,"timestamp_ms":1789721906000,"timestamp_seconds":1789721906,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bd0b50"} 
[2026-09-18 14:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168806400001,"66":27767,"209":206,"80":60928,"24":59,"16":405417077059354624,"45":6159868786969257984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,80,24,16,45]} 
[2026-09-18 14:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168806400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:29:55] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-18 14:29:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405417077059354624,"km_value":405417077059354.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6159868786969257984,"description":"Unknown IO ID 45"} 
[2026-09-18 14:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168806400001,"power":27767,"unknown_209":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":6159868786969257984}} 
[2026-09-18 14:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":186190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:29:55] local.INFO: GPS data processed {"connection_id":186190,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:29:55] local.INFO: Acknowledgment sent {"connection_id":186190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:30:13] local.INFO: TCP Data received {"connection_id":187478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:13] local.INFO: Processing buffer {"connection_id":187478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:13] local.INFO: IMEI packet received {"connection_id":187478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":187478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:30:21] local.INFO: TCP Data received {"connection_id":187478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:21] local.INFO: Processing buffer {"connection_id":187478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:21] local.INFO: IMEI packet received {"connection_id":187478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":187478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:30:21] local.INFO: TCP Data received {"connection_id":187478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:21] local.INFO: Processing buffer {"connection_id":187478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:21] local.INFO: IMEI packet received {"connection_id":187478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":187478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:30:21] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3be7698012d7c528005da6070000901541c..."} 
[2026-09-18 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3be7698012d7c528005da6070000901541c..."} 
[2026-09-18 14:30:21] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3be7698012d7c528005da6070000901541c..."} 
[2026-09-18 14:30:21] local.INFO: Packet analysis {"connection_id":187477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3be"} 
[2026-09-18 14:30:21] local.INFO: Extracted packet for processing {"connection_id":187477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3be"} 
[2026-09-18 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763122304,"raw_latitude":98197616,"longitude_deg":76.3122304,"latitude_deg":9.8197616,"altitude":9,"angle":340,"satellites":28,"speed":54,"hex_longitude":"2d7c5280","hex_latitude":"05da6070","is_valid_coordinates":true} 
[2026-09-18 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168829952001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134661776078798848,"note":"Value kept but may cause issues"} 
[2026-09-18 14:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961811439882655744,"note":"Value kept but may cause issues"} 
[2026-09-18 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789721999000,"timestamp_ms":1789721999000,"timestamp_seconds":1789721999,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3be7698"} 
[2026-09-18 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-18 14:30:21] 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-09-18 14:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168829952001,"66":13624,"187":206,"85":15104,"24":54,"16":134661776078798848,"45":8961811439882655744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-18 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168829952001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:30:21] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 14:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134661776078798848,"km_value":134661776078798.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961811439882655744,"description":"Unknown IO ID 45"} 
[2026-09-18 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168829952001,"power":13624,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8961811439882655744}} 
[2026-09-18 14:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":187477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:30:22] local.INFO: GPS data processed {"connection_id":187477,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:30:22] local.INFO: Acknowledgment sent {"connection_id":187477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:30:22] local.INFO: TCP Data received {"connection_id":187478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:22] local.INFO: Processing buffer {"connection_id":187478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:30:22] local.INFO: IMEI packet received {"connection_id":187478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":187478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:30:44] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:44] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:44] local.INFO: IMEI packet received {"connection_id":186048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":186048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:30:46] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:46] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:46] local.INFO: IMEI packet received {"connection_id":186048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":186048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:30:50] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:50] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:30:50] local.INFO: IMEI packet received {"connection_id":186048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":186048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:30:57] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3be91f0012d7c45c005da82d0000801541c..."} 
[2026-09-18 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3be91f0012d7c45c005da82d0000801541c..."} 
[2026-09-18 14:30:57] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3be91f0012d7c45c005da82d0000801541c..."} 
[2026-09-18 14:30:57] local.INFO: Packet analysis {"connection_id":186048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3be"} 
[2026-09-18 14:30:57] local.INFO: Extracted packet for processing {"connection_id":186048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3be"} 
[2026-09-18 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763119040,"raw_latitude":98206416,"longitude_deg":76.311904,"latitude_deg":9.8206416,"altitude":8,"angle":340,"satellites":28,"speed":52,"hex_longitude":"2d7c45c0","hex_latitude":"05da82d0","is_valid_coordinates":true} 
[2026-09-18 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168831744001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134662231345332224,"note":"Value kept but may cause issues"} 
[2026-09-18 14:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958363371420282880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789722006000,"timestamp_ms":1789722006000,"timestamp_seconds":1789722006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3be91f0"} 
[2026-09-18 14:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:30: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-09-18 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 14:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:30: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-09-18 14:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168831744001,"66":13678,"187":206,"85":15104,"24":52,"16":134662231345332224,"45":8958363371420282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-18 14:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168831744001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:30:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 14:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134662231345332224,"km_value":134662231345332.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958363371420282880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168831744001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8958363371420282880}} 
[2026-09-18 14:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":186048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:30:57] local.INFO: GPS data processed {"connection_id":186048,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:30:57] local.INFO: Acknowledgment sent {"connection_id":186048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:31:28] local.INFO: TCP Data received {"connection_id":186048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3beb130012d7c398005daa518000601541a..."} 
[2026-09-18 14:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3beb130012d7c398005daa518000601541a..."} 
[2026-09-18 14:31:28] local.INFO: Processing buffer {"connection_id":186048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3beb130012d7c398005daa518000601541a..."} 
[2026-09-18 14:31:28] local.INFO: Packet analysis {"connection_id":186048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3be"} 
[2026-09-18 14:31:28] local.INFO: Extracted packet for processing {"connection_id":186048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3be"} 
[2026-09-18 14:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763115904,"raw_latitude":98215192,"longitude_deg":76.3115904,"latitude_deg":9.8215192,"altitude":6,"angle":340,"satellites":26,"speed":37,"hex_longitude":"2d7c3980","hex_latitude":"05daa518","is_valid_coordinates":true} 
[2026-09-18 14:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168833536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134662682316898304,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954774565469474816,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:28] 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-09-18 14:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789722014000,"timestamp_ms":1789722014000,"timestamp_seconds":1789722014,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3beb130"} 
[2026-09-18 14:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:31: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-09-18 14: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 14:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168833536001,"66":13678,"187":206,"85":15104,"24":37,"16":134662682316898304,"45":8954774565469474816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-18 14:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168833536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:31:28] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 14:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134662682316898304,"km_value":134662682316898.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954774565469474816,"description":"Unknown IO ID 45"} 
[2026-09-18 14:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168833536001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8954774565469474816}} 
[2026-09-18 14:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":186048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:31:28] local.INFO: GPS data processed {"connection_id":186048,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:31:28] local.INFO: Acknowledgment sent {"connection_id":186048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:31:45] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:45] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:45] local.INFO: IMEI packet received {"connection_id":186049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":186049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:31:50] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:50] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:50] local.INFO: IMEI packet received {"connection_id":186049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":186049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:31:54] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:54] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:31:54] local.INFO: IMEI packet received {"connection_id":186049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":186049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:31:55] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bff568012d7be70005dc29e00000016419..."} 
[2026-09-18 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bff568012d7be70005dc29e00000016419..."} 
[2026-09-18 14:31:55] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bff568012d7be70005dc29e00000016419..."} 
[2026-09-18 14:31:55] local.INFO: Packet analysis {"connection_id":186049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:31:55] local.INFO: Extracted packet for processing {"connection_id":186049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":98314720,"longitude_deg":76.3094784,"latitude_deg":9.831472,"altitude":0,"angle":356,"satellites":25,"speed":52,"hex_longitude":"2d7be700","hex_latitude":"05dc29e0","is_valid_coordinates":true} 
[2026-09-18 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168855040001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134667621529288704,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928808498893287424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:55] 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-09-18 14:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789722097000,"timestamp_ms":1789722097000,"timestamp_seconds":1789722097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bff568"} 
[2026-09-18 14:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 14:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:31: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-09-18 14:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168855040001,"66":13798,"185":206,"85":15104,"24":52,"16":134667621529288704,"45":8928808498893287424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 14:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168855040001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:31:55] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 14:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134667621529288704,"km_value":134667621529288.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928808498893287424,"description":"Unknown IO ID 45"} 
[2026-09-18 14:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168855040001,"power":13798,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8928808498893287424}} 
[2026-09-18 14:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":186049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:31:55] local.INFO: GPS data processed {"connection_id":186049,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:31:55] local.INFO: Acknowledgment sent {"connection_id":186049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:31:56] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c010c0012d7be54005dc4de80000016618..."} 
[2026-09-18 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c010c0012d7be54005dc4de80000016618..."} 
[2026-09-18 14:31:56] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c010c0012d7be54005dc4de80000016618..."} 
[2026-09-18 14:31:56] local.INFO: Packet analysis {"connection_id":186049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:31:56] local.INFO: Extracted packet for processing {"connection_id":186049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":98323944,"longitude_deg":76.3094336,"latitude_deg":9.8323944,"altitude":0,"angle":358,"satellites":24,"speed":52,"hex_longitude":"2d7be540","hex_latitude":"05dc4de8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168856832001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134668068205887488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811453865984,"note":"Value kept but may cause issues"} 
[2026-09-18 14:31:56] 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-09-18 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789722104000,"timestamp_ms":1789722104000,"timestamp_seconds":1789722104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c010c0"} 
[2026-09-18 14:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 14:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:31: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-09-18 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168856832001,"66":13678,"185":206,"85":15104,"24":52,"16":134668068205887488,"45":8928104811453865984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168856832001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:31:56] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 14:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134668068205887488,"km_value":134668068205887.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811453865984,"description":"Unknown IO ID 45"} 
[2026-09-18 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168856832001,"power":13678,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8928104811453865984}} 
[2026-09-18 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":186049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:31:56] local.INFO: GPS data processed {"connection_id":186049,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:31:56] local.INFO: Acknowledgment sent {"connection_id":186049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:32:30] local.INFO: TCP Data received {"connection_id":186189,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:32:30] local.INFO: Processing buffer {"connection_id":186189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:32:30] local.INFO: IMEI packet received {"connection_id":186189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":186189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:32:31] local.INFO: TCP Data received {"connection_id":186049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c02c18012d7be40005dc70c8000001651a..."} 
[2026-09-18 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c02c18012d7be40005dc70c8000001651a..."} 
[2026-09-18 14:32:31] local.INFO: Processing buffer {"connection_id":186049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c02c18012d7be40005dc70c8000001651a..."} 
[2026-09-18 14:32:31] local.INFO: Packet analysis {"connection_id":186049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:32:31] local.INFO: Extracted packet for processing {"connection_id":186049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":98332872,"longitude_deg":76.3094016,"latitude_deg":9.8332872,"altitude":0,"angle":357,"satellites":26,"speed":48,"hex_longitude":"2d7be400","hex_latitude":"05dc70c8","is_valid_coordinates":true} 
[2026-09-18 14:32: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-09-18 14:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168858624001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134668501997584384,"note":"Value kept but may cause issues"} 
[2026-09-18 14:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230246983680,"note":"Value kept but may cause issues"} 
[2026-09-18 14:32: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-09-18 14:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722111000,"timestamp_ms":1789722111000,"timestamp_seconds":1789722111,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c02c18"} 
[2026-09-18 14:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:32: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-09-18 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 14:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:32: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-09-18 14:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168858624001,"66":13450,"185":206,"85":15104,"24":48,"16":134668501997584384,"45":8927612230246983680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 14:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168858624001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134668501997584384,"km_value":134668501997584.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230246983680,"description":"Unknown IO ID 45"} 
[2026-09-18 14:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168858624001,"power":13450,"unknown_185":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8927612230246983680}} 
[2026-09-18 14:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":186049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:32:31] local.INFO: GPS data processed {"connection_id":186049,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:32:31] local.INFO: Acknowledgment sent {"connection_id":186049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:32:50] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:32:50] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:32:50] local.INFO: IMEI packet received {"connection_id":186052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":186052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:32:54] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:32:54] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:32:54] local.INFO: IMEI packet received {"connection_id":186052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":186052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:32:56] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c04f40012d7be2c005dc9708000001671a..."} 
[2026-09-18 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c04f40012d7be2c005dc9708000001671a..."} 
[2026-09-18 14:32:56] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c04f40012d7be2c005dc9708000001671a..."} 
[2026-09-18 14:32:56] local.INFO: Packet analysis {"connection_id":186052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:32:56] local.INFO: Extracted packet for processing {"connection_id":186052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98342664,"longitude_deg":76.3093696,"latitude_deg":9.8342664,"altitude":0,"angle":359,"satellites":26,"speed":39,"hex_longitude":"2d7be2c0","hex_latitude":"05dc9708","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168860416001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134668978738954240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386528380928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:32:56] 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-09-18 14:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789722120000,"timestamp_ms":1789722120000,"timestamp_seconds":1789722120,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c04f40"} 
[2026-09-18 14:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":138,"data_length":795,"current_offset":136} 
[2026-09-18 14:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:32: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-09-18 14:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168860416001,"66":13689,"185":206,"85":15104,"24":39,"16":134668978738954240,"45":8927260386528380928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 14:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168860416001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:32:56] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 14:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134668978738954240,"km_value":134668978738954.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386528380928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168860416001,"power":13689,"unknown_185":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8927260386528380928}} 
[2026-09-18 14:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":186052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:32:56] local.INFO: GPS data processed {"connection_id":186052,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:32:56] local.INFO: Acknowledgment sent {"connection_id":186052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:33:10] local.INFO: TCP Data received {"connection_id":186191,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:33:10] local.INFO: Processing buffer {"connection_id":186191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:33:10] local.INFO: IMEI packet received {"connection_id":186191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:33:27] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c07268012d7be20005dcbcf00000016618..."} 
[2026-09-18 14:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c07268012d7be20005dcbcf00000016618..."} 
[2026-09-18 14:33:27] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c07268012d7be20005dcbcf00000016618..."} 
[2026-09-18 14:33:27] local.INFO: Packet analysis {"connection_id":186052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:33:27] local.INFO: Extracted packet for processing {"connection_id":186052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c0"} 
[2026-09-18 14:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763093504,"raw_latitude":98352368,"longitude_deg":76.3093504,"latitude_deg":9.8352368,"altitude":0,"angle":358,"satellites":24,"speed":47,"hex_longitude":"2d7be200","hex_latitude":"05dcbcf0","is_valid_coordinates":true} 
[2026-09-18 14:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168862720001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134669446890389504,"note":"Value kept but may cause issues"} 
[2026-09-18 14:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542809999360,"note":"Value kept but may cause issues"} 
[2026-09-18 14:33:27] 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-09-18 14:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789722129000,"timestamp_ms":1789722129000,"timestamp_seconds":1789722129,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c07268"} 
[2026-09-18 14:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 14:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:33: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-09-18 14:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168862720001,"66":13472,"185":206,"85":15104,"24":47,"16":134669446890389504,"45":8926908542809999360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-18 14:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168862720001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:33:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-18 14:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134669446890389504,"km_value":134669446890389.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542809999360,"description":"Unknown IO ID 45"} 
[2026-09-18 14:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168862720001,"power":13472,"unknown_185":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8926908542809999360}} 
[2026-09-18 14:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":186052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:33:27] local.INFO: GPS data processed {"connection_id":186052,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:33:27] local.INFO: Acknowledgment sent {"connection_id":186052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:33:44] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:33:44] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:33:44] local.INFO: IMEI packet received {"connection_id":187483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":187483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:33:49] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:33:49] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:33:49] local.INFO: IMEI packet received {"connection_id":187483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":187483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:33:50] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c1a700012d7ba70005de52080003015d1d..."} 
[2026-09-18 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c1a700012d7ba70005de52080003015d1d..."} 
[2026-09-18 14:33:50] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c1a700012d7ba70005de52080003015d1d..."} 
[2026-09-18 14:33:50] local.INFO: Packet analysis {"connection_id":187483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c1"} 
[2026-09-18 14:33:50] local.INFO: Extracted packet for processing {"connection_id":187483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c1"} 
[2026-09-18 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763078400,"raw_latitude":98456072,"longitude_deg":76.30784,"latitude_deg":9.8456072,"altitude":3,"angle":349,"satellites":29,"speed":38,"hex_longitude":"2d7ba700","hex_latitude":"05de5208","is_valid_coordinates":true} 
[2026-09-18 14:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168883200001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912271844047783936,"note":"Value kept but may cause issues"} 
[2026-09-18 14:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134674540721602560,"note":"Value kept but may cause issues"} 
[2026-09-18 14:33:50] 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-09-18 14:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789722208000,"timestamp_ms":1789722208000,"timestamp_seconds":1789722208,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c1a700"} 
[2026-09-18 14:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 14:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168883200001,"66":13472,"45":8912271844047783936,"85":15104,"24":38,"16":134674540721602560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 14:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168883200001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912271844047783936,"description":"Unknown IO ID 45"} 
[2026-09-18 14:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134674540721602560,"km_value":134674540721602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:33:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168883200001,"power":13472,"unknown_45":8912271844047783936,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-09-18 14:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":187483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:33:50] local.INFO: GPS data processed {"connection_id":187483,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:33:50] local.INFO: Acknowledgment sent {"connection_id":187483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:34:21] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c1ce10012d7ba14005de75d0000201601c..."} 
[2026-09-18 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c1ce10012d7ba14005de75d0000201601c..."} 
[2026-09-18 14:34:21] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c1ce10012d7ba14005de75d0000201601c..."} 
[2026-09-18 14:34:21] local.INFO: Packet analysis {"connection_id":187483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c1"} 
[2026-09-18 14:34:21] local.INFO: Extracted packet for processing {"connection_id":187483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c1"} 
[2026-09-18 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763076928,"raw_latitude":98465232,"longitude_deg":76.3076928,"latitude_deg":9.8465232,"altitude":2,"angle":352,"satellites":28,"speed":40,"hex_longitude":"2d7ba140","hex_latitude":"05de75d0","is_valid_coordinates":true} 
[2026-09-18 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168885248001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910090412980570112,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134674991693168640,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:21] 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-09-18 14:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789722218000,"timestamp_ms":1789722218000,"timestamp_seconds":1789722218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c1ce10"} 
[2026-09-18 14:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 14:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168885248001,"66":13820,"45":8910090412980570112,"85":15104,"24":40,"16":134674991693168640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 14:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168885248001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910090412980570112,"description":"Unknown IO ID 45"} 
[2026-09-18 14:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134674991693168640,"km_value":134674991693168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:34:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168885248001,"power":13820,"unknown_45":8910090412980570112,"unknown_85":15104,"ignition":40,"odometer":null}} 
[2026-09-18 14:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":187483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:34:21] local.INFO: GPS data processed {"connection_id":187483,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:34:21] local.INFO: Acknowledgment sent {"connection_id":187483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:34:30] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:34:30] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:34:30] local.INFO: IMEI packet received {"connection_id":186053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":186053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:34:31] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bf2660012d16f58007226e30008400d12a..."} 
[2026-09-18 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bf2660012d16f58007226e30008400d12a..."} 
[2026-09-18 14:34:31] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bf2660012d16f58007226e30008400d12a..."} 
[2026-09-18 14:34:31] local.INFO: Packet analysis {"connection_id":186053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:34:31] local.INFO: Extracted packet for processing {"connection_id":186053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756479360,"raw_latitude":119696944,"longitude_deg":75.647936,"latitude_deg":11.9696944,"altitude":132,"angle":209,"satellites":42,"speed":8,"hex_longitude":"2d16f580","hex_latitude":"07226e30","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168841984001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361251774889984,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655072893701269504,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722044000,"timestamp_ms":1789722044000,"timestamp_seconds":1789722044,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bf2660"} 
[2026-09-18 14:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 14:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168841984001,"66":13156,"71":206,"28":31744,"24":8,"16":21361251774889984,"45":1655072893701269504},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168841984001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:34:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361251774889984,"km_value":21361251774889.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655072893701269504,"description":"Unknown IO ID 45"} 
[2026-09-18 14:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168841984001,"power":13156,"unknown_71":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1655072893701269504}} 
[2026-09-18 14:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":186053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:34:31] local.INFO: GPS data processed {"connection_id":186053,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:34:31] local.INFO: Acknowledgment sent {"connection_id":186053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:34:44] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:44] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:44] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:34:46] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:46] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:46] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:34:49] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:49] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:34:49] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:34:50] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c1f138012d7b9e0005de99c0000301631a..."} 
[2026-09-18 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c1f138012d7b9e0005de99c0000301631a..."} 
[2026-09-18 14:34:50] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c1f138012d7b9e0005de99c0000301631a..."} 
[2026-09-18 14:34:50] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c1"} 
[2026-09-18 14:34:50] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c1"} 
[2026-09-18 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":98474432,"longitude_deg":76.3076096,"latitude_deg":9.8474432,"altitude":3,"angle":355,"satellites":26,"speed":40,"hex_longitude":"2d7b9e00","hex_latitude":"05de99c0","is_valid_coordinates":true} 
[2026-09-18 14:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168887808001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908471931866828800,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134675438369767424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:34:50] 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-09-18 14:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789722227000,"timestamp_ms":1789722227000,"timestamp_seconds":1789722227,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c1f138"} 
[2026-09-18 14:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 14:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:34: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-09-18 14:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168887808001,"66":13559,"45":8908471931866828800,"85":15104,"24":40,"16":134675438369767424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 14:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168887808001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908471931866828800,"description":"Unknown IO ID 45"} 
[2026-09-18 14:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134675438369767424,"km_value":134675438369767.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:34:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168887808001,"power":13559,"unknown_45":8908471931866828800,"unknown_85":15104,"ignition":40,"odometer":null}} 
[2026-09-18 14:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:34:51] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:34:51] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:35:03] local.INFO: TCP Data received {"connection_id":186053,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bf4d70012d16eec0072264f0008200e029..."} 
[2026-09-18 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bf4d70012d16eec0072264f0008200e029..."} 
[2026-09-18 14:35:03] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bf4d70012d16eec0072264f0008200e029..."} 
[2026-09-18 14:35:03] local.INFO: Packet analysis {"connection_id":186053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:35:03] local.INFO: Extracted packet for processing {"connection_id":186053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756477632,"raw_latitude":119694576,"longitude_deg":75.6477632,"latitude_deg":11.9694576,"altitude":130,"angle":224,"satellites":41,"speed":9,"hex_longitude":"2d16eec0","hex_latitude":"072264f0","is_valid_coordinates":true} 
[2026-09-18 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168843264001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361393508810752,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654369206259298304,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789722054000,"timestamp_ms":1789722054000,"timestamp_seconds":1789722054,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bf4d70"} 
[2026-09-18 14:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-18 14:35: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-09-18 14:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168843264001,"66":13135,"71":206,"28":31744,"24":9,"16":21361393508810752,"45":1654369206259298304},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168843264001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:35:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361393508810752,"km_value":21361393508810.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654369206259298304,"description":"Unknown IO ID 45"} 
[2026-09-18 14:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168843264001,"power":13135,"unknown_71":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1654369206259298304}} 
[2026-09-18 14:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":186053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:35:03] local.INFO: GPS data processed {"connection_id":186053,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:35:03] local.INFO: Acknowledgment sent {"connection_id":186053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:35:21] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c21460012d7b9b4005debeb00004016519..."} 
[2026-09-18 14:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c21460012d7b9b4005debeb00004016519..."} 
[2026-09-18 14:35:21] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c21460012d7b9b4005debeb00004016519..."} 
[2026-09-18 14:35:21] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c2"} 
[2026-09-18 14:35:21] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c2"} 
[2026-09-18 14:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763075392,"raw_latitude":98483888,"longitude_deg":76.3075392,"latitude_deg":9.8483888,"altitude":4,"angle":357,"satellites":25,"speed":44,"hex_longitude":"2d7b9b40","hex_latitude":"05debeb0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168890112001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138194874368,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134675897931268096,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:21] 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-09-18 14:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789722236000,"timestamp_ms":1789722236000,"timestamp_seconds":1789722236,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c21460"} 
[2026-09-18 14:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 14:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168890112001,"66":13820,"45":8907557138194874368,"85":15104,"24":44,"16":134675897931268096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-18 14:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168890112001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138194874368,"description":"Unknown IO ID 45"} 
[2026-09-18 14:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134675897931268096,"km_value":134675897931268.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:35:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458168890112001,"power":13820,"unknown_45":8907557138194874368,"unknown_85":15104,"ignition":44,"odometer":null}} 
[2026-09-18 14:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:35:22] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:35:22] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:35:25] local.INFO: TCP Data received {"connection_id":186193,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:25] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:25] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:35:25] local.INFO: TCP Data received {"connection_id":186193,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:25] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:25] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:35:27] local.INFO: TCP Data received {"connection_id":187484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:35:27] local.INFO: Processing buffer {"connection_id":187484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:35:27] local.INFO: IMEI packet received {"connection_id":187484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":187484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:35:28] local.INFO: TCP Data received {"connection_id":187484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c25ab0012d555480067acf38002200ec2a..."} 
[2026-09-18 14:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c25ab0012d555480067acf38002200ec2a..."} 
[2026-09-18 14:35:28] local.INFO: Processing buffer {"connection_id":187484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c25ab0012d555480067acf38002200ec2a..."} 
[2026-09-18 14:35:28] local.INFO: Packet analysis {"connection_id":187484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c2"} 
[2026-09-18 14:35:28] local.INFO: Extracted packet for processing {"connection_id":187484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c2"} 
[2026-09-18 14:35:28] local.INFO: GPS Element Parsed {"raw_longitude":760566912,"raw_latitude":108711736,"longitude_deg":76.0566912,"latitude_deg":10.8711736,"altitude":34,"angle":236,"satellites":42,"speed":13,"hex_longitude":"2d555480","hex_latitude":"067acf38","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168893440001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405433050042728448,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6157194774632941568,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789722254000,"timestamp_ms":1789722254000,"timestamp_seconds":1789722254,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c25ab0"} 
[2026-09-18 14:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 14:35:28] 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-09-18 14: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-09-18 14:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168893440001,"66":27908,"199":206,"80":60928,"24":13,"16":405433050042728448,"45":6157194774632941568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,80,24,16,45]} 
[2026-09-18 14:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168893440001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:35:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-18 14:35:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405433050042728448,"km_value":405433050042728.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6157194774632941568,"description":"Unknown IO ID 45"} 
[2026-09-18 14:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168893440001,"power":27908,"trip_odometer":0.206,"unknown_80":60928,"ignition":13,"odometer":null,"unknown_45":6157194774632941568}} 
[2026-09-18 14:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":187484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:35:28] local.INFO: GPS data processed {"connection_id":187484,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:35:28] local.INFO: Acknowledgment sent {"connection_id":187484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:35:30] local.INFO: TCP Data received {"connection_id":186193,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:30] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:35:30] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:35:31] local.INFO: TCP Data received {"connection_id":186193,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bf5540012d16ed4007226408008100ed2a..."} 
[2026-09-18 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bf5540012d16ed4007226408008100ed2a..."} 
[2026-09-18 14:35:31] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bf5540012d16ed4007226408008100ed2a..."} 
[2026-09-18 14:35:31] local.INFO: Packet analysis {"connection_id":186193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:35:31] local.INFO: Extracted packet for processing {"connection_id":186193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756477248,"raw_latitude":119694344,"longitude_deg":75.6477248,"latitude_deg":11.9694344,"altitude":129,"angle":237,"satellites":42,"speed":8,"hex_longitude":"2d16ed40","hex_latitude":"07226408","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168845824001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361414983647232,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1652469250165895168,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722056000,"timestamp_ms":1789722056000,"timestamp_seconds":1789722056,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bf5540"} 
[2026-09-18 14:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 14:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168845824001,"66":13091,"71":206,"28":31744,"24":8,"16":21361414983647232,"45":1652469250165895168},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168845824001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361414983647232,"km_value":21361414983647.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1652469250165895168,"description":"Unknown IO ID 45"} 
[2026-09-18 14:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168845824001,"power":13091,"unknown_71":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1652469250165895168}} 
[2026-09-18 14:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":186193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:35:31] local.INFO: GPS data processed {"connection_id":186193,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:35:31] local.INFO: Acknowledgment sent {"connection_id":186193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:35:44] local.INFO: TCP Data received {"connection_id":186054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:44] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:44] local.INFO: IMEI packet received {"connection_id":186054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":186054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:35:47] local.INFO: TCP Data received {"connection_id":186054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:47] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:47] local.INFO: IMEI packet received {"connection_id":186054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":186054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:35:50] local.INFO: TCP Data received {"connection_id":186054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:50] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:35:50] local.INFO: IMEI packet received {"connection_id":186054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":186054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:35:51] local.INFO: TCP Data received {"connection_id":186054,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c38390012d7b6f4005e05760000501621a..."} 
[2026-09-18 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c38390012d7b6f4005e05760000501621a..."} 
[2026-09-18 14:35:51] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c38390012d7b6f4005e05760000501621a..."} 
[2026-09-18 14:35:51] local.INFO: Packet analysis {"connection_id":186054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:35:51] local.INFO: Extracted packet for processing {"connection_id":186054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":763064128,"raw_latitude":98588512,"longitude_deg":76.3064128,"latitude_deg":9.8588512,"altitude":5,"angle":354,"satellites":26,"speed":58,"hex_longitude":"2d7b6f40","hex_latitude":"05e05760","is_valid_coordinates":true} 
[2026-09-18 14:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168914688001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134681000352415744,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895594451711240192,"note":"Value kept but may cause issues"} 
[2026-09-18 14:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789722330000,"timestamp_ms":1789722330000,"timestamp_seconds":1789722330,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c38390"} 
[2026-09-18 14:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:35: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":203,"data_length":795,"current_offset":136} 
[2026-09-18 14:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:35: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-09-18 14:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168914688001,"66":13678,"103":206,"85":15104,"24":58,"16":134681000352415744,"45":8895594451711240192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 14:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168914688001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:35:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 14:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134681000352415744,"km_value":134681000352415.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895594451711240192,"description":"Unknown IO ID 45"} 
[2026-09-18 14:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168914688001,"power":13678,"unknown_103":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8895594451711240192}} 
[2026-09-18 14:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":186054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:35:51] local.INFO: GPS data processed {"connection_id":186054,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:35:51] local.INFO: Acknowledgment sent {"connection_id":186054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:36:03] local.INFO: TCP Data received {"connection_id":186193,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3bfa748012d16e9c007226270008100f728..."} 
[2026-09-18 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3bfa748012d16e9c007226270008100f728..."} 
[2026-09-18 14:36:03] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3bfa748012d16e9c007226270008100f728..."} 
[2026-09-18 14:36:03] local.INFO: Packet analysis {"connection_id":186193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:36:03] local.INFO: Extracted packet for processing {"connection_id":186193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3bf"} 
[2026-09-18 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756476352,"raw_latitude":119693936,"longitude_deg":75.6476352,"latitude_deg":11.9693936,"altitude":129,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d16e9c0","hex_latitude":"07226270","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168846336001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361462228287488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1652047037700769792,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789722077000,"timestamp_ms":1789722077000,"timestamp_seconds":1789722077,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3bfa748"} 
[2026-09-18 14:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 14:36: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-09-18 14: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-09-18 14:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168846336001,"66":13080,"71":206,"28":31744,"24":0,"16":21361462228287488,"45":1652047037700769792},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168846336001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:36:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361462228287488,"km_value":21361462228287.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1652047037700769792,"description":"Unknown IO ID 45"} 
[2026-09-18 14:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168846336001,"power":13080,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1652047037700769792}} 
[2026-09-18 14:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":186193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:36:03] local.INFO: GPS data processed {"connection_id":186193,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:36:03] local.INFO: Acknowledgment sent {"connection_id":186193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:36:11] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:11] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:11] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:36:12] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:12] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:12] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:36:17] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:17] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:36:17] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:36:18] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c33958012d558940067affe8002300382b..."} 
[2026-09-18 14:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c33958012d558940067affe8002300382b..."} 
[2026-09-18 14:36:18] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c33958012d558940067affe8002300382b..."} 
[2026-09-18 14:36:18] local.INFO: Packet analysis {"connection_id":188814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:18] local.INFO: Extracted packet for processing {"connection_id":188814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:18] local.INFO: GPS Element Parsed {"raw_longitude":760580416,"raw_latitude":108724200,"longitude_deg":76.0580416,"latitude_deg":10.87242,"altitude":35,"angle":56,"satellites":43,"speed":32,"hex_longitude":"2d558940","hex_latitude":"067affe8","is_valid_coordinates":true} 
[2026-09-18 14:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168908800001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405434205388931072,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6154591131098902528,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789722311000,"timestamp_ms":1789722311000,"timestamp_seconds":1789722311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c33958"} 
[2026-09-18 14:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:36:18] 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-09-18 14:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 14:36:18] 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-09-18 14:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168908800001,"66":27745,"110":206,"80":60928,"24":32,"16":405434205388931072,"45":6154591131098902528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168908800001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:36:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:36:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405434205388931072,"km_value":405434205388931.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6154591131098902528,"description":"Unknown IO ID 45"} 
[2026-09-18 14:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168908800001,"power":27745,"unknown_110":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6154591131098902528}} 
[2026-09-18 14:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":188814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:36:18] local.INFO: GPS data processed {"connection_id":188814,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:36:18] local.INFO: Acknowledgment sent {"connection_id":188814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:36:22] local.INFO: TCP Data received {"connection_id":186054,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c39ee8012d7b6a8005e07da8000601601a..."} 
[2026-09-18 14:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c39ee8012d7b6a8005e07da8000601601a..."} 
[2026-09-18 14:36:22] local.INFO: Processing buffer {"connection_id":186054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c39ee8012d7b6a8005e07da8000601601a..."} 
[2026-09-18 14:36:22] local.INFO: Packet analysis {"connection_id":186054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:22] local.INFO: Extracted packet for processing {"connection_id":186054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":98598312,"longitude_deg":76.3062912,"latitude_deg":9.8598312,"altitude":6,"angle":352,"satellites":26,"speed":51,"hex_longitude":"2d7b6a80","hex_latitude":"05e07da8","is_valid_coordinates":true} 
[2026-09-18 14:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168916480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134681481388752896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894398183062855680,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789722337000,"timestamp_ms":1789722337000,"timestamp_seconds":1789722337,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c39ee8"} 
[2026-09-18 14:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 14:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:36: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-09-18 14:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168916480001,"66":13830,"103":206,"85":15104,"24":51,"16":134681481388752896,"45":8894398183062855680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 14:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168916480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:36:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 14:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134681481388752896,"km_value":134681481388752.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894398183062855680,"description":"Unknown IO ID 45"} 
[2026-09-18 14:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168916480001,"power":13830,"unknown_103":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8894398183062855680}} 
[2026-09-18 14:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":186054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:36:22] local.INFO: GPS data processed {"connection_id":186054,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:36:22] local.INFO: Acknowledgment sent {"connection_id":186054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:36:28] local.INFO: TCP Data received {"connection_id":186055,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:28] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:28] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:36:30] local.INFO: TCP Data received {"connection_id":186055,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:30] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:30] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:36:35] local.INFO: TCP Data received {"connection_id":186055,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:35] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:36:35] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:36:36] local.INFO: TCP Data received {"connection_id":186055,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c32da0012d16e9c007226270008100f724..."} 
[2026-09-18 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c32da0012d16e9c007226270008100f724..."} 
[2026-09-18 14:36:36] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c32da0012d16e9c007226270008100f724..."} 
[2026-09-18 14:36:36] local.INFO: Packet analysis {"connection_id":186055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:36] local.INFO: Extracted packet for processing {"connection_id":186055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756476352,"raw_latitude":119693936,"longitude_deg":75.6476352,"latitude_deg":11.9693936,"altitude":129,"angle":247,"satellites":36,"speed":0,"hex_longitude":"2d16e9c0","hex_latitude":"07226270","is_valid_coordinates":true} 
[2026-09-18 14:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168905472001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361462228287488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651061875282178048,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789722308000,"timestamp_ms":1789722308000,"timestamp_seconds":1789722308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c32da0"} 
[2026-09-18 14:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 14:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168905472001,"66":12537,"71":206,"28":31744,"24":0,"16":21361462228287488,"45":1651061875282178048},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168905472001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:36:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361462228287488,"km_value":21361462228287.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651061875282178048,"description":"Unknown IO ID 45"} 
[2026-09-18 14:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168905472001,"power":12537,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1651061875282178048}} 
[2026-09-18 14:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":186055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:36:36] local.INFO: GPS data processed {"connection_id":186055,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:36:36] local.INFO: Acknowledgment sent {"connection_id":186055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:36:44] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:36:44] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:36:44] local.INFO: IMEI packet received {"connection_id":186194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":186194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:36:49] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c36838012d55a7c0067b11e0002300402b..."} 
[2026-09-18 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c36838012d55a7c0067b11e0002300402b..."} 
[2026-09-18 14:36:49] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c36838012d55a7c0067b11e0002300402b..."} 
[2026-09-18 14:36:49] local.INFO: Packet analysis {"connection_id":188814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:49] local.INFO: Extracted packet for processing {"connection_id":188814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:49] local.INFO: GPS Element Parsed {"raw_longitude":760588224,"raw_latitude":108728800,"longitude_deg":76.0588224,"latitude_deg":10.87288,"altitude":35,"angle":64,"satellites":43,"speed":30,"hex_longitude":"2d55a7c0","hex_latitude":"067b11e0","is_valid_coordinates":true} 
[2026-09-18 14:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168911616001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405434639180627968,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163527961610807296,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789722323000,"timestamp_ms":1789722323000,"timestamp_seconds":1789722323,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c36838"} 
[2026-09-18 14:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:36:49] 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-09-18 14:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168911616001,"66":27767,"110":206,"80":60928,"24":30,"16":405434639180627968,"45":6163527961610807296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168911616001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:36:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:36:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405434639180627968,"km_value":405434639180627.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163527961610807296,"description":"Unknown IO ID 45"} 
[2026-09-18 14:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168911616001,"power":27767,"unknown_110":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6163527961610807296}} 
[2026-09-18 14:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":188814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:36:49] local.INFO: GPS data processed {"connection_id":188814,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:36:49] local.INFO: Acknowledgment sent {"connection_id":188814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:36:49] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:36:49] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:36:49] local.INFO: IMEI packet received {"connection_id":186194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":186194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:36:50] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c3ba40012d7b650005e0a0200005015f1c..."} 
[2026-09-18 14:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c3ba40012d7b650005e0a0200005015f1c..."} 
[2026-09-18 14:36:50] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c3ba40012d7b650005e0a0200005015f1c..."} 
[2026-09-18 14:36:50] local.INFO: Packet analysis {"connection_id":186194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:50] local.INFO: Extracted packet for processing {"connection_id":186194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:36:50] local.INFO: GPS Element Parsed {"raw_longitude":763061504,"raw_latitude":98607136,"longitude_deg":76.3061504,"latitude_deg":9.8607136,"altitude":5,"angle":351,"satellites":28,"speed":48,"hex_longitude":"2d7b6500","hex_latitude":"05e0a020","is_valid_coordinates":true} 
[2026-09-18 14:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168918272001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134681915180449792,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893061176925988864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789722344000,"timestamp_ms":1789722344000,"timestamp_seconds":1789722344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c3ba40"} 
[2026-09-18 14:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12103432604286976,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626886392832,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3015897864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3751489536,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3274803201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3833069571,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338783438,"corrected_to":0} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2147868606,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262496,"corrected_to":0} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-2305511525575555617,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.WARNING: Large IO value detected {"io_id":117,"raw_value":5188153373691019309,"note":"Value kept but may cause issues"} 
[2026-09-18 14:36:50] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,85,24,241,157,16,124,160,131,45,64,87,5,26,10,66,123,104,128,47,3,25,76,1,240,197,227,122,179,223,4,113,205,52,18,130,200,27,239,53,2,222,43,207,117],"length":528,"final_offset":658,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2338783438,"validated":0},{"io_id":200,"original":262496,"validated":0}]} 
[2026-09-18 14:36:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432732703993036800,"timestamp_seconds":432732703993036.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:36: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-09-18 14:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168918272001,"66":13646,"103":206,"85":15104,"24":48,"16":134681915180449792,"45":8893061176925988864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-18 14:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168918272001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:36:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 14:36:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134681915180449792,"km_value":134681915180449.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893061176925988864,"description":"Unknown IO ID 45"} 
[2026-09-18 14:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168918272001,"power":13646,"unknown_103":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8893061176925988864}} 
[2026-09-18 14:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":186194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:36:50] local.INFO: GPS data processed {"connection_id":186194,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:36:50] local.INFO: Acknowledgment sent {"connection_id":186194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:37:08] local.INFO: TCP Data received {"connection_id":186055,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c37fa8012d16e9c007226270008100f727..."} 
[2026-09-18 14:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c37fa8012d16e9c007226270008100f727..."} 
[2026-09-18 14:37:08] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c37fa8012d16e9c007226270008100f727..."} 
[2026-09-18 14:37:08] local.INFO: Packet analysis {"connection_id":186055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:08] local.INFO: Extracted packet for processing {"connection_id":186055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756476352,"raw_latitude":119693936,"longitude_deg":75.6476352,"latitude_deg":11.9693936,"altitude":129,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d16e9c0","hex_latitude":"07226270","is_valid_coordinates":true} 
[2026-09-18 14:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168910848001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361462228287488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651061875282178048,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789722329000,"timestamp_ms":1789722329000,"timestamp_seconds":1789722329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c37fa8"} 
[2026-09-18 14:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 14:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168910848001,"66":13928,"71":206,"28":31744,"24":0,"16":21361462228287488,"45":1651061875282178048},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168910848001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:37:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361462228287488,"km_value":21361462228287.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651061875282178048,"description":"Unknown IO ID 45"} 
[2026-09-18 14:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168910848001,"power":13928,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1651061875282178048}} 
[2026-09-18 14:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":186055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:37:09] local.INFO: GPS data processed {"connection_id":186055,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:37:09] local.INFO: Acknowledgment sent {"connection_id":186055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:37:12] local.INFO: TCP Data received {"connection_id":187485,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:37:12] local.INFO: Processing buffer {"connection_id":187485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:37:12] local.INFO: IMEI packet received {"connection_id":187485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":187485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:37:17] local.INFO: TCP Data received {"connection_id":187485,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:37:17] local.INFO: Processing buffer {"connection_id":187485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:37:17] local.INFO: IMEI packet received {"connection_id":187485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":187485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:37:17] local.INFO: TCP Data received {"connection_id":187485,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c38f48012d55c980067b1e50002100482c..."} 
[2026-09-18 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c38f48012d55c980067b1e50002100482c..."} 
[2026-09-18 14:37:17] local.INFO: Processing buffer {"connection_id":187485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c38f48012d55c980067b1e50002100482c..."} 
[2026-09-18 14:37:17] local.INFO: Packet analysis {"connection_id":187485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:17] local.INFO: Extracted packet for processing {"connection_id":187485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760596864,"raw_latitude":108731984,"longitude_deg":76.0596864,"latitude_deg":10.8731984,"altitude":33,"angle":72,"satellites":44,"speed":41,"hex_longitude":"2d55c980","hex_latitude":"067b1e50","is_valid_coordinates":true} 
[2026-09-18 14:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168914688001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405435077267292160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6172112948401659904,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789722333000,"timestamp_ms":1789722333000,"timestamp_seconds":1789722333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c38f48"} 
[2026-09-18 14:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:37: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-09-18 14:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168914688001,"66":27908,"110":206,"80":60928,"24":41,"16":405435077267292160,"45":6172112948401659904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168914688001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:37:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:37:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405435077267292160,"km_value":405435077267292.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6172112948401659904,"description":"Unknown IO ID 45"} 
[2026-09-18 14:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168914688001,"power":27908,"unknown_110":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":6172112948401659904}} 
[2026-09-18 14:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":187485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:37:18] local.INFO: GPS data processed {"connection_id":187485,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:37:18] local.INFO: Acknowledgment sent {"connection_id":187485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:37:25] local.INFO: TCP Data received {"connection_id":186195,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:37:25] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:37:25] local.INFO: IMEI packet received {"connection_id":186195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":186195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:37:30] local.INFO: TCP Data received {"connection_id":186195,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:37:30] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:37:30] local.INFO: IMEI packet received {"connection_id":186195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":186195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:37:31] local.INFO: TCP Data received {"connection_id":186195,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c3d1b0012d16e9c007226270008100f727..."} 
[2026-09-18 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c3d1b0012d16e9c007226270008100f727..."} 
[2026-09-18 14:37:31] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c3d1b0012d16e9c007226270008100f727..."} 
[2026-09-18 14:37:31] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:31] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756476352,"raw_latitude":119693936,"longitude_deg":75.6476352,"latitude_deg":11.9693936,"altitude":129,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d16e9c0","hex_latitude":"07226270","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168916224001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361462228287488,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651061875282178048,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722350000,"timestamp_ms":1789722350000,"timestamp_seconds":1789722350,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c3d1b0"} 
[2026-09-18 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-09-18 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-18 14:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168916224001,"66":14189,"71":206,"28":31744,"24":0,"16":21361462228287488,"45":1651061875282178048},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168916224001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361462228287488,"km_value":21361462228287.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651061875282178048,"description":"Unknown IO ID 45"} 
[2026-09-18 14:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168916224001,"power":14189,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1651061875282178048}} 
[2026-09-18 14:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:37:31] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:37:31] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:37:49] local.INFO: TCP Data received {"connection_id":187485,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c3ae88012d55ebc0067b27a80020004a2e..."} 
[2026-09-18 14:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c3ae88012d55ebc0067b27a80020004a2e..."} 
[2026-09-18 14:37:49] local.INFO: Processing buffer {"connection_id":187485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c3ae88012d55ebc0067b27a80020004a2e..."} 
[2026-09-18 14:37:49] local.INFO: Packet analysis {"connection_id":187485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:49] local.INFO: Extracted packet for processing {"connection_id":187485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:37:49] local.INFO: GPS Element Parsed {"raw_longitude":760605632,"raw_latitude":108734376,"longitude_deg":76.0605632,"latitude_deg":10.8734376,"altitude":32,"angle":74,"satellites":46,"speed":45,"hex_longitude":"2d55ebc0","hex_latitude":"067b27a8","is_valid_coordinates":true} 
[2026-09-18 14:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168917248001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405435511058989056,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6181612728866459648,"note":"Value kept but may cause issues"} 
[2026-09-18 14:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789722341000,"timestamp_ms":1789722341000,"timestamp_seconds":1789722341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c3ae88"} 
[2026-09-18 14:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 14:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168917248001,"66":27865,"110":206,"80":60928,"24":45,"16":405435511058989056,"45":6181612728866459648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168917248001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:37:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:37:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405435511058989056,"km_value":405435511058989.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6181612728866459648,"description":"Unknown IO ID 45"} 
[2026-09-18 14:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168917248001,"power":27865,"unknown_110":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":6181612728866459648}} 
[2026-09-18 14:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":187485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:37:49] local.INFO: GPS data processed {"connection_id":187485,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:37:49] local.INFO: Acknowledgment sent {"connection_id":187485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:38:03] local.INFO: TCP Data received {"connection_id":186195,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c52970012d16f940072272a00084005c2a..."} 
[2026-09-18 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c52970012d16f940072272a00084005c2a..."} 
[2026-09-18 14:38:03] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c52970012d16f940072272a00084005c2a..."} 
[2026-09-18 14:38:03] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c5"} 
[2026-09-18 14:38:03] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c5"} 
[2026-09-18 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756480320,"raw_latitude":119698080,"longitude_deg":75.648032,"latitude_deg":11.969808,"altitude":132,"angle":92,"satellites":42,"speed":11,"hex_longitude":"2d16f940","hex_latitude":"072272a0","is_valid_coordinates":true} 
[2026-09-18 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168943872001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361792940769280,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655072893701361664,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789722438000,"timestamp_ms":1789722438000,"timestamp_seconds":1789722438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c52970"} 
[2026-09-18 14:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 14:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168943872001,"66":13961,"71":206,"28":31744,"24":11,"16":21361792940769280,"45":1655072893701361664},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168943872001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361792940769280,"km_value":21361792940769.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655072893701361664,"description":"Unknown IO ID 45"} 
[2026-09-18 14:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168943872001,"power":13961,"unknown_71":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1655072893701361664}} 
[2026-09-18 14:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:38:03] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:38:03] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:38:12] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:38:12] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:38:12] local.INFO: IMEI packet received {"connection_id":186196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":186196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:38:17] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:38:17] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:38:17] local.INFO: IMEI packet received {"connection_id":186196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":186196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:38:25] local.INFO: TCP Data received {"connection_id":186057,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:25] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:25] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:38:25] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c3cdc8012d560e00067b31600020004a2e..."} 
[2026-09-18 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c3cdc8012d560e00067b31600020004a2e..."} 
[2026-09-18 14:38:25] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c3cdc8012d560e00067b31600020004a2e..."} 
[2026-09-18 14:38:25] local.INFO: Packet analysis {"connection_id":186196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:38:25] local.INFO: Extracted packet for processing {"connection_id":186196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c3"} 
[2026-09-18 14:38:25] local.INFO: GPS Element Parsed {"raw_longitude":760614400,"raw_latitude":108736864,"longitude_deg":76.06144,"latitude_deg":10.8736864,"altitude":32,"angle":74,"satellites":46,"speed":42,"hex_longitude":"2d560e00","hex_latitude":"067b3160","is_valid_coordinates":true} 
[2026-09-18 14:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168919296001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405435944850685952,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6191253246819411968,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789722349000,"timestamp_ms":1789722349000,"timestamp_seconds":1789722349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c3cdc8"} 
[2026-09-18 14:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 14:38:25] 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-09-18 14:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168919296001,"66":27876,"110":206,"80":60928,"24":42,"16":405435944850685952,"45":6191253246819411968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168919296001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:38:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:38:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405435944850685952,"km_value":405435944850685.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6191253246819411968,"description":"Unknown IO ID 45"} 
[2026-09-18 14:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168919296001,"power":27876,"unknown_110":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":6191253246819411968}} 
[2026-09-18 14:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":186196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:38:25] local.INFO: GPS data processed {"connection_id":186196,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:38:25] local.INFO: Acknowledgment sent {"connection_id":186196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:38:26] local.INFO: TCP Data received {"connection_id":186057,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:26] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:26] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:38:30] local.INFO: TCP Data received {"connection_id":186057,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:30] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:38:30] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:38:31] local.INFO: TCP Data received {"connection_id":186057,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c52d58012d16fa80072272580084006729..."} 
[2026-09-18 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c52d58012d16fa80072272580084006729..."} 
[2026-09-18 14:38:31] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c52d58012d16fa80072272580084006729..."} 
[2026-09-18 14:38:31] local.INFO: Packet analysis {"connection_id":186057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c5"} 
[2026-09-18 14:38:31] local.INFO: Extracted packet for processing {"connection_id":186057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c5"} 
[2026-09-18 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756480640,"raw_latitude":119698008,"longitude_deg":75.648064,"latitude_deg":11.9698008,"altitude":132,"angle":103,"satellites":41,"speed":12,"hex_longitude":"2d16fa80","hex_latitude":"07227258","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168944128001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21361805825671168,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655424737422254080,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722439000,"timestamp_ms":1789722439000,"timestamp_seconds":1789722439,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c52d58"} 
[2026-09-18 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-09-18 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 14:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168944128001,"66":13961,"71":206,"28":31744,"24":12,"16":21361805825671168,"45":1655424737422254080},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-18 14:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168944128001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:38:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 14:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21361805825671168,"km_value":21361805825671.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655424737422254080,"description":"Unknown IO ID 45"} 
[2026-09-18 14:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168944128001,"power":13961,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1655424737422254080}} 
[2026-09-18 14:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":186057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:38:32] local.INFO: GPS data processed {"connection_id":186057,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:38:32] local.INFO: Acknowledgment sent {"connection_id":186057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:38:35] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:38:35] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:38:35] local.INFO: IMEI packet received {"connection_id":186056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":186056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:38:57] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c41fd0012d562f00067b3ad80022004a2f..."} 
[2026-09-18 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c41fd0012d562f00067b3ad80022004a2f..."} 
[2026-09-18 14:38:57] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c41fd0012d562f00067b3ad80022004a2f..."} 
[2026-09-18 14:38:57] local.INFO: Packet analysis {"connection_id":186196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:38:57] local.INFO: Extracted packet for processing {"connection_id":186196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":760622848,"raw_latitude":108739288,"longitude_deg":76.0622848,"latitude_deg":10.8739288,"altitude":34,"angle":74,"satellites":47,"speed":9,"hex_longitude":"2d562f00","hex_latitude":"067b3ad8","is_valid_coordinates":true} 
[2026-09-18 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168921344001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405436365757480960,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6200893764772388864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789722370000,"timestamp_ms":1789722370000,"timestamp_seconds":1789722370,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c41fd0"} 
[2026-09-18 14:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:38:57] 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-09-18 14:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168921344001,"66":27800,"110":206,"80":60928,"24":9,"16":405436365757480960,"45":6200893764772388864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168921344001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:38:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:38:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405436365757480960,"km_value":405436365757480.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6200893764772388864,"description":"Unknown IO ID 45"} 
[2026-09-18 14:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168921344001,"power":27800,"unknown_110":206,"unknown_80":60928,"ignition":9,"odometer":null,"unknown_45":6200893764772388864}} 
[2026-09-18 14:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":186196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:38:57] local.INFO: GPS data processed {"connection_id":186196,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:38:57] local.INFO: Acknowledgment sent {"connection_id":186196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:39:03] local.INFO: TCP Data received {"connection_id":186057,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c5e4f0012d1749c007226cd8007a00a028..."} 
[2026-09-18 14:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c5e4f0012d1749c007226cd8007a00a028..."} 
[2026-09-18 14:39:03] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c5e4f0012d1749c007226cd8007a00a028..."} 
[2026-09-18 14:39:03] local.INFO: Packet analysis {"connection_id":186057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c5"} 
[2026-09-18 14:39:03] local.INFO: Extracted packet for processing {"connection_id":186057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c5"} 
[2026-09-18 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756500928,"raw_latitude":119696600,"longitude_deg":75.6500928,"latitude_deg":11.96966,"altitude":122,"angle":160,"satellites":40,"speed":10,"hex_longitude":"2d1749c0","hex_latitude":"07226cd8","is_valid_coordinates":true} 
[2026-09-18 14:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168956160001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21362853797691392,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678013104302972928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789722486000,"timestamp_ms":1789722486000,"timestamp_seconds":1789722486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c5e4f0"} 
[2026-09-18 14:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 14:39: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-09-18 14:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168956160001,"66":14374,"120":206,"28":31744,"24":10,"16":21362853797691392,"45":1678013104302972928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168956160001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:39:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21362853797691392,"km_value":21362853797691.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678013104302972928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168956160001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1678013104302972928}} 
[2026-09-18 14:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":186057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:39:03] local.INFO: GPS data processed {"connection_id":186057,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:39:03] local.INFO: Acknowledgment sent {"connection_id":186057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:39:17] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:39:17] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:39:17] local.INFO: IMEI packet received {"connection_id":188815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":188815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:39:22] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:39:22] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:39:22] local.INFO: IMEI packet received {"connection_id":188815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":188815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:39:24] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c46238012d565100067b44d00024004a30..."} 
[2026-09-18 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c46238012d565100067b44d00024004a30..."} 
[2026-09-18 14:39:24] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c46238012d565100067b44d00024004a30..."} 
[2026-09-18 14:39:24] local.INFO: Packet analysis {"connection_id":188815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:39:24] local.INFO: Extracted packet for processing {"connection_id":188815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:39:24] local.INFO: GPS Element Parsed {"raw_longitude":760631552,"raw_latitude":108741840,"longitude_deg":76.0631552,"latitude_deg":10.874184,"altitude":36,"angle":74,"satellites":48,"speed":29,"hex_longitude":"2d565100","hex_latitude":"067b44d0","is_valid_coordinates":true} 
[2026-09-18 14:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168926720001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405436799549177856,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6210182439004461056,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789722387000,"timestamp_ms":1789722387000,"timestamp_seconds":1789722387,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c46238"} 
[2026-09-18 14:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 14:39:24] 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-09-18 14:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168926720001,"66":27767,"110":206,"80":60928,"24":29,"16":405436799549177856,"45":6210182439004461056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168926720001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:39:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:39:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405436799549177856,"km_value":405436799549177.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6210182439004461056,"description":"Unknown IO ID 45"} 
[2026-09-18 14:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168926720001,"power":27767,"unknown_110":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":6210182439004461056}} 
[2026-09-18 14:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":188815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:39:24] local.INFO: GPS data processed {"connection_id":188815,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:39:24] local.INFO: Acknowledgment sent {"connection_id":188815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:39:25] local.INFO: TCP Data received {"connection_id":187486,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:39:25] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:39:25] local.INFO: IMEI packet received {"connection_id":187486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":187486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:39:29] local.INFO: TCP Data received {"connection_id":187486,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:39:29] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:39:29] local.INFO: IMEI packet received {"connection_id":187486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":187486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:39:29] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c49500012d5674c0067b4fd0002800442e..."} 
[2026-09-18 14:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c49500012d5674c0067b4fd0002800442e..."} 
[2026-09-18 14:39:29] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c49500012d5674c0067b4fd0002800442e..."} 
[2026-09-18 14:39:29] local.INFO: Packet analysis {"connection_id":188815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:39:29] local.INFO: Extracted packet for processing {"connection_id":188815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:39:29] local.INFO: GPS Element Parsed {"raw_longitude":760640704,"raw_latitude":108744656,"longitude_deg":76.0640704,"latitude_deg":10.8744656,"altitude":40,"angle":68,"satellites":46,"speed":32,"hex_longitude":"2d5674c0","hex_latitude":"067b4fd0","is_valid_coordinates":true} 
[2026-09-18 14:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168931072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437254815711232,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6219752588213276672,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789722400000,"timestamp_ms":1789722400000,"timestamp_seconds":1789722400,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c49500"} 
[2026-09-18 14:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:39: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-09-18 14:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:39: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-09-18 14:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168931072001,"66":27745,"110":206,"80":60928,"24":32,"16":405437254815711232,"45":6219752588213276672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168931072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:39:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:39:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437254815711232,"km_value":405437254815711.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6219752588213276672,"description":"Unknown IO ID 45"} 
[2026-09-18 14:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168931072001,"power":27745,"unknown_110":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6219752588213276672}} 
[2026-09-18 14:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":188815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:39:29] local.INFO: GPS data processed {"connection_id":188815,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:39:29] local.INFO: Acknowledgment sent {"connection_id":188815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:39:30] local.INFO: TCP Data received {"connection_id":187486,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c661f0012d17618007224740006a00a228..."} 
[2026-09-18 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c661f0012d17618007224740006a00a228..."} 
[2026-09-18 14:39:30] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c661f0012d17618007224740006a00a228..."} 
[2026-09-18 14:39:30] local.INFO: Packet analysis {"connection_id":187486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c6"} 
[2026-09-18 14:39:30] local.INFO: Extracted packet for processing {"connection_id":187486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c6"} 
[2026-09-18 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756507008,"raw_latitude":119686976,"longitude_deg":75.6507008,"latitude_deg":11.9686976,"altitude":106,"angle":162,"satellites":40,"speed":13,"hex_longitude":"2d176180","hex_latitude":"07224740","is_valid_coordinates":true} 
[2026-09-18 14:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168963840001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21363472272982016,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684346291276597248,"note":"Value kept but may cause issues"} 
[2026-09-18 14:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789722518000,"timestamp_ms":1789722518000,"timestamp_seconds":1789722518,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c661f0"} 
[2026-09-18 14:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:39: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-09-18 14:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 14:39: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-09-18 14:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168963840001,"66":13993,"120":206,"28":31744,"24":13,"16":21363472272982016,"45":1684346291276597248},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168963840001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:39:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:39:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21363472272982016,"km_value":21363472272982.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684346291276597248,"description":"Unknown IO ID 45"} 
[2026-09-18 14:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168963840001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1684346291276597248}} 
[2026-09-18 14:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":187486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:39:30] local.INFO: GPS data processed {"connection_id":187486,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:39:30] local.INFO: Acknowledgment sent {"connection_id":187486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:40:01] local.INFO: TCP Data received {"connection_id":187486,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c67190012d1763c0072242a00069009326..."} 
[2026-09-18 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c67190012d1763c0072242a00069009326..."} 
[2026-09-18 14:40:01] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c67190012d1763c0072242a00069009326..."} 
[2026-09-18 14:40:01] local.INFO: Packet analysis {"connection_id":187486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c6"} 
[2026-09-18 14:40:01] local.INFO: Extracted packet for processing {"connection_id":187486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c6"} 
[2026-09-18 14:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756507584,"raw_latitude":119685792,"longitude_deg":75.6507584,"latitude_deg":11.9685792,"altitude":105,"angle":147,"satellites":38,"speed":14,"hex_longitude":"2d1763c0","hex_latitude":"072242a0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168964608001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21363536697491456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684768503741497344,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789722522000,"timestamp_ms":1789722522000,"timestamp_seconds":1789722522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c67190"} 
[2026-09-18 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-09-18 14:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 14:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168964608001,"66":14374,"120":206,"28":31744,"24":14,"16":21363536697491456,"45":1684768503741497344},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168964608001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:40:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21363536697491456,"km_value":21363536697491.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684768503741497344,"description":"Unknown IO ID 45"} 
[2026-09-18 14:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168964608001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1684768503741497344}} 
[2026-09-18 14:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":187486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:40:01] local.INFO: GPS data processed {"connection_id":187486,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:40:01] local.INFO: Acknowledgment sent {"connection_id":187486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:40:12] local.INFO: TCP Data received {"connection_id":187487,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:40:12] local.INFO: Processing buffer {"connection_id":187487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:40:12] local.INFO: IMEI packet received {"connection_id":187487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":187487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:40:17] local.INFO: TCP Data received {"connection_id":187487,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:40:17] local.INFO: Processing buffer {"connection_id":187487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:40:17] local.INFO: IMEI packet received {"connection_id":187487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":187487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:40:22] local.INFO: TCP Data received {"connection_id":187487,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:40:22] local.INFO: Processing buffer {"connection_id":187487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:40:22] local.INFO: Packet analysis {"connection_id":187487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:40:22] local.INFO: Extracted packet for processing {"connection_id":187487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":760641472,"raw_latitude":108744976,"longitude_deg":76.0641472,"latitude_deg":10.8744976,"altitude":39,"angle":66,"satellites":47,"speed":33,"hex_longitude":"2d5677c0","hex_latitude":"067b5110","is_valid_coordinates":true} 
[2026-09-18 14:40: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-09-18 14:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6229815318631403520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789722401000,"timestamp_ms":1789722401000,"timestamp_seconds":1789722401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c498e8"} 
[2026-09-18 14:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934400001,"66":27876,"110":206,"80":60928,"24":33,"16":405437293470416896,"45":6229815318631403520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:40:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:40:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6229815318631403520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934400001,"power":27876,"unknown_110":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6229815318631403520}} 
[2026-09-18 14:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":187487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:40:22] local.INFO: GPS data processed {"connection_id":187487,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:40:22] local.INFO: Acknowledgment sent {"connection_id":187487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:40:23] local.INFO: TCP Data received {"connection_id":187488,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:23] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:23] local.INFO: IMEI packet received {"connection_id":187488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":187488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:40:25] local.INFO: TCP Data received {"connection_id":187488,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:25] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:25] local.INFO: IMEI packet received {"connection_id":187488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":187488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:40:30] local.INFO: TCP Data received {"connection_id":187488,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:30] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:40:30] local.INFO: IMEI packet received {"connection_id":187488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":187488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:40:31] local.INFO: TCP Data received {"connection_id":187488,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c72928012d179ac0072221e0005f00802a..."} 
[2026-09-18 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c72928012d179ac0072221e0005f00802a..."} 
[2026-09-18 14:40:31] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c72928012d179ac0072221e0005f00802a..."} 
[2026-09-18 14:40:31] local.INFO: Packet analysis {"connection_id":187488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c7"} 
[2026-09-18 14:40:31] local.INFO: Extracted packet for processing {"connection_id":187488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c7"} 
[2026-09-18 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756521664,"raw_latitude":119677408,"longitude_deg":75.6521664,"latitude_deg":11.9677408,"altitude":95,"angle":128,"satellites":42,"speed":13,"hex_longitude":"2d179ac0","hex_latitude":"072221e0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168976896001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21364365626179584,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700319996202551296,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722569000,"timestamp_ms":1789722569000,"timestamp_seconds":1789722569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c72928"} 
[2026-09-18 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-09-18 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 14:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168976896001,"66":14298,"120":206,"28":31744,"24":13,"16":21364365626179584,"45":1700319996202551296},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168976896001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:40:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21364365626179584,"km_value":21364365626179.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700319996202551296,"description":"Unknown IO ID 45"} 
[2026-09-18 14:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168976896001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1700319996202551296}} 
[2026-09-18 14:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":187488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:40:31] local.INFO: GPS data processed {"connection_id":187488,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:40:31] local.INFO: Acknowledgment sent {"connection_id":187488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:40:53] local.INFO: TCP Data received {"connection_id":187487,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:40:53] local.INFO: Processing buffer {"connection_id":187487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:40:53] local.INFO: Packet analysis {"connection_id":187487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:40:53] local.INFO: Extracted packet for processing {"connection_id":187487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:40:53] local.INFO: GPS Element Parsed {"raw_longitude":760641472,"raw_latitude":108744976,"longitude_deg":76.0641472,"latitude_deg":10.8744976,"altitude":39,"angle":66,"satellites":47,"speed":33,"hex_longitude":"2d5677c0","hex_latitude":"067b5110","is_valid_coordinates":true} 
[2026-09-18 14:40: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-09-18 14:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6229815318631403520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789722401000,"timestamp_ms":1789722401000,"timestamp_seconds":1789722401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c498e8"} 
[2026-09-18 14:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934400001,"66":27876,"110":206,"80":60928,"24":33,"16":405437293470416896,"45":6229815318631403520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:40:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:40:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6229815318631403520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934400001,"power":27876,"unknown_110":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6229815318631403520}} 
[2026-09-18 14:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":187487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:40:53] local.INFO: GPS data processed {"connection_id":187487,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:40:53] local.INFO: Acknowledgment sent {"connection_id":187487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:41:03] local.INFO: TCP Data received {"connection_id":187488,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c72d10012d179c0007222148005f007029..."} 
[2026-09-18 14:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c72d10012d179c0007222148005f007029..."} 
[2026-09-18 14:41:03] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c72d10012d179c0007222148005f007029..."} 
[2026-09-18 14:41:03] local.INFO: Packet analysis {"connection_id":187488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c7"} 
[2026-09-18 14:41:03] local.INFO: Extracted packet for processing {"connection_id":187488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c7"} 
[2026-09-18 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756521984,"raw_latitude":119677256,"longitude_deg":75.6521984,"latitude_deg":11.9677256,"altitude":95,"angle":112,"satellites":41,"speed":14,"hex_longitude":"2d179c00","hex_latitude":"07222148","is_valid_coordinates":true} 
[2026-09-18 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168977664001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21364382806048768,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700882946155732992,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789722570000,"timestamp_ms":1789722570000,"timestamp_seconds":1789722570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c72d10"} 
[2026-09-18 14:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 14:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168977664001,"66":13472,"120":206,"28":31744,"24":14,"16":21364382806048768,"45":1700882946155732992},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168977664001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:41:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21364382806048768,"km_value":21364382806048.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700882946155732992,"description":"Unknown IO ID 45"} 
[2026-09-18 14:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168977664001,"power":13472,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1700882946155732992}} 
[2026-09-18 14:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":187488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:41:03] local.INFO: GPS data processed {"connection_id":187488,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:41:03] local.INFO: Acknowledgment sent {"connection_id":187488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:41:12] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:41:12] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:41:12] local.INFO: IMEI packet received {"connection_id":188816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":188816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:41:17] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:41:17] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:41:17] local.INFO: IMEI packet received {"connection_id":188816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":188816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:41:19] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:41:19] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:41:19] local.INFO: Packet analysis {"connection_id":188816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:41:19] local.INFO: Extracted packet for processing {"connection_id":188816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:41:19] local.INFO: GPS Element Parsed {"raw_longitude":760641472,"raw_latitude":108744976,"longitude_deg":76.0641472,"latitude_deg":10.8744976,"altitude":39,"angle":66,"satellites":47,"speed":33,"hex_longitude":"2d5677c0","hex_latitude":"067b5110","is_valid_coordinates":true} 
[2026-09-18 14:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6229815318631403520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789722401000,"timestamp_ms":1789722401000,"timestamp_seconds":1789722401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c498e8"} 
[2026-09-18 14:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:41:19] 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-09-18 14:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:41:19] 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-09-18 14:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934400001,"66":27876,"110":206,"80":60928,"24":33,"16":405437293470416896,"45":6229815318631403520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:41:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:41:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6229815318631403520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934400001,"power":27876,"unknown_110":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6229815318631403520}} 
[2026-09-18 14:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":188816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:41:19] local.INFO: GPS data processed {"connection_id":188816,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:41:19] local.INFO: Acknowledgment sent {"connection_id":188816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:41:25] local.INFO: TCP Data received {"connection_id":188817,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:41:25] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:41:25] local.INFO: IMEI packet received {"connection_id":188817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":188817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:41:30] local.INFO: TCP Data received {"connection_id":188817,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:41:30] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:41:30] local.INFO: IMEI packet received {"connection_id":188817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":188817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:41:31] local.INFO: TCP Data received {"connection_id":188817,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c7c568012d17a9800721e178004f00ae2a..."} 
[2026-09-18 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c7c568012d17a9800721e178004f00ae2a..."} 
[2026-09-18 14:41:31] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c7c568012d17a9800721e178004f00ae2a..."} 
[2026-09-18 14:41:31] local.INFO: Packet analysis {"connection_id":188817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c7"} 
[2026-09-18 14:41:31] local.INFO: Extracted packet for processing {"connection_id":188817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c7"} 
[2026-09-18 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756525440,"raw_latitude":119660920,"longitude_deg":75.652544,"latitude_deg":11.966092,"altitude":79,"angle":174,"satellites":42,"speed":16,"hex_longitude":"2d17a980","hex_latitude":"0721e178","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168986112001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21365310518984704,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704331014616758272,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789722609000,"timestamp_ms":1789722609000,"timestamp_seconds":1789722609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c7c568"} 
[2026-09-18 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-09-18 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 14:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168986112001,"66":14396,"120":206,"28":31744,"24":16,"16":21365310518984704,"45":1704331014616758272},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168986112001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:41:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21365310518984704,"km_value":21365310518984.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704331014616758272,"description":"Unknown IO ID 45"} 
[2026-09-18 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168986112001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1704331014616758272}} 
[2026-09-18 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":188817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:41:31] local.INFO: GPS data processed {"connection_id":188817,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:41:31] local.INFO: Acknowledgment sent {"connection_id":188817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:41:50] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:41:50] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:41:50] local.INFO: Packet analysis {"connection_id":188816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:41:50] local.INFO: Extracted packet for processing {"connection_id":188816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:41:50] local.INFO: GPS Element Parsed {"raw_longitude":760641472,"raw_latitude":108744976,"longitude_deg":76.0641472,"latitude_deg":10.8744976,"altitude":39,"angle":66,"satellites":47,"speed":33,"hex_longitude":"2d5677c0","hex_latitude":"067b5110","is_valid_coordinates":true} 
[2026-09-18 14:41: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-09-18 14:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6229815318631403520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789722401000,"timestamp_ms":1789722401000,"timestamp_seconds":1789722401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c498e8"} 
[2026-09-18 14:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:41:50] 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-09-18 14: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:41:50] 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-09-18 14: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-09-18 14:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934400001,"66":27876,"110":206,"80":60928,"24":33,"16":405437293470416896,"45":6229815318631403520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:41:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:41:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6229815318631403520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934400001,"power":27876,"unknown_110":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6229815318631403520}} 
[2026-09-18 14:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":188816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:41:50] local.INFO: GPS data processed {"connection_id":188816,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:41:50] local.INFO: Acknowledgment sent {"connection_id":188816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:42:02] local.INFO: TCP Data received {"connection_id":188817,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c81770012d17aa800721c6c0004a00ab29..."} 
[2026-09-18 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c81770012d17aa800721c6c0004a00ab29..."} 
[2026-09-18 14:42:02] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c81770012d17aa800721c6c0004a00ab29..."} 
[2026-09-18 14:42:02] local.INFO: Packet analysis {"connection_id":188817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c8"} 
[2026-09-18 14:42:02] local.INFO: Extracted packet for processing {"connection_id":188817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c8"} 
[2026-09-18 14:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756525696,"raw_latitude":119654080,"longitude_deg":75.6525696,"latitude_deg":11.965408,"altitude":74,"angle":171,"satellites":41,"speed":10,"hex_longitude":"2d17aa80","hex_latitude":"0721c6c0","is_valid_coordinates":true} 
[2026-09-18 14:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168987904001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21365645526433792,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705034702057994240,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789722630000,"timestamp_ms":1789722630000,"timestamp_seconds":1789722630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c81770"} 
[2026-09-18 14:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 14:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168987904001,"66":14396,"120":206,"28":31744,"24":10,"16":21365645526433792,"45":1705034702057994240},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168987904001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:42:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21365645526433792,"km_value":21365645526433.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705034702057994240,"description":"Unknown IO ID 45"} 
[2026-09-18 14:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168987904001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1705034702057994240}} 
[2026-09-18 14:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":188817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:42:02] local.INFO: GPS data processed {"connection_id":188817,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:42:02] local.INFO: Acknowledgment sent {"connection_id":188817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:42:12] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:42:12] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:42:12] local.INFO: IMEI packet received {"connection_id":187489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":187489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:42:17] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:42:17] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:42:17] local.INFO: IMEI packet received {"connection_id":187489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":187489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:42:19] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:42:19] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c498e8012d5677c0067b5110002700422f..."} 
[2026-09-18 14:42:19] local.INFO: Packet analysis {"connection_id":187489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:42:19] local.INFO: Extracted packet for processing {"connection_id":187489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c4"} 
[2026-09-18 14:42:19] local.INFO: GPS Element Parsed {"raw_longitude":760641472,"raw_latitude":108744976,"longitude_deg":76.0641472,"latitude_deg":10.8744976,"altitude":39,"angle":66,"satellites":47,"speed":33,"hex_longitude":"2d5677c0","hex_latitude":"067b5110","is_valid_coordinates":true} 
[2026-09-18 14:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6229815318631403520,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789722401000,"timestamp_ms":1789722401000,"timestamp_seconds":1789722401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c498e8"} 
[2026-09-18 14:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:42:19] 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-09-18 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 14:42:19] 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-09-18 14: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-09-18 14:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934400001,"66":27876,"110":206,"80":60928,"24":33,"16":405437293470416896,"45":6229815318631403520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 14:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:42:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 14:42:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6229815318631403520,"description":"Unknown IO ID 45"} 
[2026-09-18 14:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934400001,"power":27876,"unknown_110":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6229815318631403520}} 
[2026-09-18 14:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":187489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:42:19] local.INFO: GPS data processed {"connection_id":187489,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:42:19] local.INFO: Acknowledgment sent {"connection_id":187489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:42:25] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:42:25] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:42:25] local.INFO: IMEI packet received {"connection_id":186058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":186058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:42:31] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:42:31] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:42:31] local.INFO: IMEI packet received {"connection_id":186058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":186058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:42:32] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c91170012d17e14007219160005300ae28..."} 
[2026-09-18 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c91170012d17e14007219160005300ae28..."} 
[2026-09-18 14:42:32] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c91170012d17e14007219160005300ae28..."} 
[2026-09-18 14:42:32] local.INFO: Packet analysis {"connection_id":186058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:42:32] local.INFO: Extracted packet for processing {"connection_id":186058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756539712,"raw_latitude":119640416,"longitude_deg":75.6539712,"latitude_deg":11.9640416,"altitude":83,"angle":174,"satellites":40,"speed":8,"hex_longitude":"2d17e140","hex_latitude":"07219160","is_valid_coordinates":true} 
[2026-09-18 14:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169009152001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21366796577669120,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720515825771923456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789722694000,"timestamp_ms":1789722694000,"timestamp_seconds":1789722694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c91170"} 
[2026-09-18 14:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 14:42:32] 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-09-18 14:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169009152001,"66":14004,"122":206,"28":31744,"24":8,"16":21366796577669120,"45":1720515825771923456},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-18 14:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169009152001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:42:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-18 14:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21366796577669120,"km_value":21366796577669.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720515825771923456,"description":"Unknown IO ID 45"} 
[2026-09-18 14:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169009152001,"power":14004,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1720515825771923456}} 
[2026-09-18 14:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":186058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:42:32] local.INFO: GPS data processed {"connection_id":186058,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:42:32] local.INFO: Acknowledgment sent {"connection_id":186058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:42:50] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:42:50] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:42:50] local.INFO: Packet analysis {"connection_id":187489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:42:50] local.INFO: Extracted packet for processing {"connection_id":187489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:42:50] 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-09-18 14:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:42:50] 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-09-18 14:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:42:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:42:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":187489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:42:50] local.INFO: GPS data processed {"connection_id":187489,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:42:50] local.INFO: Acknowledgment sent {"connection_id":187489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:43:03] local.INFO: TCP Data received {"connection_id":186058,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c9d0d8012d181d000721a6d8004b005228..."} 
[2026-09-18 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c9d0d8012d181d000721a6d8004b005228..."} 
[2026-09-18 14:43:03] local.INFO: Processing buffer {"connection_id":186058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c9d0d8012d181d000721a6d8004b005228..."} 
[2026-09-18 14:43:03] local.INFO: Packet analysis {"connection_id":186058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:03] local.INFO: Extracted packet for processing {"connection_id":186058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645912,"longitude_deg":75.6555008,"latitude_deg":11.9645912,"altitude":75,"angle":82,"satellites":40,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-09-18 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169021952001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21367810189950976,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399140352,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789722743000,"timestamp_ms":1789722743000,"timestamp_seconds":1789722743,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c9d0d8"} 
[2026-09-18 14:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:43: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-09-18 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 14:43: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-09-18 14:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169021952001,"66":13993,"120":206,"28":31744,"24":14,"16":21367810189950976,"45":1737122849399140352},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169021952001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:43:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21367810189950976,"km_value":21367810189950.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399140352,"description":"Unknown IO ID 45"} 
[2026-09-18 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169021952001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1737122849399140352}} 
[2026-09-18 14:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":186058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:43:04] local.INFO: GPS data processed {"connection_id":186058,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:43:04] local.INFO: Acknowledgment sent {"connection_id":186058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:43:13] local.INFO: TCP Data received {"connection_id":187491,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:43:13] local.INFO: Processing buffer {"connection_id":187491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:43:13] local.INFO: IMEI packet received {"connection_id":187491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":187491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:43:17] local.INFO: TCP Data received {"connection_id":187491,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:43:17] local.INFO: Processing buffer {"connection_id":187491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:43:17] local.INFO: IMEI packet received {"connection_id":187491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":187491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:43:19] local.INFO: TCP Data received {"connection_id":187491,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:43:19] local.INFO: Processing buffer {"connection_id":187491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:43:19] local.INFO: Packet analysis {"connection_id":187491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:19] local.INFO: Extracted packet for processing {"connection_id":187491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:19] 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-09-18 14:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:43:19] 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-09-18 14:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:43:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:43:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":187491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:43:19] local.INFO: GPS data processed {"connection_id":187491,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:43:19] local.INFO: Acknowledgment sent {"connection_id":187491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:43:30] local.INFO: TCP Data received {"connection_id":188818,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:43:30] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:43:30] local.INFO: IMEI packet received {"connection_id":188818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":188818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:43:35] local.INFO: TCP Data received {"connection_id":188818,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:43:35] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:43:35] local.INFO: IMEI packet received {"connection_id":188818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":188818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:43:36] local.INFO: TCP Data received {"connection_id":188818,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c9d4c0012d181e800721a6d8004b006328..."} 
[2026-09-18 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c9d4c0012d181e800721a6d8004b006328..."} 
[2026-09-18 14:43:36] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c9d4c0012d181e800721a6d8004b006328..."} 
[2026-09-18 14:43:36] local.INFO: Packet analysis {"connection_id":188818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:36] local.INFO: Extracted packet for processing {"connection_id":188818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645912,"longitude_deg":75.6555392,"latitude_deg":11.9645912,"altitude":75,"angle":99,"satellites":40,"speed":13,"hex_longitude":"2d181e80","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169022208001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21367827369820160,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864232960,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789722744000,"timestamp_ms":1789722744000,"timestamp_seconds":1789722744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c9d4c0"} 
[2026-09-18 14:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":169,"data_length":795,"current_offset":136} 
[2026-09-18 14:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169022208001,"66":14004,"120":206,"28":31744,"24":13,"16":21367827369820160,"45":1737545061864232960},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169022208001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:43:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21367827369820160,"km_value":21367827369820.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864232960,"description":"Unknown IO ID 45"} 
[2026-09-18 14:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169022208001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1737545061864232960}} 
[2026-09-18 14:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":188818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:43:36] local.INFO: GPS data processed {"connection_id":188818,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:43:36] local.INFO: Acknowledgment sent {"connection_id":188818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:43:51] local.INFO: TCP Data received {"connection_id":187491,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:43:51] local.INFO: Processing buffer {"connection_id":187491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:43:51] local.INFO: Packet analysis {"connection_id":187491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:51] local.INFO: Extracted packet for processing {"connection_id":187491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:43:51] 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-09-18 14:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:43:51] 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-09-18 14: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-09-18 14:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:43:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:43:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":187491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:43:51] local.INFO: GPS data processed {"connection_id":187491,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:43:51] local.INFO: Acknowledgment sent {"connection_id":187491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:44:08] local.INFO: TCP Data received {"connection_id":188818,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c9d8a8012d181f800721a678004b007328..."} 
[2026-09-18 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c9d8a8012d181f800721a678004b007328..."} 
[2026-09-18 14:44:08] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c9d8a8012d181f800721a678004b007328..."} 
[2026-09-18 14:44:08] local.INFO: Packet analysis {"connection_id":188818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:44:08] local.INFO: Extracted packet for processing {"connection_id":188818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645816,"longitude_deg":75.6555648,"latitude_deg":11.9645816,"altitude":75,"angle":115,"satellites":40,"speed":11,"hex_longitude":"2d181f80","hex_latitude":"0721a678","is_valid_coordinates":true} 
[2026-09-18 14:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169022464001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21367835959754752,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329298944,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789722745000,"timestamp_ms":1789722745000,"timestamp_seconds":1789722745,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c9d8a8"} 
[2026-09-18 14:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 14:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169022464001,"66":14004,"120":206,"28":31744,"24":11,"16":21367835959754752,"45":1737967274329298944},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 14:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169022464001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:44:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 14:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21367835959754752,"km_value":21367835959754.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329298944,"description":"Unknown IO ID 45"} 
[2026-09-18 14:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169022464001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737967274329298944}} 
[2026-09-18 14:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":188818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:44:08] local.INFO: GPS data processed {"connection_id":188818,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:44:08] local.INFO: Acknowledgment sent {"connection_id":188818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:44:10] local.INFO: TCP Data received {"connection_id":187490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:44:10] local.INFO: Processing buffer {"connection_id":187490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:44:10] local.INFO: IMEI packet received {"connection_id":187490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":187490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:44:17] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:44:17] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:44:17] local.INFO: IMEI packet received {"connection_id":186197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":186197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:44:22] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:44:22] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:44:22] local.INFO: IMEI packet received {"connection_id":186197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":186197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:44:25] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:44:25] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:44:25] local.INFO: Packet analysis {"connection_id":186197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:44:25] local.INFO: Extracted packet for processing {"connection_id":186197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:25] 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-09-18 14:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:44:25] 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-09-18 14:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:44:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:44:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":186197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:44:25] local.INFO: GPS data processed {"connection_id":186197,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:44:25] local.INFO: Acknowledgment sent {"connection_id":186197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:44:25] local.INFO: TCP Data received {"connection_id":186198,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:44:25] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:44:25] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:44:26] local.INFO: TCP Data received {"connection_id":186198,"ip":"117.225.196.200","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:44:26] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:44:26] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:44:27] local.INFO: TCP Data received {"connection_id":186198,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:44:27] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 14:44:27] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:44:27] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:44:27] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:44:27] local.INFO: Packet analysis {"connection_id":186197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:44:27] local.INFO: Extracted packet for processing {"connection_id":186197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:44:27] 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-09-18 14:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:44:27] 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-09-18 14:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:44:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:44:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":186197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:44:27] local.INFO: GPS data processed {"connection_id":186197,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:44:27] local.INFO: Acknowledgment sent {"connection_id":186197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:45:17] local.INFO: TCP Data received {"connection_id":186059,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:45:17] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:45:17] local.INFO: IMEI packet received {"connection_id":186059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":186059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:45:22] local.INFO: TCP Data received {"connection_id":186059,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:45:22] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:45:22] local.INFO: IMEI packet received {"connection_id":186059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":186059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:45:24] local.INFO: TCP Data received {"connection_id":186059,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:45:24] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:45:24] local.INFO: Packet analysis {"connection_id":186059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:45:24] local.INFO: Extracted packet for processing {"connection_id":186059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:45:24] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:45:24] 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-09-18 14:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:45:24] 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-09-18 14:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:45:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:45:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":186059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:45:25] local.INFO: GPS data processed {"connection_id":186059,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:45:25] local.INFO: Acknowledgment sent {"connection_id":186059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:45:28] local.INFO: TCP Data received {"connection_id":186059,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:45:28] local.INFO: Processing buffer {"connection_id":186059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:45:28] local.INFO: Packet analysis {"connection_id":186059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:45:28] local.INFO: Extracted packet for processing {"connection_id":186059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:45:28] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:45:28] 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-09-18 14:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:45:28] 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-09-18 14:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:45:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:45:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":186059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:45:28] local.INFO: GPS data processed {"connection_id":186059,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:45:28] local.INFO: Acknowledgment sent {"connection_id":186059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:46:12] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:46:12] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:46:12] local.INFO: IMEI packet received {"connection_id":188819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":188819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:46:17] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:46:17] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:46:17] local.INFO: IMEI packet received {"connection_id":188819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":188819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:46:18] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:46:18] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:46:18] local.INFO: Packet analysis {"connection_id":188819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:46:18] local.INFO: Extracted packet for processing {"connection_id":188819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:46:18] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:46:18] 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-09-18 14:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:46: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-09-18 14:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:46:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:46:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":188819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:46:18] local.INFO: GPS data processed {"connection_id":188819,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:46:18] local.INFO: Acknowledgment sent {"connection_id":188819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:46:49] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:46:49] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:46:49] local.INFO: Packet analysis {"connection_id":188819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:46:49] local.INFO: Extracted packet for processing {"connection_id":188819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:46:49] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:46:49] 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-09-18 14:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:46:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:46:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":188819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:46:49] local.INFO: GPS data processed {"connection_id":188819,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:46:49] local.INFO: Acknowledgment sent {"connection_id":188819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:47:12] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:47:12] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:47:12] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:47:17] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:47:17] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:47:17] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:47:18] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:47:18] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3c93c68012d569b40067b6410002800402e..."} 
[2026-09-18 14:47:18] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:47:18] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3c9"} 
[2026-09-18 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":46,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458168934656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230659743561617408,"note":"Value kept but may cause issues"} 
[2026-09-18 14:47:18] 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-09-18 14:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789722705000,"timestamp_ms":1789722705000,"timestamp_seconds":1789722705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3c93c68"} 
[2026-09-18 14:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:47: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-09-18 14:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458168934656001,"66":26408,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6230659743561617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458168934656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:47:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:47:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230659743561617408,"description":"Unknown IO ID 45"} 
[2026-09-18 14:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458168934656001,"power":26408,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6230659743561617408}} 
[2026-09-18 14:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:47:18] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:47:18] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:47:49] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:47:49] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:47:49] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:47:49] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:47:49] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:47:49] 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-09-18 14:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 14:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:47:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:47:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:47:49] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:47:49] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:48:12] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:48:12] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:48:12] local.INFO: IMEI packet received {"connection_id":186200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":186200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:48:17] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:48:17] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:48:17] local.INFO: IMEI packet received {"connection_id":186200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":186200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:48:18] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:48:18] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:48:18] local.INFO: Packet analysis {"connection_id":186200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:48:18] local.INFO: Extracted packet for processing {"connection_id":186200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:48:18] 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-09-18 14:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 14:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:48:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:48:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":186200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:48:18] local.INFO: GPS data processed {"connection_id":186200,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:48:18] local.INFO: Acknowledgment sent {"connection_id":186200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:48:49] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:48:49] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:48:49] local.INFO: Packet analysis {"connection_id":186200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:48:49] local.INFO: Extracted packet for processing {"connection_id":186200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:48:49] 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-09-18 14:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 14:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:48:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:48:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":186200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:48:49] local.INFO: GPS data processed {"connection_id":186200,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:48:49] local.INFO: Acknowledgment sent {"connection_id":186200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:49:12] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:49:12] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:49:12] local.INFO: IMEI packet received {"connection_id":186062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":186062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:49:17] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:49:17] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:49:17] local.INFO: IMEI packet received {"connection_id":186062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":186062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:49:18] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:49:18] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:49:18] local.INFO: Packet analysis {"connection_id":186062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:49:18] local.INFO: Extracted packet for processing {"connection_id":186062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:18] 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-09-18 14:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 14:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:49:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:49:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":186062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:49:18] local.INFO: GPS data processed {"connection_id":186062,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:49:18] local.INFO: Acknowledgment sent {"connection_id":186062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:49:30] local.INFO: TCP Data received {"connection_id":186202,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:49:30] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:49:30] local.INFO: IMEI packet received {"connection_id":186202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":186202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:49:31] local.INFO: TCP Data received {"connection_id":186202,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ce1e68012d19e14007200870003600ec29..."} 
[2026-09-18 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ce1e68012d19e14007200870003600ec29..."} 
[2026-09-18 14:49:31] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ce1e68012d19e14007200870003600ec29..."} 
[2026-09-18 14:49:31] local.INFO: Packet analysis {"connection_id":186202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:49:31] local.INFO: Extracted packet for processing {"connection_id":186202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756670784,"raw_latitude":119539824,"longitude_deg":75.6670784,"latitude_deg":11.9539824,"altitude":54,"angle":236,"satellites":41,"speed":7,"hex_longitude":"2d19e140","hex_latitude":"07200870","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169092096001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21376717952122880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865264332519571456,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723025000,"timestamp_ms":1789723025000,"timestamp_seconds":1789723025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ce1e68"} 
[2026-09-18 14:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 14:49: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-09-18 14: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-09-18 14:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169092096001,"66":13091,"121":206,"28":31744,"24":7,"16":21376717952122880,"45":1865264332519571456},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169092096001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:49:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21376717952122880,"km_value":21376717952122.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865264332519571456,"description":"Unknown IO ID 45"} 
[2026-09-18 14:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169092096001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1865264332519571456}} 
[2026-09-18 14:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":186202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:49:31] local.INFO: GPS data processed {"connection_id":186202,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:49:31] local.INFO: Acknowledgment sent {"connection_id":186202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:49:49] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:49:49] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:49:49] local.INFO: Packet analysis {"connection_id":186062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:49:49] local.INFO: Extracted packet for processing {"connection_id":186062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:49:49] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:49:49] 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-09-18 14:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 14:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:49:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:49:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":186062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:49:49] local.INFO: GPS data processed {"connection_id":186062,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:49:49] local.INFO: Acknowledgment sent {"connection_id":186062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:50:00] local.INFO: TCP Data received {"connection_id":187494,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:50:00] local.INFO: Processing buffer {"connection_id":187494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:50:00] local.INFO: IMEI packet received {"connection_id":187494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":187494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:50:03] local.INFO: TCP Data received {"connection_id":186202,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ce2250012d19e080072008480036011029..."} 
[2026-09-18 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ce2250012d19e080072008480036011029..."} 
[2026-09-18 14:50:03] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ce2250012d19e080072008480036011029..."} 
[2026-09-18 14:50:03] local.INFO: Packet analysis {"connection_id":186202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:50:03] local.INFO: Extracted packet for processing {"connection_id":186202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756670592,"raw_latitude":119539784,"longitude_deg":75.6670592,"latitude_deg":11.9539784,"altitude":54,"angle":272,"satellites":41,"speed":7,"hex_longitude":"2d19e080","hex_latitude":"07200848","is_valid_coordinates":true} 
[2026-09-18 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169094400001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21376726542057472,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864842120054468608,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723026000,"timestamp_ms":1789723026000,"timestamp_seconds":1789723026,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ce2250"} 
[2026-09-18 14:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:50: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-09-18 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 14:50: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-09-18 14:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169094400001,"66":13048,"121":206,"28":31744,"24":7,"16":21376726542057472,"45":1864842120054468608},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169094400001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:50:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21376726542057472,"km_value":21376726542057.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864842120054468608,"description":"Unknown IO ID 45"} 
[2026-09-18 14:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169094400001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1864842120054468608}} 
[2026-09-18 14:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":186202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:50:03] local.INFO: GPS data processed {"connection_id":186202,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:50:03] local.INFO: Acknowledgment sent {"connection_id":186202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:50:12] local.INFO: TCP Data received {"connection_id":187495,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:50:12] local.INFO: Processing buffer {"connection_id":187495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:50:12] local.INFO: IMEI packet received {"connection_id":187495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":187495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:50:17] local.INFO: TCP Data received {"connection_id":187495,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:50:17] local.INFO: Processing buffer {"connection_id":187495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:50:17] local.INFO: IMEI packet received {"connection_id":187495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":187495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:50:18] local.INFO: TCP Data received {"connection_id":187495,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:50:18] local.INFO: Processing buffer {"connection_id":187495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:50:18] local.INFO: Packet analysis {"connection_id":187495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:50:18] local.INFO: Extracted packet for processing {"connection_id":187495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:18] 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-09-18 14:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 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-09-18 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:50:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:50:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":187495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:50:18] local.INFO: GPS data processed {"connection_id":187495,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:50:18] local.INFO: Acknowledgment sent {"connection_id":187495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:50:24] local.INFO: TCP Data received {"connection_id":188820,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:24] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:24] local.INFO: IMEI packet received {"connection_id":188820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":188820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:50:25] local.INFO: TCP Data received {"connection_id":188820,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:25] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:25] local.INFO: IMEI packet received {"connection_id":188820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":188820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:50:30] local.INFO: TCP Data received {"connection_id":188820,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:30] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:50:30] local.INFO: IMEI packet received {"connection_id":188820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":188820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:50:31] local.INFO: TCP Data received {"connection_id":188820,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ce2638012d19e000072008800036012c28..."} 
[2026-09-18 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ce2638012d19e000072008800036012c28..."} 
[2026-09-18 14:50:31] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ce2638012d19e000072008800036012c28..."} 
[2026-09-18 14:50:31] local.INFO: Packet analysis {"connection_id":188820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:50:31] local.INFO: Extracted packet for processing {"connection_id":188820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756670464,"raw_latitude":119539840,"longitude_deg":75.6670464,"latitude_deg":11.953984,"altitude":54,"angle":300,"satellites":40,"speed":7,"hex_longitude":"2d19e000","hex_latitude":"07200880","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169094656001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21376735131992064,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864631013821925376,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723027000,"timestamp_ms":1789723027000,"timestamp_seconds":1789723027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ce2638"} 
[2026-09-18 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-09-18 14:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":248,"data_length":795,"current_offset":136} 
[2026-09-18 14:50: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-09-18 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-09-18 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-09-18 14:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169094656001,"66":13048,"121":206,"28":31744,"24":7,"16":21376735131992064,"45":1864631013821925376},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169094656001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:50:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21376735131992064,"km_value":21376735131992.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864631013821925376,"description":"Unknown IO ID 45"} 
[2026-09-18 14:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169094656001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1864631013821925376}} 
[2026-09-18 14:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":188820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:50:31] local.INFO: GPS data processed {"connection_id":188820,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:50:31] local.INFO: Acknowledgment sent {"connection_id":188820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:50:49] local.INFO: TCP Data received {"connection_id":187495,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:50:49] local.INFO: Processing buffer {"connection_id":187495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cdd430012d569b40067b6410002800402d..."} 
[2026-09-18 14:50:49] local.INFO: Packet analysis {"connection_id":187495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:50:49] local.INFO: Extracted packet for processing {"connection_id":187495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cd"} 
[2026-09-18 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":45,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169012480001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:50:49] 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-09-18 14:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723006000,"timestamp_ms":1789723006000,"timestamp_seconds":1789723006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cdd430"} 
[2026-09-18 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-09-18 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 14:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169012480001,"66":26169,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169012480001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:50:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:50:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169012480001,"power":26169,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":187495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:50:49] local.INFO: GPS data processed {"connection_id":187495,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:50:49] local.INFO: Acknowledgment sent {"connection_id":187495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:50:55] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:55] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:55] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:50:56] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:56] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:56] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:50:59] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:59] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:50:59] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:51:02] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3cfd3e8012d7b2a0005e23a600004016220..."} 
[2026-09-18 14:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3cfd3e8012d7b2a0005e23a600004016220..."} 
[2026-09-18 14:51:02] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3cfd3e8012d7b2a0005e23a600004016220..."} 
[2026-09-18 14:51:02] local.INFO: Packet analysis {"connection_id":186203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3cf"} 
[2026-09-18 14:51:02] local.INFO: Extracted packet for processing {"connection_id":186203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3cf"} 
[2026-09-18 14:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763046400,"raw_latitude":98712160,"longitude_deg":76.30464,"latitude_deg":9.871216,"altitude":4,"angle":354,"satellites":32,"speed":21,"hex_longitude":"2d7b2a00","hex_latitude":"05e23a60","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169118208001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134687103500943360,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876243047094388736,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:02] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 14:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789723137000,"timestamp_ms":1789723137000,"timestamp_seconds":1789723137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3cfd3e8"} 
[2026-09-18 14:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51: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-09-18 14: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 14:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169118208001,"66":13678,"24":21,"16":134687103500943360,"45":8876243047094388736},"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-09-18 14:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169118208001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134687103500943360,"km_value":134687103500943.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876243047094388736,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458169118208001,"power":13678,"ignition":21,"odometer":null,"unknown_45":8876243047094388736}} 
[2026-09-18 14:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":186203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:02] local.INFO: GPS data processed {"connection_id":186203,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:02] local.INFO: Acknowledgment sent {"connection_id":186203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:03] local.INFO: TCP Data received {"connection_id":188820,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ce2a20012d19df40072008f80036013b29..."} 
[2026-09-18 14:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ce2a20012d19df40072008f80036013b29..."} 
[2026-09-18 14:51:03] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ce2a20012d19df40072008f80036013b29..."} 
[2026-09-18 14:51:03] local.INFO: Packet analysis {"connection_id":188820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:51:03] local.INFO: Extracted packet for processing {"connection_id":188820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ce"} 
[2026-09-18 14:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119539960,"longitude_deg":75.6670272,"latitude_deg":11.953996,"altitude":54,"angle":315,"satellites":41,"speed":7,"hex_longitude":"2d19df40","hex_latitude":"072008f8","is_valid_coordinates":true} 
[2026-09-18 14:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169094912001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21376743721926656,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864490276333584384,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723028000,"timestamp_ms":1789723028000,"timestamp_seconds":1789723028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ce2a20"} 
[2026-09-18 14:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51: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-09-18 14: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 14:51: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-09-18 14:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169094912001,"66":13048,"121":206,"28":31744,"24":7,"16":21376743721926656,"45":1864490276333584384},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169094912001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21376743721926656,"km_value":21376743721926.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864490276333584384,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169094912001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1864490276333584384}} 
[2026-09-18 14:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":188820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:03] local.INFO: GPS data processed {"connection_id":188820,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:03] local.INFO: Acknowledgment sent {"connection_id":188820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:12] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:12] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:12] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:51:13] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:13] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:13] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:51:17] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:17] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:51:17] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:51:18] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d13f30012d569b40067b64100028004028..."} 
[2026-09-18 14:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d13f30012d569b40067b64100028004028..."} 
[2026-09-18 14:51:18] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d13f30012d569b40067b64100028004028..."} 
[2026-09-18 14:51:18] local.INFO: Packet analysis {"connection_id":188821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:18] local.INFO: Extracted packet for processing {"connection_id":188821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":760650560,"raw_latitude":108749840,"longitude_deg":76.065056,"latitude_deg":10.874984,"altitude":40,"angle":64,"satellites":40,"speed":0,"hex_longitude":"2d569b40","hex_latitude":"067b6410","is_valid_coordinates":true} 
[2026-09-18 14:51: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-09-18 14:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169089536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:18] 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-09-18 14:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723230000,"timestamp_ms":1789723230000,"timestamp_seconds":1789723230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d13f30"} 
[2026-09-18 14:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-18 14:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169089536001,"66":26147,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169089536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:51:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169089536001,"power":26147,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":188821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:18] local.INFO: GPS data processed {"connection_id":188821,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:18] local.INFO: Acknowledgment sent {"connection_id":188821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:26] local.INFO: TCP Data received {"connection_id":187496,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:26] local.INFO: Processing buffer {"connection_id":187496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:26] local.INFO: IMEI packet received {"connection_id":187496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":187496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:51:27] local.INFO: TCP Data received {"connection_id":187496,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:27] local.INFO: Processing buffer {"connection_id":187496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:27] local.INFO: IMEI packet received {"connection_id":187496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":187496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:51:30] local.INFO: TCP Data received {"connection_id":187496,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:30] local.INFO: Processing buffer {"connection_id":187496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:51:30] local.INFO: IMEI packet received {"connection_id":187496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":187496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:51:32] local.INFO: TCP Data received {"connection_id":187496,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d0e558012d19c600072022480033014228..."} 
[2026-09-18 14:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d0e558012d19c600072022480033014228..."} 
[2026-09-18 14:51:32] local.INFO: Processing buffer {"connection_id":187496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d0e558012d19c600072022480033014228..."} 
[2026-09-18 14:51:32] local.INFO: Packet analysis {"connection_id":187496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d0"} 
[2026-09-18 14:51:32] local.INFO: Extracted packet for processing {"connection_id":187496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d0"} 
[2026-09-18 14:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169135616001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789723207000,"timestamp_ms":1789723207000,"timestamp_seconds":1789723207,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d0e558"} 
[2026-09-18 14:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 14:51: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-09-18 14: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-09-18 14:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169135616001,"66":12852,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169135616001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169135616001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":187496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:32] local.INFO: GPS data processed {"connection_id":187496,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:32] local.INFO: Acknowledgment sent {"connection_id":187496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:36] local.INFO: TCP Data received {"connection_id":187496,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d13760012d19c600072022480033014227..."} 
[2026-09-18 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d13760012d19c600072022480033014227..."} 
[2026-09-18 14:51:36] local.INFO: Processing buffer {"connection_id":187496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d13760012d19c600072022480033014227..."} 
[2026-09-18 14:51:36] local.INFO: Packet analysis {"connection_id":187496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:36] local.INFO: Extracted packet for processing {"connection_id":187496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169140992001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789723228000,"timestamp_ms":1789723228000,"timestamp_seconds":1789723228,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d13760"} 
[2026-09-18 14:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 14:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169140992001,"66":12852,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169140992001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169140992001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":187496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:36] local.INFO: GPS data processed {"connection_id":187496,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:36] local.INFO: Acknowledgment sent {"connection_id":187496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:50] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d152b8012d569d40067b65d80028002a29..."} 
[2026-09-18 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d152b8012d569d40067b65d80028002a29..."} 
[2026-09-18 14:51:50] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d152b8012d569d40067b65d80028002a29..."} 
[2026-09-18 14:51:50] local.INFO: Packet analysis {"connection_id":188821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:50] local.INFO: Extracted packet for processing {"connection_id":188821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169146880001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240652105236090880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:50] 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-09-18 14:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723235000,"timestamp_ms":1789723235000,"timestamp_seconds":1789723235,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d152b8"} 
[2026-09-18 14:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51: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-09-18 14:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 14:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169146880001,"66":27767,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6240652105236090880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169146880001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:51:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240652105236090880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169146880001,"power":27767,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6240652105236090880}} 
[2026-09-18 14:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":188821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:50] local.INFO: GPS data processed {"connection_id":188821,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:50] local.INFO: Acknowledgment sent {"connection_id":188821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:50] local.INFO: TCP Data received {"connection_id":186063,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:51:50] local.INFO: Processing buffer {"connection_id":186063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:51:50] local.INFO: IMEI packet received {"connection_id":186063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":186063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:51:55] local.INFO: TCP Data received {"connection_id":186063,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:51:55] local.INFO: Processing buffer {"connection_id":186063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:51:55] local.INFO: IMEI packet received {"connection_id":186063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":186063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:51:56] local.INFO: TCP Data received {"connection_id":186063,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1db70012d7ae54005e3b430000d015828..."} 
[2026-09-18 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1db70012d7ae54005e3b430000d015828..."} 
[2026-09-18 14:51:56] local.INFO: Processing buffer {"connection_id":186063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1db70012d7ae54005e3b430000d015828..."} 
[2026-09-18 14:51:56] local.INFO: Packet analysis {"connection_id":186063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:56] local.INFO: Extracted packet for processing {"connection_id":186063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763028800,"raw_latitude":98808880,"longitude_deg":76.30288,"latitude_deg":9.880888,"altitude":13,"angle":344,"satellites":40,"speed":39,"hex_longitude":"2d7ae540","hex_latitude":"05e3b430","is_valid_coordinates":true} 
[2026-09-18 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153024001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134691892389478400,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858369386098110464,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:56] 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-09-18 14:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789723270000,"timestamp_ms":1789723270000,"timestamp_seconds":1789723270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1db70"} 
[2026-09-18 14:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51: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-09-18 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 14:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:51: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-09-18 14:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153024001,"66":13656,"208":206,"85":15104,"24":39,"16":134691892389478400,"45":8858369386098110464},"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-09-18 14:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153024001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134691892389478400,"km_value":134691892389478.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858369386098110464,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153024001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8858369386098110464}} 
[2026-09-18 14:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":186063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:56] local.INFO: GPS data processed {"connection_id":186063,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:56] local.INFO: Acknowledgment sent {"connection_id":186063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:51:57] local.INFO: TCP Data received {"connection_id":186063,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d20280012d7adbc005e3d5f0000c015a28..."} 
[2026-09-18 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d20280012d7adbc005e3d5f0000c015a28..."} 
[2026-09-18 14:51:57] local.INFO: Processing buffer {"connection_id":186063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d20280012d7adbc005e3d5f0000c015a28..."} 
[2026-09-18 14:51:57] local.INFO: Packet analysis {"connection_id":186063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:51:57] local.INFO: Extracted packet for processing {"connection_id":186063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763026368,"raw_latitude":98817520,"longitude_deg":76.3026368,"latitude_deg":9.881752,"altitude":12,"angle":346,"satellites":40,"speed":27,"hex_longitude":"2d7adbc0","hex_latitude":"05e3d5f0","is_valid_coordinates":true} 
[2026-09-18 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169157120001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134692330476142592,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855554636333199360,"note":"Value kept but may cause issues"} 
[2026-09-18 14:51:57] 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-09-18 14:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789723280000,"timestamp_ms":1789723280000,"timestamp_seconds":1789723280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d20280"} 
[2026-09-18 14:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 14:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:51: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-09-18 14:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169157120001,"66":13613,"208":206,"85":15104,"24":27,"16":134692330476142592,"45":8855554636333199360},"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-09-18 14:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169157120001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:51:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134692330476142592,"km_value":134692330476142.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855554636333199360,"description":"Unknown IO ID 45"} 
[2026-09-18 14:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169157120001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8855554636333199360}} 
[2026-09-18 14:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":186063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:51:57] local.INFO: GPS data processed {"connection_id":186063,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:51:57] local.INFO: Acknowledgment sent {"connection_id":186063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:52:08] local.INFO: TCP Data received {"connection_id":187496,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d18968012d19c600072022480033014227..."} 
[2026-09-18 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d18968012d19c600072022480033014227..."} 
[2026-09-18 14:52:08] local.INFO: Processing buffer {"connection_id":187496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d18968012d19c600072022480033014227..."} 
[2026-09-18 14:52:08] local.INFO: Packet analysis {"connection_id":187496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:08] local.INFO: Extracted packet for processing {"connection_id":187496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169146368001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789723249000,"timestamp_ms":1789723249000,"timestamp_seconds":1789723249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d18968"} 
[2026-09-18 14:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 14:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169146368001,"66":12863,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169146368001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:52:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169146368001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":187496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:52:08] local.INFO: GPS data processed {"connection_id":187496,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:52:08] local.INFO: Acknowledgment sent {"connection_id":187496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:52:17] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:52:17] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:52:17] local.INFO: IMEI packet received {"connection_id":187497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":187497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:52:22] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:52:22] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:52:22] local.INFO: IMEI packet received {"connection_id":187497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":187497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:52:23] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1a4c0012d569d40067b65d80028002a2d..."} 
[2026-09-18 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1a4c0012d569d40067b65d80028002a2d..."} 
[2026-09-18 14:52:23] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1a4c0012d569d40067b65d80028002a2d..."} 
[2026-09-18 14:52:23] local.INFO: Packet analysis {"connection_id":187497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:23] local.INFO: Extracted packet for processing {"connection_id":187497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169148160001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:23] 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-09-18 14:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789723256000,"timestamp_ms":1789723256000,"timestamp_seconds":1789723256,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1a4c0"} 
[2026-09-18 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-09-18 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 14:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 14:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169148160001,"66":27571,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169148160001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:52:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:52:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169148160001,"power":27571,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":187497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:52:23] local.INFO: GPS data processed {"connection_id":187497,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:52:23] local.INFO: Acknowledgment sent {"connection_id":187497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:52:25] local.INFO: TCP Data received {"connection_id":186064,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:52:25] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:52:25] local.INFO: IMEI packet received {"connection_id":186064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":186064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:52:30] local.INFO: TCP Data received {"connection_id":186063,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d23548012d7ad34005e3fa10000a015c26..."} 
[2026-09-18 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d23548012d7ad34005e3fa10000a015c26..."} 
[2026-09-18 14:52:30] local.INFO: Processing buffer {"connection_id":186063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d23548012d7ad34005e3fa10000a015c26..."} 
[2026-09-18 14:52:30] local.INFO: Packet analysis {"connection_id":186063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:52:30] local.INFO: Extracted packet for processing {"connection_id":186063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763024192,"raw_latitude":98826768,"longitude_deg":76.3024192,"latitude_deg":9.8826768,"altitude":10,"angle":348,"satellites":38,"speed":28,"hex_longitude":"2d7ad340","hex_latitude":"05e3fa10","is_valid_coordinates":true} 
[2026-09-18 14:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169159680001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134692790037643264,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852880624056659968,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:30] 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-09-18 14:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789723293000,"timestamp_ms":1789723293000,"timestamp_seconds":1789723293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d23548"} 
[2026-09-18 14:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:52: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-09-18 14:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-18 14:52:30] 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-09-18 14:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:52: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-09-18 14:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169159680001,"66":13580,"208":206,"85":15104,"24":28,"16":134692790037643264,"45":8852880624056659968},"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-09-18 14:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169159680001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:52:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134692790037643264,"km_value":134692790037643.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852880624056659968,"description":"Unknown IO ID 45"} 
[2026-09-18 14:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169159680001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8852880624056659968}} 
[2026-09-18 14:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":186063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:52:30] local.INFO: GPS data processed {"connection_id":186063,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:52:30] local.INFO: Acknowledgment sent {"connection_id":186063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:52:30] local.INFO: TCP Data received {"connection_id":186064,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:52:30] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:52:30] local.INFO: IMEI packet received {"connection_id":186064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":186064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:52:31] local.INFO: TCP Data received {"connection_id":186064,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1db70012d19c600072022480033014224..."} 
[2026-09-18 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1db70012d19c600072022480033014224..."} 
[2026-09-18 14:52:31] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1db70012d19c600072022480033014224..."} 
[2026-09-18 14:52:31] local.INFO: Packet analysis {"connection_id":186064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:31] local.INFO: Extracted packet for processing {"connection_id":186064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169151744001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723270000,"timestamp_ms":1789723270000,"timestamp_seconds":1789723270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1db70"} 
[2026-09-18 14:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 14:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169151744001,"66":12841,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169151744001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169151744001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":186064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:52:32] local.INFO: GPS data processed {"connection_id":186064,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:52:32] local.INFO: Acknowledgment sent {"connection_id":186064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:52:44] local.INFO: TCP Data received {"connection_id":187498,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:52:44] local.INFO: Processing buffer {"connection_id":187498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:52:44] local.INFO: IMEI packet received {"connection_id":187498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":187498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:52:50] local.INFO: TCP Data received {"connection_id":187498,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:52:50] local.INFO: Processing buffer {"connection_id":187498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:52:50] local.INFO: IMEI packet received {"connection_id":187498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":187498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:52:51] local.INFO: TCP Data received {"connection_id":187498,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d25488012d7acd8005e40ef80009014d26..."} 
[2026-09-18 14:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d25488012d7acd8005e40ef80009014d26..."} 
[2026-09-18 14:52:51] local.INFO: Processing buffer {"connection_id":187498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d25488012d7acd8005e40ef80009014d26..."} 
[2026-09-18 14:52:51] local.INFO: Packet analysis {"connection_id":187498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:52:51] local.INFO: Extracted packet for processing {"connection_id":187498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832120,"longitude_deg":76.302272,"latitude_deg":9.883212,"altitude":9,"angle":333,"satellites":38,"speed":25,"hex_longitude":"2d7acd80","hex_latitude":"05e40ef8","is_valid_coordinates":true} 
[2026-09-18 14:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169163008001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134693060620582912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850488086756986880,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52: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-09-18 14:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723301000,"timestamp_ms":1789723301000,"timestamp_seconds":1789723301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d25488"} 
[2026-09-18 14:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:52: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-09-18 14:52: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":12,"data_length":795,"current_offset":136} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3016822864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6635209716194607114,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3512115201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632921058181120,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812190208,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404094152960848384,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2220752896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.WARNING: Large IO value detected {"io_id":123,"raw_value":882711999834226691,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,134,160,2,45,192,213,12,40,10,66,133,219,64,180,13,156,1,240,78,227,179,4,113,205,35,47,5,72,29,239,52,222,27,123],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-18 14:52:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720958733636337664,"timestamp_seconds":720958733636337.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:52: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-09-18 14:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169163008001,"66":12972,"208":206,"85":15104,"24":25,"16":134693060620582912,"45":8850488086756986880},"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-09-18 14:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169163008001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:52:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134693060620582912,"km_value":134693060620582.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850488086756986880,"description":"Unknown IO ID 45"} 
[2026-09-18 14:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169163008001,"power":12972,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8850488086756986880}} 
[2026-09-18 14:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":187498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:52:51] local.INFO: GPS data processed {"connection_id":187498,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:52:51] local.INFO: Acknowledgment sent {"connection_id":187498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:52:55] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:52:55] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:52:55] local.INFO: Packet analysis {"connection_id":187497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:55] local.INFO: Extracted packet for processing {"connection_id":187497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:52:55] 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-09-18 14:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:52:55] 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-09-18 14: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-09-18 14:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:52:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:52:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":187497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:52:55] local.INFO: GPS data processed {"connection_id":187497,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:52:55] local.INFO: Acknowledgment sent {"connection_id":187497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:03] local.INFO: TCP Data received {"connection_id":186064,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d22d78012d19c60007202248003301422a..."} 
[2026-09-18 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d22d78012d19c60007202248003301422a..."} 
[2026-09-18 14:53:03] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d22d78012d19c60007202248003301422a..."} 
[2026-09-18 14:53:03] local.INFO: Packet analysis {"connection_id":186064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:03] local.INFO: Extracted packet for processing {"connection_id":186064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169157120001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723291000,"timestamp_ms":1789723291000,"timestamp_seconds":1789723291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d22d78"} 
[2026-09-18 14:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:53: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-09-18 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 14:53: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-09-18 14:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169157120001,"66":12004,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169157120001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169157120001,"power":12004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":186064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:03] local.INFO: GPS data processed {"connection_id":186064,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:03] local.INFO: Acknowledgment sent {"connection_id":186064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:12] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:53:12] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:53:12] local.INFO: IMEI packet received {"connection_id":188822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":188822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:53:17] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:53:17] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:53:17] local.INFO: IMEI packet received {"connection_id":188822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":188822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:53:19] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:53:19] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:53:19] local.INFO: Packet analysis {"connection_id":188822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:53:19] local.INFO: Extracted packet for processing {"connection_id":188822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:19] 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-09-18 14:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:53: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-09-18 14: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:53:19] 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-09-18 14:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:53:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:19] local.INFO: GPS data processed {"connection_id":188822,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:19] local.INFO: Acknowledgment sent {"connection_id":188822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:23] local.INFO: TCP Data received {"connection_id":187498,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d25c58012d7aca0005e413580009014126..."} 
[2026-09-18 14:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d25c58012d7aca0005e413580009014126..."} 
[2026-09-18 14:53:23] local.INFO: Processing buffer {"connection_id":187498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d25c58012d7aca0005e413580009014126..."} 
[2026-09-18 14:53:23] local.INFO: Packet analysis {"connection_id":187498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:23] local.INFO: Extracted packet for processing {"connection_id":187498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98833240,"longitude_deg":76.3021824,"latitude_deg":9.883324,"altitude":9,"angle":321,"satellites":38,"speed":28,"hex_longitude":"2d7aca00","hex_latitude":"05e41358","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169165056001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134693125045092352,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642270720,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53: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-09-18 14:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789723303000,"timestamp_ms":1789723303000,"timestamp_seconds":1789723303,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d25c58"} 
[2026-09-18 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-09-18 14:53:23] 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-09-18 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 14:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:53: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-09-18 14:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169165056001,"66":13678,"208":206,"85":15104,"24":28,"16":134693125045092352,"45":8848869605642270720},"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-09-18 14:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169165056001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:53:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134693125045092352,"km_value":134693125045092.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642270720,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169165056001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8848869605642270720}} 
[2026-09-18 14:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":187498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:23] local.INFO: GPS data processed {"connection_id":187498,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:23] local.INFO: Acknowledgment sent {"connection_id":187498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:25] local.INFO: TCP Data received {"connection_id":187499,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:53:25] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:53:25] local.INFO: IMEI packet received {"connection_id":187499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":187499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:53:30] local.INFO: TCP Data received {"connection_id":187499,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:53:30] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:53:30] local.INFO: IMEI packet received {"connection_id":187499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":187499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:53:31] local.INFO: TCP Data received {"connection_id":187499,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d27f80012d19c60007202248003301422a..."} 
[2026-09-18 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d27f80012d19c60007202248003301422a..."} 
[2026-09-18 14:53:31] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d27f80012d19c60007202248003301422a..."} 
[2026-09-18 14:53:31] local.INFO: Packet analysis {"connection_id":187499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:31] local.INFO: Extracted packet for processing {"connection_id":187499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169162496001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723312000,"timestamp_ms":1789723312000,"timestamp_seconds":1789723312,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d27f80"} 
[2026-09-18 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-09-18 14:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 14:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 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-09-18 14:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169162496001,"66":12841,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169162496001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169162496001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":187499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:31] local.INFO: GPS data processed {"connection_id":187499,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:31] local.INFO: Acknowledgment sent {"connection_id":187499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:45] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:45] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:45] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:53:46] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:46] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:46] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:53:50] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:50] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:53:50] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:53:51] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:53:51] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:53:51] local.INFO: Packet analysis {"connection_id":188822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:53:51] local.INFO: Extracted packet for processing {"connection_id":188822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:51] 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-09-18 14:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:53:51] 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-09-18 14:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:53:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":188822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:51] local.INFO: GPS data processed {"connection_id":188822,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:51] local.INFO: Acknowledgment sent {"connection_id":188822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:52] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d28368012d7ab3c005e42a500007013625..."} 
[2026-09-18 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d28368012d7ab3c005e42a500007013625..."} 
[2026-09-18 14:53:52] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d28368012d7ab3c005e42a500007013625..."} 
[2026-09-18 14:53:52] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:52] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763016128,"raw_latitude":98839120,"longitude_deg":76.3016128,"latitude_deg":9.883912,"altitude":7,"angle":310,"satellites":37,"speed":31,"hex_longitude":"2d7ab3c0","hex_latitude":"05e42a50","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169165568001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134693520182083584,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443224070144,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53: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-09-18 14:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789723313000,"timestamp_ms":1789723313000,"timestamp_seconds":1789723313,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d28368"} 
[2026-09-18 14:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:53:52] 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-09-18 14: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 14:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169165568001,"66":13559,"208":206,"85":15104,"24":31,"16":134693520182083584,"45":8847884443224070144},"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-09-18 14:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169165568001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134693520182083584,"km_value":134693520182083.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443224070144,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169165568001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8847884443224070144}} 
[2026-09-18 14:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:52] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:52] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:53:55] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d2b248012d7a978005e441580007013427..."} 
[2026-09-18 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d2b248012d7a978005e441580007013427..."} 
[2026-09-18 14:53:55] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d2b248012d7a978005e441580007013427..."} 
[2026-09-18 14:53:55] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:55] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763008896,"raw_latitude":98845016,"longitude_deg":76.3008896,"latitude_deg":9.8845016,"altitude":7,"angle":308,"satellites":39,"speed":31,"hex_longitude":"2d7a9780","hex_latitude":"05e44158","is_valid_coordinates":true} 
[2026-09-18 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169168128001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134693971153649664,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841621624993763328,"note":"Value kept but may cause issues"} 
[2026-09-18 14:53:55] 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-09-18 14:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789723325000,"timestamp_ms":1789723325000,"timestamp_seconds":1789723325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d2b248"} 
[2026-09-18 14:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:53:55] 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-09-18 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 14:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:53: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-09-18 14:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169168128001,"66":13646,"208":206,"85":15104,"24":31,"16":134693971153649664,"45":8841621624993763328},"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-09-18 14:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169168128001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:53:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 14:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 14:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134693971153649664,"km_value":134693971153649.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841621624993763328,"description":"Unknown IO ID 45"} 
[2026-09-18 14:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169168128001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8841621624993763328}} 
[2026-09-18 14:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:53:55] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:53:55] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:03] local.INFO: TCP Data received {"connection_id":187499,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d2d188012d19c600072022480033014229..."} 
[2026-09-18 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d2d188012d19c600072022480033014229..."} 
[2026-09-18 14:54:03] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d2d188012d19c600072022480033014229..."} 
[2026-09-18 14:54:03] local.INFO: Packet analysis {"connection_id":187499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:54:03] local.INFO: Extracted packet for processing {"connection_id":187499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d2"} 
[2026-09-18 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169167872001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723333000,"timestamp_ms":1789723333000,"timestamp_seconds":1789723333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d2d188"} 
[2026-09-18 14:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54: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-09-18 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 14:54: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-09-18 14:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169167872001,"66":12809,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169167872001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169167872001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":187499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:03] local.INFO: GPS data processed {"connection_id":187499,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:03] local.INFO: Acknowledgment sent {"connection_id":187499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:12] local.INFO: TCP Data received {"connection_id":186066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:54:12] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:54:12] local.INFO: IMEI packet received {"connection_id":186066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":186066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:54:17] local.INFO: TCP Data received {"connection_id":186066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:54:17] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:54:17] local.INFO: IMEI packet received {"connection_id":186066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":186066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:54:18] local.INFO: TCP Data received {"connection_id":186066,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:54:18] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:54:18] local.INFO: Packet analysis {"connection_id":186066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:54:18] local.INFO: Extracted packet for processing {"connection_id":186066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:54: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-09-18 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:18] 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-09-18 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:18] 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-09-18 14:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:54:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":186066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:18] local.INFO: GPS data processed {"connection_id":186066,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:18] local.INFO: Acknowledgment sent {"connection_id":186066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:27] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d467c8012d79e88005e54c18000a015b28..."} 
[2026-09-18 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d467c8012d79e88005e54c18000a015b28..."} 
[2026-09-18 14:54:27] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d467c8012d79e88005e54c18000a015b28..."} 
[2026-09-18 14:54:27] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:54:27] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:54:27] local.INFO: GPS Element Parsed {"raw_longitude":762964096,"raw_latitude":98913304,"longitude_deg":76.2964096,"latitude_deg":9.8913304,"altitude":10,"angle":347,"satellites":40,"speed":33,"hex_longitude":"2d79e880","hex_latitude":"05e54c18","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169196544001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134698042782646272,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786593267063398400,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789723437000,"timestamp_ms":1789723437000,"timestamp_seconds":1789723437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d467c8"} 
[2026-09-18 14:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169196544001,"66":13537,"39":206,"87":13824,"24":33,"16":134698042782646272,"45":8786593267063398400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-18 14:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169196544001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-18 14:54:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134698042782646272,"km_value":134698042782646.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786593267063398400,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169196544001,"power":13537,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8786593267063398400}} 
[2026-09-18 14:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:27] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:27] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:30] local.INFO: TCP Data received {"connection_id":187500,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:54:30] local.INFO: Processing buffer {"connection_id":187500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:54:30] local.INFO: IMEI packet received {"connection_id":187500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":187500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:54:35] local.INFO: TCP Data received {"connection_id":187500,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:54:35] local.INFO: Processing buffer {"connection_id":187500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:54:35] local.INFO: IMEI packet received {"connection_id":187500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":187500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:54:36] local.INFO: TCP Data received {"connection_id":187500,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d32390012d19c60007202248003301422a..."} 
[2026-09-18 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d32390012d19c60007202248003301422a..."} 
[2026-09-18 14:54:36] local.INFO: Processing buffer {"connection_id":187500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d32390012d19c60007202248003301422a..."} 
[2026-09-18 14:54:36] local.INFO: Packet analysis {"connection_id":187500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d3"} 
[2026-09-18 14:54:36] local.INFO: Extracted packet for processing {"connection_id":187500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d3"} 
[2026-09-18 14:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169173248001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789723354000,"timestamp_ms":1789723354000,"timestamp_seconds":1789723354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d32390"} 
[2026-09-18 14:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3016811864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-3417299726262221312,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747221284023488028,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4067622912,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2315492324114776616,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,242,160,127,45,34,51,42,10,66,219,1,240,41,179,32,4,113,205,55,198,72,39,239,50,2,75,7,124,115],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 14:54:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675291514772127744,"timestamp_seconds":3675291514772127.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169173248001,"66":12776,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169173248001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169173248001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":187500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:36] local.INFO: GPS data processed {"connection_id":187500,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:36] local.INFO: Acknowledgment sent {"connection_id":187500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:38] local.INFO: TCP Data received {"connection_id":187500,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d37598012d19c60007202248003301422b..."} 
[2026-09-18 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d37598012d19c60007202248003301422b..."} 
[2026-09-18 14:54:38] local.INFO: Processing buffer {"connection_id":187500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d37598012d19c60007202248003301422b..."} 
[2026-09-18 14:54:38] local.INFO: Packet analysis {"connection_id":187500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d3"} 
[2026-09-18 14:54:38] local.INFO: Extracted packet for processing {"connection_id":187500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d3"} 
[2026-09-18 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169178624001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789723375000,"timestamp_ms":1789723375000,"timestamp_seconds":1789723375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d37598"} 
[2026-09-18 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169178624001,"66":12776,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169178624001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169178624001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":187500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:38] local.INFO: GPS data processed {"connection_id":187500,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:38] local.INFO: Acknowledgment sent {"connection_id":187500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:45] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:45] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:45] local.INFO: IMEI packet received {"connection_id":186067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":186067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:54:47] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:47] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:47] local.INFO: IMEI packet received {"connection_id":186067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":186067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:54:49] local.INFO: TCP Data received {"connection_id":186066,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:54:49] local.INFO: Processing buffer {"connection_id":186066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:54:49] local.INFO: Packet analysis {"connection_id":186066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:54:49] local.INFO: Extracted packet for processing {"connection_id":186066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:49] 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-09-18 14:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:49] 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-09-18 14:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:54:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":186066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:49] local.INFO: GPS data processed {"connection_id":186066,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:49] local.INFO: Acknowledgment sent {"connection_id":186066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:50] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:50] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:54:50] local.INFO: IMEI packet received {"connection_id":186067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":186067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:54:51] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d48ed8012d79e10005e56e28000a015c28..."} 
[2026-09-18 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d48ed8012d79e10005e56e28000a015c28..."} 
[2026-09-18 14:54:51] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d48ed8012d79e10005e56e28000a015c28..."} 
[2026-09-18 14:54:51] local.INFO: Packet analysis {"connection_id":186067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:54:51] local.INFO: Extracted packet for processing {"connection_id":186067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":762962176,"raw_latitude":98922024,"longitude_deg":76.2962176,"latitude_deg":9.8922024,"altitude":10,"angle":348,"satellites":40,"speed":36,"hex_longitude":"2d79e100","hex_latitude":"05e56e28","is_valid_coordinates":true} 
[2026-09-18 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169199872001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134698472279375872,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784411835996313600,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723447000,"timestamp_ms":1789723447000,"timestamp_seconds":1789723447,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d48ed8"} 
[2026-09-18 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54: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-09-18 14:54: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":225,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:51] 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-09-18 14:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:54: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-09-18 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169199872001,"66":13515,"182":206,"87":13824,"24":36,"16":134698472279375872,"45":8784411835996313600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169199872001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:51] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:54:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134698472279375872,"km_value":134698472279375.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784411835996313600,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169199872001,"power":13515,"unknown_182":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8784411835996313600}} 
[2026-09-18 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":186067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:51] local.INFO: GPS data processed {"connection_id":186067,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:51] local.INFO: Acknowledgment sent {"connection_id":186067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:54:54] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d4b5e8012d79d98005e591b80007015c28..."} 
[2026-09-18 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d4b5e8012d79d98005e591b80007015c28..."} 
[2026-09-18 14:54:54] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d4b5e8012d79d98005e591b80007015c28..."} 
[2026-09-18 14:54:54] local.INFO: Packet analysis {"connection_id":186067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:54:54] local.INFO: Extracted packet for processing {"connection_id":186067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:54:54] local.INFO: GPS Element Parsed {"raw_longitude":762960256,"raw_latitude":98931128,"longitude_deg":76.2960256,"latitude_deg":9.8931128,"altitude":7,"angle":348,"satellites":40,"speed":33,"hex_longitude":"2d79d980","hex_latitude":"05e591b8","is_valid_coordinates":true} 
[2026-09-18 14:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169202432001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134698923250941952,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773673216000,"note":"Value kept but may cause issues"} 
[2026-09-18 14:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789723457000,"timestamp_ms":1789723457000,"timestamp_seconds":1789723457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d4b5e8"} 
[2026-09-18 14:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 14:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:54: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-09-18 14:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169202432001,"66":13341,"182":206,"87":13824,"24":33,"16":134698923250941952,"45":8782300773673216000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169202432001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:54:54] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:54:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134698923250941952,"km_value":134698923250941.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773673216000,"description":"Unknown IO ID 45"} 
[2026-09-18 14:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169202432001,"power":13341,"unknown_182":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8782300773673216000}} 
[2026-09-18 14:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":186067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:54:54] local.INFO: GPS data processed {"connection_id":186067,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:54:54] local.INFO: Acknowledgment sent {"connection_id":186067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:55:09] local.INFO: TCP Data received {"connection_id":187500,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d3c7a0012d19c600072022480033014227..."} 
[2026-09-18 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d3c7a0012d19c600072022480033014227..."} 
[2026-09-18 14:55:09] local.INFO: Processing buffer {"connection_id":187500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d3c7a0012d19c600072022480033014227..."} 
[2026-09-18 14:55:09] local.INFO: Packet analysis {"connection_id":187500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d3"} 
[2026-09-18 14:55:09] local.INFO: Extracted packet for processing {"connection_id":187500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d3"} 
[2026-09-18 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169184000001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789723396000,"timestamp_ms":1789723396000,"timestamp_seconds":1789723396,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d3c7a0"} 
[2026-09-18 14:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 14:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169184000001,"66":12776,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169184000001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:55:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169184000001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":187500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:55:09] local.INFO: GPS data processed {"connection_id":187500,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:55:09] local.INFO: Acknowledgment sent {"connection_id":187500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:55:12] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:55:12] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:55:12] local.INFO: IMEI packet received {"connection_id":186204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:55:17] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:55:17] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:55:17] local.INFO: IMEI packet received {"connection_id":186204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":186204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:55:17] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:55:17] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:55:17] local.INFO: Packet analysis {"connection_id":186204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:55:17] local.INFO: Extracted packet for processing {"connection_id":186204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:55: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-09-18 14:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:17] 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-09-18 14:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:55: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-09-18 14:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:55:17] 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-09-18 14:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:55:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:55:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":186204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:55:18] local.INFO: GPS data processed {"connection_id":186204,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:55:18] local.INFO: Acknowledgment sent {"connection_id":186204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:55:25] local.INFO: TCP Data received {"connection_id":188824,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:55:25] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:55:25] local.INFO: IMEI packet received {"connection_id":188824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":188824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:55:25] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d4dcf8012d79d54005e5aec00005000029..."} 
[2026-09-18 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d4dcf8012d79d54005e5aec00005000029..."} 
[2026-09-18 14:55:25] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d4dcf8012d79d54005e5aec00005000029..."} 
[2026-09-18 14:55:25] local.INFO: Packet analysis {"connection_id":186067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:55:25] local.INFO: Extracted packet for processing {"connection_id":186067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762959168,"raw_latitude":98938560,"longitude_deg":76.2959168,"latitude_deg":9.893856,"altitude":5,"angle":0,"satellites":41,"speed":30,"hex_longitude":"2d79d540","hex_latitude":"05e5aec0","is_valid_coordinates":true} 
[2026-09-18 14:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169204992001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134699288323162112,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780189711350216704,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789723467000,"timestamp_ms":1789723467000,"timestamp_seconds":1789723467,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d4dcf8"} 
[2026-09-18 14:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 14:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:55: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-09-18 14:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169204992001,"66":13526,"182":206,"87":13824,"24":30,"16":134699288323162112,"45":8780189711350216704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169204992001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:55:25] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134699288323162112,"km_value":134699288323162.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780189711350216704,"description":"Unknown IO ID 45"} 
[2026-09-18 14:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169204992001,"power":13526,"unknown_182":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8780189711350216704}} 
[2026-09-18 14:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":186067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:55:25] local.INFO: GPS data processed {"connection_id":186067,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:55:25] local.INFO: Acknowledgment sent {"connection_id":186067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:55:30] local.INFO: TCP Data received {"connection_id":188824,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:55:30] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:55:30] local.INFO: IMEI packet received {"connection_id":188824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":188824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:55:30] local.INFO: TCP Data received {"connection_id":186065,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:55:30] local.INFO: Processing buffer {"connection_id":186065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 14:55:30] local.INFO: IMEI packet received {"connection_id":186065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":186065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:55:31] local.INFO: TCP Data received {"connection_id":188824,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d419a8012d19c600072022480033014227..."} 
[2026-09-18 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d419a8012d19c600072022480033014227..."} 
[2026-09-18 14:55:31] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d419a8012d19c600072022480033014227..."} 
[2026-09-18 14:55:31] local.INFO: Packet analysis {"connection_id":188824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:55:31] local.INFO: Extracted packet for processing {"connection_id":188824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 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-09-18 14:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169189376001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723417000,"timestamp_ms":1789723417000,"timestamp_seconds":1789723417,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d419a8"} 
[2026-09-18 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-09-18 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":232,"data_length":795,"current_offset":136} 
[2026-09-18 14:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 14:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169189376001,"66":12776,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169189376001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:55:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169189376001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":188824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:55:31] local.INFO: GPS data processed {"connection_id":188824,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:55:31] local.INFO: Acknowledgment sent {"connection_id":188824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:55:45] local.INFO: TCP Data received {"connection_id":186068,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:55:45] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:55:45] local.INFO: IMEI packet received {"connection_id":186068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":186068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:55:48] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:55:48] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:55:48] local.INFO: Packet analysis {"connection_id":186204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:55:48] local.INFO: Extracted packet for processing {"connection_id":186204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:55:48] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:55: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-09-18 14:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:48] 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-09-18 14:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:55: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-09-18 14: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:55:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:55:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":186204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:55:48] local.INFO: GPS data processed {"connection_id":186204,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:55:48] local.INFO: Acknowledgment sent {"connection_id":186204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:55:49] local.INFO: TCP Data received {"connection_id":186068,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:55:49] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:55:49] local.INFO: IMEI packet received {"connection_id":186068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":186068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:55:50] local.INFO: TCP Data received {"connection_id":186068,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d4f850012d79d78005e5c1200007000e29..."} 
[2026-09-18 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d4f850012d79d78005e5c1200007000e29..."} 
[2026-09-18 14:55:50] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d4f850012d79d78005e5c1200007000e29..."} 
[2026-09-18 14:55:50] local.INFO: Packet analysis {"connection_id":186068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:55:50] local.INFO: Extracted packet for processing {"connection_id":186068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":762959744,"raw_latitude":98943264,"longitude_deg":76.2959744,"latitude_deg":9.8943264,"altitude":7,"angle":14,"satellites":41,"speed":25,"hex_longitude":"2d79d780","hex_latitude":"05e5c120","is_valid_coordinates":true} 
[2026-09-18 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169207552001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134699520251396096,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778993442701099008,"note":"Value kept but may cause issues"} 
[2026-09-18 14:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723474000,"timestamp_ms":1789723474000,"timestamp_seconds":1789723474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d4f850"} 
[2026-09-18 14:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 14:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:55: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-09-18 14:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169207552001,"66":13526,"182":206,"87":13824,"24":25,"16":134699520251396096,"45":8778993442701099008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169207552001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:55:50] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:55:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134699520251396096,"km_value":134699520251396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778993442701099008,"description":"Unknown IO ID 45"} 
[2026-09-18 14:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169207552001,"power":13526,"unknown_182":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8778993442701099008}} 
[2026-09-18 14:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":186068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:55:50] local.INFO: GPS data processed {"connection_id":186068,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:55:50] local.INFO: Acknowledgment sent {"connection_id":186068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:56:02] local.INFO: TCP Data received {"connection_id":188824,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d46bb0012d19c60007202248003301422a..."} 
[2026-09-18 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d46bb0012d19c60007202248003301422a..."} 
[2026-09-18 14:56:02] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d46bb0012d19c60007202248003301422a..."} 
[2026-09-18 14:56:02] local.INFO: Packet analysis {"connection_id":188824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:56:02] local.INFO: Extracted packet for processing {"connection_id":188824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d4"} 
[2026-09-18 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546440,"longitude_deg":75.6663808,"latitude_deg":11.954644,"altitude":51,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"07202248","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169194752001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21377198988460032,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940796928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789723438000,"timestamp_ms":1789723438000,"timestamp_seconds":1789723438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d46bb0"} 
[2026-09-18 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 14:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14: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-09-18 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 14:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169194752001,"66":12722,"121":206,"28":31744,"24":0,"16":21377198988460032,"45":1857171926940796928},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169194752001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21377198988460032,"km_value":21377198988460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940796928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169194752001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940796928}} 
[2026-09-18 14:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":188824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:56:02] local.INFO: GPS data processed {"connection_id":188824,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:56:02] local.INFO: Acknowledgment sent {"connection_id":188824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:56:12] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:56:12] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:56:12] local.INFO: IMEI packet received {"connection_id":187501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":187501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:56:17] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:56:17] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:56:17] local.INFO: IMEI packet received {"connection_id":187501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":187501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:56:18] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:56:18] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d1bc30012d569d40067b65d80028002a2f..."} 
[2026-09-18 14:56:18] local.INFO: Packet analysis {"connection_id":187501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:56:18] local.INFO: Extracted packet for processing {"connection_id":187501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d1"} 
[2026-09-18 14:56:18] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750296,"longitude_deg":76.0651072,"latitude_deg":10.8750296,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b65d8","is_valid_coordinates":true} 
[2026-09-18 14:56: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-09-18 14:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169153536001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:18] 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-09-18 14:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723262000,"timestamp_ms":1789723262000,"timestamp_seconds":1789723262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d1bc30"} 
[2026-09-18 14:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 14:56:18] 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-09-18 14:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169153536001,"66":27517,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169153536001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:56:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:56:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169153536001,"power":27517,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":187501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:56:18] local.INFO: GPS data processed {"connection_id":187501,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:56:18] local.INFO: Acknowledgment sent {"connection_id":187501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:56:21] local.INFO: TCP Data received {"connection_id":186068,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d52348012d79dc4005e5d8000007000227..."} 
[2026-09-18 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d52348012d79dc4005e5d8000007000227..."} 
[2026-09-18 14:56:21] local.INFO: Processing buffer {"connection_id":186068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d52348012d79dc4005e5d8000007000227..."} 
[2026-09-18 14:56:21] local.INFO: Packet analysis {"connection_id":186068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:56:21] local.INFO: Extracted packet for processing {"connection_id":186068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":762960960,"raw_latitude":98949120,"longitude_deg":76.296096,"latitude_deg":9.894912,"altitude":7,"angle":2,"satellites":39,"speed":16,"hex_longitude":"2d79dc40","hex_latitude":"05e5d800","is_valid_coordinates":true} 
[2026-09-18 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169209344001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134699812309172224,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779626761399902208,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789723485000,"timestamp_ms":1789723485000,"timestamp_seconds":1789723485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d52348"} 
[2026-09-18 14:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:56: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":214,"data_length":795,"current_offset":136} 
[2026-09-18 14:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169209344001,"66":13298,"182":206,"87":13824,"24":16,"16":134699812309172224,"45":8779626761399902208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169209344001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:56:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:56:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134699812309172224,"km_value":134699812309172.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779626761399902208,"description":"Unknown IO ID 45"} 
[2026-09-18 14:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169209344001,"power":13298,"unknown_182":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8779626761399902208}} 
[2026-09-18 14:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":186068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:56:21] local.INFO: GPS data processed {"connection_id":186068,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:56:21] local.INFO: Acknowledgment sent {"connection_id":186068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:56:24] local.INFO: TCP Data received {"connection_id":187502,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:24] local.INFO: Processing buffer {"connection_id":187502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:24] local.INFO: IMEI packet received {"connection_id":187502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 14:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":187502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:56:25] local.INFO: TCP Data received {"connection_id":187502,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:25] local.INFO: Processing buffer {"connection_id":187502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:25] local.INFO: IMEI packet received {"connection_id":187502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":187502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:56:27] local.INFO: TCP Data received {"connection_id":187502,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:27] local.INFO: Processing buffer {"connection_id":187502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:27] local.INFO: IMEI packet received {"connection_id":187502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":187502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:56:27] local.INFO: TCP Data received {"connection_id":187502,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:27] local.INFO: Processing buffer {"connection_id":187502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 14:56:27] local.INFO: IMEI packet received {"connection_id":187502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 14:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":187502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:56:44] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:56:44] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:56:44] local.INFO: IMEI packet received {"connection_id":186205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":186205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:56:49] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:56:49] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:56:49] local.INFO: Packet analysis {"connection_id":187501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:56:49] local.INFO: Extracted packet for processing {"connection_id":187501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:49] 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-09-18 14:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 14:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:56:49] 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-09-18 14:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:56:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:56:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":187501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:56:49] local.INFO: GPS data processed {"connection_id":187501,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:56:49] local.INFO: Acknowledgment sent {"connection_id":187501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:56:50] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:56:50] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:56:50] local.INFO: IMEI packet received {"connection_id":186205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":186205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:56:50] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d53ea0012d79dbc005e5e0e80006015727..."} 
[2026-09-18 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d53ea0012d79dbc005e5e0e80006015727..."} 
[2026-09-18 14:56:50] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d53ea0012d79dbc005e5e0e80006015727..."} 
[2026-09-18 14:56:50] local.INFO: Packet analysis {"connection_id":186205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:56:50] local.INFO: Extracted packet for processing {"connection_id":186205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":762960832,"raw_latitude":98951400,"longitude_deg":76.2960832,"latitude_deg":9.89514,"altitude":6,"angle":343,"satellites":39,"speed":12,"hex_longitude":"2d79dbc0","hex_latitude":"05e5e0e8","is_valid_coordinates":true} 
[2026-09-18 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169212160001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134699923978321920,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780963767540776960,"note":"Value kept but may cause issues"} 
[2026-09-18 14:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723492000,"timestamp_ms":1789723492000,"timestamp_seconds":1789723492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d53ea0"} 
[2026-09-18 14:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-18 14:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:56: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-09-18 14:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169212160001,"66":12798,"182":206,"87":13824,"24":12,"16":134699923978321920,"45":8780963767540776960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169212160001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:56:50] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:56:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134699923978321920,"km_value":134699923978321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780963767540776960,"description":"Unknown IO ID 45"} 
[2026-09-18 14:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169212160001,"power":12798,"unknown_182":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8780963767540776960}} 
[2026-09-18 14:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":186205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:56:50] local.INFO: GPS data processed {"connection_id":186205,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:56:50] local.INFO: Acknowledgment sent {"connection_id":186205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:57:22] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:57:22] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:57:22] local.INFO: IMEI packet received {"connection_id":187503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":187503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:57:22] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d54288012d79db0005e5e1f80006014b27..."} 
[2026-09-18 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d54288012d79db0005e5e1f80006014b27..."} 
[2026-09-18 14:57:22] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d54288012d79db0005e5e1f80006014b27..."} 
[2026-09-18 14:57:22] local.INFO: Packet analysis {"connection_id":186205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:57:22] local.INFO: Extracted packet for processing {"connection_id":186205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":762960640,"raw_latitude":98951672,"longitude_deg":76.296064,"latitude_deg":9.8951672,"altitude":6,"angle":331,"satellites":39,"speed":11,"hex_longitude":"2d79db00","hex_latitude":"05e5e1f8","is_valid_coordinates":true} 
[2026-09-18 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169213952001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134699936863223808,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780823030053005312,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789723493000,"timestamp_ms":1789723493000,"timestamp_seconds":1789723493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d54288"} 
[2026-09-18 14:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:57: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-09-18 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 14:57: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-09-18 14:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:57: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-09-18 14:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169213952001,"66":13428,"182":206,"87":13824,"24":11,"16":134699936863223808,"45":8780823030053005312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169213952001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:57:22] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:57:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134699936863223808,"km_value":134699936863223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780823030053005312,"description":"Unknown IO ID 45"} 
[2026-09-18 14:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169213952001,"power":13428,"unknown_182":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8780823030053005312}} 
[2026-09-18 14:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":186205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:57:22] local.INFO: GPS data processed {"connection_id":186205,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:57:22] local.INFO: Acknowledgment sent {"connection_id":186205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:57:27] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:57:27] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:57:27] local.INFO: IMEI packet received {"connection_id":187503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":187503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:57:28] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:57:28] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:57:28] local.INFO: Packet analysis {"connection_id":187503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:57:28] local.INFO: Extracted packet for processing {"connection_id":187503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:57:28] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 14:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:28] 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-09-18 14:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 14:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:57:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:57:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":187503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:57:28] local.INFO: GPS data processed {"connection_id":187503,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:57:28] local.INFO: Acknowledgment sent {"connection_id":187503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:57:44] local.INFO: TCP Data received {"connection_id":186206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:57:44] local.INFO: Processing buffer {"connection_id":186206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:57:44] local.INFO: IMEI packet received {"connection_id":186206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":186206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:57:50] local.INFO: TCP Data received {"connection_id":186206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:57:50] local.INFO: Processing buffer {"connection_id":186206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:57:50] local.INFO: IMEI packet received {"connection_id":186206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":186206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:57:50] local.INFO: TCP Data received {"connection_id":186206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d54a58012d79da8005e5e3b00007016228..."} 
[2026-09-18 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d54a58012d79da8005e5e3b00007016228..."} 
[2026-09-18 14:57:50] local.INFO: Processing buffer {"connection_id":186206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d54a58012d79da8005e5e3b00007016228..."} 
[2026-09-18 14:57:50] local.INFO: Packet analysis {"connection_id":186206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:57:50] local.INFO: Extracted packet for processing {"connection_id":186206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d5"} 
[2026-09-18 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":762960512,"raw_latitude":98952112,"longitude_deg":76.2960512,"latitude_deg":9.8952112,"altitude":7,"angle":354,"satellites":40,"speed":8,"hex_longitude":"2d79da80","hex_latitude":"05e5e3b0","is_valid_coordinates":true} 
[2026-09-18 14:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169214208001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134699962633027584,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780611923820541952,"note":"Value kept but may cause issues"} 
[2026-09-18 14:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723495000,"timestamp_ms":1789723495000,"timestamp_seconds":1789723495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d54a58"} 
[2026-09-18 14:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 14:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169214208001,"66":13243,"182":206,"87":13824,"24":8,"16":134699962633027584,"45":8780611923820541952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169214208001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:57:50] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:57:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134699962633027584,"km_value":134699962633027.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780611923820541952,"description":"Unknown IO ID 45"} 
[2026-09-18 14:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169214208001,"power":13243,"unknown_182":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8780611923820541952}} 
[2026-09-18 14:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":186206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:57:50] local.INFO: GPS data processed {"connection_id":186206,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:57:50] local.INFO: Acknowledgment sent {"connection_id":186206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:58:12] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:58:12] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:58:12] local.INFO: IMEI packet received {"connection_id":186208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:58:17] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:58:17] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:58:17] local.INFO: IMEI packet received {"connection_id":186208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":186208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:58:18] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:58:18] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:58:18] local.INFO: Packet analysis {"connection_id":186208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:58:18] local.INFO: Extracted packet for processing {"connection_id":186208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:18] 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-09-18 14:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 14:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:58:18] 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-09-18 14:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:58:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:58:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":186208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:58:18] local.INFO: GPS data processed {"connection_id":186208,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:58:18] local.INFO: Acknowledgment sent {"connection_id":186208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:58:21] local.INFO: TCP Data received {"connection_id":186206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d81918012d79cdc005e629800009014e25..."} 
[2026-09-18 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d81918012d79cdc005e629800009014e25..."} 
[2026-09-18 14:58:21] local.INFO: Processing buffer {"connection_id":186206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d81918012d79cdc005e629800009014e25..."} 
[2026-09-18 14:58:21] local.INFO: Packet analysis {"connection_id":186206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:58:21] local.INFO: Extracted packet for processing {"connection_id":186206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":762957248,"raw_latitude":98969984,"longitude_deg":76.2957248,"latitude_deg":9.8969984,"altitude":9,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d79cdc0","hex_latitude":"05e62980","is_valid_coordinates":true} 
[2026-09-18 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169256448001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134700851691257856,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8776882380383813632,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789723679000,"timestamp_ms":1789723679000,"timestamp_seconds":1789723679,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d81918"} 
[2026-09-18 14:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 14:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169256448001,"66":13189,"182":206,"87":13824,"24":0,"16":134700851691257856,"45":8776882380383813632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169256448001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:58:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:58:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134700851691257856,"km_value":134700851691257.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8776882380383813632,"description":"Unknown IO ID 45"} 
[2026-09-18 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169256448001,"power":13189,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8776882380383813632}} 
[2026-09-18 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":186206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:58:21] local.INFO: GPS data processed {"connection_id":186206,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:58:21] local.INFO: Acknowledgment sent {"connection_id":186206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:58:44] local.INFO: TCP Data received {"connection_id":186209,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:58:44] local.INFO: Processing buffer {"connection_id":186209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:58:44] local.INFO: IMEI packet received {"connection_id":186209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":186209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:58:50] local.INFO: TCP Data received {"connection_id":186209,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:58:50] local.INFO: Processing buffer {"connection_id":186209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:58:50] local.INFO: IMEI packet received {"connection_id":186209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":186209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:58:50] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:58:50] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:58:50] local.INFO: Packet analysis {"connection_id":186208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:58:50] local.INFO: Extracted packet for processing {"connection_id":186208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 14:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:50] 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-09-18 14:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 14:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:58:50] 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-09-18 14:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:58:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:58:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":186208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:58:50] local.INFO: GPS data processed {"connection_id":186208,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:58:50] local.INFO: Acknowledgment sent {"connection_id":186208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:58:51] local.INFO: TCP Data received {"connection_id":186209,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d828b8012d79ccc005e62af0000b015925..."} 
[2026-09-18 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d828b8012d79ccc005e62af0000b015925..."} 
[2026-09-18 14:58:51] local.INFO: Processing buffer {"connection_id":186209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d828b8012d79ccc005e62af0000b015925..."} 
[2026-09-18 14:58:51] local.INFO: Packet analysis {"connection_id":186209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:58:51] local.INFO: Extracted packet for processing {"connection_id":186209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":762956992,"raw_latitude":98970352,"longitude_deg":76.2956992,"latitude_deg":9.8970352,"altitude":11,"angle":345,"satellites":37,"speed":5,"hex_longitude":"2d79ccc0","hex_latitude":"05e62af0","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169261824001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134700873166094336,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8776882380383813632,"note":"Value kept but may cause issues"} 
[2026-09-18 14:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723683000,"timestamp_ms":1789723683000,"timestamp_seconds":1789723683,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d828b8"} 
[2026-09-18 14:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-18 14:58: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-09-18 14: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-09-18 14:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14: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-09-18 14:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169261824001,"66":13624,"182":206,"87":13824,"24":5,"16":134700873166094336,"45":8776882380383813632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169261824001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:58:51] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:58:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134700873166094336,"km_value":134700873166094.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8776882380383813632,"description":"Unknown IO ID 45"} 
[2026-09-18 14:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169261824001,"power":13624,"unknown_182":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8776882380383813632}} 
[2026-09-18 14:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":186209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:58:51] local.INFO: GPS data processed {"connection_id":186209,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:58:51] local.INFO: Acknowledgment sent {"connection_id":186209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:59:12] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:59:12] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:59:12] local.INFO: IMEI packet received {"connection_id":186210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 14:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":186210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:59:17] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:59:17] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 14:59:17] local.INFO: IMEI packet received {"connection_id":186210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 14:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":186210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:59:18] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:59:18] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:59:18] local.INFO: Packet analysis {"connection_id":186210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:59:18] local.INFO: Extracted packet for processing {"connection_id":186210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:59:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 14:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:18] 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-09-18 14:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 14:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:59:18] 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-09-18 14:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:59:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:59:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":186210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:59:18] local.INFO: GPS data processed {"connection_id":186210,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:59:18] local.INFO: Acknowledgment sent {"connection_id":186210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:59:22] local.INFO: TCP Data received {"connection_id":186209,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d86738012d79c48005e64f100009016226..."} 
[2026-09-18 14:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d86738012d79c48005e64f100009016226..."} 
[2026-09-18 14:59:22] local.INFO: Processing buffer {"connection_id":186209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d86738012d79c48005e64f100009016226..."} 
[2026-09-18 14:59:22] local.INFO: Packet analysis {"connection_id":186209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:59:22] local.INFO: Extracted packet for processing {"connection_id":186209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":762954880,"raw_latitude":98979600,"longitude_deg":76.295488,"latitude_deg":9.89796,"altitude":9,"angle":354,"satellites":38,"speed":27,"hex_longitude":"2d79c480","hex_latitude":"05e64f10","is_valid_coordinates":true} 
[2026-09-18 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169262848001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134701332727595008,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8776600905407197184,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789723699000,"timestamp_ms":1789723699000,"timestamp_seconds":1789723699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d86738"} 
[2026-09-18 14:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 14:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 14:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:59: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-09-18 14:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169262848001,"66":13580,"182":206,"87":13824,"24":27,"16":134701332727595008,"45":8776600905407197184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 14:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169262848001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:59:22] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 14:59:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134701332727595008,"km_value":134701332727595.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8776600905407197184,"description":"Unknown IO ID 45"} 
[2026-09-18 14:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169262848001,"power":13580,"unknown_182":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8776600905407197184}} 
[2026-09-18 14:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":186209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:59:22] local.INFO: GPS data processed {"connection_id":186209,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:59:22] local.INFO: Acknowledgment sent {"connection_id":186209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:59:50] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:59:50] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 14:59:50] local.INFO: Packet analysis {"connection_id":186210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:59:50] local.INFO: Extracted packet for processing {"connection_id":186210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 14:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:50] 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-09-18 14:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 14:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 14: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 14:59:50] 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-09-18 14:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 14:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 14:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 14:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 14:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 14:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 14:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 14:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 14:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:59:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 14:59:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 14:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 14:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 14:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":186210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:59:50] local.INFO: GPS data processed {"connection_id":186210,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:59:50] local.INFO: Acknowledgment sent {"connection_id":186210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:59:50] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:59:50] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:59:50] local.INFO: IMEI packet received {"connection_id":186069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":186069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 14:59:52] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:59:52] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 14:59:52] local.INFO: IMEI packet received {"connection_id":186069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 14:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":186069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 14:59:53] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d89de8012d79bfc005e673700007016324..."} 
[2026-09-18 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d89de8012d79bfc005e673700007016324..."} 
[2026-09-18 14:59:53] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d89de8012d79bfc005e673700007016324..."} 
[2026-09-18 14:59:53] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:59:53] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:59:53] local.INFO: GPS Element Parsed {"raw_longitude":762953664,"raw_latitude":98988912,"longitude_deg":76.2953664,"latitude_deg":9.8988912,"altitude":7,"angle":355,"satellites":36,"speed":25,"hex_longitude":"2d79bfc0","hex_latitude":"05e67370","is_valid_coordinates":true} 
[2026-09-18 14:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169266944001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134701792289095680,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774278736851701760,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789723713000,"timestamp_ms":1789723713000,"timestamp_seconds":1789723713,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d89de8"} 
[2026-09-18 14:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636109,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017199864,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5631188384073383946,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3614771201,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621511350,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221612073,"corrected_to":0} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341293893023223383,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2377515008,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3861479424,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-3620887614309007351,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,182,87,24,241,157,16,142,160,40,45,192,42,11,37,10,66,141,25,41,9,199,1,240,88,227,179,230,4,113,205,35,128,239,53,2,222,5,121,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3221612073,"validated":0}]} 
[2026-09-18 14:59:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648907736668110848,"timestamp_seconds":648907736668110.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 14:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:59: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-09-18 14:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169266944001,"66":13537,"181":206,"87":13824,"24":25,"16":134701792289095680,"45":8774278736851701760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 14:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169266944001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:59:53] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 14:59:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134701792289095680,"km_value":134701792289095.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774278736851701760,"description":"Unknown IO ID 45"} 
[2026-09-18 14:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169266944001,"power":13537,"unknown_181":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8774278736851701760}} 
[2026-09-18 14:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:59:53] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:59:53] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 14:59:55] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d8ec08012d79bd4005e697500007016324..."} 
[2026-09-18 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d8ec08012d79bd4005e697500007016324..."} 
[2026-09-18 14:59:55] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d8ec08012d79bd4005e697500007016324..."} 
[2026-09-18 14:59:55] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:59:55] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d8"} 
[2026-09-18 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762953024,"raw_latitude":98998096,"longitude_deg":76.2953024,"latitude_deg":9.8998096,"altitude":7,"angle":355,"satellites":36,"speed":22,"hex_longitude":"2d79bd40","hex_latitude":"05e69750","is_valid_coordinates":true} 
[2026-09-18 14: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-09-18 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169270528001,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134702238965694464,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772941730714710016,"note":"Value kept but may cause issues"} 
[2026-09-18 14:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 14:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789723733000,"timestamp_ms":1789723733000,"timestamp_seconds":1789723733,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d8ec08"} 
[2026-09-18 14:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 14: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 14:59:55] 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-09-18 14: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-09-18 14:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 14:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 14:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 14:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 14:59: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-09-18 14:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 14:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 14:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169270528001,"66":13602,"181":206,"87":13824,"24":22,"16":134702238965694464,"45":8772941730714710016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 14:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 14:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 14:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169270528001,"description":"Unknown IO ID 0"} 
[2026-09-18 14:59:55] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 14:59:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 14:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134702238965694464,"km_value":134702238965694.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 14:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772941730714710016,"description":"Unknown IO ID 45"} 
[2026-09-18 14:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169270528001,"power":13602,"unknown_181":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8772941730714710016}} 
[2026-09-18 14:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 14:59:55] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-18 14:59:55] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:00:12] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:00:12] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:00:12] local.INFO: IMEI packet received {"connection_id":186211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":186211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:00:17] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:00:17] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:00:17] local.INFO: IMEI packet received {"connection_id":186211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":186211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:00:17] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:00:17] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:00:17] local.INFO: Packet analysis {"connection_id":186211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:00:17] local.INFO: Extracted packet for processing {"connection_id":186211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:00:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:17] 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-09-18 15:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 15:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 15:00:17] 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-09-18 15:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:00:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:00:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 15:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 15:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":186211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:00:17] local.INFO: GPS data processed {"connection_id":186211,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:00:17] local.INFO: Acknowledgment sent {"connection_id":186211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:00:30] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d926a0012d79ba8005e6b9d80007016123..."} 
[2026-09-18 15:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d926a0012d79ba8005e6b9d80007016123..."} 
[2026-09-18 15:00:30] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d926a0012d79ba8005e6b9d80007016123..."} 
[2026-09-18 15:00:30] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:00:30] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:00:30] local.INFO: GPS Element Parsed {"raw_longitude":762952320,"raw_latitude":99006936,"longitude_deg":76.295232,"latitude_deg":9.9006936,"altitude":7,"angle":353,"satellites":35,"speed":26,"hex_longitude":"2d79ba80","hex_latitude":"05e6b9d8","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169275648001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134702668462424064,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772238043275284480,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789723748000,"timestamp_ms":1789723748000,"timestamp_seconds":1789723748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d926a0"} 
[2026-09-18 15:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 15:00:30] 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-09-18 15: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-09-18 15:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:00: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-09-18 15:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169275648001,"66":13559,"181":206,"87":13824,"24":26,"16":134702668462424064,"45":8772238043275284480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 15:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169275648001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:00:30] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 15:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134702668462424064,"km_value":134702668462424.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772238043275284480,"description":"Unknown IO ID 45"} 
[2026-09-18 15:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169275648001,"power":13559,"unknown_181":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8772238043275284480}} 
[2026-09-18 15:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:00:30] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:00:30] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:00:45] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:00:45] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:00:45] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:00:49] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:00:49] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:00:49] local.INFO: Packet analysis {"connection_id":186211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:00:49] local.INFO: Extracted packet for processing {"connection_id":186211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:49] 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-09-18 15:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 15:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 15:00:49] 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-09-18 15:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:00:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:00:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 15:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 15:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":186211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:00:49] local.INFO: GPS data processed {"connection_id":186211,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:00:49] local.INFO: Acknowledgment sent {"connection_id":186211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:00:50] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:00:50] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:00:50] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:00:51] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d95d50012d79b74005e6deb00009016022..."} 
[2026-09-18 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d95d50012d79b74005e6deb00009016022..."} 
[2026-09-18 15:00:51] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d95d50012d79b74005e6deb00009016022..."} 
[2026-09-18 15:00:51] local.INFO: Packet analysis {"connection_id":186212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:00:51] local.INFO: Extracted packet for processing {"connection_id":186212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99016368,"longitude_deg":76.2951488,"latitude_deg":9.9016368,"altitude":9,"angle":352,"satellites":34,"speed":27,"hex_longitude":"2d79b740","hex_latitude":"05e6deb0","is_valid_coordinates":true} 
[2026-09-18 15:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169279488001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134703128023924736,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771463987091593216,"note":"Value kept but may cause issues"} 
[2026-09-18 15:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723762000,"timestamp_ms":1789723762000,"timestamp_seconds":1789723762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d95d50"} 
[2026-09-18 15:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:00: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":247,"data_length":795,"current_offset":136} 
[2026-09-18 15:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:00: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-09-18 15:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169279488001,"66":13472,"181":206,"87":13824,"24":27,"16":134703128023924736,"45":8771463987091593216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 15:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169279488001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:00:51] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 15:00:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134703128023924736,"km_value":134703128023924.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771463987091593216,"description":"Unknown IO ID 45"} 
[2026-09-18 15:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169279488001,"power":13472,"unknown_181":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8771463987091593216}} 
[2026-09-18 15:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":186212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:00:51] local.INFO: GPS data processed {"connection_id":186212,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:00:51] local.INFO: Acknowledgment sent {"connection_id":186212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:01:05] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:01:05] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:01:05] local.INFO: IMEI packet received {"connection_id":186207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":186207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:01:17] local.INFO: TCP Data received {"connection_id":187505,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:01:17] local.INFO: Processing buffer {"connection_id":187505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:01:17] local.INFO: IMEI packet received {"connection_id":187505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":187505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:01:22] local.INFO: TCP Data received {"connection_id":187505,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:01:22] local.INFO: Processing buffer {"connection_id":187505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:01:22] local.INFO: IMEI packet received {"connection_id":187505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":187505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:01:22] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d99400012d79b3c005e703200009016126..."} 
[2026-09-18 15:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d99400012d79b3c005e703200009016126..."} 
[2026-09-18 15:01:22] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d99400012d79b3c005e703200009016126..."} 
[2026-09-18 15:01:22] local.INFO: Packet analysis {"connection_id":186212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:01:22] local.INFO: Extracted packet for processing {"connection_id":186212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:01:22] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99025696,"longitude_deg":76.2950592,"latitude_deg":9.9025696,"altitude":9,"angle":353,"satellites":38,"speed":24,"hex_longitude":"2d79b3c0","hex_latitude":"05e70320","is_valid_coordinates":true} 
[2026-09-18 15:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169283072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134703583290458112,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193419698176,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789723776000,"timestamp_ms":1789723776000,"timestamp_seconds":1789723776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d99400"} 
[2026-09-18 15:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 15:01: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-09-18 15:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:01: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-09-18 15:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169283072001,"66":13515,"181":206,"87":13824,"24":24,"16":134703583290458112,"45":8770549193419698176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 15:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169283072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:01:22] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 15:01:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134703583290458112,"km_value":134703583290458.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193419698176,"description":"Unknown IO ID 45"} 
[2026-09-18 15:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169283072001,"power":13515,"unknown_181":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8770549193419698176}} 
[2026-09-18 15:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":186212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:01:22] local.INFO: GPS data processed {"connection_id":186212,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:01:22] local.INFO: Acknowledgment sent {"connection_id":186212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:01:23] local.INFO: TCP Data received {"connection_id":187505,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:01:23] local.INFO: Processing buffer {"connection_id":187505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:01:23] local.INFO: Packet analysis {"connection_id":187505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:01:23] local.INFO: Extracted packet for processing {"connection_id":187505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:01:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:23] 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-09-18 15:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 15:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 15:01:23] 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-09-18 15:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:01:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:01:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 15:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 15:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":187505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:01:23] local.INFO: GPS data processed {"connection_id":187505,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:01:23] local.INFO: Acknowledgment sent {"connection_id":187505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:01:27] local.INFO: TCP Data received {"connection_id":187505,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:01:27] local.INFO: Processing buffer {"connection_id":187505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d65bc8012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:01:27] local.INFO: Packet analysis {"connection_id":187505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:01:27] local.INFO: Extracted packet for processing {"connection_id":187505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d6"} 
[2026-09-18 15:01:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169155072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189628928,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:27] 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-09-18 15:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789723565000,"timestamp_ms":1789723565000,"timestamp_seconds":1789723565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d65bc8"} 
[2026-09-18 15:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:01: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-09-18 15:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 15:01:27] 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-09-18 15:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169155072001,"66":26223,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189628928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169155072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:01:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:01:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189628928,"description":"Unknown IO ID 45"} 
[2026-09-18 15:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169155072001,"power":26223,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189628928}} 
[2026-09-18 15:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":187505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:01:27] local.INFO: GPS data processed {"connection_id":187505,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:01:27] local.INFO: Acknowledgment sent {"connection_id":187505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:01:30] local.INFO: TCP Data received {"connection_id":187506,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:01:30] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:01:30] local.INFO: IMEI packet received {"connection_id":187506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":187506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:01:31] local.INFO: TCP Data received {"connection_id":187506,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d93a28012d196880071febe00039010c2c..."} 
[2026-09-18 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d93a28012d196880071febe00039010c2c..."} 
[2026-09-18 15:01:31] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d93a28012d196880071febe00039010c2c..."} 
[2026-09-18 15:01:31] local.INFO: Packet analysis {"connection_id":187506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:01:31] local.INFO: Extracted packet for processing {"connection_id":187506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169275392001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723753000,"timestamp_ms":1789723753000,"timestamp_seconds":1789723753,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d93a28"} 
[2026-09-18 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-09-18 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 15:01: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-09-18 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-09-18 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-09-18 15:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169275392001,"66":13004,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169275392001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:01:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169275392001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":187506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:01:31] local.INFO: GPS data processed {"connection_id":187506,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:01:31] local.INFO: Acknowledgment sent {"connection_id":187506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:01:44] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:44] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:44] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:01:47] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:47] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:47] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:01:50] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:50] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:01:50] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:01:51] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d9ce98012d79b28005e726200008000125..."} 
[2026-09-18 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d9ce98012d79b28005e726200008000125..."} 
[2026-09-18 15:01:51] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d9ce98012d79b28005e726200008000125..."} 
[2026-09-18 15:01:51] local.INFO: Packet analysis {"connection_id":186071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:01:51] local.INFO: Extracted packet for processing {"connection_id":186071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":762950272,"raw_latitude":99034656,"longitude_deg":76.2950272,"latitude_deg":9.9034656,"altitude":8,"angle":1,"satellites":37,"speed":16,"hex_longitude":"2d79b280","hex_latitude":"05e72620","is_valid_coordinates":true} 
[2026-09-18 15:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169286656001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134704017082155008,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769564031003598848,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723791000,"timestamp_ms":1789723791000,"timestamp_seconds":1789723791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d9ce98"} 
[2026-09-18 15:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:01: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":203,"data_length":795,"current_offset":136} 
[2026-09-18 15:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:01: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-09-18 15:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169286656001,"66":12645,"181":206,"87":13824,"24":16,"16":134704017082155008,"45":8769564031003598848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 15:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169286656001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:01:51] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 15:01:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134704017082155008,"km_value":134704017082155.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769564031003598848,"description":"Unknown IO ID 45"} 
[2026-09-18 15:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169286656001,"power":12645,"unknown_181":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8769564031003598848}} 
[2026-09-18 15:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":186071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:01:51] local.INFO: GPS data processed {"connection_id":186071,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:01:51] local.INFO: Acknowledgment sent {"connection_id":186071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:01:52] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3da0548012d79b28005e74a78000a000227..."} 
[2026-09-18 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3da0548012d79b28005e74a78000a000227..."} 
[2026-09-18 15:01:52] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3da0548012d79b28005e74a78000a000227..."} 
[2026-09-18 15:01:52] local.INFO: Packet analysis {"connection_id":186071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:01:52] local.INFO: Extracted packet for processing {"connection_id":186071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":762950272,"raw_latitude":99043960,"longitude_deg":76.2950272,"latitude_deg":9.904396,"altitude":10,"angle":2,"satellites":39,"speed":29,"hex_longitude":"2d79b280","hex_latitude":"05e74a78","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169290496001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134704468053721088,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769212187285004288,"note":"Value kept but may cause issues"} 
[2026-09-18 15:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789723805000,"timestamp_ms":1789723805000,"timestamp_seconds":1789723805,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3da0548"} 
[2026-09-18 15:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 15:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:01: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-09-18 15:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169290496001,"66":13722,"181":206,"87":13824,"24":29,"16":134704468053721088,"45":8769212187285004288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-09-18 15:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169290496001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:01:52] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-18 15:01:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134704468053721088,"km_value":134704468053721.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769212187285004288,"description":"Unknown IO ID 45"} 
[2026-09-18 15:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169290496001,"power":13722,"unknown_181":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8769212187285004288}} 
[2026-09-18 15:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":186071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:01:52] local.INFO: GPS data processed {"connection_id":186071,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:01:52] local.INFO: Acknowledgment sent {"connection_id":186071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:02:04] local.INFO: TCP Data received {"connection_id":187506,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d98c30012d196880071febe00039010c2d..."} 
[2026-09-18 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d98c30012d196880071febe00039010c2d..."} 
[2026-09-18 15:02:04] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d98c30012d196880071febe00039010c2d..."} 
[2026-09-18 15:02:04] local.INFO: Packet analysis {"connection_id":187506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:02:04] local.INFO: Extracted packet for processing {"connection_id":187506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169280768001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789723774000,"timestamp_ms":1789723774000,"timestamp_seconds":1789723774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d98c30"} 
[2026-09-18 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-09-18 15:02: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-09-18 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169280768001,"66":12885,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169280768001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:02:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169280768001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":187506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:02:04] local.INFO: GPS data processed {"connection_id":187506,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:02:04] local.INFO: Acknowledgment sent {"connection_id":187506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:02:12] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:02:12] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:02:12] local.INFO: IMEI packet received {"connection_id":188827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:02:17] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:02:17] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:02:17] local.INFO: IMEI packet received {"connection_id":188827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:02:18] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:02:18] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:02:18] local.INFO: Packet analysis {"connection_id":188827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:02:18] local.INFO: Extracted packet for processing {"connection_id":188827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:18] 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-09-18 15:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:02:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:02:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":188827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:02:18] local.INFO: GPS data processed {"connection_id":188827,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:02:18] local.INFO: Acknowledgment sent {"connection_id":188827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:02:25] local.INFO: TCP Data received {"connection_id":186213,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:02:25] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:02:25] local.INFO: IMEI packet received {"connection_id":186213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":186213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:02:30] local.INFO: TCP Data received {"connection_id":186213,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:02:30] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:02:30] local.INFO: IMEI packet received {"connection_id":186213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":186213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:02:31] local.INFO: TCP Data received {"connection_id":186213,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3d9de38012d196880071febe00039010c2d..."} 
[2026-09-18 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3d9de38012d196880071febe00039010c2d..."} 
[2026-09-18 15:02:31] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3d9de38012d196880071febe00039010c2d..."} 
[2026-09-18 15:02:31] local.INFO: Packet analysis {"connection_id":186213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:02:31] local.INFO: Extracted packet for processing {"connection_id":186213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3d9"} 
[2026-09-18 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169286144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723795000,"timestamp_ms":1789723795000,"timestamp_seconds":1789723795,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3d9de38"} 
[2026-09-18 15:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:02: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-09-18 15: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-09-18 15:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169286144001,"66":12950,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169286144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:02:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169286144001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":186213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:02:31] local.INFO: GPS data processed {"connection_id":186213,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:02:31] local.INFO: Acknowledgment sent {"connection_id":186213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:02:50] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:02:50] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:02:50] local.INFO: Packet analysis {"connection_id":188827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:02:50] local.INFO: Extracted packet for processing {"connection_id":188827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:02:50] 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-09-18 15:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:02:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:02:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":188827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:02:50] local.INFO: GPS data processed {"connection_id":188827,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:02:50] local.INFO: Acknowledgment sent {"connection_id":188827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:03:03] local.INFO: TCP Data received {"connection_id":186213,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3da3040012d196880071febe00039010c2b..."} 
[2026-09-18 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3da3040012d196880071febe00039010c2b..."} 
[2026-09-18 15:03:03] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3da3040012d196880071febe00039010c2b..."} 
[2026-09-18 15:03:03] local.INFO: Packet analysis {"connection_id":186213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:03] local.INFO: Extracted packet for processing {"connection_id":186213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169291520001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723816000,"timestamp_ms":1789723816000,"timestamp_seconds":1789723816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3da3040"} 
[2026-09-18 15:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:03: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-09-18 15:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169291520001,"66":12950,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169291520001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:03:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169291520001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":186213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:03:03] local.INFO: GPS data processed {"connection_id":186213,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:03:03] local.INFO: Acknowledgment sent {"connection_id":186213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:03:12] local.INFO: TCP Data received {"connection_id":186214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:03:12] local.INFO: Processing buffer {"connection_id":186214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:03:12] local.INFO: IMEI packet received {"connection_id":186214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":186214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:03:17] local.INFO: TCP Data received {"connection_id":186214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:03:17] local.INFO: Processing buffer {"connection_id":186214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:03:17] local.INFO: IMEI packet received {"connection_id":186214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":186214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:03:18] local.INFO: TCP Data received {"connection_id":186214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:03:18] local.INFO: Processing buffer {"connection_id":186214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:03:18] local.INFO: Packet analysis {"connection_id":186214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:18] local.INFO: Extracted packet for processing {"connection_id":186214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:18] 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-09-18 15:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:03:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:03:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":186214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:03:18] local.INFO: GPS data processed {"connection_id":186214,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:03:18] local.INFO: Acknowledgment sent {"connection_id":186214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:03:24] local.INFO: TCP Data received {"connection_id":186072,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:03:24] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:03:24] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:03:30] local.INFO: TCP Data received {"connection_id":186072,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:03:30] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:03:30] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:03:31] local.INFO: TCP Data received {"connection_id":186072,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3da8248012d196880071febe00039010c2b..."} 
[2026-09-18 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3da8248012d196880071febe00039010c2b..."} 
[2026-09-18 15:03:31] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3da8248012d196880071febe00039010c2b..."} 
[2026-09-18 15:03:31] local.INFO: Packet analysis {"connection_id":186072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:31] local.INFO: Extracted packet for processing {"connection_id":186072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169296896001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789723837000,"timestamp_ms":1789723837000,"timestamp_seconds":1789723837,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3da8248"} 
[2026-09-18 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-09-18 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:03: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-09-18 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-09-18 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-09-18 15:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169296896001,"66":12917,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169296896001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169296896001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":186072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:03:31] local.INFO: GPS data processed {"connection_id":186072,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:03:31] local.INFO: Acknowledgment sent {"connection_id":186072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:03:51] local.INFO: TCP Data received {"connection_id":186214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:03:51] local.INFO: Processing buffer {"connection_id":186214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:03:51] local.INFO: Packet analysis {"connection_id":186214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:51] local.INFO: Extracted packet for processing {"connection_id":186214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:03:51] 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-09-18 15:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:03:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:03:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":186214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:03:51] local.INFO: GPS data processed {"connection_id":186214,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:03:51] local.INFO: Acknowledgment sent {"connection_id":186214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:04:03] local.INFO: TCP Data received {"connection_id":186072,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dad450012d196880071febe00039010c2d..."} 
[2026-09-18 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dad450012d196880071febe00039010c2d..."} 
[2026-09-18 15:04:03] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dad450012d196880071febe00039010c2d..."} 
[2026-09-18 15:04:03] local.INFO: Packet analysis {"connection_id":186072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:04:03] local.INFO: Extracted packet for processing {"connection_id":186072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169302272001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723858000,"timestamp_ms":1789723858000,"timestamp_seconds":1789723858,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dad450"} 
[2026-09-18 15:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:04: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-09-18 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 15:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169302272001,"66":12874,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169302272001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:04:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169302272001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":186072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:04:03] local.INFO: GPS data processed {"connection_id":186072,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:04:03] local.INFO: Acknowledgment sent {"connection_id":186072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:04:12] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:04:12] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:04:12] local.INFO: IMEI packet received {"connection_id":187508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":187508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:04:17] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:04:17] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:04:17] local.INFO: IMEI packet received {"connection_id":187508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":187508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:04:18] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:04:18] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:04:18] local.INFO: Packet analysis {"connection_id":187508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:04:18] local.INFO: Extracted packet for processing {"connection_id":187508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:18] 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-09-18 15:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:04:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:04:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":187508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:04:18] local.INFO: GPS data processed {"connection_id":187508,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:04:18] local.INFO: Acknowledgment sent {"connection_id":187508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:04:30] local.INFO: TCP Data received {"connection_id":186215,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:04:30] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:04:30] local.INFO: IMEI packet received {"connection_id":186215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":186215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:04:35] local.INFO: TCP Data received {"connection_id":186215,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:04:35] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:04:35] local.INFO: IMEI packet received {"connection_id":186215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":186215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:04:36] local.INFO: TCP Data received {"connection_id":186215,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db2658012d196880071febe00039010c29..."} 
[2026-09-18 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db2658012d196880071febe00039010c29..."} 
[2026-09-18 15:04:36] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db2658012d196880071febe00039010c29..."} 
[2026-09-18 15:04:36] local.INFO: Packet analysis {"connection_id":186215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:04:36] local.INFO: Extracted packet for processing {"connection_id":186215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169307648001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789723879000,"timestamp_ms":1789723879000,"timestamp_seconds":1789723879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db2658"} 
[2026-09-18 15:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 15:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169307648001,"66":12852,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169307648001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:04:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169307648001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":186215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:04:37] local.INFO: GPS data processed {"connection_id":186215,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:04:37] local.INFO: Acknowledgment sent {"connection_id":186215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:04:40] local.INFO: TCP Data received {"connection_id":186215,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db7860012d196880071febe00039010c2a..."} 
[2026-09-18 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db7860012d196880071febe00039010c2a..."} 
[2026-09-18 15:04:40] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db7860012d196880071febe00039010c2a..."} 
[2026-09-18 15:04:40] local.INFO: Packet analysis {"connection_id":186215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:04:40] local.INFO: Extracted packet for processing {"connection_id":186215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169313024001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789723900000,"timestamp_ms":1789723900000,"timestamp_seconds":1789723900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db7860"} 
[2026-09-18 15:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 15:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169313024001,"66":12809,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169313024001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:04:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169313024001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":186215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:04:40] local.INFO: GPS data processed {"connection_id":186215,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:04:40] local.INFO: Acknowledgment sent {"connection_id":186215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:04:49] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:04:49] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:04:49] local.INFO: Packet analysis {"connection_id":187508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:04:49] local.INFO: Extracted packet for processing {"connection_id":187508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:04:49] 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-09-18 15:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:04:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:04:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":187508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:04:49] local.INFO: GPS data processed {"connection_id":187508,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:04:49] local.INFO: Acknowledgment sent {"connection_id":187508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:05:12] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:05:12] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:05:12] local.INFO: IMEI packet received {"connection_id":186073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":186073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:05:17] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:05:17] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:05:17] local.INFO: IMEI packet received {"connection_id":186073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":186073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:05:18] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:05:18] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:05:18] local.INFO: Packet analysis {"connection_id":186073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:05:18] local.INFO: Extracted packet for processing {"connection_id":186073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:18] 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-09-18 15:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:05:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:05:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":186073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:05:18] local.INFO: GPS data processed {"connection_id":186073,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:05:18] local.INFO: Acknowledgment sent {"connection_id":186073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:05:25] local.INFO: TCP Data received {"connection_id":188828,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:05:25] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:05:25] local.INFO: IMEI packet received {"connection_id":188828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":188828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:05:27] local.INFO: TCP Data received {"connection_id":188828,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:05:27] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:05:27] local.INFO: IMEI packet received {"connection_id":188828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":188828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:05:28] local.INFO: TCP Data received {"connection_id":188828,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dbca68012d196880071febe00039010c2a..."} 
[2026-09-18 15:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dbca68012d196880071febe00039010c2a..."} 
[2026-09-18 15:05:28] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dbca68012d196880071febe00039010c2a..."} 
[2026-09-18 15:05:28] local.INFO: Packet analysis {"connection_id":188828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:05:28] local.INFO: Extracted packet for processing {"connection_id":188828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789723921000,"timestamp_ms":1789723921000,"timestamp_seconds":1789723921,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dbca68"} 
[2026-09-18 15:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017378864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-2793876633313253248,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887275109916,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300178326263761964,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,244,160,38,45,128,235,57,41,10,66,212,130,1,240,117,179,31,4,113,205,222,104,224,239,50,2,75,7,124,82],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:05:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577709666762752,"timestamp_seconds":4107577709666763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169318400001,"66":12819,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:05:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169318400001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":188828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:05:28] local.INFO: GPS data processed {"connection_id":188828,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:05:28] local.INFO: Acknowledgment sent {"connection_id":188828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:05:49] local.INFO: TCP Data received {"connection_id":186073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:05:49] local.INFO: Processing buffer {"connection_id":186073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:05:49] local.INFO: Packet analysis {"connection_id":186073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:05:49] local.INFO: Extracted packet for processing {"connection_id":186073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:05:49] 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-09-18 15:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:05:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:05:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":186073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:05:49] local.INFO: GPS data processed {"connection_id":186073,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:05:49] local.INFO: Acknowledgment sent {"connection_id":186073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:06:02] local.INFO: TCP Data received {"connection_id":188828,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dc1c70012d196880071febe00039010c2a..."} 
[2026-09-18 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dc1c70012d196880071febe00039010c2a..."} 
[2026-09-18 15:06:03] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dc1c70012d196880071febe00039010c2a..."} 
[2026-09-18 15:06:03] local.INFO: Packet analysis {"connection_id":188828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3dc"} 
[2026-09-18 15:06:03] local.INFO: Extracted packet for processing {"connection_id":188828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3dc"} 
[2026-09-18 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169323776001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723942000,"timestamp_ms":1789723942000,"timestamp_seconds":1789723942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dc1c70"} 
[2026-09-18 15:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:06: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-09-18 15: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":19,"data_length":795,"current_offset":136} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503925848932352,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017399864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-2770786889129957248,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":224,"raw_value":16045225461940224,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573969125860,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300178326263761965,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84751904605151211,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,244,160,120,45,128,235,57,42,10,66,38,41,212,1,240,74,179,31,4,113,205,48,104,224,43,239,50,2,75,7,124,82,69,40],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-09-18 15:06:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577709666762752,"timestamp_seconds":4107577709666763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169323776001,"66":12809,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169323776001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:06:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169323776001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":188828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:06:03] local.INFO: GPS data processed {"connection_id":188828,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:06:03] local.INFO: Acknowledgment sent {"connection_id":188828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:06:17] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:06:17] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:06:17] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:06:22] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:06:22] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:06:22] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:06:23] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:06:23] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:06:23] local.INFO: Packet analysis {"connection_id":188829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:06:23] local.INFO: Extracted packet for processing {"connection_id":188829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:23] 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-09-18 15:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:06:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:06:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":188829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:06:23] local.INFO: GPS data processed {"connection_id":188829,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:06:23] local.INFO: Acknowledgment sent {"connection_id":188829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:06:25] local.INFO: TCP Data received {"connection_id":186074,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:06:25] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:06:25] local.INFO: IMEI packet received {"connection_id":186074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":186074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:06:27] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:06:27] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3daf390012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:06:27] local.INFO: Packet analysis {"connection_id":188829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:06:27] local.INFO: Extracted packet for processing {"connection_id":188829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:06:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169232640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:27] 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-09-18 15:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789723866000,"timestamp_ms":1789723866000,"timestamp_seconds":1789723866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3daf390"} 
[2026-09-18 15:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:06: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-09-18 15:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 15:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169232640001,"66":26115,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169232640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:06:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:06:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169232640001,"power":26115,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":188829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:06:27] local.INFO: GPS data processed {"connection_id":188829,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:06:27] local.INFO: Acknowledgment sent {"connection_id":188829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:06:30] local.INFO: TCP Data received {"connection_id":186074,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:06:30] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:06:30] local.INFO: IMEI packet received {"connection_id":186074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":186074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:06:32] local.INFO: TCP Data received {"connection_id":186074,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dc6e78012d196880071febe00039010c2c..."} 
[2026-09-18 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dc6e78012d196880071febe00039010c2c..."} 
[2026-09-18 15:06:32] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dc6e78012d196880071febe00039010c2c..."} 
[2026-09-18 15:06:32] local.INFO: Packet analysis {"connection_id":186074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3dc"} 
[2026-09-18 15:06:32] local.INFO: Extracted packet for processing {"connection_id":186074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3dc"} 
[2026-09-18 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169329152001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789723963000,"timestamp_ms":1789723963000,"timestamp_seconds":1789723963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dc6e78"} 
[2026-09-18 15:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":9,"data_length":795,"current_offset":136} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017420864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-2747697144946661248,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573969125860,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300178326263761965,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,244,160,202,45,128,235,57,42,10,66,120,38,1,240,52,179,31,4,113,205,130,104,224,43,239,50,2,75,7,124,82],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:06:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577709666762752,"timestamp_seconds":4107577709666763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169329152001,"66":12809,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169329152001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:06:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169329152001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":186074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:06:32] local.INFO: GPS data processed {"connection_id":186074,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:06:32] local.INFO: Acknowledgment sent {"connection_id":186074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:06:40] local.INFO: TCP Data received {"connection_id":187507,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:06:40] local.INFO: Processing buffer {"connection_id":187507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:06:40] local.INFO: IMEI packet received {"connection_id":187507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":187507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:06:50] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:06:50] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:06:50] local.INFO: IMEI packet received {"connection_id":188830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":188830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:06:55] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:06:55] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:06:55] local.INFO: IMEI packet received {"connection_id":188830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":188830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:06:56] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3da72a8012d79b84005e790d0000b016728..."} 
[2026-09-18 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3da72a8012d79b84005e790d0000b016728..."} 
[2026-09-18 15:06:56] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3da72a8012d79b84005e790d0000b016728..."} 
[2026-09-18 15:06:56] local.INFO: Packet analysis {"connection_id":188830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:06:56] local.INFO: Extracted packet for processing {"connection_id":188830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":762951744,"raw_latitude":99061968,"longitude_deg":76.2951744,"latitude_deg":9.9061968,"altitude":11,"angle":359,"satellites":40,"speed":25,"hex_longitude":"2d79b840","hex_latitude":"05e790d0","is_valid_coordinates":true} 
[2026-09-18 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169297408001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705348522016768,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770056612219854848,"note":"Value kept but may cause issues"} 
[2026-09-18 15:06: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-09-18 15:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789723833000,"timestamp_ms":1789723833000,"timestamp_seconds":1789723833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3da72a8"} 
[2026-09-18 15:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 15:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:06:56] 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-09-18 15:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169297408001,"66":13689,"31":206,"87":13824,"24":25,"16":134705348522016768,"45":8770056612219854848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169297408001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:06:56] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:06:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705348522016768,"km_value":134705348522016.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770056612219854848,"description":"Unknown IO ID 45"} 
[2026-09-18 15:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169297408001,"power":13689,"unknown_31":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8770056612219854848}} 
[2026-09-18 15:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":188830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:06:56] local.INFO: GPS data processed {"connection_id":188830,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:06:56] local.INFO: Acknowledgment sent {"connection_id":188830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:07:00] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dac0c8012d79b80005e7b1f0000d016528..."} 
[2026-09-18 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dac0c8012d79b80005e7b1f0000d016528..."} 
[2026-09-18 15:07:00] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dac0c8012d79b80005e7b1f0000d016528..."} 
[2026-09-18 15:07:00] local.INFO: Packet analysis {"connection_id":188830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:07:00] local.INFO: Extracted packet for processing {"connection_id":188830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3da"} 
[2026-09-18 15:07:00] local.INFO: GPS Element Parsed {"raw_longitude":762951680,"raw_latitude":99070448,"longitude_deg":76.295168,"latitude_deg":9.9070448,"altitude":13,"angle":357,"satellites":40,"speed":15,"hex_longitude":"2d79b800","hex_latitude":"05e7b1f0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169301248001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705760838877184,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770830668408082432,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:00] 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-09-18 15:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789723853000,"timestamp_ms":1789723853000,"timestamp_seconds":1789723853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dac0c8"} 
[2026-09-18 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-09-18 15:07: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-09-18 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 15:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:07:00] 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-09-18 15:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169301248001,"66":13135,"31":206,"87":13824,"24":15,"16":134705760838877184,"45":8770830668408082432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169301248001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:07:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:07:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705760838877184,"km_value":134705760838877.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770830668408082432,"description":"Unknown IO ID 45"} 
[2026-09-18 15:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169301248001,"power":13135,"unknown_31":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8770830668408082432}} 
[2026-09-18 15:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":188830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:07:00] local.INFO: GPS data processed {"connection_id":188830,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:07:00] local.INFO: Acknowledgment sent {"connection_id":188830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:07:03] local.INFO: TCP Data received {"connection_id":186074,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dcc080012d196880071febe00039010c2b..."} 
[2026-09-18 15:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dcc080012d196880071febe00039010c2b..."} 
[2026-09-18 15:07:03] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dcc080012d196880071febe00039010c2b..."} 
[2026-09-18 15:07:03] local.INFO: Packet analysis {"connection_id":186074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3dc"} 
[2026-09-18 15:07:03] local.INFO: Extracted packet for processing {"connection_id":186074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3dc"} 
[2026-09-18 15:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169334528001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789723984000,"timestamp_ms":1789723984000,"timestamp_seconds":1789723984,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dcc080"} 
[2026-09-18 15:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":9,"data_length":795,"current_offset":136} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017441864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-2724607400763365248,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964896488803868,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300178326263761963,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,244,160,45,128,235,57,42,10,66,202,120,1,240,9,179,31,4,113,205,212,104,224,239,50,2,75,7,124,82],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577718256697344,"timestamp_seconds":4107577718256697.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169334528001,"66":12798,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169334528001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:07:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169334528001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":186074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:07:04] local.INFO: GPS data processed {"connection_id":186074,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:07:04] local.INFO: Acknowledgment sent {"connection_id":186074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:07:12] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:07:12] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:07:12] local.INFO: IMEI packet received {"connection_id":186075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":186075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:07:17] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:07:17] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:07:17] local.INFO: IMEI packet received {"connection_id":186075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":186075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:07:18] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:07:18] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:07:18] local.INFO: Packet analysis {"connection_id":186075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:07:18] local.INFO: Extracted packet for processing {"connection_id":186075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:07:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:18] 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-09-18 15:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:07:18] 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-09-18 15:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:07:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:07:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":186075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:07:18] local.INFO: GPS data processed {"connection_id":186075,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:07:18] local.INFO: Acknowledgment sent {"connection_id":186075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:07:24] local.INFO: TCP Data received {"connection_id":187509,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:07:24] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:07:24] local.INFO: IMEI packet received {"connection_id":187509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":187509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:07:30] local.INFO: TCP Data received {"connection_id":187509,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:07:30] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:07:30] local.INFO: IMEI packet received {"connection_id":187509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":187509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:07:31] local.INFO: TCP Data received {"connection_id":187509,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dd1288012d196880071febe00039010c2a..."} 
[2026-09-18 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dd1288012d196880071febe00039010c2a..."} 
[2026-09-18 15:07:31] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dd1288012d196880071febe00039010c2a..."} 
[2026-09-18 15:07:31] local.INFO: Packet analysis {"connection_id":187509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3dd"} 
[2026-09-18 15:07:31] local.INFO: Extracted packet for processing {"connection_id":187509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3dd"} 
[2026-09-18 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169339904001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724005000,"timestamp_ms":1789724005000,"timestamp_seconds":1789724005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dd1288"} 
[2026-09-18 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-09-18 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 15:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169339904001,"66":12776,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169339904001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169339904001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":187509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:07:31] local.INFO: GPS data processed {"connection_id":187509,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:07:31] local.INFO: Acknowledgment sent {"connection_id":187509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:07:45] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:07:45] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:07:45] local.INFO: IMEI packet received {"connection_id":188831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":188831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:07:50] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:07:50] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:07:50] local.INFO: Packet analysis {"connection_id":186075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:07:50] local.INFO: Extracted packet for processing {"connection_id":186075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:07:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:50] 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-09-18 15:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:07:50] 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-09-18 15:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:07:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:07:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":186075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:07:50] local.INFO: GPS data processed {"connection_id":186075,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:07:50] local.INFO: Acknowledgment sent {"connection_id":186075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:07:50] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:07:50] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:07:50] local.INFO: IMEI packet received {"connection_id":188831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":188831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:07:51] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db0330012d79b70005e7b5b0000b00c628..."} 
[2026-09-18 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db0330012d79b70005e7b5b0000b00c628..."} 
[2026-09-18 15:07:51] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db0330012d79b70005e7b5b0000b00c628..."} 
[2026-09-18 15:07:51] local.INFO: Packet analysis {"connection_id":188831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:07:51] local.INFO: Extracted packet for processing {"connection_id":188831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99071408,"longitude_deg":76.2951424,"latitude_deg":9.9071408,"altitude":11,"angle":198,"satellites":40,"speed":3,"hex_longitude":"2d79b700","hex_latitude":"05e7b5b0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169306368001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705851033190400,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770760299666075648,"note":"Value kept but may cause issues"} 
[2026-09-18 15:07:51] 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-09-18 15:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723870000,"timestamp_ms":1789723870000,"timestamp_seconds":1789723870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db0330"} 
[2026-09-18 15:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:07: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-09-18 15: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":79,"data_length":795,"current_offset":136} 
[2026-09-18 15:07: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-09-18 15:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:07:51] 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-09-18 15:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169306368001,"66":13472,"31":206,"87":13824,"24":3,"16":134705851033190400,"45":8770760299666075648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169306368001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:07:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:07:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705851033190400,"km_value":134705851033190.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770760299666075648,"description":"Unknown IO ID 45"} 
[2026-09-18 15:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169306368001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8770760299666075648}} 
[2026-09-18 15:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":188831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:07:51] local.INFO: GPS data processed {"connection_id":188831,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:07:51] local.INFO: Acknowledgment sent {"connection_id":188831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:03] local.INFO: TCP Data received {"connection_id":187509,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dd6490012d196880071febe00039010c20..."} 
[2026-09-18 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dd6490012d196880071febe00039010c20..."} 
[2026-09-18 15:08:03] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dd6490012d196880071febe00039010c20..."} 
[2026-09-18 15:08:03] local.INFO: Packet analysis {"connection_id":187509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3dd"} 
[2026-09-18 15:08:03] local.INFO: Extracted packet for processing {"connection_id":187509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3dd"} 
[2026-09-18 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":32,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169345280001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724026000,"timestamp_ms":1789724026000,"timestamp_seconds":1789724026,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dd6490"} 
[2026-09-18 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-09-18 15:08: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-09-18 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 15:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169345280001,"66":12743,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169345280001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169345280001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":187509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:03] local.INFO: GPS data processed {"connection_id":187509,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:03] local.INFO: Acknowledgment sent {"connection_id":187509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:12] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:08:12] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:08:12] local.INFO: IMEI packet received {"connection_id":188832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":188832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:08:17] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:08:17] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:08:17] local.INFO: IMEI packet received {"connection_id":188832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":188832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:08:19] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:08:19] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:08:19] local.INFO: Packet analysis {"connection_id":188832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:08:19] local.INFO: Extracted packet for processing {"connection_id":188832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:19] 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-09-18 15:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:08:19] 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-09-18 15:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:08:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":188832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:19] local.INFO: GPS data processed {"connection_id":188832,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:19] local.INFO: Acknowledgment sent {"connection_id":188832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:23] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db35f8012d79b70005e7b5a8000b000328..."} 
[2026-09-18 15:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db35f8012d79b70005e7b5a8000b000328..."} 
[2026-09-18 15:08:23] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db35f8012d79b70005e7b5a8000b000328..."} 
[2026-09-18 15:08:23] local.INFO: Packet analysis {"connection_id":188831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:08:23] local.INFO: Extracted packet for processing {"connection_id":188831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99071400,"longitude_deg":76.2951424,"latitude_deg":9.90714,"altitude":11,"angle":3,"satellites":40,"speed":2,"hex_longitude":"2d79b700","hex_latitude":"05e7b5a8","is_valid_coordinates":true} 
[2026-09-18 15:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169310720001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705868213059584,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689610752,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:23] 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-09-18 15:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789723883000,"timestamp_ms":1789723883000,"timestamp_seconds":1789723883,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db35f8"} 
[2026-09-18 15:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 15:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169310720001,"66":13374,"31":206,"87":13824,"24":2,"16":134705868213059584,"45":8770478824689610752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169310720001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:23] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:08:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705868213059584,"km_value":134705868213059.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689610752,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169310720001,"power":13374,"unknown_31":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8770478824689610752}} 
[2026-09-18 15:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":188831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:23] local.INFO: GPS data processed {"connection_id":188831,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:23] local.INFO: Acknowledgment sent {"connection_id":188831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:30] local.INFO: TCP Data received {"connection_id":186216,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:08:30] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:08:30] local.INFO: IMEI packet received {"connection_id":186216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":186216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:08:35] local.INFO: TCP Data received {"connection_id":186216,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:08:35] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:08:35] local.INFO: IMEI packet received {"connection_id":186216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":186216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:08:37] local.INFO: TCP Data received {"connection_id":186216,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ddb698012d196880071febe00039010c29..."} 
[2026-09-18 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ddb698012d196880071febe00039010c29..."} 
[2026-09-18 15:08:37] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ddb698012d196880071febe00039010c29..."} 
[2026-09-18 15:08:37] local.INFO: Packet analysis {"connection_id":186216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3dd"} 
[2026-09-18 15:08:37] local.INFO: Extracted packet for processing {"connection_id":186216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3dd"} 
[2026-09-18 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169350656001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789724047000,"timestamp_ms":1789724047000,"timestamp_seconds":1789724047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ddb698"} 
[2026-09-18 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 15:08: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-09-18 15:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169350656001,"66":12743,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169350656001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169350656001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":186216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:37] local.INFO: GPS data processed {"connection_id":186216,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:37] local.INFO: Acknowledgment sent {"connection_id":186216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:43] local.INFO: TCP Data received {"connection_id":186216,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3de08a0012d196880071febe00039010c29..."} 
[2026-09-18 15:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3de08a0012d196880071febe00039010c29..."} 
[2026-09-18 15:08:43] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3de08a0012d196880071febe00039010c29..."} 
[2026-09-18 15:08:43] local.INFO: Packet analysis {"connection_id":186216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:08:43] local.INFO: Extracted packet for processing {"connection_id":186216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169356032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789724068000,"timestamp_ms":1789724068000,"timestamp_seconds":1789724068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3de08a0"} 
[2026-09-18 15:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:08: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-09-18 15: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 15:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169356032001,"66":12722,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169356032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169356032001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":186216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:43] local.INFO: GPS data processed {"connection_id":186216,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:43] local.INFO: Acknowledgment sent {"connection_id":186216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:45] local.INFO: TCP Data received {"connection_id":186076,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:08:45] local.INFO: Processing buffer {"connection_id":186076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:08:45] local.INFO: IMEI packet received {"connection_id":186076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":186076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:08:50] local.INFO: TCP Data received {"connection_id":186076,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:08:50] local.INFO: Processing buffer {"connection_id":186076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:08:50] local.INFO: IMEI packet received {"connection_id":186076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":186076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:08:51] local.INFO: TCP Data received {"connection_id":186076,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db3dc8012d79b70005e7b5f0000b015e27..."} 
[2026-09-18 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db3dc8012d79b70005e7b5f0000b015e27..."} 
[2026-09-18 15:08:51] local.INFO: Processing buffer {"connection_id":186076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db3dc8012d79b70005e7b5f0000b015e27..."} 
[2026-09-18 15:08:51] local.INFO: Packet analysis {"connection_id":186076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:08:51] local.INFO: Extracted packet for processing {"connection_id":186076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99071472,"longitude_deg":76.2951424,"latitude_deg":9.9071472,"altitude":11,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7b5f0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169314048001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705872508026880,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689608704,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:51] 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-09-18 15:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723885000,"timestamp_ms":1789723885000,"timestamp_seconds":1789723885,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db3dc8"} 
[2026-09-18 15:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 15:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:08:51] 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-09-18 15:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169314048001,"66":13319,"31":206,"87":13824,"24":0,"16":134705872508026880,"45":8770478824689608704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169314048001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705872508026880,"km_value":134705872508026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689608704,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169314048001,"power":13319,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824689608704}} 
[2026-09-18 15:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":186076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:51] local.INFO: GPS data processed {"connection_id":186076,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:51] local.INFO: Acknowledgment sent {"connection_id":186076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:08:51] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:08:51] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:08:51] local.INFO: Packet analysis {"connection_id":188832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:08:51] local.INFO: Extracted packet for processing {"connection_id":188832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:08:51] 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-09-18 15:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:08:51] 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-09-18 15: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-09-18 15:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":188832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:08:51] local.INFO: GPS data processed {"connection_id":188832,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:08:51] local.INFO: Acknowledgment sent {"connection_id":188832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:09:12] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:09:12] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:09:12] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:09:17] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:09:17] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:09:17] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:09:18] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:09:18] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:09:18] local.INFO: Packet analysis {"connection_id":188834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:09:18] local.INFO: Extracted packet for processing {"connection_id":188834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:09:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:18] 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-09-18 15:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:09:18] 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-09-18 15:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:09:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:09:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":188834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:09:18] local.INFO: GPS data processed {"connection_id":188834,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:09:18] local.INFO: Acknowledgment sent {"connection_id":188834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:09:22] local.INFO: TCP Data received {"connection_id":186076,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db8be8012d79b70005e7b608000b015e25..."} 
[2026-09-18 15:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db8be8012d79b70005e7b608000b015e25..."} 
[2026-09-18 15:09:22] local.INFO: Processing buffer {"connection_id":186076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db8be8012d79b70005e7b608000b015e25..."} 
[2026-09-18 15:09:22] local.INFO: Packet analysis {"connection_id":186076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:09:22] local.INFO: Extracted packet for processing {"connection_id":186076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99071496,"longitude_deg":76.2951424,"latitude_deg":9.9071496,"altitude":11,"angle":350,"satellites":37,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7b608","is_valid_coordinates":true} 
[2026-09-18 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169314560001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705872508026880,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689627136,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] 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-09-18 15:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789723905000,"timestamp_ms":1789723905000,"timestamp_seconds":1789723905,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db8be8"} 
[2026-09-18 15:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017409864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3664947201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2747195807055815936,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696530638,"corrected_to":0} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2439512064,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3880417280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":154,"raw_value":57758123209676598,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-3560094210609479675,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,31,87,24,241,157,16,146,160,53,45,181,11,40,10,66,3,192,1,240,79,227,179,231,4,113,205,25,56,32,239,2,222,5,29,154,217],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1696530638,"validated":0}]} 
[2026-09-18 15:09:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793018530990653440,"timestamp_seconds":793018530990653.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:09:22] 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-09-18 15:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169314560001,"66":13091,"31":206,"87":13824,"24":0,"16":134705872508026880,"45":8770478824689627136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169314560001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:09:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:09:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705872508026880,"km_value":134705872508026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689627136,"description":"Unknown IO ID 45"} 
[2026-09-18 15:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169314560001,"power":13091,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824689627136}} 
[2026-09-18 15:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":186076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:09:22] local.INFO: GPS data processed {"connection_id":186076,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:09:22] local.INFO: Acknowledgment sent {"connection_id":186076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:09:25] local.INFO: TCP Data received {"connection_id":187510,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:09:25] local.INFO: Processing buffer {"connection_id":187510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:09:25] local.INFO: IMEI packet received {"connection_id":187510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":187510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:09:30] local.INFO: TCP Data received {"connection_id":187510,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:09:30] local.INFO: Processing buffer {"connection_id":187510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:09:30] local.INFO: IMEI packet received {"connection_id":187510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":187510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:09:32] local.INFO: TCP Data received {"connection_id":187510,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3de5aa8012d196880071febe00039010c2a..."} 
[2026-09-18 15:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3de5aa8012d196880071febe00039010c2a..."} 
[2026-09-18 15:09:32] local.INFO: Processing buffer {"connection_id":187510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3de5aa8012d196880071febe00039010c2a..."} 
[2026-09-18 15:09:32] local.INFO: Packet analysis {"connection_id":187510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:09:32] local.INFO: Extracted packet for processing {"connection_id":187510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169361408001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789724089000,"timestamp_ms":1789724089000,"timestamp_seconds":1789724089,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3de5aa8"} 
[2026-09-18 15:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 15:09: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-09-18 15: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-09-18 15:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169361408001,"66":12667,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169361408001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:09:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169361408001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":187510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:09:32] local.INFO: GPS data processed {"connection_id":187510,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:09:32] local.INFO: Acknowledgment sent {"connection_id":187510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:09:36] local.INFO: TCP Data received {"connection_id":187510,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3deacb0012d196880071febe00039010c2b..."} 
[2026-09-18 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3deacb0012d196880071febe00039010c2b..."} 
[2026-09-18 15:09:36] local.INFO: Processing buffer {"connection_id":187510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3deacb0012d196880071febe00039010c2b..."} 
[2026-09-18 15:09:36] local.INFO: Packet analysis {"connection_id":187510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:09:36] local.INFO: Extracted packet for processing {"connection_id":187510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169366784001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789724110000,"timestamp_ms":1789724110000,"timestamp_seconds":1789724110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3deacb0"} 
[2026-09-18 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-09-18 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 15:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169366784001,"66":12689,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169366784001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:09:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169366784001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":187510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:09:36] local.INFO: GPS data processed {"connection_id":187510,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:09:36] local.INFO: Acknowledgment sent {"connection_id":187510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:09:45] local.INFO: TCP Data received {"connection_id":186077,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:45] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:45] local.INFO: IMEI packet received {"connection_id":186077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":186077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:09:45] local.INFO: TCP Data received {"connection_id":186077,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:45] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:45] local.INFO: IMEI packet received {"connection_id":186077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":186077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:09:49] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:09:49] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:09:49] local.INFO: Packet analysis {"connection_id":188834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:09:49] local.INFO: Extracted packet for processing {"connection_id":188834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:09:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:49] 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-09-18 15:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:09:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:09:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":188834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:09:49] local.INFO: GPS data processed {"connection_id":188834,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:09:49] local.INFO: Acknowledgment sent {"connection_id":188834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:09:50] local.INFO: TCP Data received {"connection_id":186077,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:50] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:09:50] local.INFO: IMEI packet received {"connection_id":186077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":186077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:09:51] local.INFO: TCP Data received {"connection_id":186077,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3db97a0012d79b70005e7b608000b015e25..."} 
[2026-09-18 15:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3db97a0012d79b70005e7b608000b015e25..."} 
[2026-09-18 15:09:51] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3db97a0012d79b70005e7b608000b015e25..."} 
[2026-09-18 15:09:51] local.INFO: Packet analysis {"connection_id":186077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:09:51] local.INFO: Extracted packet for processing {"connection_id":186077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3db"} 
[2026-09-18 15:09:51] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99071496,"longitude_deg":76.2951424,"latitude_deg":9.9071496,"altitude":11,"angle":350,"satellites":37,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7b608","is_valid_coordinates":true} 
[2026-09-18 15:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169319680001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705872508026880,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689633280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:09:51] 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-09-18 15:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789723908000,"timestamp_ms":1789723908000,"timestamp_seconds":1789723908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3db97a0"} 
[2026-09-18 15:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:09: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-09-18 15:09: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":35,"data_length":795,"current_offset":136} 
[2026-09-18 15:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:09:51] 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-09-18 15:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169319680001,"66":13406,"31":206,"87":13824,"24":0,"16":134705872508026880,"45":8770478824689633280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169319680001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:09:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:09:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705872508026880,"km_value":134705872508026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689633280,"description":"Unknown IO ID 45"} 
[2026-09-18 15:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169319680001,"power":13406,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824689633280}} 
[2026-09-18 15:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":186077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:09:51] local.INFO: GPS data processed {"connection_id":186077,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:09:51] local.INFO: Acknowledgment sent {"connection_id":186077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:07] local.INFO: TCP Data received {"connection_id":187510,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3defeb8012d196880071febe00039010c2d..."} 
[2026-09-18 15:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3defeb8012d196880071febe00039010c2d..."} 
[2026-09-18 15:10:07] local.INFO: Processing buffer {"connection_id":187510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3defeb8012d196880071febe00039010c2d..."} 
[2026-09-18 15:10:07] local.INFO: Packet analysis {"connection_id":187510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:10:07] local.INFO: Extracted packet for processing {"connection_id":187510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3de"} 
[2026-09-18 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169372160001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789724131000,"timestamp_ms":1789724131000,"timestamp_seconds":1789724131,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3defeb8"} 
[2026-09-18 15:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 15:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169372160001,"66":12678,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169372160001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169372160001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":187510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:07] local.INFO: GPS data processed {"connection_id":187510,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:07] local.INFO: Acknowledgment sent {"connection_id":187510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:12] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:10:12] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:10:12] local.INFO: IMEI packet received {"connection_id":186078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":186078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:10:17] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:10:17] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:10:17] local.INFO: IMEI packet received {"connection_id":186078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":186078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:10:18] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:10:18] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:10:18] local.INFO: Packet analysis {"connection_id":186078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:10:18] local.INFO: Extracted packet for processing {"connection_id":186078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:10:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:18] 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-09-18 15:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:10:18] 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-09-18 15:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:10:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":186078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:18] local.INFO: GPS data processed {"connection_id":186078,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:18] local.INFO: Acknowledgment sent {"connection_id":186078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:22] local.INFO: TCP Data received {"connection_id":186077,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e35fd0012d79b78005e7b7480009000e2b..."} 
[2026-09-18 15:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e35fd0012d79b78005e7b7480009000e2b..."} 
[2026-09-18 15:10:22] local.INFO: Processing buffer {"connection_id":186077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e35fd0012d79b78005e7b7480009000e2b..."} 
[2026-09-18 15:10:22] local.INFO: Packet analysis {"connection_id":186077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:10:22] local.INFO: Extracted packet for processing {"connection_id":186077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":762951552,"raw_latitude":99071816,"longitude_deg":76.2951552,"latitude_deg":9.9071816,"altitude":9,"angle":14,"satellites":43,"speed":3,"hex_longitude":"2d79b780","hex_latitude":"05e7b748","is_valid_coordinates":true} 
[2026-09-18 15:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169447680001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705889687896064,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689633280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:22] 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-09-18 15:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789724418000,"timestamp_ms":1789724418000,"timestamp_seconds":1789724418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e35fd0"} 
[2026-09-18 15:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10: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-09-18 15:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 15:10: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-09-18 15:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:10:22] 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-09-18 15:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169447680001,"66":13678,"31":206,"87":13824,"24":3,"16":134705889687896064,"45":8770478824689633280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169447680001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:10:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705889687896064,"km_value":134705889687896.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689633280,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169447680001,"power":13678,"unknown_31":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8770478824689633280}} 
[2026-09-18 15:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":186077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:22] local.INFO: GPS data processed {"connection_id":186077,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:22] local.INFO: Acknowledgment sent {"connection_id":186077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:25] local.INFO: TCP Data received {"connection_id":188835,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:10:25] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:10:25] local.INFO: IMEI packet received {"connection_id":188835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":188835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:10:30] local.INFO: TCP Data received {"connection_id":188835,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:10:30] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:10:30] local.INFO: IMEI packet received {"connection_id":188835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":188835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:10:31] local.INFO: TCP Data received {"connection_id":188835,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df50c0012d196880071febe00039010c2e..."} 
[2026-09-18 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df50c0012d196880071febe00039010c2e..."} 
[2026-09-18 15:10:31] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df50c0012d196880071febe00039010c2e..."} 
[2026-09-18 15:10:31] local.INFO: Packet analysis {"connection_id":188835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:10:31] local.INFO: Extracted packet for processing {"connection_id":188835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169377536001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724152000,"timestamp_ms":1789724152000,"timestamp_seconds":1789724152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df50c0"} 
[2026-09-18 15:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 15:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169377536001,"66":12667,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169377536001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169377536001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":188835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:32] local.INFO: GPS data processed {"connection_id":188835,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:32] local.INFO: Acknowledgment sent {"connection_id":188835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:44] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:44] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:44] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:10:49] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:49] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:49] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:10:50] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:50] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:10:50] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:10:51] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:10:51] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:10:51] local.INFO: Packet analysis {"connection_id":186078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:10:51] local.INFO: Extracted packet for processing {"connection_id":186078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:51] 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-09-18 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:10:51] 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-09-18 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":186078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:51] local.INFO: GPS data processed {"connection_id":186078,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:51] local.INFO: Acknowledgment sent {"connection_id":186078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:51] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e363b8012d79b78005e7b7b00008015d2c..."} 
[2026-09-18 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e363b8012d79b78005e7b7b00008015d2c..."} 
[2026-09-18 15:10:51] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e363b8012d79b78005e7b7b00008015d2c..."} 
[2026-09-18 15:10:51] local.INFO: Packet analysis {"connection_id":186217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:10:51] local.INFO: Extracted packet for processing {"connection_id":186217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":762951552,"raw_latitude":99071920,"longitude_deg":76.2951552,"latitude_deg":9.907192,"altitude":8,"angle":349,"satellites":44,"speed":4,"hex_longitude":"2d79b780","hex_latitude":"05e7b7b0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169451008001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705893982863360,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770619562178070528,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:51] 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-09-18 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789724419000,"timestamp_ms":1789724419000,"timestamp_seconds":1789724419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e363b8"} 
[2026-09-18 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 15:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:10:51] 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-09-18 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169451008001,"66":13374,"31":206,"87":13824,"24":4,"16":134705893982863360,"45":8770619562178070528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169451008001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705893982863360,"km_value":134705893982863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770619562178070528,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169451008001,"power":13374,"unknown_31":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8770619562178070528}} 
[2026-09-18 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":186217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:51] local.INFO: GPS data processed {"connection_id":186217,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:51] local.INFO: Acknowledgment sent {"connection_id":186217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:10:55] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e367a0012d79b74005e7b818000801472c..."} 
[2026-09-18 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e367a0012d79b74005e7b818000801472c..."} 
[2026-09-18 15:10:55] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e367a0012d79b74005e7b818000801472c..."} 
[2026-09-18 15:10:55] local.INFO: Packet analysis {"connection_id":186217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:10:55] local.INFO: Extracted packet for processing {"connection_id":186217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99072024,"longitude_deg":76.2951488,"latitude_deg":9.9072024,"altitude":8,"angle":327,"satellites":44,"speed":4,"hex_longitude":"2d79b740","hex_latitude":"05e7b818","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169451264001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705902572797952,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770619562178097152,"note":"Value kept but may cause issues"} 
[2026-09-18 15:10:55] 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-09-18 15:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789724420000,"timestamp_ms":1789724420000,"timestamp_seconds":1789724420,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e367a0"} 
[2026-09-18 15:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 15:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:10:55] 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-09-18 15:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169451264001,"66":13374,"31":206,"87":13824,"24":4,"16":134705902572797952,"45":8770619562178097152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169451264001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:10:55] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:10:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705902572797952,"km_value":134705902572797.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770619562178097152,"description":"Unknown IO ID 45"} 
[2026-09-18 15:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169451264001,"power":13374,"unknown_31":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8770619562178097152}} 
[2026-09-18 15:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":186217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:10:55] local.INFO: GPS data processed {"connection_id":186217,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:10:55] local.INFO: Acknowledgment sent {"connection_id":186217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:11:03] local.INFO: TCP Data received {"connection_id":188835,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3dfa2c8012d196880071febe00039010c2c..."} 
[2026-09-18 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3dfa2c8012d196880071febe00039010c2c..."} 
[2026-09-18 15:11:03] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3dfa2c8012d196880071febe00039010c2c..."} 
[2026-09-18 15:11:03] local.INFO: Packet analysis {"connection_id":188835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:11:03] local.INFO: Extracted packet for processing {"connection_id":188835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169382912001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724173000,"timestamp_ms":1789724173000,"timestamp_seconds":1789724173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3dfa2c8"} 
[2026-09-18 15:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:11: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-09-18 15: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":123,"data_length":795,"current_offset":136} 
[2026-09-18 15:11: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-09-18 15:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169382912001,"66":12667,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169382912001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:11:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169382912001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":188835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:11:03] local.INFO: GPS data processed {"connection_id":188835,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:11:03] local.INFO: Acknowledgment sent {"connection_id":188835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:11:17] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:11:17] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:11:17] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:11:22] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:11:22] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:11:22] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:11:22] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:11:22] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3df8b58012d569dc0067b65a00028002a2d..."} 
[2026-09-18 15:11:22] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:11:22] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3df"} 
[2026-09-18 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169309696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:22] 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-09-18 15:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789724167000,"timestamp_ms":1789724167000,"timestamp_seconds":1789724167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3df8b58"} 
[2026-09-18 15:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 15:11:22] 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-09-18 15: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-09-18 15:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169309696001,"66":26060,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169309696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:11:22] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169309696001,"power":26060,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:11:22] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:11:22] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:11:24] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:24] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:24] local.INFO: IMEI packet received {"connection_id":186080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":186080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:11:25] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:25] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:25] local.INFO: IMEI packet received {"connection_id":186080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":186080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:11:27] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e36f70012d79b70005e7b8b0000801312c..."} 
[2026-09-18 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e36f70012d79b70005e7b8b0000801312c..."} 
[2026-09-18 15:11:27] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e36f70012d79b70005e7b8b0000801312c..."} 
[2026-09-18 15:11:27] local.INFO: Packet analysis {"connection_id":186217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:11:27] local.INFO: Extracted packet for processing {"connection_id":186217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99072176,"longitude_deg":76.2951424,"latitude_deg":9.9072176,"altitude":8,"angle":305,"satellites":44,"speed":2,"hex_longitude":"2d79b700","hex_latitude":"05e7b8b0","is_valid_coordinates":true} 
[2026-09-18 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169451520001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705911162732544,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193433946112,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11: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-09-18 15:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789724422000,"timestamp_ms":1789724422000,"timestamp_seconds":1789724422,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e36f70"} 
[2026-09-18 15:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:11: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-09-18 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 15:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169451520001,"66":13363,"31":206,"87":13824,"24":2,"16":134705911162732544,"45":8770549193433946112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169451520001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:11:27] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:11:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705911162732544,"km_value":134705911162732.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193433946112,"description":"Unknown IO ID 45"} 
[2026-09-18 15:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169451520001,"power":13363,"unknown_31":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8770549193433946112}} 
[2026-09-18 15:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":186217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:11:27] local.INFO: GPS data processed {"connection_id":186217,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:11:27] local.INFO: Acknowledgment sent {"connection_id":186217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:11:30] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:30] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:11:30] local.INFO: IMEI packet received {"connection_id":186080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":186080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:11:31] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e32920012d196880071febe00039010c2c..."} 
[2026-09-18 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e32920012d196880071febe00039010c2c..."} 
[2026-09-18 15:11:31] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e32920012d196880071febe00039010c2c..."} 
[2026-09-18 15:11:31] local.INFO: Packet analysis {"connection_id":186080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:11:31] local.INFO: Extracted packet for processing {"connection_id":186080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169442048001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724404000,"timestamp_ms":1789724404000,"timestamp_seconds":1789724404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e32920"} 
[2026-09-18 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-09-18 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017861864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209158624,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3784243201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,244,160,133,45,128,235,57,42,10,66,51,44,225,1,240,14,179,31,4,113,205,60,104,224,239,49,2,75,7,231,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:11:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577709666762752,"timestamp_seconds":4107577709666763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 15:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169442048001,"66":12537,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169442048001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:11:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169442048001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":186080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:11:31] local.INFO: GPS data processed {"connection_id":186080,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:11:31] local.INFO: Acknowledgment sent {"connection_id":186080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:11:49] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:11:49] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:11:49] local.INFO: IMEI packet received {"connection_id":186218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":186218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:11:54] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:11:54] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:11:54] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:11:54] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:54] 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-09-18 15:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:11:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:11:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:11:54] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:11:54] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:11:55] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:11:55] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:11:55] local.INFO: IMEI packet received {"connection_id":186218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":186218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:11:56] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e37358012d79b70005e7b8d80008015c2c..."} 
[2026-09-18 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e37358012d79b70005e7b8d80008015c2c..."} 
[2026-09-18 15:11:56] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e37358012d79b70005e7b8d80008015c2c..."} 
[2026-09-18 15:11:56] local.INFO: Packet analysis {"connection_id":186218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:11:56] local.INFO: Extracted packet for processing {"connection_id":186218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99072216,"longitude_deg":76.2951424,"latitude_deg":9.9072216,"altitude":8,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7b8d8","is_valid_coordinates":true} 
[2026-09-18 15:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169452032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705911162732544,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689807360,"note":"Value kept but may cause issues"} 
[2026-09-18 15:11: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-09-18 15:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789724423000,"timestamp_ms":1789724423000,"timestamp_seconds":1789724423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e37358"} 
[2026-09-18 15:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:11: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-09-18 15:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 15:11: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-09-18 15:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:11:56] 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-09-18 15:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169452032001,"66":13515,"31":206,"87":13824,"24":0,"16":134705911162732544,"45":8770478824689807360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169452032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:11:56] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:11:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705911162732544,"km_value":134705911162732.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689807360,"description":"Unknown IO ID 45"} 
[2026-09-18 15:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169452032001,"power":13515,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824689807360}} 
[2026-09-18 15:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":186218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:11:56] local.INFO: GPS data processed {"connection_id":186218,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:11:56] local.INFO: Acknowledgment sent {"connection_id":186218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:12:00] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e37740012d79b6c005e7b8f80008014f2c..."} 
[2026-09-18 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e37740012d79b6c005e7b8f80008014f2c..."} 
[2026-09-18 15:12:00] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e37740012d79b6c005e7b8f80008014f2c..."} 
[2026-09-18 15:12:00] local.INFO: Packet analysis {"connection_id":186218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:00] local.INFO: Extracted packet for processing {"connection_id":186218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99072248,"longitude_deg":76.295136,"latitude_deg":9.9072248,"altitude":8,"angle":335,"satellites":44,"speed":0,"hex_longitude":"2d79b6c0","hex_latitude":"05e7b8f8","is_valid_coordinates":true} 
[2026-09-18 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169452288001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705915457699840,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689817600,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:00] 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-09-18 15:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789724424000,"timestamp_ms":1789724424000,"timestamp_seconds":1789724424,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e37740"} 
[2026-09-18 15:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 15:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:12:00] 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-09-18 15:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169452288001,"66":13526,"31":206,"87":13824,"24":0,"16":134705915457699840,"45":8770478824689817600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169452288001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:12:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:12:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705915457699840,"km_value":134705915457699.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689817600,"description":"Unknown IO ID 45"} 
[2026-09-18 15:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169452288001,"power":13526,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824689817600}} 
[2026-09-18 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":186218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:12:00] local.INFO: GPS data processed {"connection_id":186218,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:12:00] local.INFO: Acknowledgment sent {"connection_id":186218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:12:03] local.INFO: TCP Data received {"connection_id":186080,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e37b28012d196880071febe00039010c2d..."} 
[2026-09-18 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e37b28012d196880071febe00039010c2d..."} 
[2026-09-18 15:12:03] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e37b28012d196880071febe00039010c2d..."} 
[2026-09-18 15:12:03] local.INFO: Packet analysis {"connection_id":186080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:03] local.INFO: Extracted packet for processing {"connection_id":186080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169447424001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724425000,"timestamp_ms":1789724425000,"timestamp_seconds":1789724425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e37b28"} 
[2026-09-18 15:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":249,"data_length":795,"current_offset":136} 
[2026-09-18 15:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169447424001,"66":12558,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169447424001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:12:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169447424001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":186080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:12:03] local.INFO: GPS data processed {"connection_id":186080,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:12:03] local.INFO: Acknowledgment sent {"connection_id":186080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:12:12] local.INFO: TCP Data received {"connection_id":187511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:12:12] local.INFO: Processing buffer {"connection_id":187511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:12:12] local.INFO: IMEI packet received {"connection_id":187511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":187511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:12:15] local.INFO: TCP Data received {"connection_id":188833,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:12:15] local.INFO: Processing buffer {"connection_id":188833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:12:15] local.INFO: IMEI packet received {"connection_id":188833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":188833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:12:17] local.INFO: TCP Data received {"connection_id":187511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:12:17] local.INFO: Processing buffer {"connection_id":187511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:12:17] local.INFO: IMEI packet received {"connection_id":187511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":187511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:12:18] local.INFO: TCP Data received {"connection_id":187511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:12:18] local.INFO: Processing buffer {"connection_id":187511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:12:18] local.INFO: Packet analysis {"connection_id":187511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:12:18] local.INFO: Extracted packet for processing {"connection_id":187511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:12:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:18] 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-09-18 15:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:12:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:12:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":187511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:12:18] local.INFO: GPS data processed {"connection_id":187511,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:12:18] local.INFO: Acknowledgment sent {"connection_id":187511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:12:24] local.INFO: TCP Data received {"connection_id":188836,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:24] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:24] local.INFO: IMEI packet received {"connection_id":188836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":188836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:12:27] local.INFO: TCP Data received {"connection_id":188836,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:27] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:27] local.INFO: IMEI packet received {"connection_id":188836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":188836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:12:30] local.INFO: TCP Data received {"connection_id":188836,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:30] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:12:30] local.INFO: IMEI packet received {"connection_id":188836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":188836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:12:32] local.INFO: TCP Data received {"connection_id":188836,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e3cd30012d196880071febe00039010c2b..."} 
[2026-09-18 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e3cd30012d196880071febe00039010c2b..."} 
[2026-09-18 15:12:32] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e3cd30012d196880071febe00039010c2b..."} 
[2026-09-18 15:12:32] local.INFO: Packet analysis {"connection_id":188836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:32] local.INFO: Extracted packet for processing {"connection_id":188836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169452800001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789724446000,"timestamp_ms":1789724446000,"timestamp_seconds":1789724446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e3cd30"} 
[2026-09-18 15:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017903864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209158624,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3794995201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,244,160,41,45,128,235,57,44,10,66,215,42,133,1,240,216,179,31,4,113,205,225,104,224,239,49,2,75,7,231,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577722551664640,"timestamp_seconds":4107577722551664.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169452800001,"66":12548,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169452800001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:12:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169452800001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":188836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:12:32] local.INFO: GPS data processed {"connection_id":188836,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:12:32] local.INFO: Acknowledgment sent {"connection_id":188836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:12:45] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:12:45] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:12:45] local.INFO: IMEI packet received {"connection_id":188837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":188837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:12:49] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:12:49] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:12:49] local.INFO: IMEI packet received {"connection_id":188837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":188837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:12:49] local.INFO: TCP Data received {"connection_id":187511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:12:49] local.INFO: Processing buffer {"connection_id":187511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:12:49] local.INFO: Packet analysis {"connection_id":187511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:12:49] local.INFO: Extracted packet for processing {"connection_id":187511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:49] 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-09-18 15:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:12:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:12:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":187511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:12:49] local.INFO: GPS data processed {"connection_id":187511,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:12:49] local.INFO: Acknowledgment sent {"connection_id":187511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:12:50] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e382f8012d79b6c005e7b980000800072c..."} 
[2026-09-18 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e382f8012d79b6c005e7b980000800072c..."} 
[2026-09-18 15:12:50] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e382f8012d79b6c005e7b980000800072c..."} 
[2026-09-18 15:12:50] local.INFO: Packet analysis {"connection_id":188837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:50] local.INFO: Extracted packet for processing {"connection_id":188837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99072384,"longitude_deg":76.295136,"latitude_deg":9.9072384,"altitude":8,"angle":7,"satellites":44,"speed":1,"hex_longitude":"2d79b6c0","hex_latitude":"05e7b980","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169452544001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705919752667136,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945648128,"note":"Value kept but may cause issues"} 
[2026-09-18 15:12:50] 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-09-18 15:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789724427000,"timestamp_ms":1789724427000,"timestamp_seconds":1789724427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e382f8"} 
[2026-09-18 15:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 15:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:12:50] 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-09-18 15:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169452544001,"66":13678,"31":206,"87":13824,"24":1,"16":134705919752667136,"45":8770408455945648128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169452544001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:12:50] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:12:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705919752667136,"km_value":134705919752667.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945648128,"description":"Unknown IO ID 45"} 
[2026-09-18 15:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169452544001,"power":13678,"unknown_31":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8770408455945648128}} 
[2026-09-18 15:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":188837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:12:50] local.INFO: GPS data processed {"connection_id":188837,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:12:50] local.INFO: Acknowledgment sent {"connection_id":188837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:13:04] local.INFO: TCP Data received {"connection_id":188836,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e41f38012d196880071febe00039010c2a..."} 
[2026-09-18 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e41f38012d196880071febe00039010c2a..."} 
[2026-09-18 15:13:04] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e41f38012d196880071febe00039010c2a..."} 
[2026-09-18 15:13:04] local.INFO: Packet analysis {"connection_id":188836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:04] local.INFO: Extracted packet for processing {"connection_id":188836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169458176001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789724467000,"timestamp_ms":1789724467000,"timestamp_seconds":1789724467,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e41f38"} 
[2026-09-18 15:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3017924864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3800371201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,244,160,123,45,128,235,57,10,66,41,44,215,1,240,14,179,31,4,113,205,51,104,224,239,49,2,75,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:13:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577713961730048,"timestamp_seconds":4107577713961730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169458176001,"66":12526,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169458176001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169458176001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":188836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:13:04] local.INFO: GPS data processed {"connection_id":188836,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:13:04] local.INFO: Acknowledgment sent {"connection_id":188836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:13:12] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:13:12] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:13:12] local.INFO: IMEI packet received {"connection_id":186219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":186219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:13:17] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:13:17] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:13:17] local.INFO: IMEI packet received {"connection_id":186219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":186219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:13:18] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:13:18] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:13:18] local.INFO: Packet analysis {"connection_id":186219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:18] local.INFO: Extracted packet for processing {"connection_id":186219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:18] 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-09-18 15:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:13:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:13:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":186219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:13:18] local.INFO: GPS data processed {"connection_id":186219,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:13:18] local.INFO: Acknowledgment sent {"connection_id":186219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:13:22] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e39680012d79b70005e7bb28000801652c..."} 
[2026-09-18 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e39680012d79b70005e7bb28000801652c..."} 
[2026-09-18 15:13:22] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e39680012d79b70005e7bb28000801652c..."} 
[2026-09-18 15:13:22] local.INFO: Packet analysis {"connection_id":188837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:13:22] local.INFO: Extracted packet for processing {"connection_id":188837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99072808,"longitude_deg":76.2951424,"latitude_deg":9.9072808,"altitude":8,"angle":357,"satellites":44,"speed":4,"hex_longitude":"2d79b700","hex_latitude":"05e7bb28","is_valid_coordinates":true} 
[2026-09-18 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169453312001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705945522470912,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945682944,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:22] 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-09-18 15:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789724432000,"timestamp_ms":1789724432000,"timestamp_seconds":1789724432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e39680"} 
[2026-09-18 15:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:13: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-09-18 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 15:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:13:22] 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-09-18 15:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169453312001,"66":13363,"31":206,"87":13824,"24":4,"16":134705945522470912,"45":8770408455945682944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169453312001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:13:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:13:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705945522470912,"km_value":134705945522470.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945682944,"description":"Unknown IO ID 45"} 
[2026-09-18 15:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169453312001,"power":13363,"unknown_31":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8770408455945682944}} 
[2026-09-18 15:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":188837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:13:22] local.INFO: GPS data processed {"connection_id":188837,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:13:22] local.INFO: Acknowledgment sent {"connection_id":188837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:13:24] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:13:24] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:13:24] local.INFO: IMEI packet received {"connection_id":186081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":186081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:13:30] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:13:30] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:13:30] local.INFO: IMEI packet received {"connection_id":186081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":186081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:13:31] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e47140012d196880071febe00039010c2c..."} 
[2026-09-18 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e47140012d196880071febe00039010c2c..."} 
[2026-09-18 15:13:31] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e47140012d196880071febe00039010c2c..."} 
[2026-09-18 15:13:31] local.INFO: Packet analysis {"connection_id":186081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:31] local.INFO: Extracted packet for processing {"connection_id":186081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463552001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724488000,"timestamp_ms":1789724488000,"timestamp_seconds":1789724488,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e47140"} 
[2026-09-18 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-09-18 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 15:13: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-09-18 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-09-18 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-09-18 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463552001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463552001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:13:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463552001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":186081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:13:31] local.INFO: GPS data processed {"connection_id":186081,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:13:31] local.INFO: Acknowledgment sent {"connection_id":186081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:13:45] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:13:45] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:13:45] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:13:49] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:13:49] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:13:49] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:13:50] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:13:50] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:13:50] local.INFO: Packet analysis {"connection_id":186219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:50] local.INFO: Extracted packet for processing {"connection_id":186219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:50] 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-09-18 15:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":186219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:13:50] local.INFO: GPS data processed {"connection_id":186219,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:13:50] local.INFO: Acknowledgment sent {"connection_id":186219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:13:50] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e39a68012d79b70005e7bb68000800242c..."} 
[2026-09-18 15:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e39a68012d79b70005e7bb68000800242c..."} 
[2026-09-18 15:13:50] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e39a68012d79b70005e7bb68000800242c..."} 
[2026-09-18 15:13:50] local.INFO: Packet analysis {"connection_id":186082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:13:50] local.INFO: Extracted packet for processing {"connection_id":186082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99072872,"longitude_deg":76.2951424,"latitude_deg":9.9072872,"altitude":8,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d79b700","hex_latitude":"05e7bb68","is_valid_coordinates":true} 
[2026-09-18 15:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169454592001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705949817438208,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689969152,"note":"Value kept but may cause issues"} 
[2026-09-18 15:13:50] 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-09-18 15:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789724433000,"timestamp_ms":1789724433000,"timestamp_seconds":1789724433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e39a68"} 
[2026-09-18 15:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 15:13:50] 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-09-18 15:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:13:50] 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-09-18 15:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169454592001,"66":13559,"31":206,"87":13824,"24":0,"16":134705949817438208,"45":8770478824689969152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169454592001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705949817438208,"km_value":134705949817438.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689969152,"description":"Unknown IO ID 45"} 
[2026-09-18 15:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169454592001,"power":13559,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770478824689969152}} 
[2026-09-18 15:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":186082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:13:50] local.INFO: GPS data processed {"connection_id":186082,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:13:50] local.INFO: Acknowledgment sent {"connection_id":186082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:14:03] local.INFO: TCP Data received {"connection_id":186081,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e4c348012d196880071febe00039010c2c..."} 
[2026-09-18 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e4c348012d196880071febe00039010c2c..."} 
[2026-09-18 15:14:03] local.INFO: Processing buffer {"connection_id":186081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e4c348012d196880071febe00039010c2c..."} 
[2026-09-18 15:14:03] local.INFO: Packet analysis {"connection_id":186081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:14:03] local.INFO: Extracted packet for processing {"connection_id":186081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169468928001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724509000,"timestamp_ms":1789724509000,"timestamp_seconds":1789724509,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e4c348"} 
[2026-09-18 15:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:14: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-09-18 15: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:14: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-09-18 15: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-09-18 15:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169468928001,"66":12526,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169468928001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:14:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169468928001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":186081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:14:03] local.INFO: GPS data processed {"connection_id":186081,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:14:03] local.INFO: Acknowledgment sent {"connection_id":186081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:14:12] local.INFO: TCP Data received {"connection_id":187513,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:14:12] local.INFO: Processing buffer {"connection_id":187513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:14:12] local.INFO: IMEI packet received {"connection_id":187513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":187513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:14:17] local.INFO: TCP Data received {"connection_id":187513,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:14:17] local.INFO: Processing buffer {"connection_id":187513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:14:17] local.INFO: IMEI packet received {"connection_id":187513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":187513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:14:18] local.INFO: TCP Data received {"connection_id":187513,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:14:18] local.INFO: Processing buffer {"connection_id":187513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:14:18] local.INFO: Packet analysis {"connection_id":187513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:14:18] local.INFO: Extracted packet for processing {"connection_id":187513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:18] 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-09-18 15:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:14:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:14:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":187513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:14:18] local.INFO: GPS data processed {"connection_id":187513,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:14:18] local.INFO: Acknowledgment sent {"connection_id":187513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:14:22] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e3d118012d79b70005e7bab0000800ca2d..."} 
[2026-09-18 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e3d118012d79b70005e7bab0000800ca2d..."} 
[2026-09-18 15:14:22] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e3d118012d79b70005e7bab0000800ca2d..."} 
[2026-09-18 15:14:22] local.INFO: Packet analysis {"connection_id":186082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:14:22] local.INFO: Extracted packet for processing {"connection_id":186082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e3"} 
[2026-09-18 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99072688,"longitude_deg":76.2951424,"latitude_deg":9.9072688,"altitude":8,"angle":202,"satellites":45,"speed":1,"hex_longitude":"2d79b700","hex_latitude":"05e7bab0","is_valid_coordinates":true} 
[2026-09-18 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169454848001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134705958407372800,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824689985536,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:22] 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-09-18 15:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789724447000,"timestamp_ms":1789724447000,"timestamp_seconds":1789724447,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e3d118"} 
[2026-09-18 15:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 15:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:14:22] 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-09-18 15:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169454848001,"66":13493,"31":206,"87":13824,"24":1,"16":134705958407372800,"45":8770478824689985536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-18 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169454848001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:14:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-18 15:14:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134705958407372800,"km_value":134705958407372.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824689985536,"description":"Unknown IO ID 45"} 
[2026-09-18 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169454848001,"power":13493,"unknown_31":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8770478824689985536}} 
[2026-09-18 15:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":186082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:14:22] local.INFO: GPS data processed {"connection_id":186082,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:14:22] local.INFO: Acknowledgment sent {"connection_id":186082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:14:29] local.INFO: TCP Data received {"connection_id":186083,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:14:29] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:14:29] local.INFO: IMEI packet received {"connection_id":186083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":186083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:14:33] local.INFO: TCP Data received {"connection_id":186083,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:14:33] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:14:33] local.INFO: IMEI packet received {"connection_id":186083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":186083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:14:35] local.INFO: TCP Data received {"connection_id":186083,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e51550012d196880071febe00039010c2a..."} 
[2026-09-18 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e51550012d196880071febe00039010c2a..."} 
[2026-09-18 15:14:35] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e51550012d196880071febe00039010c2a..."} 
[2026-09-18 15:14:35] local.INFO: Packet analysis {"connection_id":186083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e5"} 
[2026-09-18 15:14:35] local.INFO: Extracted packet for processing {"connection_id":186083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e5"} 
[2026-09-18 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169474304001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789724530000,"timestamp_ms":1789724530000,"timestamp_seconds":1789724530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e51550"} 
[2026-09-18 15:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 15:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169474304001,"66":12526,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169474304001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:14:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169474304001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":186083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:14:35] local.INFO: GPS data processed {"connection_id":186083,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:14:35] local.INFO: Acknowledgment sent {"connection_id":186083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:14:36] local.INFO: TCP Data received {"connection_id":186083,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e56758012d196880071febe00039010c2e..."} 
[2026-09-18 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e56758012d196880071febe00039010c2e..."} 
[2026-09-18 15:14:36] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e56758012d196880071febe00039010c2e..."} 
[2026-09-18 15:14:36] local.INFO: Packet analysis {"connection_id":186083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e5"} 
[2026-09-18 15:14:36] local.INFO: Extracted packet for processing {"connection_id":186083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e5"} 
[2026-09-18 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169479680001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789724551000,"timestamp_ms":1789724551000,"timestamp_seconds":1789724551,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e56758"} 
[2026-09-18 15:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 15:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169479680001,"66":12526,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169479680001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:14:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169479680001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":186083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:14:36] local.INFO: GPS data processed {"connection_id":186083,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:14:36] local.INFO: Acknowledgment sent {"connection_id":186083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:14:50] local.INFO: TCP Data received {"connection_id":187513,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:14:50] local.INFO: Processing buffer {"connection_id":187513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:14:50] local.INFO: Packet analysis {"connection_id":187513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:14:50] local.INFO: Extracted packet for processing {"connection_id":187513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:14:50] 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-09-18 15:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:14:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:14:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":187513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:14:50] local.INFO: GPS data processed {"connection_id":187513,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:14:50] local.INFO: Acknowledgment sent {"connection_id":187513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:15:08] local.INFO: TCP Data received {"connection_id":186083,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e5b960012d196880071febe00039010c2b..."} 
[2026-09-18 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e5b960012d196880071febe00039010c2b..."} 
[2026-09-18 15:15:08] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e5b960012d196880071febe00039010c2b..."} 
[2026-09-18 15:15:08] local.INFO: Packet analysis {"connection_id":186083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e5"} 
[2026-09-18 15:15:08] local.INFO: Extracted packet for processing {"connection_id":186083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e5"} 
[2026-09-18 15:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169485056001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789724572000,"timestamp_ms":1789724572000,"timestamp_seconds":1789724572,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e5b960"} 
[2026-09-18 15:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:15: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-09-18 15:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 15:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169485056001,"66":12515,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169485056001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:15:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169485056001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":186083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:15:08] local.INFO: GPS data processed {"connection_id":186083,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:15:08] local.INFO: Acknowledgment sent {"connection_id":186083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:15:17] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:15:17] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:15:17] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:15:22] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:15:22] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:15:22] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:15:24] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:15:24] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:15:24] local.INFO: Packet analysis {"connection_id":186084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:15:24] local.INFO: Extracted packet for processing {"connection_id":186084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:15:24] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:24] 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-09-18 15:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:15: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-09-18 15:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:15:24] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:15:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":186084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:15:24] local.INFO: GPS data processed {"connection_id":186084,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:15:24] local.INFO: Acknowledgment sent {"connection_id":186084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:15:25] local.INFO: TCP Data received {"connection_id":186085,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:15:25] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:15:25] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:15:30] local.INFO: TCP Data received {"connection_id":186085,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:15:30] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:15:30] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:15:32] local.INFO: TCP Data received {"connection_id":186085,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e60b68012d196880071febe00039010c28..."} 
[2026-09-18 15:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e60b68012d196880071febe00039010c28..."} 
[2026-09-18 15:15:32] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e60b68012d196880071febe00039010c28..."} 
[2026-09-18 15:15:32] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e6"} 
[2026-09-18 15:15:32] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e6"} 
[2026-09-18 15:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169490432001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789724593000,"timestamp_ms":1789724593000,"timestamp_seconds":1789724593,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e60b68"} 
[2026-09-18 15:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 15:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169490432001,"66":12515,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169490432001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:15:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169490432001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:15:32] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:15:32] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:15:37] local.INFO: TCP Data received {"connection_id":186085,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e65d70012d196880071febe00039010c2b..."} 
[2026-09-18 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e65d70012d196880071febe00039010c2b..."} 
[2026-09-18 15:15:37] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e65d70012d196880071febe00039010c2b..."} 
[2026-09-18 15:15:37] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e6"} 
[2026-09-18 15:15:37] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e6"} 
[2026-09-18 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169495808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789724614000,"timestamp_ms":1789724614000,"timestamp_seconds":1789724614,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e65d70"} 
[2026-09-18 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 15:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169495808001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169495808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:15:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169495808001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:15:37] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:15:37] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:15:55] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:15:55] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:15:55] local.INFO: Packet analysis {"connection_id":186084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:15:55] local.INFO: Extracted packet for processing {"connection_id":186084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:15:55] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:15:55] 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-09-18 15:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:15: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-09-18 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:15:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:15:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":186084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:15:55] local.INFO: GPS data processed {"connection_id":186084,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:15:55] local.INFO: Acknowledgment sent {"connection_id":186084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:16:08] local.INFO: TCP Data received {"connection_id":186085,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e6af78012d196880071febe00039010c2b..."} 
[2026-09-18 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e6af78012d196880071febe00039010c2b..."} 
[2026-09-18 15:16:08] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e6af78012d196880071febe00039010c2b..."} 
[2026-09-18 15:16:08] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e6"} 
[2026-09-18 15:16:08] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e6"} 
[2026-09-18 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169501184001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789724635000,"timestamp_ms":1789724635000,"timestamp_seconds":1789724635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e6af78"} 
[2026-09-18 15:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:16: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-09-18 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:16: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-09-18 15:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169501184001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169501184001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:16:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169501184001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:16:08] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:16:08] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:16:12] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:16:12] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:16:12] local.INFO: IMEI packet received {"connection_id":186220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":186220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:16:17] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:16:17] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:16:17] local.INFO: IMEI packet received {"connection_id":186220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":186220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:16:18] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:16:18] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e42320012d569dc0067b65a00028002a2f..."} 
[2026-09-18 15:16:18] local.INFO: Packet analysis {"connection_id":186220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:16:18] local.INFO: Extracted packet for processing {"connection_id":186220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e4"} 
[2026-09-18 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":47,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169386752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:18] 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-09-18 15:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724468000,"timestamp_ms":1789724468000,"timestamp_seconds":1789724468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e42320"} 
[2026-09-18 15:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 15:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169386752001,"66":26028,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169386752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:16:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:16:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169386752001,"power":26028,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":186220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:16:18] local.INFO: GPS data processed {"connection_id":186220,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:16:18] local.INFO: Acknowledgment sent {"connection_id":186220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:16:25] local.INFO: TCP Data received {"connection_id":186086,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:16:25] local.INFO: Processing buffer {"connection_id":186086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:16:25] local.INFO: IMEI packet received {"connection_id":186086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":186086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:16:29] local.INFO: TCP Data received {"connection_id":186086,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:16:29] local.INFO: Processing buffer {"connection_id":186086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:16:29] local.INFO: IMEI packet received {"connection_id":186086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":186086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:16:31] local.INFO: TCP Data received {"connection_id":186086,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e70180012d196880071febe00039010c2c..."} 
[2026-09-18 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e70180012d196880071febe00039010c2c..."} 
[2026-09-18 15:16:31] local.INFO: Processing buffer {"connection_id":186086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e70180012d196880071febe00039010c2c..."} 
[2026-09-18 15:16:31] local.INFO: Packet analysis {"connection_id":186086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:16:31] local.INFO: Extracted packet for processing {"connection_id":186086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169506560001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724656000,"timestamp_ms":1789724656000,"timestamp_seconds":1789724656,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e70180"} 
[2026-09-18 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-09-18 15:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169506560001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169506560001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:16:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169506560001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":186086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:16:31] local.INFO: GPS data processed {"connection_id":186086,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:16:31] local.INFO: Acknowledgment sent {"connection_id":186086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:16:49] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:16:49] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:16:49] local.INFO: Packet analysis {"connection_id":186220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:16:49] local.INFO: Extracted packet for processing {"connection_id":186220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:16:49] 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-09-18 15:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:16:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:16:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":186220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:16:49] local.INFO: GPS data processed {"connection_id":186220,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:16:49] local.INFO: Acknowledgment sent {"connection_id":186220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:17:02] local.INFO: TCP Data received {"connection_id":186086,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e75388012d196880071febe00039010c2b..."} 
[2026-09-18 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e75388012d196880071febe00039010c2b..."} 
[2026-09-18 15:17:02] local.INFO: Processing buffer {"connection_id":186086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e75388012d196880071febe00039010c2b..."} 
[2026-09-18 15:17:02] local.INFO: Packet analysis {"connection_id":186086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:17:02] local.INFO: Extracted packet for processing {"connection_id":186086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169511936001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789724677000,"timestamp_ms":1789724677000,"timestamp_seconds":1789724677,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e75388"} 
[2026-09-18 15:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:17: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-09-18 15: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-09-18 15:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169511936001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169511936001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:17:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169511936001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":186086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:17:02] local.INFO: GPS data processed {"connection_id":186086,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:17:02] local.INFO: Acknowledgment sent {"connection_id":186086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:17:17] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:17:17] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:17:17] local.INFO: IMEI packet received {"connection_id":188838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":188838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:17:22] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:17:22] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:17:22] local.INFO: IMEI packet received {"connection_id":188838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":188838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:17:23] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:17:23] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:17:23] local.INFO: Packet analysis {"connection_id":188838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:17:23] local.INFO: Extracted packet for processing {"connection_id":188838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:23] 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-09-18 15:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:17:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:17:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":188838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:17:23] local.INFO: GPS data processed {"connection_id":188838,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:17:23] local.INFO: Acknowledgment sent {"connection_id":188838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:17:24] local.INFO: TCP Data received {"connection_id":186221,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:17:24] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:17:24] local.INFO: IMEI packet received {"connection_id":186221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":186221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:17:28] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:17:28] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:17:28] local.INFO: Packet analysis {"connection_id":188838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:17:28] local.INFO: Extracted packet for processing {"connection_id":188838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:17:28] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:28] 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-09-18 15:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:17:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:17:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":188838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:17:28] local.INFO: GPS data processed {"connection_id":188838,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:17:28] local.INFO: Acknowledgment sent {"connection_id":188838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:17:30] local.INFO: TCP Data received {"connection_id":186221,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:17:30] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:17:30] local.INFO: IMEI packet received {"connection_id":186221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":186221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:17:31] local.INFO: TCP Data received {"connection_id":186221,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e7a590012d196880071febe00039010c28..."} 
[2026-09-18 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e7a590012d196880071febe00039010c28..."} 
[2026-09-18 15:17:31] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e7a590012d196880071febe00039010c28..."} 
[2026-09-18 15:17:31] local.INFO: Packet analysis {"connection_id":186221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:17:31] local.INFO: Extracted packet for processing {"connection_id":186221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169517312001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724698000,"timestamp_ms":1789724698000,"timestamp_seconds":1789724698,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e7a590"} 
[2026-09-18 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-09-18 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169517312001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169517312001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:17:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169517312001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":186221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:17:31] local.INFO: GPS data processed {"connection_id":186221,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:17:31] local.INFO: Acknowledgment sent {"connection_id":186221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:17:50] local.INFO: TCP Data received {"connection_id":187512,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:17:50] local.INFO: Processing buffer {"connection_id":187512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:17:50] local.INFO: IMEI packet received {"connection_id":187512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":187512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:18:04] local.INFO: TCP Data received {"connection_id":186221,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e7f798012d196880071febe00039010c28..."} 
[2026-09-18 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e7f798012d196880071febe00039010c28..."} 
[2026-09-18 15:18:04] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e7f798012d196880071febe00039010c28..."} 
[2026-09-18 15:18:04] local.INFO: Packet analysis {"connection_id":186221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:18:04] local.INFO: Extracted packet for processing {"connection_id":186221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e7"} 
[2026-09-18 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169522688001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789724719000,"timestamp_ms":1789724719000,"timestamp_seconds":1789724719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e7f798"} 
[2026-09-18 15:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:18: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-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:18: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-09-18 15: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-09-18 15:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169522688001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169522688001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169522688001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":186221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:18:04] local.INFO: GPS data processed {"connection_id":186221,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:18:04] local.INFO: Acknowledgment sent {"connection_id":186221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:18:11] local.INFO: TCP Data received {"connection_id":186087,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:18:11] local.INFO: Processing buffer {"connection_id":186087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:18:11] local.INFO: IMEI packet received {"connection_id":186087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:18:12] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:18:12] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:18:12] local.INFO: IMEI packet received {"connection_id":186088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":186088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:18:17] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:18:17] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:18:17] local.INFO: IMEI packet received {"connection_id":186088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":186088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:18:18] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:18:18] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:18:18] local.INFO: Packet analysis {"connection_id":186088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:18:18] local.INFO: Extracted packet for processing {"connection_id":186088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:18:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:18] 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-09-18 15:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:18:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:18:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":186088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:18:18] local.INFO: GPS data processed {"connection_id":186088,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:18:18] local.INFO: Acknowledgment sent {"connection_id":186088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:18:24] local.INFO: TCP Data received {"connection_id":187514,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:24] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:24] local.INFO: IMEI packet received {"connection_id":187514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":187514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:18:24] local.INFO: TCP Data received {"connection_id":187514,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:24] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:24] local.INFO: IMEI packet received {"connection_id":187514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":187514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:18:30] local.INFO: TCP Data received {"connection_id":187514,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:30] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:18:30] local.INFO: IMEI packet received {"connection_id":187514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":187514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:18:31] local.INFO: TCP Data received {"connection_id":187514,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e849a0012d196880071febe00039010c29..."} 
[2026-09-18 15:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e849a0012d196880071febe00039010c29..."} 
[2026-09-18 15:18:31] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e849a0012d196880071febe00039010c29..."} 
[2026-09-18 15:18:31] local.INFO: Packet analysis {"connection_id":187514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:18:31] local.INFO: Extracted packet for processing {"connection_id":187514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169528064001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724740000,"timestamp_ms":1789724740000,"timestamp_seconds":1789724740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e849a0"} 
[2026-09-18 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-09-18 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169528064001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169528064001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:18:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169528064001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":187514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:18:31] local.INFO: GPS data processed {"connection_id":187514,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:18:31] local.INFO: Acknowledgment sent {"connection_id":187514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:18:49] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:18:49] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:18:49] local.INFO: Packet analysis {"connection_id":186088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:18:49] local.INFO: Extracted packet for processing {"connection_id":186088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:18:49] 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-09-18 15:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:18:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:18:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":186088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:18:49] local.INFO: GPS data processed {"connection_id":186088,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:18:49] local.INFO: Acknowledgment sent {"connection_id":186088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:19:03] local.INFO: TCP Data received {"connection_id":187514,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e89ba8012d196880071febe00039010c2c..."} 
[2026-09-18 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e89ba8012d196880071febe00039010c2c..."} 
[2026-09-18 15:19:03] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e89ba8012d196880071febe00039010c2c..."} 
[2026-09-18 15:19:03] local.INFO: Packet analysis {"connection_id":187514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:03] local.INFO: Extracted packet for processing {"connection_id":187514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169533440001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724761000,"timestamp_ms":1789724761000,"timestamp_seconds":1789724761,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e89ba8"} 
[2026-09-18 15:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:19: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-09-18 15: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-09-18 15:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169533440001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169533440001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:19:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169533440001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":187514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:19:03] local.INFO: GPS data processed {"connection_id":187514,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:19:03] local.INFO: Acknowledgment sent {"connection_id":187514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:19:12] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:19:12] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:19:12] local.INFO: IMEI packet received {"connection_id":188839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":188839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:19:17] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:19:17] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:19:17] local.INFO: IMEI packet received {"connection_id":188839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":188839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:19:18] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:19:18] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:19:18] local.INFO: Packet analysis {"connection_id":188839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:18] local.INFO: Extracted packet for processing {"connection_id":188839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:18] 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-09-18 15:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:19:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:19:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":188839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:19:18] local.INFO: GPS data processed {"connection_id":188839,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:19:18] local.INFO: Acknowledgment sent {"connection_id":188839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:19:25] local.INFO: TCP Data received {"connection_id":186222,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:25] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:25] local.INFO: IMEI packet received {"connection_id":186222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":186222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:19:27] local.INFO: TCP Data received {"connection_id":186222,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:27] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:27] local.INFO: IMEI packet received {"connection_id":186222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":186222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:19:30] local.INFO: TCP Data received {"connection_id":186222,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:30] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:19:30] local.INFO: IMEI packet received {"connection_id":186222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":186222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:19:32] local.INFO: TCP Data received {"connection_id":186222,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8edb0012d196880071febe00039010c2c..."} 
[2026-09-18 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8edb0012d196880071febe00039010c2c..."} 
[2026-09-18 15:19:32] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8edb0012d196880071febe00039010c2c..."} 
[2026-09-18 15:19:32] local.INFO: Packet analysis {"connection_id":186222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:32] local.INFO: Extracted packet for processing {"connection_id":186222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169538816001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789724782000,"timestamp_ms":1789724782000,"timestamp_seconds":1789724782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8edb0"} 
[2026-09-18 15:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:19: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-09-18 15: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-09-18 15:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169538816001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169538816001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:19:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:19:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169538816001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":186222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:19:32] local.INFO: GPS data processed {"connection_id":186222,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:19:32] local.INFO: Acknowledgment sent {"connection_id":186222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:19:49] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:19:49] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:19:49] local.INFO: Packet analysis {"connection_id":188839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:49] local.INFO: Extracted packet for processing {"connection_id":188839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:19:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:19:49] 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-09-18 15:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:19:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:19:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":188839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:19:49] local.INFO: GPS data processed {"connection_id":188839,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:19:49] local.INFO: Acknowledgment sent {"connection_id":188839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:20:03] local.INFO: TCP Data received {"connection_id":186222,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e93fb8012d196880071febe00039010c2c..."} 
[2026-09-18 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e93fb8012d196880071febe00039010c2c..."} 
[2026-09-18 15:20:03] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e93fb8012d196880071febe00039010c2c..."} 
[2026-09-18 15:20:03] local.INFO: Packet analysis {"connection_id":186222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e9"} 
[2026-09-18 15:20:03] local.INFO: Extracted packet for processing {"connection_id":186222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e9"} 
[2026-09-18 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169544192001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724803000,"timestamp_ms":1789724803000,"timestamp_seconds":1789724803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e93fb8"} 
[2026-09-18 15:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:20: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-09-18 15: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-09-18 15:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169544192001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169544192001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:20:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169544192001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":186222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:20:03] local.INFO: GPS data processed {"connection_id":186222,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:20:03] local.INFO: Acknowledgment sent {"connection_id":186222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:20:12] local.INFO: TCP Data received {"connection_id":186089,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:20:12] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:20:12] local.INFO: IMEI packet received {"connection_id":186089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:20:17] local.INFO: TCP Data received {"connection_id":186089,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:20:17] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:20:17] local.INFO: IMEI packet received {"connection_id":186089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":186089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:20:18] local.INFO: TCP Data received {"connection_id":186089,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:20:18] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:20:18] local.INFO: Packet analysis {"connection_id":186089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:20:18] local.INFO: Extracted packet for processing {"connection_id":186089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:20:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:18] 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-09-18 15:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:20:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:20:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":186089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:20:18] local.INFO: GPS data processed {"connection_id":186089,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:20:18] local.INFO: Acknowledgment sent {"connection_id":186089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:20:30] local.INFO: TCP Data received {"connection_id":186223,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:20:30] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:20:30] local.INFO: IMEI packet received {"connection_id":186223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":186223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:20:31] local.INFO: TCP Data received {"connection_id":186223,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:20:31] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:20:31] local.INFO: IMEI packet received {"connection_id":186223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":186223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:20:32] local.INFO: TCP Data received {"connection_id":186223,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e991c0012d196880071febe00039010c2a..."} 
[2026-09-18 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e991c0012d196880071febe00039010c2a..."} 
[2026-09-18 15:20:32] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e991c0012d196880071febe00039010c2a..."} 
[2026-09-18 15:20:32] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e9"} 
[2026-09-18 15:20:32] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e9"} 
[2026-09-18 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169549568001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789724824000,"timestamp_ms":1789724824000,"timestamp_seconds":1789724824,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e991c0"} 
[2026-09-18 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:20: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-09-18 15: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-09-18 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169549568001,"66":12493,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169549568001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169549568001,"power":12493,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:20:32] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:20:32] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:20:36] local.INFO: TCP Data received {"connection_id":186223,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e9e3c8012d196880071febe00039010c2c..."} 
[2026-09-18 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e9e3c8012d196880071febe00039010c2c..."} 
[2026-09-18 15:20:36] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e9e3c8012d196880071febe00039010c2c..."} 
[2026-09-18 15:20:36] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e9"} 
[2026-09-18 15:20:36] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e9"} 
[2026-09-18 15:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169554944001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789724845000,"timestamp_ms":1789724845000,"timestamp_seconds":1789724845,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e9e3c8"} 
[2026-09-18 15:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 15:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169554944001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169554944001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:20:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169554944001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:20:37] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:20:37] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:20:49] local.INFO: TCP Data received {"connection_id":186089,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:20:49] local.INFO: Processing buffer {"connection_id":186089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:20:49] local.INFO: Packet analysis {"connection_id":186089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:20:49] local.INFO: Extracted packet for processing {"connection_id":186089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:20:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:20:49] 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-09-18 15:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:20:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:20:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":186089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:20:49] local.INFO: GPS data processed {"connection_id":186089,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:20:49] local.INFO: Acknowledgment sent {"connection_id":186089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:21:08] local.INFO: TCP Data received {"connection_id":186223,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ea35d0012d196880071febe00039010c29..."} 
[2026-09-18 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ea35d0012d196880071febe00039010c29..."} 
[2026-09-18 15:21:08] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ea35d0012d196880071febe00039010c29..."} 
[2026-09-18 15:21:08] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ea"} 
[2026-09-18 15:21:08] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ea"} 
[2026-09-18 15:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169560320001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789724866000,"timestamp_ms":1789724866000,"timestamp_seconds":1789724866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ea35d0"} 
[2026-09-18 15:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:21: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-09-18 15:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169560320001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169560320001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:21:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169560320001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:21:08] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:21:08] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:21:12] local.INFO: TCP Data received {"connection_id":187515,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:21:12] local.INFO: Processing buffer {"connection_id":187515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:21:12] local.INFO: IMEI packet received {"connection_id":187515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":187515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:21:17] local.INFO: TCP Data received {"connection_id":187515,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:21:17] local.INFO: Processing buffer {"connection_id":187515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:21:17] local.INFO: IMEI packet received {"connection_id":187515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":187515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:21:17] local.INFO: TCP Data received {"connection_id":187515,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:21:17] local.INFO: Processing buffer {"connection_id":187515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3e8bae8012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:21:17] local.INFO: Packet analysis {"connection_id":187515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:21:17] local.INFO: Extracted packet for processing {"connection_id":187515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3e8"} 
[2026-09-18 15:21:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169463808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:17] 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-09-18 15:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789724769000,"timestamp_ms":1789724769000,"timestamp_seconds":1789724769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3e8bae8"} 
[2026-09-18 15:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 15:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169463808001,"66":26039,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169463808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:21:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:21:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169463808001,"power":26039,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":187515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:21:18] local.INFO: GPS data processed {"connection_id":187515,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:21:18] local.INFO: Acknowledgment sent {"connection_id":187515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:21:25] local.INFO: TCP Data received {"connection_id":187516,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:21:25] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:21:25] local.INFO: IMEI packet received {"connection_id":187516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":187516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:21:30] local.INFO: TCP Data received {"connection_id":187516,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:21:30] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:21:30] local.INFO: IMEI packet received {"connection_id":187516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":187516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:21:31] local.INFO: TCP Data received {"connection_id":187516,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ea87d8012d196880071febe00039010c2b..."} 
[2026-09-18 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ea87d8012d196880071febe00039010c2b..."} 
[2026-09-18 15:21:31] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ea87d8012d196880071febe00039010c2b..."} 
[2026-09-18 15:21:31] local.INFO: Packet analysis {"connection_id":187516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ea"} 
[2026-09-18 15:21:31] local.INFO: Extracted packet for processing {"connection_id":187516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ea"} 
[2026-09-18 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169565696001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724887000,"timestamp_ms":1789724887000,"timestamp_seconds":1789724887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ea87d8"} 
[2026-09-18 15:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:21: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-09-18 15:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169565696001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169565696001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169565696001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":187516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:21:31] local.INFO: GPS data processed {"connection_id":187516,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:21:31] local.INFO: Acknowledgment sent {"connection_id":187516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:21:33] local.INFO: TCP Data received {"connection_id":187516,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ead9e0012d196880071febe00039010c2a..."} 
[2026-09-18 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ead9e0012d196880071febe00039010c2a..."} 
[2026-09-18 15:21:33] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ead9e0012d196880071febe00039010c2a..."} 
[2026-09-18 15:21:33] local.INFO: Packet analysis {"connection_id":187516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ea"} 
[2026-09-18 15:21:33] local.INFO: Extracted packet for processing {"connection_id":187516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ea"} 
[2026-09-18 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169571072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789724908000,"timestamp_ms":1789724908000,"timestamp_seconds":1789724908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ead9e0"} 
[2026-09-18 15:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:21: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-09-18 15: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-09-18 15:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169571072001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169571072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:21:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169571072001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":187516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:21:33] local.INFO: GPS data processed {"connection_id":187516,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:21:33] local.INFO: Acknowledgment sent {"connection_id":187516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:21:48] local.INFO: TCP Data received {"connection_id":187515,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:21:48] local.INFO: Processing buffer {"connection_id":187515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:21:48] local.INFO: Packet analysis {"connection_id":187515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:21:48] local.INFO: Extracted packet for processing {"connection_id":187515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:21:48] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:21:48] 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-09-18 15:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:21: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-09-18 15:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:21:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:21:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":187515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:21:48] local.INFO: GPS data processed {"connection_id":187515,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:21:48] local.INFO: Acknowledgment sent {"connection_id":187515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:22:05] local.INFO: TCP Data received {"connection_id":187516,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3eb2be8012d196880071febe00039010c2c..."} 
[2026-09-18 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3eb2be8012d196880071febe00039010c2c..."} 
[2026-09-18 15:22:05] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3eb2be8012d196880071febe00039010c2c..."} 
[2026-09-18 15:22:05] local.INFO: Packet analysis {"connection_id":187516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3eb"} 
[2026-09-18 15:22:05] local.INFO: Extracted packet for processing {"connection_id":187516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3eb"} 
[2026-09-18 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169576448001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789724929000,"timestamp_ms":1789724929000,"timestamp_seconds":1789724929,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3eb2be8"} 
[2026-09-18 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169576448001,"66":11634,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169576448001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:22:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169576448001,"power":11634,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":187516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:22:05] local.INFO: GPS data processed {"connection_id":187516,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:22:05] local.INFO: Acknowledgment sent {"connection_id":187516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:22:17] local.INFO: TCP Data received {"connection_id":187517,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:22:17] local.INFO: Processing buffer {"connection_id":187517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:22:17] local.INFO: IMEI packet received {"connection_id":187517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":187517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:22:22] local.INFO: TCP Data received {"connection_id":187517,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:22:22] local.INFO: Processing buffer {"connection_id":187517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:22:22] local.INFO: IMEI packet received {"connection_id":187517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":187517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:22:23] local.INFO: TCP Data received {"connection_id":187517,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:22:23] local.INFO: Processing buffer {"connection_id":187517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:22:23] local.INFO: Packet analysis {"connection_id":187517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:22:23] local.INFO: Extracted packet for processing {"connection_id":187517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:23] 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-09-18 15:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:22:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:22:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":187517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:22:23] local.INFO: GPS data processed {"connection_id":187517,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:22:23] local.INFO: Acknowledgment sent {"connection_id":187517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:22:24] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:22:24] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:22:24] local.INFO: IMEI packet received {"connection_id":186090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":186090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:22:27] local.INFO: TCP Data received {"connection_id":187517,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:22:27] local.INFO: Processing buffer {"connection_id":187517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:22:27] local.INFO: Packet analysis {"connection_id":187517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:22:27] local.INFO: Extracted packet for processing {"connection_id":187517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:22:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:27] 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-09-18 15:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:22: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-09-18 15: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:22:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:22:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":187517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:22:27] local.INFO: GPS data processed {"connection_id":187517,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:22:27] local.INFO: Acknowledgment sent {"connection_id":187517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:22:30] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:22:30] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:22:30] local.INFO: IMEI packet received {"connection_id":186090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":186090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:22:31] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3eb7df0012d196880071febe00039010c2b..."} 
[2026-09-18 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3eb7df0012d196880071febe00039010c2b..."} 
[2026-09-18 15:22:31] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3eb7df0012d196880071febe00039010c2b..."} 
[2026-09-18 15:22:31] local.INFO: Packet analysis {"connection_id":186090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3eb"} 
[2026-09-18 15:22:31] local.INFO: Extracted packet for processing {"connection_id":186090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3eb"} 
[2026-09-18 15:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169581824001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789724950000,"timestamp_ms":1789724950000,"timestamp_seconds":1789724950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3eb7df0"} 
[2026-09-18 15:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 15:22:31] 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-09-18 15: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-09-18 15:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169581824001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169581824001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:22:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169581824001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":186090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:22:31] local.INFO: GPS data processed {"connection_id":186090,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:22:31] local.INFO: Acknowledgment sent {"connection_id":186090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:23:03] local.INFO: TCP Data received {"connection_id":186090,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ebcff8012d196880071febe00039010c29..."} 
[2026-09-18 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ebcff8012d196880071febe00039010c29..."} 
[2026-09-18 15:23:03] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ebcff8012d196880071febe00039010c29..."} 
[2026-09-18 15:23:03] local.INFO: Packet analysis {"connection_id":186090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3eb"} 
[2026-09-18 15:23:03] local.INFO: Extracted packet for processing {"connection_id":186090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3eb"} 
[2026-09-18 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169587200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789724971000,"timestamp_ms":1789724971000,"timestamp_seconds":1789724971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ebcff8"} 
[2026-09-18 15:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:23: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-09-18 15:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169587200001,"66":12493,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169587200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:23:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169587200001,"power":12493,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":186090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:23:03] local.INFO: GPS data processed {"connection_id":186090,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:23:03] local.INFO: Acknowledgment sent {"connection_id":186090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:23:12] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:23:12] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:23:12] local.INFO: IMEI packet received {"connection_id":187518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":187518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:23:17] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:23:17] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:23:17] local.INFO: IMEI packet received {"connection_id":187518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":187518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:23:18] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:23:18] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:23:18] local.INFO: Packet analysis {"connection_id":187518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:23:18] local.INFO: Extracted packet for processing {"connection_id":187518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:18] 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-09-18 15:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:23:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:23:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":187518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:23:18] local.INFO: GPS data processed {"connection_id":187518,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:23:18] local.INFO: Acknowledgment sent {"connection_id":187518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:23:30] local.INFO: TCP Data received {"connection_id":188840,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:23:30] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:23:30] local.INFO: IMEI packet received {"connection_id":188840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":188840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:23:35] local.INFO: TCP Data received {"connection_id":188840,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:23:35] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:23:35] local.INFO: IMEI packet received {"connection_id":188840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":188840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:23:36] local.INFO: TCP Data received {"connection_id":188840,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ec2200012d196880071febe00039010c2c..."} 
[2026-09-18 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ec2200012d196880071febe00039010c2c..."} 
[2026-09-18 15:23:36] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ec2200012d196880071febe00039010c2c..."} 
[2026-09-18 15:23:36] local.INFO: Packet analysis {"connection_id":188840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ec"} 
[2026-09-18 15:23:36] local.INFO: Extracted packet for processing {"connection_id":188840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ec"} 
[2026-09-18 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169592576001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789724992000,"timestamp_ms":1789724992000,"timestamp_seconds":1789724992,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ec2200"} 
[2026-09-18 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 15:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169592576001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169592576001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:23:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169592576001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":188840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:23:36] local.INFO: GPS data processed {"connection_id":188840,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:23:36] local.INFO: Acknowledgment sent {"connection_id":188840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:23:41] local.INFO: TCP Data received {"connection_id":187519,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:23:41] local.INFO: Processing buffer {"connection_id":187519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:23:41] local.INFO: IMEI packet received {"connection_id":187519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":187519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:23:45] local.INFO: TCP Data received {"connection_id":188840,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ec7408012d196880071febe00039010c2a..."} 
[2026-09-18 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ec7408012d196880071febe00039010c2a..."} 
[2026-09-18 15:23:45] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ec7408012d196880071febe00039010c2a..."} 
[2026-09-18 15:23:45] local.INFO: Packet analysis {"connection_id":188840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ec"} 
[2026-09-18 15:23:45] local.INFO: Extracted packet for processing {"connection_id":188840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ec"} 
[2026-09-18 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169597952001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789725013000,"timestamp_ms":1789725013000,"timestamp_seconds":1789725013,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ec7408"} 
[2026-09-18 15:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169597952001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169597952001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:23:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169597952001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":188840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:23:45] local.INFO: GPS data processed {"connection_id":188840,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:23:45] local.INFO: Acknowledgment sent {"connection_id":188840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:23:50] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:23:50] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:23:50] local.INFO: Packet analysis {"connection_id":187518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:23:50] local.INFO: Extracted packet for processing {"connection_id":187518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:23:50] 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-09-18 15:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:23:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:23:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":187518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:23:50] local.INFO: GPS data processed {"connection_id":187518,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:23:50] local.INFO: Acknowledgment sent {"connection_id":187518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:24:12] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:24:12] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:24:12] local.INFO: IMEI packet received {"connection_id":186091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":186091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:24:17] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:24:17] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:24:17] local.INFO: IMEI packet received {"connection_id":186091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":186091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:24:18] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:24:18] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:24:18] local.INFO: Packet analysis {"connection_id":186091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:24:18] local.INFO: Extracted packet for processing {"connection_id":186091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:24:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:18] 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-09-18 15:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:24:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:24:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":186091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:24:18] local.INFO: GPS data processed {"connection_id":186091,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:24:18] local.INFO: Acknowledgment sent {"connection_id":186091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:24:21] local.INFO: TCP Data received {"connection_id":187520,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:21] local.INFO: Processing buffer {"connection_id":187520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:21] local.INFO: IMEI packet received {"connection_id":187520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":187520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:24:25] local.INFO: TCP Data received {"connection_id":187520,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:25] local.INFO: Processing buffer {"connection_id":187520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:25] local.INFO: IMEI packet received {"connection_id":187520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":187520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:24:30] local.INFO: TCP Data received {"connection_id":187520,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:30] local.INFO: Processing buffer {"connection_id":187520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:24:30] local.INFO: IMEI packet received {"connection_id":187520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":187520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:24:31] local.INFO: TCP Data received {"connection_id":187520,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ecc610012d196880071febe00039010c23..."} 
[2026-09-18 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ecc610012d196880071febe00039010c23..."} 
[2026-09-18 15:24:31] local.INFO: Processing buffer {"connection_id":187520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ecc610012d196880071febe00039010c23..."} 
[2026-09-18 15:24:31] local.INFO: Packet analysis {"connection_id":187520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ec"} 
[2026-09-18 15:24:31] local.INFO: Extracted packet for processing {"connection_id":187520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ec"} 
[2026-09-18 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169603328001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725034000,"timestamp_ms":1789725034000,"timestamp_seconds":1789725034,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ecc610"} 
[2026-09-18 15:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169603328001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169603328001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:24:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169603328001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":187520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:24:31] local.INFO: GPS data processed {"connection_id":187520,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:24:31] local.INFO: Acknowledgment sent {"connection_id":187520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:24:35] local.INFO: TCP Data received {"connection_id":187520,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed1818012d196880071febe00039010c28..."} 
[2026-09-18 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed1818012d196880071febe00039010c28..."} 
[2026-09-18 15:24:35] local.INFO: Processing buffer {"connection_id":187520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed1818012d196880071febe00039010c28..."} 
[2026-09-18 15:24:35] local.INFO: Packet analysis {"connection_id":187520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:24:35] local.INFO: Extracted packet for processing {"connection_id":187520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169608704001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789725055000,"timestamp_ms":1789725055000,"timestamp_seconds":1789725055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed1818"} 
[2026-09-18 15:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169608704001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169608704001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:24:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169608704001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":187520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:24:36] local.INFO: GPS data processed {"connection_id":187520,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:24:36] local.INFO: Acknowledgment sent {"connection_id":187520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:24:50] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:24:50] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:24:50] local.INFO: Packet analysis {"connection_id":186091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:24:50] local.INFO: Extracted packet for processing {"connection_id":186091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:24:50] 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-09-18 15:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:24:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:24:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":186091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:24:50] local.INFO: GPS data processed {"connection_id":186091,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:24:50] local.INFO: Acknowledgment sent {"connection_id":186091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:25:07] local.INFO: TCP Data received {"connection_id":187520,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed6a20012d196880071febe00039010c28..."} 
[2026-09-18 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed6a20012d196880071febe00039010c28..."} 
[2026-09-18 15:25:07] local.INFO: Processing buffer {"connection_id":187520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed6a20012d196880071febe00039010c28..."} 
[2026-09-18 15:25:07] local.INFO: Packet analysis {"connection_id":187520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:07] local.INFO: Extracted packet for processing {"connection_id":187520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169614080001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789725076000,"timestamp_ms":1789725076000,"timestamp_seconds":1789725076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed6a20"} 
[2026-09-18 15:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169614080001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169614080001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:25:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169614080001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":187520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:25:08] local.INFO: GPS data processed {"connection_id":187520,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:25:08] local.INFO: Acknowledgment sent {"connection_id":187520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:25:12] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:25:12] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:25:12] local.INFO: IMEI packet received {"connection_id":188841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":188841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:25:17] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:25:17] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:25:17] local.INFO: IMEI packet received {"connection_id":188841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":188841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:25:18] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:25:18] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:25:18] local.INFO: Packet analysis {"connection_id":188841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:18] local.INFO: Extracted packet for processing {"connection_id":188841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:18] 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-09-18 15:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:25:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:25:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":188841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:25:18] local.INFO: GPS data processed {"connection_id":188841,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:25:18] local.INFO: Acknowledgment sent {"connection_id":188841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:25:24] local.INFO: TCP Data received {"connection_id":186224,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:24] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:24] local.INFO: IMEI packet received {"connection_id":186224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":186224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:25:24] local.INFO: TCP Data received {"connection_id":186224,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:24] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:24] local.INFO: IMEI packet received {"connection_id":186224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":186224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:25:30] local.INFO: TCP Data received {"connection_id":186224,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:30] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:25:30] local.INFO: IMEI packet received {"connection_id":186224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":186224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:25:31] local.INFO: TCP Data received {"connection_id":186224,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3edbc28012d196880071febe00039010c29..."} 
[2026-09-18 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3edbc28012d196880071febe00039010c29..."} 
[2026-09-18 15:25:31] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3edbc28012d196880071febe00039010c29..."} 
[2026-09-18 15:25:31] local.INFO: Packet analysis {"connection_id":186224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:31] local.INFO: Extracted packet for processing {"connection_id":186224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169619456001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725097000,"timestamp_ms":1789725097000,"timestamp_seconds":1789725097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3edbc28"} 
[2026-09-18 15:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15: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-09-18 15: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-09-18 15:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169619456001,"66":12504,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169619456001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:25:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169619456001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":186224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:25:31] local.INFO: GPS data processed {"connection_id":186224,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:25:31] local.INFO: Acknowledgment sent {"connection_id":186224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:25:50] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:25:50] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:25:50] local.INFO: Packet analysis {"connection_id":188841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:50] local.INFO: Extracted packet for processing {"connection_id":188841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:25:50] 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-09-18 15:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:25:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:25:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":188841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:25:50] local.INFO: GPS data processed {"connection_id":188841,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:25:50] local.INFO: Acknowledgment sent {"connection_id":188841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:26:03] local.INFO: TCP Data received {"connection_id":186224,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ee0e30012d196880071febe00039010c29..."} 
[2026-09-18 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ee0e30012d196880071febe00039010c29..."} 
[2026-09-18 15:26:03] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ee0e30012d196880071febe00039010c29..."} 
[2026-09-18 15:26:03] local.INFO: Packet analysis {"connection_id":186224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ee"} 
[2026-09-18 15:26:03] local.INFO: Extracted packet for processing {"connection_id":186224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ee"} 
[2026-09-18 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169624832001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725118000,"timestamp_ms":1789725118000,"timestamp_seconds":1789725118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ee0e30"} 
[2026-09-18 15:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:26: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-09-18 15: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 15:26: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-09-18 15: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-09-18 15:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169624832001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169624832001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:26:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169624832001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":186224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:26:03] local.INFO: GPS data processed {"connection_id":186224,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:26:03] local.INFO: Acknowledgment sent {"connection_id":186224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:26:12] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:26:12] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:26:12] local.INFO: IMEI packet received {"connection_id":188842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":188842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:26:17] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:26:17] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:26:17] local.INFO: IMEI packet received {"connection_id":188842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":188842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:26:18] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:26:18] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ed52b0012d569dc0067b65a00028002a2b..."} 
[2026-09-18 15:26:18] local.INFO: Packet analysis {"connection_id":188842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:26:18] local.INFO: Extracted packet for processing {"connection_id":188842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ed"} 
[2026-09-18 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169540864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:18] 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-09-18 15:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725070000,"timestamp_ms":1789725070000,"timestamp_seconds":1789725070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ed52b0"} 
[2026-09-18 15:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 15:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169540864001,"66":26006,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169540864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:26:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:26:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169540864001,"power":26006,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":188842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:26:18] local.INFO: GPS data processed {"connection_id":188842,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:26:18] local.INFO: Acknowledgment sent {"connection_id":188842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:26:25] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:25] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:25] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:26:27] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:27] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:27] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:26:30] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:30] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:26:30] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:26:32] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ee6038012d196880071febe00039010c2a..."} 
[2026-09-18 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ee6038012d196880071febe00039010c2a..."} 
[2026-09-18 15:26:32] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ee6038012d196880071febe00039010c2a..."} 
[2026-09-18 15:26:32] local.INFO: Packet analysis {"connection_id":186092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ee"} 
[2026-09-18 15:26:32] local.INFO: Extracted packet for processing {"connection_id":186092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ee"} 
[2026-09-18 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169630208001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789725139000,"timestamp_ms":1789725139000,"timestamp_seconds":1789725139,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ee6038"} 
[2026-09-18 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-09-18 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15: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-09-18 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-09-18 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-09-18 15:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169630208001,"66":11721,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169630208001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:26:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169630208001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":186092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:26:32] local.INFO: GPS data processed {"connection_id":186092,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:26:32] local.INFO: Acknowledgment sent {"connection_id":186092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:26:49] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:26:49] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:26:49] local.INFO: Packet analysis {"connection_id":188842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:26:49] local.INFO: Extracted packet for processing {"connection_id":188842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:26:49] 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-09-18 15:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:26:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:26:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":188842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:26:49] local.INFO: GPS data processed {"connection_id":188842,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:26:49] local.INFO: Acknowledgment sent {"connection_id":188842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:27:03] local.INFO: TCP Data received {"connection_id":186092,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3eeb240012d196880071febe00039010c29..."} 
[2026-09-18 15:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3eeb240012d196880071febe00039010c29..."} 
[2026-09-18 15:27:03] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3eeb240012d196880071febe00039010c29..."} 
[2026-09-18 15:27:03] local.INFO: Packet analysis {"connection_id":186092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ee"} 
[2026-09-18 15:27:03] local.INFO: Extracted packet for processing {"connection_id":186092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ee"} 
[2026-09-18 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169635584001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725160000,"timestamp_ms":1789725160000,"timestamp_seconds":1789725160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3eeb240"} 
[2026-09-18 15:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 15:27:03] 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-09-18 15:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169635584001,"66":12178,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169635584001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:27:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169635584001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":186092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:27:03] local.INFO: GPS data processed {"connection_id":186092,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:27:03] local.INFO: Acknowledgment sent {"connection_id":186092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:27:17] local.INFO: TCP Data received {"connection_id":187521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:27:17] local.INFO: Processing buffer {"connection_id":187521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:27:17] local.INFO: IMEI packet received {"connection_id":187521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":187521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:27:22] local.INFO: TCP Data received {"connection_id":187521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:27:22] local.INFO: Processing buffer {"connection_id":187521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:27:22] local.INFO: IMEI packet received {"connection_id":187521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":187521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:27:23] local.INFO: TCP Data received {"connection_id":187521,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:27:23] local.INFO: Processing buffer {"connection_id":187521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:27:23] local.INFO: Packet analysis {"connection_id":187521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:27:23] local.INFO: Extracted packet for processing {"connection_id":187521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:27:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:23] 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-09-18 15:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:27:23] 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-09-18 15:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:27:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:27:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":187521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:27:23] local.INFO: GPS data processed {"connection_id":187521,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:27:23] local.INFO: Acknowledgment sent {"connection_id":187521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:27:24] local.INFO: TCP Data received {"connection_id":188843,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:27:24] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:27:24] local.INFO: IMEI packet received {"connection_id":188843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":188843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:27:30] local.INFO: TCP Data received {"connection_id":188843,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:27:30] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:27:30] local.INFO: IMEI packet received {"connection_id":188843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":188843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:27:31] local.INFO: TCP Data received {"connection_id":188843,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ef0448012d196880071febe00039010c28..."} 
[2026-09-18 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ef0448012d196880071febe00039010c28..."} 
[2026-09-18 15:27:31] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ef0448012d196880071febe00039010c28..."} 
[2026-09-18 15:27:31] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ef"} 
[2026-09-18 15:27:31] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ef"} 
[2026-09-18 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169640960001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725181000,"timestamp_ms":1789725181000,"timestamp_seconds":1789725181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ef0448"} 
[2026-09-18 15:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-18 15:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169640960001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169640960001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:27:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169640960001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:27:31] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:27:31] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:27:54] local.INFO: TCP Data received {"connection_id":187521,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:27:54] local.INFO: Processing buffer {"connection_id":187521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:27:54] local.INFO: Packet analysis {"connection_id":187521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:27:54] local.INFO: Extracted packet for processing {"connection_id":187521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:27:54] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:27:54] 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-09-18 15:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:27:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:27:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":187521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:27:54] local.INFO: GPS data processed {"connection_id":187521,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:27:54] local.INFO: Acknowledgment sent {"connection_id":187521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:28:03] local.INFO: TCP Data received {"connection_id":188843,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ef5650012d196880071febe00039010c26..."} 
[2026-09-18 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ef5650012d196880071febe00039010c26..."} 
[2026-09-18 15:28:03] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ef5650012d196880071febe00039010c26..."} 
[2026-09-18 15:28:03] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ef"} 
[2026-09-18 15:28:03] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ef"} 
[2026-09-18 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169646336001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725202000,"timestamp_ms":1789725202000,"timestamp_seconds":1789725202,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ef5650"} 
[2026-09-18 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:28: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-09-18 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:28: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-09-18 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169646336001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169646336001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:28:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169646336001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:28:03] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:28:03] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:28:12] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:28:12] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:28:12] local.INFO: IMEI packet received {"connection_id":186094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":186094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:28:17] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:28:17] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:28:17] local.INFO: IMEI packet received {"connection_id":186094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":186094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:28:18] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:28:18] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:28:18] local.INFO: Packet analysis {"connection_id":186094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:28:18] local.INFO: Extracted packet for processing {"connection_id":186094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:18] 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-09-18 15:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:28:18] 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-09-18 15:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:28:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:28:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":186094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:28:18] local.INFO: GPS data processed {"connection_id":186094,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:28:18] local.INFO: Acknowledgment sent {"connection_id":186094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:28:24] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:28:24] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:28:24] local.INFO: IMEI packet received {"connection_id":186095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":186095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:28:29] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:28:29] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:28:29] local.INFO: IMEI packet received {"connection_id":186095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":186095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:28:31] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3efa858012d196880071febe00039010c27..."} 
[2026-09-18 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3efa858012d196880071febe00039010c27..."} 
[2026-09-18 15:28:31] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3efa858012d196880071febe00039010c27..."} 
[2026-09-18 15:28:31] local.INFO: Packet analysis {"connection_id":186095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ef"} 
[2026-09-18 15:28:31] local.INFO: Extracted packet for processing {"connection_id":186095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ef"} 
[2026-09-18 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169651712001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725223000,"timestamp_ms":1789725223000,"timestamp_seconds":1789725223,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3efa858"} 
[2026-09-18 15:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:28: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-09-18 15: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-09-18 15:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169651712001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169651712001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:28:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169651712001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":186095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:28:31] local.INFO: GPS data processed {"connection_id":186095,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:28:31] local.INFO: Acknowledgment sent {"connection_id":186095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:28:49] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:28:49] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:28:49] local.INFO: Packet analysis {"connection_id":186094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:28:49] local.INFO: Extracted packet for processing {"connection_id":186094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:28:49] 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-09-18 15:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:28:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:28:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":186094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:28:49] local.INFO: GPS data processed {"connection_id":186094,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:28:49] local.INFO: Acknowledgment sent {"connection_id":186094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:03] local.INFO: TCP Data received {"connection_id":186095,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f32eb0012d196880071febe00039010c29..."} 
[2026-09-18 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f32eb0012d196880071febe00039010c29..."} 
[2026-09-18 15:29:03] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f32eb0012d196880071febe00039010c29..."} 
[2026-09-18 15:29:03] local.INFO: Packet analysis {"connection_id":186095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f3"} 
[2026-09-18 15:29:03] local.INFO: Extracted packet for processing {"connection_id":186095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f3"} 
[2026-09-18 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169710848001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725454000,"timestamp_ms":1789725454000,"timestamp_seconds":1789725454,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f32eb0"} 
[2026-09-18 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169710848001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169710848001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:29:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169710848001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":186095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:29:03] local.INFO: GPS data processed {"connection_id":186095,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:29:03] local.INFO: Acknowledgment sent {"connection_id":186095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:15] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:29:15] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:29:15] local.INFO: IMEI packet received {"connection_id":186093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:29:17] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:29:17] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:29:17] local.INFO: IMEI packet received {"connection_id":188844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":188844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:29:22] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:29:22] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:29:22] local.INFO: IMEI packet received {"connection_id":188844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":188844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:29:26] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:26] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:26] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:29:26] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:26] 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-09-18 15:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:29: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-09-18 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:29:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:29:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:29:26] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:29:26] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:27] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:27] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:27] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:29:27] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:29:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:27] 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-09-18 15:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15: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-09-18 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:29:27] 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-09-18 15:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:29:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:29:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:29:27] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:29:27] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:30] local.INFO: TCP Data received {"connection_id":186225,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:29:30] local.INFO: Processing buffer {"connection_id":186225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:29:30] local.INFO: IMEI packet received {"connection_id":186225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":186225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:29:32] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:32] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:29:32] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:29:32] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:32] 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-09-18 15:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 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-09-18 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:29:32] 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-09-18 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-09-18 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-09-18 15:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:29: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-09-18 15:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:29:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:29:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:29:32] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:29:32] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:34] local.INFO: TCP Data received {"connection_id":186225,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:29:34] local.INFO: Processing buffer {"connection_id":186225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:29:34] local.INFO: IMEI packet received {"connection_id":186225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":186225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:29:36] local.INFO: TCP Data received {"connection_id":186225,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f380b8012d196880071febe00039010c2a..."} 
[2026-09-18 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f380b8012d196880071febe00039010c2a..."} 
[2026-09-18 15:29:36] local.INFO: Processing buffer {"connection_id":186225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f380b8012d196880071febe00039010c2a..."} 
[2026-09-18 15:29:36] local.INFO: Packet analysis {"connection_id":186225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f3"} 
[2026-09-18 15:29:36] local.INFO: Extracted packet for processing {"connection_id":186225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f3"} 
[2026-09-18 15:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169716224001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789725475000,"timestamp_ms":1789725475000,"timestamp_seconds":1789725475,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f380b8"} 
[2026-09-18 15:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169716224001,"66":12439,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169716224001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:29:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169716224001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":186225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:29:36] local.INFO: GPS data processed {"connection_id":186225,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:29:36] local.INFO: Acknowledgment sent {"connection_id":186225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:37] local.INFO: TCP Data received {"connection_id":186225,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f3d2c0012d196880071febe00039010c28..."} 
[2026-09-18 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f3d2c0012d196880071febe00039010c28..."} 
[2026-09-18 15:29:37] local.INFO: Processing buffer {"connection_id":186225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f3d2c0012d196880071febe00039010c28..."} 
[2026-09-18 15:29:37] local.INFO: Packet analysis {"connection_id":186225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f3"} 
[2026-09-18 15:29:37] local.INFO: Extracted packet for processing {"connection_id":186225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f3"} 
[2026-09-18 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169721600001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789725496000,"timestamp_ms":1789725496000,"timestamp_seconds":1789725496,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f3d2c0"} 
[2026-09-18 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-18 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169721600001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169721600001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169721600001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":186225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:29:37] local.INFO: GPS data processed {"connection_id":186225,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:29:37] local.INFO: Acknowledgment sent {"connection_id":186225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:29:37] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:29:37] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:29:37] local.INFO: IMEI packet received {"connection_id":186096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":186096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:29:46] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:29:46] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:29:46] local.INFO: IMEI packet received {"connection_id":186096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":186096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:29:56] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 15:29:56] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-18 15:29:56] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 15:29:56] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-18 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:29:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:29:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 15:29:56] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 15:29:56] local.ERROR: GPS data processing failed {"connection_id":186096,"error":"No valid data to process"} 
[2026-09-18 15:29:56] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 15:30:01] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 15:30:01] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-18 15:30:01] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 15:30:01] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 15:30: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-09-18 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-09-18 15:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:30:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:30:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 15:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 15:30:01] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 15:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 15:30:01] local.ERROR: GPS data processing failed {"connection_id":186096,"error":"No valid data to process"} 
[2026-09-18 15:30:01] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 15:30:09] local.INFO: TCP Data received {"connection_id":186225,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f424c8012d196880071febe00039010c27..."} 
[2026-09-18 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f424c8012d196880071febe00039010c27..."} 
[2026-09-18 15:30:09] local.INFO: Processing buffer {"connection_id":186225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f424c8012d196880071febe00039010c27..."} 
[2026-09-18 15:30:09] local.INFO: Packet analysis {"connection_id":186225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f4"} 
[2026-09-18 15:30:09] local.INFO: Extracted packet for processing {"connection_id":186225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f4"} 
[2026-09-18 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169726976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789725517000,"timestamp_ms":1789725517000,"timestamp_seconds":1789725517,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f424c8"} 
[2026-09-18 15:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169726976001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169726976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:30:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:30:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169726976001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":186225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:30:09] local.INFO: GPS data processed {"connection_id":186225,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:30:09] local.INFO: Acknowledgment sent {"connection_id":186225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:30:12] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:30:12] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:30:12] local.INFO: IMEI packet received {"connection_id":187522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":187522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:30:17] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:30:17] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:30:17] local.INFO: IMEI packet received {"connection_id":187522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":187522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:30:18] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:30:18] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:30:18] local.INFO: Packet analysis {"connection_id":187522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:30:18] local.INFO: Extracted packet for processing {"connection_id":187522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:18] 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-09-18 15:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:30:18] 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-09-18 15:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:30:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:30:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":187522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:30:18] local.INFO: GPS data processed {"connection_id":187522,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:30:18] local.INFO: Acknowledgment sent {"connection_id":187522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:30:24] local.INFO: TCP Data received {"connection_id":186097,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:30:24] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:30:24] local.INFO: IMEI packet received {"connection_id":186097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":186097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:30:30] local.INFO: TCP Data received {"connection_id":186097,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:30:30] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:30:30] local.INFO: IMEI packet received {"connection_id":186097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":186097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:30:31] local.INFO: TCP Data received {"connection_id":186097,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f476d0012d196880071febe00039010c28..."} 
[2026-09-18 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f476d0012d196880071febe00039010c28..."} 
[2026-09-18 15:30:31] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f476d0012d196880071febe00039010c28..."} 
[2026-09-18 15:30:31] local.INFO: Packet analysis {"connection_id":186097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f4"} 
[2026-09-18 15:30:31] local.INFO: Extracted packet for processing {"connection_id":186097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f4"} 
[2026-09-18 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169732352001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725538000,"timestamp_ms":1789725538000,"timestamp_seconds":1789725538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f476d0"} 
[2026-09-18 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-09-18 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15: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-09-18 15: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-09-18 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-09-18 15:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169732352001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169732352001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:30:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169732352001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":186097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:30:31] local.INFO: GPS data processed {"connection_id":186097,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:30:31] local.INFO: Acknowledgment sent {"connection_id":186097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:30:37] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-18 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-18 15:30:37] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-18 15:30:37] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 15:30:37] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:30:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 15:30:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 15:30:37] local.ERROR: GPS data processing failed {"connection_id":186096,"error":"No valid data to process"} 
[2026-09-18 15:30:37] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 15:30:49] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:30:49] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:30:49] local.INFO: Packet analysis {"connection_id":187522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:30:49] local.INFO: Extracted packet for processing {"connection_id":187522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:30:49] 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-09-18 15:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:30:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:30:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":187522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:30:49] local.INFO: GPS data processed {"connection_id":187522,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:30:49] local.INFO: Acknowledgment sent {"connection_id":187522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:31:02] local.INFO: TCP Data received {"connection_id":186097,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f4c8d8012d196880071febe00039010c28..."} 
[2026-09-18 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f4c8d8012d196880071febe00039010c28..."} 
[2026-09-18 15:31:02] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f4c8d8012d196880071febe00039010c28..."} 
[2026-09-18 15:31:02] local.INFO: Packet analysis {"connection_id":186097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f4"} 
[2026-09-18 15:31:02] local.INFO: Extracted packet for processing {"connection_id":186097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f4"} 
[2026-09-18 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169737728001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789725559000,"timestamp_ms":1789725559000,"timestamp_seconds":1789725559,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f4c8d8"} 
[2026-09-18 15:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169737728001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169737728001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:31:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:31:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169737728001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":186097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:31:02] local.INFO: GPS data processed {"connection_id":186097,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:31:02] local.INFO: Acknowledgment sent {"connection_id":186097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:31:11] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-18 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-18 15:31:11] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-18 15:31:11] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 15:31:11] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-18 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:31:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-18 15:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 15:31:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 15:31:11] local.ERROR: GPS data processing failed {"connection_id":186096,"error":"No valid data to process"} 
[2026-09-18 15:31:11] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 15:31:12] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:31:12] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:31:12] local.INFO: IMEI packet received {"connection_id":186226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":186226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:31:17] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:31:17] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:31:17] local.INFO: IMEI packet received {"connection_id":186226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":186226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:31:17] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:31:17] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:31:17] local.INFO: Packet analysis {"connection_id":186226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:31:17] local.INFO: Extracted packet for processing {"connection_id":186226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:17] 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-09-18 15:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:31:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:31:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:31:17] local.INFO: GPS data processed {"connection_id":186226,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:31:17] local.INFO: Acknowledgment sent {"connection_id":186226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:31:24] local.INFO: TCP Data received {"connection_id":188845,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:31:24] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:31:24] local.INFO: IMEI packet received {"connection_id":188845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":188845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:31:29] local.INFO: TCP Data received {"connection_id":188845,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:31:29] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:31:29] local.INFO: IMEI packet received {"connection_id":188845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":188845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:31:31] local.INFO: TCP Data received {"connection_id":188845,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f51ae0012d196880071febe00039010c28..."} 
[2026-09-18 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f51ae0012d196880071febe00039010c28..."} 
[2026-09-18 15:31:31] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f51ae0012d196880071febe00039010c28..."} 
[2026-09-18 15:31:31] local.INFO: Packet analysis {"connection_id":188845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f5"} 
[2026-09-18 15:31:31] local.INFO: Extracted packet for processing {"connection_id":188845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f5"} 
[2026-09-18 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169743104001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725580000,"timestamp_ms":1789725580000,"timestamp_seconds":1789725580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f51ae0"} 
[2026-09-18 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-09-18 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 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-09-18 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169743104001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169743104001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:31:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169743104001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":188845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:31:31] local.INFO: GPS data processed {"connection_id":188845,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:31:31] local.INFO: Acknowledgment sent {"connection_id":188845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:31:49] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:31:49] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f1ea78012d569dc0067b65a00028002a2e..."} 
[2026-09-18 15:31:49] local.INFO: Packet analysis {"connection_id":186226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:31:49] local.INFO: Extracted packet for processing {"connection_id":186226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f1"} 
[2026-09-18 15:31:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":40,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169617920001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:31:49] 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-09-18 15:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725371000,"timestamp_ms":1789725371000,"timestamp_seconds":1789725371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f1ea78"} 
[2026-09-18 15:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 15:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169617920001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169617920001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:31:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:31:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169617920001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:31:49] local.INFO: GPS data processed {"connection_id":186226,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:31:49] local.INFO: Acknowledgment sent {"connection_id":186226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:32:03] local.INFO: TCP Data received {"connection_id":188845,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f56ce8012d196880071febe00039010c29..."} 
[2026-09-18 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f56ce8012d196880071febe00039010c29..."} 
[2026-09-18 15:32:03] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f56ce8012d196880071febe00039010c29..."} 
[2026-09-18 15:32:03] local.INFO: Packet analysis {"connection_id":188845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f5"} 
[2026-09-18 15:32:03] local.INFO: Extracted packet for processing {"connection_id":188845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f5"} 
[2026-09-18 15:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169748480001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725601000,"timestamp_ms":1789725601000,"timestamp_seconds":1789725601,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f56ce8"} 
[2026-09-18 15:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:32: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-09-18 15: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-09-18 15:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169748480001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169748480001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:32:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169748480001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":188845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:32:03] local.INFO: GPS data processed {"connection_id":188845,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:32:03] local.INFO: Acknowledgment sent {"connection_id":188845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:32:07] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f643c00100000000000000000000000000..."} 
[2026-09-18 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f643c00100000000000000000000000000..."} 
[2026-09-18 15:32:07] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f643c00100000000000000000000000000..."} 
[2026-09-18 15:32:07] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:07] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789725656000,"timestamp_ms":1789725656000,"timestamp_seconds":1789725656,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f643c0"} 
[2026-09-18 15:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 15:32:07] 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-09-18 15:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 15:32:07] local.INFO: GPS data processed {"connection_id":186096,"processed":0,"errors":0,"total":1} 
[2026-09-18 15:32:07] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:32:12] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:32:12] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:32:12] local.INFO: IMEI packet received {"connection_id":186227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":186227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:32:17] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:32:17] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:32:17] local.INFO: IMEI packet received {"connection_id":186227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":186227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:32:18] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:32:18] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:32:18] local.INFO: Packet analysis {"connection_id":186227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:18] local.INFO: Extracted packet for processing {"connection_id":186227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:18] 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-09-18 15:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:32:18] 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-09-18 15:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:32:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:32:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":186227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:32:18] local.INFO: GPS data processed {"connection_id":186227,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:32:18] local.INFO: Acknowledgment sent {"connection_id":186227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:32:24] local.INFO: TCP Data received {"connection_id":186228,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:24] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:24] local.INFO: IMEI packet received {"connection_id":186228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":186228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:32:24] local.INFO: TCP Data received {"connection_id":186228,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:24] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:24] local.INFO: IMEI packet received {"connection_id":186228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":186228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:32:30] local.INFO: TCP Data received {"connection_id":186228,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:30] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:32:30] local.INFO: IMEI packet received {"connection_id":186228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":186228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:32:31] local.INFO: TCP Data received {"connection_id":186228,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f5bef0012d196880071febe00039010c29..."} 
[2026-09-18 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f5bef0012d196880071febe00039010c29..."} 
[2026-09-18 15:32:31] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f5bef0012d196880071febe00039010c29..."} 
[2026-09-18 15:32:31] local.INFO: Packet analysis {"connection_id":186228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f5"} 
[2026-09-18 15:32:31] local.INFO: Extracted packet for processing {"connection_id":186228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f5"} 
[2026-09-18 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:32: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-09-18 15:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169753856001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725622000,"timestamp_ms":1789725622000,"timestamp_seconds":1789725622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f5bef0"} 
[2026-09-18 15:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169753856001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169753856001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:32:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169753856001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":186228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:32:31] local.INFO: GPS data processed {"connection_id":186228,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:32:31] local.INFO: Acknowledgment sent {"connection_id":186228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:32:38] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f695c80100000000000000000000000000..."} 
[2026-09-18 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f695c80100000000000000000000000000..."} 
[2026-09-18 15:32:38] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f695c80100000000000000000000000000..."} 
[2026-09-18 15:32:38] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:38] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789725677000,"timestamp_ms":1789725677000,"timestamp_seconds":1789725677,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f695c8"} 
[2026-09-18 15:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:32:38] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 15:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 15:32:38] local.INFO: GPS data processed {"connection_id":186096,"processed":0,"errors":0,"total":1} 
[2026-09-18 15:32:38] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:32:50] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:32:50] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:32:50] local.INFO: Packet analysis {"connection_id":186227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:50] local.INFO: Extracted packet for processing {"connection_id":186227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:32:50] 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-09-18 15:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:32:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:32:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":186227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:32:50] local.INFO: GPS data processed {"connection_id":186227,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:32:50] local.INFO: Acknowledgment sent {"connection_id":186227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:03] local.INFO: TCP Data received {"connection_id":186228,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f610f8012d196880071febe00039010c2a..."} 
[2026-09-18 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f610f8012d196880071febe00039010c2a..."} 
[2026-09-18 15:33:03] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f610f8012d196880071febe00039010c2a..."} 
[2026-09-18 15:33:03] local.INFO: Packet analysis {"connection_id":186228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:03] local.INFO: Extracted packet for processing {"connection_id":186228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169759232001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725643000,"timestamp_ms":1789725643000,"timestamp_seconds":1789725643,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f610f8"} 
[2026-09-18 15:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15: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-09-18 15:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169759232001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169759232001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169759232001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":186228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:03] local.INFO: GPS data processed {"connection_id":186228,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:03] local.INFO: Acknowledgment sent {"connection_id":186228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:14] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:14] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:14] local.INFO: IMEI packet received {"connection_id":186098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:33:16] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f6e7d00100000000000000000000000000..."} 
[2026-09-18 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f6e7d00100000000000000000000000000..."} 
[2026-09-18 15:33:16] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f6e7d00100000000000000000000000000..."} 
[2026-09-18 15:33:16] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:16] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33: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-09-18 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789725698000,"timestamp_ms":1789725698000,"timestamp_seconds":1789725698,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f6e7d0"} 
[2026-09-18 15:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33:16] 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-09-18 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 15:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 15:33:16] local.INFO: GPS data processed {"connection_id":186096,"processed":0,"errors":0,"total":1} 
[2026-09-18 15:33:16] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:17] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:33:17] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:33:17] local.INFO: IMEI packet received {"connection_id":186229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":186229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:33:20] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:20] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:20] local.INFO: IMEI packet received {"connection_id":186098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":186098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:33:21] local.INFO: TCP Data received {"connection_id":186098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f75d00012d79138005e89ef80004012429..."} 
[2026-09-18 15:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f75d00012d79138005e89ef80004012429..."} 
[2026-09-18 15:33:21] local.INFO: Processing buffer {"connection_id":186098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f75d00012d79138005e89ef80004012429..."} 
[2026-09-18 15:33:21] local.INFO: Packet analysis {"connection_id":186098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:33:21] local.INFO: Extracted packet for processing {"connection_id":186098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:33:21] local.INFO: GPS Element Parsed {"raw_longitude":762909568,"raw_latitude":99131128,"longitude_deg":76.2909568,"latitude_deg":9.9131128,"altitude":4,"angle":292,"satellites":41,"speed":30,"hex_longitude":"2d791380","hex_latitude":"05e89ef8","is_valid_coordinates":true} 
[2026-09-18 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169784320001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134709845352775680,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728609421918709760,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789725728000,"timestamp_ms":1789725728000,"timestamp_seconds":1789725728,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f75d00"} 
[2026-09-18 15:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33: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-09-18 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3019276864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858235392,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5992039304216444938,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4137523201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":145,"raw_value":3758173561,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743744,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2493972480,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-8466760803891544058,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314874725628431872,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:21] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,130,87,24,241,16,149,160,42,45,128,150,4,10,66,220,192,142,5,39,177,1,240,84,148,179,232,113,205,25,145,123,104,40,239,53,2,222,27,121,51],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[]} 
[2026-09-18 15:33:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288563708564275200,"timestamp_seconds":288563708564275.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:33:21] 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-09-18 15:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169784320001,"66":13472,"130":206,"87":13824,"24":30,"16":134709845352775680,"45":8728609421918709760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,87,24,16,45]} 
[2026-09-18 15:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169784320001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-18 15:33:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134709845352775680,"km_value":134709845352775.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728609421918709760,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169784320001,"power":13472,"unknown_130":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8728609421918709760}} 
[2026-09-18 15:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":186098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:21] local.INFO: GPS data processed {"connection_id":186098,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:21] local.INFO: Acknowledgment sent {"connection_id":186098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:22] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:33:22] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:33:22] local.INFO: IMEI packet received {"connection_id":186229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":186229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:33:22] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:33:22] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:33:22] local.INFO: Packet analysis {"connection_id":186229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:22] local.INFO: Extracted packet for processing {"connection_id":186229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:22] 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-09-18 15:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:33:22] 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-09-18 15:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:33:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:23] local.INFO: GPS data processed {"connection_id":186229,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:23] local.INFO: Acknowledgment sent {"connection_id":186229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:24] local.INFO: TCP Data received {"connection_id":186230,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:24] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:24] local.INFO: IMEI packet received {"connection_id":186230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":186230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:33:27] local.INFO: TCP Data received {"connection_id":186230,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:27] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:27] local.INFO: IMEI packet received {"connection_id":186230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":186230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:33:29] local.INFO: TCP Data received {"connection_id":186230,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:29] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:33:29] local.INFO: IMEI packet received {"connection_id":186230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":186230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:33:31] local.INFO: TCP Data received {"connection_id":186230,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f66300012d196880071febe00039010c27..."} 
[2026-09-18 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f66300012d196880071febe00039010c27..."} 
[2026-09-18 15:33:31] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f66300012d196880071febe00039010c27..."} 
[2026-09-18 15:33:31] local.INFO: Packet analysis {"connection_id":186230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:31] local.INFO: Extracted packet for processing {"connection_id":186230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169764608001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725664000,"timestamp_ms":1789725664000,"timestamp_seconds":1789725664,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f66300"} 
[2026-09-18 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-09-18 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 15:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169764608001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169764608001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169764608001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":186230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:31] local.INFO: GPS data processed {"connection_id":186230,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:31] local.INFO: Acknowledgment sent {"connection_id":186230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:36] local.INFO: TCP Data received {"connection_id":186230,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f6b508012d196880071febe00039010c28..."} 
[2026-09-18 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f6b508012d196880071febe00039010c28..."} 
[2026-09-18 15:33:36] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f6b508012d196880071febe00039010c28..."} 
[2026-09-18 15:33:36] local.INFO: Packet analysis {"connection_id":186230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:36] local.INFO: Extracted packet for processing {"connection_id":186230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169769984001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789725685000,"timestamp_ms":1789725685000,"timestamp_seconds":1789725685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f6b508"} 
[2026-09-18 15:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169769984001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169769984001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169769984001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":186230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:36] local.INFO: GPS data processed {"connection_id":186230,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:36] local.INFO: Acknowledgment sent {"connection_id":186230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:49] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:49] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:49] local.INFO: IMEI packet received {"connection_id":188846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":188846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:33:54] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:33:54] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:33:54] local.INFO: Packet analysis {"connection_id":186229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:54] local.INFO: Extracted packet for processing {"connection_id":186229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:54] 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-09-18 15:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:33:54] 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-09-18 15:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:33:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":186229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:54] local.INFO: GPS data processed {"connection_id":186229,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:54] local.INFO: Acknowledgment sent {"connection_id":186229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:33:55] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:55] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:33:55] local.INFO: IMEI packet received {"connection_id":188846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":188846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:33:56] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f77088012d7902c005e8a3e80003011928..."} 
[2026-09-18 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f77088012d7902c005e8a3e80003011928..."} 
[2026-09-18 15:33:56] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f77088012d7902c005e8a3e80003011928..."} 
[2026-09-18 15:33:56] local.INFO: Packet analysis {"connection_id":188846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:33:56] local.INFO: Extracted packet for processing {"connection_id":188846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":762905280,"raw_latitude":99132392,"longitude_deg":76.290528,"latitude_deg":9.9132392,"altitude":3,"angle":281,"satellites":40,"speed":37,"hex_longitude":"2d7902c0","hex_latitude":"05e8a3e8","is_valid_coordinates":true} 
[2026-09-18 15:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169786368001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134710060101140480,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724457666012706816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789725733000,"timestamp_ms":1789725733000,"timestamp_seconds":1789725733,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f77088"} 
[2026-09-18 15:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 15:33: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-09-18 15:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169786368001,"66":13624,"130":206,"87":13824,"24":37,"16":134710060101140480,"45":8724457666012706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,87,24,16,45]} 
[2026-09-18 15:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169786368001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:33:56] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-18 15:33:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134710060101140480,"km_value":134710060101140.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724457666012706816,"description":"Unknown IO ID 45"} 
[2026-09-18 15:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169786368001,"power":13624,"unknown_130":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8724457666012706816}} 
[2026-09-18 15:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":188846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:33:56] local.INFO: GPS data processed {"connection_id":188846,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:33:56] local.INFO: Acknowledgment sent {"connection_id":188846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:05] local.INFO: TCP Data received {"connection_id":186096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f739d80100000000000000000000000000..."} 
[2026-09-18 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f739d80100000000000000000000000000..."} 
[2026-09-18 15:34:05] local.INFO: Processing buffer {"connection_id":186096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f739d80100000000000000000000000000..."} 
[2026-09-18 15:34:05] local.INFO: Packet analysis {"connection_id":186096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:34:05] local.INFO: Extracted packet for processing {"connection_id":186096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33070659768680448,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789725719000,"timestamp_ms":1789725719000,"timestamp_seconds":1789725719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f739d8"} 
[2026-09-18 15:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:05] 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-09-18 15:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":186096,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 15:34:05] local.INFO: GPS data processed {"connection_id":186096,"processed":0,"errors":0,"total":1} 
[2026-09-18 15:34:05] local.INFO: Acknowledgment sent {"connection_id":186096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:08] local.INFO: TCP Data received {"connection_id":186230,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f70710012d196880071febe00039010c2a..."} 
[2026-09-18 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f70710012d196880071febe00039010c2a..."} 
[2026-09-18 15:34:08] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f70710012d196880071febe00039010c2a..."} 
[2026-09-18 15:34:08] local.INFO: Packet analysis {"connection_id":186230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:34:08] local.INFO: Extracted packet for processing {"connection_id":186230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169775360001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789725706000,"timestamp_ms":1789725706000,"timestamp_seconds":1789725706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f70710"} 
[2026-09-18 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:34: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-09-18 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169775360001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169775360001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:34:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169775360001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":186230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:34:08] local.INFO: GPS data processed {"connection_id":186230,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:34:08] local.INFO: Acknowledgment sent {"connection_id":186230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:11] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:34:11] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:34:11] local.INFO: IMEI packet received {"connection_id":186099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":186099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:34:12] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:34:12] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:34:12] local.INFO: IMEI packet received {"connection_id":186231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":186231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:34:12] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 15:34:12] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 15:34:12] local.INFO: IMEI packet received {"connection_id":186099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":186099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:34:15] local.INFO: TCP Data received {"connection_id":186099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186099,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:34:15] local.INFO: Processing buffer {"connection_id":186099,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 15:34:15] local.INFO: IMEI packet received {"connection_id":186099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:34:17] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:34:17] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:34:17] local.INFO: IMEI packet received {"connection_id":186231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":186231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:34:18] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:34:18] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:34:18] local.INFO: Packet analysis {"connection_id":186231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:34:18] local.INFO: Extracted packet for processing {"connection_id":186231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:18] 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-09-18 15:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:18] 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-09-18 15:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:34:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:34:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":186231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:34:18] local.INFO: GPS data processed {"connection_id":186231,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:34:18] local.INFO: Acknowledgment sent {"connection_id":186231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:25] local.INFO: TCP Data received {"connection_id":187524,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:34:25] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:34:25] local.INFO: IMEI packet received {"connection_id":187524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":187524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:34:27] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f91280012d78c7c005e8f9880004003b29..."} 
[2026-09-18 15:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f91280012d78c7c005e8f9880004003b29..."} 
[2026-09-18 15:34:27] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f91280012d78c7c005e8f9880004003b29..."} 
[2026-09-18 15:34:27] local.INFO: Packet analysis {"connection_id":188846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:34:27] local.INFO: Extracted packet for processing {"connection_id":188846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:34:27] local.INFO: GPS Element Parsed {"raw_longitude":762890176,"raw_latitude":99154312,"longitude_deg":76.2890176,"latitude_deg":9.9154312,"altitude":4,"angle":59,"satellites":41,"speed":8,"hex_longitude":"2d78c7c0","hex_latitude":"05e8f988","is_valid_coordinates":true} 
[2026-09-18 15:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169814528001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134711520390021120,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702854461556008960,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789725840000,"timestamp_ms":1789725840000,"timestamp_seconds":1789725840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f91280"} 
[2026-09-18 15:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:27] 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-09-18 15:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169814528001,"66":13330,"132":206,"87":13824,"24":8,"16":134711520390021120,"45":8702854461556008960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 15:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169814528001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:34:27] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 15:34:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134711520390021120,"km_value":134711520390021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702854461556008960,"description":"Unknown IO ID 45"} 
[2026-09-18 15:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169814528001,"power":13330,"unknown_132":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8702854461556008960}} 
[2026-09-18 15:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":188846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:34:27] local.INFO: GPS data processed {"connection_id":188846,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:34:27] local.INFO: Acknowledgment sent {"connection_id":188846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:30] local.INFO: TCP Data received {"connection_id":187524,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:34:30] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:34:30] local.INFO: IMEI packet received {"connection_id":187524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":187524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:34:31] local.INFO: TCP Data received {"connection_id":187524,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f75918012d196880071febe00039010c29..."} 
[2026-09-18 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f75918012d196880071febe00039010c29..."} 
[2026-09-18 15:34:31] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f75918012d196880071febe00039010c29..."} 
[2026-09-18 15:34:31] local.INFO: Packet analysis {"connection_id":187524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:34:31] local.INFO: Extracted packet for processing {"connection_id":187524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169780736001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725727000,"timestamp_ms":1789725727000,"timestamp_seconds":1789725727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f75918"} 
[2026-09-18 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-09-18 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169780736001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169780736001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:34:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169780736001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":187524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:34:31] local.INFO: GPS data processed {"connection_id":187524,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:34:31] local.INFO: Acknowledgment sent {"connection_id":187524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:45] local.INFO: TCP Data received {"connection_id":187525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:34:45] local.INFO: Processing buffer {"connection_id":187525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:34:45] local.INFO: IMEI packet received {"connection_id":187525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":187525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:34:49] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:34:49] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:34:49] local.INFO: Packet analysis {"connection_id":186231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:34:49] local.INFO: Extracted packet for processing {"connection_id":186231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:49] 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-09-18 15:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:34:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:34:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":186231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:34:49] local.INFO: GPS data processed {"connection_id":186231,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:34:49] local.INFO: Acknowledgment sent {"connection_id":186231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:34:49] local.INFO: TCP Data received {"connection_id":187525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:34:49] local.INFO: Processing buffer {"connection_id":187525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:34:49] local.INFO: IMEI packet received {"connection_id":187525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":187525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:34:50] local.INFO: TCP Data received {"connection_id":187523,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:34:50] local.INFO: Processing buffer {"connection_id":187523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:34:50] local.INFO: IMEI packet received {"connection_id":187523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":187523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:34:50] local.INFO: TCP Data received {"connection_id":187525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f958d0012d78c94005e8fa680004005c24..."} 
[2026-09-18 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f958d0012d78c94005e8fa680004005c24..."} 
[2026-09-18 15:34:50] local.INFO: Processing buffer {"connection_id":187525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f958d0012d78c94005e8fa680004005c24..."} 
[2026-09-18 15:34:50] local.INFO: Packet analysis {"connection_id":187525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:34:50] local.INFO: Extracted packet for processing {"connection_id":187525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":762890560,"raw_latitude":99154536,"longitude_deg":76.289056,"latitude_deg":9.9154536,"altitude":4,"angle":92,"satellites":36,"speed":3,"hex_longitude":"2d78c940","hex_latitude":"05e8fa68","is_valid_coordinates":true} 
[2026-09-18 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169815040001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134711546159824896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703135936532809728,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725858000,"timestamp_ms":1789725858000,"timestamp_seconds":1789725858,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f958d0"} 
[2026-09-18 15:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:34:50] 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-09-18 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3019390864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":248,"raw_value":639512441899827205,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":18432,"corrected_to":0} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276621066929745224,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4168499201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-5183643162491083264,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1954808014,"corrected_to":0} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2531590144,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3905761280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":12,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.WARNING: Large IO value detected {"io_id":116,"raw_value":-9006972380777539584,"note":"Value kept but may cause issues"} 
[2026-09-18 15:34:50] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,132,87,24,241,157,16,151,160,10,45,192,248,4,41,66,6,128,247,43,1,240,110,227,179,232,113,205,11,79,217,112,44,239,52,131,2,222,5,3,9,12,116],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":247,"original":18432,"validated":0},{"io_id":205,"original":1954808014,"validated":0}]} 
[2026-09-18 15:34:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288295423431933952,"timestamp_seconds":288295423431933.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:34:50] 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-09-18 15:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169815040001,"66":13602,"132":206,"87":13824,"24":3,"16":134711546159824896,"45":8703135936532809728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 15:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169815040001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:34:50] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 15:34:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134711546159824896,"km_value":134711546159824.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703135936532809728,"description":"Unknown IO ID 45"} 
[2026-09-18 15:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169815040001,"power":13602,"unknown_132":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8703135936532809728}} 
[2026-09-18 15:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":187525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:34:50] local.INFO: GPS data processed {"connection_id":187525,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:34:50] local.INFO: Acknowledgment sent {"connection_id":187525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:03] local.INFO: TCP Data received {"connection_id":187524,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f7ab20012d196880071febe00039010c29..."} 
[2026-09-18 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f7ab20012d196880071febe00039010c29..."} 
[2026-09-18 15:35:03] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f7ab20012d196880071febe00039010c29..."} 
[2026-09-18 15:35:03] local.INFO: Packet analysis {"connection_id":187524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:35:03] local.INFO: Extracted packet for processing {"connection_id":187524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169786112001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725748000,"timestamp_ms":1789725748000,"timestamp_seconds":1789725748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f7ab20"} 
[2026-09-18 15:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15: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-09-18 15:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169786112001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169786112001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169786112001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":187524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:03] local.INFO: GPS data processed {"connection_id":187524,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:03] local.INFO: Acknowledgment sent {"connection_id":187524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:12] local.INFO: TCP Data received {"connection_id":187526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:35:12] local.INFO: Processing buffer {"connection_id":187526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:35:12] local.INFO: IMEI packet received {"connection_id":187526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":187526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:35:17] local.INFO: TCP Data received {"connection_id":187526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:35:17] local.INFO: Processing buffer {"connection_id":187526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:35:17] local.INFO: IMEI packet received {"connection_id":187526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":187526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:35:18] local.INFO: TCP Data received {"connection_id":187526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:35:18] local.INFO: Processing buffer {"connection_id":187526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:35:18] local.INFO: Packet analysis {"connection_id":187526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:35:18] local.INFO: Extracted packet for processing {"connection_id":187526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:35:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:18] 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-09-18 15:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:35:18] 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-09-18 15:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:35:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":187526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:18] local.INFO: GPS data processed {"connection_id":187526,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:18] local.INFO: Acknowledgment sent {"connection_id":187526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:21] local.INFO: TCP Data received {"connection_id":187525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f96870012d78cc4005e8fb000003004924..."} 
[2026-09-18 15:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f96870012d78cc4005e8fb000003004924..."} 
[2026-09-18 15:35:21] local.INFO: Processing buffer {"connection_id":187525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f96870012d78cc4005e8fb000003004924..."} 
[2026-09-18 15:35:21] local.INFO: Packet analysis {"connection_id":187525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:35:21] local.INFO: Extracted packet for processing {"connection_id":187525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":762891328,"raw_latitude":99154688,"longitude_deg":76.2891328,"latitude_deg":9.9154688,"altitude":3,"angle":73,"satellites":36,"speed":9,"hex_longitude":"2d78cc40","hex_latitude":"05e8fb00","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169819648001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134711584814530560,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703558148997933056,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789725862000,"timestamp_ms":1789725862000,"timestamp_seconds":1789725862,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f96870"} 
[2026-09-18 15:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 15:35:21] 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-09-18 15: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-09-18 15:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:35:21] 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-09-18 15:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169819648001,"66":13602,"132":206,"87":13824,"24":9,"16":134711584814530560,"45":8703558148997933056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 15:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169819648001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:21] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 15:35:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134711584814530560,"km_value":134711584814530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703558148997933056,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169819648001,"power":13602,"unknown_132":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8703558148997933056}} 
[2026-09-18 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":187525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:21] local.INFO: GPS data processed {"connection_id":187525,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:21] local.INFO: Acknowledgment sent {"connection_id":187525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:30] local.INFO: TCP Data received {"connection_id":187527,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:35:30] local.INFO: Processing buffer {"connection_id":187527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:35:30] local.INFO: IMEI packet received {"connection_id":187527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":187527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:35:33] local.INFO: TCP Data received {"connection_id":187527,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:35:33] local.INFO: Processing buffer {"connection_id":187527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:35:33] local.INFO: IMEI packet received {"connection_id":187527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":187527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:35:34] local.INFO: TCP Data received {"connection_id":187527,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f7fd28012d196880071febe00039010c27..."} 
[2026-09-18 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f7fd28012d196880071febe00039010c27..."} 
[2026-09-18 15:35:34] local.INFO: Processing buffer {"connection_id":187527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f7fd28012d196880071febe00039010c27..."} 
[2026-09-18 15:35:34] local.INFO: Packet analysis {"connection_id":187527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:35:34] local.INFO: Extracted packet for processing {"connection_id":187527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f7"} 
[2026-09-18 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169791488001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789725769000,"timestamp_ms":1789725769000,"timestamp_seconds":1789725769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f7fd28"} 
[2026-09-18 15:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169791488001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169791488001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169791488001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":187527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:34] local.INFO: GPS data processed {"connection_id":187527,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:34] local.INFO: Acknowledgment sent {"connection_id":187527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:35] local.INFO: TCP Data received {"connection_id":187527,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f84f30012d196880071febe00039010c28..."} 
[2026-09-18 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f84f30012d196880071febe00039010c28..."} 
[2026-09-18 15:35:35] local.INFO: Processing buffer {"connection_id":187527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f84f30012d196880071febe00039010c28..."} 
[2026-09-18 15:35:35] local.INFO: Packet analysis {"connection_id":187527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f8"} 
[2026-09-18 15:35:35] local.INFO: Extracted packet for processing {"connection_id":187527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f8"} 
[2026-09-18 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169796864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789725790000,"timestamp_ms":1789725790000,"timestamp_seconds":1789725790,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f84f30"} 
[2026-09-18 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169796864001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169796864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169796864001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":187527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:35] local.INFO: GPS data processed {"connection_id":187527,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:35] local.INFO: Acknowledgment sent {"connection_id":187527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:45] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:35:45] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:35:45] local.INFO: IMEI packet received {"connection_id":186100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":186100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:35:49] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:35:49] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:35:49] local.INFO: IMEI packet received {"connection_id":186100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":186100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:35:50] local.INFO: TCP Data received {"connection_id":187526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:35:50] local.INFO: Processing buffer {"connection_id":187526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:35:50] local.INFO: Packet analysis {"connection_id":187526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:35:50] local.INFO: Extracted packet for processing {"connection_id":187526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:50] 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-09-18 15:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":187526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:50] local.INFO: GPS data processed {"connection_id":187526,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:50] local.INFO: Acknowledgment sent {"connection_id":187526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:35:50] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f99b38012d78e04005e902580003003d28..."} 
[2026-09-18 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f99b38012d78e04005e902580003003d28..."} 
[2026-09-18 15:35:50] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f99b38012d78e04005e902580003003d28..."} 
[2026-09-18 15:35:50] local.INFO: Packet analysis {"connection_id":186100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:35:50] local.INFO: Extracted packet for processing {"connection_id":186100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":762896448,"raw_latitude":99156568,"longitude_deg":76.2896448,"latitude_deg":9.9156568,"altitude":3,"angle":61,"satellites":40,"speed":7,"hex_longitude":"2d78e040","hex_latitude":"05e90258","is_valid_coordinates":true} 
[2026-09-18 15:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169820672001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134711846807535616,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704402573928103936,"note":"Value kept but may cause issues"} 
[2026-09-18 15:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725875000,"timestamp_ms":1789725875000,"timestamp_seconds":1789725875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f99b38"} 
[2026-09-18 15:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 15:35:50] 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-09-18 15:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:35:50] 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-09-18 15:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169820672001,"66":13580,"132":206,"87":13824,"24":7,"16":134711846807535616,"45":8704402573928103936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 15:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169820672001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134711846807535616,"km_value":134711846807535.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704402573928103936,"description":"Unknown IO ID 45"} 
[2026-09-18 15:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169820672001,"power":13580,"unknown_132":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8704402573928103936}} 
[2026-09-18 15:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":186100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:35:50] local.INFO: GPS data processed {"connection_id":186100,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:35:50] local.INFO: Acknowledgment sent {"connection_id":186100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:36:07] local.INFO: TCP Data received {"connection_id":187527,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f8a138012d196880071febe00039010c2a..."} 
[2026-09-18 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f8a138012d196880071febe00039010c2a..."} 
[2026-09-18 15:36:07] local.INFO: Processing buffer {"connection_id":187527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f8a138012d196880071febe00039010c2a..."} 
[2026-09-18 15:36:07] local.INFO: Packet analysis {"connection_id":187527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f8"} 
[2026-09-18 15:36:07] local.INFO: Extracted packet for processing {"connection_id":187527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f8"} 
[2026-09-18 15:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169802240001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789725811000,"timestamp_ms":1789725811000,"timestamp_seconds":1789725811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f8a138"} 
[2026-09-18 15:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169802240001,"66":11874,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169802240001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:36:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169802240001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":187527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:36:07] local.INFO: GPS data processed {"connection_id":187527,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:36:07] local.INFO: Acknowledgment sent {"connection_id":187527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:36:12] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:36:12] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:36:12] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:36:17] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:36:17] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:36:17] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:36:18] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:36:18] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:36:18] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:36:18] local.INFO: Extracted packet for processing {"connection_id":186232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:18] 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-09-18 15:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:36:18] 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-09-18 15:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:36:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:36:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":186232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:36:18] local.INFO: GPS data processed {"connection_id":186232,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:36:18] local.INFO: Acknowledgment sent {"connection_id":186232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:36:22] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f9d1e8012d78f50005e90ab00002004929..."} 
[2026-09-18 15:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f9d1e8012d78f50005e90ab00002004929..."} 
[2026-09-18 15:36:22] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f9d1e8012d78f50005e90ab00002004929..."} 
[2026-09-18 15:36:22] local.INFO: Packet analysis {"connection_id":186100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:36:22] local.INFO: Extracted packet for processing {"connection_id":186100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":762901760,"raw_latitude":99158704,"longitude_deg":76.290176,"latitude_deg":9.9158704,"altitude":2,"angle":73,"satellites":41,"speed":22,"hex_longitude":"2d78f500","hex_latitude":"05e90ab0","is_valid_coordinates":true} 
[2026-09-18 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169824000001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134712121685442560,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710032073462798336,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789725889000,"timestamp_ms":1789725889000,"timestamp_seconds":1789725889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f9d1e8"} 
[2026-09-18 15:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636119,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3019423864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039042692,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4695565608731803658,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4178227201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4163371012,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1954808014,"corrected_to":0} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3355520376,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147870967,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2539782144,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-3188542038500966396,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570196160950697,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,132,87,24,241,157,16,151,160,104,45,64,251,3,36,10,66,88,250,4,18,192,1,240,227,179,232,113,205,8,6,198,72,43,239,53,2,222,5,7,120,52,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1954808014,"validated":0}]} 
[2026-09-18 15:36:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216240024122228736,"timestamp_seconds":216240024122228.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:36:22] 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-09-18 15:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169824000001,"66":12765,"132":206,"87":13824,"24":22,"16":134712121685442560,"45":8710032073462798336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 15:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169824000001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:36:22] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 15:36:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134712121685442560,"km_value":134712121685442.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710032073462798336,"description":"Unknown IO ID 45"} 
[2026-09-18 15:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169824000001,"power":12765,"unknown_132":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8710032073462798336}} 
[2026-09-18 15:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":186100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:36:22] local.INFO: GPS data processed {"connection_id":186100,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:36:22] local.INFO: Acknowledgment sent {"connection_id":186100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:36:25] local.INFO: TCP Data received {"connection_id":187528,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:36:25] local.INFO: Processing buffer {"connection_id":187528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:36:25] local.INFO: IMEI packet received {"connection_id":187528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":187528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:36:30] local.INFO: TCP Data received {"connection_id":187528,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:36:30] local.INFO: Processing buffer {"connection_id":187528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:36:30] local.INFO: IMEI packet received {"connection_id":187528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":187528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:36:31] local.INFO: TCP Data received {"connection_id":187528,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f8f340012d196880071febe00039010c2a..."} 
[2026-09-18 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f8f340012d196880071febe00039010c2a..."} 
[2026-09-18 15:36:31] local.INFO: Processing buffer {"connection_id":187528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f8f340012d196880071febe00039010c2a..."} 
[2026-09-18 15:36:31] local.INFO: Packet analysis {"connection_id":187528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f8"} 
[2026-09-18 15:36:31] local.INFO: Extracted packet for processing {"connection_id":187528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f8"} 
[2026-09-18 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169807616001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725832000,"timestamp_ms":1789725832000,"timestamp_seconds":1789725832,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f8f340"} 
[2026-09-18 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-09-18 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169807616001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169807616001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:36:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169807616001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":187528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:36:31] local.INFO: GPS data processed {"connection_id":187528,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:36:31] local.INFO: Acknowledgment sent {"connection_id":187528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:36:42] local.INFO: TCP Data received {"connection_id":186101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:42] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:42] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:36:44] local.INFO: TCP Data received {"connection_id":186101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:44] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:44] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:36:49] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:36:49] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f68240012d569dc0067b65a0002a002a2c..."} 
[2026-09-18 15:36:49] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:36:49] local.INFO: Extracted packet for processing {"connection_id":186232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f6"} 
[2026-09-18 15:36:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169694976001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:49] 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-09-18 15:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725672000,"timestamp_ms":1789725672000,"timestamp_seconds":1789725672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f68240"} 
[2026-09-18 15:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169694976001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169694976001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:36:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:36:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169694976001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":186232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:36:49] local.INFO: GPS data processed {"connection_id":186232,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:36:49] local.INFO: Acknowledgment sent {"connection_id":186232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:36:50] local.INFO: TCP Data received {"connection_id":186101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:50] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:36:50] local.INFO: IMEI packet received {"connection_id":186101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":186101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:36:50] local.INFO: TCP Data received {"connection_id":186101,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f9e188012d78fa8005e90c000002003629..."} 
[2026-09-18 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f9e188012d78fa8005e90c000002003629..."} 
[2026-09-18 15:36:50] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f9e188012d78fa8005e90c000002003629..."} 
[2026-09-18 15:36:50] local.INFO: Packet analysis {"connection_id":186101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:36:50] local.INFO: Extracted packet for processing {"connection_id":186101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":762903168,"raw_latitude":99159040,"longitude_deg":76.2903168,"latitude_deg":9.915904,"altitude":2,"angle":54,"satellites":41,"speed":5,"hex_longitude":"2d78fa80","hex_latitude":"05e90c00","is_valid_coordinates":true} 
[2026-09-18 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169827584001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134712190404919296,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8715872679230091264,"note":"Value kept but may cause issues"} 
[2026-09-18 15:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725893000,"timestamp_ms":1789725893000,"timestamp_seconds":1789725893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f9e188"} 
[2026-09-18 15:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 15:36: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-09-18 15:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:36:50] 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-09-18 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169827584001,"66":12765,"132":206,"87":13824,"24":5,"16":134712190404919296,"45":8715872679230091264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-18 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169827584001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134712190404919296,"km_value":134712190404919.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8715872679230091264,"description":"Unknown IO ID 45"} 
[2026-09-18 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169827584001,"power":12765,"unknown_132":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8715872679230091264}} 
[2026-09-18 15:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":186101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:36:51] local.INFO: GPS data processed {"connection_id":186101,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:36:51] local.INFO: Acknowledgment sent {"connection_id":186101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:37:04] local.INFO: TCP Data received {"connection_id":187528,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f94548012d196880071febe00039010c22..."} 
[2026-09-18 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f94548012d196880071febe00039010c22..."} 
[2026-09-18 15:37:04] local.INFO: Processing buffer {"connection_id":187528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f94548012d196880071febe00039010c22..."} 
[2026-09-18 15:37:04] local.INFO: Packet analysis {"connection_id":187528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:37:04] local.INFO: Extracted packet for processing {"connection_id":187528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169812992001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789725853000,"timestamp_ms":1789725853000,"timestamp_seconds":1789725853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f94548"} 
[2026-09-18 15:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:37: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-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:37: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-09-18 15: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-09-18 15:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169812992001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169812992001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:37:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169812992001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":187528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:37:04] local.INFO: GPS data processed {"connection_id":187528,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:37:04] local.INFO: Acknowledgment sent {"connection_id":187528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:37:17] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:37:17] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:37:17] local.INFO: IMEI packet received {"connection_id":188847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":188847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:37:22] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:37:22] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:37:22] local.INFO: IMEI packet received {"connection_id":188847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":188847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:37:22] local.INFO: TCP Data received {"connection_id":186101,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb8768012d78f6c005e963c8000601482a..."} 
[2026-09-18 15:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb8768012d78f6c005e963c8000601482a..."} 
[2026-09-18 15:37:22] local.INFO: Processing buffer {"connection_id":186101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb8768012d78f6c005e963c8000601482a..."} 
[2026-09-18 15:37:22] local.INFO: Packet analysis {"connection_id":186101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:22] local.INFO: Extracted packet for processing {"connection_id":186101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:22] local.INFO: GPS Element Parsed {"raw_longitude":762902208,"raw_latitude":99181512,"longitude_deg":76.2902208,"latitude_deg":9.9181512,"altitude":6,"angle":328,"satellites":42,"speed":5,"hex_longitude":"2d78f6c0","hex_latitude":"05e963c8","is_valid_coordinates":true} 
[2026-09-18 15:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169850880001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134713637808898048,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8717068947886671872,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789726001000,"timestamp_ms":1789726001000,"timestamp_seconds":1789726001,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb8768"} 
[2026-09-18 15:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 15:37: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-09-18 15:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:37:22] 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-09-18 15:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169850880001,"66":13330,"128":206,"87":13824,"24":5,"16":134713637808898048,"45":8717068947886671872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 15:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169850880001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:37:22] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 15:37:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134713637808898048,"km_value":134713637808898.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8717068947886671872,"description":"Unknown IO ID 45"} 
[2026-09-18 15:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169850880001,"power":13330,"unknown_128":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8717068947886671872}} 
[2026-09-18 15:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":186101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:37:22] local.INFO: GPS data processed {"connection_id":186101,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:37:22] local.INFO: Acknowledgment sent {"connection_id":186101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:37:23] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:37:23] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:37:23] local.INFO: Packet analysis {"connection_id":188847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:23] local.INFO: Extracted packet for processing {"connection_id":188847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:23] 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-09-18 15:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:37:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:37:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":188847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:37:23] local.INFO: GPS data processed {"connection_id":188847,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:37:23] local.INFO: Acknowledgment sent {"connection_id":188847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:37:24] local.INFO: TCP Data received {"connection_id":188848,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:37:24] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:37:24] local.INFO: IMEI packet received {"connection_id":188848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":188848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:37:30] local.INFO: TCP Data received {"connection_id":188848,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:37:30] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:37:30] local.INFO: IMEI packet received {"connection_id":188848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":188848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:37:32] local.INFO: TCP Data received {"connection_id":188848,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f99750012d196880071febe00039010c27..."} 
[2026-09-18 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f99750012d196880071febe00039010c27..."} 
[2026-09-18 15:37:32] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f99750012d196880071febe00039010c27..."} 
[2026-09-18 15:37:32] local.INFO: Packet analysis {"connection_id":188848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:37:32] local.INFO: Extracted packet for processing {"connection_id":188848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169818368001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789725874000,"timestamp_ms":1789725874000,"timestamp_seconds":1789725874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f99750"} 
[2026-09-18 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-09-18 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15: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-09-18 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-09-18 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-09-18 15:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169818368001,"66":12461,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169818368001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:37:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169818368001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":188848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:37:32] local.INFO: GPS data processed {"connection_id":188848,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:37:32] local.INFO: Acknowledgment sent {"connection_id":188848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:37:44] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:37:44] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:37:44] local.INFO: IMEI packet received {"connection_id":186102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":186102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:37:49] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:37:49] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:37:49] local.INFO: IMEI packet received {"connection_id":186102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":186102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:37:51] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fbd970012d78ebc005e973f0000701412b..."} 
[2026-09-18 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fbd970012d78ebc005e973f0000701412b..."} 
[2026-09-18 15:37:51] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fbd970012d78ebc005e973f0000701412b..."} 
[2026-09-18 15:37:51] local.INFO: Packet analysis {"connection_id":186102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:51] local.INFO: Extracted packet for processing {"connection_id":186102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:51] local.INFO: GPS Element Parsed {"raw_longitude":762899392,"raw_latitude":99185648,"longitude_deg":76.2899392,"latitude_deg":9.9185648,"altitude":7,"angle":321,"satellites":43,"speed":16,"hex_longitude":"2d78ebc0","hex_latitude":"05e973f0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169856256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134713882622033920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8716365260445173760,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789726022000,"timestamp_ms":1789726022000,"timestamp_seconds":1789726022,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fbd970"} 
[2026-09-18 15:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:37: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-09-18 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3019536864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276665047394881808,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4203059201,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":233,"raw_value":1366842499815121920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1954808014,"corrected_to":0} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3355520377,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2556362752,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3910369280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":250,"raw_value":8500545591478501381,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":116,"raw_value":-8934914786739611648,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:51] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,128,87,24,241,157,16,153,160,53,45,64,95,4,43,10,66,78,1,41,188,192,240,221,227,152,179,233,113,205,11,125,22,40,38,239,132,2,222,5,8,7,250,116,57],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1954808014,"validated":0}]} 
[2026-09-18 15:37:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432706384430432256,"timestamp_seconds":432706384430432.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169856256001,"66":13624,"128":206,"87":13824,"24":16,"16":134713882622033920,"45":8716365260445173760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 15:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169856256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:37:51] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 15:37:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134713882622033920,"km_value":134713882622033.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8716365260445173760,"description":"Unknown IO ID 45"} 
[2026-09-18 15:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169856256001,"power":13624,"unknown_128":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8716365260445173760}} 
[2026-09-18 15:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":186102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:37:51] local.INFO: GPS data processed {"connection_id":186102,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:37:51] local.INFO: Acknowledgment sent {"connection_id":186102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:37:54] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:37:54] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:37:54] local.INFO: Packet analysis {"connection_id":188847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:54] local.INFO: Extracted packet for processing {"connection_id":188847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:37:54] 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-09-18 15:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:37:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:37:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":188847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:37:54] local.INFO: GPS data processed {"connection_id":188847,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:37:54] local.INFO: Acknowledgment sent {"connection_id":188847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:38:04] local.INFO: TCP Data received {"connection_id":188848,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3f9e958012d196880071febe00039010c22..."} 
[2026-09-18 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3f9e958012d196880071febe00039010c22..."} 
[2026-09-18 15:38:04] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3f9e958012d196880071febe00039010c22..."} 
[2026-09-18 15:38:04] local.INFO: Packet analysis {"connection_id":188848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:38:04] local.INFO: Extracted packet for processing {"connection_id":188848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3f9"} 
[2026-09-18 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169823744001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789725895000,"timestamp_ms":1789725895000,"timestamp_seconds":1789725895,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3f9e958"} 
[2026-09-18 15:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 15:38: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-09-18 15: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-09-18 15:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169823744001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169823744001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:38:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169823744001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":188848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:38:04] local.INFO: GPS data processed {"connection_id":188848,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:38:04] local.INFO: Acknowledgment sent {"connection_id":188848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:38:12] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:38:12] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:38:12] local.INFO: IMEI packet received {"connection_id":187529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":187529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:38:17] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:38:17] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:38:17] local.INFO: IMEI packet received {"connection_id":187529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":187529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:38:19] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:38:19] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:38:19] local.INFO: Packet analysis {"connection_id":187529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:38:19] local.INFO: Extracted packet for processing {"connection_id":187529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:38:19] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:19] 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-09-18 15:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:38:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:38:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":187529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:38:19] local.INFO: GPS data processed {"connection_id":187529,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:38:19] local.INFO: Acknowledgment sent {"connection_id":187529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:38:22] local.INFO: TCP Data received {"connection_id":186102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fc1020012d78d88005e991100006014b2b..."} 
[2026-09-18 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fc1020012d78d88005e991100006014b2b..."} 
[2026-09-18 15:38:22] local.INFO: Processing buffer {"connection_id":186102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fc1020012d78d88005e991100006014b2b..."} 
[2026-09-18 15:38:22] local.INFO: Packet analysis {"connection_id":186102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:38:22] local.INFO: Extracted packet for processing {"connection_id":186102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":762894464,"raw_latitude":99193104,"longitude_deg":76.2894464,"latitude_deg":9.9193104,"altitude":6,"angle":331,"satellites":43,"speed":26,"hex_longitude":"2d78d880","hex_latitude":"05e99110","is_valid_coordinates":true} 
[2026-09-18 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169861632001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134714316413730816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713269035702415360,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789726036000,"timestamp_ms":1789726036000,"timestamp_seconds":1789726036,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fc1020"} 
[2026-09-18 15:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:38: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-09-18 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 15:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:38:22] 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-09-18 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169861632001,"66":13222,"128":206,"87":13824,"24":26,"16":134714316413730816,"45":8713269035702415360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-18 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169861632001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:38:22] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-18 15:38:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134714316413730816,"km_value":134714316413730.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713269035702415360,"description":"Unknown IO ID 45"} 
[2026-09-18 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169861632001,"power":13222,"unknown_128":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8713269035702415360}} 
[2026-09-18 15:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":186102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:38:22] local.INFO: GPS data processed {"connection_id":186102,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:38:22] local.INFO: Acknowledgment sent {"connection_id":186102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:38:24] local.INFO: TCP Data received {"connection_id":186103,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:38:24] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:38:24] local.INFO: IMEI packet received {"connection_id":186103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":186103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:38:30] local.INFO: TCP Data received {"connection_id":186103,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:38:30] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:38:30] local.INFO: IMEI packet received {"connection_id":186103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":186103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:38:31] local.INFO: TCP Data received {"connection_id":186103,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fa3b60012d196880071febe00039010c26..."} 
[2026-09-18 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fa3b60012d196880071febe00039010c26..."} 
[2026-09-18 15:38:31] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fa3b60012d196880071febe00039010c26..."} 
[2026-09-18 15:38:31] local.INFO: Packet analysis {"connection_id":186103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fa"} 
[2026-09-18 15:38:31] local.INFO: Extracted packet for processing {"connection_id":186103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fa"} 
[2026-09-18 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169829120001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725916000,"timestamp_ms":1789725916000,"timestamp_seconds":1789725916,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fa3b60"} 
[2026-09-18 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-09-18 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:38: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-09-18 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-09-18 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-09-18 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169829120001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169829120001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:38:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169829120001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":186103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:38:31] local.INFO: GPS data processed {"connection_id":186103,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:38:31] local.INFO: Acknowledgment sent {"connection_id":186103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:38:50] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:38:50] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:38:50] local.INFO: Packet analysis {"connection_id":187529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:38:50] local.INFO: Extracted packet for processing {"connection_id":187529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:38:50] 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-09-18 15:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:38:50] 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-09-18 15:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:38:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:38:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":187529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:38:51] local.INFO: GPS data processed {"connection_id":187529,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:38:51] local.INFO: Acknowledgment sent {"connection_id":187529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:05] local.INFO: TCP Data received {"connection_id":186103,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fa8d68012d196880071febe00039010c24..."} 
[2026-09-18 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fa8d68012d196880071febe00039010c24..."} 
[2026-09-18 15:39:05] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fa8d68012d196880071febe00039010c24..."} 
[2026-09-18 15:39:05] local.INFO: Packet analysis {"connection_id":186103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fa"} 
[2026-09-18 15:39:05] local.INFO: Extracted packet for processing {"connection_id":186103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fa"} 
[2026-09-18 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169834496001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789725937000,"timestamp_ms":1789725937000,"timestamp_seconds":1789725937,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fa8d68"} 
[2026-09-18 15:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169834496001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169834496001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169834496001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":186103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:05] local.INFO: GPS data processed {"connection_id":186103,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:05] local.INFO: Acknowledgment sent {"connection_id":186103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:12] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:39:12] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:39:12] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:39:17] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:39:17] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:39:17] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:39:17] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:39:18] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:39:18] local.INFO: IMEI packet received {"connection_id":186234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":186234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:39:18] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:39:18] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:39:18] local.INFO: Packet analysis {"connection_id":186233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:39:18] local.INFO: Extracted packet for processing {"connection_id":186233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:18] 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-09-18 15:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:18] 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-09-18 15:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:39:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":186233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:18] local.INFO: GPS data processed {"connection_id":186233,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:18] local.INFO: Acknowledgment sent {"connection_id":186233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:22] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:39:22] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:39:22] local.INFO: IMEI packet received {"connection_id":186234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":186234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:39:22] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fce310012d0c614007039770000c000e09..."} 
[2026-09-18 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fce310012d0c614007039770000c000e09..."} 
[2026-09-18 15:39:22] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fce310012d0c614007039770000c000e09..."} 
[2026-09-18 15:39:22] local.INFO: Packet analysis {"connection_id":186234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:39:22] local.INFO: Extracted packet for processing {"connection_id":186234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117675888,"longitude_deg":75.5786048,"latitude_deg":11.7675888,"altitude":12,"angle":14,"satellites":9,"speed":4,"hex_longitude":"2d0c6140","hex_latitude":"07039770","is_valid_coordinates":true} 
[2026-09-18 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169875456001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33074804412121088,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600065105920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789726090000,"timestamp_ms":1789726090000,"timestamp_seconds":1789726090,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fce310"} 
[2026-09-18 15:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169875456001,"66":14439,"37":206,"94":11008,"24":4,"16":33074804412121088,"45":892064600065105920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-18 15:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169875456001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-18 15:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33074804412121088,"km_value":33074804412121.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600065105920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169875456001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":892064600065105920}} 
[2026-09-18 15:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":186234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861175,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:22] local.INFO: GPS data processed {"connection_id":186234,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:22] local.INFO: Acknowledgment sent {"connection_id":186234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:23] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fd3130012d0c67800703ae68000a000d09..."} 
[2026-09-18 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fd3130012d0c67800703ae68000a000d09..."} 
[2026-09-18 15:39:23] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fd3130012d0c67800703ae68000a000d09..."} 
[2026-09-18 15:39:23] local.INFO: Packet analysis {"connection_id":186234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:39:23] local.INFO: Extracted packet for processing {"connection_id":186234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117681768,"longitude_deg":75.5787648,"latitude_deg":11.7681768,"altitude":10,"angle":13,"satellites":9,"speed":19,"hex_longitude":"2d0c6780","hex_latitude":"0703ae68","is_valid_coordinates":true} 
[2026-09-18 15:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169879040001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33075100764864512,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600065273856,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789726110000,"timestamp_ms":1789726110000,"timestamp_seconds":1789726110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fd3130"} 
[2026-09-18 15:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169879040001,"66":14515,"16":33075100764864512,"94":11008,"24":19,"45":892064600065273856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 15:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169879040001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33075100764864512,"km_value":33075100764864.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600065273856,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458169879040001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":892064600065273856}} 
[2026-09-18 15:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:23] local.INFO: GPS data processed {"connection_id":186234,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:23] local.INFO: Acknowledgment sent {"connection_id":186234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:25] local.INFO: TCP Data received {"connection_id":186235,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:39:25] local.INFO: Processing buffer {"connection_id":186235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:39:25] local.INFO: IMEI packet received {"connection_id":186235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":186235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:39:30] local.INFO: TCP Data received {"connection_id":186235,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:39:30] local.INFO: Processing buffer {"connection_id":186235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:39:30] local.INFO: IMEI packet received {"connection_id":186235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":186235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:39:31] local.INFO: TCP Data received {"connection_id":186235,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fadf70012d196880071febe00039010c28..."} 
[2026-09-18 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fadf70012d196880071febe00039010c28..."} 
[2026-09-18 15:39:31] local.INFO: Processing buffer {"connection_id":186235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fadf70012d196880071febe00039010c28..."} 
[2026-09-18 15:39:31] local.INFO: Packet analysis {"connection_id":186235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fa"} 
[2026-09-18 15:39:31] local.INFO: Extracted packet for processing {"connection_id":186235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fa"} 
[2026-09-18 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169839872001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789725958000,"timestamp_ms":1789725958000,"timestamp_seconds":1789725958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fadf70"} 
[2026-09-18 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-09-18 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169839872001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169839872001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169839872001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":186235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:31] local.INFO: GPS data processed {"connection_id":186235,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:31] local.INFO: Acknowledgment sent {"connection_id":186235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:49] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:39:49] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:39:49] local.INFO: Packet analysis {"connection_id":186233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:39:49] local.INFO: Extracted packet for processing {"connection_id":186233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:49] 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-09-18 15:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:49] 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-09-18 15:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:39:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":186233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:49] local.INFO: GPS data processed {"connection_id":186233,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:49] local.INFO: Acknowledgment sent {"connection_id":186233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:39:54] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fe36e8012d0c51400703e1880000014a09..."} 
[2026-09-18 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fe36e8012d0c51400703e1880000014a09..."} 
[2026-09-18 15:39:54] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fe36e8012d0c51400703e1880000014a09..."} 
[2026-09-18 15:39:54] local.INFO: Packet analysis {"connection_id":186234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:39:54] local.INFO: Extracted packet for processing {"connection_id":186234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755781952,"raw_latitude":117694856,"longitude_deg":75.5781952,"latitude_deg":11.7694856,"altitude":0,"angle":330,"satellites":9,"speed":4,"hex_longitude":"2d0c5140","hex_latitude":"0703e188","is_valid_coordinates":true} 
[2026-09-18 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169901056001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33076032772767744,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887631369186918400,"note":"Value kept but may cause issues"} 
[2026-09-18 15:39:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789726177000,"timestamp_ms":1789726177000,"timestamp_seconds":1789726177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fe36e8"} 
[2026-09-18 15:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 15:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169901056001,"66":14428,"16":33076032772767744,"94":11008,"24":4,"45":887631369186918400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 15:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169901056001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33076032772767744,"km_value":33076032772767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":887631369186918400,"description":"Unknown IO ID 45"} 
[2026-09-18 15:39:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458169901056001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":887631369186918400}} 
[2026-09-18 15:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":186234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:39:54] local.INFO: GPS data processed {"connection_id":186234,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:39:54] local.INFO: Acknowledgment sent {"connection_id":186234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:03] local.INFO: TCP Data received {"connection_id":186235,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb3178012d196880071febe00039010c26..."} 
[2026-09-18 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb3178012d196880071febe00039010c26..."} 
[2026-09-18 15:40:03] local.INFO: Processing buffer {"connection_id":186235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb3178012d196880071febe00039010c26..."} 
[2026-09-18 15:40:03] local.INFO: Packet analysis {"connection_id":186235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:03] local.INFO: Extracted packet for processing {"connection_id":186235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169845248001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789725979000,"timestamp_ms":1789725979000,"timestamp_seconds":1789725979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb3178"} 
[2026-09-18 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15: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-09-18 15:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169845248001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169845248001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169845248001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":186235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:03] local.INFO: GPS data processed {"connection_id":186235,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:03] local.INFO: Acknowledgment sent {"connection_id":186235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:12] local.INFO: TCP Data received {"connection_id":187530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:40:12] local.INFO: Processing buffer {"connection_id":187530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:40:12] local.INFO: IMEI packet received {"connection_id":187530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":187530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:40:17] local.INFO: TCP Data received {"connection_id":187530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:40:17] local.INFO: Processing buffer {"connection_id":187530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:40:17] local.INFO: IMEI packet received {"connection_id":187530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":187530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:40:19] local.INFO: TCP Data received {"connection_id":187530,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:40:19] local.INFO: Processing buffer {"connection_id":187530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:40:19] local.INFO: Packet analysis {"connection_id":187530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:19] local.INFO: Extracted packet for processing {"connection_id":187530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:19] 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-09-18 15:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:40:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":187530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:19] local.INFO: GPS data processed {"connection_id":187530,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:19] local.INFO: Acknowledgment sent {"connection_id":187530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:25] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:40:25] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:40:25] local.INFO: IMEI packet received {"connection_id":188849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":188849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:40:25] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fe3eb8012d0c51000703e2000000016709..."} 
[2026-09-18 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fe3eb8012d0c51000703e2000000016709..."} 
[2026-09-18 15:40:25] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fe3eb8012d0c51000703e2000000016709..."} 
[2026-09-18 15:40:25] local.INFO: Packet analysis {"connection_id":186234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:40:25] local.INFO: Extracted packet for processing {"connection_id":186234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":755781888,"raw_latitude":117694976,"longitude_deg":75.5781888,"latitude_deg":11.7694976,"altitude":0,"angle":359,"satellites":9,"speed":0,"hex_longitude":"2d0c5100","hex_latitude":"0703e200","is_valid_coordinates":true} 
[2026-09-18 15:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169901312001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33076037067735040,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887561000442759168,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789726179000,"timestamp_ms":1789726179000,"timestamp_seconds":1789726179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fe3eb8"} 
[2026-09-18 15:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 15:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169901312001,"66":14646,"16":33076037067735040,"94":11008,"24":0,"45":887561000442759168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 15:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169901312001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33076037067735040,"km_value":33076037067735.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":887561000442759168,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458169901312001,"power":14646,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":887561000442759168}} 
[2026-09-18 15:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":186234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:26] local.INFO: GPS data processed {"connection_id":186234,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:26] local.INFO: Acknowledgment sent {"connection_id":186234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:27] local.INFO: TCP Data received {"connection_id":186104,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:27] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:27] local.INFO: IMEI packet received {"connection_id":186104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":186104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:40:30] local.INFO: TCP Data received {"connection_id":186104,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:30] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:30] local.INFO: IMEI packet received {"connection_id":186104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":186104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:40:35] local.INFO: TCP Data received {"connection_id":186104,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:35] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:40:35] local.INFO: IMEI packet received {"connection_id":186104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":186104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:40:37] local.INFO: TCP Data received {"connection_id":186104,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb8380012d196880071febe00039010c28..."} 
[2026-09-18 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb8380012d196880071febe00039010c28..."} 
[2026-09-18 15:40:37] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb8380012d196880071febe00039010c28..."} 
[2026-09-18 15:40:37] local.INFO: Packet analysis {"connection_id":186104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:37] local.INFO: Extracted packet for processing {"connection_id":186104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169850624001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789726000000,"timestamp_ms":1789726000000,"timestamp_seconds":1789726000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb8380"} 
[2026-09-18 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:40: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-09-18 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169850624001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169850624001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169850624001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":186104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:37] local.INFO: GPS data processed {"connection_id":186104,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:37] local.INFO: Acknowledgment sent {"connection_id":186104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:40] local.INFO: TCP Data received {"connection_id":186104,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fbd588012d196880071febe00039010c29..."} 
[2026-09-18 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fbd588012d196880071febe00039010c29..."} 
[2026-09-18 15:40:40] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fbd588012d196880071febe00039010c29..."} 
[2026-09-18 15:40:40] local.INFO: Packet analysis {"connection_id":186104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:40] local.INFO: Extracted packet for processing {"connection_id":186104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169856000001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789726021000,"timestamp_ms":1789726021000,"timestamp_seconds":1789726021,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fbd588"} 
[2026-09-18 15:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169856000001,"66":11678,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169856000001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169856000001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":186104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:40] local.INFO: GPS data processed {"connection_id":186104,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:40] local.INFO: Acknowledgment sent {"connection_id":186104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:50] local.INFO: TCP Data received {"connection_id":187530,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:40:50] local.INFO: Processing buffer {"connection_id":187530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:40:50] local.INFO: Packet analysis {"connection_id":187530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:50] local.INFO: Extracted packet for processing {"connection_id":187530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:50] 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-09-18 15:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:40:50] 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-09-18 15: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-09-18 15:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:40:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":187530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:50] local.INFO: GPS data processed {"connection_id":187530,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:50] local.INFO: Acknowledgment sent {"connection_id":187530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:40:58] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fe6d98012d0c50800703e2180000015609..."} 
[2026-09-18 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fe6d98012d0c50800703e2180000015609..."} 
[2026-09-18 15:40:58] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fe6d98012d0c50800703e2180000015609..."} 
[2026-09-18 15:40:58] local.INFO: Packet analysis {"connection_id":186234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:40:58] local.INFO: Extracted packet for processing {"connection_id":186234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:40:58] local.INFO: GPS Element Parsed {"raw_longitude":755781760,"raw_latitude":117695000,"longitude_deg":75.578176,"latitude_deg":11.7695,"altitude":0,"angle":342,"satellites":9,"speed":2,"hex_longitude":"2d0c5080","hex_latitude":"0703e218","is_valid_coordinates":true} 
[2026-09-18 15:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169901824001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33076049952636928,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631698612224,"note":"Value kept but may cause issues"} 
[2026-09-18 15:40:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789726191000,"timestamp_ms":1789726191000,"timestamp_seconds":1789726191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fe6d98"} 
[2026-09-18 15:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:40: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-09-18 15:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-18 15:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169901824001,"66":14559,"16":33076049952636928,"94":11008,"24":2,"45":887490631698612224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 15:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169901824001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33076049952636928,"km_value":33076049952636.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:40:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631698612224,"description":"Unknown IO ID 45"} 
[2026-09-18 15:40:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458169901824001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":887490631698612224}} 
[2026-09-18 15:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":186234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:40:58] local.INFO: GPS data processed {"connection_id":186234,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:40:58] local.INFO: Acknowledgment sent {"connection_id":186234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:41:17] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:41:17] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:41:17] local.INFO: IMEI packet received {"connection_id":187531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":187531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:41:22] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:41:22] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:41:22] local.INFO: IMEI packet received {"connection_id":187531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":187531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:41:23] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:41:23] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:41:23] local.INFO: Packet analysis {"connection_id":187531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:41:23] local.INFO: Extracted packet for processing {"connection_id":187531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:23] 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-09-18 15:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:41:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:41:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":187531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:41:23] local.INFO: GPS data processed {"connection_id":187531,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:41:23] local.INFO: Acknowledgment sent {"connection_id":187531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:41:25] local.INFO: TCP Data received {"connection_id":188850,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:41:25] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:41:25] local.INFO: IMEI packet received {"connection_id":188850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":188850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:41:27] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:41:27] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fb1a08012d569dc0067b65a0002a002a2a..."} 
[2026-09-18 15:41:27] local.INFO: Packet analysis {"connection_id":187531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:41:27] local.INFO: Extracted packet for processing {"connection_id":187531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fb"} 
[2026-09-18 15:41:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":42,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169772032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:27] 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-09-18 15:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789725973000,"timestamp_ms":1789725973000,"timestamp_seconds":1789725973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fb1a08"} 
[2026-09-18 15:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:41: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-09-18 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 15:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169772032001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169772032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:41:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:41:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169772032001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":187531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:41:27] local.INFO: GPS data processed {"connection_id":187531,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:41:27] local.INFO: Acknowledgment sent {"connection_id":187531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:41:29] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ff9e48012d0cb340070489b8000001530c..."} 
[2026-09-18 15:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ff9e48012d0cb340070489b8000001530c..."} 
[2026-09-18 15:41:29] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ff9e48012d0cb340070489b8000001530c..."} 
[2026-09-18 15:41:29] local.INFO: Packet analysis {"connection_id":186234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:41:29] local.INFO: Extracted packet for processing {"connection_id":186234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:41:29] local.INFO: GPS Element Parsed {"raw_longitude":755807040,"raw_latitude":117737912,"longitude_deg":75.580704,"latitude_deg":11.7737912,"altitude":0,"angle":339,"satellites":12,"speed":29,"hex_longitude":"2d0cb340","hex_latitude":"070489b8","is_valid_coordinates":true} 
[2026-09-18 15:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169923840001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33078618343079936,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915919604356599808,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789726269000,"timestamp_ms":1789726269000,"timestamp_seconds":1789726269,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ff9e48"} 
[2026-09-18 15:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:41: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-09-18 15:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-18 15:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169923840001,"66":14428,"16":33078618343079936,"94":11008,"24":29,"45":915919604356599808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 15:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169923840001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33078618343079936,"km_value":33078618343079.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:41:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":915919604356599808,"description":"Unknown IO ID 45"} 
[2026-09-18 15:41:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458169923840001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":915919604356599808}} 
[2026-09-18 15:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":186234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:41:29] local.INFO: GPS data processed {"connection_id":186234,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:41:29] local.INFO: Acknowledgment sent {"connection_id":186234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:41:30] local.INFO: TCP Data received {"connection_id":188850,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:41:30] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:41:30] local.INFO: IMEI packet received {"connection_id":188850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":188850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:41:31] local.INFO: TCP Data received {"connection_id":188850,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fc2790012d196880071febe00039010c22..."} 
[2026-09-18 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fc2790012d196880071febe00039010c22..."} 
[2026-09-18 15:41:31] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fc2790012d196880071febe00039010c22..."} 
[2026-09-18 15:41:31] local.INFO: Packet analysis {"connection_id":188850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:41:31] local.INFO: Extracted packet for processing {"connection_id":188850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169861376001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726042000,"timestamp_ms":1789726042000,"timestamp_seconds":1789726042,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fc2790"} 
[2026-09-18 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-09-18 15:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-18 15:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169861376001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169861376001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:41:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169861376001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":188850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:41:31] local.INFO: GPS data processed {"connection_id":188850,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:41:31] local.INFO: Acknowledgment sent {"connection_id":188850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:03] local.INFO: TCP Data received {"connection_id":188850,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fc7998012d196880071febe00039010c28..."} 
[2026-09-18 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fc7998012d196880071febe00039010c28..."} 
[2026-09-18 15:42:03] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fc7998012d196880071febe00039010c28..."} 
[2026-09-18 15:42:03] local.INFO: Packet analysis {"connection_id":188850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:42:03] local.INFO: Extracted packet for processing {"connection_id":188850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169866752001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726063000,"timestamp_ms":1789726063000,"timestamp_seconds":1789726063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fc7998"} 
[2026-09-18 15:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:42: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-09-18 15: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-09-18 15:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169866752001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169866752001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169866752001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":188850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:03] local.INFO: GPS data processed {"connection_id":188850,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:03] local.INFO: Acknowledgment sent {"connection_id":188850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:12] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:42:12] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:42:12] local.INFO: IMEI packet received {"connection_id":186237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":186237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:42:13] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:13] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:13] local.INFO: IMEI packet received {"connection_id":186236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":186236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:42:13] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:13] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:13] local.INFO: IMEI packet received {"connection_id":186236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":186236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:42:17] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:42:17] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:42:17] local.INFO: IMEI packet received {"connection_id":186237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":186237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:42:17] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:17] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:42:17] local.INFO: IMEI packet received {"connection_id":186236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":186236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:42:18] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:42:18] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:42:18] local.INFO: Packet analysis {"connection_id":186237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:18] local.INFO: Extracted packet for processing {"connection_id":186237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:18] 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-09-18 15:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:42:18] 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-09-18 15:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":186237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:18] local.INFO: GPS data processed {"connection_id":186237,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:18] local.INFO: Acknowledgment sent {"connection_id":186237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:18] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffade8012d0caec007049160000001460c..."} 
[2026-09-18 15:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffade8012d0caec007049160000001460c..."} 
[2026-09-18 15:42:18] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffade8012d0caec007049160000001460c..."} 
[2026-09-18 15:42:18] local.INFO: Packet analysis {"connection_id":186236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:18] local.INFO: Extracted packet for processing {"connection_id":186236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":755805888,"raw_latitude":117739872,"longitude_deg":75.5805888,"latitude_deg":11.7739872,"altitude":0,"angle":326,"satellites":12,"speed":19,"hex_longitude":"2d0caec0","hex_latitude":"07049160","is_valid_coordinates":true} 
[2026-09-18 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169924864001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33078730012229632,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915145548171425792,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 15:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726273000,"timestamp_ms":1789726273000,"timestamp_seconds":1789726273,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffade8"} 
[2026-09-18 15:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 15:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169924864001,"66":14548,"16":33078730012229632,"94":11008,"24":19,"45":915145548171425792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 15:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169924864001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33078730012229632,"km_value":33078730012229.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 15:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":915145548171425792,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458169924864001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":915145548171425792}} 
[2026-09-18 15:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":186236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:18] local.INFO: GPS data processed {"connection_id":186236,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:18] local.INFO: Acknowledgment sent {"connection_id":186236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:24] local.INFO: TCP Data received {"connection_id":188851,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:42:24] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:42:24] local.INFO: IMEI packet received {"connection_id":188851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":188851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:42:25] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffe498012d0c98800704b0400000014e0e..."} 
[2026-09-18 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffe498012d0c98800704b0400000014e0e..."} 
[2026-09-18 15:42:25] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffe498012d0c98800704b0400000014e0e..."} 
[2026-09-18 15:42:25] local.INFO: Packet analysis {"connection_id":186236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:25] local.INFO: Extracted packet for processing {"connection_id":186236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":755800192,"raw_latitude":117747776,"longitude_deg":75.5800192,"latitude_deg":11.7747776,"altitude":0,"angle":334,"satellites":14,"speed":34,"hex_longitude":"2d0c9880","hex_latitude":"0704b040","is_valid_coordinates":true} 
[2026-09-18 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169925888001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33079198163664896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913878910776729600,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789726287000,"timestamp_ms":1789726287000,"timestamp_seconds":1789726287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffe498"} 
[2026-09-18 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42: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-09-18 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 15:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169925888001,"66":14580,"95":206,"94":10240,"24":34,"16":33079198163664896,"45":913878910776729600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-18 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169925888001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33079198163664896,"km_value":33079198163664.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":913878910776729600,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169925888001,"power":14580,"unknown_95":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":913878910776729600}} 
[2026-09-18 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":186236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:25] local.INFO: GPS data processed {"connection_id":186236,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:25] local.INFO: Acknowledgment sent {"connection_id":186236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:30] local.INFO: TCP Data received {"connection_id":188851,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:42:30] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:42:30] local.INFO: IMEI packet received {"connection_id":188851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":188851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:42:31] local.INFO: TCP Data received {"connection_id":188851,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fccba0012d196880071febe00039010c20..."} 
[2026-09-18 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fccba0012d196880071febe00039010c20..."} 
[2026-09-18 15:42:31] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fccba0012d196880071febe00039010c20..."} 
[2026-09-18 15:42:31] local.INFO: Packet analysis {"connection_id":188851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:42:31] local.INFO: Extracted packet for processing {"connection_id":188851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fc"} 
[2026-09-18 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":32,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169872128001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726084000,"timestamp_ms":1789726084000,"timestamp_seconds":1789726084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fccba0"} 
[2026-09-18 15:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:42: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-09-18 15: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-09-18 15:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169872128001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169872128001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169872128001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":188851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:31] local.INFO: GPS data processed {"connection_id":188851,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:31] local.INFO: Acknowledgment sent {"connection_id":188851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:50] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:42:50] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:42:50] local.INFO: Packet analysis {"connection_id":186237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:50] local.INFO: Extracted packet for processing {"connection_id":186237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:50] 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-09-18 15:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:42:50] 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-09-18 15:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:42:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":186237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:50] local.INFO: GPS data processed {"connection_id":186237,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:50] local.INFO: Acknowledgment sent {"connection_id":186237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:42:56] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b400fdd8012d0bbe800704b9a0000a00fb0e..."} 
[2026-09-18 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b400fdd8012d0bbe800704b9a0000a00fb0e..."} 
[2026-09-18 15:42:56] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b400fdd8012d0bbe800704b9a0000a00fb0e..."} 
[2026-09-18 15:42:56] local.INFO: Packet analysis {"connection_id":186236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b400"} 
[2026-09-18 15:42:56] local.INFO: Extracted packet for processing {"connection_id":186236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b400"} 
[2026-09-18 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":755744384,"raw_latitude":117750176,"longitude_deg":75.5744384,"latitude_deg":11.7750176,"altitude":10,"angle":251,"satellites":14,"speed":25,"hex_longitude":"2d0bbe80","hex_latitude":"0704b9a0","is_valid_coordinates":true} 
[2026-09-18 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169947392001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33082196050837504,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847521185019977728,"note":"Value kept but may cause issues"} 
[2026-09-18 15:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789726359000,"timestamp_ms":1789726359000,"timestamp_seconds":1789726359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b400fdd8"} 
[2026-09-18 15:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 15:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169947392001,"66":13722,"96":206,"94":10240,"24":25,"16":33082196050837504,"45":847521185019977728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-18 15:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169947392001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:42:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 15:42:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33082196050837504,"km_value":33082196050837.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":847521185019977728,"description":"Unknown IO ID 45"} 
[2026-09-18 15:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169947392001,"power":13722,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":847521185019977728}} 
[2026-09-18 15:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":186236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:42:56] local.INFO: GPS data processed {"connection_id":186236,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:42:56] local.INFO: Acknowledgment sent {"connection_id":186236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:03] local.INFO: TCP Data received {"connection_id":188851,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fd1da8012d196880071febe00039010c26..."} 
[2026-09-18 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fd1da8012d196880071febe00039010c26..."} 
[2026-09-18 15:43:03] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fd1da8012d196880071febe00039010c26..."} 
[2026-09-18 15:43:03] local.INFO: Packet analysis {"connection_id":188851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:43:03] local.INFO: Extracted packet for processing {"connection_id":188851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169877504001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726105000,"timestamp_ms":1789726105000,"timestamp_seconds":1789726105,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fd1da8"} 
[2026-09-18 15:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:43: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-09-18 15:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169877504001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169877504001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169877504001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":188851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:03] local.INFO: GPS data processed {"connection_id":188851,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:03] local.INFO: Acknowledgment sent {"connection_id":188851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:09] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:09] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:09] local.INFO: IMEI packet received {"connection_id":186239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":186239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:43:12] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:43:12] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:43:12] local.INFO: IMEI packet received {"connection_id":188852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":188852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:43:12] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:12] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:12] local.INFO: IMEI packet received {"connection_id":186239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":186239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:43:15] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:15] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:43:15] local.INFO: IMEI packet received {"connection_id":186239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:43:16] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40105a8012d0bb9400704b910000b010e0e..."} 
[2026-09-18 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40105a8012d0bb9400704b910000b010e0e..."} 
[2026-09-18 15:43:16] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40105a8012d0bb9400704b910000b010e0e..."} 
[2026-09-18 15:43:16] local.INFO: Packet analysis {"connection_id":186239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b401"} 
[2026-09-18 15:43:16] local.INFO: Extracted packet for processing {"connection_id":186239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b401"} 
[2026-09-18 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":755743040,"raw_latitude":117750032,"longitude_deg":75.574304,"latitude_deg":11.7750032,"altitude":11,"angle":270,"satellites":14,"speed":29,"hex_longitude":"2d0bb940","hex_latitude":"0704b910","is_valid_coordinates":true} 
[2026-09-18 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169947904001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33082260475346944,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846254547624632320,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789726361000,"timestamp_ms":1789726361000,"timestamp_seconds":1789726361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40105a8"} 
[2026-09-18 15:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 15:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169947904001,"66":13798,"96":206,"94":10240,"24":29,"16":33082260475346944,"45":846254547624632320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-18 15:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169947904001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 15:43:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33082260475346944,"km_value":33082260475346.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":846254547624632320,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169947904001,"power":13798,"unknown_96":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":846254547624632320}} 
[2026-09-18 15:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":186239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861199,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:16] local.INFO: GPS data processed {"connection_id":186239,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:16] local.INFO: Acknowledgment sent {"connection_id":186239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:17] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:43:17] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:43:17] local.INFO: IMEI packet received {"connection_id":188852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":188852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:43:18] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:43:18] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:43:18] local.INFO: Packet analysis {"connection_id":188852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:43:18] local.INFO: Extracted packet for processing {"connection_id":188852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:43:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:18] 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-09-18 15:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:43:18] 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-09-18 15:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:43:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":188852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:18] local.INFO: GPS data processed {"connection_id":188852,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:18] local.INFO: Acknowledgment sent {"connection_id":188852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:30] local.INFO: TCP Data received {"connection_id":187532,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:43:30] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:43:30] local.INFO: IMEI packet received {"connection_id":187532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":187532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:43:35] local.INFO: TCP Data received {"connection_id":187532,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:43:35] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:43:35] local.INFO: IMEI packet received {"connection_id":187532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":187532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:43:36] local.INFO: TCP Data received {"connection_id":187532,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fd6fb0012d196880071febe00039010c29..."} 
[2026-09-18 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fd6fb0012d196880071febe00039010c29..."} 
[2026-09-18 15:43:36] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fd6fb0012d196880071febe00039010c29..."} 
[2026-09-18 15:43:36] local.INFO: Packet analysis {"connection_id":187532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:43:36] local.INFO: Extracted packet for processing {"connection_id":187532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169882880001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789726126000,"timestamp_ms":1789726126000,"timestamp_seconds":1789726126,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fd6fb0"} 
[2026-09-18 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-09-18 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:43: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-09-18 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-09-18 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-09-18 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169882880001,"66":12439,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169882880001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169882880001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":187532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:36] local.INFO: GPS data processed {"connection_id":187532,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:36] local.INFO: Acknowledgment sent {"connection_id":187532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:38] local.INFO: TCP Data received {"connection_id":187532,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fdc1b8012d196880071febe00039010c27..."} 
[2026-09-18 15:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fdc1b8012d196880071febe00039010c27..."} 
[2026-09-18 15:43:38] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fdc1b8012d196880071febe00039010c27..."} 
[2026-09-18 15:43:38] local.INFO: Packet analysis {"connection_id":187532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:43:38] local.INFO: Extracted packet for processing {"connection_id":187532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fd"} 
[2026-09-18 15:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169888256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789726147000,"timestamp_ms":1789726147000,"timestamp_seconds":1789726147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fdc1b8"} 
[2026-09-18 15:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-18 15:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169888256001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169888256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169888256001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":187532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:38] local.INFO: GPS data processed {"connection_id":187532,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:38] local.INFO: Acknowledgment sent {"connection_id":187532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:48] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b401d4b0012d0b59400704ef90002001350e..."} 
[2026-09-18 15:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b401d4b0012d0b59400704ef90002001350e..."} 
[2026-09-18 15:43:48] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b401d4b0012d0b59400704ef90002001350e..."} 
[2026-09-18 15:43:48] local.INFO: Packet analysis {"connection_id":186239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b401"} 
[2026-09-18 15:43:48] local.INFO: Extracted packet for processing {"connection_id":186239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b401"} 
[2026-09-18 15:43:48] local.INFO: GPS Element Parsed {"raw_longitude":755718464,"raw_latitude":117763984,"longitude_deg":75.5718464,"latitude_deg":11.7763984,"altitude":32,"angle":309,"satellites":14,"speed":10,"hex_longitude":"2d0b5940","hex_latitude":"0704ef90","is_valid_coordinates":true} 
[2026-09-18 15:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169961728001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33083931217625088,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818036681212874752,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789726414000,"timestamp_ms":1789726414000,"timestamp_seconds":1789726414,"priority":1,"record_length":96,"hex_timestamp":"000001a0b401d4b0"} 
[2026-09-18 15:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 15:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169961728001,"66":14548,"96":206,"94":10240,"24":10,"16":33083931217625088,"45":818036681212874752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-18 15:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169961728001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 15:43:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33083931217625088,"km_value":33083931217625.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":818036681212874752,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169961728001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":818036681212874752}} 
[2026-09-18 15:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861203,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:48] local.INFO: GPS data processed {"connection_id":186239,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:48] local.INFO: Acknowledgment sent {"connection_id":186239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:43:50] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:43:50] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:43:50] local.INFO: Packet analysis {"connection_id":188852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:43:50] local.INFO: Extracted packet for processing {"connection_id":188852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:43:50] 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-09-18 15:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:43:50] 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-09-18 15:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:43:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:43:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":188852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:43:50] local.INFO: GPS data processed {"connection_id":188852,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:43:50] local.INFO: Acknowledgment sent {"connection_id":188852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:44:09] local.INFO: TCP Data received {"connection_id":187532,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fe13c0012d196880071febe00039010c29..."} 
[2026-09-18 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fe13c0012d196880071febe00039010c29..."} 
[2026-09-18 15:44:09] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fe13c0012d196880071febe00039010c29..."} 
[2026-09-18 15:44:09] local.INFO: Packet analysis {"connection_id":187532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:44:09] local.INFO: Extracted packet for processing {"connection_id":187532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169893632001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789726168000,"timestamp_ms":1789726168000,"timestamp_seconds":1789726168,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fe13c0"} 
[2026-09-18 15:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169893632001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169893632001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:44:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169893632001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":187532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:44:10] local.INFO: GPS data processed {"connection_id":187532,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:44:10] local.INFO: Acknowledgment sent {"connection_id":187532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:44:12] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:44:12] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:44:12] local.INFO: IMEI packet received {"connection_id":188853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":188853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:44:17] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:44:17] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:44:17] local.INFO: IMEI packet received {"connection_id":188853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":188853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:44:18] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:44:18] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:44:18] local.INFO: Packet analysis {"connection_id":188853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:44:18] local.INFO: Extracted packet for processing {"connection_id":188853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:18] 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-09-18 15:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:44:18] 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-09-18 15:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:44:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:44:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":188853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:44:18] local.INFO: GPS data processed {"connection_id":188853,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:44:18] local.INFO: Acknowledgment sent {"connection_id":188853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:44:22] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:22] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:22] local.INFO: IMEI packet received {"connection_id":187533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":187533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:44:23] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:23] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:23] local.INFO: IMEI packet received {"connection_id":187533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":187533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:44:25] local.INFO: TCP Data received {"connection_id":186105,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:44:25] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:44:25] local.INFO: IMEI packet received {"connection_id":186105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":186105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:44:27] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:27] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:27] local.INFO: IMEI packet received {"connection_id":187533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":187533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:44:30] local.INFO: TCP Data received {"connection_id":186105,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:44:30] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:44:30] local.INFO: IMEI packet received {"connection_id":186105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":186105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:44:32] local.INFO: TCP Data received {"connection_id":186105,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3fe65c8012d196880071febe00039010c29..."} 
[2026-09-18 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3fe65c8012d196880071febe00039010c29..."} 
[2026-09-18 15:44:32] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3fe65c8012d196880071febe00039010c29..."} 
[2026-09-18 15:44:32] local.INFO: Packet analysis {"connection_id":186105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:44:32] local.INFO: Extracted packet for processing {"connection_id":186105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3fe"} 
[2026-09-18 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169899008001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789726189000,"timestamp_ms":1789726189000,"timestamp_seconds":1789726189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3fe65c8"} 
[2026-09-18 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-09-18 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15: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-09-18 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-09-18 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-09-18 15:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169899008001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169899008001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:44:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169899008001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":186105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:44:32] local.INFO: GPS data processed {"connection_id":186105,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:44:32] local.INFO: Acknowledgment sent {"connection_id":186105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:44:50] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:44:50] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:44:50] local.INFO: Packet analysis {"connection_id":188853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:44:50] local.INFO: Extracted packet for processing {"connection_id":188853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:44:50] 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-09-18 15:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:44:50] 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-09-18 15:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:44:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:44:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":188853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:44:50] local.INFO: GPS data processed {"connection_id":188853,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:44:50] local.INFO: Acknowledgment sent {"connection_id":188853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:44:57] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:57] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:44:57] local.INFO: IMEI packet received {"connection_id":187533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":187533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:45:04] local.INFO: TCP Data received {"connection_id":186105,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b401ec20012d196880071febe00039010c2a..."} 
[2026-09-18 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b401ec20012d196880071febe00039010c2a..."} 
[2026-09-18 15:45:04] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b401ec20012d196880071febe00039010c2a..."} 
[2026-09-18 15:45:04] local.INFO: Packet analysis {"connection_id":186105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b401"} 
[2026-09-18 15:45:04] local.INFO: Extracted packet for processing {"connection_id":186105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b401"} 
[2026-09-18 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169958144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789726420000,"timestamp_ms":1789726420000,"timestamp_seconds":1789726420,"priority":1,"record_length":96,"hex_timestamp":"000001a0b401ec20"} 
[2026-09-18 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:45: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-09-18 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:45: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-09-18 15: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-09-18 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169958144001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169958144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:45:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:45:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169958144001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":186105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:45:04] local.INFO: GPS data processed {"connection_id":186105,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:45:04] local.INFO: Acknowledgment sent {"connection_id":186105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:45:17] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:45:17] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:45:17] local.INFO: IMEI packet received {"connection_id":186106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":186106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:45:22] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:45:22] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:45:22] local.INFO: IMEI packet received {"connection_id":186106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":186106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:45:23] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:45:23] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:45:23] local.INFO: Packet analysis {"connection_id":186106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:45:23] local.INFO: Extracted packet for processing {"connection_id":186106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:45:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:23] 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-09-18 15:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:45:23] 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-09-18 15:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:45:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:45:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":186106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:45:23] local.INFO: GPS data processed {"connection_id":186106,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:45:23] local.INFO: Acknowledgment sent {"connection_id":186106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:45:25] local.INFO: TCP Data received {"connection_id":186241,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:45:25] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:45:25] local.INFO: IMEI packet received {"connection_id":186241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":186241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:45:30] local.INFO: TCP Data received {"connection_id":186241,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:45:30] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:45:30] local.INFO: IMEI packet received {"connection_id":186241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":186241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:45:31] local.INFO: TCP Data received {"connection_id":186241,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4023e28012d196880071febe00039010c29..."} 
[2026-09-18 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4023e28012d196880071febe00039010c29..."} 
[2026-09-18 15:45:31] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4023e28012d196880071febe00039010c29..."} 
[2026-09-18 15:45:31] local.INFO: Packet analysis {"connection_id":186241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b402"} 
[2026-09-18 15:45:31] local.INFO: Extracted packet for processing {"connection_id":186241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b402"} 
[2026-09-18 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169963520001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726441000,"timestamp_ms":1789726441000,"timestamp_seconds":1789726441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4023e28"} 
[2026-09-18 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-09-18 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:45: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-09-18 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-09-18 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-09-18 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169963520001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169963520001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:45:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169963520001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":186241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:45:31] local.INFO: GPS data processed {"connection_id":186241,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:45:31] local.INFO: Acknowledgment sent {"connection_id":186241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:45:55] local.INFO: TCP Data received {"connection_id":186106,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:45:55] local.INFO: Processing buffer {"connection_id":186106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:45:55] local.INFO: Packet analysis {"connection_id":186106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:45:55] local.INFO: Extracted packet for processing {"connection_id":186106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:45:55] 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-09-18 15:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:45: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-09-18 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:45:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:45:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":186106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:45:55] local.INFO: GPS data processed {"connection_id":186106,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:45:55] local.INFO: Acknowledgment sent {"connection_id":186106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:46:00] local.INFO: TCP Data received {"connection_id":186238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:46:00] local.INFO: Processing buffer {"connection_id":186238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:46:00] local.INFO: IMEI packet received {"connection_id":186238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":186238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:46:02] local.INFO: TCP Data received {"connection_id":186241,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4029030012d196880071febe00039010c26..."} 
[2026-09-18 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4029030012d196880071febe00039010c26..."} 
[2026-09-18 15:46:02] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4029030012d196880071febe00039010c26..."} 
[2026-09-18 15:46:02] local.INFO: Packet analysis {"connection_id":186241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b402"} 
[2026-09-18 15:46:02] local.INFO: Extracted packet for processing {"connection_id":186241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b402"} 
[2026-09-18 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169968896001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789726462000,"timestamp_ms":1789726462000,"timestamp_seconds":1789726462,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4029030"} 
[2026-09-18 15:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:46: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-09-18 15: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-09-18 15:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169968896001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169968896001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:46:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169968896001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":186241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:46:03] local.INFO: GPS data processed {"connection_id":186241,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:46:03] local.INFO: Acknowledgment sent {"connection_id":186241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:46:12] local.INFO: TCP Data received {"connection_id":188854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:46:12] local.INFO: Processing buffer {"connection_id":188854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:46:12] local.INFO: IMEI packet received {"connection_id":188854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":188854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:46:17] local.INFO: TCP Data received {"connection_id":188854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:46:17] local.INFO: Processing buffer {"connection_id":188854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:46:17] local.INFO: IMEI packet received {"connection_id":188854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":188854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:46:18] local.INFO: TCP Data received {"connection_id":188854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:46:18] local.INFO: Processing buffer {"connection_id":188854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:46:18] local.INFO: Packet analysis {"connection_id":188854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:46:18] local.INFO: Extracted packet for processing {"connection_id":188854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:18] 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-09-18 15:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:46:18] 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-09-18 15:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:46:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:46:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":188854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:46:18] local.INFO: GPS data processed {"connection_id":188854,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:46:18] local.INFO: Acknowledgment sent {"connection_id":188854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:46:24] local.INFO: TCP Data received {"connection_id":187534,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:24] local.INFO: Processing buffer {"connection_id":187534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:24] local.INFO: IMEI packet received {"connection_id":187534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":187534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:46:24] local.INFO: TCP Data received {"connection_id":187534,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:24] local.INFO: Processing buffer {"connection_id":187534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:24] local.INFO: IMEI packet received {"connection_id":187534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":187534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:46:29] local.INFO: TCP Data received {"connection_id":187534,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:29] local.INFO: Processing buffer {"connection_id":187534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:46:29] local.INFO: IMEI packet received {"connection_id":187534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":187534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:46:31] local.INFO: TCP Data received {"connection_id":187534,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b402e238012d196880071febe00039010c28..."} 
[2026-09-18 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b402e238012d196880071febe00039010c28..."} 
[2026-09-18 15:46:31] local.INFO: Processing buffer {"connection_id":187534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b402e238012d196880071febe00039010c28..."} 
[2026-09-18 15:46:31] local.INFO: Packet analysis {"connection_id":187534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b402"} 
[2026-09-18 15:46:31] local.INFO: Extracted packet for processing {"connection_id":187534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b402"} 
[2026-09-18 15:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169974272001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726483000,"timestamp_ms":1789726483000,"timestamp_seconds":1789726483,"priority":1,"record_length":96,"hex_timestamp":"000001a0b402e238"} 
[2026-09-18 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-09-18 15:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169974272001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169974272001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169974272001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":187534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:46:31] local.INFO: GPS data processed {"connection_id":187534,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:46:31] local.INFO: Acknowledgment sent {"connection_id":187534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:46:31] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:31] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:31] local.INFO: IMEI packet received {"connection_id":186243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":186243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:46:33] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:33] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:33] local.INFO: IMEI packet received {"connection_id":186243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":186243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:46:36] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:36] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:46:36] local.INFO: IMEI packet received {"connection_id":186243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":186243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:46:37] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4040f00012d79b8c005e7b008000901662a..."} 
[2026-09-18 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4040f00012d79b8c005e7b008000901662a..."} 
[2026-09-18 15:46:37] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4040f00012d79b8c005e7b008000901662a..."} 
[2026-09-18 15:46:37] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:46:37] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762951872,"raw_latitude":99069960,"longitude_deg":76.2951872,"latitude_deg":9.906996,"altitude":9,"angle":358,"satellites":42,"speed":11,"hex_longitude":"2d79b8c0","hex_latitude":"05e7b008","is_valid_coordinates":true} 
[2026-09-18 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169997824001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723327255117824,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771323249618925568,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789726560000,"timestamp_ms":1789726560000,"timestamp_seconds":1789726560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4040f00"} 
[2026-09-18 15:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:46: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-09-18 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 15:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169997824001,"66":13602,"127":206,"9":25088,"24":11,"16":134723327255117824,"45":8771323249618925568},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169997824001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:46:37] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:46:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723327255117824,"km_value":134723327255117.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771323249618925568,"description":"Unknown IO ID 45"} 
[2026-09-18 15:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169997824001,"power":13602,"unknown_127":206,"unknown_9":25088,"ignition":11,"odometer":null,"unknown_45":8771323249618925568}} 
[2026-09-18 15:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:46:37] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:46:37] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:46:49] local.INFO: TCP Data received {"connection_id":188854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:46:49] local.INFO: Processing buffer {"connection_id":188854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b3ffb1d0012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:46:49] local.INFO: Packet analysis {"connection_id":188854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:46:49] local.INFO: Extracted packet for processing {"connection_id":188854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b3ff"} 
[2026-09-18 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169849088001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:46:49] 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-09-18 15:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726274000,"timestamp_ms":1789726274000,"timestamp_seconds":1789726274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b3ffb1d0"} 
[2026-09-18 15:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 15:46:49] 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-09-18 15:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169849088001,"66":25995,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169849088001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:46:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:46:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169849088001,"power":25995,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":188854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:46:49] local.INFO: GPS data processed {"connection_id":188854,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:46:49] local.INFO: Acknowledgment sent {"connection_id":188854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:47:03] local.INFO: TCP Data received {"connection_id":187534,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4033440012d196880071febe00039010c28..."} 
[2026-09-18 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4033440012d196880071febe00039010c28..."} 
[2026-09-18 15:47:03] local.INFO: Processing buffer {"connection_id":187534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4033440012d196880071febe00039010c28..."} 
[2026-09-18 15:47:03] local.INFO: Packet analysis {"connection_id":187534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b403"} 
[2026-09-18 15:47:03] local.INFO: Extracted packet for processing {"connection_id":187534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b403"} 
[2026-09-18 15:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169979648001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726504000,"timestamp_ms":1789726504000,"timestamp_seconds":1789726504,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4033440"} 
[2026-09-18 15:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:47: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-09-18 15: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-09-18 15:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169979648001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169979648001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169979648001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":187534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:47:03] local.INFO: GPS data processed {"connection_id":187534,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:47:03] local.INFO: Acknowledgment sent {"connection_id":187534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:47:09] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4042e40012d79b80005e7b800000901552a..."} 
[2026-09-18 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4042e40012d79b80005e7b800000901552a..."} 
[2026-09-18 15:47:09] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4042e40012d79b80005e7b800000901552a..."} 
[2026-09-18 15:47:09] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:09] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":762951680,"raw_latitude":99072000,"longitude_deg":76.295168,"latitude_deg":9.9072,"altitude":9,"angle":341,"satellites":42,"speed":5,"hex_longitude":"2d79b800","hex_latitude":"05e7b800","is_valid_coordinates":true} 
[2026-09-18 15:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169999360001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723438924267520,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770971405898483712,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789726568000,"timestamp_ms":1789726568000,"timestamp_seconds":1789726568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4042e40"} 
[2026-09-18 15:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 15:47:09] 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-09-18 15:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169999360001,"66":13319,"127":206,"9":25088,"24":5,"16":134723438924267520,"45":8770971405898483712},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169999360001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:47:09] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:47:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723438924267520,"km_value":134723438924267.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770971405898483712,"description":"Unknown IO ID 45"} 
[2026-09-18 15:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169999360001,"power":13319,"unknown_127":206,"unknown_9":25088,"ignition":5,"odometer":null,"unknown_45":8770971405898483712}} 
[2026-09-18 15:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:47:09] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:47:09] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:47:12] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:47:12] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:47:12] local.INFO: IMEI packet received {"connection_id":186245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":186245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:47:17] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:47:17] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:47:17] local.INFO: IMEI packet received {"connection_id":186245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":186245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:47:17] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:47:17] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:47:17] local.INFO: Packet analysis {"connection_id":186245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:17] local.INFO: Extracted packet for processing {"connection_id":186245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:17] 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-09-18 15:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:47:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:47:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":186245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:47:17] local.INFO: GPS data processed {"connection_id":186245,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:47:17] local.INFO: Acknowledgment sent {"connection_id":186245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:47:24] local.INFO: TCP Data received {"connection_id":187535,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:24] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:24] local.INFO: IMEI packet received {"connection_id":187535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":187535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:47:27] local.INFO: TCP Data received {"connection_id":187535,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:27] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:27] local.INFO: IMEI packet received {"connection_id":187535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":187535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:47:30] local.INFO: TCP Data received {"connection_id":187535,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:30] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:47:30] local.INFO: IMEI packet received {"connection_id":187535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":187535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:47:32] local.INFO: TCP Data received {"connection_id":187535,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4038648012d196880071febe00039010c27..."} 
[2026-09-18 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4038648012d196880071febe00039010c27..."} 
[2026-09-18 15:47:32] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4038648012d196880071febe00039010c27..."} 
[2026-09-18 15:47:32] local.INFO: Packet analysis {"connection_id":187535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b403"} 
[2026-09-18 15:47:32] local.INFO: Extracted packet for processing {"connection_id":187535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b403"} 
[2026-09-18 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169985024001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789726525000,"timestamp_ms":1789726525000,"timestamp_seconds":1789726525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4038648"} 
[2026-09-18 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-09-18 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:47: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-09-18 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-09-18 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-09-18 15:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169985024001,"66":11526,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169985024001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:47:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169985024001,"power":11526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":187535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:47:32] local.INFO: GPS data processed {"connection_id":187535,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:47:32] local.INFO: Acknowledgment sent {"connection_id":187535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:47:40] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4048430012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4048430012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:47:40] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4048430012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:47:40] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:40] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99072504,"longitude_deg":76.2951488,"latitude_deg":9.9072504,"altitude":9,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d79b740","hex_latitude":"05e7b9f8","is_valid_coordinates":true} 
[2026-09-18 15:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170001408001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723464694071296,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770760299666472960,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789726590000,"timestamp_ms":1789726590000,"timestamp_seconds":1789726590,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4048430"} 
[2026-09-18 15:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3020144864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":36865,"corrected_to":0} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-6424384825493346304,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2105475278,"corrected_to":0} 
[2026-09-18 15:47:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2952867193,"corrected_to":0} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3221612455,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2718695424,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3886508032,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57840354653505890,"corrected_to":0} 
[2026-09-18 15:47:40] local.WARNING: Large IO value detected {"io_id":3,"raw_value":-5393059258948698107,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,127,9,24,241,158,16,162,160,15,45,192,176,42,10,66,247,169,243,64,1,240,154,180,231,4,113,205,200,187,152,41,239,52,2,222,5,203,3],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":247,"original":36865,"validated":0},{"io_id":205,"original":2105475278,"validated":0},{"io_id":200,"original":2952867193,"validated":0},{"io_id":203,"original":57840354653505890,"validated":0}]} 
[2026-09-18 15:47:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648893460195377152,"timestamp_seconds":648893460195377.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170001408001,"66":13243,"127":206,"9":25088,"24":0,"16":134723464694071296,"45":8770760299666472960},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170001408001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:47:40] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:47:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723464694071296,"km_value":134723464694071.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770760299666472960,"description":"Unknown IO ID 45"} 
[2026-09-18 15:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170001408001,"power":13243,"unknown_127":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8770760299666472960}} 
[2026-09-18 15:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:47:40] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:47:40] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:47:49] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:47:49] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:47:49] local.INFO: Packet analysis {"connection_id":186245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:49] local.INFO: Extracted packet for processing {"connection_id":186245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:47:49] 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-09-18 15:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:47:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:47:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":186245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:47:49] local.INFO: GPS data processed {"connection_id":186245,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:47:49] local.INFO: Acknowledgment sent {"connection_id":186245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:03] local.INFO: TCP Data received {"connection_id":187535,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b403d850012d196880071febe00039010c24..."} 
[2026-09-18 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b403d850012d196880071febe00039010c24..."} 
[2026-09-18 15:48:03] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b403d850012d196880071febe00039010c24..."} 
[2026-09-18 15:48:03] local.INFO: Packet analysis {"connection_id":187535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b403"} 
[2026-09-18 15:48:03] local.INFO: Extracted packet for processing {"connection_id":187535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b403"} 
[2026-09-18 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169990400001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726546000,"timestamp_ms":1789726546000,"timestamp_seconds":1789726546,"priority":1,"record_length":96,"hex_timestamp":"000001a0b403d850"} 
[2026-09-18 15:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3609783531949229056,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5475926244016187032,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513388229852463372,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,244,160,52,45,128,235,57,40,10,66,226,144,1,240,97,180,31,4,113,205,236,104,224,42,239,48,2,75,41],"length":483,"final_offset":613,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:48:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577696781860864,"timestamp_seconds":4107577696781861.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169990400001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169990400001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169990400001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":187535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:03] local.INFO: GPS data processed {"connection_id":187535,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:03] local.INFO: Acknowledgment sent {"connection_id":187535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:12] local.INFO: TCP Data received {"connection_id":187536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:48:12] local.INFO: Processing buffer {"connection_id":187536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:48:12] local.INFO: IMEI packet received {"connection_id":187536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":187536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:48:12] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b404d250012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b404d250012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:48:12] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b404d250012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:48:12] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:12] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:12] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99072504,"longitude_deg":76.2951488,"latitude_deg":9.9072504,"altitude":9,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d79b740","hex_latitude":"05e7b9f8","is_valid_coordinates":true} 
[2026-09-18 15:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170007040001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723464694071296,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193434068992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789726610000,"timestamp_ms":1789726610000,"timestamp_seconds":1789726610,"priority":1,"record_length":96,"hex_timestamp":"000001a0b404d250"} 
[2026-09-18 15:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170007040001,"66":13363,"127":206,"9":25088,"24":0,"16":134723464694071296,"45":8770549193434068992},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170007040001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:48:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723464694071296,"km_value":134723464694071.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193434068992,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170007040001,"power":13363,"unknown_127":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8770549193434068992}} 
[2026-09-18 15:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:12] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:12] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:17] local.INFO: TCP Data received {"connection_id":187536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:48:17] local.INFO: Processing buffer {"connection_id":187536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:48:17] local.INFO: IMEI packet received {"connection_id":187536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":187536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:48:18] local.INFO: TCP Data received {"connection_id":187536,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:48:18] local.INFO: Processing buffer {"connection_id":187536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:48:18] local.INFO: Packet analysis {"connection_id":187536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:18] local.INFO: Extracted packet for processing {"connection_id":187536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:18] 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-09-18 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:18] 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-09-18 15:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:48:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":187536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:18] local.INFO: GPS data processed {"connection_id":187536,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:18] local.INFO: Acknowledgment sent {"connection_id":187536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:30] local.INFO: TCP Data received {"connection_id":188856,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:30] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:30] local.INFO: IMEI packet received {"connection_id":188856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":188856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:48:31] local.INFO: TCP Data received {"connection_id":188856,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:31] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:31] local.INFO: IMEI packet received {"connection_id":188856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":188856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:48:34] local.INFO: TCP Data received {"connection_id":188856,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:34] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:48:34] local.INFO: IMEI packet received {"connection_id":188856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":188856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:48:36] local.INFO: TCP Data received {"connection_id":188856,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4042a58012d196880071febe00039010c26..."} 
[2026-09-18 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4042a58012d196880071febe00039010c26..."} 
[2026-09-18 15:48:36] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4042a58012d196880071febe00039010c26..."} 
[2026-09-18 15:48:36] local.INFO: Packet analysis {"connection_id":188856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:36] local.INFO: Extracted packet for processing {"connection_id":188856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169995776001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789726567000,"timestamp_ms":1789726567000,"timestamp_seconds":1789726567,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4042a58"} 
[2026-09-18 15:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169995776001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169995776001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169995776001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":188856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:36] local.INFO: GPS data processed {"connection_id":188856,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:36] local.INFO: Acknowledgment sent {"connection_id":188856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:40] local.INFO: TCP Data received {"connection_id":188856,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4047c60012d196880071febe00039010c23..."} 
[2026-09-18 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4047c60012d196880071febe00039010c23..."} 
[2026-09-18 15:48:40] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4047c60012d196880071febe00039010c23..."} 
[2026-09-18 15:48:40] local.INFO: Packet analysis {"connection_id":188856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:40] local.INFO: Extracted packet for processing {"connection_id":188856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170001152001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789726588000,"timestamp_ms":1789726588000,"timestamp_seconds":1789726588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4047c60"} 
[2026-09-18 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170001152001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170001152001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:48:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170001152001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":188856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:40] local.INFO: GPS data processed {"connection_id":188856,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:40] local.INFO: Acknowledgment sent {"connection_id":188856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:44] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4052840012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4052840012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:48:44] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4052840012d79b74005e7b9f8000901552a..."} 
[2026-09-18 15:48:44] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:48:44] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:48:44] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99072504,"longitude_deg":76.2951488,"latitude_deg":9.9072504,"altitude":9,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d79b740","hex_latitude":"05e7b9f8","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170012160001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723464694071296,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193434068992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789726632000,"timestamp_ms":1789726632000,"timestamp_seconds":1789726632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4052840"} 
[2026-09-18 15:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:44] 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-09-18 15: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-09-18 15:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170012160001,"66":13243,"127":206,"9":25088,"24":0,"16":134723464694071296,"45":8770549193434068992},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170012160001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:44] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:48:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723464694071296,"km_value":134723464694071.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193434068992,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170012160001,"power":13243,"unknown_127":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8770549193434068992}} 
[2026-09-18 15:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:44] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:44] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:48:49] local.INFO: TCP Data received {"connection_id":187536,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:48:49] local.INFO: Processing buffer {"connection_id":187536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:48:49] local.INFO: Packet analysis {"connection_id":187536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:49] local.INFO: Extracted packet for processing {"connection_id":187536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:48:49] 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-09-18 15:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:48:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:48:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":187536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:48:49] local.INFO: GPS data processed {"connection_id":187536,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:48:49] local.INFO: Acknowledgment sent {"connection_id":187536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:49:15] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4054f50012d79b74005e7bc20000601622a..."} 
[2026-09-18 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4054f50012d79b74005e7bc20000601622a..."} 
[2026-09-18 15:49:15] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4054f50012d79b74005e7bc20000601622a..."} 
[2026-09-18 15:49:15] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:49:15] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99073056,"longitude_deg":76.2951488,"latitude_deg":9.9073056,"altitude":6,"angle":354,"satellites":42,"speed":1,"hex_longitude":"2d79b740","hex_latitude":"05e7bc20","is_valid_coordinates":true} 
[2026-09-18 15:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170017792001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723494758842368,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193434068992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789726642000,"timestamp_ms":1789726642000,"timestamp_seconds":1789726642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4054f50"} 
[2026-09-18 15:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 15:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170017792001,"66":13406,"127":206,"9":25088,"24":1,"16":134723494758842368,"45":8770549193434068992},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170017792001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:49:15] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:49:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723494758842368,"km_value":134723494758842.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193434068992,"description":"Unknown IO ID 45"} 
[2026-09-18 15:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170017792001,"power":13406,"unknown_127":206,"unknown_9":25088,"ignition":1,"odometer":null,"unknown_45":8770549193434068992}} 
[2026-09-18 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:49:16] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:49:16] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:49:17] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:49:17] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:49:17] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:49:22] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:49:22] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:49:22] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:49:23] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:49:23] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:49:23] local.INFO: Packet analysis {"connection_id":188858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:49:23] local.INFO: Extracted packet for processing {"connection_id":188858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:23] 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-09-18 15:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:49:23] 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-09-18 15:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:49:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:49:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":188858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:49:23] local.INFO: GPS data processed {"connection_id":188858,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:49:23] local.INFO: Acknowledgment sent {"connection_id":188858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:49:25] local.INFO: TCP Data received {"connection_id":188859,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:49:25] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:49:25] local.INFO: IMEI packet received {"connection_id":188859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":188859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:49:30] local.INFO: TCP Data received {"connection_id":188859,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:49:30] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:49:30] local.INFO: IMEI packet received {"connection_id":188859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":188859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:49:31] local.INFO: TCP Data received {"connection_id":188859,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b404ce68012d196880071febe00039010c28..."} 
[2026-09-18 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b404ce68012d196880071febe00039010c28..."} 
[2026-09-18 15:49:31] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b404ce68012d196880071febe00039010c28..."} 
[2026-09-18 15:49:31] local.INFO: Packet analysis {"connection_id":188859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:49:31] local.INFO: Extracted packet for processing {"connection_id":188859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170006528001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726609000,"timestamp_ms":1789726609000,"timestamp_seconds":1789726609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b404ce68"} 
[2026-09-18 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-09-18 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170006528001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170006528001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:49:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170006528001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":188859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:49:31] local.INFO: GPS data processed {"connection_id":188859,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:49:31] local.INFO: Acknowledgment sent {"connection_id":188859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:49:46] local.INFO: TCP Data received {"connection_id":186243,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4059d70012d79b74005e7bc880006015f2a..."} 
[2026-09-18 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4059d70012d79b74005e7bc880006015f2a..."} 
[2026-09-18 15:49:46] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4059d70012d79b74005e7bc880006015f2a..."} 
[2026-09-18 15:49:46] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:49:46] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99073160,"longitude_deg":76.2951488,"latitude_deg":9.907316,"altitude":6,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2d79b740","hex_latitude":"05e7bc88","is_valid_coordinates":true} 
[2026-09-18 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170020352001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134723499053809664,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193434210304,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789726662000,"timestamp_ms":1789726662000,"timestamp_seconds":1789726662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4059d70"} 
[2026-09-18 15:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 15:49:46] 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-09-18 15:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170020352001,"66":13341,"127":206,"9":25088,"24":0,"16":134723499053809664,"45":8770549193434210304},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170020352001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:49:46] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:49:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134723499053809664,"km_value":134723499053809.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193434210304,"description":"Unknown IO ID 45"} 
[2026-09-18 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170020352001,"power":13341,"unknown_127":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8770549193434210304}} 
[2026-09-18 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:49:46] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:49:46] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:49:54] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:49:54] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:49:54] local.INFO: Packet analysis {"connection_id":188858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:49:54] local.INFO: Extracted packet for processing {"connection_id":188858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:49:54] 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-09-18 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:49:54] 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-09-18 15:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:49:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:49:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":188858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:49:54] local.INFO: GPS data processed {"connection_id":188858,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:49:54] local.INFO: Acknowledgment sent {"connection_id":188858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:03] local.INFO: TCP Data received {"connection_id":188859,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4052070012d196880071febe00039010c28..."} 
[2026-09-18 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4052070012d196880071febe00039010c28..."} 
[2026-09-18 15:50:03] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4052070012d196880071febe00039010c28..."} 
[2026-09-18 15:50:03] local.INFO: Packet analysis {"connection_id":188859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:50:03] local.INFO: Extracted packet for processing {"connection_id":188859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170011904001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726630000,"timestamp_ms":1789726630000,"timestamp_seconds":1789726630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4052070"} 
[2026-09-18 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:50: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-09-18 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170011904001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170011904001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170011904001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":188859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:03] local.INFO: GPS data processed {"connection_id":188859,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:03] local.INFO: Acknowledgment sent {"connection_id":188859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:12] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:50:12] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:50:12] local.INFO: IMEI packet received {"connection_id":187537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":187537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:50:12] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:12] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:12] local.INFO: IMEI packet received {"connection_id":186246,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":186246,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:50:13] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:13] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:13] local.INFO: IMEI packet received {"connection_id":186246,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":186246,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:50:17] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:50:17] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:50:17] local.INFO: IMEI packet received {"connection_id":187537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":187537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:50:18] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:18] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:50:18] local.INFO: IMEI packet received {"connection_id":186246,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":186246,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:50:18] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:50:18] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:50:18] local.INFO: Packet analysis {"connection_id":187537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:50:18] local.INFO: Extracted packet for processing {"connection_id":187537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:18] 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-09-18 15:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:18] 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-09-18 15:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":187537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:18] local.INFO: GPS data processed {"connection_id":187537,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:18] local.INFO: Acknowledgment sent {"connection_id":187537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:18] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b406a328012d0a76400705c6380021015410..."} 
[2026-09-18 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b406a328012d0a76400705c6380021015410..."} 
[2026-09-18 15:50:18] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b406a328012d0a76400705c6380021015410..."} 
[2026-09-18 15:50:18] local.INFO: Packet analysis {"connection_id":186246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:50:18] local.INFO: Extracted packet for processing {"connection_id":186246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117818936,"longitude_deg":75.5660352,"latitude_deg":11.7818936,"altitude":33,"angle":340,"satellites":16,"speed":0,"hex_longitude":"2d0a7640","hex_latitude":"0705c638","is_valid_coordinates":true} 
[2026-09-18 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170037504001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33089566214717440,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754352967745724416,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726729000,"timestamp_ms":1789726729000,"timestamp_seconds":1789726729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b406a328"} 
[2026-09-18 15:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170037504001,"66":14439,"165":206,"94":10240,"24":0,"16":33089566214717440,"45":754352967745724416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170037504001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33089566214717440,"km_value":33089566214717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":754352967745724416,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170037504001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":754352967745724416}} 
[2026-09-18 15:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":186246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:18] local.INFO: GPS data processed {"connection_id":186246,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:18] local.INFO: Acknowledgment sent {"connection_id":186246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:22] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:50:22] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:50:22] local.INFO: IMEI packet received {"connection_id":186108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":186108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:50:24] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:50:24] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:50:24] local.INFO: IMEI packet received {"connection_id":186108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":186108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:50:25] local.INFO: TCP Data received {"connection_id":186109,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:50:25] local.INFO: Processing buffer {"connection_id":186109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:50:25] local.INFO: IMEI packet received {"connection_id":186109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":186109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:50:26] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b407a4f8012d79b08005e7db40000200ac29..."} 
[2026-09-18 15:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b407a4f8012d79b08005e7db40000200ac29..."} 
[2026-09-18 15:50:26] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b407a4f8012d79b08005e7db40000200ac29..."} 
[2026-09-18 15:50:26] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:50:26] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762949760,"raw_latitude":99081024,"longitude_deg":76.294976,"latitude_deg":9.9081024,"altitude":2,"angle":172,"satellites":41,"speed":7,"hex_longitude":"2d79b080","hex_latitude":"05e7db40","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170059008001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134724023039819776,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768367762366816256,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789726795000,"timestamp_ms":1789726795000,"timestamp_seconds":1789726795,"priority":1,"record_length":96,"hex_timestamp":"000001a0b407a4f8"} 
[2026-09-18 15:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:26] 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-09-18 15: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-09-18 15:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170059008001,"66":13493,"126":206,"9":25088,"24":7,"16":134724023039819776,"45":8768367762366816256},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,45]} 
[2026-09-18 15:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170059008001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:26] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-18 15:50:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134724023039819776,"km_value":134724023039819.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768367762366816256,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170059008001,"power":13493,"unknown_126":206,"unknown_9":25088,"ignition":7,"odometer":null,"unknown_45":8768367762366816256}} 
[2026-09-18 15:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:26] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:26] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:27] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b407df90012d79b84005e7b938000000ac29..."} 
[2026-09-18 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b407df90012d79b84005e7b938000000ac29..."} 
[2026-09-18 15:50:27] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b407df90012d79b84005e7b938000000ac29..."} 
[2026-09-18 15:50:27] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:50:27] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":762951744,"raw_latitude":99072312,"longitude_deg":76.2951744,"latitude_deg":9.9072312,"altitude":0,"angle":172,"satellites":41,"speed":30,"hex_longitude":"2d79b840","hex_latitude":"05e7b938","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170059520001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134724461126483968,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768649237343453184,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789726810000,"timestamp_ms":1789726810000,"timestamp_seconds":1789726810,"priority":1,"record_length":96,"hex_timestamp":"000001a0b407df90"} 
[2026-09-18 15:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170059520001,"66":13656,"126":206,"9":25088,"24":30,"16":134724461126483968,"45":8768649237343453184},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,45]} 
[2026-09-18 15:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170059520001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:27] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-18 15:50:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134724461126483968,"km_value":134724461126483.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768649237343453184,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170059520001,"power":13656,"unknown_126":206,"unknown_9":25088,"ignition":30,"odometer":null,"unknown_45":8768649237343453184}} 
[2026-09-18 15:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:27] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:27] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:30] local.INFO: TCP Data received {"connection_id":186109,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:50:30] local.INFO: Processing buffer {"connection_id":186109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:50:30] local.INFO: IMEI packet received {"connection_id":186109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":186109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:50:32] local.INFO: TCP Data received {"connection_id":186109,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4057278012d196880071febe00039010c27..."} 
[2026-09-18 15:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4057278012d196880071febe00039010c27..."} 
[2026-09-18 15:50:32] local.INFO: Processing buffer {"connection_id":186109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4057278012d196880071febe00039010c27..."} 
[2026-09-18 15:50:32] local.INFO: Packet analysis {"connection_id":186109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:50:32] local.INFO: Extracted packet for processing {"connection_id":186109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170017280001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789726651000,"timestamp_ms":1789726651000,"timestamp_seconds":1789726651,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4057278"} 
[2026-09-18 15:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:50: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-09-18 15: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-09-18 15:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170017280001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170017280001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170017280001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":186109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:32] local.INFO: GPS data processed {"connection_id":186109,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:32] local.INFO: Acknowledgment sent {"connection_id":186109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:49] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:50:49] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:50:49] local.INFO: Packet analysis {"connection_id":187537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:50:49] local.INFO: Extracted packet for processing {"connection_id":187537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:49] 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-09-18 15:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":187537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:49] local.INFO: GPS data processed {"connection_id":187537,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:49] local.INFO: Acknowledgment sent {"connection_id":187537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:49] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40850d8012d0a7440070603e8001800c911..."} 
[2026-09-18 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40850d8012d0a7440070603e8001800c911..."} 
[2026-09-18 15:50:49] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40850d8012d0a7440070603e8001800c911..."} 
[2026-09-18 15:50:49] local.INFO: Packet analysis {"connection_id":186246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:50:49] local.INFO: Extracted packet for processing {"connection_id":186246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834728,"longitude_deg":75.565984,"latitude_deg":11.7834728,"altitude":24,"angle":201,"satellites":17,"speed":2,"hex_longitude":"2d0a7440","hex_latitude":"070603e8","is_valid_coordinates":true} 
[2026-09-18 15:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170068480001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33090167510138880,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587608064,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726839000,"timestamp_ms":1789726839000,"timestamp_seconds":1789726839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40850d8"} 
[2026-09-18 15:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170068480001,"66":14439,"165":206,"94":10240,"24":2,"16":33090167510138880,"45":753297436587608064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170068480001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33090167510138880,"km_value":33090167510138.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587608064,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170068480001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753297436587608064}} 
[2026-09-18 15:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":186246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:49] local.INFO: GPS data processed {"connection_id":186246,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:49] local.INFO: Acknowledgment sent {"connection_id":186246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:50:59] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4080e70012d79b9c005e793b8000100b627..."} 
[2026-09-18 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4080e70012d79b9c005e793b8000100b627..."} 
[2026-09-18 15:50:59] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4080e70012d79b9c005e793b8000100b627..."} 
[2026-09-18 15:50:59] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:50:59] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:50:59] local.INFO: GPS Element Parsed {"raw_longitude":762952128,"raw_latitude":99062712,"longitude_deg":76.2952128,"latitude_deg":9.9062712,"altitude":1,"angle":182,"satellites":39,"speed":30,"hex_longitude":"2d79b9c0","hex_latitude":"05e793b8","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170063360001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134724924982951936,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770830668410730496,"note":"Value kept but may cause issues"} 
[2026-09-18 15:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789726822000,"timestamp_ms":1789726822000,"timestamp_seconds":1789726822,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4080e70"} 
[2026-09-18 15:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:50: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-09-18 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 15:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170063360001,"66":13559,"126":206,"9":25088,"24":30,"16":134724924982951936,"45":8770830668410730496},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,45]} 
[2026-09-18 15:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170063360001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:50:59] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-18 15:50:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134724924982951936,"km_value":134724924982951.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770830668410730496,"description":"Unknown IO ID 45"} 
[2026-09-18 15:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170063360001,"power":13559,"unknown_126":206,"unknown_9":25088,"ignition":30,"odometer":null,"unknown_45":8770830668410730496}} 
[2026-09-18 15:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:50:59] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:50:59] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:04] local.INFO: TCP Data received {"connection_id":186109,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b405c480012d196880071febe00039010c27..."} 
[2026-09-18 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b405c480012d196880071febe00039010c27..."} 
[2026-09-18 15:51:04] local.INFO: Processing buffer {"connection_id":186109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b405c480012d196880071febe00039010c27..."} 
[2026-09-18 15:51:04] local.INFO: Packet analysis {"connection_id":186109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:51:04] local.INFO: Extracted packet for processing {"connection_id":186109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b405"} 
[2026-09-18 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170022656001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789726672000,"timestamp_ms":1789726672000,"timestamp_seconds":1789726672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b405c480"} 
[2026-09-18 15:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51: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-09-18 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170022656001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170022656001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170022656001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":186109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:04] local.INFO: GPS data processed {"connection_id":186109,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:04] local.INFO: Acknowledgment sent {"connection_id":186109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:12] local.INFO: TCP Data received {"connection_id":187538,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:51:12] local.INFO: Processing buffer {"connection_id":187538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:51:12] local.INFO: IMEI packet received {"connection_id":187538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":187538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:51:13] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:13] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:13] local.INFO: IMEI packet received {"connection_id":188860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":188860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:51:16] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:16] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:16] local.INFO: IMEI packet received {"connection_id":188860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":188860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:51:17] local.INFO: TCP Data received {"connection_id":187538,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:51:17] local.INFO: Processing buffer {"connection_id":187538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:51:17] local.INFO: IMEI packet received {"connection_id":187538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":187538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:51:17] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:17] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:17] local.INFO: IMEI packet received {"connection_id":188860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:51:20] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:20] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:51:20] local.INFO: IMEI packet received {"connection_id":188860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":188860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:51:20] local.INFO: TCP Data received {"connection_id":187538,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:51:20] local.INFO: Processing buffer {"connection_id":187538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:51:20] local.INFO: Packet analysis {"connection_id":187538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:51:20] local.INFO: Extracted packet for processing {"connection_id":187538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:20] 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-09-18 15:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:20] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:51:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":187538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:20] local.INFO: GPS data processed {"connection_id":187538,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:20] local.INFO: Acknowledgment sent {"connection_id":187538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:21] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4085c90012d0a740007060378001800ba11..."} 
[2026-09-18 15:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4085c90012d0a740007060378001800ba11..."} 
[2026-09-18 15:51:21] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4085c90012d0a740007060378001800ba11..."} 
[2026-09-18 15:51:21] local.INFO: Packet analysis {"connection_id":188860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:21] local.INFO: Extracted packet for processing {"connection_id":188860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834616,"longitude_deg":75.5659776,"latitude_deg":11.7834616,"altitude":24,"angle":186,"satellites":17,"speed":0,"hex_longitude":"2d0a7400","hex_latitude":"07060378","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170070784001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33090176100073472,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587583488,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789726842000,"timestamp_ms":1789726842000,"timestamp_seconds":1789726842,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4085c90"} 
[2026-09-18 15:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170070784001,"66":14439,"165":206,"94":10240,"24":0,"16":33090176100073472,"45":753297436587583488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170070784001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:51:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33090176100073472,"km_value":33090176100073.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587583488,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170070784001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753297436587583488}} 
[2026-09-18 15:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":188860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861247,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:21] local.INFO: GPS data processed {"connection_id":188860,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:21] local.INFO: Acknowledgment sent {"connection_id":188860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:22] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4086460012d0a7440070603580018009211..."} 
[2026-09-18 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4086460012d0a7440070603580018009211..."} 
[2026-09-18 15:51:22] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4086460012d0a7440070603580018009211..."} 
[2026-09-18 15:51:22] local.INFO: Packet analysis {"connection_id":188860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:22] local.INFO: Extracted packet for processing {"connection_id":188860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834584,"longitude_deg":75.565984,"latitude_deg":11.7834584,"altitude":24,"angle":146,"satellites":17,"speed":0,"hex_longitude":"2d0a7440","hex_latitude":"07060358","is_valid_coordinates":true} 
[2026-09-18 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170071552001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33090180395040768,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843377152,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789726844000,"timestamp_ms":1789726844000,"timestamp_seconds":1789726844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4086460"} 
[2026-09-18 15:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170071552001,"66":14396,"165":206,"94":10240,"24":0,"16":33090180395040768,"45":753227067843377152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170071552001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:51:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33090180395040768,"km_value":33090180395040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843377152,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170071552001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753227067843377152}} 
[2026-09-18 15:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":188860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:22] local.INFO: GPS data processed {"connection_id":188860,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:22] local.INFO: Acknowledgment sent {"connection_id":188860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:30] local.INFO: TCP Data received {"connection_id":187539,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:51:30] local.INFO: Processing buffer {"connection_id":187539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:51:30] local.INFO: IMEI packet received {"connection_id":187539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":187539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:51:31] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4084138012d79b70005e76e60000000b129..."} 
[2026-09-18 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4084138012d79b70005e76e60000000b129..."} 
[2026-09-18 15:51:31] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4084138012d79b70005e76e60000000b129..."} 
[2026-09-18 15:51:31] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:31] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99053152,"longitude_deg":76.2951424,"latitude_deg":9.9053152,"altitude":0,"angle":177,"satellites":41,"speed":24,"hex_longitude":"2d79b700","hex_latitude":"05e76e60","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170066432001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134725388839419904,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771252880873338880,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726835000,"timestamp_ms":1789726835000,"timestamp_seconds":1789726835,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4084138"} 
[2026-09-18 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-09-18 15:51: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-09-18 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170066432001,"66":13352,"127":206,"9":25088,"24":24,"16":134725388839419904,"45":8771252880873338880},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170066432001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:31] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134725388839419904,"km_value":134725388839419.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771252880873338880,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170066432001,"power":13352,"unknown_127":206,"unknown_9":25088,"ignition":24,"odometer":null,"unknown_45":8771252880873338880}} 
[2026-09-18 15:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:31] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:31] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:35] local.INFO: TCP Data received {"connection_id":187539,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:51:35] local.INFO: Processing buffer {"connection_id":187539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:51:35] local.INFO: IMEI packet received {"connection_id":187539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":187539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:51:36] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:51:36] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:51:36] local.INFO: IMEI packet received {"connection_id":186107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":186107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:51:36] local.INFO: TCP Data received {"connection_id":187539,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4061688012d196880071febe00039010c29..."} 
[2026-09-18 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4061688012d196880071febe00039010c29..."} 
[2026-09-18 15:51:36] local.INFO: Processing buffer {"connection_id":187539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4061688012d196880071febe00039010c29..."} 
[2026-09-18 15:51:36] local.INFO: Packet analysis {"connection_id":187539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:51:36] local.INFO: Extracted packet for processing {"connection_id":187539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170028032001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789726693000,"timestamp_ms":1789726693000,"timestamp_seconds":1789726693,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4061688"} 
[2026-09-18 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170028032001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170028032001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170028032001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":187539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:36] local.INFO: GPS data processed {"connection_id":187539,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:36] local.INFO: Acknowledgment sent {"connection_id":187539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:39] local.INFO: TCP Data received {"connection_id":187539,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4066890012d196880071febe00039010c27..."} 
[2026-09-18 15:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4066890012d196880071febe00039010c27..."} 
[2026-09-18 15:51:39] local.INFO: Processing buffer {"connection_id":187539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4066890012d196880071febe00039010c27..."} 
[2026-09-18 15:51:39] local.INFO: Packet analysis {"connection_id":187539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:51:39] local.INFO: Extracted packet for processing {"connection_id":187539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170033408001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789726714000,"timestamp_ms":1789726714000,"timestamp_seconds":1789726714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4066890"} 
[2026-09-18 15:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170033408001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170033408001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170033408001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":187539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:39] local.INFO: GPS data processed {"connection_id":187539,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:39] local.INFO: Acknowledgment sent {"connection_id":187539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:52] local.INFO: TCP Data received {"connection_id":187538,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:51:52] local.INFO: Processing buffer {"connection_id":187538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4044998012d569dc0067b65a00024002a29..."} 
[2026-09-18 15:51:52] local.INFO: Packet analysis {"connection_id":187538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:51:52] local.INFO: Extracted packet for processing {"connection_id":187538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b404"} 
[2026-09-18 15:51:52] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458169926144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:52] 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-09-18 15:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789726575000,"timestamp_ms":1789726575000,"timestamp_seconds":1789726575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4044998"} 
[2026-09-18 15:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:52] 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-09-18 15: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-09-18 15:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458169926144001,"66":25952,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458169926144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:52] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:51:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458169926144001,"power":25952,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":187538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:52] local.INFO: GPS data processed {"connection_id":187538,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:52] local.INFO: Acknowledgment sent {"connection_id":187538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:51:53] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40883a0012d0a740007060280001800b111..."} 
[2026-09-18 15:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40883a0012d0a740007060280001800b111..."} 
[2026-09-18 15:51:53] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40883a0012d0a740007060280001800b111..."} 
[2026-09-18 15:51:53] local.INFO: Packet analysis {"connection_id":188860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:53] local.INFO: Extracted packet for processing {"connection_id":188860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:51:53] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834368,"longitude_deg":75.5659776,"latitude_deg":11.7834368,"altitude":24,"angle":177,"satellites":17,"speed":2,"hex_longitude":"2d0a7400","hex_latitude":"07060280","is_valid_coordinates":true} 
[2026-09-18 15:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170072064001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33090193279942656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587546624,"note":"Value kept but may cause issues"} 
[2026-09-18 15:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789726852000,"timestamp_ms":1789726852000,"timestamp_seconds":1789726852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40883a0"} 
[2026-09-18 15:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 15:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170072064001,"66":14515,"165":206,"94":10240,"24":2,"16":33090193279942656,"45":753297436587546624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170072064001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:51:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:51:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33090193279942656,"km_value":33090193279942.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587546624,"description":"Unknown IO ID 45"} 
[2026-09-18 15:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170072064001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753297436587546624}} 
[2026-09-18 15:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":188860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:51:53] local.INFO: GPS data processed {"connection_id":188860,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:51:53] local.INFO: Acknowledgment sent {"connection_id":188860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:02] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40877e8012d79b3c005e746d0000200b627..."} 
[2026-09-18 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40877e8012d79b3c005e746d0000200b627..."} 
[2026-09-18 15:52:02] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40877e8012d79b3c005e746d0000200b627..."} 
[2026-09-18 15:52:02] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:02] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:02] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99043024,"longitude_deg":76.2950592,"latitude_deg":9.9043024,"altitude":2,"angle":182,"satellites":39,"speed":27,"hex_longitude":"2d79b3c0","hex_latitude":"05e746d0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170069760001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134725844105953280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824684937216,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789726849000,"timestamp_ms":1789726849000,"timestamp_seconds":1789726849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40877e8"} 
[2026-09-18 15:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52: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-09-18 15: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170069760001,"66":13689,"127":206,"9":25088,"24":27,"16":134725844105953280,"45":8770478824684937216},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170069760001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134725844105953280,"km_value":134725844105953.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824684937216,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170069760001,"power":13689,"unknown_127":206,"unknown_9":25088,"ignition":27,"odometer":null,"unknown_45":8770478824684937216}} 
[2026-09-18 15:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:02] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:02] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:12] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:52:12] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:52:12] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:52:13] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:52:13] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:52:13] local.INFO: IMEI packet received {"connection_id":186247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":186247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:52:15] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:52:15] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:52:15] local.INFO: IMEI packet received {"connection_id":186247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:52:17] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:52:17] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:52:17] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:52:17] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4096a18012d0a81400705a790000e00c811..."} 
[2026-09-18 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4096a18012d0a81400705a790000e00c811..."} 
[2026-09-18 15:52:17] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4096a18012d0a81400705a790000e00c811..."} 
[2026-09-18 15:52:17] local.INFO: Packet analysis {"connection_id":186247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b409"} 
[2026-09-18 15:52:17] local.INFO: Extracted packet for processing {"connection_id":186247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b409"} 
[2026-09-18 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":755663168,"raw_latitude":117811088,"longitude_deg":75.5663168,"latitude_deg":11.7811088,"altitude":14,"angle":200,"satellites":17,"speed":12,"hex_longitude":"2d0a8140","hex_latitude":"0705a790","is_valid_coordinates":true} 
[2026-09-18 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170088960001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33091374395949056,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767201280,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789726911000,"timestamp_ms":1789726911000,"timestamp_seconds":1789726911,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4096a18"} 
[2026-09-18 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170088960001,"66":14254,"165":206,"94":10240,"24":12,"16":33091374395949056,"45":757097348767201280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170088960001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33091374395949056,"km_value":33091374395949.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767201280,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170088960001,"power":14254,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757097348767201280}} 
[2026-09-18 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:17] local.INFO: GPS data processed {"connection_id":186247,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:17] local.INFO: Acknowledgment sent {"connection_id":186247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:17] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:52:17] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:52:17] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:17] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:17] 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-09-18 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:17] 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-09-18 15:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:17] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:17] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:18] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4096e00012d0a80400705a650000d00d411..."} 
[2026-09-18 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4096e00012d0a80400705a650000d00d411..."} 
[2026-09-18 15:52:18] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4096e00012d0a80400705a650000d00d411..."} 
[2026-09-18 15:52:18] local.INFO: Packet analysis {"connection_id":186247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b409"} 
[2026-09-18 15:52:18] local.INFO: Extracted packet for processing {"connection_id":186247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b409"} 
[2026-09-18 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117810768,"longitude_deg":75.5662912,"latitude_deg":11.7810768,"altitude":13,"angle":212,"satellites":17,"speed":15,"hex_longitude":"2d0a8040","hex_latitude":"0705a650","is_valid_coordinates":true} 
[2026-09-18 15:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170089216001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33091391575818240,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756956611278770176,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726912000,"timestamp_ms":1789726912000,"timestamp_seconds":1789726912,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4096e00"} 
[2026-09-18 15:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170089216001,"66":14374,"165":206,"94":10240,"24":15,"16":33091391575818240,"45":756956611278770176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170089216001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:52:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33091391575818240,"km_value":33091391575818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":756956611278770176,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170089216001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":756956611278770176}} 
[2026-09-18 15:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":186247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861257,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:18] local.INFO: GPS data processed {"connection_id":186247,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:18] local.INFO: Acknowledgment sent {"connection_id":186247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:25] local.INFO: TCP Data received {"connection_id":187540,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:52:25] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:52:25] local.INFO: IMEI packet received {"connection_id":187540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":187540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:52:30] local.INFO: TCP Data received {"connection_id":187540,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:52:30] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:52:30] local.INFO: IMEI packet received {"connection_id":187540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":187540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:52:31] local.INFO: TCP Data received {"connection_id":187540,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b406ba98012d196880071febe00039010c24..."} 
[2026-09-18 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b406ba98012d196880071febe00039010c24..."} 
[2026-09-18 15:52:31] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b406ba98012d196880071febe00039010c24..."} 
[2026-09-18 15:52:31] local.INFO: Packet analysis {"connection_id":187540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:52:31] local.INFO: Extracted packet for processing {"connection_id":187540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b406"} 
[2026-09-18 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170038784001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726735000,"timestamp_ms":1789726735000,"timestamp_seconds":1789726735,"priority":1,"record_length":96,"hex_timestamp":"000001a0b406ba98"} 
[2026-09-18 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-09-18 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170038784001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170038784001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170038784001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":187540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:31] local.INFO: GPS data processed {"connection_id":187540,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:31] local.INFO: Acknowledgment sent {"connection_id":187540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:34] local.INFO: TCP Data received {"connection_id":186108,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4089ef8012d79b3c005e73310000400a327..."} 
[2026-09-18 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4089ef8012d79b3c005e73310000400a327..."} 
[2026-09-18 15:52:34] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4089ef8012d79b3c005e73310000400a327..."} 
[2026-09-18 15:52:34] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:34] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99037968,"longitude_deg":76.2950592,"latitude_deg":9.9037968,"altitude":4,"angle":163,"satellites":39,"speed":6,"hex_longitude":"2d79b3c0","hex_latitude":"05e73310","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170073344001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134726123278827520,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769564031008034816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789726859000,"timestamp_ms":1789726859000,"timestamp_seconds":1789726859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4089ef8"} 
[2026-09-18 15:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52: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-09-18 15: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170073344001,"66":13363,"127":206,"9":25088,"24":6,"16":134726123278827520,"45":8769564031008034816},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170073344001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134726123278827520,"km_value":134726123278827.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769564031008034816,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170073344001,"power":13363,"unknown_127":206,"unknown_9":25088,"ignition":6,"odometer":null,"unknown_45":8769564031008034816}} 
[2026-09-18 15:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:34] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:34] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:49] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:52:49] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:52:49] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:49] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:49] 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-09-18 15:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:49] 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-09-18 15:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:52:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:49] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:49] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:52:50] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40998f8012d0a70c007059278000800e011..."} 
[2026-09-18 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40998f8012d0a70c007059278000800e011..."} 
[2026-09-18 15:52:50] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40998f8012d0a70c007059278000800e011..."} 
[2026-09-18 15:52:50] local.INFO: Packet analysis {"connection_id":186247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b409"} 
[2026-09-18 15:52:50] local.INFO: Extracted packet for processing {"connection_id":186247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b409"} 
[2026-09-18 15:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755658944,"raw_latitude":117805688,"longitude_deg":75.5658944,"latitude_deg":11.7805688,"altitude":8,"angle":224,"satellites":17,"speed":22,"hex_longitude":"2d0a70c0","hex_latitude":"07059278","is_valid_coordinates":true} 
[2026-09-18 15:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170089472001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33091700813463552,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756675136301977600,"note":"Value kept but may cause issues"} 
[2026-09-18 15:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789726923000,"timestamp_ms":1789726923000,"timestamp_seconds":1789726923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40998f8"} 
[2026-09-18 15:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:52: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-09-18 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 15:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170089472001,"66":14548,"165":206,"94":10240,"24":22,"16":33091700813463552,"45":756675136301977600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 15:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170089472001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:52:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 15:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33091700813463552,"km_value":33091700813463.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":756675136301977600,"description":"Unknown IO ID 45"} 
[2026-09-18 15:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170089472001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":756675136301977600}} 
[2026-09-18 15:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":186247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:52:50] local.INFO: GPS data processed {"connection_id":186247,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:52:50] local.INFO: Acknowledgment sent {"connection_id":186247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:53:03] local.INFO: TCP Data received {"connection_id":187540,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4070ca0012d196880071febe00039010c26..."} 
[2026-09-18 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4070ca0012d196880071febe00039010c26..."} 
[2026-09-18 15:53:03] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4070ca0012d196880071febe00039010c26..."} 
[2026-09-18 15:53:03] local.INFO: Packet analysis {"connection_id":187540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:53:03] local.INFO: Extracted packet for processing {"connection_id":187540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170044160001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726756000,"timestamp_ms":1789726756000,"timestamp_seconds":1789726756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4070ca0"} 
[2026-09-18 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:53: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-09-18 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170044160001,"66":12102,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170044160001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:53:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170044160001,"power":12102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":187540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:53:03] local.INFO: GPS data processed {"connection_id":187540,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:53:03] local.INFO: Acknowledgment sent {"connection_id":187540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:53:09] local.INFO: TCP Data received {"connection_id":188862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:09] local.INFO: Processing buffer {"connection_id":188862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:09] local.INFO: IMEI packet received {"connection_id":188862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:53:10] local.INFO: TCP Data received {"connection_id":188862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:10] local.INFO: Processing buffer {"connection_id":188862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:10] local.INFO: IMEI packet received {"connection_id":188862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":188862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:53:12] local.INFO: TCP Data received {"connection_id":188862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:12] local.INFO: Processing buffer {"connection_id":188862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:12] local.INFO: IMEI packet received {"connection_id":188862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":188862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:53:13] local.INFO: TCP Data received {"connection_id":188862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:13] local.INFO: Processing buffer {"connection_id":188862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:53:13] local.INFO: IMEI packet received {"connection_id":188862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:53:17] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:53:17] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:53:17] local.INFO: IMEI packet received {"connection_id":186249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":186249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:53:22] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:53:22] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:53:22] local.INFO: IMEI packet received {"connection_id":186249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":186249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:53:23] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:53:23] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:53:23] local.INFO: Packet analysis {"connection_id":186249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:53:23] local.INFO: Extracted packet for processing {"connection_id":186249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:23] 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-09-18 15:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:53:23] 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-09-18 15:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:53:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:53:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":186249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:53:23] local.INFO: GPS data processed {"connection_id":186249,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:53:23] local.INFO: Acknowledgment sent {"connection_id":186249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:53:24] local.INFO: TCP Data received {"connection_id":186250,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:24] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:24] local.INFO: IMEI packet received {"connection_id":186250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":186250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:53:24] local.INFO: TCP Data received {"connection_id":186250,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:24] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:24] local.INFO: IMEI packet received {"connection_id":186250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":186250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:53:30] local.INFO: TCP Data received {"connection_id":186250,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:30] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:53:30] local.INFO: IMEI packet received {"connection_id":186250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":186250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:53:31] local.INFO: TCP Data received {"connection_id":186250,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4075ea8012d196880071febe00039010c27..."} 
[2026-09-18 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4075ea8012d196880071febe00039010c27..."} 
[2026-09-18 15:53:31] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4075ea8012d196880071febe00039010c27..."} 
[2026-09-18 15:53:31] local.INFO: Packet analysis {"connection_id":186250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:53:31] local.INFO: Extracted packet for processing {"connection_id":186250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170049536001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726777000,"timestamp_ms":1789726777000,"timestamp_seconds":1789726777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4075ea8"} 
[2026-09-18 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-09-18 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 15:53:31] 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-09-18 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-09-18 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-09-18 15:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170049536001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170049536001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:53:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170049536001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":186250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:53:31] local.INFO: GPS data processed {"connection_id":186250,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:53:31] local.INFO: Acknowledgment sent {"connection_id":186250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:53:54] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:53:54] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:53:54] local.INFO: Packet analysis {"connection_id":186249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:53:54] local.INFO: Extracted packet for processing {"connection_id":186249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:53:54] 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-09-18 15:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:53:54] 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-09-18 15:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:53:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:53:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":186249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:53:54] local.INFO: GPS data processed {"connection_id":186249,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:53:54] local.INFO: Acknowledgment sent {"connection_id":186249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:54:03] local.INFO: TCP Data received {"connection_id":186250,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b407b0b0012d196880071febe00039010c28..."} 
[2026-09-18 15:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b407b0b0012d196880071febe00039010c28..."} 
[2026-09-18 15:54:03] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b407b0b0012d196880071febe00039010c28..."} 
[2026-09-18 15:54:03] local.INFO: Packet analysis {"connection_id":186250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:54:03] local.INFO: Extracted packet for processing {"connection_id":186250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b407"} 
[2026-09-18 15:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170054912001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789726798000,"timestamp_ms":1789726798000,"timestamp_seconds":1789726798,"priority":1,"record_length":96,"hex_timestamp":"000001a0b407b0b0"} 
[2026-09-18 15:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:54: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-09-18 15:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170054912001,"66":12374,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170054912001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:54:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170054912001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":186250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:54:03] local.INFO: GPS data processed {"connection_id":186250,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:54:03] local.INFO: Acknowledgment sent {"connection_id":186250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:54:12] local.INFO: TCP Data received {"connection_id":187541,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:54:12] local.INFO: Processing buffer {"connection_id":187541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:54:12] local.INFO: IMEI packet received {"connection_id":187541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":187541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:54:17] local.INFO: TCP Data received {"connection_id":187541,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:54:17] local.INFO: Processing buffer {"connection_id":187541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:54:17] local.INFO: IMEI packet received {"connection_id":187541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":187541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:54:18] local.INFO: TCP Data received {"connection_id":187541,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:54:18] local.INFO: Processing buffer {"connection_id":187541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:54:18] local.INFO: Packet analysis {"connection_id":187541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:54:18] local.INFO: Extracted packet for processing {"connection_id":187541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:54:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:18] 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-09-18 15:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:54:18] 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-09-18 15:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:54:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:54:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":187541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:54:18] local.INFO: GPS data processed {"connection_id":187541,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:54:18] local.INFO: Acknowledgment sent {"connection_id":187541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:54:23] local.INFO: TCP Data received {"connection_id":188863,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:54:23] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:54:23] local.INFO: IMEI packet received {"connection_id":188863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":188863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:54:24] local.INFO: TCP Data received {"connection_id":188864,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:24] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:24] local.INFO: IMEI packet received {"connection_id":188864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":188864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:54:26] local.INFO: TCP Data received {"connection_id":188863,"ip":"117.225.252.178","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 15:54:26] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 15:54:26] local.INFO: IMEI packet received {"connection_id":188863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":188863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:54:27] local.INFO: TCP Data received {"connection_id":188864,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:27] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:27] local.INFO: IMEI packet received {"connection_id":188864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":188864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:54:30] local.INFO: TCP Data received {"connection_id":188864,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:30] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:54:30] local.INFO: IMEI packet received {"connection_id":188864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":188864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:54:31] local.INFO: TCP Data received {"connection_id":188863,"ip":"117.225.252.178","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:54:31] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 15:54:31] local.INFO: IMEI packet received {"connection_id":188863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":188863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:54:31] local.INFO: TCP Data received {"connection_id":188864,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40802b8012d196880071febe00039010c29..."} 
[2026-09-18 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40802b8012d196880071febe00039010c29..."} 
[2026-09-18 15:54:31] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40802b8012d196880071febe00039010c29..."} 
[2026-09-18 15:54:31] local.INFO: Packet analysis {"connection_id":188864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:54:31] local.INFO: Extracted packet for processing {"connection_id":188864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170060288001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789726819000,"timestamp_ms":1789726819000,"timestamp_seconds":1789726819,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40802b8"} 
[2026-09-18 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-09-18 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 15:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170060288001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170060288001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:54:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170060288001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":188864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:54:31] local.INFO: GPS data processed {"connection_id":188864,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:54:31] local.INFO: Acknowledgment sent {"connection_id":188864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:54:34] local.INFO: TCP Data received {"connection_id":188863,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40ae500012d79c4c005e65c78000400b126..."} 
[2026-09-18 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40ae500012d79c4c005e65c78000400b126..."} 
[2026-09-18 15:54:34] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0b4..."} 
[2026-09-18 15:54:34] local.INFO: IMEI packet received {"connection_id":188863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":188863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:54:38] local.INFO: TCP Data received {"connection_id":188863,"ip":"117.225.252.178","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40b0ff8012d79c84005e64160000200a327..."} 
[2026-09-18 15:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40b0ff8012d79c84005e64160000200a327..."} 
[2026-09-18 15:54:38] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b40ae500012d79c4c005e65c78000400b126..."} 
[2026-09-18 15:54:38] local.INFO: Packet analysis {"connection_id":188863,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b40a"} 
[2026-09-18 15:54:38] local.INFO: Extracted packet for processing {"connection_id":188863,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40a"} 
[2026-09-18 15:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762954944,"raw_latitude":98983032,"longitude_deg":76.2954944,"latitude_deg":9.8983032,"altitude":4,"angle":177,"satellites":38,"speed":17,"hex_longitude":"2d79c4c0","hex_latitude":"05e65c78","is_valid_coordinates":true} 
[2026-09-18 15:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170113536001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134728824813256704,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774349105596940288,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789727008000,"timestamp_ms":1789727008000,"timestamp_seconds":1789727008,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40ae500"} 
[2026-09-18 15:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:54: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-09-18 15:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-18 15:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170113536001,"66":13472,"127":206,"9":25088,"24":17,"16":134728824813256704,"45":8774349105596940288},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170113536001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:54:38] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:54:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134728824813256704,"km_value":134728824813256.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774349105596940288,"description":"Unknown IO ID 45"} 
[2026-09-18 15:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170113536001,"power":13472,"unknown_127":206,"unknown_9":25088,"ignition":17,"odometer":null,"unknown_45":8774349105596940288}} 
[2026-09-18 15:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":188863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:54:39] local.INFO: GPS data processed {"connection_id":188863,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:54:39] local.INFO: Acknowledgment sent {"connection_id":188863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:54:39] local.INFO: Packet analysis {"connection_id":188863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40b"} 
[2026-09-18 15:54:39] local.INFO: Extracted packet for processing {"connection_id":188863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40b"} 
[2026-09-18 15:54:39] local.INFO: GPS Element Parsed {"raw_longitude":762955840,"raw_latitude":98976096,"longitude_deg":76.295584,"latitude_deg":9.8976096,"altitude":2,"angle":163,"satellites":39,"speed":24,"hex_longitude":"2d79c840","hex_latitude":"05e64160","is_valid_coordinates":true} 
[2026-09-18 15:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170114048001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134729164115673088,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774349105596758016,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789727019000,"timestamp_ms":1789727019000,"timestamp_seconds":1789727019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40b0ff8"} 
[2026-09-18 15:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:54: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-09-18 15:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 15:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170114048001,"66":13580,"127":206,"9":25088,"24":24,"16":134729164115673088,"45":8774349105596758016},"client_ip":"117.225.252.178","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,45]} 
[2026-09-18 15:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170114048001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:54:39] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-18 15:54:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134729164115673088,"km_value":134729164115673.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774349105596758016,"description":"Unknown IO ID 45"} 
[2026-09-18 15:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170114048001,"power":13580,"unknown_127":206,"unknown_9":25088,"ignition":24,"odometer":null,"unknown_45":8774349105596758016}} 
[2026-09-18 15:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":188863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:54:39] local.INFO: GPS data processed {"connection_id":188863,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:54:39] local.INFO: Acknowledgment sent {"connection_id":188863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:54:49] local.INFO: TCP Data received {"connection_id":187541,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:54:49] local.INFO: Processing buffer {"connection_id":187541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:54:49] local.INFO: Packet analysis {"connection_id":187541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:54:49] local.INFO: Extracted packet for processing {"connection_id":187541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:54:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:54:49] 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-09-18 15:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:54:49] 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-09-18 15:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:54:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:54:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":187541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:54:49] local.INFO: GPS data processed {"connection_id":187541,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:54:49] local.INFO: Acknowledgment sent {"connection_id":187541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:55:02] local.INFO: TCP Data received {"connection_id":188864,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40854c0012d196880071febe00039010c28..."} 
[2026-09-18 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40854c0012d196880071febe00039010c28..."} 
[2026-09-18 15:55:02] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40854c0012d196880071febe00039010c28..."} 
[2026-09-18 15:55:02] local.INFO: Packet analysis {"connection_id":188864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:02] local.INFO: Extracted packet for processing {"connection_id":188864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170065664001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789726840000,"timestamp_ms":1789726840000,"timestamp_seconds":1789726840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40854c0"} 
[2026-09-18 15:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170065664001,"66":12298,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170065664001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:55:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170065664001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":188864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:55:03] local.INFO: GPS data processed {"connection_id":188864,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:55:03] local.INFO: Acknowledgment sent {"connection_id":188864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:55:12] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:55:12] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:55:12] local.INFO: IMEI packet received {"connection_id":186251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:55:17] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:55:17] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:55:17] local.INFO: IMEI packet received {"connection_id":186251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":186251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:55:18] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:55:18] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:55:18] local.INFO: Packet analysis {"connection_id":186251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:18] local.INFO: Extracted packet for processing {"connection_id":186251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:18] 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-09-18 15:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:55:18] 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-09-18 15:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:55:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:55:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":186251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:55:18] local.INFO: GPS data processed {"connection_id":186251,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:55:18] local.INFO: Acknowledgment sent {"connection_id":186251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:55:24] local.INFO: TCP Data received {"connection_id":186253,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:55:24] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:55:24] local.INFO: IMEI packet received {"connection_id":186253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":186253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:55:30] local.INFO: TCP Data received {"connection_id":186253,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:55:30] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:55:30] local.INFO: IMEI packet received {"connection_id":186253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":186253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:55:32] local.INFO: TCP Data received {"connection_id":186253,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408a6c8012d196880071febe00039010c27..."} 
[2026-09-18 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408a6c8012d196880071febe00039010c27..."} 
[2026-09-18 15:55:32] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408a6c8012d196880071febe00039010c27..."} 
[2026-09-18 15:55:32] local.INFO: Packet analysis {"connection_id":186253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:32] local.INFO: Extracted packet for processing {"connection_id":186253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170071040001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789726861000,"timestamp_ms":1789726861000,"timestamp_seconds":1789726861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408a6c8"} 
[2026-09-18 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-09-18 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452363,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":244,"raw_value":5908722711110090753,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5474663523631163032,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513388229852463372,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":57,"raw_value":75478174711939072,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3957325881,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4099014656,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,244,160,2,45,128,235,57,41,10,66,176,40,94,1,240,140,180,31,4,113,205,186,104,224,36,239,48,75,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 15:55:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577701076828160,"timestamp_seconds":4107577701076828.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 15:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170071040001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170071040001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170071040001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":186253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:55:32] local.INFO: GPS data processed {"connection_id":186253,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:55:32] local.INFO: Acknowledgment sent {"connection_id":186253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:55:49] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:55:49] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:55:49] local.INFO: Packet analysis {"connection_id":186251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:49] local.INFO: Extracted packet for processing {"connection_id":186251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:55:49] 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-09-18 15:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:55:49] 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-09-18 15:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:55:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:55:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":186251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:55:49] local.INFO: GPS data processed {"connection_id":186251,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:55:49] local.INFO: Acknowledgment sent {"connection_id":186251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:04] local.INFO: TCP Data received {"connection_id":186253,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408f8d0012d196880071febe00039010c27..."} 
[2026-09-18 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408f8d0012d196880071febe00039010c27..."} 
[2026-09-18 15:56:04] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408f8d0012d196880071febe00039010c27..."} 
[2026-09-18 15:56:04] local.INFO: Packet analysis {"connection_id":186253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:56:04] local.INFO: Extracted packet for processing {"connection_id":186253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170076416001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789726882000,"timestamp_ms":1789726882000,"timestamp_seconds":1789726882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408f8d0"} 
[2026-09-18 15:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:56: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-09-18 15: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-09-18 15:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170076416001,"66":12374,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170076416001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170076416001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":186253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:04] local.INFO: GPS data processed {"connection_id":186253,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:04] local.INFO: Acknowledgment sent {"connection_id":186253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:12] local.INFO: TCP Data received {"connection_id":187543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:56:12] local.INFO: Processing buffer {"connection_id":187543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:56:12] local.INFO: IMEI packet received {"connection_id":187543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":187543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:56:17] local.INFO: TCP Data received {"connection_id":187543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:56:17] local.INFO: Processing buffer {"connection_id":187543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:56:17] local.INFO: IMEI packet received {"connection_id":187543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":187543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:56:17] local.INFO: TCP Data received {"connection_id":187543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:56:17] local.INFO: Processing buffer {"connection_id":187543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:56:17] local.INFO: Packet analysis {"connection_id":187543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:56:17] local.INFO: Extracted packet for processing {"connection_id":187543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:17] 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-09-18 15:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:56:17] 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-09-18 15:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:56:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":187543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:18] local.INFO: GPS data processed {"connection_id":187543,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:18] local.INFO: Acknowledgment sent {"connection_id":187543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:30] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:56:30] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:56:30] local.INFO: IMEI packet received {"connection_id":186111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":186111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:56:33] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:56:33] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:56:33] local.INFO: IMEI packet received {"connection_id":186111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":186111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:56:34] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40c7f28012d196880071febe00039010c28..."} 
[2026-09-18 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40c7f28012d196880071febe00039010c28..."} 
[2026-09-18 15:56:34] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40c7f28012d196880071febe00039010c28..."} 
[2026-09-18 15:56:34] local.INFO: Packet analysis {"connection_id":186111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40c"} 
[2026-09-18 15:56:34] local.INFO: Extracted packet for processing {"connection_id":186111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40c"} 
[2026-09-18 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170135552001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789727113000,"timestamp_ms":1789727113000,"timestamp_seconds":1789727113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40c7f28"} 
[2026-09-18 15:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170135552001,"66":12439,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170135552001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170135552001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":186111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:34] local.INFO: GPS data processed {"connection_id":186111,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:34] local.INFO: Acknowledgment sent {"connection_id":186111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:35] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40cd130012d196880071febe00039010c28..."} 
[2026-09-18 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40cd130012d196880071febe00039010c28..."} 
[2026-09-18 15:56:35] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40cd130012d196880071febe00039010c28..."} 
[2026-09-18 15:56:35] local.INFO: Packet analysis {"connection_id":186111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40c"} 
[2026-09-18 15:56:35] local.INFO: Extracted packet for processing {"connection_id":186111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40c"} 
[2026-09-18 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170140928001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789727134000,"timestamp_ms":1789727134000,"timestamp_seconds":1789727134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40cd130"} 
[2026-09-18 15:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-18 15:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170140928001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170140928001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170140928001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":186111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:35] local.INFO: GPS data processed {"connection_id":186111,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:35] local.INFO: Acknowledgment sent {"connection_id":186111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:49] local.INFO: TCP Data received {"connection_id":187543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:56:49] local.INFO: Processing buffer {"connection_id":187543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b408e160012d569dc0067b65a00024002a2a..."} 
[2026-09-18 15:56:49] local.INFO: Packet analysis {"connection_id":187543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:56:49] local.INFO: Extracted packet for processing {"connection_id":187543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b408"} 
[2026-09-18 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170003200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:49] 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-09-18 15:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789726876000,"timestamp_ms":1789726876000,"timestamp_seconds":1789726876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b408e160"} 
[2026-09-18 15:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 15:56:49] 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-09-18 15:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170003200001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170003200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170003200001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":187543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:49] local.INFO: GPS data processed {"connection_id":187543,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:49] local.INFO: Acknowledgment sent {"connection_id":187543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:51] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:56:51] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:56:51] local.INFO: IMEI packet received {"connection_id":188865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":188865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:56:54] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:56:54] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:56:54] local.INFO: IMEI packet received {"connection_id":188865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":188865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:56:55] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d0010012d79fc8005e4fa080008009e29..."} 
[2026-09-18 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d0010012d79fc8005e4fa080008009e29..."} 
[2026-09-18 15:56:55] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d0010012d79fc8005e4fa080008009e29..."} 
[2026-09-18 15:56:55] local.INFO: Packet analysis {"connection_id":188865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:56:55] local.INFO: Extracted packet for processing {"connection_id":188865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762969216,"raw_latitude":98892296,"longitude_deg":76.2969216,"latitude_deg":9.8892296,"altitude":8,"angle":158,"satellites":41,"speed":19,"hex_longitude":"2d79fc80","hex_latitude":"05e4fa08","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170147072001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134733321644015616,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788422854410579968,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789727146000,"timestamp_ms":1789727146000,"timestamp_seconds":1789727146,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d0010"} 
[2026-09-18 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-09-18 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170147072001,"66":13319,"179":206,"9":25088,"24":19,"16":134733321644015616,"45":8788422854410579968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,9,24,16,45]} 
[2026-09-18 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170147072001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:55] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-18 15:56:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134733321644015616,"km_value":134733321644015.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788422854410579968,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170147072001,"power":13319,"unknown_179":206,"unknown_9":25088,"ignition":19,"odometer":null,"unknown_45":8788422854410579968}} 
[2026-09-18 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":188865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:55] local.INFO: GPS data processed {"connection_id":188865,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:55] local.INFO: Acknowledgment sent {"connection_id":188865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:56:56] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d0bc8012d79fdc005e4f6d00008009129..."} 
[2026-09-18 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d0bc8012d79fdc005e4f6d00008009129..."} 
[2026-09-18 15:56:56] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d0bc8012d79fdc005e4f6d00008009129..."} 
[2026-09-18 15:56:56] local.INFO: Packet analysis {"connection_id":188865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:56:56] local.INFO: Extracted packet for processing {"connection_id":188865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:56:56] local.INFO: GPS Element Parsed {"raw_longitude":762969536,"raw_latitude":98891472,"longitude_deg":76.2969536,"latitude_deg":9.8891472,"altitude":8,"angle":145,"satellites":41,"speed":7,"hex_longitude":"2d79fdc0","hex_latitude":"05e4f6d0","is_valid_coordinates":true} 
[2026-09-18 15:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170149376001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134733364593688576,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790041335525148672,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789727149000,"timestamp_ms":1789727149000,"timestamp_seconds":1789727149,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d0bc8"} 
[2026-09-18 15:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:56: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-09-18 15:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3020687864,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-4026218028201925120,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2115371214,"corrected_to":0} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2147870112,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2840788992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3853875200,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57841003193567586,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-1814949355000725499,"note":"Value kept but may cause issues"} 
[2026-09-18 15:56:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,179,9,24,241,16,171,160,220,45,192,17,8,41,10,66,22,170,166,53,158,119,1,240,56,180,229,4,113,205,36,33,216,39,239,52,2,222,5,30,29,11],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2115371214,"validated":0}]} 
[2026-09-18 15:56:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576634651235516416,"timestamp_seconds":576634651235516.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 15:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170149376001,"66":13450,"179":206,"9":25088,"24":7,"16":134733364593688576,"45":8790041335525148672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,9,24,16,45]} 
[2026-09-18 15:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170149376001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:56:56] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-18 15:56:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 15:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134733364593688576,"km_value":134733364593688.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790041335525148672,"description":"Unknown IO ID 45"} 
[2026-09-18 15:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170149376001,"power":13450,"unknown_179":206,"unknown_9":25088,"ignition":7,"odometer":null,"unknown_45":8790041335525148672}} 
[2026-09-18 15:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":188865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:56:56] local.INFO: GPS data processed {"connection_id":188865,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:56:56] local.INFO: Acknowledgment sent {"connection_id":188865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:07] local.INFO: TCP Data received {"connection_id":186111,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d2338012d196880071febe00039010c27..."} 
[2026-09-18 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d2338012d196880071febe00039010c27..."} 
[2026-09-18 15:57:07] local.INFO: Processing buffer {"connection_id":186111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d2338012d196880071febe00039010c27..."} 
[2026-09-18 15:57:07] local.INFO: Packet analysis {"connection_id":186111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:07] local.INFO: Extracted packet for processing {"connection_id":186111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170146304001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789727155000,"timestamp_ms":1789727155000,"timestamp_seconds":1789727155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d2338"} 
[2026-09-18 15:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170146304001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170146304001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170146304001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":186111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:07] local.INFO: GPS data processed {"connection_id":186111,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:07] local.INFO: Acknowledgment sent {"connection_id":186111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:10] local.INFO: TCP Data received {"connection_id":188861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:57:10] local.INFO: Processing buffer {"connection_id":188861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 15:57:10] local.INFO: IMEI packet received {"connection_id":188861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":188861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:57:12] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:57:12] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:57:12] local.INFO: IMEI packet received {"connection_id":186112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":186112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:57:17] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:57:17] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:57:17] local.INFO: IMEI packet received {"connection_id":186112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":186112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:57:18] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:57:18] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:57:18] local.INFO: Packet analysis {"connection_id":186112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:18] local.INFO: Extracted packet for processing {"connection_id":186112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:18] 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-09-18 15:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 15:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:57:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":186112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:18] local.INFO: GPS data processed {"connection_id":186112,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:18] local.INFO: Acknowledgment sent {"connection_id":186112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:25] local.INFO: TCP Data received {"connection_id":186255,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:57:25] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:57:25] local.INFO: IMEI packet received {"connection_id":186255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":186255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:57:30] local.INFO: TCP Data received {"connection_id":186255,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:57:30] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:57:30] local.INFO: IMEI packet received {"connection_id":186255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":186255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:57:31] local.INFO: TCP Data received {"connection_id":186255,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7540012d196880071febe00039010c2a..."} 
[2026-09-18 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7540012d196880071febe00039010c2a..."} 
[2026-09-18 15:57:31] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7540012d196880071febe00039010c2a..."} 
[2026-09-18 15:57:31] local.INFO: Packet analysis {"connection_id":186255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:31] local.INFO: Extracted packet for processing {"connection_id":186255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 15:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170151680001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727176000,"timestamp_ms":1789727176000,"timestamp_seconds":1789727176,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7540"} 
[2026-09-18 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-09-18 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 15:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170151680001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170151680001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170151680001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":186255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:31] local.INFO: GPS data processed {"connection_id":186255,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:31] local.INFO: Acknowledgment sent {"connection_id":186255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:36] local.INFO: TCP Data received {"connection_id":186255,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40dc748012d196880071febe00039010c28..."} 
[2026-09-18 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40dc748012d196880071febe00039010c28..."} 
[2026-09-18 15:57:36] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40dc748012d196880071febe00039010c28..."} 
[2026-09-18 15:57:36] local.INFO: Packet analysis {"connection_id":186255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:36] local.INFO: Extracted packet for processing {"connection_id":186255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157056001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789727197000,"timestamp_ms":1789727197000,"timestamp_seconds":1789727197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40dc748"} 
[2026-09-18 15:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157056001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157056001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157056001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":186255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:36] local.INFO: GPS data processed {"connection_id":186255,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:36] local.INFO: Acknowledgment sent {"connection_id":186255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:50] local.INFO: TCP Data received {"connection_id":186112,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:57:50] local.INFO: Processing buffer {"connection_id":186112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:57:50] local.INFO: Packet analysis {"connection_id":186112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:50] local.INFO: Extracted packet for processing {"connection_id":186112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:50] 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-09-18 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 15:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":186112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:50] local.INFO: GPS data processed {"connection_id":186112,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:50] local.INFO: Acknowledgment sent {"connection_id":186112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:51] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:51] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:51] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:57:52] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:52] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:52] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:57:55] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:55] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:55] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:57:56] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:56] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:57:56] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:57:57] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40e34a8012d7a620005e468e0001300cc23..."} 
[2026-09-18 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40e34a8012d7a620005e468e0001300cc23..."} 
[2026-09-18 15:57:57] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40e34a8012d7a620005e468e0001300cc23..."} 
[2026-09-18 15:57:57] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:57:57] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:57:57] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":98855136,"longitude_deg":76.29952,"latitude_deg":9.8855136,"altitude":19,"angle":204,"satellites":35,"speed":10,"hex_longitude":"2d7a6200","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170169344001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134735542142107648,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822151884353536,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789727225000,"timestamp_ms":1789727225000,"timestamp_seconds":1789727225,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40e34a8"} 
[2026-09-18 15:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:57: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-09-18 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:57] 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-09-18 15: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-09-18 15:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170169344001,"66":12906,"95":206,"87":13824,"24":10,"16":134735542142107648,"45":8818822151884353536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-18 15:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170169344001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 15:57:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134735542142107648,"km_value":134735542142107.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822151884353536,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170169344001,"power":12906,"unknown_95":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8818822151884353536}} 
[2026-09-18 15:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:57] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:57] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:57:58] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40e3890012d7a614005e46838001200eb23..."} 
[2026-09-18 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40e3890012d7a614005e46838001200eb23..."} 
[2026-09-18 15:57:58] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40e3890012d7a614005e46838001200eb23..."} 
[2026-09-18 15:57:58] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:57:58] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":762995008,"raw_latitude":98854968,"longitude_deg":76.2995008,"latitude_deg":9.8854968,"altitude":18,"angle":235,"satellites":35,"speed":10,"hex_longitude":"2d7a6140","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-09-18 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170169600001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134735555027009536,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045651767296,"note":"Value kept but may cause issues"} 
[2026-09-18 15:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789727226000,"timestamp_ms":1789727226000,"timestamp_seconds":1789727226,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40e3890"} 
[2026-09-18 15:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:57: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-09-18 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-18 15:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170169600001,"66":13091,"95":206,"87":13824,"24":10,"16":134735555027009536,"45":8818611045651767296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-18 15:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170169600001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:57:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 15:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 15:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134735555027009536,"km_value":134735555027009.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045651767296,"description":"Unknown IO ID 45"} 
[2026-09-18 15:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170169600001,"power":13091,"unknown_95":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8818611045651767296}} 
[2026-09-18 15:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:57:58] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:57:58] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:07] local.INFO: TCP Data received {"connection_id":186255,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40e1950012d196880071febe00039010c29..."} 
[2026-09-18 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40e1950012d196880071febe00039010c29..."} 
[2026-09-18 15:58:07] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40e1950012d196880071febe00039010c29..."} 
[2026-09-18 15:58:07] local.INFO: Packet analysis {"connection_id":186255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:07] local.INFO: Extracted packet for processing {"connection_id":186255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170162432001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789727218000,"timestamp_ms":1789727218000,"timestamp_seconds":1789727218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40e1950"} 
[2026-09-18 15:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170162432001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170162432001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170162432001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":186255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:07] local.INFO: GPS data processed {"connection_id":186255,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:07] local.INFO: Acknowledgment sent {"connection_id":186255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:17] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:17] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:17] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:58:18] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:18] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:18] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:58:18] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:18] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:18] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:58:20] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:20] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:58:20] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:58:21] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:58:21] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:58:21] local.INFO: IMEI packet received {"connection_id":186257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":186257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:58:21] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40ec148012d0acec00704f4600024004916..."} 
[2026-09-18 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40ec148012d0acec00704f4600024004916..."} 
[2026-09-18 15:58:21] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40ec148012d0acec00704f4600024004916..."} 
[2026-09-18 15:58:21] local.INFO: Packet analysis {"connection_id":188866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:21] local.INFO: Extracted packet for processing {"connection_id":188866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755683008,"raw_latitude":117765216,"longitude_deg":75.5683008,"latitude_deg":11.7765216,"altitude":36,"angle":73,"satellites":22,"speed":42,"hex_longitude":"2d0acec0","hex_latitude":"0704f460","is_valid_coordinates":true} 
[2026-09-18 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170178048001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33097133947092992,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":775393222241404928,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789727261000,"timestamp_ms":1789727261000,"timestamp_seconds":1789727261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40ec148"} 
[2026-09-18 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170178048001,"66":14439,"177":206,"94":10240,"24":42,"16":33097133947092992,"45":775393222241404928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-18 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170178048001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-18 15:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33097133947092992,"km_value":33097133947092.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":775393222241404928,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170178048001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":775393222241404928}} 
[2026-09-18 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":188866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:21] local.INFO: GPS data processed {"connection_id":188866,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:21] local.INFO: Acknowledgment sent {"connection_id":188866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:23] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40ee858012d0aee800704fa600021005616..."} 
[2026-09-18 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40ee858012d0aee800704fa600021005616..."} 
[2026-09-18 15:58:23] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40ee858012d0aee800704fa600021005616..."} 
[2026-09-18 15:58:23] local.INFO: Packet analysis {"connection_id":188866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:23] local.INFO: Extracted packet for processing {"connection_id":188866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:23] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117766752,"longitude_deg":75.5691136,"latitude_deg":11.7766752,"altitude":33,"angle":86,"satellites":22,"speed":15,"hex_longitude":"2d0aee80","hex_latitude":"0704fa60","is_valid_coordinates":true} 
[2026-09-18 15:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170178816001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33097529084084224,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778770921962102784,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789727271000,"timestamp_ms":1789727271000,"timestamp_seconds":1789727271,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40ee858"} 
[2026-09-18 15:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170178816001,"66":14559,"177":206,"94":10240,"24":15,"16":33097529084084224,"45":778770921962102784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-18 15:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170178816001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-18 15:58:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33097529084084224,"km_value":33097529084084.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":778770921962102784,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170178816001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":778770921962102784}} 
[2026-09-18 15:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":188866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:23] local.INFO: GPS data processed {"connection_id":188866,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:23] local.INFO: Acknowledgment sent {"connection_id":188866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:26] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:58:26] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:58:26] local.INFO: IMEI packet received {"connection_id":186257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":186257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:58:26] local.INFO: TCP Data received {"connection_id":187545,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:58:26] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:58:26] local.INFO: IMEI packet received {"connection_id":187545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":187545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:58:27] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40ef7f8012d7a3bc005e44350000500b326..."} 
[2026-09-18 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40ef7f8012d7a3bc005e44350000500b326..."} 
[2026-09-18 15:58:27] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40ef7f8012d7a3bc005e44350000500b326..."} 
[2026-09-18 15:58:27] local.INFO: Packet analysis {"connection_id":186257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:27] local.INFO: Extracted packet for processing {"connection_id":186257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":98845520,"longitude_deg":76.2985408,"latitude_deg":9.884552,"altitude":5,"angle":179,"satellites":38,"speed":8,"hex_longitude":"2d7a3bc0","hex_latitude":"05e44350","is_valid_coordinates":true} 
[2026-09-18 15:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170182144001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134736478444978176,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807844627790178304,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789727275000,"timestamp_ms":1789727275000,"timestamp_seconds":1789727275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40ef7f8"} 
[2026-09-18 15:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170182144001,"66":13678,"102":206,"87":12288,"24":8,"16":134736478444978176,"45":8807844627790178304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 15:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170182144001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 15:58:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 15:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134736478444978176,"km_value":134736478444978.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807844627790178304,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170182144001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8807844627790178304}} 
[2026-09-18 15:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":186257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:27] local.INFO: GPS data processed {"connection_id":186257,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:27] local.INFO: Acknowledgment sent {"connection_id":186257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:32] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:58:32] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:58:32] local.INFO: IMEI packet received {"connection_id":188867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":188867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:58:32] local.INFO: TCP Data received {"connection_id":187545,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:58:32] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:58:32] local.INFO: IMEI packet received {"connection_id":187545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":187545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:58:34] local.INFO: TCP Data received {"connection_id":187545,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40e6b58012d196880071febe00039010c2a..."} 
[2026-09-18 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40e6b58012d196880071febe00039010c2a..."} 
[2026-09-18 15:58:34] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40e6b58012d196880071febe00039010c2a..."} 
[2026-09-18 15:58:34] local.INFO: Packet analysis {"connection_id":187545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:34] local.INFO: Extracted packet for processing {"connection_id":187545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170167808001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789727239000,"timestamp_ms":1789727239000,"timestamp_seconds":1789727239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40e6b58"} 
[2026-09-18 15:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170167808001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170167808001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:58:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170167808001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":187545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:34] local.INFO: GPS data processed {"connection_id":187545,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:34] local.INFO: Acknowledgment sent {"connection_id":187545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:35] local.INFO: TCP Data received {"connection_id":187545,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40ebd60012d196880071febe00039010c28..."} 
[2026-09-18 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40ebd60012d196880071febe00039010c28..."} 
[2026-09-18 15:58:35] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40ebd60012d196880071febe00039010c28..."} 
[2026-09-18 15:58:35] local.INFO: Packet analysis {"connection_id":187545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:35] local.INFO: Extracted packet for processing {"connection_id":187545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40e"} 
[2026-09-18 15:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170173184001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789727260000,"timestamp_ms":1789727260000,"timestamp_seconds":1789727260,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40ebd60"} 
[2026-09-18 15:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170173184001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170173184001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170173184001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":187545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:35] local.INFO: GPS data processed {"connection_id":187545,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:35] local.INFO: Acknowledgment sent {"connection_id":187545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:37] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:58:37] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:58:37] local.INFO: IMEI packet received {"connection_id":188867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":188867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:58:38] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:58:38] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:58:38] local.INFO: Packet analysis {"connection_id":188867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:58:38] local.INFO: Extracted packet for processing {"connection_id":188867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:38] 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-09-18 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:38] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:58:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":188867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:38] local.INFO: GPS data processed {"connection_id":188867,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:38] local.INFO: Acknowledgment sent {"connection_id":188867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:54] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40fb378012d0b61000704e308002000ae16..."} 
[2026-09-18 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40fb378012d0b61000704e308002000ae16..."} 
[2026-09-18 15:58:54] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40fb378012d0b61000704e308002000ae16..."} 
[2026-09-18 15:58:54] local.INFO: Packet analysis {"connection_id":188866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:58:54] local.INFO: Extracted packet for processing {"connection_id":188866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755720448,"raw_latitude":117760776,"longitude_deg":75.5720448,"latitude_deg":11.7760776,"altitude":32,"angle":174,"satellites":22,"speed":33,"hex_longitude":"2d0b6100","hex_latitude":"0704e308","is_valid_coordinates":true} 
[2026-09-18 15:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170194176001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33099075272310784,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819795899816966144,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789727323000,"timestamp_ms":1789727323000,"timestamp_seconds":1789727323,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40fb378"} 
[2026-09-18 15:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 15:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188866,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 15:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 15:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 15:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170194176001,"66":13852,"96":206,"94":10240,"24":33,"16":33099075272310784,"45":819795899816966144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-18 15:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 15:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 15:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170194176001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 15:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 15:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33099075272310784,"km_value":33099075272310.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":819795899816966144,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170194176001,"power":13852,"unknown_96":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":819795899816966144}} 
[2026-09-18 15:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":188866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:54] local.INFO: GPS data processed {"connection_id":188866,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:54] local.INFO: Acknowledgment sent {"connection_id":188866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:58:59] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40fb378012d7a440005e431d80002014d27..."} 
[2026-09-18 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40fb378012d7a440005e431d80002014d27..."} 
[2026-09-18 15:58:59] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40fb378012d7a440005e431d80002014d27..."} 
[2026-09-18 15:58:59] local.INFO: Packet analysis {"connection_id":186257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:58:59] local.INFO: Extracted packet for processing {"connection_id":186257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:58:59] local.INFO: GPS Element Parsed {"raw_longitude":762987520,"raw_latitude":98841048,"longitude_deg":76.298752,"latitude_deg":9.8841048,"altitude":2,"angle":333,"satellites":39,"speed":4,"hex_longitude":"2d7a4400","hex_latitude":"05e431d8","is_valid_coordinates":true} 
[2026-09-18 15:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170192640001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134736787682623488,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810237165090992128,"note":"Value kept but may cause issues"} 
[2026-09-18 15:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789727323000,"timestamp_ms":1789727323000,"timestamp_seconds":1789727323,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40fb378"} 
[2026-09-18 15:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:58: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-09-18 15:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 15:58: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-09-18 15:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170192640001,"66":13678,"102":206,"87":12288,"24":4,"16":134736787682623488,"45":8810237165090992128},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 15:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170192640001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 15:58:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 15:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134736787682623488,"km_value":134736787682623.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810237165090992128,"description":"Unknown IO ID 45"} 
[2026-09-18 15:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170192640001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8810237165090992128}} 
[2026-09-18 15:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":186257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:58:59] local.INFO: GPS data processed {"connection_id":186257,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:58:59] local.INFO: Acknowledgment sent {"connection_id":186257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:59:07] local.INFO: TCP Data received {"connection_id":187545,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40f0f68012d196880071febe00039010c25..."} 
[2026-09-18 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40f0f68012d196880071febe00039010c25..."} 
[2026-09-18 15:59:07] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40f0f68012d196880071febe00039010c25..."} 
[2026-09-18 15:59:07] local.INFO: Packet analysis {"connection_id":187545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:07] local.INFO: Extracted packet for processing {"connection_id":187545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170178560001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789727281000,"timestamp_ms":1789727281000,"timestamp_seconds":1789727281,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40f0f68"} 
[2026-09-18 15:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 15:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170178560001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170178560001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170178560001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":187545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:59:07] local.INFO: GPS data processed {"connection_id":187545,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:59:07] local.INFO: Acknowledgment sent {"connection_id":187545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:59:08] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:08] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:08] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:59:09] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:09] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:09] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:59:10] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:10] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:10] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:59:11] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:11] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 15:59:11] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 15:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:59:12] local.INFO: TCP Data received {"connection_id":186114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:59:12] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:59:12] local.INFO: IMEI packet received {"connection_id":186114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 15:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":186114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:59:16] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:59:16] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:59:16] local.INFO: IMEI packet received {"connection_id":186258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 15:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":186258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:59:17] local.INFO: TCP Data received {"connection_id":186114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:59:17] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 15:59:17] local.INFO: IMEI packet received {"connection_id":186114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 15:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":186114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:59:18] local.INFO: TCP Data received {"connection_id":186114,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:59:18] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:59:18] local.INFO: Packet analysis {"connection_id":186114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:59:18] local.INFO: Extracted packet for processing {"connection_id":186114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:59:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:18] 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-09-18 15:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 15:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 15:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:59:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:59:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":186114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:59:18] local.INFO: GPS data processed {"connection_id":186114,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:59:18] local.INFO: Acknowledgment sent {"connection_id":186114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:59:22] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:59:22] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 15:59:22] local.INFO: IMEI packet received {"connection_id":186258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 15:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":186258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:59:24] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40fbb48012d7a43c005e433400002015825..."} 
[2026-09-18 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40fbb48012d7a43c005e433400002015825..."} 
[2026-09-18 15:59:24] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40fbb48012d7a43c005e433400002015825..."} 
[2026-09-18 15:59:24] local.INFO: Packet analysis {"connection_id":186258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:24] local.INFO: Extracted packet for processing {"connection_id":186258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:24] local.INFO: GPS Element Parsed {"raw_longitude":762987456,"raw_latitude":98841408,"longitude_deg":76.2987456,"latitude_deg":9.8841408,"altitude":2,"angle":344,"satellites":37,"speed":8,"hex_longitude":"2d7a43c0","hex_latitude":"05e43340","is_valid_coordinates":true} 
[2026-09-18 15:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170194688001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134736804862492672,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810166796346841088,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789727325000,"timestamp_ms":1789727325000,"timestamp_seconds":1789727325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40fbb48"} 
[2026-09-18 15:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 15:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170194688001,"66":13678,"102":206,"87":12288,"24":8,"16":134736804862492672,"45":8810166796346841088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 15:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170194688001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 15:59:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 15:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134736804862492672,"km_value":134736804862492.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810166796346841088,"description":"Unknown IO ID 45"} 
[2026-09-18 15:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170194688001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8810166796346841088}} 
[2026-09-18 15:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":186258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:59:24] local.INFO: GPS data processed {"connection_id":186258,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:59:24] local.INFO: Acknowledgment sent {"connection_id":186258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:59:25] local.INFO: TCP Data received {"connection_id":186115,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:59:25] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:59:25] local.INFO: IMEI packet received {"connection_id":186115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 15:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":186115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 15:59:30] local.INFO: TCP Data received {"connection_id":186115,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:59:30] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 15:59:30] local.INFO: IMEI packet received {"connection_id":186115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":186115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 15:59:31] local.INFO: TCP Data received {"connection_id":186115,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40f6170012d196880071febe00039010c28..."} 
[2026-09-18 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40f6170012d196880071febe00039010c28..."} 
[2026-09-18 15:59:31] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40f6170012d196880071febe00039010c28..."} 
[2026-09-18 15:59:31] local.INFO: Packet analysis {"connection_id":186115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:31] local.INFO: Extracted packet for processing {"connection_id":186115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170183936001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727302000,"timestamp_ms":1789727302000,"timestamp_seconds":1789727302,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40f6170"} 
[2026-09-18 15:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 15: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":97,"data_length":795,"current_offset":136} 
[2026-09-18 15:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 15:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 15:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 15:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 15:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170183936001,"66":12341,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 15:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 15:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 15:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170183936001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:59:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 15:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 15:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 15:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170183936001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 15:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":186115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:59:31] local.INFO: GPS data processed {"connection_id":186115,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:59:31] local.INFO: Acknowledgment sent {"connection_id":186115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:59:49] local.INFO: TCP Data received {"connection_id":186114,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:59:49] local.INFO: Processing buffer {"connection_id":186114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 15:59:49] local.INFO: Packet analysis {"connection_id":186114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:59:49] local.INFO: Extracted packet for processing {"connection_id":186114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 15:59:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 15:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 15:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:49] 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-09-18 15:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 15:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 15:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 15:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 15:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 15:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 15:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 15:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 15:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 15:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 15:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 15:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 15:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:59:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 15:59:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 15:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 15:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 15:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":186114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:59:49] local.INFO: GPS data processed {"connection_id":186114,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:59:49] local.INFO: Acknowledgment sent {"connection_id":186114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 15:59:55] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40fced0012d7a418005e437f00000014925..."} 
[2026-09-18 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40fced0012d7a418005e437f00000014925..."} 
[2026-09-18 15:59:55] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40fced0012d7a418005e437f00000014925..."} 
[2026-09-18 15:59:55] local.INFO: Packet analysis {"connection_id":186258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:55] local.INFO: Extracted packet for processing {"connection_id":186258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762986880,"raw_latitude":98842608,"longitude_deg":76.298688,"latitude_deg":9.8842608,"altitude":0,"angle":329,"satellites":37,"speed":9,"hex_longitude":"2d7a4180","hex_latitude":"05e437f0","is_valid_coordinates":true} 
[2026-09-18 15: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-09-18 15:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170195200001,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134736869287002112,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810096427602755584,"note":"Value kept but may cause issues"} 
[2026-09-18 15:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 15:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789727330000,"timestamp_ms":1789727330000,"timestamp_seconds":1789727330,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40fced0"} 
[2026-09-18 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-09-18 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 15:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 15: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-09-18 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-09-18 15:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 15:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 15:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 15:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 15:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 15:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 15:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170195200001,"66":13624,"102":206,"87":12288,"24":9,"16":134736869287002112,"45":8810096427602755584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-18 15:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 15:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 15:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170195200001,"description":"Unknown IO ID 0"} 
[2026-09-18 15:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 15:59:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 15:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134736869287002112,"km_value":134736869287002.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 15:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810096427602755584,"description":"Unknown IO ID 45"} 
[2026-09-18 15:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170195200001,"power":13624,"unknown_102":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8810096427602755584}} 
[2026-09-18 15:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":186258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 15:59:55] local.INFO: GPS data processed {"connection_id":186258,"processed":1,"errors":0,"total":1} 
[2026-09-18 15:59:55] local.INFO: Acknowledgment sent {"connection_id":186258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:00:03] local.INFO: TCP Data received {"connection_id":186115,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40fb378012d196880071febe00039010c27..."} 
[2026-09-18 16:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40fb378012d196880071febe00039010c27..."} 
[2026-09-18 16:00:03] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40fb378012d196880071febe00039010c27..."} 
[2026-09-18 16:00:03] local.INFO: Packet analysis {"connection_id":186115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 16:00:03] local.INFO: Extracted packet for processing {"connection_id":186115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40f"} 
[2026-09-18 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170189312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789727323000,"timestamp_ms":1789727323000,"timestamp_seconds":1789727323,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40fb378"} 
[2026-09-18 16:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 16:00: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-09-18 16:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170189312001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170189312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170189312001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":186115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:00:03] local.INFO: GPS data processed {"connection_id":186115,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:00:03] local.INFO: Acknowledgment sent {"connection_id":186115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:00:12] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:00:12] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:00:12] local.INFO: IMEI packet received {"connection_id":186260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":186260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:00:17] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:00:17] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:00:17] local.INFO: IMEI packet received {"connection_id":186260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":186260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:00:19] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:00:19] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:00:19] local.INFO: Packet analysis {"connection_id":186260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:00:19] local.INFO: Extracted packet for processing {"connection_id":186260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:19] 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-09-18 16:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 16:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:00: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-09-18 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:00:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:00:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":186260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:00:19] local.INFO: GPS data processed {"connection_id":186260,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:00:19] local.INFO: Acknowledgment sent {"connection_id":186260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:00:19] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:19] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:19] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:00:21] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:21] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:21] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:00:21] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:21] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:21] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:00:22] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:22] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:00:22] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:00:24] local.INFO: TCP Data received {"connection_id":187546,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:24] local.INFO: Processing buffer {"connection_id":187546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:24] local.INFO: IMEI packet received {"connection_id":187546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":187546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:00:24] local.INFO: TCP Data received {"connection_id":187546,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:24] local.INFO: Processing buffer {"connection_id":187546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:24] local.INFO: IMEI packet received {"connection_id":187546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":187546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:00:29] local.INFO: TCP Data received {"connection_id":187546,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:29] local.INFO: Processing buffer {"connection_id":187546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:00:29] local.INFO: IMEI packet received {"connection_id":187546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":187546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:00:31] local.INFO: TCP Data received {"connection_id":187546,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4100580012d196880071febe00039010c27..."} 
[2026-09-18 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4100580012d196880071febe00039010c27..."} 
[2026-09-18 16:00:31] local.INFO: Processing buffer {"connection_id":187546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4100580012d196880071febe00039010c27..."} 
[2026-09-18 16:00:31] local.INFO: Packet analysis {"connection_id":187546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:00:31] local.INFO: Extracted packet for processing {"connection_id":187546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170194688001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727344000,"timestamp_ms":1789727344000,"timestamp_seconds":1789727344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4100580"} 
[2026-09-18 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-09-18 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170194688001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170194688001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:00:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170194688001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":187546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:00:31] local.INFO: GPS data processed {"connection_id":187546,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:00:31] local.INFO: Acknowledgment sent {"connection_id":187546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:00:50] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:00:50] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:00:50] local.INFO: Packet analysis {"connection_id":186260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:00:50] local.INFO: Extracted packet for processing {"connection_id":186260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:00:50] 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-09-18 16:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 16:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:00:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:00:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":186260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:00:50] local.INFO: GPS data processed {"connection_id":186260,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:00:50] local.INFO: Acknowledgment sent {"connection_id":186260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:01:02] local.INFO: TCP Data received {"connection_id":187546,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4105788012d196880071febe00039010c28..."} 
[2026-09-18 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4105788012d196880071febe00039010c28..."} 
[2026-09-18 16:01:02] local.INFO: Processing buffer {"connection_id":187546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4105788012d196880071febe00039010c28..."} 
[2026-09-18 16:01:02] local.INFO: Packet analysis {"connection_id":187546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:01:02] local.INFO: Extracted packet for processing {"connection_id":187546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170200064001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789727365000,"timestamp_ms":1789727365000,"timestamp_seconds":1789727365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4105788"} 
[2026-09-18 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-09-18 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170200064001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170200064001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:01:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170200064001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":187546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:01:02] local.INFO: GPS data processed {"connection_id":187546,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:01:02] local.INFO: Acknowledgment sent {"connection_id":187546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:01:12] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:01:12] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:01:12] local.INFO: IMEI packet received {"connection_id":188870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":188870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:01:17] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:01:17] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:01:17] local.INFO: IMEI packet received {"connection_id":188870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":188870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:01:18] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:01:18] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:01:18] local.INFO: Packet analysis {"connection_id":188870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:01:18] local.INFO: Extracted packet for processing {"connection_id":188870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:01:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:18] 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-09-18 16:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 16:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:01:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:01:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":188870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:01:18] local.INFO: GPS data processed {"connection_id":188870,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:01:18] local.INFO: Acknowledgment sent {"connection_id":188870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:01:24] local.INFO: TCP Data received {"connection_id":186262,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:24] local.INFO: Processing buffer {"connection_id":186262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:24] local.INFO: IMEI packet received {"connection_id":186262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":186262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:01:27] local.INFO: TCP Data received {"connection_id":186262,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:27] local.INFO: Processing buffer {"connection_id":186262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:27] local.INFO: IMEI packet received {"connection_id":186262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":186262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:01:30] local.INFO: TCP Data received {"connection_id":186262,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:30] local.INFO: Processing buffer {"connection_id":186262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:01:30] local.INFO: IMEI packet received {"connection_id":186262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":186262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:01:31] local.INFO: TCP Data received {"connection_id":186262,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b410a990012d196880071febe00039010c26..."} 
[2026-09-18 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b410a990012d196880071febe00039010c26..."} 
[2026-09-18 16:01:31] local.INFO: Processing buffer {"connection_id":186262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b410a990012d196880071febe00039010c26..."} 
[2026-09-18 16:01:31] local.INFO: Packet analysis {"connection_id":186262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:01:31] local.INFO: Extracted packet for processing {"connection_id":186262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170205440001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727386000,"timestamp_ms":1789727386000,"timestamp_seconds":1789727386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b410a990"} 
[2026-09-18 16:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170205440001,"66":12156,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170205440001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:01:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170205440001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":186262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:01:31] local.INFO: GPS data processed {"connection_id":186262,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:01:31] local.INFO: Acknowledgment sent {"connection_id":186262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:01:49] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:01:49] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b40d7928012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:01:49] local.INFO: Packet analysis {"connection_id":188870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:01:49] local.INFO: Extracted packet for processing {"connection_id":188870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b40d"} 
[2026-09-18 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170080256001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:01:49] 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-09-18 16:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789727177000,"timestamp_ms":1789727177000,"timestamp_seconds":1789727177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b40d7928"} 
[2026-09-18 16:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170080256001,"66":25973,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170080256001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:01:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:01:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170080256001,"power":25973,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":188870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:01:49] local.INFO: GPS data processed {"connection_id":188870,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:01:49] local.INFO: Acknowledgment sent {"connection_id":188870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:02:03] local.INFO: TCP Data received {"connection_id":186262,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b410fb98012d196880071febe00039010c24..."} 
[2026-09-18 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b410fb98012d196880071febe00039010c24..."} 
[2026-09-18 16:02:03] local.INFO: Processing buffer {"connection_id":186262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b410fb98012d196880071febe00039010c24..."} 
[2026-09-18 16:02:03] local.INFO: Packet analysis {"connection_id":186262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:02:03] local.INFO: Extracted packet for processing {"connection_id":186262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b410"} 
[2026-09-18 16:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170210816001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789727407000,"timestamp_ms":1789727407000,"timestamp_seconds":1789727407,"priority":1,"record_length":96,"hex_timestamp":"000001a0b410fb98"} 
[2026-09-18 16:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-18 16:02:03] 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-09-18 16: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-09-18 16:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170210816001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170210816001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:02:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170210816001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":186262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:02:03] local.INFO: GPS data processed {"connection_id":186262,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:02:03] local.INFO: Acknowledgment sent {"connection_id":186262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:02:23] local.INFO: TCP Data received {"connection_id":186116,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:02:23] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:02:23] local.INFO: IMEI packet received {"connection_id":186116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":186116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:02:23] local.INFO: TCP Data received {"connection_id":186116,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:02:23] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:02:23] local.INFO: IMEI packet received {"connection_id":186116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":186116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:02:24] local.INFO: TCP Data received {"connection_id":186263,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:02:24] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:02:24] local.INFO: IMEI packet received {"connection_id":186263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":186263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:02:25] local.INFO: TCP Data received {"connection_id":186116,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:02:25] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:02:25] local.INFO: Packet analysis {"connection_id":186116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:02:25] local.INFO: Extracted packet for processing {"connection_id":186116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:25] 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-09-18 16:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:02:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:02:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":186116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:02:25] local.INFO: GPS data processed {"connection_id":186116,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:02:25] local.INFO: Acknowledgment sent {"connection_id":186116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:02:27] local.INFO: TCP Data received {"connection_id":186116,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:02:27] local.INFO: Processing buffer {"connection_id":186116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:02:27] local.INFO: Packet analysis {"connection_id":186116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:02:27] local.INFO: Extracted packet for processing {"connection_id":186116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:02:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:27] 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-09-18 16:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:02: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-09-18 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:02:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:02:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":186116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:02:27] local.INFO: GPS data processed {"connection_id":186116,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:02:27] local.INFO: Acknowledgment sent {"connection_id":186116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:02:30] local.INFO: TCP Data received {"connection_id":186263,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:02:30] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:02:30] local.INFO: IMEI packet received {"connection_id":186263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":186263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:02:31] local.INFO: TCP Data received {"connection_id":186263,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4114da0012d196880071febe00039010c26..."} 
[2026-09-18 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4114da0012d196880071febe00039010c26..."} 
[2026-09-18 16:02:31] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4114da0012d196880071febe00039010c26..."} 
[2026-09-18 16:02:31] local.INFO: Packet analysis {"connection_id":186263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b411"} 
[2026-09-18 16:02:31] local.INFO: Extracted packet for processing {"connection_id":186263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b411"} 
[2026-09-18 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170216192001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727428000,"timestamp_ms":1789727428000,"timestamp_seconds":1789727428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4114da0"} 
[2026-09-18 16:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170216192001,"66":12406,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170216192001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:02:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170216192001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":186263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:02:31] local.INFO: GPS data processed {"connection_id":186263,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:02:31] local.INFO: Acknowledgment sent {"connection_id":186263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:02:45] local.INFO: TCP Data received {"connection_id":186113,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:02:45] local.INFO: Processing buffer {"connection_id":186113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:02:45] local.INFO: IMEI packet received {"connection_id":186113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":186113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:03:03] local.INFO: TCP Data received {"connection_id":186263,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4119fa8012d196880071febe00039010c28..."} 
[2026-09-18 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4119fa8012d196880071febe00039010c28..."} 
[2026-09-18 16:03:03] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4119fa8012d196880071febe00039010c28..."} 
[2026-09-18 16:03:03] local.INFO: Packet analysis {"connection_id":186263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b411"} 
[2026-09-18 16:03:03] local.INFO: Extracted packet for processing {"connection_id":186263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b411"} 
[2026-09-18 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170221568001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789727449000,"timestamp_ms":1789727449000,"timestamp_seconds":1789727449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4119fa8"} 
[2026-09-18 16:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 16:03: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-09-18 16:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170221568001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170221568001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:03:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170221568001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":186263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:03:03] local.INFO: GPS data processed {"connection_id":186263,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:03:03] local.INFO: Acknowledgment sent {"connection_id":186263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:03:12] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:03:12] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:03:12] local.INFO: IMEI packet received {"connection_id":186264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":186264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:03:15] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:03:15] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:03:15] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:03:17] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:03:17] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:03:17] local.INFO: IMEI packet received {"connection_id":186264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":186264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:03:18] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:03:18] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:03:18] local.INFO: Packet analysis {"connection_id":186264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:03:18] local.INFO: Extracted packet for processing {"connection_id":186264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:03:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:18] 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-09-18 16:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:03:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:03:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":186264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:03:18] local.INFO: GPS data processed {"connection_id":186264,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:03:18] local.INFO: Acknowledgment sent {"connection_id":186264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:03:30] local.INFO: TCP Data received {"connection_id":188872,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:03:30] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:03:30] local.INFO: IMEI packet received {"connection_id":188872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":188872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:03:33] local.INFO: TCP Data received {"connection_id":188872,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:03:33] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:03:33] local.INFO: IMEI packet received {"connection_id":188872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":188872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:03:34] local.INFO: TCP Data received {"connection_id":188872,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b411f1b0012d196880071febe00039010c2b..."} 
[2026-09-18 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b411f1b0012d196880071febe00039010c2b..."} 
[2026-09-18 16:03:34] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b411f1b0012d196880071febe00039010c2b..."} 
[2026-09-18 16:03:34] local.INFO: Packet analysis {"connection_id":188872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b411"} 
[2026-09-18 16:03:34] local.INFO: Extracted packet for processing {"connection_id":188872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b411"} 
[2026-09-18 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170226944001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789727470000,"timestamp_ms":1789727470000,"timestamp_seconds":1789727470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b411f1b0"} 
[2026-09-18 16:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170226944001,"66":11852,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170226944001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170226944001,"power":11852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":188872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:03:34] local.INFO: GPS data processed {"connection_id":188872,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:03:34] local.INFO: Acknowledgment sent {"connection_id":188872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:03:35] local.INFO: TCP Data received {"connection_id":188872,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41243b8012d196880071febe00039010c28..."} 
[2026-09-18 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41243b8012d196880071febe00039010c28..."} 
[2026-09-18 16:03:35] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41243b8012d196880071febe00039010c28..."} 
[2026-09-18 16:03:35] local.INFO: Packet analysis {"connection_id":188872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:03:35] local.INFO: Extracted packet for processing {"connection_id":188872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170232320001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789727491000,"timestamp_ms":1789727491000,"timestamp_seconds":1789727491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41243b8"} 
[2026-09-18 16:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-18 16:03:35] 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-09-18 16: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-09-18 16:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170232320001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170232320001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:03:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170232320001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":188872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:03:35] local.INFO: GPS data processed {"connection_id":188872,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:03:35] local.INFO: Acknowledgment sent {"connection_id":188872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:03:49] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:03:49] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:03:49] local.INFO: Packet analysis {"connection_id":186264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:03:49] local.INFO: Extracted packet for processing {"connection_id":186264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:03:49] 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-09-18 16:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:03:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:03:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":186264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:03:49] local.INFO: GPS data processed {"connection_id":186264,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:03:49] local.INFO: Acknowledgment sent {"connection_id":186264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:04:07] local.INFO: TCP Data received {"connection_id":188872,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41295c0012d196880071febe00039010c2a..."} 
[2026-09-18 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41295c0012d196880071febe00039010c2a..."} 
[2026-09-18 16:04:07] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41295c0012d196880071febe00039010c2a..."} 
[2026-09-18 16:04:07] local.INFO: Packet analysis {"connection_id":188872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:07] local.INFO: Extracted packet for processing {"connection_id":188872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170237696001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789727512000,"timestamp_ms":1789727512000,"timestamp_seconds":1789727512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41295c0"} 
[2026-09-18 16:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170237696001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170237696001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:04:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170237696001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":188872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:04:07] local.INFO: GPS data processed {"connection_id":188872,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:04:07] local.INFO: Acknowledgment sent {"connection_id":188872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:04:12] local.INFO: TCP Data received {"connection_id":186119,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:04:12] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:04:12] local.INFO: IMEI packet received {"connection_id":186119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":186119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:04:17] local.INFO: TCP Data received {"connection_id":186119,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:04:17] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:04:17] local.INFO: IMEI packet received {"connection_id":186119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":186119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:04:17] local.INFO: TCP Data received {"connection_id":186119,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:04:17] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:04:17] local.INFO: Packet analysis {"connection_id":186119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:17] local.INFO: Extracted packet for processing {"connection_id":186119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:17] 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-09-18 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:04:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:04:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":186119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:04:18] local.INFO: GPS data processed {"connection_id":186119,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:04:18] local.INFO: Acknowledgment sent {"connection_id":186119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:04:24] local.INFO: TCP Data received {"connection_id":187547,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:04:24] local.INFO: Processing buffer {"connection_id":187547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:04:24] local.INFO: IMEI packet received {"connection_id":187547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":187547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:04:30] local.INFO: TCP Data received {"connection_id":187547,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:04:30] local.INFO: Processing buffer {"connection_id":187547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:04:30] local.INFO: IMEI packet received {"connection_id":187547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":187547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:04:31] local.INFO: TCP Data received {"connection_id":187547,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b412e7c8012d196880071febe00039010c2a..."} 
[2026-09-18 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b412e7c8012d196880071febe00039010c2a..."} 
[2026-09-18 16:04:31] local.INFO: Processing buffer {"connection_id":187547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b412e7c8012d196880071febe00039010c2a..."} 
[2026-09-18 16:04:31] local.INFO: Packet analysis {"connection_id":187547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:31] local.INFO: Extracted packet for processing {"connection_id":187547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170243072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727533000,"timestamp_ms":1789727533000,"timestamp_seconds":1789727533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b412e7c8"} 
[2026-09-18 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-09-18 16:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170243072001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170243072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:04:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170243072001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":187547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:04:31] local.INFO: GPS data processed {"connection_id":187547,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:04:31] local.INFO: Acknowledgment sent {"connection_id":187547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:04:51] local.INFO: TCP Data received {"connection_id":186119,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:04:51] local.INFO: Processing buffer {"connection_id":186119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:04:51] local.INFO: Packet analysis {"connection_id":186119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:51] local.INFO: Extracted packet for processing {"connection_id":186119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:04:51] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:04:51] 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-09-18 16:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:04:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:04:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":186119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:04:51] local.INFO: GPS data processed {"connection_id":186119,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:04:51] local.INFO: Acknowledgment sent {"connection_id":186119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:05:03] local.INFO: TCP Data received {"connection_id":187547,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41339d0012d196880071febe00039010c26..."} 
[2026-09-18 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41339d0012d196880071febe00039010c26..."} 
[2026-09-18 16:05:03] local.INFO: Processing buffer {"connection_id":187547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41339d0012d196880071febe00039010c26..."} 
[2026-09-18 16:05:03] local.INFO: Packet analysis {"connection_id":187547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b413"} 
[2026-09-18 16:05:03] local.INFO: Extracted packet for processing {"connection_id":187547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b413"} 
[2026-09-18 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170248448001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789727554000,"timestamp_ms":1789727554000,"timestamp_seconds":1789727554,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41339d0"} 
[2026-09-18 16:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:05: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-09-18 16:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170248448001,"66":12374,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170248448001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:05:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170248448001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":187547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:05:03] local.INFO: GPS data processed {"connection_id":187547,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:05:03] local.INFO: Acknowledgment sent {"connection_id":187547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:05:12] local.INFO: TCP Data received {"connection_id":187548,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:05:12] local.INFO: Processing buffer {"connection_id":187548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:05:12] local.INFO: IMEI packet received {"connection_id":187548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":187548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:05:17] local.INFO: TCP Data received {"connection_id":187548,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:05:17] local.INFO: Processing buffer {"connection_id":187548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:05:17] local.INFO: IMEI packet received {"connection_id":187548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":187548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:05:18] local.INFO: TCP Data received {"connection_id":187548,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:05:18] local.INFO: Processing buffer {"connection_id":187548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:05:18] local.INFO: Packet analysis {"connection_id":187548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:05:18] local.INFO: Extracted packet for processing {"connection_id":187548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:05:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:18] 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-09-18 16:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:05:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:05:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":187548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:05:18] local.INFO: GPS data processed {"connection_id":187548,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:05:18] local.INFO: Acknowledgment sent {"connection_id":187548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:05:24] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:05:24] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:05:24] local.INFO: IMEI packet received {"connection_id":186120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":186120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:05:25] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4159360012d7a7e0005e3d368000d003d28..."} 
[2026-09-18 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4159360012d7a7e0005e3d368000d003d28..."} 
[2026-09-18 16:05:25] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4159360012d7a7e0005e3d368000d003d28..."} 
[2026-09-18 16:05:25] local.INFO: Packet analysis {"connection_id":186120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b415"} 
[2026-09-18 16:05:25] local.INFO: Extracted packet for processing {"connection_id":186120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b415"} 
[2026-09-18 16:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763002368,"raw_latitude":98816872,"longitude_deg":76.3002368,"latitude_deg":9.8816872,"altitude":13,"angle":61,"satellites":40,"speed":2,"hex_longitude":"2d7a7e00","hex_latitude":"05e3d368","is_valid_coordinates":true} 
[2026-09-18 16:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170292480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134741507851681792,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826281238757316608,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] 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-09-18 16:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789727708000,"timestamp_ms":1789727708000,"timestamp_seconds":1789727708,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4159360"} 
[2026-09-18 16:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636146,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3021255864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":154811305910337546,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3543138318,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110803408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 16:05:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1073819002,"corrected_to":0} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024927,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2996043776,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822399488,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-7530012100806574065,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916939850436181,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,178,160,127,45,211,13,40,10,66,192,210,37,223,1,240,227,180,4,113,205,200,131,248,39,239,52,2,222,5,15,122,53,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":200,"original":1073819002,"validated":0}]} 
[2026-09-18 16:05:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936837959028637696,"timestamp_seconds":936837959028637.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170292480001,"66":13559,"208":206,"85":15104,"24":2,"16":134741507851681792,"45":8826281238757316608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170292480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:05:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134741507851681792,"km_value":134741507851681.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826281238757316608,"description":"Unknown IO ID 45"} 
[2026-09-18 16:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170292480001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8826281238757316608}} 
[2026-09-18 16:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":186120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:05:25] local.INFO: GPS data processed {"connection_id":186120,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:05:25] local.INFO: Acknowledgment sent {"connection_id":186120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:05:25] local.INFO: TCP Data received {"connection_id":186266,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:05:25] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:05:25] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:05:30] local.INFO: TCP Data received {"connection_id":186266,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:05:30] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:05:30] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:05:31] local.INFO: TCP Data received {"connection_id":186266,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4138bd8012d196880071febe00039010c29..."} 
[2026-09-18 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4138bd8012d196880071febe00039010c29..."} 
[2026-09-18 16:05:31] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4138bd8012d196880071febe00039010c29..."} 
[2026-09-18 16:05:31] local.INFO: Packet analysis {"connection_id":186266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b413"} 
[2026-09-18 16:05:31] local.INFO: Extracted packet for processing {"connection_id":186266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b413"} 
[2026-09-18 16:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170253824001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727575000,"timestamp_ms":1789727575000,"timestamp_seconds":1789727575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4138bd8"} 
[2026-09-18 16:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":86,"data_length":795,"current_offset":136} 
[2026-09-18 16:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170253824001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170253824001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:05:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170253824001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":186266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:05:31] local.INFO: GPS data processed {"connection_id":186266,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:05:31] local.INFO: Acknowledgment sent {"connection_id":186266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:05:49] local.INFO: TCP Data received {"connection_id":187548,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:05:49] local.INFO: Processing buffer {"connection_id":187548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:05:49] local.INFO: Packet analysis {"connection_id":187548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:05:49] local.INFO: Extracted packet for processing {"connection_id":187548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:05:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:49] 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-09-18 16:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:05:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:05:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":187548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:05:49] local.INFO: GPS data processed {"connection_id":187548,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:05:49] local.INFO: Acknowledgment sent {"connection_id":187548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:05:56] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b415a300012d7a7f0005e3d428000d002b28..."} 
[2026-09-18 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b415a300012d7a7f0005e3d428000d002b28..."} 
[2026-09-18 16:05:56] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b415a300012d7a7f0005e3d428000d002b28..."} 
[2026-09-18 16:05:56] local.INFO: Packet analysis {"connection_id":186120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b415"} 
[2026-09-18 16:05:56] local.INFO: Extracted packet for processing {"connection_id":186120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b415"} 
[2026-09-18 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763002624,"raw_latitude":98817064,"longitude_deg":76.3002624,"latitude_deg":9.8817064,"altitude":13,"angle":43,"satellites":40,"speed":2,"hex_longitude":"2d7a7f00","hex_latitude":"05e3d428","is_valid_coordinates":true} 
[2026-09-18 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170293248001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134741525031550976,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826492344989870080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:05:56] 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-09-18 16:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789727712000,"timestamp_ms":1789727712000,"timestamp_seconds":1789727712,"priority":1,"record_length":96,"hex_timestamp":"000001a0b415a300"} 
[2026-09-18 16:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 16:05: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-09-18 16:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170293248001,"66":13102,"208":206,"85":15104,"24":2,"16":134741525031550976,"45":8826492344989870080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170293248001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:05:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134741525031550976,"km_value":134741525031550.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826492344989870080,"description":"Unknown IO ID 45"} 
[2026-09-18 16:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170293248001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8826492344989870080}} 
[2026-09-18 16:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":186120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:05:56] local.INFO: GPS data processed {"connection_id":186120,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:05:56] local.INFO: Acknowledgment sent {"connection_id":186120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:06:03] local.INFO: TCP Data received {"connection_id":186266,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b413dde0012d196880071febe00039010c29..."} 
[2026-09-18 16:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b413dde0012d196880071febe00039010c29..."} 
[2026-09-18 16:06:03] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b413dde0012d196880071febe00039010c29..."} 
[2026-09-18 16:06:03] local.INFO: Packet analysis {"connection_id":186266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b413"} 
[2026-09-18 16:06:03] local.INFO: Extracted packet for processing {"connection_id":186266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b413"} 
[2026-09-18 16:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170259200001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789727596000,"timestamp_ms":1789727596000,"timestamp_seconds":1789727596,"priority":1,"record_length":96,"hex_timestamp":"000001a0b413dde0"} 
[2026-09-18 16:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:06: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-09-18 16: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-09-18 16:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170259200001,"66":12428,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170259200001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:06:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170259200001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":186266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:06:03] local.INFO: GPS data processed {"connection_id":186266,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:06:03] local.INFO: Acknowledgment sent {"connection_id":186266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:06:17] local.INFO: TCP Data received {"connection_id":186122,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:06:17] local.INFO: Processing buffer {"connection_id":186122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:06:17] local.INFO: IMEI packet received {"connection_id":186122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":186122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:06:17] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:17] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:17] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:06:18] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:18] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:18] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:21] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:21] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:06:21] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:22] local.INFO: TCP Data received {"connection_id":186122,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:06:22] local.INFO: Processing buffer {"connection_id":186122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:06:22] local.INFO: IMEI packet received {"connection_id":186122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":186122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:22] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41679d8012d7aad0005e3da380007005228..."} 
[2026-09-18 16:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41679d8012d7aad0005e3da380007005228..."} 
[2026-09-18 16:06:22] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41679d8012d7aad0005e3da380007005228..."} 
[2026-09-18 16:06:22] local.INFO: Packet analysis {"connection_id":186267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:06:22] local.INFO: Extracted packet for processing {"connection_id":186267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763014400,"raw_latitude":98818616,"longitude_deg":76.30144,"latitude_deg":9.8818616,"altitude":7,"angle":82,"satellites":40,"speed":5,"hex_longitude":"2d7aad00","hex_latitude":"05e3da38","is_valid_coordinates":true} 
[2026-09-18 16:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170306560001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134742109147103232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837188394105321472,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:22] 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-09-18 16:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789727767000,"timestamp_ms":1789727767000,"timestamp_seconds":1789727767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41679d8"} 
[2026-09-18 16:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 16:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170306560001,"66":13526,"208":206,"85":15104,"24":5,"16":134742109147103232,"45":8837188394105321472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170306560001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:06:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:06:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134742109147103232,"km_value":134742109147103.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837188394105321472,"description":"Unknown IO ID 45"} 
[2026-09-18 16:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170306560001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8837188394105321472}} 
[2026-09-18 16:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":186267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:06:22] local.INFO: GPS data processed {"connection_id":186267,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:06:22] local.INFO: Acknowledgment sent {"connection_id":186267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:06:23] local.INFO: TCP Data received {"connection_id":186122,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:06:23] local.INFO: Processing buffer {"connection_id":186122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:06:23] local.INFO: Packet analysis {"connection_id":186122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:06:23] local.INFO: Extracted packet for processing {"connection_id":186122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:23] 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-09-18 16:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":186122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:06:23] local.INFO: GPS data processed {"connection_id":186122,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:06:23] local.INFO: Acknowledgment sent {"connection_id":186122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:06:25] local.INFO: TCP Data received {"connection_id":188873,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:06:25] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:06:25] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:06:25] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:25] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:25] local.INFO: IMEI packet received {"connection_id":187549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":187549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:06:26] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:26] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:26] local.INFO: IMEI packet received {"connection_id":187549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":187549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:27] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:27] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:27] local.INFO: IMEI packet received {"connection_id":187549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":187549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:27] local.INFO: TCP Data received {"connection_id":186122,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:06:27] local.INFO: Processing buffer {"connection_id":186122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41210f0012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:06:27] local.INFO: Packet analysis {"connection_id":186122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:06:27] local.INFO: Extracted packet for processing {"connection_id":186122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b412"} 
[2026-09-18 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170157312001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:27] 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-09-18 16:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789727478000,"timestamp_ms":1789727478000,"timestamp_seconds":1789727478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41210f0"} 
[2026-09-18 16:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:06: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-09-18 16:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 16:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170157312001,"66":25941,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170157312001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:06:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:06:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170157312001,"power":25941,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":186122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:06:27] local.INFO: GPS data processed {"connection_id":186122,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:06:27] local.INFO: Acknowledgment sent {"connection_id":186122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:06:28] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:28] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:06:28] local.INFO: IMEI packet received {"connection_id":187549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":187549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:30] local.INFO: TCP Data received {"connection_id":188873,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:06:30] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:06:30] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:06:31] local.INFO: TCP Data received {"connection_id":188873,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4142fe8012d196880071febe00039010c27..."} 
[2026-09-18 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4142fe8012d196880071febe00039010c27..."} 
[2026-09-18 16:06:31] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4142fe8012d196880071febe00039010c27..."} 
[2026-09-18 16:06:31] local.INFO: Packet analysis {"connection_id":188873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b414"} 
[2026-09-18 16:06:31] local.INFO: Extracted packet for processing {"connection_id":188873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b414"} 
[2026-09-18 16:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170264576001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727617000,"timestamp_ms":1789727617000,"timestamp_seconds":1789727617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4142fe8"} 
[2026-09-18 16:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":140,"data_length":795,"current_offset":136} 
[2026-09-18 16:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170264576001,"66":11874,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170264576001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:06:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170264576001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":188873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:06:31] local.INFO: GPS data processed {"connection_id":188873,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:06:31] local.INFO: Acknowledgment sent {"connection_id":188873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:06:53] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41681a8012d7aae8005e3da980008004728..."} 
[2026-09-18 16:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41681a8012d7aae8005e3da980008004728..."} 
[2026-09-18 16:06:53] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41681a8012d7aae8005e3da980008004728..."} 
[2026-09-18 16:06:53] local.INFO: Packet analysis {"connection_id":186267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:06:53] local.INFO: Extracted packet for processing {"connection_id":186267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763014784,"raw_latitude":98818712,"longitude_deg":76.3014784,"latitude_deg":9.8818712,"altitude":8,"angle":71,"satellites":40,"speed":9,"hex_longitude":"2d7aae80","hex_latitude":"05e3da98","is_valid_coordinates":true} 
[2026-09-18 16:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170308352001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134742130621939712,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839721668895717376,"note":"Value kept but may cause issues"} 
[2026-09-18 16:06:53] 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-09-18 16:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789727769000,"timestamp_ms":1789727769000,"timestamp_seconds":1789727769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41681a8"} 
[2026-09-18 16:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 16:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170308352001,"66":13559,"208":206,"85":15104,"24":9,"16":134742130621939712,"45":8839721668895717376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170308352001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:06:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134742130621939712,"km_value":134742130621939.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839721668895717376,"description":"Unknown IO ID 45"} 
[2026-09-18 16:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170308352001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8839721668895717376}} 
[2026-09-18 16:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":186267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:06:53] local.INFO: GPS data processed {"connection_id":186267,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:06:53] local.INFO: Acknowledgment sent {"connection_id":186267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:07:02] local.INFO: TCP Data received {"connection_id":188873,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41481f0012d196880071febe00039010c27..."} 
[2026-09-18 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41481f0012d196880071febe00039010c27..."} 
[2026-09-18 16:07:02] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41481f0012d196880071febe00039010c27..."} 
[2026-09-18 16:07:02] local.INFO: Packet analysis {"connection_id":188873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b414"} 
[2026-09-18 16:07:02] local.INFO: Extracted packet for processing {"connection_id":188873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b414"} 
[2026-09-18 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532512,"longitude_deg":75.6639872,"latitude_deg":11.9532512,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170269952001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379256277794816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614785024,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789727638000,"timestamp_ms":1789727638000,"timestamp_seconds":1789727638,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41481f0"} 
[2026-09-18 16:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 16:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170269952001,"66":12385,"121":206,"28":31744,"24":0,"16":21379256277794816,"45":1830854016614785024},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170269952001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:07:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379256277794816,"km_value":21379256277794.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614785024,"description":"Unknown IO ID 45"} 
[2026-09-18 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170269952001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614785024}} 
[2026-09-18 16:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":188873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:07:02] local.INFO: GPS data processed {"connection_id":188873,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:07:02] local.INFO: Acknowledgment sent {"connection_id":188873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:07:12] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:07:12] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:07:12] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:07:17] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:07:17] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:07:17] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:07:18] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:07:18] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:07:18] local.INFO: Packet analysis {"connection_id":186123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:18] local.INFO: Extracted packet for processing {"connection_id":186123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:18] 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-09-18 16:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:07:18] 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-09-18 16:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:07:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:07:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":186123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:07:19] local.INFO: GPS data processed {"connection_id":186123,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:07:19] local.INFO: Acknowledgment sent {"connection_id":186123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:07:21] local.INFO: TCP Data received {"connection_id":187550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:07:21] local.INFO: Processing buffer {"connection_id":187550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:07:21] local.INFO: IMEI packet received {"connection_id":187550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":187550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:07:24] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:24] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:24] local.INFO: IMEI packet received {"connection_id":186124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":186124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:07:25] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:25] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:25] local.INFO: IMEI packet received {"connection_id":186124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":186124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:07:26] local.INFO: TCP Data received {"connection_id":187550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:07:26] local.INFO: Processing buffer {"connection_id":187550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:07:26] local.INFO: IMEI packet received {"connection_id":187550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":187550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:07:28] local.INFO: TCP Data received {"connection_id":187550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4168978012d7ab00005e3dbb80008002d26..."} 
[2026-09-18 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4168978012d7ab00005e3dbb80008002d26..."} 
[2026-09-18 16:07:28] local.INFO: Processing buffer {"connection_id":187550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4168978012d7ab00005e3dbb80008002d26..."} 
[2026-09-18 16:07:28] local.INFO: Packet analysis {"connection_id":187550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:28] local.INFO: Extracted packet for processing {"connection_id":187550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763015168,"raw_latitude":98819000,"longitude_deg":76.3015168,"latitude_deg":9.8819,"altitude":8,"angle":45,"satellites":38,"speed":9,"hex_longitude":"2d7ab000","hex_latitude":"05e3dbb8","is_valid_coordinates":true} 
[2026-09-18 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170308864001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134742152096776192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840143881360807936,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:28] 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-09-18 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789727771000,"timestamp_ms":1789727771000,"timestamp_seconds":1789727771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4168978"} 
[2026-09-18 16:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 16:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170308864001,"66":13602,"208":206,"85":15104,"24":9,"16":134742152096776192,"45":8840143881360807936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170308864001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:07:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134742152096776192,"km_value":134742152096776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840143881360807936,"description":"Unknown IO ID 45"} 
[2026-09-18 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170308864001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8840143881360807936}} 
[2026-09-18 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":187550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:07:28] local.INFO: GPS data processed {"connection_id":187550,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:07:28] local.INFO: Acknowledgment sent {"connection_id":187550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:07:31] local.INFO: TCP Data received {"connection_id":187550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4169148012d7ab14005e3dcd80008004327..."} 
[2026-09-18 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4169148012d7ab14005e3dcd80008004327..."} 
[2026-09-18 16:07:31] local.INFO: Processing buffer {"connection_id":187550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4169148012d7ab14005e3dcd80008004327..."} 
[2026-09-18 16:07:31] local.INFO: Packet analysis {"connection_id":187550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:31] local.INFO: Extracted packet for processing {"connection_id":187550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763015488,"raw_latitude":98819288,"longitude_deg":76.3015488,"latitude_deg":9.8819288,"altitude":8,"angle":67,"satellites":39,"speed":9,"hex_longitude":"2d7ab140","hex_latitude":"05e3dcd8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170309376001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134742177866579968,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840566093825947648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:31] 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-09-18 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727773000,"timestamp_ms":1789727773000,"timestamp_seconds":1789727773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4169148"} 
[2026-09-18 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 16:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170309376001,"66":13363,"208":206,"85":15104,"24":9,"16":134742177866579968,"45":8840566093825947648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170309376001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:07:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134742177866579968,"km_value":134742177866579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840566093825947648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170309376001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8840566093825947648}} 
[2026-09-18 16:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":187550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:07:31] local.INFO: GPS data processed {"connection_id":187550,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:07:31] local.INFO: Acknowledgment sent {"connection_id":187550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:07:35] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:35] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:07:35] local.INFO: IMEI packet received {"connection_id":186124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":186124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:07:37] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416c410012d196780071fee880040002f2a..."} 
[2026-09-18 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416c410012d196780071fee880040002f2a..."} 
[2026-09-18 16:07:37] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416c410012d196780071fee880040002f2a..."} 
[2026-09-18 16:07:37] local.INFO: Packet analysis {"connection_id":186124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:37] local.INFO: Extracted packet for processing {"connection_id":186124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533192,"longitude_deg":75.6639616,"latitude_deg":11.9533192,"altitude":64,"angle":47,"satellites":42,"speed":2,"hex_longitude":"2d196780","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-09-18 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170312960001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21379299227467776,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789727786000,"timestamp_ms":1789727786000,"timestamp_seconds":1789727786,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416c410"} 
[2026-09-18 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170312960001,"66":13689,"121":206,"28":31744,"24":2,"16":21379299227467776,"45":1830502172894054400},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170312960001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21379299227467776,"km_value":21379299227467.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-09-18 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170312960001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-09-18 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":186124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:07:37] local.INFO: GPS data processed {"connection_id":186124,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:07:37] local.INFO: Acknowledgment sent {"connection_id":186124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:07:53] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:07:53] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:07:53] local.INFO: Packet analysis {"connection_id":186123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:53] local.INFO: Extracted packet for processing {"connection_id":186123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:07:53] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:07:53] 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-09-18 16:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:07:53] 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-09-18 16:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:07:53] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:07:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":186123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:07:53] local.INFO: GPS data processed {"connection_id":186123,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:07:53] local.INFO: Acknowledgment sent {"connection_id":186123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:08:08] local.INFO: TCP Data received {"connection_id":186124,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4179ae8012d19a9c0071ff068003c006f2a..."} 
[2026-09-18 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4179ae8012d19a9c0071ff068003c006f2a..."} 
[2026-09-18 16:08:08] local.INFO: Processing buffer {"connection_id":186124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4179ae8012d19a9c0071ff068003c006f2a..."} 
[2026-09-18 16:08:08] local.INFO: Packet analysis {"connection_id":186124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b417"} 
[2026-09-18 16:08:08] local.INFO: Extracted packet for processing {"connection_id":186124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b417"} 
[2026-09-18 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756656576,"raw_latitude":119533672,"longitude_deg":75.6656576,"latitude_deg":11.9533672,"altitude":60,"angle":111,"satellites":42,"speed":18,"hex_longitude":"2d19a9c0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-09-18 16:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170326784001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21380149630992384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096427061248,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789727841000,"timestamp_ms":1789727841000,"timestamp_seconds":1789727841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4179ae8"} 
[2026-09-18 16:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 16:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170326784001,"66":13352,"121":206,"28":31744,"24":18,"16":21380149630992384,"45":1848235096427061248},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170326784001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:08:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21380149630992384,"km_value":21380149630992.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096427061248,"description":"Unknown IO ID 45"} 
[2026-09-18 16:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170326784001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1848235096427061248}} 
[2026-09-18 16:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":186124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:08:09] local.INFO: GPS data processed {"connection_id":186124,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:08:09] local.INFO: Acknowledgment sent {"connection_id":186124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:08:12] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:08:12] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:08:12] local.INFO: IMEI packet received {"connection_id":187551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":187551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:08:12] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:12] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:12] local.INFO: IMEI packet received {"connection_id":188874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":188874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:08:16] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:16] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:16] local.INFO: IMEI packet received {"connection_id":188874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":188874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:08:17] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:08:17] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:08:17] local.INFO: IMEI packet received {"connection_id":187551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":187551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:08:18] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:08:18] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:08:18] local.INFO: Packet analysis {"connection_id":187551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:08:18] local.INFO: Extracted packet for processing {"connection_id":187551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:18] 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-09-18 16:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:08:18] 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-09-18 16:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:08:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:08:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":187551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:08:18] local.INFO: GPS data processed {"connection_id":187551,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:08:18] local.INFO: Acknowledgment sent {"connection_id":187551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:08:21] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:21] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:08:21] local.INFO: IMEI packet received {"connection_id":188874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":188874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:08:22] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4169530012d7ab28005e3dd180008005529..."} 
[2026-09-18 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4169530012d7ab28005e3dd180008005529..."} 
[2026-09-18 16:08:23] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4169530012d7ab28005e3dd180008005529..."} 
[2026-09-18 16:08:23] local.INFO: Packet analysis {"connection_id":188874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:08:23] local.INFO: Extracted packet for processing {"connection_id":188874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763015808,"raw_latitude":98819352,"longitude_deg":76.3015808,"latitude_deg":9.8819352,"altitude":8,"angle":85,"satellites":41,"speed":11,"hex_longitude":"2d7ab280","hex_latitude":"05e3dd18","is_valid_coordinates":true} 
[2026-09-18 16:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170309888001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134742190751481856,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937546909696,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08: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-09-18 16:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789727774000,"timestamp_ms":1789727774000,"timestamp_seconds":1789727774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4169530"} 
[2026-09-18 16:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 16:08:23] 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-09-18 16:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170309888001,"66":13580,"208":206,"85":15104,"24":11,"16":134742190751481856,"45":8840917937546909696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170309888001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:08:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134742190751481856,"km_value":134742190751481.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937546909696,"description":"Unknown IO ID 45"} 
[2026-09-18 16:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170309888001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8840917937546909696}} 
[2026-09-18 16:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":188874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:08:23] local.INFO: GPS data processed {"connection_id":188874,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:08:23] local.INFO: Acknowledgment sent {"connection_id":188874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:08:24] local.INFO: TCP Data received {"connection_id":187552,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:24] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:24] local.INFO: IMEI packet received {"connection_id":187552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":187552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:08:25] local.INFO: TCP Data received {"connection_id":187552,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:25] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:25] local.INFO: IMEI packet received {"connection_id":187552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":187552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:08:28] local.INFO: TCP Data received {"connection_id":187552,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:28] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:28] local.INFO: IMEI packet received {"connection_id":187552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":187552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:08:29] local.INFO: TCP Data received {"connection_id":187552,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:29] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:08:29] local.INFO: IMEI packet received {"connection_id":187552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":187552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:08:30] local.INFO: TCP Data received {"connection_id":187552,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b417a2b8012d19ae80071fef30003a00622a..."} 
[2026-09-18 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b417a2b8012d19ae80071fef30003a00622a..."} 
[2026-09-18 16:08:30] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b417a2b8012d19ae80071fef30003a00622a..."} 
[2026-09-18 16:08:30] local.INFO: Packet analysis {"connection_id":187552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b417"} 
[2026-09-18 16:08:30] local.INFO: Extracted packet for processing {"connection_id":187552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b417"} 
[2026-09-18 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119533360,"longitude_deg":75.6657792,"latitude_deg":11.953336,"altitude":58,"angle":98,"satellites":42,"speed":23,"hex_longitude":"2d19ae80","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170327296001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21380209760534528,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849220258845452288,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789727843000,"timestamp_ms":1789727843000,"timestamp_seconds":1789727843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b417a2b8"} 
[2026-09-18 16:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:08: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-09-18 16: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 16:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170327296001,"66":14233,"121":206,"28":31744,"24":23,"16":21380209760534528,"45":1849220258845452288},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170327296001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:08:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21380209760534528,"km_value":21380209760534.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849220258845452288,"description":"Unknown IO ID 45"} 
[2026-09-18 16:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170327296001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1849220258845452288}} 
[2026-09-18 16:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":187552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:08:30] local.INFO: GPS data processed {"connection_id":187552,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:08:30] local.INFO: Acknowledgment sent {"connection_id":187552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:08:35] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:08:35] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:08:35] local.INFO: IMEI packet received {"connection_id":186269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":186269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:08:49] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:08:49] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:08:49] local.INFO: Packet analysis {"connection_id":187551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:08:49] local.INFO: Extracted packet for processing {"connection_id":187551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:49] 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-09-18 16:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:08:49] 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-09-18 16:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:08:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:08:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":187551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:08:49] local.INFO: GPS data processed {"connection_id":187551,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:08:49] local.INFO: Acknowledgment sent {"connection_id":187551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:08:54] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b418a0a0012d7b0ec005e33e38000c008a23..."} 
[2026-09-18 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b418a0a0012d7b0ec005e33e38000c008a23..."} 
[2026-09-18 16:08:54] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b418a0a0012d7b0ec005e33e38000c008a23..."} 
[2026-09-18 16:08:54] local.INFO: Packet analysis {"connection_id":188874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:08:54] local.INFO: Extracted packet for processing {"connection_id":188874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98778680,"longitude_deg":76.3039424,"latitude_deg":9.877868,"altitude":12,"angle":138,"satellites":35,"speed":14,"hex_longitude":"2d7b0ec0","hex_latitude":"05e33e38","is_valid_coordinates":true} 
[2026-09-18 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170343936001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134744827861401600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897905680384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:08:54] 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-09-18 16:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789727908000,"timestamp_ms":1789727908000,"timestamp_seconds":1789727908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b418a0a0"} 
[2026-09-18 16:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-18 16:08: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-09-18 16:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170343936001,"66":13526,"208":206,"85":15104,"24":14,"16":134744827861401600,"45":8866672897905680384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 16:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170343936001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:08:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 16:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 16:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134744827861401600,"km_value":134744827861401.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897905680384,"description":"Unknown IO ID 45"} 
[2026-09-18 16:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170343936001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8866672897905680384}} 
[2026-09-18 16:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":188874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:08:54] local.INFO: GPS data processed {"connection_id":188874,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:08:54] local.INFO: Acknowledgment sent {"connection_id":188874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:09:02] local.INFO: TCP Data received {"connection_id":187552,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4186dd8012d19dd4007200ae8002f012f2a..."} 
[2026-09-18 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4186dd8012d19dd4007200ae8002f012f2a..."} 
[2026-09-18 16:09:02] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4186dd8012d19dd4007200ae8002f012f2a..."} 
[2026-09-18 16:09:02] local.INFO: Packet analysis {"connection_id":187552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:09:02] local.INFO: Extracted packet for processing {"connection_id":187552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119540456,"longitude_deg":75.666976,"latitude_deg":11.9540456,"altitude":47,"angle":303,"satellites":42,"speed":11,"hex_longitude":"2d19dd40","hex_latitude":"07200ae8","is_valid_coordinates":true} 
[2026-09-18 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170340864001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21381034394255360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124459520,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789727895000,"timestamp_ms":1789727895000,"timestamp_seconds":1789727895,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4186dd8"} 
[2026-09-18 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 16:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170340864001,"66":14157,"121":206,"28":31744,"24":11,"16":21381034394255360,"45":1863997695124459520},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170340864001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:09:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21381034394255360,"km_value":21381034394255.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124459520,"description":"Unknown IO ID 45"} 
[2026-09-18 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170340864001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1863997695124459520}} 
[2026-09-18 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":187552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:09:02] local.INFO: GPS data processed {"connection_id":187552,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:09:02] local.INFO: Acknowledgment sent {"connection_id":187552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:09:11] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:09:11] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:09:11] local.INFO: IMEI packet received {"connection_id":187553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":187553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:09:13] local.INFO: TCP Data received {"connection_id":186125,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:13] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:13] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:09:14] local.INFO: TCP Data received {"connection_id":186125,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:14] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:14] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:09:15] local.INFO: TCP Data received {"connection_id":186125,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:15] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:15] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:09:16] local.INFO: TCP Data received {"connection_id":186125,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:16] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:09:16] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:09:17] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:09:17] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:09:17] local.INFO: IMEI packet received {"connection_id":187553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":187553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:09:18] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:09:18] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:09:18] local.INFO: Packet analysis {"connection_id":187553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:09:18] local.INFO: Extracted packet for processing {"connection_id":187553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:18] 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-09-18 16:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:09:18] 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-09-18 16:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:09:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:09:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":187553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:09:18] local.INFO: GPS data processed {"connection_id":187553,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:09:18] local.INFO: Acknowledgment sent {"connection_id":187553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:09:30] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:09:30] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:09:30] local.INFO: IMEI packet received {"connection_id":186126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":186126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:09:34] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:09:34] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:09:34] local.INFO: IMEI packet received {"connection_id":186126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":186126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:09:37] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41875a8012d19db0007200c18002f01232a..."} 
[2026-09-18 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41875a8012d19db0007200c18002f01232a..."} 
[2026-09-18 16:09:37] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41875a8012d19db0007200c18002f01232a..."} 
[2026-09-18 16:09:37] local.INFO: Packet analysis {"connection_id":186126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:09:37] local.INFO: Extracted packet for processing {"connection_id":186126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756669184,"raw_latitude":119540760,"longitude_deg":75.6669184,"latitude_deg":11.954076,"altitude":47,"angle":291,"satellites":42,"speed":15,"hex_longitude":"2d19db00","hex_latitude":"07200c18","is_valid_coordinates":true} 
[2026-09-18 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170341120001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21381064459026432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863716220147787776,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789727897000,"timestamp_ms":1789727897000,"timestamp_seconds":1789727897,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41875a8"} 
[2026-09-18 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 16:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170341120001,"66":13417,"121":206,"28":31744,"24":15,"16":21381064459026432,"45":1863716220147787776},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170341120001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21381064459026432,"km_value":21381064459026.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863716220147787776,"description":"Unknown IO ID 45"} 
[2026-09-18 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170341120001,"power":13417,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1863716220147787776}} 
[2026-09-18 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":186126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:09:37] local.INFO: GPS data processed {"connection_id":186126,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:09:37] local.INFO: Acknowledgment sent {"connection_id":186126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:09:44] local.INFO: TCP Data received {"connection_id":186126,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4188160012d19d80007200da8002f01322a..."} 
[2026-09-18 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4188160012d19d80007200da8002f01322a..."} 
[2026-09-18 16:09:44] local.INFO: Processing buffer {"connection_id":186126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4188160012d19d80007200da8002f01322a..."} 
[2026-09-18 16:09:44] local.INFO: Packet analysis {"connection_id":186126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:09:44] local.INFO: Extracted packet for processing {"connection_id":186126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b418"} 
[2026-09-18 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119541160,"longitude_deg":75.6668416,"latitude_deg":11.954116,"altitude":47,"angle":306,"satellites":42,"speed":6,"hex_longitude":"2d19d800","hex_latitude":"07200da8","is_valid_coordinates":true} 
[2026-09-18 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170341632001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21381107408699392,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863082901450266624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789727900000,"timestamp_ms":1789727900000,"timestamp_seconds":1789727900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4188160"} 
[2026-09-18 16:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 16:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170341632001,"66":14189,"121":206,"28":31744,"24":6,"16":21381107408699392,"45":1863082901450266624},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170341632001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:09:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:09:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21381107408699392,"km_value":21381107408699.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863082901450266624,"description":"Unknown IO ID 45"} 
[2026-09-18 16:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170341632001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1863082901450266624}} 
[2026-09-18 16:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":186126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:09:44] local.INFO: GPS data processed {"connection_id":186126,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:09:44] local.INFO: Acknowledgment sent {"connection_id":186126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:09:49] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:09:49] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:09:49] local.INFO: Packet analysis {"connection_id":187553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:09:49] local.INFO: Extracted packet for processing {"connection_id":187553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:09:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:09:49] 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-09-18 16:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:09:49] 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-09-18 16:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:09:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:09:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":187553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:09:49] local.INFO: GPS data processed {"connection_id":187553,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:09:49] local.INFO: Acknowledgment sent {"connection_id":187553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:10:12] local.INFO: TCP Data received {"connection_id":186127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:10:12] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:10:12] local.INFO: IMEI packet received {"connection_id":186127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":186127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:10:16] local.INFO: TCP Data received {"connection_id":186127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:10:17] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:10:17] local.INFO: IMEI packet received {"connection_id":186127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":186127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:10:18] local.INFO: TCP Data received {"connection_id":186127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:10:18] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:10:18] local.INFO: Packet analysis {"connection_id":186127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:10:18] local.INFO: Extracted packet for processing {"connection_id":186127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:18] 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-09-18 16:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:10:18] 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-09-18 16:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:10:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:10:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":186127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:10:18] local.INFO: GPS data processed {"connection_id":186127,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:10:18] local.INFO: Acknowledgment sent {"connection_id":186127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:10:21] local.INFO: TCP Data received {"connection_id":186271,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:21] local.INFO: Processing buffer {"connection_id":186271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:21] local.INFO: IMEI packet received {"connection_id":186271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":186271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:10:24] local.INFO: TCP Data received {"connection_id":186271,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:24] local.INFO: Processing buffer {"connection_id":186271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:24] local.INFO: IMEI packet received {"connection_id":186271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":186271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:10:24] local.INFO: TCP Data received {"connection_id":186271,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:24] local.INFO: Processing buffer {"connection_id":186271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:24] local.INFO: IMEI packet received {"connection_id":186271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":186271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:10:30] local.INFO: TCP Data received {"connection_id":186271,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:30] local.INFO: Processing buffer {"connection_id":186271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:10:30] local.INFO: IMEI packet received {"connection_id":186271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":186271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:10:31] local.INFO: TCP Data received {"connection_id":186271,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4196bc0012d19b000072099a0003000252a..."} 
[2026-09-18 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4196bc0012d19b000072099a0003000252a..."} 
[2026-09-18 16:10:31] local.INFO: Processing buffer {"connection_id":186271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4196bc0012d19b000072099a0003000252a..."} 
[2026-09-18 16:10:31] local.INFO: Packet analysis {"connection_id":186271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b419"} 
[2026-09-18 16:10:31] local.INFO: Extracted packet for processing {"connection_id":186271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b419"} 
[2026-09-18 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119576992,"longitude_deg":75.6658176,"latitude_deg":11.9576992,"altitude":48,"angle":37,"satellites":42,"speed":34,"hex_longitude":"2d19b000","hex_latitude":"072099a0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170357504001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21382984309407744,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507380224,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789727960000,"timestamp_ms":1789727960000,"timestamp_seconds":1789727960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4196bc0"} 
[2026-09-18 16:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84752271824855098,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503925889499136,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1979711488,"corrected_to":0} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3021543864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":176,"raw_value":12386381410084352,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4145283072,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,247,160,99,45,128,147,47,42,10,66,96,144,46,84,64,1,240,196,180,32,4,113,205,43,53,184,176,40,239,54,2,75,7,206],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":247,"original":1979711488,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 16:10:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458792182002155520,"timestamp_seconds":3458792182002155.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170357504001,"66":14157,"121":206,"28":31744,"24":34,"16":21382984309407744,"45":1850416527507380224},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170357504001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21382984309407744,"km_value":21382984309407.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507380224,"description":"Unknown IO ID 45"} 
[2026-09-18 16:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170357504001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1850416527507380224}} 
[2026-09-18 16:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":186271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:10:31] local.INFO: GPS data processed {"connection_id":186271,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:10:31] local.INFO: Acknowledgment sent {"connection_id":186271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:10:50] local.INFO: TCP Data received {"connection_id":186127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:10:50] local.INFO: Processing buffer {"connection_id":186127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:10:50] local.INFO: Packet analysis {"connection_id":186127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:10:50] local.INFO: Extracted packet for processing {"connection_id":186127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:10:50] 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-09-18 16:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:10:50] 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-09-18 16:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:10:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:10:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":186127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:10:50] local.INFO: GPS data processed {"connection_id":186127,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:10:50] local.INFO: Acknowledgment sent {"connection_id":186127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:11:02] local.INFO: TCP Data received {"connection_id":186271,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4197f48012d19b9000720a4b8003200142b..."} 
[2026-09-18 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4197f48012d19b9000720a4b8003200142b..."} 
[2026-09-18 16:11:02] local.INFO: Processing buffer {"connection_id":186271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4197f48012d19b9000720a4b8003200142b..."} 
[2026-09-18 16:11:02] local.INFO: Packet analysis {"connection_id":186271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b419"} 
[2026-09-18 16:11:02] local.INFO: Extracted packet for processing {"connection_id":186271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b419"} 
[2026-09-18 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119579832,"longitude_deg":75.666048,"latitude_deg":11.9579832,"altitude":50,"angle":20,"satellites":43,"speed":20,"hex_longitude":"2d19b900","hex_latitude":"0720a4b8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170357760001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21383160403066880,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850979477460983808,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789727965000,"timestamp_ms":1789727965000,"timestamp_seconds":1789727965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4197f48"} 
[2026-09-18 16:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 16:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170357760001,"66":14211,"121":206,"28":31744,"24":20,"16":21383160403066880,"45":1850979477460983808},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170357760001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:11:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:11:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21383160403066880,"km_value":21383160403066.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850979477460983808,"description":"Unknown IO ID 45"} 
[2026-09-18 16:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170357760001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1850979477460983808}} 
[2026-09-18 16:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":186271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:11:02] local.INFO: GPS data processed {"connection_id":186271,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:11:02] local.INFO: Acknowledgment sent {"connection_id":186271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:11:11] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:11:11] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:11:11] local.INFO: IMEI packet received {"connection_id":186272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":186272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:11:16] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:11:16] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:11:16] local.INFO: IMEI packet received {"connection_id":186272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":186272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:11:18] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:11:18] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:11:18] local.INFO: Packet analysis {"connection_id":186272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:11:18] local.INFO: Extracted packet for processing {"connection_id":186272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:11:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:18] 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-09-18 16:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:11:18] 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-09-18 16:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:11:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:11:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":186272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:11:18] local.INFO: GPS data processed {"connection_id":186272,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:11:18] local.INFO: Acknowledgment sent {"connection_id":186272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:11:25] local.INFO: TCP Data received {"connection_id":188878,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:11:25] local.INFO: Processing buffer {"connection_id":188878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:11:25] local.INFO: IMEI packet received {"connection_id":188878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":188878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:11:28] local.INFO: TCP Data received {"connection_id":188878,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:11:28] local.INFO: Processing buffer {"connection_id":188878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:11:28] local.INFO: IMEI packet received {"connection_id":188878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":188878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:11:29] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:11:29] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:11:29] local.INFO: IMEI packet received {"connection_id":186273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":186273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:11:29] local.INFO: TCP Data received {"connection_id":188878,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41aa058012d1925800720bd580031012329..."} 
[2026-09-18 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41aa058012d1925800720bd580031012329..."} 
[2026-09-18 16:11:29] local.INFO: Processing buffer {"connection_id":188878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41aa058012d1925800720bd580031012329..."} 
[2026-09-18 16:11:29] local.INFO: Packet analysis {"connection_id":188878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41a"} 
[2026-09-18 16:11:29] local.INFO: Extracted packet for processing {"connection_id":188878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41a"} 
[2026-09-18 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756622720,"raw_latitude":119586136,"longitude_deg":75.662272,"latitude_deg":11.9586136,"altitude":49,"angle":291,"satellites":41,"speed":38,"hex_longitude":"2d192580","hex_latitude":"0720bd58","is_valid_coordinates":true} 
[2026-09-18 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170376448001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21385101728284672,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817695061466628096,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789728039000,"timestamp_ms":1789728039000,"timestamp_seconds":1789728039,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41aa058"} 
[2026-09-18 16:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 16:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170376448001,"66":14265,"121":206,"28":31744,"24":38,"16":21385101728284672,"45":1817695061466628096},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170376448001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:11:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21385101728284672,"km_value":21385101728284.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817695061466628096,"description":"Unknown IO ID 45"} 
[2026-09-18 16:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170376448001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1817695061466628096}} 
[2026-09-18 16:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":188878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:11:29] local.INFO: GPS data processed {"connection_id":188878,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:11:29] local.INFO: Acknowledgment sent {"connection_id":188878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:11:30] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b1970012d0cb2400705d1f8001500811b..."} 
[2026-09-18 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b1970012d0cb2400705d1f8001500811b..."} 
[2026-09-18 16:11:30] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b1970012d0cb2400705d1f8001500811b..."} 
[2026-09-18 16:11:30] local.INFO: Packet analysis {"connection_id":186273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:11:30] local.INFO: Extracted packet for processing {"connection_id":186273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":755806784,"raw_latitude":117821944,"longitude_deg":75.5806784,"latitude_deg":11.7821944,"altitude":21,"angle":129,"satellites":27,"speed":20,"hex_longitude":"2d0cb240","hex_latitude":"0705d1f8","is_valid_coordinates":true} 
[2026-09-18 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170384128001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33111307339169792,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912260429682163712,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789728070000,"timestamp_ms":1789728070000,"timestamp_seconds":1789728070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b1970"} 
[2026-09-18 16:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:11: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-09-18 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 16:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170384128001,"66":14450,"220":206,"94":10240,"24":20,"16":33111307339169792,"45":912260429682163712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-18 16:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170384128001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:11:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-18 16:11:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33111307339169792,"km_value":33111307339169.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":912260429682163712,"description":"Unknown IO ID 45"} 
[2026-09-18 16:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170384128001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":912260429682163712}} 
[2026-09-18 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":186273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:11:30] local.INFO: GPS data processed {"connection_id":186273,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:11:30] local.INFO: Acknowledgment sent {"connection_id":186273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:11:50] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:11:50] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b416a8b8012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:11:50] local.INFO: Packet analysis {"connection_id":186272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:11:50] local.INFO: Extracted packet for processing {"connection_id":186272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b416"} 
[2026-09-18 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:11:50] 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-09-18 16:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789727779000,"timestamp_ms":1789727779000,"timestamp_seconds":1789727779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b416a8b8"} 
[2026-09-18 16:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 16:11:50] 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-09-18 16:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170234368001,"66":25908,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:11:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:11:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170234368001,"power":25908,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":186272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:11:50] local.INFO: GPS data processed {"connection_id":186272,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:11:50] local.INFO: Acknowledgment sent {"connection_id":186272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:12:05] local.INFO: TCP Data received {"connection_id":188878,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41acb50012d1903800720cdb80035012f28..."} 
[2026-09-18 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41acb50012d1903800720cdb80035012f28..."} 
[2026-09-18 16:12:05] local.INFO: Processing buffer {"connection_id":188878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41acb50012d1903800720cdb80035012f28..."} 
[2026-09-18 16:12:05] local.INFO: Packet analysis {"connection_id":188878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41a"} 
[2026-09-18 16:12:05] local.INFO: Extracted packet for processing {"connection_id":188878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41a"} 
[2026-09-18 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119590328,"longitude_deg":75.6614016,"latitude_deg":11.9590328,"altitude":53,"angle":303,"satellites":40,"speed":27,"hex_longitude":"2d190380","hex_latitude":"0720cdb8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170377984001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21385561289785344,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811995193188898816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789728050000,"timestamp_ms":1789728050000,"timestamp_seconds":1789728050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41acb50"} 
[2026-09-18 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 16:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170377984001,"66":14265,"121":206,"28":31744,"24":27,"16":21385561289785344,"45":1811995193188898816},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170377984001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21385561289785344,"km_value":21385561289785.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811995193188898816,"description":"Unknown IO ID 45"} 
[2026-09-18 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170377984001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1811995193188898816}} 
[2026-09-18 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":188878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:12:05] local.INFO: GPS data processed {"connection_id":188878,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:12:05] local.INFO: Acknowledgment sent {"connection_id":188878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:12:12] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:12:12] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:12:12] local.INFO: IMEI packet received {"connection_id":186128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":186128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:12:17] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:12:17] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:12:17] local.INFO: IMEI packet received {"connection_id":186128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:12:17] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:12:17] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:12:17] local.INFO: Packet analysis {"connection_id":186128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:17] local.INFO: Extracted packet for processing {"connection_id":186128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:17] 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-09-18 16:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:12:17] 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-09-18 16:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:12:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:12:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":186128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:12:17] local.INFO: GPS data processed {"connection_id":186128,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:12:17] local.INFO: Acknowledgment sent {"connection_id":186128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:12:17] local.INFO: TCP Data received {"connection_id":187554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:12:17] local.INFO: Processing buffer {"connection_id":187554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:12:17] local.INFO: IMEI packet received {"connection_id":187554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":187554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:12:18] local.INFO: TCP Data received {"connection_id":187554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:12:18] local.INFO: Processing buffer {"connection_id":187554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:12:18] local.INFO: IMEI packet received {"connection_id":187554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":187554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:12:19] local.INFO: TCP Data received {"connection_id":187554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41bc168012d0ceb000705c510001300141b..."} 
[2026-09-18 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41bc168012d0ceb000705c510001300141b..."} 
[2026-09-18 16:12:19] local.INFO: Processing buffer {"connection_id":187554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41bc168012d0ceb000705c510001300141b..."} 
[2026-09-18 16:12:19] local.INFO: Packet analysis {"connection_id":187554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:19] local.INFO: Extracted packet for processing {"connection_id":187554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:19] local.INFO: GPS Element Parsed {"raw_longitude":755821312,"raw_latitude":117818640,"longitude_deg":75.5821312,"latitude_deg":11.781864,"altitude":19,"angle":20,"satellites":27,"speed":20,"hex_longitude":"2d0ceb00","hex_latitude":"0705c510","is_valid_coordinates":true} 
[2026-09-18 16:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170396672001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33112312361517056,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930556303166885888,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789728113000,"timestamp_ms":1789728113000,"timestamp_seconds":1789728113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41bc168"} 
[2026-09-18 16:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170396672001,"66":14407,"220":206,"94":10240,"24":20,"16":33112312361517056,"45":930556303166885888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-18 16:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170396672001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:12:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-18 16:12:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33112312361517056,"km_value":33112312361517.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":930556303166885888,"description":"Unknown IO ID 45"} 
[2026-09-18 16:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170396672001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":930556303166885888}} 
[2026-09-18 16:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":187554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:12:19] local.INFO: GPS data processed {"connection_id":187554,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:12:19] local.INFO: Acknowledgment sent {"connection_id":187554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:12:25] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:12:25] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:12:25] local.INFO: IMEI packet received {"connection_id":186129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":186129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:12:30] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:12:30] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:12:30] local.INFO: IMEI packet received {"connection_id":186129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":186129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:12:31] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b7730012d18c4c0072141b00044015d27..."} 
[2026-09-18 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b7730012d18c4c0072141b00044015d27..."} 
[2026-09-18 16:12:31] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b7730012d18c4c0072141b00044015d27..."} 
[2026-09-18 16:12:31] local.INFO: Packet analysis {"connection_id":186129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:31] local.INFO: Extracted packet for processing {"connection_id":186129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119620016,"longitude_deg":75.6597952,"latitude_deg":11.9620016,"altitude":68,"angle":349,"satellites":39,"speed":33,"hex_longitude":"2d18c4c0","hex_latitude":"072141b0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170391552001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21387262096834560,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153819648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789728094000,"timestamp_ms":1789728094000,"timestamp_seconds":1789728094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b7730"} 
[2026-09-18 16:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991125230,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503925955821568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3021672864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692673,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4208132096,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751385987850462,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.WARNING: Large IO value detected {"io_id":184,"raw_value":15763999492677888,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,251,160,95,45,192,48,67,35,10,66,87,42,38,64,1,240,153,180,33,4,113,205,214,40,239,55,2,75,7,61,206,120,184],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 16:12:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900285993696952320,"timestamp_seconds":4900285993696952.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170391552001,"66":14265,"121":206,"28":31744,"24":33,"16":21387262096834560,"45":1785325439153819648},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170391552001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:12:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21387262096834560,"km_value":21387262096834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153819648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170391552001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1785325439153819648}} 
[2026-09-18 16:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":186129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:12:31] local.INFO: GPS data processed {"connection_id":186129,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:12:31] local.INFO: Acknowledgment sent {"connection_id":186129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:12:49] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:12:49] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:12:49] local.INFO: Packet analysis {"connection_id":186128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:49] local.INFO: Extracted packet for processing {"connection_id":186128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:12:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:12:49] 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-09-18 16:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:12:49] 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-09-18 16:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:12:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:12:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":186128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:12:49] local.INFO: GPS data processed {"connection_id":186128,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:12:49] local.INFO: Acknowledgment sent {"connection_id":186128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:13:03] local.INFO: TCP Data received {"connection_id":186129,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b8ea0012d18c1c0072154700047014f28..."} 
[2026-09-18 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b8ea0012d18c1c0072154700047014f28..."} 
[2026-09-18 16:13:03] local.INFO: Processing buffer {"connection_id":186129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b8ea0012d18c1c0072154700047014f28..."} 
[2026-09-18 16:13:03] local.INFO: Packet analysis {"connection_id":186129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:03] local.INFO: Extracted packet for processing {"connection_id":186129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":119624816,"longitude_deg":75.6597184,"latitude_deg":11.9624816,"altitude":71,"angle":335,"satellites":40,"speed":30,"hex_longitude":"2d18c1c0","hex_latitude":"07215470","is_valid_coordinates":true} 
[2026-09-18 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170392064001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21387498320035840,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200816128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789728100000,"timestamp_ms":1789728100000,"timestamp_seconds":1789728100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b8ea0"} 
[2026-09-18 16:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 16:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170392064001,"66":13678,"121":206,"28":31744,"24":30,"16":21387498320035840,"45":1784762489200816128},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170392064001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:13:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21387498320035840,"km_value":21387498320035.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200816128,"description":"Unknown IO ID 45"} 
[2026-09-18 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170392064001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784762489200816128}} 
[2026-09-18 16:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":186129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:13:03] local.INFO: GPS data processed {"connection_id":186129,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:13:03] local.INFO: Acknowledgment sent {"connection_id":186129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:13:12] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:12] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:12] local.INFO: IMEI packet received {"connection_id":188879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:13:13] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:13] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:13] local.INFO: IMEI packet received {"connection_id":188879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":188879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:13:15] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:15] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:13:15] local.INFO: IMEI packet received {"connection_id":188879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":188879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:13:16] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41ce660012d0da2000705d4880018008d1b..."} 
[2026-09-18 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41ce660012d0da2000705d4880018008d1b..."} 
[2026-09-18 16:13:16] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41ce660012d0da2000705d4880018008d1b..."} 
[2026-09-18 16:13:16] local.INFO: Packet analysis {"connection_id":188879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41c"} 
[2026-09-18 16:13:16] local.INFO: Extracted packet for processing {"connection_id":188879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41c"} 
[2026-09-18 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117822600,"longitude_deg":75.586816,"latitude_deg":11.78226,"altitude":24,"angle":141,"satellites":27,"speed":15,"hex_longitude":"2d0da200","hex_latitude":"0705d488","is_valid_coordinates":true} 
[2026-09-18 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170415872001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33114816327450624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982066223906138112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789728188000,"timestamp_ms":1789728188000,"timestamp_seconds":1789728188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41ce660"} 
[2026-09-18 16:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170415872001,"66":14428,"167":206,"94":11008,"24":15,"16":33114816327450624,"45":982066223906138112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170415872001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:13:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 16:13:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33114816327450624,"km_value":33114816327450.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":982066223906138112,"description":"Unknown IO ID 45"} 
[2026-09-18 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170415872001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":982066223906138112}} 
[2026-09-18 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":188879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:13:16] local.INFO: GPS data processed {"connection_id":188879,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:13:16] local.INFO: Acknowledgment sent {"connection_id":188879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:13:17] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:13:17] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:13:17] local.INFO: IMEI packet received {"connection_id":186132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":186132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:13:22] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:13:22] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:13:22] local.INFO: IMEI packet received {"connection_id":186132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":186132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:13:22] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:13:22] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:13:22] local.INFO: Packet analysis {"connection_id":186132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:22] local.INFO: Extracted packet for processing {"connection_id":186132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:22] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:22] 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-09-18 16:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:13:22] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:13:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":186132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:13:22] local.INFO: GPS data processed {"connection_id":186132,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:13:22] local.INFO: Acknowledgment sent {"connection_id":186132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:13:24] local.INFO: TCP Data received {"connection_id":187555,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:13:24] local.INFO: Processing buffer {"connection_id":187555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:13:24] local.INFO: IMEI packet received {"connection_id":187555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":187555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:13:30] local.INFO: TCP Data received {"connection_id":187555,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:13:30] local.INFO: Processing buffer {"connection_id":187555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:13:30] local.INFO: IMEI packet received {"connection_id":187555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":187555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:13:31] local.INFO: TCP Data received {"connection_id":187555,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b9670012d18be80072159800048014228..."} 
[2026-09-18 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b9670012d18be80072159800048014228..."} 
[2026-09-18 16:13:31] local.INFO: Processing buffer {"connection_id":187555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b9670012d18be80072159800048014228..."} 
[2026-09-18 16:13:31] local.INFO: Packet analysis {"connection_id":187555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:31] local.INFO: Extracted packet for processing {"connection_id":187555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756596352,"raw_latitude":119626112,"longitude_deg":75.6596352,"latitude_deg":11.9626112,"altitude":72,"angle":322,"satellites":40,"speed":31,"hex_longitude":"2d18be80","hex_latitude":"07215980","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170393600001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21387571334479872,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271912960,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789728102000,"timestamp_ms":1789728102000,"timestamp_seconds":1789728102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b9670"} 
[2026-09-18 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 16:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170393600001,"66":14233,"121":206,"28":31744,"24":31,"16":21387571334479872,"45":1783918064271912960},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170393600001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21387571334479872,"km_value":21387571334479.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271912960,"description":"Unknown IO ID 45"} 
[2026-09-18 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170393600001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1783918064271912960}} 
[2026-09-18 16:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":187555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:13:31] local.INFO: GPS data processed {"connection_id":187555,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:13:31] local.INFO: Acknowledgment sent {"connection_id":187555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:13:53] local.INFO: TCP Data received {"connection_id":186132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:13:53] local.INFO: Processing buffer {"connection_id":186132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:13:53] local.INFO: Packet analysis {"connection_id":186132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:53] local.INFO: Extracted packet for processing {"connection_id":186132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:13:53] 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-09-18 16:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:13:53] 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-09-18 16:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:13:53] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:13:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":186132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:13:53] local.INFO: GPS data processed {"connection_id":186132,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:13:53] local.INFO: Acknowledgment sent {"connection_id":186132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:03] local.INFO: TCP Data received {"connection_id":187555,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41bbd80012d18ab80072172e8004b013327..."} 
[2026-09-18 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41bbd80012d18ab80072172e8004b013327..."} 
[2026-09-18 16:14:03] local.INFO: Processing buffer {"connection_id":187555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41bbd80012d18ab80072172e8004b013327..."} 
[2026-09-18 16:14:03] local.INFO: Packet analysis {"connection_id":187555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:14:03] local.INFO: Extracted packet for processing {"connection_id":187555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632616,"longitude_deg":75.6591488,"latitude_deg":11.9632616,"altitude":75,"angle":307,"satellites":39,"speed":30,"hex_longitude":"2d18ab80","hex_latitude":"072172e8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170394112001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21387966471471104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783003270597935104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789728112000,"timestamp_ms":1789728112000,"timestamp_seconds":1789728112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41bbd80"} 
[2026-09-18 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 16:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170394112001,"66":14157,"121":206,"28":31744,"24":30,"16":21387966471471104,"45":1783003270597935104},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170394112001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21387966471471104,"km_value":21387966471471.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783003270597935104,"description":"Unknown IO ID 45"} 
[2026-09-18 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170394112001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1783003270597935104}} 
[2026-09-18 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":187555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:14:03] local.INFO: GPS data processed {"connection_id":187555,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:14:03] local.INFO: Acknowledgment sent {"connection_id":187555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:07] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:07] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:07] local.INFO: IMEI packet received {"connection_id":188880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":188880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:14:10] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:14:10] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:14:10] local.INFO: IMEI packet received {"connection_id":186275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:14:12] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:14:12] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:14:12] local.INFO: IMEI packet received {"connection_id":188881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":188881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:14:12] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:12] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:12] local.INFO: IMEI packet received {"connection_id":188880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":188880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:14:13] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41d7ad0012d0da2c00705bbf8001700b11d..."} 
[2026-09-18 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41d7ad0012d0da2c00705bbf8001700b11d..."} 
[2026-09-18 16:14:13] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41d7ad0012d0da2c00705bbf8001700b11d..."} 
[2026-09-18 16:14:13] local.INFO: Packet analysis {"connection_id":188880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:14:13] local.INFO: Extracted packet for processing {"connection_id":188880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117816312,"longitude_deg":75.5868352,"latitude_deg":11.7816312,"altitude":23,"angle":177,"satellites":29,"speed":11,"hex_longitude":"2d0da2c0","hex_latitude":"0705bbf8","is_valid_coordinates":true} 
[2026-09-18 16:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170425088001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33115134155030528,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911346417664,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789728226000,"timestamp_ms":1789728226000,"timestamp_seconds":1789728226,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41d7ad0"} 
[2026-09-18 16:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 16:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170425088001,"66":14439,"167":206,"94":11008,"24":11,"16":33115134155030528,"45":982769911346417664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-18 16:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170425088001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:14:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-18 16:14:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33115134155030528,"km_value":33115134155030.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911346417664,"description":"Unknown IO ID 45"} 
[2026-09-18 16:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170425088001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":982769911346417664}} 
[2026-09-18 16:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":188880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861374,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:14:13] local.INFO: GPS data processed {"connection_id":188880,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:14:13] local.INFO: Acknowledgment sent {"connection_id":188880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:17] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:14:17] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:14:17] local.INFO: IMEI packet received {"connection_id":188881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":188881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:14:18] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:14:18] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:14:18] local.INFO: Packet analysis {"connection_id":188881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:14:18] local.INFO: Extracted packet for processing {"connection_id":188881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:18] 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-09-18 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:14:18] 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-09-18 16:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:14:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:14:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":188881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:14:18] local.INFO: GPS data processed {"connection_id":188881,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:14:18] local.INFO: Acknowledgment sent {"connection_id":188881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:21] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:21] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:21] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:14:22] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:22] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:22] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:14:24] local.INFO: TCP Data received {"connection_id":188882,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:14:24] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:14:24] local.INFO: IMEI packet received {"connection_id":188882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":188882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:14:26] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:26] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:14:26] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:14:27] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41d9628012d79d68005e5b5c8000500bd28..."} 
[2026-09-18 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41d9628012d79d68005e5b5c8000500bd28..."} 
[2026-09-18 16:14:27] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41d9628012d79d68005e5b5c8000500bd28..."} 
[2026-09-18 16:14:27] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:14:27] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":762959488,"raw_latitude":98940360,"longitude_deg":76.2959488,"latitude_deg":9.894036,"altitude":5,"angle":189,"satellites":40,"speed":10,"hex_longitude":"2d79d680","hex_latitude":"05e5b5c8","is_valid_coordinates":true} 
[2026-09-18 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170427392001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134754246724681728,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779345286422511616,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789728233000,"timestamp_ms":1789728233000,"timestamp_seconds":1789728233,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41d9628"} 
[2026-09-18 16:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 16:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170427392001,"66":12982,"182":206,"87":13824,"24":10,"16":134754246724681728,"45":8779345286422511616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 16:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170427392001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:14:27] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 16:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 16:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134754246724681728,"km_value":134754246724681.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779345286422511616,"description":"Unknown IO ID 45"} 
[2026-09-18 16:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170427392001,"power":12982,"unknown_182":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8779345286422511616}} 
[2026-09-18 16:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:14:27] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:14:27] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:29] local.INFO: TCP Data received {"connection_id":188882,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:14:29] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:14:29] local.INFO: IMEI packet received {"connection_id":188882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":188882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:14:30] local.INFO: TCP Data received {"connection_id":188882,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41d3c50012d181e000721a768004b016427..."} 
[2026-09-18 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41d3c50012d181e000721a768004b016427..."} 
[2026-09-18 16:14:30] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41d3c50012d181e000721a768004b016427..."} 
[2026-09-18 16:14:30] local.INFO: Packet analysis {"connection_id":188882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:14:30] local.INFO: Extracted packet for processing {"connection_id":188882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646056,"longitude_deg":75.6555264,"latitude_deg":11.9646056,"altitude":75,"angle":356,"satellites":39,"speed":4,"hex_longitude":"2d181e00","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170421504001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21389851962114048,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840945664,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789728210000,"timestamp_ms":1789728210000,"timestamp_seconds":1789728210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41d3c50"} 
[2026-09-18 16:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-18 16:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170421504001,"66":14157,"120":206,"28":31744,"24":4,"16":21389851962114048,"45":1737826536840945664},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 16:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170421504001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21389851962114048,"km_value":21389851962114.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840945664,"description":"Unknown IO ID 45"} 
[2026-09-18 16:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170421504001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737826536840945664}} 
[2026-09-18 16:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":188882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:14:30] local.INFO: GPS data processed {"connection_id":188882,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:14:30] local.INFO: Acknowledgment sent {"connection_id":188882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:49] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:14:49] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:14:49] local.INFO: Packet analysis {"connection_id":188881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:14:49] local.INFO: Extracted packet for processing {"connection_id":188881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:14:49] 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-09-18 16:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:14:49] 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-09-18 16:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:14:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:14:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":188881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:14:49] local.INFO: GPS data processed {"connection_id":188881,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:14:49] local.INFO: Acknowledgment sent {"connection_id":188881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:14:54] local.INFO: TCP Data received {"connection_id":188883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:54] local.INFO: Processing buffer {"connection_id":188883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:54] local.INFO: IMEI packet received {"connection_id":188883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":188883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:14:56] local.INFO: TCP Data received {"connection_id":188883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:56] local.INFO: Processing buffer {"connection_id":188883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:56] local.INFO: IMEI packet received {"connection_id":188883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":188883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:14:57] local.INFO: TCP Data received {"connection_id":188883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:57] local.INFO: Processing buffer {"connection_id":188883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:14:57] local.INFO: IMEI packet received {"connection_id":188883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":188883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:15:00] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41da9b0012d79d64005e5acf8000600b129..."} 
[2026-09-18 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41da9b0012d79d64005e5acf8000600b129..."} 
[2026-09-18 16:15:00] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41da9b0012d79d64005e5acf8000600b129..."} 
[2026-09-18 16:15:00] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:00] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98938104,"longitude_deg":76.2959424,"latitude_deg":9.8938104,"altitude":6,"angle":177,"satellites":41,"speed":24,"hex_longitude":"2d79d640","hex_latitude":"05e5acf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170427648001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134754358393831424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779345286422448128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789728238000,"timestamp_ms":1789728238000,"timestamp_seconds":1789728238,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41da9b0"} 
[2026-09-18 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-09-18 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 16:15: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-09-18 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-09-18 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-09-18 16:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170427648001,"66":13602,"182":206,"87":13824,"24":24,"16":134754358393831424,"45":8779345286422448128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-18 16:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170427648001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:15:00] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-18 16:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-18 16:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134754358393831424,"km_value":134754358393831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779345286422448128,"description":"Unknown IO ID 45"} 
[2026-09-18 16:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170427648001,"power":13602,"unknown_182":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8779345286422448128}} 
[2026-09-18 16:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:15:00] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:15:00] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:15:02] local.INFO: TCP Data received {"connection_id":188882,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41d4038012d181e400721a7e0004b002d28..."} 
[2026-09-18 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41d4038012d181e400721a7e0004b002d28..."} 
[2026-09-18 16:15:02] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41d4038012d181e400721a7e0004b002d28..."} 
[2026-09-18 16:15:02] local.INFO: Packet analysis {"connection_id":188882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:02] local.INFO: Extracted packet for processing {"connection_id":188882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646176,"longitude_deg":75.6555328,"latitude_deg":11.9646176,"altitude":75,"angle":45,"satellites":40,"speed":8,"hex_longitude":"2d181e40","hex_latitude":"0721a7e0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170421760001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21389860552048640,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840980480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789728211000,"timestamp_ms":1789728211000,"timestamp_seconds":1789728211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41d4038"} 
[2026-09-18 16:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 16:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170421760001,"66":14157,"120":206,"28":31744,"24":8,"16":21389860552048640,"45":1737826536840980480},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170421760001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21389860552048640,"km_value":21389860552048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840980480,"description":"Unknown IO ID 45"} 
[2026-09-18 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170421760001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737826536840980480}} 
[2026-09-18 16:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":188882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:15:02] local.INFO: GPS data processed {"connection_id":188882,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:15:02] local.INFO: Acknowledgment sent {"connection_id":188882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:15:11] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:15:11] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:15:11] local.INFO: IMEI packet received {"connection_id":188884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":188884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:15:17] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:15:17] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:15:17] local.INFO: IMEI packet received {"connection_id":188884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:15:18] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:15:18] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:15:18] local.INFO: Packet analysis {"connection_id":188884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:15:18] local.INFO: Extracted packet for processing {"connection_id":188884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:18] 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-09-18 16:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:15:18] 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-09-18 16:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:15:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:15:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:15:18] local.INFO: GPS data processed {"connection_id":188884,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:15:18] local.INFO: Acknowledgment sent {"connection_id":188884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:15:27] local.INFO: TCP Data received {"connection_id":186277,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:15:27] local.INFO: Processing buffer {"connection_id":186277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:15:27] local.INFO: IMEI packet received {"connection_id":186277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":186277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:15:28] local.INFO: TCP Data received {"connection_id":187556,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:28] local.INFO: Processing buffer {"connection_id":187556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:28] local.INFO: IMEI packet received {"connection_id":187556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":187556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:15:29] local.INFO: TCP Data received {"connection_id":187556,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:29] local.INFO: Processing buffer {"connection_id":187556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:29] local.INFO: IMEI packet received {"connection_id":187556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":187556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:15:32] local.INFO: TCP Data received {"connection_id":187556,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:32] local.INFO: Processing buffer {"connection_id":187556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:15:32] local.INFO: IMEI packet received {"connection_id":187556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":187556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:15:33] local.INFO: TCP Data received {"connection_id":187556,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41d4420012d181ec00721a818004b005626..."} 
[2026-09-18 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41d4420012d181ec00721a818004b005626..."} 
[2026-09-18 16:15:33] local.INFO: Processing buffer {"connection_id":187556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41d4420012d181ec00721a818004b005626..."} 
[2026-09-18 16:15:33] local.INFO: Packet analysis {"connection_id":187556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:33] local.INFO: Extracted packet for processing {"connection_id":187556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646232,"longitude_deg":75.6555456,"latitude_deg":11.9646232,"altitude":75,"angle":86,"satellites":38,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170422016001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21389869141983232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585188864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789728212000,"timestamp_ms":1789728212000,"timestamp_seconds":1789728212,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41d4420"} 
[2026-09-18 16:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 16:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170422016001,"66":14428,"120":206,"28":31744,"24":7,"16":21389869141983232,"45":1737896905585188864},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170422016001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:15:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21389869141983232,"km_value":21389869141983.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585188864,"description":"Unknown IO ID 45"} 
[2026-09-18 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170422016001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737896905585188864}} 
[2026-09-18 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":187556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:15:33] local.INFO: GPS data processed {"connection_id":187556,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:15:33] local.INFO: Acknowledgment sent {"connection_id":187556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:15:35] local.INFO: TCP Data received {"connection_id":187556,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41d4808012d181fc00721a7c8004b007c28..."} 
[2026-09-18 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41d4808012d181fc00721a7c8004b007c28..."} 
[2026-09-18 16:15:35] local.INFO: Processing buffer {"connection_id":187556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41d4808012d181fc00721a7c8004b007c28..."} 
[2026-09-18 16:15:35] local.INFO: Packet analysis {"connection_id":187556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:35] local.INFO: Extracted packet for processing {"connection_id":187556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41d"} 
[2026-09-18 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119646152,"longitude_deg":75.6555712,"latitude_deg":11.9646152,"altitude":75,"angle":124,"satellites":40,"speed":8,"hex_longitude":"2d181fc0","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170422272001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21389877731917824,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073558528,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789728213000,"timestamp_ms":1789728213000,"timestamp_seconds":1789728213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41d4808"} 
[2026-09-18 16:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170422272001,"66":14428,"120":206,"28":31744,"24":8,"16":21389877731917824,"45":1738037643073558528},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-18 16:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170422272001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21389877731917824,"km_value":21389877731917.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073558528,"description":"Unknown IO ID 45"} 
[2026-09-18 16:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170422272001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738037643073558528}} 
[2026-09-18 16:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":187556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:15:35] local.INFO: GPS data processed {"connection_id":187556,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:15:35] local.INFO: Acknowledgment sent {"connection_id":187556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:15:49] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:15:49] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:15:49] local.INFO: Packet analysis {"connection_id":188884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:15:49] local.INFO: Extracted packet for processing {"connection_id":188884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:15:49] 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-09-18 16:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:15:49] 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-09-18 16:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:15:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:15:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":188884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:15:49] local.INFO: GPS data processed {"connection_id":188884,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:15:49] local.INFO: Acknowledgment sent {"connection_id":188884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:16:07] local.INFO: TCP Data received {"connection_id":187556,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41ee618012d18d20007212908004200a228..."} 
[2026-09-18 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41ee618012d18d20007212908004200a228..."} 
[2026-09-18 16:16:07] local.INFO: Processing buffer {"connection_id":187556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41ee618012d18d20007212908004200a228..."} 
[2026-09-18 16:16:07] local.INFO: Packet analysis {"connection_id":187556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41e"} 
[2026-09-18 16:16:07] local.INFO: Extracted packet for processing {"connection_id":187556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41e"} 
[2026-09-18 16:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613704,"longitude_deg":75.6601344,"latitude_deg":11.9613704,"altitude":66,"angle":162,"satellites":40,"speed":39,"hex_longitude":"2d18d200","hex_latitude":"07212908","is_valid_coordinates":true} 
[2026-09-18 16:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170448640001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21392811194580992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339060355072,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789728319000,"timestamp_ms":1789728319000,"timestamp_seconds":1789728319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41ee618"} 
[2026-09-18 16:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 16:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170448640001,"66":14461,"121":206,"28":31744,"24":39,"16":21392811194580992,"45":1786451339060355072},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170448640001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:16:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21392811194580992,"km_value":21392811194580.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339060355072,"description":"Unknown IO ID 45"} 
[2026-09-18 16:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170448640001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1786451339060355072}} 
[2026-09-18 16:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":187556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:16:07] local.INFO: GPS data processed {"connection_id":187556,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:16:07] local.INFO: Acknowledgment sent {"connection_id":187556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:16:12] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:16:12] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:16:12] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:16:17] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:16:17] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:16:17] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:16:18] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:16:18] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:16:18] local.INFO: Packet analysis {"connection_id":186279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:16:18] local.INFO: Extracted packet for processing {"connection_id":186279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:18] 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-09-18 16:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:16:18] 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-09-18 16:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:16:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:16:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":186279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:16:18] local.INFO: GPS data processed {"connection_id":186279,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:16:18] local.INFO: Acknowledgment sent {"connection_id":186279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:16:22] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:22] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:22] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:16:24] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:24] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:24] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:16:25] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:25] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:25] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:16:30] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:30] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:16:30] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:16:34] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41ef1d0012d18d28007211d60004100b527..."} 
[2026-09-18 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41ef1d0012d18d28007211d60004100b527..."} 
[2026-09-18 16:16:34] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41ef1d0012d18d28007211d60004100b527..."} 
[2026-09-18 16:16:34] local.INFO: Packet analysis {"connection_id":186133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41e"} 
[2026-09-18 16:16:34] local.INFO: Extracted packet for processing {"connection_id":186133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41e"} 
[2026-09-18 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119610720,"longitude_deg":75.6601472,"latitude_deg":11.961072,"altitude":65,"angle":181,"satellites":39,"speed":40,"hex_longitude":"2d18d280","hex_latitude":"07211d60","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170449664001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21392957223469056,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640616448,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789728322000,"timestamp_ms":1789728322000,"timestamp_seconds":1789728322,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41ef1d0"} 
[2026-09-18 16:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 16:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170449664001,"66":14352,"121":206,"28":31744,"24":40,"16":21392957223469056,"45":1788492032640616448},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170449664001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21392957223469056,"km_value":21392957223469.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640616448,"description":"Unknown IO ID 45"} 
[2026-09-18 16:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170449664001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1788492032640616448}} 
[2026-09-18 16:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":186133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:16:34] local.INFO: GPS data processed {"connection_id":186133,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:16:34] local.INFO: Acknowledgment sent {"connection_id":186133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:16:39] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41f0940012d18d3c007210b58003f00a826..."} 
[2026-09-18 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41f0940012d18d3c007210b58003f00a826..."} 
[2026-09-18 16:16:39] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41f0940012d18d3c007210b58003f00a826..."} 
[2026-09-18 16:16:39] local.INFO: Packet analysis {"connection_id":186133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:16:39] local.INFO: Extracted packet for processing {"connection_id":186133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119606104,"longitude_deg":75.6601792,"latitude_deg":11.9606104,"altitude":63,"angle":168,"satellites":38,"speed":22,"hex_longitude":"2d18d3c0","hex_latitude":"07210b58","is_valid_coordinates":true} 
[2026-09-18 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170450432001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21393184856735744,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128207872,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789728328000,"timestamp_ms":1789728328000,"timestamp_seconds":1789728328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41f0940"} 
[2026-09-18 16:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-6809434796271861686,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84751104667492720,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3021904864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184874873,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6341332162427814144,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221692752,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.WARNING: Large IO value detected {"io_id":248,"raw_value":20548232266392576,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,160,230,45,41,66,40,10,214,192,54,68,206,64,1,240,131,180,33,4,113,205,39,187,196,239,56,2,76,7,72,248],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 16:16:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683942791576289280,"timestamp_seconds":4683942791576289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170450432001,"66":14396,"121":206,"28":31744,"24":22,"16":21393184856735744,"45":1788632770128207872},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170450432001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21393184856735744,"km_value":21393184856735.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128207872,"description":"Unknown IO ID 45"} 
[2026-09-18 16:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170450432001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1788632770128207872}} 
[2026-09-18 16:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":186133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:16:39] local.INFO: GPS data processed {"connection_id":186133,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:16:39] local.INFO: Acknowledgment sent {"connection_id":186133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:16:50] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:16:50] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41b4080012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:16:50] local.INFO: Packet analysis {"connection_id":186279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:16:50] local.INFO: Extracted packet for processing {"connection_id":186279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41b"} 
[2026-09-18 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170311424001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:16:50] 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-09-18 16:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789728080000,"timestamp_ms":1789728080000,"timestamp_seconds":1789728080,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41b4080"} 
[2026-09-18 16:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 16:16:50] 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-09-18 16:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170311424001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170311424001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:16:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:16:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170311424001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":186279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:16:50] local.INFO: GPS data processed {"connection_id":186279,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:16:50] local.INFO: Acknowledgment sent {"connection_id":186279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:17:11] local.INFO: TCP Data received {"connection_id":186133,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41f18e0012d18d78007210088003f009d28..."} 
[2026-09-18 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41f18e0012d18d78007210088003f009d28..."} 
[2026-09-18 16:17:11] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41f18e0012d18d78007210088003f009d28..."} 
[2026-09-18 16:17:11] local.INFO: Packet analysis {"connection_id":186133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:11] local.INFO: Extracted packet for processing {"connection_id":186133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603336,"longitude_deg":75.6602752,"latitude_deg":11.9603336,"altitude":63,"angle":157,"satellites":40,"speed":34,"hex_longitude":"2d18d780","hex_latitude":"07210088","is_valid_coordinates":true} 
[2026-09-18 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170451968001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21393326590656512,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847914496,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789728332000,"timestamp_ms":1789728332000,"timestamp_seconds":1789728332,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41f18e0"} 
[2026-09-18 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170451968001,"66":14352,"121":206,"28":31744,"24":34,"16":21393326590656512,"45":1788984613847914496},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170451968001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:17:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21393326590656512,"km_value":21393326590656.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847914496,"description":"Unknown IO ID 45"} 
[2026-09-18 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170451968001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1788984613847914496}} 
[2026-09-18 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":186133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:17:11] local.INFO: GPS data processed {"connection_id":186133,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:17:11] local.INFO: Acknowledgment sent {"connection_id":186133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:17:17] local.INFO: TCP Data received {"connection_id":188885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:17:17] local.INFO: Processing buffer {"connection_id":188885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:17:17] local.INFO: IMEI packet received {"connection_id":188885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":188885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:17:22] local.INFO: TCP Data received {"connection_id":188885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:17:22] local.INFO: Processing buffer {"connection_id":188885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:17:22] local.INFO: IMEI packet received {"connection_id":188885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":188885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:17:23] local.INFO: TCP Data received {"connection_id":188885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:17:23] local.INFO: Processing buffer {"connection_id":188885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:17:23] local.INFO: Packet analysis {"connection_id":188885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:23] local.INFO: Extracted packet for processing {"connection_id":188885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:23] 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-09-18 16:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:17:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:17:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":188885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:17:24] local.INFO: GPS data processed {"connection_id":188885,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:17:24] local.INFO: Acknowledgment sent {"connection_id":188885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:17:25] local.INFO: TCP Data received {"connection_id":186280,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:25] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:25] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:17:25] local.INFO: TCP Data received {"connection_id":186280,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:25] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:25] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:17:27] local.INFO: TCP Data received {"connection_id":186280,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:27] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:17:27] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:17:27] local.INFO: TCP Data received {"connection_id":188885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:17:27] local.INFO: Processing buffer {"connection_id":188885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:17:27] local.INFO: Packet analysis {"connection_id":188885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:27] local.INFO: Extracted packet for processing {"connection_id":188885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:27] 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-09-18 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:17: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-09-18 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:17: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-09-18 16:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":188885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:17:27] local.INFO: GPS data processed {"connection_id":188885,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:17:27] local.INFO: Acknowledgment sent {"connection_id":188885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:17:28] local.INFO: TCP Data received {"connection_id":186280,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d198c000720b3900035005d22..."} 
[2026-09-18 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d198c000720b3900035005d22..."} 
[2026-09-18 16:17:28] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d198c000720b3900035005d22..."} 
[2026-09-18 16:17:28] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:28] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583632,"longitude_deg":75.664896,"latitude_deg":11.9583632,"altitude":53,"angle":93,"satellites":34,"speed":28,"hex_longitude":"2d198c00","hex_latitude":"0720b390","is_valid_coordinates":true} 
[2026-09-18 16:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170462976001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21395920750903296,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172906504192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":16607616985738496,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503926075359232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3021951864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3028811824,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84751410683912409,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:28] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,3,160,157,45,128,171,48,36,10,66,2,145,64,174,47,38,134,1,240,92,180,32,4,113,205,50,106,25,136,37,239,56,76,7,58,42,206,192],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-18 16:17:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458854819805331456,"timestamp_seconds":3458854819805331.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170462976001,"66":14363,"121":206,"28":31744,"24":28,"16":21395920750903296,"45":1830502172906504192},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170462976001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:17:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:17:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21395920750903296,"km_value":21395920750903.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172906504192,"description":"Unknown IO ID 45"} 
[2026-09-18 16:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170462976001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1830502172906504192}} 
[2026-09-18 16:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:17:28] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:17:28] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:17:30] local.INFO: TCP Data received {"connection_id":186280,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4200340012d19af000720b0080035006c26..."} 
[2026-09-18 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4200340012d19af000720b0080035006c26..."} 
[2026-09-18 16:17:30] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4200340012d19af000720b0080035006c26..."} 
[2026-09-18 16:17:30] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b420"} 
[2026-09-18 16:17:30] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b420"} 
[2026-09-18 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119582728,"longitude_deg":75.665792,"latitude_deg":11.9582728,"altitude":53,"angle":108,"satellites":38,"speed":36,"hex_longitude":"2d19af00","hex_latitude":"0720b008","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170465536001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21396350247632896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301100032,"note":"Value kept but may cause issues"} 
[2026-09-18 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789728392000,"timestamp_ms":1789728392000,"timestamp_seconds":1789728392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4200340"} 
[2026-09-18 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 16:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170465536001,"66":14298,"121":206,"28":31744,"24":36,"16":21396350247632896,"45":1840846378301100032},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170465536001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21396350247632896,"km_value":21396350247632.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301100032,"description":"Unknown IO ID 45"} 
[2026-09-18 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170465536001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1840846378301100032}} 
[2026-09-18 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:17:30] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:17:30] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:18:01] local.INFO: TCP Data received {"connection_id":186280,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b420af20012d19cb8007201bd0002e009726..."} 
[2026-09-18 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b420af20012d19cb8007201bd0002e009726..."} 
[2026-09-18 16:18:01] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b420af20012d19cb8007201bd0002e009726..."} 
[2026-09-18 16:18:01] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b420"} 
[2026-09-18 16:18:01] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b420"} 
[2026-09-18 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119544784,"longitude_deg":75.6665216,"latitude_deg":11.9544784,"altitude":46,"angle":151,"satellites":38,"speed":39,"hex_longitude":"2d19cb80","hex_latitude":"07201bd0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170477568001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21398398947033088,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855201602105378816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789728436000,"timestamp_ms":1789728436000,"timestamp_seconds":1789728436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b420af20"} 
[2026-09-18 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-09-18 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 16:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170477568001,"66":14363,"121":206,"28":31744,"24":39,"16":21398398947033088,"45":1855201602105378816},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170477568001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:18:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:18:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21398398947033088,"km_value":21398398947033.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855201602105378816,"description":"Unknown IO ID 45"} 
[2026-09-18 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170477568001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1855201602105378816}} 
[2026-09-18 16:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:18:01] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:18:01] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:18:12] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:18:12] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:18:12] local.INFO: IMEI packet received {"connection_id":186134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":186134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:18:17] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:18:17] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:18:17] local.INFO: IMEI packet received {"connection_id":186134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":186134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:18:18] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:18:18] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:18:18] local.INFO: Packet analysis {"connection_id":186134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:18:18] local.INFO: Extracted packet for processing {"connection_id":186134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:18:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:18] 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-09-18 16:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:18:18] 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-09-18 16:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:18:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:18:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":186134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:18:18] local.INFO: GPS data processed {"connection_id":186134,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:18:18] local.INFO: Acknowledgment sent {"connection_id":186134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:18:23] local.INFO: TCP Data received {"connection_id":187559,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:23] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:23] local.INFO: IMEI packet received {"connection_id":187559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":187559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:18:24] local.INFO: TCP Data received {"connection_id":187559,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:24] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:24] local.INFO: IMEI packet received {"connection_id":187559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":187559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:18:30] local.INFO: TCP Data received {"connection_id":187559,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:30] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:18:30] local.INFO: IMEI packet received {"connection_id":187559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":187559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:18:35] local.INFO: TCP Data received {"connection_id":187559,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b420b6f0012d19d00007201570002f008c26..."} 
[2026-09-18 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b420b6f0012d19d00007201570002f008c26..."} 
[2026-09-18 16:18:35] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b420b6f0012d19d00007201570002f008c26..."} 
[2026-09-18 16:18:35] local.INFO: Packet analysis {"connection_id":187559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b420"} 
[2026-09-18 16:18:35] local.INFO: Extracted packet for processing {"connection_id":187559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b420"} 
[2026-09-18 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756666368,"raw_latitude":119543152,"longitude_deg":75.6666368,"latitude_deg":11.9543152,"altitude":47,"angle":140,"satellites":38,"speed":38,"hex_longitude":"2d19d000","hex_latitude":"07201570","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170479616001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21398493436313600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039312281600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789728438000,"timestamp_ms":1789728438000,"timestamp_seconds":1789728438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b420b6f0"} 
[2026-09-18 16:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 16:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170479616001,"66":14363,"121":206,"28":31744,"24":38,"16":21398493436313600,"45":1858720039312281600},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170479616001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:18:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21398493436313600,"km_value":21398493436313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039312281600,"description":"Unknown IO ID 45"} 
[2026-09-18 16:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170479616001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1858720039312281600}} 
[2026-09-18 16:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":187559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:18:35] local.INFO: GPS data processed {"connection_id":187559,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:18:35] local.INFO: Acknowledgment sent {"connection_id":187559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:18:49] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:18:49] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:18:49] local.INFO: Packet analysis {"connection_id":186134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:18:49] local.INFO: Extracted packet for processing {"connection_id":186134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:18:49] 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-09-18 16:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:18:49] 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-09-18 16:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:18:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:18:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":186134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:18:49] local.INFO: GPS data processed {"connection_id":186134,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:18:49] local.INFO: Acknowledgment sent {"connection_id":186134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:19:09] local.INFO: TCP Data received {"connection_id":187559,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4217270012d1a74c0071fd3300032008726..."} 
[2026-09-18 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4217270012d1a74c0071fd3300032008726..."} 
[2026-09-18 16:19:09] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4217270012d1a74c0071fd3300032008726..."} 
[2026-09-18 16:19:09] local.INFO: Packet analysis {"connection_id":187559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b421"} 
[2026-09-18 16:19:09] local.INFO: Extracted packet for processing {"connection_id":187559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b421"} 
[2026-09-18 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119526192,"longitude_deg":75.6708544,"latitude_deg":11.9526192,"altitude":50,"angle":135,"satellites":38,"speed":35,"hex_longitude":"2d1a74c0","hex_latitude":"071fd330","is_valid_coordinates":true} 
[2026-09-18 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170491904001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21400726819307520,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904881935488370688,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789728486000,"timestamp_ms":1789728486000,"timestamp_seconds":1789728486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4217270"} 
[2026-09-18 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170491904001,"66":13537,"121":206,"28":31744,"24":35,"16":21400726819307520,"45":1904881935488370688},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170491904001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:19:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21400726819307520,"km_value":21400726819307.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904881935488370688,"description":"Unknown IO ID 45"} 
[2026-09-18 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170491904001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1904881935488370688}} 
[2026-09-18 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":187559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:19:09] local.INFO: GPS data processed {"connection_id":187559,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:19:09] local.INFO: Acknowledgment sent {"connection_id":187559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:19:12] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:19:12] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:19:12] local.INFO: IMEI packet received {"connection_id":187560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":187560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:19:16] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:19:16] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:19:16] local.INFO: IMEI packet received {"connection_id":187560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":187560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:19:18] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:19:18] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:19:18] local.INFO: Packet analysis {"connection_id":187560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:19:18] local.INFO: Extracted packet for processing {"connection_id":187560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:18] 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-09-18 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:19:18] 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-09-18 16:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:19:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:19:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":187560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:19:18] local.INFO: GPS data processed {"connection_id":187560,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:19:18] local.INFO: Acknowledgment sent {"connection_id":187560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:19:24] local.INFO: TCP Data received {"connection_id":186281,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:19:24] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:19:24] local.INFO: IMEI packet received {"connection_id":186281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":186281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:19:29] local.INFO: TCP Data received {"connection_id":186281,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:19:29] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:19:29] local.INFO: IMEI packet received {"connection_id":186281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":186281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:19:37] local.INFO: TCP Data received {"connection_id":186281,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4217e28012d1a7ac0071fcb180034009524..."} 
[2026-09-18 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4217e28012d1a7ac0071fcb180034009524..."} 
[2026-09-18 16:19:37] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4217e28012d1a7ac0071fcb180034009524..."} 
[2026-09-18 16:19:37] local.INFO: Packet analysis {"connection_id":186281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b421"} 
[2026-09-18 16:19:37] local.INFO: Extracted packet for processing {"connection_id":186281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b421"} 
[2026-09-18 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756710080,"raw_latitude":119524120,"longitude_deg":75.671008,"latitude_deg":11.952412,"altitude":52,"angle":149,"satellites":36,"speed":34,"hex_longitude":"2d1a7ac0","hex_latitude":"071fcb18","is_valid_coordinates":true} 
[2026-09-18 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170492416001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21400851373359104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679115800576,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789728489000,"timestamp_ms":1789728489000,"timestamp_seconds":1789728489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4217e28"} 
[2026-09-18 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 16:19:37] 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-09-18 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170492416001,"66":13906,"121":206,"28":31744,"24":34,"16":21400851373359104,"45":1906359679115800576},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170492416001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21400851373359104,"km_value":21400851373359.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679115800576,"description":"Unknown IO ID 45"} 
[2026-09-18 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170492416001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1906359679115800576}} 
[2026-09-18 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":186281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:19:37] local.INFO: GPS data processed {"connection_id":186281,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:19:37] local.INFO: Acknowledgment sent {"connection_id":186281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:19:47] local.INFO: TCP Data received {"connection_id":187558,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:19:47] local.INFO: Processing buffer {"connection_id":187558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:19:47] local.INFO: IMEI packet received {"connection_id":187558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":187558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:19:50] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:19:50] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:19:50] local.INFO: Packet analysis {"connection_id":187560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:19:50] local.INFO: Extracted packet for processing {"connection_id":187560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:19:50] 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-09-18 16:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:19:50] 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-09-18 16:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:19:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:19:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":187560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:19:50] local.INFO: GPS data processed {"connection_id":187560,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:19:50] local.INFO: Acknowledgment sent {"connection_id":187560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:20:09] local.INFO: TCP Data received {"connection_id":186281,"ip":"117.225.196.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0b421a920012d1a8fc0071facf00037008a23..."} 
[2026-09-18 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b421a920012d1a8fc0071facf00037008a23..."} 
[2026-09-18 16:20:09] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b421a920012d1a8fc0071facf00037008a23..."} 
[2026-09-18 16:20:09] local.INFO: Packet analysis {"connection_id":186281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b421"} 
[2026-09-18 16:20:09] local.INFO: Extracted packet for processing {"connection_id":186281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b421"} 
[2026-09-18 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756715456,"raw_latitude":119516400,"longitude_deg":75.6715456,"latitude_deg":11.95164,"altitude":55,"angle":138,"satellites":35,"speed":32,"hex_longitude":"2d1a8fc0","hex_latitude":"071facf0","is_valid_coordinates":true} 
[2026-09-18 16:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170493184001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21401306639892480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908048528975534080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789728500000,"timestamp_ms":1789728500000,"timestamp_seconds":1789728500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b421a920"} 
[2026-09-18 16:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-18 16:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.196.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170493184001,"66":14080,"121":206,"28":31744,"24":32,"16":21401306639892480,"45":1908048528975534080},"client_ip":"117.225.196.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-18 16:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170493184001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:20:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-18 16:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-18 16:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21401306639892480,"km_value":21401306639892.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908048528975534080,"description":"Unknown IO ID 45"} 
[2026-09-18 16:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170493184001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1908048528975534080}} 
[2026-09-18 16:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":186281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:20:09] local.INFO: GPS data processed {"connection_id":186281,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:20:09] local.INFO: Acknowledgment sent {"connection_id":186281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:20:11] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:20:11] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:20:11] local.INFO: IMEI packet received {"connection_id":188886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":188886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:20:13] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:20:13] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:20:13] local.INFO: IMEI packet received {"connection_id":188887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:20:17] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:20:17] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:20:17] local.INFO: IMEI packet received {"connection_id":188886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":188886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:20:18] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:20:18] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:20:18] local.INFO: Packet analysis {"connection_id":188886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:20:18] local.INFO: Extracted packet for processing {"connection_id":188886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:18] 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-09-18 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:20:18] 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-09-18 16:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:20:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:20:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":188886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:20:18] local.INFO: GPS data processed {"connection_id":188886,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:20:18] local.INFO: Acknowledgment sent {"connection_id":188886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:20:19] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:20:19] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:20:19] local.INFO: IMEI packet received {"connection_id":188887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:20:19] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:20:19] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:20:19] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:20:19] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:20:19] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855664,"longitude_deg":76.2977344,"latitude_deg":9.8855664,"altitude":22,"angle":113,"satellites":28,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46af0","is_valid_coordinates":true} 
[2026-09-18 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491279360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 16:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789728580000,"timestamp_ms":1789728580000,"timestamp_seconds":1789728580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422e1a0"} 
[2026-09-18 16:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3653159265661143552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":195,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5466756488839202270,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:19] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,95,87,24,241,157,16,195,160,143,45,192,105,11,43,10,66,107,12,240,110,227],"length":327,"final_offset":457,"validated_count":22,"validation_warnings":[]} 
[2026-09-18 16:20:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792920691635650800,"timestamp_seconds":792920691635650.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:20: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-09-18 16:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170511104001,"66":2775,"24":0,"16":134759516649553920,"45":8799400378491279360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 16:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491279360,"description":"Unknown IO ID 45"} 
[2026-09-18 16:20:19] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458170511104001,"power":2775,"ignition":0,"odometer":null,"unknown_45":8799400378491279360}} 
[2026-09-18 16:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:20:19] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:20:19] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:20:32] local.INFO: TCP Data received {"connection_id":187562,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:20:32] local.INFO: Processing buffer {"connection_id":187562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:20:32] local.INFO: IMEI packet received {"connection_id":187562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":187562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:20:32] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:20:32] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:20:32] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:20:33] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422f910012d0dccc00706f4e0002500101c..."} 
[2026-09-18 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422f910012d0dccc00706f4e0002500101c..."} 
[2026-09-18 16:20:33] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422f910012d0dccc00706f4e0002500101c..."} 
[2026-09-18 16:20:33] local.INFO: Packet analysis {"connection_id":186282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:20:33] local.INFO: Extracted packet for processing {"connection_id":186282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:20:33] local.INFO: GPS Element Parsed {"raw_longitude":755879104,"raw_latitude":117896416,"longitude_deg":75.5879104,"latitude_deg":11.7896416,"altitude":37,"angle":16,"satellites":28,"speed":18,"hex_longitude":"2d0dccc0","hex_latitude":"0706f4e0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170514432001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33121413397217280,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995365916572954624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789728586000,"timestamp_ms":1789728586000,"timestamp_seconds":1789728586,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422f910"} 
[2026-09-18 16:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16: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-09-18 16: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":212,"data_length":795,"current_offset":136} 
[2026-09-18 16:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170514432001,"66":14461,"219":206,"94":10240,"24":18,"16":33121413397217280,"45":995365916572954624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170514432001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:20:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:20:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33121413397217280,"km_value":33121413397217.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":995365916572954624,"description":"Unknown IO ID 45"} 
[2026-09-18 16:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170514432001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":995365916572954624}} 
[2026-09-18 16:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":186282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861406,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:20:33] local.INFO: GPS data processed {"connection_id":186282,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:20:33] local.INFO: Acknowledgment sent {"connection_id":186282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:20:34] local.INFO: TCP Data received {"connection_id":187562,"ip":"117.225.196.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:20:34] local.INFO: Processing buffer {"connection_id":187562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:20:34] local.INFO: IMEI packet received {"connection_id":187562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":187562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:20:49] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:20:49] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:20:49] local.INFO: Packet analysis {"connection_id":188886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:20:49] local.INFO: Extracted packet for processing {"connection_id":188886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:20:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:49] 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-09-18 16:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:20:49] 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-09-18 16:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:20:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:20:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":188886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:20:49] local.INFO: GPS data processed {"connection_id":188886,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:20:49] local.INFO: Acknowledgment sent {"connection_id":188886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:20:51] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:20:51] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:20:51] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:20:51] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855664,"longitude_deg":76.2977344,"latitude_deg":9.8855664,"altitude":22,"angle":113,"satellites":28,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46af0","is_valid_coordinates":true} 
[2026-09-18 16:20: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-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491279360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 16:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789728580000,"timestamp_ms":1789728580000,"timestamp_seconds":1789728580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422e1a0"} 
[2026-09-18 16:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":12,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3653159265661143552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":195,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5466756488839202270,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-18 16:20:51] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,95,87,24,241,157,16,195,160,143,45,192,105,11,43,10,66,107,12,240,110,227],"length":327,"final_offset":457,"validated_count":22,"validation_warnings":[]} 
[2026-09-18 16:20:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792920691635650800,"timestamp_seconds":792920691635650.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:20: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-09-18 16:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170511104001,"66":2775,"24":0,"16":134759516649553920,"45":8799400378491279360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 16:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491279360,"description":"Unknown IO ID 45"} 
[2026-09-18 16:20:51] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458170511104001,"power":2775,"ignition":0,"odometer":null,"unknown_45":8799400378491279360}} 
[2026-09-18 16:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:20:51] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:20:51] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:21:11] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:21:11] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:21:11] local.INFO: IMEI packet received {"connection_id":188888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":188888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:21:12] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:12] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:12] local.INFO: IMEI packet received {"connection_id":186136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":186136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:21:14] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:14] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:14] local.INFO: IMEI packet received {"connection_id":186136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":186136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:21:16] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:21:16] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:21:16] local.INFO: IMEI packet received {"connection_id":188888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":188888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:21:17] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:21:17] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b41fd848012d569dc0067b65a00024002a2d..."} 
[2026-09-18 16:21:17] local.INFO: Packet analysis {"connection_id":188888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:21:17] local.INFO: Extracted packet for processing {"connection_id":188888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b41f"} 
[2026-09-18 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170388480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:17] 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-09-18 16:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789728381000,"timestamp_ms":1789728381000,"timestamp_seconds":1789728381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b41fd848"} 
[2026-09-18 16:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:21:17] 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-09-18 16:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170388480001,"66":25897,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170388480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:21:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:21:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170388480001,"power":25897,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":188888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:21:17] local.INFO: GPS data processed {"connection_id":188888,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:21:17] local.INFO: Acknowledgment sent {"connection_id":188888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:21:17] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:17] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:21:17] local.INFO: IMEI packet received {"connection_id":186136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":186136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:21:18] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b423ef28012d0e3e000706fff8002b00ab1c..."} 
[2026-09-18 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b423ef28012d0e3e000706fff8002b00ab1c..."} 
[2026-09-18 16:21:18] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b423ef28012d0e3e000706fff8002b00ab1c..."} 
[2026-09-18 16:21:18] local.INFO: Packet analysis {"connection_id":186136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b423"} 
[2026-09-18 16:21:18] local.INFO: Extracted packet for processing {"connection_id":186136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b423"} 
[2026-09-18 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117899256,"longitude_deg":75.5908096,"latitude_deg":11.7899256,"altitude":43,"angle":171,"satellites":28,"speed":11,"hex_longitude":"2d0e3e00","hex_latitude":"0706fff8","is_valid_coordinates":true} 
[2026-09-18 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170533632001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33122912340803584,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057781069824,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728649000,"timestamp_ms":1789728649000,"timestamp_seconds":1789728649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b423ef28"} 
[2026-09-18 16:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 16:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170533632001,"66":13830,"219":206,"94":10240,"24":11,"16":33122912340803584,"45":1026117057781069824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170533632001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:21:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:21:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33122912340803584,"km_value":33122912340803.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057781069824,"description":"Unknown IO ID 45"} 
[2026-09-18 16:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170533632001,"power":13830,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026117057781069824}} 
[2026-09-18 16:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":186136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861410,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:21:18] local.INFO: GPS data processed {"connection_id":186136,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:21:18] local.INFO: Acknowledgment sent {"connection_id":186136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:21:22] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:21:22] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:21:22] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:21:22] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855664,"longitude_deg":76.2977344,"latitude_deg":9.8855664,"altitude":22,"angle":113,"satellites":28,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46af0","is_valid_coordinates":true} 
[2026-09-18 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491279360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789728580000,"timestamp_ms":1789728580000,"timestamp_seconds":1789728580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422e1a0"} 
[2026-09-18 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":12,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3653159265661143552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":195,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5466756488839202270,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:22] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,95,87,24,241,157,16,195,160,143,45,192,105,11,43,10,66,107,12,240,110,227],"length":327,"final_offset":457,"validated_count":22,"validation_warnings":[]} 
[2026-09-18 16:21:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792920691635650800,"timestamp_seconds":792920691635650.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:21:22] 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-09-18 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170511104001,"66":2775,"24":0,"16":134759516649553920,"45":8799400378491279360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491279360,"description":"Unknown IO ID 45"} 
[2026-09-18 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458170511104001,"power":2775,"ignition":0,"odometer":null,"unknown_45":8799400378491279360}} 
[2026-09-18 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:21:22] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:21:22] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:21:48] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4240a80012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4240a80012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:21:48] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4240a80012d569dc0067b65a00024002a2c..."} 
[2026-09-18 16:21:48] local.INFO: Packet analysis {"connection_id":188888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:21:48] local.INFO: Extracted packet for processing {"connection_id":188888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:21:48] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750240,"longitude_deg":76.06512,"latitude_deg":10.875024,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b65a0","is_valid_coordinates":true} 
[2026-09-18 16:21: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-09-18 16:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170465536001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:48] 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-09-18 16:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789728656000,"timestamp_ms":1789728656000,"timestamp_seconds":1789728656,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4240a80"} 
[2026-09-18 16:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:21: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-09-18 16:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 16:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:21: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-09-18 16:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170465536001,"66":25843,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170465536001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:21:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:21:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170465536001,"power":25843,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":188888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:21:48] local.INFO: GPS data processed {"connection_id":188888,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:21:48] local.INFO: Acknowledgment sent {"connection_id":188888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:21:49] local.INFO: TCP Data received {"connection_id":186136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b423f310012d0e3e000706fee0002b00bd1c..."} 
[2026-09-18 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b423f310012d0e3e000706fee0002b00bd1c..."} 
[2026-09-18 16:21:49] local.INFO: Processing buffer {"connection_id":186136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b423f310012d0e3e000706fee0002b00bd1c..."} 
[2026-09-18 16:21:49] local.INFO: Packet analysis {"connection_id":186136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b423"} 
[2026-09-18 16:21:49] local.INFO: Extracted packet for processing {"connection_id":186136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b423"} 
[2026-09-18 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117898976,"longitude_deg":75.5908096,"latitude_deg":11.7898976,"altitude":43,"angle":189,"satellites":28,"speed":11,"hex_longitude":"2d0e3e00","hex_latitude":"0706fee0","is_valid_coordinates":true} 
[2026-09-18 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170534144001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33122925225705472,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795269261312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728650000,"timestamp_ms":1789728650000,"timestamp_seconds":1789728650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b423f310"} 
[2026-09-18 16:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5629508139941888,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632939627520,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3022223864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-2305802325570355184,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2900361216,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":6341399288517494535,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,219,94,24,241,157,16,173,160,231,45,128,2,42,28,10,66,227,3,41,223,192,1,240,71,180,7,4,113,205,17,184,44,112,239,56,117,36,20,106],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-09-18 16:21:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098664680379056128,"timestamp_seconds":3098664680379056.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170534144001,"66":13830,"219":206,"94":10240,"24":11,"16":33122925225705472,"45":1026257795269261312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170534144001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:21:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:21:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33122925225705472,"km_value":33122925225705.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795269261312,"description":"Unknown IO ID 45"} 
[2026-09-18 16:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170534144001,"power":13830,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026257795269261312}} 
[2026-09-18 16:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":186136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:21:50] local.INFO: GPS data processed {"connection_id":186136,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:21:50] local.INFO: Acknowledgment sent {"connection_id":186136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:21:54] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:21:54] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:21:54] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:21:54] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855664,"longitude_deg":76.2977344,"latitude_deg":9.8855664,"altitude":22,"angle":113,"satellites":28,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46af0","is_valid_coordinates":true} 
[2026-09-18 16:21: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-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491279360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 16:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789728580000,"timestamp_ms":1789728580000,"timestamp_seconds":1789728580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422e1a0"} 
[2026-09-18 16:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":12,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3653159265661143552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":195,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5466756488839202270,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-18 16:21:54] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,95,87,24,241,157,16,195,160,143,45,192,105,11,43,10,66,107,12,240,110,227],"length":327,"final_offset":457,"validated_count":22,"validation_warnings":[]} 
[2026-09-18 16:21:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792920691635650800,"timestamp_seconds":792920691635650.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:21:54] 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-09-18 16:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170511104001,"66":2775,"24":0,"16":134759516649553920,"45":8799400378491279360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 16:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491279360,"description":"Unknown IO ID 45"} 
[2026-09-18 16:21:54] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458170511104001,"power":2775,"ignition":0,"odometer":null,"unknown_45":8799400378491279360}} 
[2026-09-18 16:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:21:54] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:21:54] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:22:15] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:15] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:15] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:22:16] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:16] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:16] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:22:17] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:17] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:17] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:22:22] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:22] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:22:22] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:22:23] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b424be30012d0e3ac00706b838002200cb1c..."} 
[2026-09-18 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b424be30012d0e3ac00706b838002200cb1c..."} 
[2026-09-18 16:22:23] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b424be30012d0e3ac00706b838002200cb1c..."} 
[2026-09-18 16:22:23] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:22:23] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":755907264,"raw_latitude":117880888,"longitude_deg":75.5907264,"latitude_deg":11.7880888,"altitude":34,"angle":203,"satellites":28,"speed":5,"hex_longitude":"2d0e3ac0","hex_latitude":"0706b838","is_valid_coordinates":true} 
[2026-09-18 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170543872001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33123822873870336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026820745219665920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789728702000,"timestamp_ms":1789728702000,"timestamp_seconds":1789728702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b424be30"} 
[2026-09-18 16:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170543872001,"66":14439,"219":206,"94":10240,"24":5,"16":33123822873870336,"45":1026820745219665920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170543872001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33123822873870336,"km_value":33123822873870.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026820745219665920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170543872001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1026820745219665920}} 
[2026-09-18 16:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:22:23] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:22:23] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:22:24] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b424e540012d0e34000706a698001b00c01c..."} 
[2026-09-18 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b424e540012d0e34000706a698001b00c01c..."} 
[2026-09-18 16:22:24] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b424e540012d0e34000706a698001b00c01c..."} 
[2026-09-18 16:22:24] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:22:24] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:22:24] local.INFO: GPS Element Parsed {"raw_longitude":755905536,"raw_latitude":117876376,"longitude_deg":75.5905536,"latitude_deg":11.7876376,"altitude":27,"angle":192,"satellites":28,"speed":18,"hex_longitude":"2d0e3400","hex_latitude":"0706a698","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170547712001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33124059097071616,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025343001590249472,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789728712000,"timestamp_ms":1789728712000,"timestamp_seconds":1789728712,"priority":1,"record_length":96,"hex_timestamp":"000001a0b424e540"} 
[2026-09-18 16:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 16:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170547712001,"66":14352,"219":206,"94":10240,"24":18,"16":33124059097071616,"45":1025343001590249472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170547712001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:22:24] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:22:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33124059097071616,"km_value":33124059097071.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025343001590249472,"description":"Unknown IO ID 45"} 
[2026-09-18 16:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170547712001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1025343001590249472}} 
[2026-09-18 16:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:22:24] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:22:24] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:22:26] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:22:26] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:22:26] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:22:26] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855664,"longitude_deg":76.2977344,"latitude_deg":9.8855664,"altitude":22,"angle":113,"satellites":28,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46af0","is_valid_coordinates":true} 
[2026-09-18 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491279360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22: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-09-18 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789728580000,"timestamp_ms":1789728580000,"timestamp_seconds":1789728580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422e1a0"} 
[2026-09-18 16:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3653159265661143552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":195,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5466756488839202270,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:26] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,95,87,24,241,157,16,195,160,143,45,192,105,11,43,10,66,107,12,240,110,227],"length":327,"final_offset":457,"validated_count":22,"validation_warnings":[]} 
[2026-09-18 16:22:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792920691635650800,"timestamp_seconds":792920691635650.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170511104001,"66":2775,"24":0,"16":134759516649553920,"45":8799400378491279360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491279360,"description":"Unknown IO ID 45"} 
[2026-09-18 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458170511104001,"power":2775,"ignition":0,"odometer":null,"unknown_45":8799400378491279360}} 
[2026-09-18 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:22:26] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:22:26] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:22:27] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:22:27] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:22:27] local.INFO: IMEI packet received {"connection_id":188890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":188890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:22:31] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:22:31] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:22:31] local.INFO: IMEI packet received {"connection_id":188890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":188890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:22:32] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4246840012d569d40067b66800024002a2c..."} 
[2026-09-18 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4246840012d569d40067b66800024002a2c..."} 
[2026-09-18 16:22:32] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4246840012d569d40067b66800024002a2c..."} 
[2026-09-18 16:22:32] local.INFO: Packet analysis {"connection_id":188890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:22:32] local.INFO: Extracted packet for processing {"connection_id":188890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750464,"longitude_deg":76.0651072,"latitude_deg":10.8750464,"altitude":36,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b6680","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170535936001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677969920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:32] 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-09-18 16:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789728680000,"timestamp_ms":1789728680000,"timestamp_seconds":1789728680,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4246840"} 
[2026-09-18 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-09-18 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 16:22: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-09-18 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-09-18 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-09-18 16:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:22: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-09-18 16:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170535936001,"66":27767,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241355792677969920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170535936001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:22:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:22:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677969920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170535936001,"power":27767,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241355792677969920}} 
[2026-09-18 16:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":188890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:22:32] local.INFO: GPS data processed {"connection_id":188890,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:22:32] local.INFO: Acknowledgment sent {"connection_id":188890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:22:55] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b425b060012d0e1f4007068478001501201c..."} 
[2026-09-18 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b425b060012d0e1f4007068478001501201c..."} 
[2026-09-18 16:22:55] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b425b060012d0e1f4007068478001501201c..."} 
[2026-09-18 16:22:55] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:22:55] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755900224,"raw_latitude":117867640,"longitude_deg":75.5900224,"latitude_deg":11.786764,"altitude":21,"angle":288,"satellites":28,"speed":8,"hex_longitude":"2d0e1f40","hex_latitude":"07068478","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170563328001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33124720522035200,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017813545959829504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789728764000,"timestamp_ms":1789728764000,"timestamp_seconds":1789728764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b425b060"} 
[2026-09-18 16:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 16:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170563328001,"66":14374,"219":206,"94":10240,"24":8,"16":33124720522035200,"45":1017813545959829504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170563328001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:22:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33124720522035200,"km_value":33124720522035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017813545959829504,"description":"Unknown IO ID 45"} 
[2026-09-18 16:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170563328001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1017813545959829504}} 
[2026-09-18 16:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:22:55] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:22:55] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:22:57] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:22:57] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b422e1a0012d7a1c4005e46af0001600711c..."} 
[2026-09-18 16:22:57] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:22:57] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b422"} 
[2026-09-18 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855664,"longitude_deg":76.2977344,"latitude_deg":9.8855664,"altitude":22,"angle":113,"satellites":28,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46af0","is_valid_coordinates":true} 
[2026-09-18 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491279360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-18 16:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789728580000,"timestamp_ms":1789728580000,"timestamp_seconds":1789728580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b422e1a0"} 
[2026-09-18 16:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3653159265661143552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":195,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5466756488839202270,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-18 16:22:57] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,95,87,24,241,157,16,195,160,143,45,192,105,11,43,10,66,107,12,240,110,227],"length":327,"final_offset":457,"validated_count":22,"validation_warnings":[]} 
[2026-09-18 16:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792920691635650800,"timestamp_seconds":792920691635650.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:22:57] 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-09-18 16:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170511104001,"66":2775,"24":0,"16":134759516649553920,"45":8799400378491279360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-18 16:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491279360,"description":"Unknown IO ID 45"} 
[2026-09-18 16:22:57] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458170511104001,"power":2775,"ignition":0,"odometer":null,"unknown_45":8799400378491279360}} 
[2026-09-18 16:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:22:57] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:22:57] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:23:13] local.INFO: TCP Data received {"connection_id":187563,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:13] local.INFO: Processing buffer {"connection_id":187563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:13] local.INFO: IMEI packet received {"connection_id":187563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":187563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:23:13] local.INFO: TCP Data received {"connection_id":187563,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:13] local.INFO: Processing buffer {"connection_id":187563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:13] local.INFO: IMEI packet received {"connection_id":187563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":187563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:23:15] local.INFO: TCP Data received {"connection_id":187563,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:15] local.INFO: Processing buffer {"connection_id":187563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:23:15] local.INFO: IMEI packet received {"connection_id":187563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":187563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:23:16] local.INFO: TCP Data received {"connection_id":187563,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b425bc18012d0e1a0007068578001501151c..."} 
[2026-09-18 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b425bc18012d0e1a0007068578001501151c..."} 
[2026-09-18 16:23:16] local.INFO: Processing buffer {"connection_id":187563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b425bc18012d0e1a0007068578001501151c..."} 
[2026-09-18 16:23:16] local.INFO: Packet analysis {"connection_id":187563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:23:16] local.INFO: Extracted packet for processing {"connection_id":187563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":755898880,"raw_latitude":117867896,"longitude_deg":75.589888,"latitude_deg":11.7867896,"altitude":21,"angle":277,"satellites":28,"speed":17,"hex_longitude":"2d0e1a00","hex_latitude":"07068578","is_valid_coordinates":true} 
[2026-09-18 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170563584001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33124780651577344,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017602439727314944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789728767000,"timestamp_ms":1789728767000,"timestamp_seconds":1789728767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b425bc18"} 
[2026-09-18 16:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 16:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170563584001,"66":14407,"219":206,"94":10240,"24":17,"16":33124780651577344,"45":1017602439727314944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170563584001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:23:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:23:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33124780651577344,"km_value":33124780651577.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017602439727314944,"description":"Unknown IO ID 45"} 
[2026-09-18 16:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170563584001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1017602439727314944}} 
[2026-09-18 16:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":187563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:23:16] local.INFO: GPS data processed {"connection_id":187563,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:23:16] local.INFO: Acknowledgment sent {"connection_id":187563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:23:17] local.INFO: TCP Data received {"connection_id":187563,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b425d388012d0e108007068620001501061c..."} 
[2026-09-18 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b425d388012d0e108007068620001501061c..."} 
[2026-09-18 16:23:17] local.INFO: Processing buffer {"connection_id":187563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b425d388012d0e108007068620001501061c..."} 
[2026-09-18 16:23:17] local.INFO: Packet analysis {"connection_id":187563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:23:17] local.INFO: Extracted packet for processing {"connection_id":187563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":755896448,"raw_latitude":117868064,"longitude_deg":75.5896448,"latitude_deg":11.7868064,"altitude":21,"angle":262,"satellites":28,"speed":8,"hex_longitude":"2d0e1080","hex_latitude":"07068620","is_valid_coordinates":true} 
[2026-09-18 16:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170564352001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33124896615694336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016124696099649536,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789728773000,"timestamp_ms":1789728773000,"timestamp_seconds":1789728773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b425d388"} 
[2026-09-18 16:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 16:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170564352001,"66":14428,"219":206,"94":10240,"24":8,"16":33124896615694336,"45":1016124696099649536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170564352001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:23:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:23:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33124896615694336,"km_value":33124896615694.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016124696099649536,"description":"Unknown IO ID 45"} 
[2026-09-18 16:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170564352001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1016124696099649536}} 
[2026-09-18 16:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":187563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:23:18] local.INFO: GPS data processed {"connection_id":187563,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:23:18] local.INFO: Acknowledgment sent {"connection_id":187563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:23:21] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:23:21] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:23:21] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:23:27] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:23:27] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:23:27] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:23:28] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b424ba48012d569d40067b66800024002a2b..."} 
[2026-09-18 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b424ba48012d569d40067b66800024002a2b..."} 
[2026-09-18 16:23:28] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b424ba48012d569d40067b66800024002a2b..."} 
[2026-09-18 16:23:28] local.INFO: Packet analysis {"connection_id":186284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:23:28] local.INFO: Extracted packet for processing {"connection_id":186284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b424"} 
[2026-09-18 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750464,"longitude_deg":76.0651072,"latitude_deg":10.8750464,"altitude":36,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b6680","is_valid_coordinates":true} 
[2026-09-18 16:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170542080001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189671936,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:28] 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-09-18 16:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789728701000,"timestamp_ms":1789728701000,"timestamp_seconds":1789728701,"priority":1,"record_length":96,"hex_timestamp":"000001a0b424ba48"} 
[2026-09-18 16:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:23:28] 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-09-18 16: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-09-18 16:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170542080001,"66":27800,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189671936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170542080001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:23:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:23:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189671936,"description":"Unknown IO ID 45"} 
[2026-09-18 16:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170542080001,"power":27800,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189671936}} 
[2026-09-18 16:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":186284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:23:28] local.INFO: GPS data processed {"connection_id":186284,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:23:28] local.INFO: Acknowledgment sent {"connection_id":186284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:23:29] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:23:29] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:23:29] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:23:29] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":13,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:23: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-09-18 16:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170516480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166026334208,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789728776000,"timestamp_ms":1789728776000,"timestamp_seconds":1789728776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b425df40"} 
[2026-09-18 16:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:23:29] 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-09-18 16:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 16:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170516480001,"66":2590,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8798978166026334208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170516480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:23:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:23:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166026334208,"description":"Unknown IO ID 45"} 
[2026-09-18 16:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170516480001,"power":2590,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798978166026334208}} 
[2026-09-18 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:23:29] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:23:29] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:23:49] local.INFO: TCP Data received {"connection_id":187563,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42692f0012d0e030007068fa0000c01261d..."} 
[2026-09-18 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42692f0012d0e030007068fa0000c01261d..."} 
[2026-09-18 16:23:49] local.INFO: Processing buffer {"connection_id":187563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42692f0012d0e030007068fa0000c01261d..."} 
[2026-09-18 16:23:49] local.INFO: Packet analysis {"connection_id":187563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:23:49] local.INFO: Extracted packet for processing {"connection_id":187563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":755892992,"raw_latitude":117870496,"longitude_deg":75.5892992,"latitude_deg":11.7870496,"altitude":12,"angle":294,"satellites":29,"speed":7,"hex_longitude":"2d0e0300","hex_latitude":"07068fa0","is_valid_coordinates":true} 
[2026-09-18 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170577664001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33125137133862912,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010354459077726208,"note":"Value kept but may cause issues"} 
[2026-09-18 16:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728822000,"timestamp_ms":1789728822000,"timestamp_seconds":1789728822,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42692f0"} 
[2026-09-18 16:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170577664001,"66":14461,"219":206,"94":10240,"24":7,"16":33125137133862912,"45":1010354459077726208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170577664001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:23:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:23:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33125137133862912,"km_value":33125137133862.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010354459077726208,"description":"Unknown IO ID 45"} 
[2026-09-18 16:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170577664001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1010354459077726208}} 
[2026-09-18 16:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":187563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:23:49] local.INFO: GPS data processed {"connection_id":187563,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:23:49] local.INFO: Acknowledgment sent {"connection_id":187563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:01] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:24:01] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:24:01] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:01] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:01] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":13,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789728776000,"timestamp_ms":1789728776000,"timestamp_seconds":1789728776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b425df40"} 
[2026-09-18 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-09-18 16:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866826085355410054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3310147020951519237,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3098483141807966720,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335242992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-4610027489022964223,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:01] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,145,87,24,241,157,16,195,160,225,45,64,106,22,28,10,66,143,192,105,11,43,95,240,7,222,1,34,176,4,110,228,6,77,85,206,33],"length":524,"final_offset":654,"validated_count":37,"validation_warnings":[]} 
[2026-09-18 16:24:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595615,"timestamp_seconds":936873151990595.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 16:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":2590,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:01] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:24:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":2590,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:01] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:01] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:09] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:09] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:09] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:24:09] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:09] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:09] local.INFO: IMEI packet received {"connection_id":186285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":186285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:24:11] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:11] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:11] local.INFO: IMEI packet received {"connection_id":186285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":186285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:12] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:12] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:12] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:12] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:12] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:12] local.INFO: IMEI packet received {"connection_id":186285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":186285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:17] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:17] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:24:17] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:17] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:17] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:24:17] local.INFO: IMEI packet received {"connection_id":186285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":186285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:18] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42696d8012d0e028007069020000c01381d..."} 
[2026-09-18 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42696d8012d0e028007069020000c01381d..."} 
[2026-09-18 16:24:18] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42696d8012d0e028007069020000c01381d..."} 
[2026-09-18 16:24:18] local.INFO: Packet analysis {"connection_id":186285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:24:18] local.INFO: Extracted packet for processing {"connection_id":186285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:24:18] local.INFO: GPS Element Parsed {"raw_longitude":755892864,"raw_latitude":117870624,"longitude_deg":75.5892864,"latitude_deg":11.7870624,"altitude":12,"angle":312,"satellites":29,"speed":8,"hex_longitude":"2d0e0280","hex_latitude":"07069020","is_valid_coordinates":true} 
[2026-09-18 16:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170578432001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33125145723797504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009650771635970048,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789728823000,"timestamp_ms":1789728823000,"timestamp_seconds":1789728823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42696d8"} 
[2026-09-18 16:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 16:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170578432001,"66":14461,"219":206,"94":10240,"24":8,"16":33125145723797504,"45":1009650771635970048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170578432001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:24:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33125145723797504,"km_value":33125145723797.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009650771635970048,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170578432001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1009650771635970048}} 
[2026-09-18 16:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":186285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:18] local.INFO: GPS data processed {"connection_id":186285,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:18] local.INFO: Acknowledgment sent {"connection_id":186285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:19] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4250c50012d569d40067b66800024002a2b..."} 
[2026-09-18 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4250c50012d569d40067b66800024002a2b..."} 
[2026-09-18 16:24:19] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4250c50012d569d40067b66800024002a2b..."} 
[2026-09-18 16:24:19] local.INFO: Packet analysis {"connection_id":186137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:19] local.INFO: Extracted packet for processing {"connection_id":186137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:19] local.INFO: GPS Element Parsed {"raw_longitude":760651072,"raw_latitude":108750464,"longitude_deg":76.0651072,"latitude_deg":10.8750464,"altitude":36,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d569d40","hex_latitude":"067b6680","is_valid_coordinates":true} 
[2026-09-18 16:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170547456001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437293470416896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189671936,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:19] 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-09-18 16:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789728722000,"timestamp_ms":1789728722000,"timestamp_seconds":1789728722,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4250c50"} 
[2026-09-18 16:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16: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-09-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:24: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-09-18 16:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170547456001,"66":27658,"35":206,"80":60928,"24":0,"16":405437293470416896,"45":6241215055189671936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-18 16:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170547456001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 16:24:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437293470416896,"km_value":405437293470416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189671936,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170547456001,"power":27658,"unknown_35":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":6241215055189671936}} 
[2026-09-18 16:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":186137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:19] local.INFO: GPS data processed {"connection_id":186137,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:19] local.INFO: Acknowledgment sent {"connection_id":186137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:33] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:24:33] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b425df40012d7a1ec005e46bf8000d00712b..."} 
[2026-09-18 16:24:33] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:33] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":13,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789728776000,"timestamp_ms":1789728776000,"timestamp_seconds":1789728776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b425df40"} 
[2026-09-18 16:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866826085355410054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3310147020951519237,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3098483141807966720,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335242992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-4610027489022964223,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,145,87,24,241,157,16,195,160,225,45,64,106,22,28,10,66,143,192,105,11,43,95,240,7,222,1,34,176,4,110,228,6,77,85,206,33],"length":524,"final_offset":654,"validated_count":37,"validation_warnings":[]} 
[2026-09-18 16:24:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595615,"timestamp_seconds":936873151990595.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:24:33] 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-09-18 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":2590,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":2590,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:33] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:33] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:40] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:40] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:40] local.INFO: IMEI packet received {"connection_id":188891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":188891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:24:41] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:41] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:41] local.INFO: IMEI packet received {"connection_id":188891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":188891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:45] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:45] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:24:45] local.INFO: IMEI packet received {"connection_id":188891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":188891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:24:45] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42648b8012d1b8400071f76f0005c003422..."} 
[2026-09-18 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42648b8012d1b8400071f76f0005c003422..."} 
[2026-09-18 16:24:45] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42648b8012d1b8400071f76f0005c003422..."} 
[2026-09-18 16:24:45] local.INFO: Packet analysis {"connection_id":188891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:24:45] local.INFO: Extracted packet for processing {"connection_id":188891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756777984,"raw_latitude":119502576,"longitude_deg":75.6777984,"latitude_deg":11.9502576,"altitude":92,"angle":52,"satellites":34,"speed":0,"hex_longitude":"2d1b8400","hex_latitude":"071f76f0","is_valid_coordinates":true} 
[2026-09-18 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170567680001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21404802743271424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982709766542520320,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789728803000,"timestamp_ms":1789728803000,"timestamp_seconds":1789728803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42648b8"} 
[2026-09-18 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 16:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170567680001,"66":14396,"170":206,"187":32768,"24":0,"16":21404802743271424,"45":1982709766542520320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,187,24,16,45]} 
[2026-09-18 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170567680001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:45] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-18 16:24:45] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-09-18 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21404802743271424,"km_value":21404802743271.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982709766542520320,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170567680001,"power":14396,"unknown_170":206,"unknown_187":32768,"ignition":0,"odometer":null,"unknown_45":1982709766542520320}} 
[2026-09-18 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":188891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:46] local.INFO: GPS data processed {"connection_id":188891,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:46] local.INFO: Acknowledgment sent {"connection_id":188891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:50] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4275258012d0e0c4007068730001200591d..."} 
[2026-09-18 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4275258012d0e0c4007068730001200591d..."} 
[2026-09-18 16:24:50] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4275258012d0e0c4007068730001200591d..."} 
[2026-09-18 16:24:50] local.INFO: Packet analysis {"connection_id":186285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:24:50] local.INFO: Extracted packet for processing {"connection_id":186285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":755895360,"raw_latitude":117868336,"longitude_deg":75.589536,"latitude_deg":11.7868336,"altitude":18,"angle":89,"satellites":29,"speed":3,"hex_longitude":"2d0e0c40","hex_latitude":"07068730","is_valid_coordinates":true} 
[2026-09-18 16:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170590720001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33125390536933376,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012254415169990656,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789728871000,"timestamp_ms":1789728871000,"timestamp_seconds":1789728871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4275258"} 
[2026-09-18 16:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:24:50] 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-09-18 16:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170590720001,"66":14515,"219":206,"94":10240,"24":3,"16":33125390536933376,"45":1012254415169990656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170590720001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33125390536933376,"km_value":33125390536933.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012254415169990656,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170590720001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1012254415169990656}} 
[2026-09-18 16:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":186285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:50] local.INFO: GPS data processed {"connection_id":186285,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:50] local.INFO: Acknowledgment sent {"connection_id":186285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:24:50] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42552a0012d569f80067b66d8002400562e..."} 
[2026-09-18 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42552a0012d569f80067b66d8002400562e..."} 
[2026-09-18 16:24:50] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42552a0012d569f80067b66d8002400562e..."} 
[2026-09-18 16:24:50] local.INFO: Packet analysis {"connection_id":186137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:50] local.INFO: Extracted packet for processing {"connection_id":186137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b425"} 
[2026-09-18 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":760651648,"raw_latitude":108750552,"longitude_deg":76.0651648,"latitude_deg":10.8750552,"altitude":36,"angle":86,"satellites":46,"speed":3,"hex_longitude":"2d569f80","hex_latitude":"067b66d8","is_valid_coordinates":true} 
[2026-09-18 16:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170552832001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405437319240220672,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241215055189671936,"note":"Value kept but may cause issues"} 
[2026-09-18 16:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789728740000,"timestamp_ms":1789728740000,"timestamp_seconds":1789728740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42552a0"} 
[2026-09-18 16:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16: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-09-18 16: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 16:24:50] 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-09-18 16:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170552832001,"66":27876,"108":206,"80":60928,"24":3,"16":405437319240220672,"45":6241215055189671936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,80,24,16,45]} 
[2026-09-18 16:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170552832001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405437319240220672,"km_value":405437319240220.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241215055189671936,"description":"Unknown IO ID 45"} 
[2026-09-18 16:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170552832001,"power":27876,"unknown_108":206,"unknown_80":60928,"ignition":3,"odometer":null,"unknown_45":6241215055189671936}} 
[2026-09-18 16:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":186137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:24:50] local.INFO: GPS data processed {"connection_id":186137,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:24:50] local.INFO: Acknowledgment sent {"connection_id":186137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:04] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:25:04] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:25:04] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:04] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:25:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:25: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-09-18 16:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:04] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:04] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:10] local.INFO: TCP Data received {"connection_id":187565,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:10] local.INFO: Processing buffer {"connection_id":187565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:10] local.INFO: IMEI packet received {"connection_id":187565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":187565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:25:11] local.INFO: TCP Data received {"connection_id":187564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:25:11] local.INFO: Processing buffer {"connection_id":187564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:25:11] local.INFO: IMEI packet received {"connection_id":187564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":187564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:25:12] local.INFO: TCP Data received {"connection_id":187565,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:12] local.INFO: Processing buffer {"connection_id":187565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:12] local.INFO: IMEI packet received {"connection_id":187565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":187565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:25:16] local.INFO: TCP Data received {"connection_id":187564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:25:16] local.INFO: Processing buffer {"connection_id":187564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:25:16] local.INFO: IMEI packet received {"connection_id":187564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":187564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:25:16] local.INFO: TCP Data received {"connection_id":187565,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:16] local.INFO: Processing buffer {"connection_id":187565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:25:16] local.INFO: IMEI packet received {"connection_id":187565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":187565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:25:16] local.INFO: TCP Data received {"connection_id":187564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b426ecc8012d570a00067c29380013015d28..."} 
[2026-09-18 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b426ecc8012d570a00067c29380013015d28..."} 
[2026-09-18 16:25:16] local.INFO: Processing buffer {"connection_id":187564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b426ecc8012d570a00067c29380013015d28..."} 
[2026-09-18 16:25:16] local.INFO: Packet analysis {"connection_id":187564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:25:16] local.INFO: Extracted packet for processing {"connection_id":187564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":760678912,"raw_latitude":108800312,"longitude_deg":76.0678912,"latitude_deg":10.8800312,"altitude":19,"angle":349,"satellites":40,"speed":18,"hex_longitude":"2d570a00","hex_latitude":"067c2938","is_valid_coordinates":true} 
[2026-09-18 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170579200001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405440424501575680,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6273443940033533952,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789728845000,"timestamp_ms":1789728845000,"timestamp_seconds":1789728845,"priority":1,"record_length":96,"hex_timestamp":"000001a0b426ecc8"} 
[2026-09-18 16:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170579200001,"66":27865,"110":206,"80":60928,"24":18,"16":405440424501575680,"45":6273443940033533952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 16:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170579200001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 16:25:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405440424501575680,"km_value":405440424501575.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6273443940033533952,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170579200001,"power":27865,"unknown_110":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6273443940033533952}} 
[2026-09-18 16:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":187564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:16] local.INFO: GPS data processed {"connection_id":187564,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:16] local.INFO: Acknowledgment sent {"connection_id":187564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:17] local.INFO: TCP Data received {"connection_id":187565,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4277d50012d0e1a00070686d8001500641d..."} 
[2026-09-18 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4277d50012d0e1a00070686d8001500641d..."} 
[2026-09-18 16:25:17] local.INFO: Processing buffer {"connection_id":187565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4277d50012d0e1a00070686d8001500641d..."} 
[2026-09-18 16:25:17] local.INFO: Packet analysis {"connection_id":187565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:17] local.INFO: Extracted packet for processing {"connection_id":187565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":755898880,"raw_latitude":117868248,"longitude_deg":75.589888,"latitude_deg":11.7868248,"altitude":21,"angle":100,"satellites":29,"speed":21,"hex_longitude":"2d0e1a00","hex_latitude":"070686d8","is_valid_coordinates":true} 
[2026-09-18 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170590976001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33125558040657920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012254415169990656,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789728882000,"timestamp_ms":1789728882000,"timestamp_seconds":1789728882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4277d50"} 
[2026-09-18 16:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170590976001,"66":14515,"219":206,"94":10240,"24":21,"16":33125558040657920,"45":1012254415169990656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170590976001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:25:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33125558040657920,"km_value":33125558040657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012254415169990656,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170590976001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1012254415169990656}} 
[2026-09-18 16:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":187565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:17] local.INFO: GPS data processed {"connection_id":187565,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:17] local.INFO: Acknowledgment sent {"connection_id":187565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:21] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:25:21] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:25:21] local.INFO: IMEI packet received {"connection_id":186283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":186283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:25:25] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:25] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:25] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:25:30] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:30] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:30] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:25:34] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:34] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:25:34] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:25:35] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4269ac0012d1b8400071f76f0005c003423..."} 
[2026-09-18 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4269ac0012d1b8400071f76f0005c003423..."} 
[2026-09-18 16:25:35] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4269ac0012d1b8400071f76f0005c003423..."} 
[2026-09-18 16:25:35] local.INFO: Packet analysis {"connection_id":186138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:25:35] local.INFO: Extracted packet for processing {"connection_id":186138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756777984,"raw_latitude":119502576,"longitude_deg":75.6777984,"latitude_deg":11.9502576,"altitude":92,"angle":52,"satellites":35,"speed":0,"hex_longitude":"2d1b8400","hex_latitude":"071f76f0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170573568001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21404802743271424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982709766542520320,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789728824000,"timestamp_ms":1789728824000,"timestamp_seconds":1789728824,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4269ac0"} 
[2026-09-18 16:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170573568001,"66":14135,"101":206,"83":41984,"24":0,"16":21404802743271424,"45":1982709766542520320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170573568001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21404802743271424,"km_value":21404802743271.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982709766542520320,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170573568001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1982709766542520320}} 
[2026-09-18 16:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":186138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:35] local.INFO: GPS data processed {"connection_id":186138,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:35] local.INFO: Acknowledgment sent {"connection_id":186138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:36] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b426c5b8012d1b8500071f76e0005c004124..."} 
[2026-09-18 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b426c5b8012d1b8500071f76e0005c004124..."} 
[2026-09-18 16:25:36] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b426c5b8012d1b8500071f76e0005c004124..."} 
[2026-09-18 16:25:36] local.INFO: Packet analysis {"connection_id":186138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:25:36] local.INFO: Extracted packet for processing {"connection_id":186138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b426"} 
[2026-09-18 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756778240,"raw_latitude":119502560,"longitude_deg":75.677824,"latitude_deg":11.950256,"altitude":92,"angle":65,"satellites":36,"speed":1,"hex_longitude":"2d1b8500","hex_latitude":"071f76e0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170578944001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21404815628173312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982709766542520320,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789728835000,"timestamp_ms":1789728835000,"timestamp_seconds":1789728835,"priority":1,"record_length":96,"hex_timestamp":"000001a0b426c5b8"} 
[2026-09-18 16:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170578944001,"66":14428,"101":206,"83":41984,"24":1,"16":21404815628173312,"45":1982709766542520320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170578944001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21404815628173312,"km_value":21404815628173.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982709766542520320,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170578944001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1982709766542520320}} 
[2026-09-18 16:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":186138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:36] local.INFO: GPS data processed {"connection_id":186138,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:36] local.INFO: Acknowledgment sent {"connection_id":186138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:36] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:25:36] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:25:36] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:36] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:25:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:36] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:37] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:47] local.INFO: TCP Data received {"connection_id":187564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4272378012d570440067c3dc00013015123..."} 
[2026-09-18 16:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4272378012d570440067c3dc00013015123..."} 
[2026-09-18 16:25:47] local.INFO: Processing buffer {"connection_id":187564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4272378012d570440067c3dc00013015123..."} 
[2026-09-18 16:25:47] local.INFO: Packet analysis {"connection_id":187564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:47] local.INFO: Extracted packet for processing {"connection_id":187564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:25:47] local.INFO: GPS Element Parsed {"raw_longitude":760677440,"raw_latitude":108805568,"longitude_deg":76.067744,"latitude_deg":10.8805568,"altitude":19,"angle":337,"satellites":35,"speed":26,"hex_longitude":"2d570440","hex_latitude":"067c3dc0","is_valid_coordinates":true} 
[2026-09-18 16:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170584320001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405440690789548032,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6271825458919716864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789728859000,"timestamp_ms":1789728859000,"timestamp_seconds":1789728859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4272378"} 
[2026-09-18 16:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170584320001,"66":27865,"110":206,"80":60928,"24":26,"16":405440690789548032,"45":6271825458919716864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 16:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170584320001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:47] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 16:25:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405440690789548032,"km_value":405440690789548.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6271825458919716864,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170584320001,"power":27865,"unknown_110":206,"unknown_80":60928,"ignition":26,"odometer":null,"unknown_45":6271825458919716864}} 
[2026-09-18 16:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":187564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:47] local.INFO: GPS data processed {"connection_id":187564,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:47] local.INFO: Acknowledgment sent {"connection_id":187564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:25:48] local.INFO: TCP Data received {"connection_id":187565,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4285bf8012d0e3f000706d7700025014c1d..."} 
[2026-09-18 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4285bf8012d0e3f000706d7700025014c1d..."} 
[2026-09-18 16:25:48] local.INFO: Processing buffer {"connection_id":187565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4285bf8012d0e3f000706d7700025014c1d..."} 
[2026-09-18 16:25:48] local.INFO: Packet analysis {"connection_id":187565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:25:48] local.INFO: Extracted packet for processing {"connection_id":187565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":755908352,"raw_latitude":117888880,"longitude_deg":75.5908352,"latitude_deg":11.788888,"altitude":37,"angle":332,"satellites":29,"speed":13,"hex_longitude":"2d0e3f00","hex_latitude":"0706d770","is_valid_coordinates":true} 
[2026-09-18 16:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170607872001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33126910955356160,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026820745219860480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789728939000,"timestamp_ms":1789728939000,"timestamp_seconds":1789728939,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4285bf8"} 
[2026-09-18 16:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16: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-09-18 16:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 16:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170607872001,"66":14157,"219":206,"94":10240,"24":13,"16":33126910955356160,"45":1026820745219860480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170607872001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:25:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:25:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33126910955356160,"km_value":33126910955356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026820745219860480,"description":"Unknown IO ID 45"} 
[2026-09-18 16:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170607872001,"power":14157,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1026820745219860480}} 
[2026-09-18 16:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":187565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:25:48] local.INFO: GPS data processed {"connection_id":187565,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:25:48] local.INFO: Acknowledgment sent {"connection_id":187565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:07] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4280608012d1b5740071f6c600043011924..."} 
[2026-09-18 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4280608012d1b5740071f6c600043011924..."} 
[2026-09-18 16:26:07] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4280608012d1b5740071f6c600043011924..."} 
[2026-09-18 16:26:07] local.INFO: Packet analysis {"connection_id":186138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:07] local.INFO: Extracted packet for processing {"connection_id":186138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119499872,"longitude_deg":75.6766528,"latitude_deg":11.9499872,"altitude":67,"angle":281,"satellites":36,"speed":11,"hex_longitude":"2d1b5740","hex_latitude":"071f6c60","is_valid_coordinates":true} 
[2026-09-18 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170602496001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21405412628627456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867566548992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789728917000,"timestamp_ms":1789728917000,"timestamp_seconds":1789728917,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4280608"} 
[2026-09-18 16:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170602496001,"66":13993,"101":206,"83":41984,"24":11,"16":21405412628627456,"45":1970324867566548992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170602496001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21405412628627456,"km_value":21405412628627.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867566548992,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170602496001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1970324867566548992}} 
[2026-09-18 16:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":186138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:07] local.INFO: GPS data processed {"connection_id":186138,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:07] local.INFO: Acknowledgment sent {"connection_id":186138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:08] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:26:08] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:26:08] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:26:08] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:26:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:26: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-09-18 16:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:26:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:09] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:09] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:12] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:26:12] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:26:12] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:26:16] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:26:16] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:26:16] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:26:16] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:16] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:16] local.INFO: IMEI packet received {"connection_id":186287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":186287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:26:17] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:17] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:17] local.INFO: IMEI packet received {"connection_id":186287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":186287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:26:17] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42867b0012d0e3d800706db000024015a1d..."} 
[2026-09-18 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42867b0012d0e3d800706db000024015a1d..."} 
[2026-09-18 16:26:17] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42867b0012d0e3d800706db000024015a1d..."} 
[2026-09-18 16:26:17] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:17] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":755907968,"raw_latitude":117889792,"longitude_deg":75.5907968,"latitude_deg":11.7889792,"altitude":36,"angle":346,"satellites":29,"speed":12,"hex_longitude":"2d0e3d80","hex_latitude":"0706db00","is_valid_coordinates":true} 
[2026-09-18 16:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170608384001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33126958199996416,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270243315712,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789728942000,"timestamp_ms":1789728942000,"timestamp_seconds":1789728942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42867b0"} 
[2026-09-18 16:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170608384001,"66":14461,"219":206,"94":10240,"24":12,"16":33126958199996416,"45":1026539270243315712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170608384001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:26:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33126958199996416,"km_value":33126958199996.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270243315712,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170608384001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1026539270243315712}} 
[2026-09-18 16:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:17] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:17] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:20] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:20] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:20] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:26:21] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:21] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:26:21] local.INFO: IMEI packet received {"connection_id":186287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":186287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:26:22] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4275258012d56f400067c5ee00013014b1f..."} 
[2026-09-18 16:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4275258012d56f400067c5ee00013014b1f..."} 
[2026-09-18 16:26:22] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4275258012d56f400067c5ee00013014b1f..."} 
[2026-09-18 16:26:22] local.INFO: Packet analysis {"connection_id":186287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:26:22] local.INFO: Extracted packet for processing {"connection_id":186287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:26:22] local.INFO: GPS Element Parsed {"raw_longitude":760673280,"raw_latitude":108814048,"longitude_deg":76.067328,"latitude_deg":10.8814048,"altitude":19,"angle":331,"satellites":31,"speed":31,"hex_longitude":"2d56f400","hex_latitude":"067c5ee0","is_valid_coordinates":true} 
[2026-09-18 16:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170587904001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405441146056081408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6270206977804976128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789728871000,"timestamp_ms":1789728871000,"timestamp_seconds":1789728871,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4275258"} 
[2026-09-18 16:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170587904001,"66":27843,"110":206,"80":60928,"24":31,"16":405441146056081408,"45":6270206977804976128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 16:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170587904001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 16:26:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405441146056081408,"km_value":405441146056081.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6270206977804976128,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170587904001,"power":27843,"unknown_110":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":6270206977804976128}} 
[2026-09-18 16:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":186287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:22] local.INFO: GPS data processed {"connection_id":186287,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:22] local.INFO: Acknowledgment sent {"connection_id":186287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:25] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:25] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:25] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:26:25] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:25] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:25] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:26:26] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:26] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:26:26] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:26:27] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42809f0012d1b5600071f6ce00042012724..."} 
[2026-09-18 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42809f0012d1b5600071f6ce00042012724..."} 
[2026-09-18 16:26:27] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42809f0012d1b5600071f6ce00042012724..."} 
[2026-09-18 16:26:27] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:27] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119500000,"longitude_deg":75.6766208,"latitude_deg":11.95,"altitude":66,"angle":295,"satellites":36,"speed":9,"hex_longitude":"2d1b5600","hex_latitude":"071f6ce0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170602752001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21405429808496640,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761334026240,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789728918000,"timestamp_ms":1789728918000,"timestamp_seconds":1789728918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42809f0"} 
[2026-09-18 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-09-18 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170602752001,"66":13993,"101":206,"83":41984,"24":9,"16":21405429808496640,"45":1970113761334026240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170602752001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21405429808496640,"km_value":21405429808496.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761334026240,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170602752001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1970113761334026240}} 
[2026-09-18 16:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:27] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:27] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:29] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4280dd8012d1b55c0071f6db00042014d24..."} 
[2026-09-18 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4280dd8012d1b55c0071f6db00042014d24..."} 
[2026-09-18 16:26:29] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4280dd8012d1b55c0071f6db00042014d24..."} 
[2026-09-18 16:26:29] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:29] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119500208,"longitude_deg":75.6766144,"latitude_deg":11.9500208,"altitude":66,"angle":333,"satellites":36,"speed":7,"hex_longitude":"2d1b55c0","hex_latitude":"071f6db0","is_valid_coordinates":true} 
[2026-09-18 16:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170603008001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21405442693398528,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917613170688,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789728919000,"timestamp_ms":1789728919000,"timestamp_seconds":1789728919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4280dd8"} 
[2026-09-18 16:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170603008001,"66":14243,"101":206,"83":41984,"24":7,"16":21405442693398528,"45":1969761917613170688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170603008001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21405442693398528,"km_value":21405442693398.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917613170688,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170603008001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1969761917613170688}} 
[2026-09-18 16:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:29] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:29] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:48] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4286f80012d0e3d400706de18002501651d..."} 
[2026-09-18 16:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4286f80012d0e3d400706de18002501651d..."} 
[2026-09-18 16:26:48] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4286f80012d0e3d400706de18002501651d..."} 
[2026-09-18 16:26:48] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:48] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:26:48] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117890584,"longitude_deg":75.5907904,"latitude_deg":11.7890584,"altitude":37,"angle":357,"satellites":29,"speed":18,"hex_longitude":"2d0e3d40","hex_latitude":"0706de18","is_valid_coordinates":true} 
[2026-09-18 16:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170609152001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33126996854702080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057778483200,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789728944000,"timestamp_ms":1789728944000,"timestamp_seconds":1789728944,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4286f80"} 
[2026-09-18 16:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170609152001,"66":14450,"219":206,"94":10240,"24":18,"16":33126996854702080,"45":1026117057778483200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170609152001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:26:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33126996854702080,"km_value":33126996854702.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057778483200,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170609152001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1026117057778483200}} 
[2026-09-18 16:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:49] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:49] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:53] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4276db0012d56e4c0067c71700016013f24..."} 
[2026-09-18 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4276db0012d56e4c0067c71700016013f24..."} 
[2026-09-18 16:26:53] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4276db0012d56e4c0067c71700016013f24..."} 
[2026-09-18 16:26:53] local.INFO: Packet analysis {"connection_id":186287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:26:53] local.INFO: Extracted packet for processing {"connection_id":186287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:26:53] local.INFO: GPS Element Parsed {"raw_longitude":760669376,"raw_latitude":108818800,"longitude_deg":76.0669376,"latitude_deg":10.88188,"altitude":22,"angle":319,"satellites":36,"speed":32,"hex_longitude":"2d56e4c0","hex_latitude":"067c7170","is_valid_coordinates":true} 
[2026-09-18 16:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170590976001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405441442408824832,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6265633009435598848,"note":"Value kept but may cause issues"} 
[2026-09-18 16:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789728878000,"timestamp_ms":1789728878000,"timestamp_seconds":1789728878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4276db0"} 
[2026-09-18 16:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:26: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-09-18 16:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170590976001,"66":27821,"110":206,"80":60928,"24":32,"16":405441442408824832,"45":6265633009435598848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-18 16:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170590976001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:26:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-18 16:26:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405441442408824832,"km_value":405441442408824.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6265633009435598848,"description":"Unknown IO ID 45"} 
[2026-09-18 16:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170590976001,"power":27821,"unknown_110":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6265633009435598848}} 
[2026-09-18 16:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":186287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:26:53] local.INFO: GPS data processed {"connection_id":186287,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:26:53] local.INFO: Acknowledgment sent {"connection_id":186287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:26:54] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:26:54] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:26:54] local.INFO: IMEI packet received {"connection_id":188892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":188892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:26:59] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:26:59] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:26:59] local.INFO: IMEI packet received {"connection_id":188892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":188892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:00] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42838d0012d1b5080071f76e00041013e26..."} 
[2026-09-18 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42838d0012d1b5080071f76e00041013e26..."} 
[2026-09-18 16:27:00] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42838d0012d1b5080071f76e00041013e26..."} 
[2026-09-18 16:27:00] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:00] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756764800,"raw_latitude":119502560,"longitude_deg":75.67648,"latitude_deg":11.950256,"altitude":65,"angle":318,"satellites":38,"speed":9,"hex_longitude":"2d1b5080","hex_latitude":"071f76e0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170603264001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21405571542417408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969691548869046272,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27: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-09-18 16:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789728930000,"timestamp_ms":1789728930000,"timestamp_seconds":1789728930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42838d0"} 
[2026-09-18 16:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170603264001,"66":14396,"101":206,"83":41984,"24":9,"16":21405571542417408,"45":1969691548869046272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170603264001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21405571542417408,"km_value":21405571542417.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969691548869046272,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170603264001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1969691548869046272}} 
[2026-09-18 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:00] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:00] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:00] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:00] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:00] local.INFO: Packet analysis {"connection_id":188892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:27:00] local.INFO: Extracted packet for processing {"connection_id":188892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:27:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":188892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:00] local.INFO: GPS data processed {"connection_id":188892,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:00] local.INFO: Acknowledgment sent {"connection_id":188892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:04] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:04] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:04] local.INFO: Packet analysis {"connection_id":188892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:27:04] local.INFO: Extracted packet for processing {"connection_id":188892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:27:04] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:27:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:27: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-09-18 16:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:27:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":188892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:04] local.INFO: GPS data processed {"connection_id":188892,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:04] local.INFO: Acknowledgment sent {"connection_id":188892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:13] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:13] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:13] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:27:13] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:13] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:13] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:15] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:15] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:15] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:16] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:16] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:27:16] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:16] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:27:16] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:27:16] local.INFO: IMEI packet received {"connection_id":186288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":186288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:27:17] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b429c358012d0dd5800706fbb8002101041e..."} 
[2026-09-18 16:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b429c358012d0dd5800706fbb8002101041e..."} 
[2026-09-18 16:27:17] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b429c358012d0dd5800706fbb8002101041e..."} 
[2026-09-18 16:27:17] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:27:17] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":755881344,"raw_latitude":117898168,"longitude_deg":75.5881344,"latitude_deg":11.7898168,"altitude":33,"angle":260,"satellites":30,"speed":22,"hex_longitude":"2d0dd580","hex_latitude":"0706fbb8","is_valid_coordinates":true} 
[2026-09-18 16:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170627840001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33128732021489664,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1006484178155640832,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729031000,"timestamp_ms":1789729031000,"timestamp_seconds":1789729031,"priority":1,"record_length":96,"hex_timestamp":"000001a0b429c358"} 
[2026-09-18 16:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170627840001,"66":14428,"219":206,"94":10240,"24":22,"16":33128732021489664,"45":1006484178155640832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170627840001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:27:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33128732021489664,"km_value":33128732021489.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1006484178155640832,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170627840001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1006484178155640832}} 
[2026-09-18 16:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:17] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:17] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:17] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b429cf10012d0dd1000706fa60002100f41e..."} 
[2026-09-18 16:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b429cf10012d0dd1000706fa60002100f41e..."} 
[2026-09-18 16:27:17] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b429cf10012d0dd1000706fa60002100f41e..."} 
[2026-09-18 16:27:17] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:27:17] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":755880192,"raw_latitude":117897824,"longitude_deg":75.5880192,"latitude_deg":11.7897824,"altitude":33,"angle":244,"satellites":30,"speed":12,"hex_longitude":"2d0dd100","hex_latitude":"0706fa60","is_valid_coordinates":true} 
[2026-09-18 16:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170631936001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33128787856064512,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996843660202719232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729034000,"timestamp_ms":1789729034000,"timestamp_seconds":1789729034,"priority":1,"record_length":96,"hex_timestamp":"000001a0b429cf10"} 
[2026-09-18 16:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170631936001,"66":13820,"219":206,"94":10240,"24":12,"16":33128787856064512,"45":996843660202719232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170631936001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:27:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33128787856064512,"km_value":33128787856064.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":996843660202719232,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170631936001,"power":13820,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":996843660202719232}} 
[2026-09-18 16:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:18] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:18] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:22] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:27:22] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:27:22] local.INFO: IMEI packet received {"connection_id":186288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":186288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:23] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b428d510012d55cb00067d9850001501442e..."} 
[2026-09-18 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b428d510012d55cb00067d9850001501442e..."} 
[2026-09-18 16:27:23] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b428d510012d55cb00067d9850001501442e..."} 
[2026-09-18 16:27:23] local.INFO: Packet analysis {"connection_id":186288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:23] local.INFO: Extracted packet for processing {"connection_id":186288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":760597248,"raw_latitude":108894288,"longitude_deg":76.0597248,"latitude_deg":10.8894288,"altitude":21,"angle":324,"satellites":46,"speed":40,"hex_longitude":"2d55cb00","hex_latitude":"067d9850","is_valid_coordinates":true} 
[2026-09-18 16:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170614016001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405446467520561152,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6188227390858778624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789728970000,"timestamp_ms":1789728970000,"timestamp_seconds":1789728970,"priority":1,"record_length":96,"hex_timestamp":"000001a0b428d510"} 
[2026-09-18 16:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:23] 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-09-18 16:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170614016001,"66":27865,"227":206,"80":60928,"24":40,"16":405446467520561152,"45":6188227390858778624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-09-18 16:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170614016001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:23] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-18 16:27:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405446467520561152,"km_value":405446467520561.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6188227390858778624,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170614016001,"power":27865,"unknown_227":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":6188227390858778624}} 
[2026-09-18 16:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":186288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:23] local.INFO: GPS data processed {"connection_id":186288,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:23] local.INFO: Acknowledgment sent {"connection_id":186288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:24] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:24] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:24] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:27:25] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:25] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:25] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:30] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:30] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:27:30] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:30] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b428c188012d1b2180071f7950003a01262a..."} 
[2026-09-18 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b428c188012d1b2180071f7950003a01262a..."} 
[2026-09-18 16:27:30] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b428c188012d1b2180071f7950003a01262a..."} 
[2026-09-18 16:27:30] local.INFO: Packet analysis {"connection_id":186289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:30] local.INFO: Extracted packet for processing {"connection_id":186289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756752768,"raw_latitude":119503184,"longitude_deg":75.6752768,"latitude_deg":11.9503184,"altitude":58,"angle":294,"satellites":42,"speed":18,"hex_longitude":"2d1b2180","hex_latitude":"071f7950","is_valid_coordinates":true} 
[2026-09-18 16:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170612736001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21406220082479104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449707929600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789728965000,"timestamp_ms":1789728965000,"timestamp_seconds":1789728965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b428c188"} 
[2026-09-18 16:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27: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-09-18 16:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170612736001,"66":14048,"101":206,"83":41984,"24":18,"16":21406220082479104,"45":1959558449707929600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170612736001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21406220082479104,"km_value":21406220082479.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449707929600,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170612736001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1959558449707929600}} 
[2026-09-18 16:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":186289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:31] local.INFO: GPS data processed {"connection_id":186289,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:31] local.INFO: Acknowledgment sent {"connection_id":186289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:49] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b429d2f8012d0dcfc00706f988002000e11e..."} 
[2026-09-18 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b429d2f8012d0dcfc00706f988002000e11e..."} 
[2026-09-18 16:27:49] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b429d2f8012d0dcfc00706f988002000e11e..."} 
[2026-09-18 16:27:49] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:27:49] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:27:49] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117897608,"longitude_deg":75.5879872,"latitude_deg":11.7897608,"altitude":32,"angle":225,"satellites":30,"speed":12,"hex_longitude":"2d0dcfc0","hex_latitude":"0706f988","is_valid_coordinates":true} 
[2026-09-18 16:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170632704001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33128805035933696,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995577022807433216,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729035000,"timestamp_ms":1789729035000,"timestamp_seconds":1789729035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b429d2f8"} 
[2026-09-18 16:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170632704001,"66":14515,"219":206,"94":10240,"24":12,"16":33128805035933696,"45":995577022807433216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170632704001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:27:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33128805035933696,"km_value":33128805035933.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":995577022807433216,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170632704001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":995577022807433216}} 
[2026-09-18 16:27:49] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:27:49] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:27:49] local.INFO: IMEI packet received {"connection_id":186290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":186290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:49] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:49] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:54] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:27:54] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:27:54] local.INFO: IMEI packet received {"connection_id":186290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":186290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:27:54] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b428f838012d55b700067db7e0001601472c..."} 
[2026-09-18 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b428f838012d55b700067db7e0001601472c..."} 
[2026-09-18 16:27:54] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b428f838012d55b700067db7e0001601472c..."} 
[2026-09-18 16:27:54] local.INFO: Packet analysis {"connection_id":186288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:54] local.INFO: Extracted packet for processing {"connection_id":186288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b428"} 
[2026-09-18 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":760592128,"raw_latitude":108902368,"longitude_deg":76.0592128,"latitude_deg":10.8902368,"altitude":22,"angle":327,"satellites":44,"speed":42,"hex_longitude":"2d55b700","hex_latitude":"067db7e0","is_valid_coordinates":true} 
[2026-09-18 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170616320001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405446931377029120,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182034941373075456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789728979000,"timestamp_ms":1789728979000,"timestamp_seconds":1789728979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b428f838"} 
[2026-09-18 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170616320001,"66":27767,"227":206,"80":60928,"24":42,"16":405446931377029120,"45":6182034941373075456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-09-18 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170616320001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405446931377029120,"km_value":405446931377029.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182034941373075456,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170616320001,"power":27767,"unknown_227":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":6182034941373075456}} 
[2026-09-18 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":186288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:54] local.INFO: GPS data processed {"connection_id":186288,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:54] local.INFO: Acknowledgment sent {"connection_id":186288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:27:57] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:57] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:27:57] local.INFO: Packet analysis {"connection_id":186290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:27:57] local.INFO: Extracted packet for processing {"connection_id":186290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:27:57] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:27:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:27:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:27:57] 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-09-18 16:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:27:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:27:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":186290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:27:57] local.INFO: GPS data processed {"connection_id":186290,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:27:57] local.INFO: Acknowledgment sent {"connection_id":186290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:02] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4291390012d1b1380071f80a8003c012e29..."} 
[2026-09-18 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4291390012d1b1380071f80a8003c012e29..."} 
[2026-09-18 16:28:02] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4291390012d1b1380071f80a8003c012e29..."} 
[2026-09-18 16:28:02] local.INFO: Packet analysis {"connection_id":186289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:02] local.INFO: Extracted packet for processing {"connection_id":186289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756749184,"raw_latitude":119505064,"longitude_deg":75.6749184,"latitude_deg":11.9505064,"altitude":60,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2d1b1380","hex_latitude":"071f80a8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170615040001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21406413356007424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954984481336676352,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28: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-09-18 16:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789728986000,"timestamp_ms":1789728986000,"timestamp_seconds":1789728986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4291390"} 
[2026-09-18 16:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170615040001,"66":14396,"101":206,"83":41984,"24":0,"16":21406413356007424,"45":1954984481336676352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170615040001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21406413356007424,"km_value":21406413356007.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954984481336676352,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170615040001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1954984481336676352}} 
[2026-09-18 16:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":186289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:02] local.INFO: GPS data processed {"connection_id":186289,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:02] local.INFO: Acknowledgment sent {"connection_id":186289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:11] local.INFO: TCP Data received {"connection_id":187567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:11] local.INFO: Processing buffer {"connection_id":187567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:11] local.INFO: IMEI packet received {"connection_id":187567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":187567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:28:12] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:12] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:12] local.INFO: IMEI packet received {"connection_id":187568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":187568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:28:12] local.INFO: TCP Data received {"connection_id":187567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:12] local.INFO: Processing buffer {"connection_id":187567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:12] local.INFO: IMEI packet received {"connection_id":187567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":187567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:16] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:16] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:16] local.INFO: IMEI packet received {"connection_id":187568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":187568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:16] local.INFO: TCP Data received {"connection_id":187567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:16] local.INFO: Processing buffer {"connection_id":187567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:28:16] local.INFO: IMEI packet received {"connection_id":187567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":187567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:17] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:17] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:28:17] local.INFO: IMEI packet received {"connection_id":187568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":187568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:17] local.INFO: TCP Data received {"connection_id":187567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4291778012d55a540067dd6600018014c2c..."} 
[2026-09-18 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4291778012d55a540067dd6600018014c2c..."} 
[2026-09-18 16:28:17] local.INFO: Processing buffer {"connection_id":187567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4291778012d55a540067dd6600018014c2c..."} 
[2026-09-18 16:28:17] local.INFO: Packet analysis {"connection_id":187567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:17] local.INFO: Extracted packet for processing {"connection_id":187567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":760587584,"raw_latitude":108910176,"longitude_deg":76.0587584,"latitude_deg":10.8910176,"altitude":24,"angle":332,"satellites":44,"speed":44,"hex_longitude":"2d55a540","hex_latitude":"067dd660","is_valid_coordinates":true} 
[2026-09-18 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170618624001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405447365168726016,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6176405441840930816,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789728987000,"timestamp_ms":1789728987000,"timestamp_seconds":1789728987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4291778"} 
[2026-09-18 16:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:28: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-09-18 16:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170618624001,"66":27800,"227":206,"80":60928,"24":44,"16":405447365168726016,"45":6176405441840930816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-09-18 16:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170618624001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:17] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-18 16:28:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405447365168726016,"km_value":405447365168726.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6176405441840930816,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170618624001,"power":27800,"unknown_227":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":6176405441840930816}} 
[2026-09-18 16:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":187567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:17] local.INFO: GPS data processed {"connection_id":187567,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:17] local.INFO: Acknowledgment sent {"connection_id":187567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:18] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b429dac8012d0dce000706f708002000d31e..."} 
[2026-09-18 16:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b429dac8012d0dce000706f708002000d31e..."} 
[2026-09-18 16:28:18] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b429dac8012d0dce000706f708002000d31e..."} 
[2026-09-18 16:28:18] local.INFO: Packet analysis {"connection_id":187568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:18] local.INFO: Extracted packet for processing {"connection_id":187568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:18] local.INFO: GPS Element Parsed {"raw_longitude":755879424,"raw_latitude":117896968,"longitude_deg":75.5879424,"latitude_deg":11.7896968,"altitude":32,"angle":211,"satellites":30,"speed":16,"hex_longitude":"2d0dce00","hex_latitude":"0706f708","is_valid_coordinates":true} 
[2026-09-18 16:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170632960001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33128843690639360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995225179086489600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729037000,"timestamp_ms":1789729037000,"timestamp_seconds":1789729037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b429dac8"} 
[2026-09-18 16:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170632960001,"66":14450,"219":206,"94":10240,"24":16,"16":33128843690639360,"45":995225179086489600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170632960001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:28:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33128843690639360,"km_value":33128843690639.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":995225179086489600,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170632960001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":995225179086489600}} 
[2026-09-18 16:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":187568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:18] local.INFO: GPS data processed {"connection_id":187568,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:18] local.INFO: Acknowledgment sent {"connection_id":187568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:25] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: IMEI packet received {"connection_id":186291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:28:25] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: IMEI packet received {"connection_id":186291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:25] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:25] local.INFO: IMEI packet received {"connection_id":186291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:26] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:26] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:28:26] local.INFO: IMEI packet received {"connection_id":186291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":186291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:28:27] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42a3888012d1ac5c0071f85d0003f014027..."} 
[2026-09-18 16:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42a3888012d1ac5c0071f85d0003f014027..."} 
[2026-09-18 16:28:27] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42a3888012d1ac5c0071f85d0003f014027..."} 
[2026-09-18 16:28:27] local.INFO: Packet analysis {"connection_id":186291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:28:27] local.INFO: Extracted packet for processing {"connection_id":186291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756729280,"raw_latitude":119506384,"longitude_deg":75.672928,"latitude_deg":11.9506384,"altitude":63,"angle":320,"satellites":39,"speed":8,"hex_longitude":"2d1ac5c0","hex_latitude":"071f85d0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170639360001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21407418378354688,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627200972800,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789729061000,"timestamp_ms":1789729061000,"timestamp_seconds":1789729061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42a3888"} 
[2026-09-18 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-09-18 16:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170639360001,"66":13972,"101":206,"83":41984,"24":8,"16":21407418378354688,"45":1929440627200972800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170639360001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21407418378354688,"km_value":21407418378354.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627200972800,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170639360001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1929440627200972800}} 
[2026-09-18 16:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":186291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:27] local.INFO: GPS data processed {"connection_id":186291,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:27] local.INFO: Acknowledgment sent {"connection_id":186291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:29] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:28:29] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:28:29] local.INFO: Packet analysis {"connection_id":186290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:28:29] local.INFO: Extracted packet for processing {"connection_id":186290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:28:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":186290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:29] local.INFO: GPS data processed {"connection_id":186290,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:29] local.INFO: Acknowledgment sent {"connection_id":186290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:30] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42a3c70012d1ac580071f8690003f015028..."} 
[2026-09-18 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42a3c70012d1ac580071f8690003f015028..."} 
[2026-09-18 16:28:30] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42a3c70012d1ac580071f8690003f015028..."} 
[2026-09-18 16:28:30] local.INFO: Packet analysis {"connection_id":186291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:28:30] local.INFO: Extracted packet for processing {"connection_id":186291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119506576,"longitude_deg":75.6729216,"latitude_deg":11.9506576,"altitude":63,"angle":336,"satellites":40,"speed":10,"hex_longitude":"2d1ac580","hex_latitude":"071f8690","is_valid_coordinates":true} 
[2026-09-18 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170639616001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21407426968289280,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929159152224292864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729062000,"timestamp_ms":1789729062000,"timestamp_seconds":1789729062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42a3c70"} 
[2026-09-18 16:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28: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-09-18 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170639616001,"66":13993,"101":206,"83":41984,"24":10,"16":21407426968289280,"45":1929159152224292864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170639616001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21407426968289280,"km_value":21407426968289.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929159152224292864,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170639616001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1929159152224292864}} 
[2026-09-18 16:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":186291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:30] local.INFO: GPS data processed {"connection_id":186291,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:30] local.INFO: Acknowledgment sent {"connection_id":186291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:49] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42b22e8012d0d2dc007071770001e013a1e..."} 
[2026-09-18 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42b22e8012d0d2dc007071770001e013a1e..."} 
[2026-09-18 16:28:49] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42b22e8012d0d2dc007071770001e013a1e..."} 
[2026-09-18 16:28:49] local.INFO: Packet analysis {"connection_id":187568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:28:49] local.INFO: Extracted packet for processing {"connection_id":187568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:28:49] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117905264,"longitude_deg":75.58384,"latitude_deg":11.7905264,"altitude":30,"angle":314,"satellites":30,"speed":9,"hex_longitude":"2d0d2dc0","hex_latitude":"07071770","is_valid_coordinates":true} 
[2026-09-18 16:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170654720001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33130952519581696,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339093809152,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729121000,"timestamp_ms":1789729121000,"timestamp_seconds":1789729121,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42b22e8"} 
[2026-09-18 16:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170654720001,"66":14026,"219":206,"94":10240,"24":9,"16":33130952519581696,"45":949837339093809152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170654720001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33130952519581696,"km_value":33130952519581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339093809152,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170654720001,"power":14026,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":949837339093809152}} 
[2026-09-18 16:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":187568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:49] local.INFO: GPS data processed {"connection_id":187568,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:49] local.INFO: Acknowledgment sent {"connection_id":187568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:49] local.INFO: TCP Data received {"connection_id":187567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4293aa0012d559600067df7b8001901512c..."} 
[2026-09-18 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4293aa0012d559600067df7b8001901512c..."} 
[2026-09-18 16:28:49] local.INFO: Processing buffer {"connection_id":187567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4293aa0012d559600067df7b8001901512c..."} 
[2026-09-18 16:28:49] local.INFO: Packet analysis {"connection_id":187567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:49] local.INFO: Extracted packet for processing {"connection_id":187567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b429"} 
[2026-09-18 16:28:49] local.INFO: GPS Element Parsed {"raw_longitude":760583680,"raw_latitude":108918712,"longitude_deg":76.058368,"latitude_deg":10.8918712,"altitude":25,"angle":337,"satellites":44,"speed":40,"hex_longitude":"2d559600","hex_latitude":"067df7b8","is_valid_coordinates":true} 
[2026-09-18 16:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170620672001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405447820435259392,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6171409261006315520,"note":"Value kept but may cause issues"} 
[2026-09-18 16:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789728996000,"timestamp_ms":1789728996000,"timestamp_seconds":1789728996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4293aa0"} 
[2026-09-18 16:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170620672001,"66":27843,"227":206,"80":60928,"24":40,"16":405447820435259392,"45":6171409261006315520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-09-18 16:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170620672001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405447820435259392,"km_value":405447820435259.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6171409261006315520,"description":"Unknown IO ID 45"} 
[2026-09-18 16:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170620672001,"power":27843,"unknown_227":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":6171409261006315520}} 
[2026-09-18 16:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":187567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:28:49] local.INFO: GPS data processed {"connection_id":187567,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:28:49] local.INFO: Acknowledgment sent {"connection_id":187567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:28:54] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:28:54] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:28:54] local.INFO: IMEI packet received {"connection_id":186140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":186140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:28:59] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:28:59] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:28:59] local.INFO: IMEI packet received {"connection_id":186140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":186140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:01] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42a4058012d1ac4c0071f87b0003f016329..."} 
[2026-09-18 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42a4058012d1ac4c0071f87b0003f016329..."} 
[2026-09-18 16:29:01] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42a4058012d1ac4c0071f87b0003f016329..."} 
[2026-09-18 16:29:01] local.INFO: Packet analysis {"connection_id":186291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:01] local.INFO: Extracted packet for processing {"connection_id":186291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119506864,"longitude_deg":75.6729024,"latitude_deg":11.9506864,"altitude":63,"angle":355,"satellites":41,"speed":13,"hex_longitude":"2d1ac4c0","hex_latitude":"071f87b0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170639872001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21407444148158464,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480164352,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789729063000,"timestamp_ms":1789729063000,"timestamp_seconds":1789729063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42a4058"} 
[2026-09-18 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-09-18 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:29:01] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170639872001,"66":13993,"101":206,"83":41984,"24":13,"16":21407444148158464,"45":1929088783480164352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170639872001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21407444148158464,"km_value":21407444148158.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480164352,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170639872001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1929088783480164352}} 
[2026-09-18 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:29:01] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:29:01] local.INFO: Packet analysis {"connection_id":186140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:29:01] local.INFO: Extracted packet for processing {"connection_id":186140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 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-09-18 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:01] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:29:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 16:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":186140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:01] local.INFO: GPS data processed {"connection_id":186140,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:01] local.INFO: Acknowledgment sent {"connection_id":186140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":186291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:01] local.INFO: GPS data processed {"connection_id":186291,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:01] local.INFO: Acknowledgment sent {"connection_id":186291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:11] local.INFO: TCP Data received {"connection_id":186141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:29:11] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:29:11] local.INFO: IMEI packet received {"connection_id":186141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":186141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:29:13] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:13] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:13] local.INFO: IMEI packet received {"connection_id":186292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":186292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:29:16] local.INFO: TCP Data received {"connection_id":186141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:29:16] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:29:16] local.INFO: IMEI packet received {"connection_id":186141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:17] local.INFO: TCP Data received {"connection_id":186141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42ab588012d5507c0067f6e20002e01552f..."} 
[2026-09-18 16:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42ab588012d5507c0067f6e20002e01552f..."} 
[2026-09-18 16:29:17] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42ab588012d5507c0067f6e20002e01552f..."} 
[2026-09-18 16:29:17] local.INFO: Packet analysis {"connection_id":186141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:17] local.INFO: Extracted packet for processing {"connection_id":186141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":760547264,"raw_latitude":109014560,"longitude_deg":76.0547264,"latitude_deg":10.901456,"altitude":46,"angle":341,"satellites":47,"speed":41,"hex_longitude":"2d5507c0","hex_latitude":"067f6e20","is_valid_coordinates":true} 
[2026-09-18 16:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170645504001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405452828367126528,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6130454651919333376,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729093000,"timestamp_ms":1789729093000,"timestamp_seconds":1789729093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42ab588"} 
[2026-09-18 16:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:17] 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-09-18 16:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170645504001,"66":27593,"152":206,"80":60928,"24":41,"16":405452828367126528,"45":6130454651919333376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-18 16:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170645504001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:17] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-18 16:29:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405452828367126528,"km_value":405452828367126.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6130454651919333376,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170645504001,"power":27593,"unknown_152":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":6130454651919333376}} 
[2026-09-18 16:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":186141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:17] local.INFO: GPS data processed {"connection_id":186141,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:17] local.INFO: Acknowledgment sent {"connection_id":186141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:17] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:17] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:17] local.INFO: IMEI packet received {"connection_id":186292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":186292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:18] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:18] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:29:18] local.INFO: IMEI packet received {"connection_id":186292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":186292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:19] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42b26d0012d0d2d4007071838001e014c1d..."} 
[2026-09-18 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42b26d0012d0d2d4007071838001e014c1d..."} 
[2026-09-18 16:29:19] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42b26d0012d0d2d4007071838001e014c1d..."} 
[2026-09-18 16:29:19] local.INFO: Packet analysis {"connection_id":186292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:29:19] local.INFO: Extracted packet for processing {"connection_id":186292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:29:19] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117905464,"longitude_deg":75.5838272,"latitude_deg":11.7905464,"altitude":30,"angle":332,"satellites":29,"speed":8,"hex_longitude":"2d0d2d40","hex_latitude":"07071838","is_valid_coordinates":true} 
[2026-09-18 16:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170654976001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33130965404483584,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232861323264,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789729122000,"timestamp_ms":1789729122000,"timestamp_seconds":1789729122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42b26d0"} 
[2026-09-18 16:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170654976001,"66":14026,"219":206,"94":10240,"24":8,"16":33130965404483584,"45":949626232861323264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-18 16:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170654976001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-18 16:29:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33130965404483584,"km_value":33130965404483.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232861323264,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170654976001,"power":14026,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":949626232861323264}} 
[2026-09-18 16:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":186292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:19] local.INFO: GPS data processed {"connection_id":186292,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:19] local.INFO: Acknowledgment sent {"connection_id":186292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:21] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:21] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:21] local.INFO: IMEI packet received {"connection_id":186142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":186142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:29:23] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42b2ea0012d0d2c80070719d0001e015f1e..."} 
[2026-09-18 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42b2ea0012d0d2c80070719d0001e015f1e..."} 
[2026-09-18 16:29:23] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42b2ea0012d0d2c80070719d0001e015f1e..."} 
[2026-09-18 16:29:23] local.INFO: Packet analysis {"connection_id":186292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:29:23] local.INFO: Extracted packet for processing {"connection_id":186292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117905872,"longitude_deg":75.583808,"latitude_deg":11.7905872,"altitude":30,"angle":351,"satellites":30,"speed":9,"hex_longitude":"2d0d2c80","hex_latitude":"070719d0","is_valid_coordinates":true} 
[2026-09-18 16:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170655232001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33130986879320064,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495373019136,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789729124000,"timestamp_ms":1789729124000,"timestamp_seconds":1789729124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42b2ea0"} 
[2026-09-18 16:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170655232001,"66":14026,"221":206,"94":10240,"24":9,"16":33130986879320064,"45":949485495373019136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170655232001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33130986879320064,"km_value":33130986879320.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495373019136,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170655232001,"power":14026,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":949485495373019136}} 
[2026-09-18 16:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":186292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861471,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:23] local.INFO: GPS data processed {"connection_id":186292,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:23] local.INFO: Acknowledgment sent {"connection_id":186292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:25] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:25] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:25] local.INFO: IMEI packet received {"connection_id":186142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":186142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:30] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:30] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:29:30] local.INFO: IMEI packet received {"connection_id":186142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":186142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:30] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42a4ff8012d1ac440071f8ec8003e01502a..."} 
[2026-09-18 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42a4ff8012d1ac440071f8ec8003e01502a..."} 
[2026-09-18 16:29:30] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42a4ff8012d1ac440071f8ec8003e01502a..."} 
[2026-09-18 16:29:30] local.INFO: Packet analysis {"connection_id":186142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:30] local.INFO: Extracted packet for processing {"connection_id":186142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119508680,"longitude_deg":75.6728896,"latitude_deg":11.950868,"altitude":62,"angle":336,"satellites":42,"speed":22,"hex_longitude":"2d1ac440","hex_latitude":"071f8ec8","is_valid_coordinates":true} 
[2026-09-18 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170640128001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21407534342471680,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928877677247705088,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729067000,"timestamp_ms":1789729067000,"timestamp_seconds":1789729067,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42a4ff8"} 
[2026-09-18 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170640128001,"66":14048,"101":206,"83":41984,"24":22,"16":21407534342471680,"45":1928877677247705088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170640128001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21407534342471680,"km_value":21407534342471.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928877677247705088,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170640128001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1928877677247705088}} 
[2026-09-18 16:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":186142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:31] local.INFO: GPS data processed {"connection_id":186142,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:31] local.INFO: Acknowledgment sent {"connection_id":186142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:33] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:29:33] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42790d8012d7a1ec005e46bf8001000712a..."} 
[2026-09-18 16:29:33] local.INFO: Packet analysis {"connection_id":186140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:29:33] local.INFO: Extracted packet for processing {"connection_id":186140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b427"} 
[2026-09-18 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170566656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789728887000,"timestamp_ms":1789728887000,"timestamp_seconds":1789728887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42790d8"} 
[2026-09-18 16:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4390728161709522944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6866825951137682054,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4610027503518479615,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3098476547640658432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335177456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":34,"raw_value":1658526854286336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7773213008392628992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433121714178,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,195,160,223,45,192,107,13,43,10,66,225,64,106,22,28,143,240,7,222,1,29,5,4,34,228,6,77,85,206],"length":524,"final_offset":654,"validated_count":36,"validation_warnings":[]} 
[2026-09-18 16:29:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936873151990595650,"timestamp_seconds":936873151990595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:29:33] 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-09-18 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170566656001,"66":13222,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170566656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170566656001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":186140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:33] local.INFO: GPS data processed {"connection_id":186140,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:33] local.INFO: Acknowledgment sent {"connection_id":186140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:48] local.INFO: TCP Data received {"connection_id":186141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42ad8b0012d54fb00067f8f90003201512d..."} 
[2026-09-18 16:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42ad8b0012d54fb00067f8f90003201512d..."} 
[2026-09-18 16:29:48] local.INFO: Processing buffer {"connection_id":186141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42ad8b0012d54fb00067f8f90003201512d..."} 
[2026-09-18 16:29:48] local.INFO: Packet analysis {"connection_id":186141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:48] local.INFO: Extracted packet for processing {"connection_id":186141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:29:48] local.INFO: GPS Element Parsed {"raw_longitude":760544000,"raw_latitude":109023120,"longitude_deg":76.0544,"latitude_deg":10.902312,"altitude":50,"angle":337,"satellites":45,"speed":39,"hex_longitude":"2d54fb00","hex_latitude":"067f8f90","is_valid_coordinates":true} 
[2026-09-18 16:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170647808001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405453270748758016,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127076952201109504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789729102000,"timestamp_ms":1789729102000,"timestamp_seconds":1789729102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42ad8b0"} 
[2026-09-18 16:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29: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-09-18 16: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:48] 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-09-18 16:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:29: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-09-18 16:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170647808001,"66":27843,"152":206,"80":60928,"24":39,"16":405453270748758016,"45":6127076952201109504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-18 16:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170647808001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:48] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-18 16:29:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405453270748758016,"km_value":405453270748758.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127076952201109504,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170647808001,"power":27843,"unknown_152":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":6127076952201109504}} 
[2026-09-18 16:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":186141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:48] local.INFO: GPS data processed {"connection_id":186141,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:48] local.INFO: Acknowledgment sent {"connection_id":186141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:48] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:48] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:48] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:29:50] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:50] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:50] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:53] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:53] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:29:53] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:29:54] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:29:54] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:29:54] local.INFO: Packet analysis {"connection_id":186293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:29:54] local.INFO: Extracted packet for processing {"connection_id":186293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170595072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789729188000,"timestamp_ms":1789729188000,"timestamp_seconds":1789729188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c28a0"} 
[2026-09-18 16:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:29:54] 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-09-18 16:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170595072001,"66":12841,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170595072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170595072001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":186293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:54] local.INFO: GPS data processed {"connection_id":186293,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:54] local.INFO: Acknowledgment sent {"connection_id":186293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:29:54] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42bf5d8012d0cdd8007074d68002300ff1e..."} 
[2026-09-18 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42bf5d8012d0cdd8007074d68002300ff1e..."} 
[2026-09-18 16:29:54] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42bf5d8012d0cdd8007074d68002300ff1e..."} 
[2026-09-18 16:29:54] local.INFO: Packet analysis {"connection_id":186292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:29:54] local.INFO: Extracted packet for processing {"connection_id":186292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":117919080,"longitude_deg":75.5817856,"latitude_deg":11.791908,"altitude":35,"angle":255,"satellites":30,"speed":14,"hex_longitude":"2d0cdd80","hex_latitude":"07074d68","is_valid_coordinates":true} 
[2026-09-18 16:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170668544001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33132498707808256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927389709704742912,"note":"Value kept but may cause issues"} 
[2026-09-18 16:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789729175000,"timestamp_ms":1789729175000,"timestamp_seconds":1789729175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42bf5d8"} 
[2026-09-18 16:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170668544001,"66":14515,"221":206,"94":10240,"24":14,"16":33132498707808256,"45":927389709704742912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170668544001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33132498707808256,"km_value":33132498707808.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":927389709704742912,"description":"Unknown IO ID 45"} 
[2026-09-18 16:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170668544001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":927389709704742912}} 
[2026-09-18 16:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":186292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:29:54] local.INFO: GPS data processed {"connection_id":186292,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:29:54] local.INFO: Acknowledgment sent {"connection_id":186292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:02] local.INFO: TCP Data received {"connection_id":186142,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42a53e0012d1ac2c0071f90a0003d013c2a..."} 
[2026-09-18 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42a53e0012d1ac2c0071f90a0003d013c2a..."} 
[2026-09-18 16:30:02] local.INFO: Processing buffer {"connection_id":186142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42a53e0012d1ac2c0071f90a0003d013c2a..."} 
[2026-09-18 16:30:02] local.INFO: Packet analysis {"connection_id":186142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:30:02] local.INFO: Extracted packet for processing {"connection_id":186142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756728512,"raw_latitude":119509152,"longitude_deg":75.6728512,"latitude_deg":11.9509152,"altitude":61,"angle":316,"satellites":42,"speed":23,"hex_longitude":"2d1ac2c0","hex_latitude":"071f90a0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170641152001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21407560112275456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759814656,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789729068000,"timestamp_ms":1789729068000,"timestamp_seconds":1789729068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42a53e0"} 
[2026-09-18 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170641152001,"66":13319,"101":206,"83":41984,"24":23,"16":21407560112275456,"45":1928736939759814656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170641152001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21407560112275456,"km_value":21407560112275.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759814656,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170641152001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1928736939759814656}} 
[2026-09-18 16:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":186142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:02] local.INFO: GPS data processed {"connection_id":186142,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:02] local.INFO: Acknowledgment sent {"connection_id":186142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:12] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:30:12] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:30:12] local.INFO: IMEI packet received {"connection_id":188894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":188894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:30:16] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:30:16] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:30:16] local.INFO: IMEI packet received {"connection_id":188895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":188895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:30:17] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:30:17] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:30:17] local.INFO: IMEI packet received {"connection_id":188894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":188894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:30:18] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42bf9c0012d0cdc0007074d88002301121e..."} 
[2026-09-18 16:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42bf9c0012d0cdc0007074d88002301121e..."} 
[2026-09-18 16:30:18] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42bf9c0012d0cdc0007074d88002301121e..."} 
[2026-09-18 16:30:18] local.INFO: Packet analysis {"connection_id":188894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:18] local.INFO: Extracted packet for processing {"connection_id":188894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":755817472,"raw_latitude":117919112,"longitude_deg":75.5817472,"latitude_deg":11.7919112,"altitude":35,"angle":274,"satellites":30,"speed":13,"hex_longitude":"2d0cdc00","hex_latitude":"07074d88","is_valid_coordinates":true} 
[2026-09-18 16:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170668800001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33132515887677440,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037865983830016,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729176000,"timestamp_ms":1789729176000,"timestamp_seconds":1789729176,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42bf9c0"} 
[2026-09-18 16:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170668800001,"66":14298,"221":206,"94":10240,"24":13,"16":33132515887677440,"45":927037865983830016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170668800001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:30:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33132515887677440,"km_value":33132515887677.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037865983830016,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170668800001,"power":14298,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927037865983830016}} 
[2026-09-18 16:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":188894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:18] local.INFO: GPS data processed {"connection_id":188894,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:18] local.INFO: Acknowledgment sent {"connection_id":188894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:21] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:30:21] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:30:21] local.INFO: IMEI packet received {"connection_id":188895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":188895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:30:21] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42affc0012d54ebc0067faf100037014c2e..."} 
[2026-09-18 16:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42affc0012d54ebc0067faf100037014c2e..."} 
[2026-09-18 16:30:21] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42affc0012d54ebc0067faf100037014c2e..."} 
[2026-09-18 16:30:21] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:30:21] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:30:21] local.INFO: GPS Element Parsed {"raw_longitude":760540096,"raw_latitude":109031184,"longitude_deg":76.0540096,"latitude_deg":10.9031184,"altitude":55,"angle":332,"satellites":46,"speed":34,"hex_longitude":"2d54ebc0","hex_latitude":"067faf10","is_valid_coordinates":true} 
[2026-09-18 16:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170650112001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405453704540454912,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6123488146250240000,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789729112000,"timestamp_ms":1789729112000,"timestamp_seconds":1789729112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42affc0"} 
[2026-09-18 16:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:21] 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-09-18 16:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:21] 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-09-18 16:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170650112001,"66":27484,"152":206,"80":60928,"24":34,"16":405453704540454912,"45":6123488146250240000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-18 16:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170650112001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:21] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-18 16:30:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405453704540454912,"km_value":405453704540454.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6123488146250240000,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170650112001,"power":27484,"unknown_152":206,"unknown_80":60928,"ignition":34,"odometer":null,"unknown_45":6123488146250240000}} 
[2026-09-18 16:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:21] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:21] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:22] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42b2ab8012d54d940067fd080003c014a2e..."} 
[2026-09-18 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42b2ab8012d54d940067fd080003c014a2e..."} 
[2026-09-18 16:30:22] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42b2ab8012d54d940067fd080003c014a2e..."} 
[2026-09-18 16:30:22] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:22] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":760535360,"raw_latitude":109039744,"longitude_deg":76.053536,"latitude_deg":10.9039744,"altitude":60,"angle":330,"satellites":46,"speed":35,"hex_longitude":"2d54d940","hex_latitude":"067fd080","is_valid_coordinates":true} 
[2026-09-18 16:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170652672001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405454176986857472,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119195652857466880,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789729123000,"timestamp_ms":1789729123000,"timestamp_seconds":1789729123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42b2ab8"} 
[2026-09-18 16:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170652672001,"66":27767,"152":206,"80":60928,"24":35,"16":405454176986857472,"45":6119195652857466880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-18 16:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170652672001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:22] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-18 16:30:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405454176986857472,"km_value":405454176986857.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119195652857466880,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170652672001,"power":27767,"unknown_152":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":6119195652857466880}} 
[2026-09-18 16:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:22] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:22] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:25] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:25] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:25] local.INFO: IMEI packet received {"connection_id":186294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":186294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:30:25] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:25] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:25] local.INFO: IMEI packet received {"connection_id":186294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":186294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:30:25] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:30:25] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:30:25] local.INFO: Packet analysis {"connection_id":186293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:30:25] local.INFO: Extracted packet for processing {"connection_id":186293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170595072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789729188000,"timestamp_ms":1789729188000,"timestamp_seconds":1789729188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c28a0"} 
[2026-09-18 16:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:30:25] 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-09-18 16:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170595072001,"66":12841,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170595072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170595072001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":186293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:25] local.INFO: GPS data processed {"connection_id":186293,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:25] local.INFO: Acknowledgment sent {"connection_id":186293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:28] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:28] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:30:28] local.INFO: IMEI packet received {"connection_id":186294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":186294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:30:29] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42a57c8012d1ac100071f9228003d012d29..."} 
[2026-09-18 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42a57c8012d1ac100071f9228003d012d29..."} 
[2026-09-18 16:30:29] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42a57c8012d1ac100071f9228003d012d29..."} 
[2026-09-18 16:30:29] local.INFO: Packet analysis {"connection_id":186294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:30:29] local.INFO: Extracted packet for processing {"connection_id":186294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42a"} 
[2026-09-18 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756728064,"raw_latitude":119509544,"longitude_deg":75.6728064,"latitude_deg":11.9509544,"altitude":61,"angle":301,"satellites":41,"speed":25,"hex_longitude":"2d1ac100","hex_latitude":"071f9228","is_valid_coordinates":true} 
[2026-09-18 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170641408001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21407590177046528,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928314727294869504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789729069000,"timestamp_ms":1789729069000,"timestamp_seconds":1789729069,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42a57c8"} 
[2026-09-18 16:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3022662864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":42,"raw_value":1821707342506786823,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-8811292387465353728,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684431642,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3221692293,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:29] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,101,83,24,241,157,16,14,160,79,45,64,142,62,42,10,66,192,135,63,41,13,60,128,1,240,169,227,180,31,4,113,205,8,52,198,88,38,239,54,2,76,7,65,21],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 16:30:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395860862378115072,"timestamp_seconds":4395860862378115.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170641408001,"66":13319,"101":206,"83":41984,"24":25,"16":21407590177046528,"45":1928314727294869504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170641408001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21407590177046528,"km_value":21407590177046.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928314727294869504,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170641408001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1928314727294869504}} 
[2026-09-18 16:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":186294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:29] local.INFO: GPS data processed {"connection_id":186294,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:29] local.INFO: Acknowledgment sent {"connection_id":186294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:49] local.INFO: TCP Data received {"connection_id":187569,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:30:49] local.INFO: Processing buffer {"connection_id":187569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:30:49] local.INFO: IMEI packet received {"connection_id":187569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":187569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:30:50] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42bfda8012d0cda8007074e28002301261e..."} 
[2026-09-18 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42bfda8012d0cda8007074e28002301261e..."} 
[2026-09-18 16:30:50] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42bfda8012d0cda8007074e28002301261e..."} 
[2026-09-18 16:30:50] local.INFO: Packet analysis {"connection_id":188894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:50] local.INFO: Extracted packet for processing {"connection_id":188894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":755817088,"raw_latitude":117919272,"longitude_deg":75.5817088,"latitude_deg":11.7919272,"altitude":35,"angle":294,"satellites":30,"speed":15,"hex_longitude":"2d0cda80","hex_latitude":"07074e28","is_valid_coordinates":true} 
[2026-09-18 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170669056001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33132537362513920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926615653518772224,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789729177000,"timestamp_ms":1789729177000,"timestamp_seconds":1789729177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42bfda8"} 
[2026-09-18 16:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170669056001,"66":14298,"221":206,"94":10240,"24":15,"16":33132537362513920,"45":926615653518772224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170669056001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:30:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33132537362513920,"km_value":33132537362513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":926615653518772224,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170669056001,"power":14298,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":926615653518772224}} 
[2026-09-18 16:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":188894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:50] local.INFO: GPS data processed {"connection_id":188894,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:50] local.INFO: Acknowledgment sent {"connection_id":188894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:54] local.INFO: TCP Data received {"connection_id":187569,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:30:54] local.INFO: Processing buffer {"connection_id":187569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:30:54] local.INFO: IMEI packet received {"connection_id":187569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":187569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:30:55] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42b51c8012d54c800067ff0380040014b2f..."} 
[2026-09-18 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42b51c8012d54c800067ff0380040014b2f..."} 
[2026-09-18 16:30:55] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42b51c8012d54c800067ff0380040014b2f..."} 
[2026-09-18 16:30:55] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:55] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:30:55] local.INFO: GPS Element Parsed {"raw_longitude":760530944,"raw_latitude":109047864,"longitude_deg":76.0530944,"latitude_deg":10.9047864,"altitude":64,"angle":331,"satellites":47,"speed":37,"hex_longitude":"2d54c800","hex_latitude":"067ff038","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170655488001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405454623663456256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6113988365790511104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789729133000,"timestamp_ms":1789729133000,"timestamp_seconds":1789729133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42b51c8"} 
[2026-09-18 16:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:55] 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-09-18 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170655488001,"66":27745,"152":206,"80":60928,"24":37,"16":405454623663456256,"45":6113988365790511104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170655488001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405454623663456256,"km_value":405454623663456.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6113988365790511104,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170655488001,"power":27745,"unknown_152":206,"unknown_80":60928,"ignition":37,"odometer":null,"unknown_45":6113988365790511104}} 
[2026-09-18 16:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:55] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:55] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:55] local.INFO: TCP Data received {"connection_id":187569,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:30:55] local.INFO: Processing buffer {"connection_id":187569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:30:55] local.INFO: Packet analysis {"connection_id":187569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:30:55] local.INFO: Extracted packet for processing {"connection_id":187569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170595072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789729188000,"timestamp_ms":1789729188000,"timestamp_seconds":1789729188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c28a0"} 
[2026-09-18 16:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 16:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:30: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-09-18 16:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170595072001,"66":12841,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170595072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170595072001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":187569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:30:56] local.INFO: GPS data processed {"connection_id":187569,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:30:56] local.INFO: Acknowledgment sent {"connection_id":187569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:30:58] local.INFO: TCP Data received {"connection_id":187566,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:30:58] local.INFO: Processing buffer {"connection_id":187566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:30:58] local.INFO: IMEI packet received {"connection_id":187566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":187566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:31:00] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c6720012d1aa240071f9b000039012b2b..."} 
[2026-09-18 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c6720012d1aa240071f9b000039012b2b..."} 
[2026-09-18 16:31:00] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c6720012d1aa240071f9b000039012b2b..."} 
[2026-09-18 16:31:00] local.INFO: Packet analysis {"connection_id":186294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:00] local.INFO: Extracted packet for processing {"connection_id":186294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756720192,"raw_latitude":119511808,"longitude_deg":75.6720192,"latitude_deg":11.9511808,"altitude":57,"angle":299,"satellites":43,"speed":24,"hex_longitude":"2d1aa240","hex_latitude":"071f9b00","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170674688001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21408006788874240,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921911171575187456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31: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-09-18 16:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789729204000,"timestamp_ms":1789729204000,"timestamp_seconds":1789729204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c6720"} 
[2026-09-18 16:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170674688001,"66":14396,"101":206,"83":41984,"24":24,"16":21408006788874240,"45":1921911171575187456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170674688001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21408006788874240,"km_value":21408006788874.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921911171575187456,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170674688001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1921911171575187456}} 
[2026-09-18 16:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":186294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:00] local.INFO: GPS data processed {"connection_id":186294,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:00] local.INFO: Acknowledgment sent {"connection_id":186294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:11] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:11] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:11] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:31:11] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:11] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:11] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:12] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:12] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:12] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:31:13] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:13] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:13] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:13] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:13] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:13] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:15] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:15] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:31:15] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:16] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d22a0012d0ca78007077780002101161e..."} 
[2026-09-18 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d22a0012d0ca78007077780002101161e..."} 
[2026-09-18 16:31:16] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d22a0012d0ca78007077780002101161e..."} 
[2026-09-18 16:31:16] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:31:16] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":755804032,"raw_latitude":117929856,"longitude_deg":75.5804032,"latitude_deg":11.7929856,"altitude":33,"angle":278,"satellites":30,"speed":16,"hex_longitude":"2d0ca780","hex_latitude":"07077780","is_valid_coordinates":true} 
[2026-09-18 16:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170688000001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33133495140220928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912823379662673920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789729252000,"timestamp_ms":1789729252000,"timestamp_seconds":1789729252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d22a0"} 
[2026-09-18 16:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31: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-09-18 16:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170688000001,"66":14233,"221":206,"94":10240,"24":16,"16":33133495140220928,"45":912823379662673920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170688000001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:31:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33133495140220928,"km_value":33133495140220.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":912823379662673920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170688000001,"power":14233,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":912823379662673920}} 
[2026-09-18 16:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:16] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:16] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:16] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:16] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:31:16] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:17] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42b78d8012d54b5c0068010700045014c2d..."} 
[2026-09-18 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42b78d8012d54b5c0068010700045014c2d..."} 
[2026-09-18 16:31:17] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42b78d8012d54b5c0068010700045014c2d..."} 
[2026-09-18 16:31:17] local.INFO: Packet analysis {"connection_id":186143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:31:17] local.INFO: Extracted packet for processing {"connection_id":186143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42b"} 
[2026-09-18 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":760526272,"raw_latitude":109056112,"longitude_deg":76.0526272,"latitude_deg":10.9056112,"altitude":69,"angle":332,"satellites":45,"speed":37,"hex_longitude":"2d54b5c0","hex_latitude":"06801070","is_valid_coordinates":true} 
[2026-09-18 16:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170658048001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405455078929989632,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6109132922444331008,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729143000,"timestamp_ms":1789729143000,"timestamp_seconds":1789729143,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42b78d8"} 
[2026-09-18 16:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:31: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-09-18 16:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170658048001,"66":27006,"152":206,"80":60928,"24":37,"16":405455078929989632,"45":6109132922444331008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170658048001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405455078929989632,"km_value":405455078929989.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6109132922444331008,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170658048001,"power":27006,"unknown_152":206,"unknown_80":60928,"ignition":37,"odometer":null,"unknown_45":6109132922444331008}} 
[2026-09-18 16:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:17] local.INFO: GPS data processed {"connection_id":186143,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:17] local.INFO: Acknowledgment sent {"connection_id":186143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:17] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d3240012d0c9e00070777100020010a1e..."} 
[2026-09-18 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d3240012d0c9e00070777100020010a1e..."} 
[2026-09-18 16:31:17] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d3240012d0c9e00070777100020010a1e..."} 
[2026-09-18 16:31:17] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:31:17] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":755801600,"raw_latitude":117929744,"longitude_deg":75.58016,"latitude_deg":11.7929744,"altitude":32,"angle":266,"satellites":30,"speed":16,"hex_longitude":"2d0c9e00","hex_latitude":"07077710","is_valid_coordinates":true} 
[2026-09-18 16:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170688512001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33133611104337920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911838217244213248,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729256000,"timestamp_ms":1789729256000,"timestamp_seconds":1789729256,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d3240"} 
[2026-09-18 16:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170688512001,"66":14450,"221":206,"94":10240,"24":16,"16":33133611104337920,"45":911838217244213248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170688512001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33133611104337920,"km_value":33133611104337.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":911838217244213248,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170688512001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":911838217244213248}} 
[2026-09-18 16:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:18] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:18] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:25] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:31:25] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:31:25] local.INFO: IMEI packet received {"connection_id":186144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":186144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:31:27] local.INFO: TCP Data received {"connection_id":187569,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:31:27] local.INFO: Processing buffer {"connection_id":187569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:31:27] local.INFO: Packet analysis {"connection_id":187569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:27] local.INFO: Extracted packet for processing {"connection_id":187569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170595072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789729188000,"timestamp_ms":1789729188000,"timestamp_seconds":1789729188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c28a0"} 
[2026-09-18 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-09-18 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":166,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 16:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:31: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-09-18 16:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170595072001,"66":12841,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170595072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:31:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170595072001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":187569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:27] local.INFO: GPS data processed {"connection_id":187569,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:27] local.INFO: Acknowledgment sent {"connection_id":187569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:30] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:31:30] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:31:30] local.INFO: IMEI packet received {"connection_id":186144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":186144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:30] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c6ef0012d1a9e00071f9e080039013628..."} 
[2026-09-18 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c6ef0012d1a9e00071f9e080039013628..."} 
[2026-09-18 16:31:30] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c6ef0012d1a9e00071f9e080039013628..."} 
[2026-09-18 16:31:30] local.INFO: Packet analysis {"connection_id":186144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:30] local.INFO: Extracted packet for processing {"connection_id":186144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756719104,"raw_latitude":119512584,"longitude_deg":75.6719104,"latitude_deg":11.9512584,"altitude":57,"angle":310,"satellites":40,"speed":28,"hex_longitude":"2d1a9e00","hex_latitude":"071f9e08","is_valid_coordinates":true} 
[2026-09-18 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170676224001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21408071213383680,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919166790552453120,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729206000,"timestamp_ms":1789729206000,"timestamp_seconds":1789729206,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c6ef0"} 
[2026-09-18 16:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31: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-09-18 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170676224001,"66":14363,"101":206,"83":41984,"24":28,"16":21408071213383680,"45":1919166790552453120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170676224001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21408071213383680,"km_value":21408071213383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919166790552453120,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170676224001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1919166790552453120}} 
[2026-09-18 16:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":186144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:30] local.INFO: GPS data processed {"connection_id":186144,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:30] local.INFO: Acknowledgment sent {"connection_id":186144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:48] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42cff78012d53b740068117a8007401392d..."} 
[2026-09-18 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42cff78012d53b740068117a8007401392d..."} 
[2026-09-18 16:31:48] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42cff78012d53b740068117a8007401392d..."} 
[2026-09-18 16:31:48] local.INFO: Packet analysis {"connection_id":186143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:48] local.INFO: Extracted packet for processing {"connection_id":186143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:48] local.INFO: GPS Element Parsed {"raw_longitude":760461120,"raw_latitude":109123496,"longitude_deg":76.046112,"latitude_deg":10.9123496,"altitude":116,"angle":313,"satellites":45,"speed":35,"hex_longitude":"2d53b740","hex_latitude":"068117a8","is_valid_coordinates":true} 
[2026-09-18 16:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170683648001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405459640185257984,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6039678971958736896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:48] 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-09-18 16:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789729243000,"timestamp_ms":1789729243000,"timestamp_seconds":1789729243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42cff78"} 
[2026-09-18 16:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:31: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-09-18 16:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170683648001,"66":27919,"153":206,"80":60928,"24":35,"16":405459640185257984,"45":6039678971958736896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-18 16:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170683648001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405459640185257984,"km_value":405459640185258.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6039678971958736896,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170683648001,"power":27919,"unknown_153":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":6039678971958736896}} 
[2026-09-18 16:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:48] local.INFO: GPS data processed {"connection_id":186143,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:48] local.INFO: Acknowledgment sent {"connection_id":186143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:48] local.INFO: TCP Data received {"connection_id":188896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:31:48] local.INFO: Processing buffer {"connection_id":188896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:31:48] local.INFO: IMEI packet received {"connection_id":188896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":188896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:31:49] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d5950012d0c8c0007077518001d00fb1e..."} 
[2026-09-18 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d5950012d0c8c0007077518001d00fb1e..."} 
[2026-09-18 16:31:49] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d5950012d0c8c0007077518001d00fb1e..."} 
[2026-09-18 16:31:49] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:31:49] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":755796992,"raw_latitude":117929240,"longitude_deg":75.5796992,"latitude_deg":11.792924,"altitude":29,"angle":251,"satellites":30,"speed":23,"hex_longitude":"2d0c8c00","hex_latitude":"07077518","is_valid_coordinates":true} 
[2026-09-18 16:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170689536001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33133834442637312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909164204965433344,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729266000,"timestamp_ms":1789729266000,"timestamp_seconds":1789729266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d5950"} 
[2026-09-18 16:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170689536001,"66":14548,"221":206,"94":10240,"24":23,"16":33133834442637312,"45":909164204965433344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170689536001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:31:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33133834442637312,"km_value":33133834442637.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":909164204965433344,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170689536001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":909164204965433344}} 
[2026-09-18 16:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:50] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:50] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:31:53] local.INFO: TCP Data received {"connection_id":188896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:31:53] local.INFO: Processing buffer {"connection_id":188896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:31:53] local.INFO: IMEI packet received {"connection_id":188896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 16:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":188896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:31:55] local.INFO: TCP Data received {"connection_id":188896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:31:55] local.INFO: Processing buffer {"connection_id":188896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:31:55] local.INFO: Packet analysis {"connection_id":188896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:55] local.INFO: Extracted packet for processing {"connection_id":188896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170595072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789729188000,"timestamp_ms":1789729188000,"timestamp_seconds":1789729188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c28a0"} 
[2026-09-18 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-09-18 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":166,"data_length":795,"current_offset":136} 
[2026-09-18 16:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:31: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-09-18 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170595072001,"66":12841,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170595072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170595072001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":188896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:31:55] local.INFO: GPS data processed {"connection_id":188896,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:31:55] local.INFO: Acknowledgment sent {"connection_id":188896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:01] local.INFO: TCP Data received {"connection_id":186144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d7c78012d19e0c0072008500031013e2a..."} 
[2026-09-18 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d7c78012d19e0c0072008500031013e2a..."} 
[2026-09-18 16:32:01] local.INFO: Processing buffer {"connection_id":186144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d7c78012d19e0c0072008500031013e2a..."} 
[2026-09-18 16:32:01] local.INFO: Packet analysis {"connection_id":186144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:01] local.INFO: Extracted packet for processing {"connection_id":186144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":756670656,"raw_latitude":119539792,"longitude_deg":75.6670656,"latitude_deg":11.9539792,"altitude":49,"angle":318,"satellites":42,"speed":26,"hex_longitude":"2d19e0c0","hex_latitude":"07200850","is_valid_coordinates":true} 
[2026-09-18 16:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170693888001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21410871532060672,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865545807495962624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789729275000,"timestamp_ms":1789729275000,"timestamp_seconds":1789729275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d7c78"} 
[2026-09-18 16:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 16:32: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-09-18 16:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170693888001,"66":14298,"101":206,"83":41984,"24":26,"16":21410871532060672,"45":1865545807495962624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170693888001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21410871532060672,"km_value":21410871532060.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865545807495962624,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170693888001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1865545807495962624}} 
[2026-09-18 16:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":186144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:01] local.INFO: GPS data processed {"connection_id":186144,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:01] local.INFO: Acknowledgment sent {"connection_id":186144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:11] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:11] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:11] local.INFO: IMEI packet received {"connection_id":186145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":186145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:32:11] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:11] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:11] local.INFO: IMEI packet received {"connection_id":187570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":187570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:32:12] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:12] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:12] local.INFO: IMEI packet received {"connection_id":186145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":186145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:13] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:13] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:13] local.INFO: IMEI packet received {"connection_id":187570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":187570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:17] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:17] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:32:17] local.INFO: IMEI packet received {"connection_id":186145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":186145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:18] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42e0148012d0c378007077158001400d21e..."} 
[2026-09-18 16:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42e0148012d0c378007077158001400d21e..."} 
[2026-09-18 16:32:18] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42e0148012d0c378007077158001400d21e..."} 
[2026-09-18 16:32:18] local.INFO: Packet analysis {"connection_id":186145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:32:18] local.INFO: Extracted packet for processing {"connection_id":186145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:32:18] local.INFO: GPS Element Parsed {"raw_longitude":755775360,"raw_latitude":117928280,"longitude_deg":75.577536,"latitude_deg":11.792828,"altitude":20,"angle":210,"satellites":30,"speed":12,"hex_longitude":"2d0c3780","hex_latitude":"07077158","is_valid_coordinates":true} 
[2026-09-18 16:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170702848001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33134891004592128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494828994560,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729309000,"timestamp_ms":1789729309000,"timestamp_seconds":1789729309,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42e0148"} 
[2026-09-18 16:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 16:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170702848001,"66":13820,"221":206,"94":10240,"24":12,"16":33134891004592128,"45":880594494828994560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170702848001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:32:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33134891004592128,"km_value":33134891004592.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494828994560,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170702848001,"power":13820,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":880594494828994560}} 
[2026-09-18 16:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":186145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:18] local.INFO: GPS data processed {"connection_id":186145,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:18] local.INFO: Acknowledgment sent {"connection_id":186145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:22] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:22] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:22] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:32:25] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:25] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:25] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:25] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:25] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:25] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:28] local.INFO: TCP Data received {"connection_id":188896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:32:28] local.INFO: Processing buffer {"connection_id":188896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42c28a0012d7a1ec005e46bf8001000712d..."} 
[2026-09-18 16:32:28] local.INFO: Packet analysis {"connection_id":188896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:32:28] local.INFO: Extracted packet for processing {"connection_id":188896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42c"} 
[2026-09-18 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855928,"longitude_deg":76.2977984,"latitude_deg":9.8855928,"altitude":16,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46bf8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170595072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759516649553920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853468178432,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789729188000,"timestamp_ms":1789729188000,"timestamp_seconds":1789729188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42c28a0"} 
[2026-09-18 16:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 16:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 16:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 16:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 16:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170595072001,"66":12841,"145":206,"87":12288,"24":0,"16":134759516649553920,"45":8799681853468178432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-18 16:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 16:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 16:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170595072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:28] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-18 16:32:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-18 16:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759516649553920,"km_value":134759516649553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853468178432,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170595072001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853468178432}} 
[2026-09-18 16:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":188896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:28] local.INFO: GPS data processed {"connection_id":188896,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:28] local.INFO: Acknowledgment sent {"connection_id":188896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:29] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:29] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:32:29] local.INFO: IMEI packet received {"connection_id":187570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":187570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:30] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:30] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:32:30] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:32:30] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.106.6.14","data_length":1348,"data_hex":"000000000000030f8e0a000001a0b42d2688012d539e0006812fb8007901392f..."} 
[2026-09-18 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0b42d2688012d539e0006812fb8007901392f..."} 
[2026-09-18 16:32:30] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0b42d2688012d539e0006812fb8007901392f..."} 
[2026-09-18 16:32:30] local.INFO: Packet analysis {"connection_id":187570,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: Extracted packet for processing {"connection_id":187570,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":760454656,"raw_latitude":109129656,"longitude_deg":76.0454656,"latitude_deg":10.9129656,"altitude":121,"angle":313,"satellites":47,"speed":35,"hex_longitude":"2d539e00","hex_latitude":"06812fb8","is_valid_coordinates":true} 
[2026-09-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170686208001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405460069681987584,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6032360622565861376,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] 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-09-18 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729253000,"timestamp_ms":1789729253000,"timestamp_seconds":1789729253,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d2688"} 
[2026-09-18 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:30] 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-09-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 16:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170686208001,"66":27789,"153":206,"80":60928,"24":35,"16":405460069681987584,"45":6032360622565861376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170686208001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405460069681987584,"km_value":405460069681987.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6032360622565861376,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170686208001,"power":27789,"unknown_153":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":6032360622565861376}} 
[2026-09-18 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":187570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:30] local.INFO: GPS data processed {"connection_id":187570,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:30] local.INFO: Acknowledgment sent {"connection_id":187570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:30] local.INFO: Packet analysis {"connection_id":187570,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: Incomplete packet, waiting for more data {"connection_id":187570,"needed":795,"available":553} 
[2026-09-18 16:32:30] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d8060012d19dec007200a08003101322a..."} 
[2026-09-18 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d8060012d19dec007200a08003101322a..."} 
[2026-09-18 16:32:30] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d8060012d19dec007200a08003101322a..."} 
[2026-09-18 16:32:30] local.INFO: Packet analysis {"connection_id":188897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: Extracted packet for processing {"connection_id":188897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540232,"longitude_deg":75.6670144,"latitude_deg":11.9540232,"altitude":49,"angle":306,"satellites":42,"speed":27,"hex_longitude":"2d19dec0","hex_latitude":"07200a08","is_valid_coordinates":true} 
[2026-09-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170694400001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21410901596831744,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864701382566105088,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729276000,"timestamp_ms":1789729276000,"timestamp_seconds":1789729276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d8060"} 
[2026-09-18 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32: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-09-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 16:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170694400001,"66":14352,"101":206,"83":41984,"24":27,"16":21410901596831744,"45":1864701382566105088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170694400001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21410901596831744,"km_value":21410901596831.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864701382566105088,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170694400001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1864701382566105088}} 
[2026-09-18 16:32:30] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.106.6.14","data_length":242,"data_hex":"000000000001a0b42c3c28012d54418006809f30005c01342a00270000000a00..."} 
[2026-09-18 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":242,"packet_hex":"000000000001a0b42c3c28012d54418006809f30005c01342a00270000000a00..."} 
[2026-09-18 16:32:30] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d4d98012d538480068147c8007e01392e..."} 
[2026-09-18 16:32:30] local.INFO: Packet analysis {"connection_id":187570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: Extracted packet for processing {"connection_id":187570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":760448128,"raw_latitude":109135816,"longitude_deg":76.0448128,"latitude_deg":10.9135816,"altitude":126,"angle":313,"satellites":46,"speed":35,"hex_longitude":"2d538480","hex_latitude":"068147c8","is_valid_coordinates":true} 
[2026-09-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170688768001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405460499178717184,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6025253379405494272,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:30] 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-09-18 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729263000,"timestamp_ms":1789729263000,"timestamp_seconds":1789729263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d4d98"} 
[2026-09-18 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:30] 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-09-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 16:32:30] 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-09-18 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170688768001,"66":27745,"153":206,"80":60928,"24":35,"16":405460499178717184,"45":6025253379405494272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-18 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170688768001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405460499178717184,"km_value":405460499178717.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6025253379405494272,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170688768001,"power":27745,"unknown_153":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":6025253379405494272}} 
[2026-09-18 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":187570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:30] local.INFO: GPS data processed {"connection_id":187570,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:30] local.INFO: Acknowledgment sent {"connection_id":187570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":188897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:30] local.INFO: GPS data processed {"connection_id":188897,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:30] local.INFO: Acknowledgment sent {"connection_id":188897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:31] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d74a8012d536b00068160000083013a2d..."} 
[2026-09-18 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d74a8012d536b00068160000083013a2d..."} 
[2026-09-18 16:32:31] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d74a8012d536b00068160000083013a2d..."} 
[2026-09-18 16:32:31] local.INFO: Packet analysis {"connection_id":187570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:31] local.INFO: Extracted packet for processing {"connection_id":187570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":760441600,"raw_latitude":109142016,"longitude_deg":76.04416,"latitude_deg":10.9142016,"altitude":131,"angle":314,"satellites":45,"speed":36,"hex_longitude":"2d536b00","hex_latitude":"06816000","is_valid_coordinates":true} 
[2026-09-18 16:32: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-09-18 16:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170691328001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405460932970414080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6018075767500949504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:31] 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-09-18 16:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789729273000,"timestamp_ms":1789729273000,"timestamp_seconds":1789729273,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d74a8"} 
[2026-09-18 16:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:31] 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-09-18 16:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:32: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-09-18 16:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:32: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-09-18 16:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170691328001,"66":27876,"153":206,"80":60928,"24":36,"16":405460932970414080,"45":6018075767500949504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-18 16:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170691328001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 16:32:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405460932970414080,"km_value":405460932970414.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6018075767500949504,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170691328001,"power":27876,"unknown_153":206,"unknown_80":60928,"ignition":36,"odometer":null,"unknown_45":6018075767500949504}} 
[2026-09-18 16:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":187570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:31] local.INFO: GPS data processed {"connection_id":187570,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:31] local.INFO: Acknowledgment sent {"connection_id":187570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:51] local.INFO: TCP Data received {"connection_id":186145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42ed050012d0bb480070741b8001400df1e..."} 
[2026-09-18 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42ed050012d0bb480070741b8001400df1e..."} 
[2026-09-18 16:32:51] local.INFO: Processing buffer {"connection_id":186145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42ed050012d0bb480070741b8001400df1e..."} 
[2026-09-18 16:32:51] local.INFO: Packet analysis {"connection_id":186145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:32:51] local.INFO: Extracted packet for processing {"connection_id":186145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117916088,"longitude_deg":75.5741824,"latitude_deg":11.7916088,"altitude":20,"angle":223,"satellites":30,"speed":17,"hex_longitude":"2d0bb480","hex_latitude":"070741b8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170716416001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33136832329809920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843721272876789760,"note":"Value kept but may cause issues"} 
[2026-09-18 16:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789729362000,"timestamp_ms":1789729362000,"timestamp_seconds":1789729362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42ed050"} 
[2026-09-18 16:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 16:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170716416001,"66":14548,"221":206,"94":10240,"24":17,"16":33136832329809920,"45":843721272876789760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170716416001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33136832329809920,"km_value":33136832329809.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":843721272876789760,"description":"Unknown IO ID 45"} 
[2026-09-18 16:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170716416001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":843721272876789760}} 
[2026-09-18 16:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":186145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861502,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:32:51] local.INFO: GPS data processed {"connection_id":186145,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:32:51] local.INFO: Acknowledgment sent {"connection_id":186145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:32:54] local.INFO: TCP Data received {"connection_id":187571,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:32:54] local.INFO: Processing buffer {"connection_id":187571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:32:54] local.INFO: IMEI packet received {"connection_id":187571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":187571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:33:02] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42e4798012d19b8c00720abe0003201432a..."} 
[2026-09-18 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42e4798012d19b8c00720abe0003201432a..."} 
[2026-09-18 16:33:02] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42e4798012d19b8c00720abe0003201432a..."} 
[2026-09-18 16:33:02] local.INFO: Packet analysis {"connection_id":188897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:33:02] local.INFO: Extracted packet for processing {"connection_id":188897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119581664,"longitude_deg":75.6660416,"latitude_deg":11.9581664,"altitude":50,"angle":323,"satellites":42,"speed":19,"hex_longitude":"2d19b8c0","hex_latitude":"0720abe0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170707456001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21413156454662144,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229190144,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789729327000,"timestamp_ms":1789729327000,"timestamp_seconds":1789729327,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42e4798"} 
[2026-09-18 16:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:33: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-09-18 16: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-09-18 16:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170707456001,"66":13993,"103":206,"83":41984,"24":19,"16":21413156454662144,"45":1853794227229190144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 16:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170707456001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:33:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:33:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21413156454662144,"km_value":21413156454662.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229190144,"description":"Unknown IO ID 45"} 
[2026-09-18 16:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170707456001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853794227229190144}} 
[2026-09-18 16:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":188897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:33:02] local.INFO: GPS data processed {"connection_id":188897,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:33:02] local.INFO: Acknowledgment sent {"connection_id":188897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:33:11] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:11] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:11] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:33:12] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:33:12] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:33:12] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:33:14] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:14] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:14] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:33:17] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:17] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:33:17] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:33:17] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:33:17] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:33:17] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:33:18] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42d9fa0012d534f0006817a68008701392f..."} 
[2026-09-18 16:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42d9fa0012d534f0006817a68008701392f..."} 
[2026-09-18 16:33:18] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42d9fa0012d534f0006817a68008701392f..."} 
[2026-09-18 16:33:18] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:33:18] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42d"} 
[2026-09-18 16:33:18] local.INFO: GPS Element Parsed {"raw_longitude":760434432,"raw_latitude":109148776,"longitude_deg":76.0434432,"latitude_deg":10.9148776,"altitude":135,"angle":313,"satellites":47,"speed":36,"hex_longitude":"2d534f00","hex_latitude":"06817a68","is_valid_coordinates":true} 
[2026-09-18 16:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170693888001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405461405416816640,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6010898155596414976,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:18] 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-09-18 16:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729284000,"timestamp_ms":1789729284000,"timestamp_seconds":1789729284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42d9fa0"} 
[2026-09-18 16:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:33:18] 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-09-18 16:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 16:33: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-09-18 16:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170693888001,"66":27908,"153":206,"80":60928,"24":36,"16":405461405416816640,"45":6010898155596414976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170693888001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405461405416816640,"km_value":405461405416816.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6010898155596414976,"description":"Unknown IO ID 45"} 
[2026-09-18 16:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170693888001,"power":27908,"unknown_153":206,"unknown_80":60928,"ignition":36,"odometer":null,"unknown_45":6010898155596414976}} 
[2026-09-18 16:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:33:18] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:33:18] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:33:18] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42ed438012d0bb3c007074018001400c31e..."} 
[2026-09-18 16:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42ed438012d0bb3c007074018001400c31e..."} 
[2026-09-18 16:33:18] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42ed438012d0bb3c007074018001400c31e..."} 
[2026-09-18 16:33:18] local.INFO: Packet analysis {"connection_id":186296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:33:18] local.INFO: Extracted packet for processing {"connection_id":186296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:33:18] local.INFO: GPS Element Parsed {"raw_longitude":755741632,"raw_latitude":117915672,"longitude_deg":75.5741632,"latitude_deg":11.7915672,"altitude":20,"angle":195,"satellites":30,"speed":16,"hex_longitude":"2d0bb3c0","hex_latitude":"07074018","is_valid_coordinates":true} 
[2026-09-18 16:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170716672001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33136853804646400,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797899999232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729363000,"timestamp_ms":1789729363000,"timestamp_seconds":1789729363,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42ed438"} 
[2026-09-18 16:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 16:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170716672001,"66":14548,"221":206,"94":10240,"24":16,"16":33136853804646400,"45":843439797899999232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-18 16:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170716672001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33136853804646400,"km_value":33136853804646.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797899999232,"description":"Unknown IO ID 45"} 
[2026-09-18 16:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170716672001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":843439797899999232}} 
[2026-09-18 16:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:33:18] local.INFO: GPS data processed {"connection_id":186296,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:33:18] local.INFO: Acknowledgment sent {"connection_id":186296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:33:24] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:24] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:24] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:33:25] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:25] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:25] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:33:29] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:29] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:33:29] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:33:29] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42e4b80012d19b6000720ac900031012929..."} 
[2026-09-18 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42e4b80012d19b6000720ac900031012929..."} 
[2026-09-18 16:33:29] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42e4b80012d19b6000720ac900031012929..."} 
[2026-09-18 16:33:29] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:33:29] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42e"} 
[2026-09-18 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119581840,"longitude_deg":75.6659712,"latitude_deg":11.958184,"altitude":49,"angle":297,"satellites":41,"speed":22,"hex_longitude":"2d19b600","hex_latitude":"0720ac90","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170707712001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21413190814400512,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508398080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789729328000,"timestamp_ms":1789729328000,"timestamp_seconds":1789729328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42e4b80"} 
[2026-09-18 16:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 16:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170707712001,"66":13656,"103":206,"83":41984,"24":22,"16":21413190814400512,"45":1853442383508398080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 16:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170707712001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:33:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21413190814400512,"km_value":21413190814400.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508398080,"description":"Unknown IO ID 45"} 
[2026-09-18 16:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170707712001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853442383508398080}} 
[2026-09-18 16:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:33:29] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:33:29] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:33:49] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f0700012d51e54006829d600081012d2e..."} 
[2026-09-18 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f0700012d51e54006829d600081012d2e..."} 
[2026-09-18 16:33:49] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f0700012d51e54006829d600081012d2e..."} 
[2026-09-18 16:33:49] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:33:49] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":760341824,"raw_latitude":109223264,"longitude_deg":76.0341824,"latitude_deg":10.9223264,"altitude":129,"angle":301,"satellites":46,"speed":55,"hex_longitude":"2d51e540","hex_latitude":"06829d60","is_valid_coordinates":true} 
[2026-09-18 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170718464001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5910833801395269632,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405467126313254912,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,80,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729376000,"timestamp_ms":1789729376000,"timestamp_seconds":1789729376,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f0700"} 
[2026-09-18 16:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:33:49] 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-09-18 16:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170718464001,"66":27767,"45":5910833801395269632,"80":60928,"24":55,"16":405467126313254912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,80,24,16]} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170718464001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5910833801395269632,"description":"Unknown IO ID 45"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405467126313254912,"km_value":405467126313254.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:33:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170718464001,"power":27767,"unknown_45":5910833801395269632,"unknown_80":60928,"ignition":55,"odometer":null}} 
[2026-09-18 16:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:33:49] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:33:49] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:33:49] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f8bd0012d0b594007070548000d00f11e..."} 
[2026-09-18 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f8bd0012d0b594007070548000d00f11e..."} 
[2026-09-18 16:33:49] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f8bd0012d0b594007070548000d00f11e..."} 
[2026-09-18 16:33:49] local.INFO: Packet analysis {"connection_id":186296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:33:49] local.INFO: Extracted packet for processing {"connection_id":186296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":755718464,"raw_latitude":117900616,"longitude_deg":75.5718464,"latitude_deg":11.7900616,"altitude":13,"angle":241,"satellites":30,"speed":31,"hex_longitude":"2d0b5940","hex_latitude":"07070548","is_valid_coordinates":true} 
[2026-09-18 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170728192001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33138464417382400,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820218112317671424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729410000,"timestamp_ms":1789729410000,"timestamp_seconds":1789729410,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f8bd0"} 
[2026-09-18 16:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 16:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170728192001,"66":14450,"163":206,"94":10240,"24":31,"16":33138464417382400,"45":820218112317671424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 16:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170728192001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33138464417382400,"km_value":33138464417382.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":820218112317671424,"description":"Unknown IO ID 45"} 
[2026-09-18 16:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170728192001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":820218112317671424}} 
[2026-09-18 16:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":186296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861508,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:33:50] local.INFO: GPS data processed {"connection_id":186296,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:33:50] local.INFO: Acknowledgment sent {"connection_id":186296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:00] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f1a88012d193dc00720b2580036013029..."} 
[2026-09-18 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f1a88012d193dc00720b2580036013029..."} 
[2026-09-18 16:34:00] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f1a88012d193dc00720b2580036013029..."} 
[2026-09-18 16:34:00] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:00] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119583320,"longitude_deg":75.6628928,"latitude_deg":11.958332,"altitude":54,"angle":304,"satellites":41,"speed":43,"hex_longitude":"2d193dc0","hex_latitude":"0720b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170721024001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21414694052954112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820932023698481152,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789729381000,"timestamp_ms":1789729381000,"timestamp_seconds":1789729381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f1a88"} 
[2026-09-18 16:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16: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-09-18 16: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-09-18 16:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170721024001,"66":13906,"103":206,"83":41984,"24":43,"16":21414694052954112,"45":1820932023698481152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 16:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170721024001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21414694052954112,"km_value":21414694052954.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820932023698481152,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170721024001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1820932023698481152}} 
[2026-09-18 16:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:00] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:00] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:11] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:11] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:11] local.INFO: IMEI packet received {"connection_id":188898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":188898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:34:11] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:34:11] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:34:11] local.INFO: IMEI packet received {"connection_id":188899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":188899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:34:12] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:12] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:12] local.INFO: IMEI packet received {"connection_id":188898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":188898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:34:15] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:15] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:15] local.INFO: IMEI packet received {"connection_id":188898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":188898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:34:16] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:34:16] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:34:16] local.INFO: IMEI packet received {"connection_id":188899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":188899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:34:16] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f2258012d51c6400682b188008401322e..."} 
[2026-09-18 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f2258012d51c6400682b188008401322e..."} 
[2026-09-18 16:34:16] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f2258012d51c6400682b188008401322e..."} 
[2026-09-18 16:34:16] local.INFO: Packet analysis {"connection_id":188899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:16] local.INFO: Extracted packet for processing {"connection_id":188899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":760333888,"raw_latitude":109228424,"longitude_deg":76.0333888,"latitude_deg":10.9228424,"altitude":132,"angle":306,"satellites":46,"speed":51,"hex_longitude":"2d51c640","hex_latitude":"0682b188","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170720256001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5901193283444236288,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405467577284820992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,80,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789729383000,"timestamp_ms":1789729383000,"timestamp_seconds":1789729383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f2258"} 
[2026-09-18 16:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:16] 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-09-18 16: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-09-18 16:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170720256001,"66":27908,"45":5901193283444236288,"80":60928,"24":51,"16":405467577284820992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,80,24,16]} 
[2026-09-18 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170720256001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5901193283444236288,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405467577284820992,"km_value":405467577284821.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170720256001,"power":27908,"unknown_45":5901193283444236288,"unknown_80":60928,"ignition":51,"odometer":null}} 
[2026-09-18 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":188899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:17] local.INFO: GPS data processed {"connection_id":188899,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:17] local.INFO: Acknowledgment sent {"connection_id":188899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:18] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:18] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:34:18] local.INFO: IMEI packet received {"connection_id":188898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":188898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:34:18] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42fab10012d0b48000706fb48000900e41e..."} 
[2026-09-18 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42fab10012d0b48000706fb48000900e41e..."} 
[2026-09-18 16:34:18] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42fab10012d0b48000706fb48000900e41e..."} 
[2026-09-18 16:34:18] local.INFO: Packet analysis {"connection_id":188898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:18] local.INFO: Extracted packet for processing {"connection_id":188898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":755714048,"raw_latitude":117898056,"longitude_deg":75.5714048,"latitude_deg":11.7898056,"altitude":9,"angle":228,"satellites":30,"speed":15,"hex_longitude":"2d0b4800","hex_latitude":"0706fb48","is_valid_coordinates":true} 
[2026-09-18 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170728960001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33138709230518272,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817755206271191040,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729418000,"timestamp_ms":1789729418000,"timestamp_seconds":1789729418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42fab10"} 
[2026-09-18 16:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170728960001,"66":14363,"163":206,"94":10240,"24":15,"16":33138709230518272,"45":817755206271191040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 16:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170728960001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 16:34:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33138709230518272,"km_value":33138709230518.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":817755206271191040,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170728960001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":817755206271191040}} 
[2026-09-18 16:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":188898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:19] local.INFO: GPS data processed {"connection_id":188898,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:19] local.INFO: Acknowledgment sent {"connection_id":188898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:23] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42fbe98012d0b41c00706f300000900d81e..."} 
[2026-09-18 16:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42fbe98012d0b41c00706f300000900d81e..."} 
[2026-09-18 16:34:23] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42fbe98012d0b41c00706f300000900d81e..."} 
[2026-09-18 16:34:23] local.INFO: Packet analysis {"connection_id":188898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:23] local.INFO: Extracted packet for processing {"connection_id":188898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755712448,"raw_latitude":117895936,"longitude_deg":75.5712448,"latitude_deg":11.7895936,"altitude":9,"angle":216,"satellites":30,"speed":26,"hex_longitude":"2d0b41c0","hex_latitude":"0706f300","is_valid_coordinates":true} 
[2026-09-18 16:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170731008001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33138838079537152,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812899762922276864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789729423000,"timestamp_ms":1789729423000,"timestamp_seconds":1789729423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42fbe98"} 
[2026-09-18 16:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170731008001,"66":14450,"163":206,"94":10240,"24":26,"16":33138838079537152,"45":812899762922276864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 16:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170731008001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 16:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33138838079537152,"km_value":33138838079537.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":812899762922276864,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170731008001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":812899762922276864}} 
[2026-09-18 16:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":188898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:23] local.INFO: GPS data processed {"connection_id":188898,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:23] local.INFO: Acknowledgment sent {"connection_id":188898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:24] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:24] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:24] local.INFO: IMEI packet received {"connection_id":187572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":187572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:34:28] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:28] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:28] local.INFO: IMEI packet received {"connection_id":187572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":187572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:34:29] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:29] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:34:29] local.INFO: IMEI packet received {"connection_id":187572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":187572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:34:30] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f2a28012d192f400720bad0003401242a..."} 
[2026-09-18 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f2a28012d192f400720bad0003401242a..."} 
[2026-09-18 16:34:30] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f2a28012d192f400720bad0003401242a..."} 
[2026-09-18 16:34:30] local.INFO: Packet analysis {"connection_id":187572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:30] local.INFO: Extracted packet for processing {"connection_id":187572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756625216,"raw_latitude":119585488,"longitude_deg":75.6625216,"latitude_deg":11.9585488,"altitude":52,"angle":292,"satellites":42,"speed":41,"hex_longitude":"2d192f40","hex_latitude":"0720bad0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170721536001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21414900211384320,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961373411328,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729385000,"timestamp_ms":1789729385000,"timestamp_seconds":1789729385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f2a28"} 
[2026-09-18 16:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34: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-09-18 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170721536001,"66":14428,"103":206,"83":41984,"24":41,"16":21414900211384320,"45":1818820961373411328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170721536001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21414900211384320,"km_value":21414900211384.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961373411328,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170721536001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1818820961373411328}} 
[2026-09-18 16:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":187572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:30] local.INFO: GPS data processed {"connection_id":187572,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:30] local.INFO: Acknowledgment sent {"connection_id":187572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:34] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f4d50012d190b400720c918003b012c2b..."} 
[2026-09-18 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f4d50012d190b400720c918003b012c2b..."} 
[2026-09-18 16:34:34] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f4d50012d190b400720c918003b012c2b..."} 
[2026-09-18 16:34:34] local.INFO: Packet analysis {"connection_id":187572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:34] local.INFO: Extracted packet for processing {"connection_id":187572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756616000,"raw_latitude":119589144,"longitude_deg":75.6616,"latitude_deg":11.9589144,"altitude":59,"angle":300,"satellites":43,"speed":38,"hex_longitude":"2d190b40","hex_latitude":"0720c918","is_valid_coordinates":true} 
[2026-09-18 16:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170722560001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21415372657786880,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814739574211661824,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34: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-09-18 16:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789729394000,"timestamp_ms":1789729394000,"timestamp_seconds":1789729394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f4d50"} 
[2026-09-18 16:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170722560001,"66":14396,"103":206,"83":41984,"24":38,"16":21415372657786880,"45":1814739574211661824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 16:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170722560001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21415372657786880,"km_value":21415372657786.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814739574211661824,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170722560001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1814739574211661824}} 
[2026-09-18 16:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":187572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:34] local.INFO: GPS data processed {"connection_id":187572,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:34] local.INFO: Acknowledgment sent {"connection_id":187572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:47] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f3db0012d51aa800682c7a8008601372d..."} 
[2026-09-18 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f3db0012d51aa800682c7a8008601372d..."} 
[2026-09-18 16:34:47] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f3db0012d51aa800682c7a8008601372d..."} 
[2026-09-18 16:34:47] local.INFO: Packet analysis {"connection_id":188899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:47] local.INFO: Extracted packet for processing {"connection_id":188899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":760326784,"raw_latitude":109234088,"longitude_deg":76.0326784,"latitude_deg":10.9234088,"altitude":134,"angle":311,"satellites":45,"speed":51,"hex_longitude":"2d51aa80","hex_latitude":"0682c7a8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170722048001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405468015371485184,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5892467559167526912,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789729390000,"timestamp_ms":1789729390000,"timestamp_seconds":1789729390,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f3db0"} 
[2026-09-18 16:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":4,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170722048001,"66":27745,"46":206,"80":60928,"24":51,"16":405468015371485184,"45":5892467559167526912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,80,24,16,45]} 
[2026-09-18 16:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170722048001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405468015371485184,"km_value":405468015371485.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5892467559167526912,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170722048001,"power":27745,"unknown_46":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5892467559167526912}} 
[2026-09-18 16:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":188899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:47] local.INFO: GPS data processed {"connection_id":188899,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:47] local.INFO: Acknowledgment sent {"connection_id":188899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:34:54] local.INFO: TCP Data received {"connection_id":188898,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430a128012d0aef4007066e28000b00b01e..."} 
[2026-09-18 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430a128012d0aef4007066e28000b00b01e..."} 
[2026-09-18 16:34:54] local.INFO: Processing buffer {"connection_id":188898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430a128012d0aef4007066e28000b00b01e..."} 
[2026-09-18 16:34:54] local.INFO: Packet analysis {"connection_id":188898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:34:54] local.INFO: Extracted packet for processing {"connection_id":188898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117861928,"longitude_deg":75.5691328,"latitude_deg":11.7861928,"altitude":11,"angle":176,"satellites":30,"speed":7,"hex_longitude":"2d0aef40","hex_latitude":"07066e28","is_valid_coordinates":true} 
[2026-09-18 16:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170746624001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33140800879591424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730059776,"note":"Value kept but may cause issues"} 
[2026-09-18 16:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789729481000,"timestamp_ms":1789729481000,"timestamp_seconds":1789729481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430a128"} 
[2026-09-18 16:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 16:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170746624001,"66":14298,"163":206,"94":10240,"24":7,"16":33140800879591424,"45":787918858730059776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 16:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170746624001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:34:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 16:34:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33140800879591424,"km_value":33140800879591.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730059776,"description":"Unknown IO ID 45"} 
[2026-09-18 16:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170746624001,"power":14298,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":787918858730059776}} 
[2026-09-18 16:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":188898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:34:54] local.INFO: GPS data processed {"connection_id":188898,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:34:54] local.INFO: Acknowledgment sent {"connection_id":188898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:05] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4303f80012d18c44007214208004301602a..."} 
[2026-09-18 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4303f80012d18c44007214208004301602a..."} 
[2026-09-18 16:35:05] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4303f80012d18c44007214208004301602a..."} 
[2026-09-18 16:35:05] local.INFO: Packet analysis {"connection_id":187572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:05] local.INFO: Extracted packet for processing {"connection_id":187572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620104,"longitude_deg":75.6597824,"latitude_deg":11.9620104,"altitude":67,"angle":352,"satellites":42,"speed":31,"hex_longitude":"2d18c440","hex_latitude":"07214208","is_valid_coordinates":true} 
[2026-09-18 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170740224001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21417193723920384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332921348096,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789729456000,"timestamp_ms":1789729456000,"timestamp_seconds":1789729456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4303f80"} 
[2026-09-18 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170740224001,"66":14515,"106":206,"83":41984,"24":31,"16":21417193723920384,"45":1785114332921348096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170740224001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21417193723920384,"km_value":21417193723920.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332921348096,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170740224001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1785114332921348096}} 
[2026-09-18 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":187572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:05] local.INFO: GPS data processed {"connection_id":187572,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:05] local.INFO: Acknowledgment sent {"connection_id":187572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:11] local.INFO: TCP Data received {"connection_id":187573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:35:11] local.INFO: Processing buffer {"connection_id":187573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:35:11] local.INFO: IMEI packet received {"connection_id":187573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":187573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:35:12] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:35:12] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:35:12] local.INFO: IMEI packet received {"connection_id":188900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:35:17] local.INFO: TCP Data received {"connection_id":187573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:35:17] local.INFO: Processing buffer {"connection_id":187573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:35:17] local.INFO: IMEI packet received {"connection_id":187573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":187573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:35:17] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:35:17] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:35:17] local.INFO: IMEI packet received {"connection_id":188900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:35:18] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430b0c8012d0af0c007066780000d00a51e..."} 
[2026-09-18 16:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430b0c8012d0af0c007066780000d00a51e..."} 
[2026-09-18 16:35:18] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430b0c8012d0af0c007066780000d00a51e..."} 
[2026-09-18 16:35:18] local.INFO: Packet analysis {"connection_id":188900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:18] local.INFO: Extracted packet for processing {"connection_id":188900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":755691712,"raw_latitude":117860224,"longitude_deg":75.5691712,"latitude_deg":11.7860224,"altitude":13,"angle":165,"satellites":30,"speed":24,"hex_longitude":"2d0af0c0","hex_latitude":"07066780","is_valid_coordinates":true} 
[2026-09-18 16:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170747136001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33140882483970048,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858729957376,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729485000,"timestamp_ms":1789729485000,"timestamp_seconds":1789729485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430b0c8"} 
[2026-09-18 16:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170747136001,"66":14407,"163":206,"94":10240,"24":24,"16":33140882483970048,"45":787918858729957376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170747136001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33140882483970048,"km_value":33140882483970.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858729957376,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170747136001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":787918858729957376}} 
[2026-09-18 16:35:18] local.INFO: TCP Data received {"connection_id":187573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f5908012d5191000682e068008a013e24..."} 
[2026-09-18 16:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f5908012d5191000682e068008a013e24..."} 
[2026-09-18 16:35:18] local.INFO: Processing buffer {"connection_id":187573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f5908012d5191000682e068008a013e24..."} 
[2026-09-18 16:35:18] local.INFO: Packet analysis {"connection_id":187573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:35:18] local.INFO: Extracted packet for processing {"connection_id":187573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":760320256,"raw_latitude":109240424,"longitude_deg":76.0320256,"latitude_deg":10.9240424,"altitude":138,"angle":318,"satellites":36,"speed":52,"hex_longitude":"2d519100","hex_latitude":"0682e068","is_valid_coordinates":true} 
[2026-09-18 16:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170723840001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405468449163182080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5884656628565256192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729397000,"timestamp_ms":1789729397000,"timestamp_seconds":1789729397,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f5908"} 
[2026-09-18 16:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:18] 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-09-18 16:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:18] 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-09-18 16:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170723840001,"66":27995,"46":206,"80":60928,"24":52,"16":405468449163182080,"45":5884656628565256192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,80,24,16,45]} 
[2026-09-18 16:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170723840001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405468449163182080,"km_value":405468449163182.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5884656628565256192,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170723840001,"power":27995,"unknown_46":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5884656628565256192}} 
[2026-09-18 16:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":187573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:18] local.INFO: GPS data processed {"connection_id":187573,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:18] local.INFO: Acknowledgment sent {"connection_id":187573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":188900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:18] local.INFO: GPS data processed {"connection_id":188900,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:18] local.INFO: Acknowledgment sent {"connection_id":188900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:24] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:35:24] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:35:24] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:35:28] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 16:35:28] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 16:35:28] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:35:29] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:35:29] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 16:35:29] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:35:34] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4305ad8012d18c240072154000047014f29..."} 
[2026-09-18 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4305ad8012d18c240072154000047014f29..."} 
[2026-09-18 16:35:34] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b4..."} 
[2026-09-18 16:35:34] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:35:35] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43062a8012d18bf40072158300047014429..."} 
[2026-09-18 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43062a8012d18bf40072158300047014429..."} 
[2026-09-18 16:35:35] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b4305ad8012d18c240072154000047014f29..."} 
[2026-09-18 16:35:35] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:35] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624704,"longitude_deg":75.6597312,"latitude_deg":11.9624704,"altitude":71,"angle":335,"satellites":41,"speed":24,"hex_longitude":"2d18c240","hex_latitude":"07215400","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170740736001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21417417062219776,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712483328,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35: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-09-18 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789729463000,"timestamp_ms":1789729463000,"timestamp_seconds":1789729463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4305ad8"} 
[2026-09-18 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:35] 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-09-18 16: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-09-18 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170740736001,"66":14396,"106":206,"83":41984,"24":24,"16":21417417062219776,"45":1784621751712483328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170740736001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21417417062219776,"km_value":21417417062219.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712483328,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170740736001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1784621751712483328}} 
[2026-09-18 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:35] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:35] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:35] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:35] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756596544,"raw_latitude":119625776,"longitude_deg":75.6596544,"latitude_deg":11.9625776,"altitude":71,"angle":324,"satellites":41,"speed":26,"hex_longitude":"2d18bf40","hex_latitude":"07215830","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170742528001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21417481486729216,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760239616,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35: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-09-18 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789729465000,"timestamp_ms":1789729465000,"timestamp_seconds":1789729465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43062a8"} 
[2026-09-18 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170742528001,"66":14374,"106":206,"83":41984,"24":26,"16":21417481486729216,"45":1784058801760239616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170742528001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21417481486729216,"km_value":21417481486729.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760239616,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170742528001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1784058801760239616}} 
[2026-09-18 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:35] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:35] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:36] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4309188012d18aa40072171e0004b013329..."} 
[2026-09-18 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4309188012d18aa40072171e0004b013329..."} 
[2026-09-18 16:35:36] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4309188012d18aa40072171e0004b013329..."} 
[2026-09-18 16:35:36] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:36] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632352,"longitude_deg":75.6591168,"latitude_deg":11.9632352,"altitude":75,"angle":307,"satellites":41,"speed":28,"hex_longitude":"2d18aa40","hex_latitude":"072171e0","is_valid_coordinates":true} 
[2026-09-18 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170743040001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21417889508622336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214376830382080,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35: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-09-18 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789729477000,"timestamp_ms":1789729477000,"timestamp_seconds":1789729477,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4309188"} 
[2026-09-18 16:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170743040001,"66":14396,"106":206,"83":41984,"24":28,"16":21417889508622336,"45":1783214376830382080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170743040001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21417889508622336,"km_value":21417889508622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214376830382080,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170743040001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1783214376830382080}} 
[2026-09-18 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:36] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:36] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:49] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430c068012d0af4c007065c70000d00971e..."} 
[2026-09-18 16:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430c068012d0af4c007065c70000d00971e..."} 
[2026-09-18 16:35:49] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430c068012d0af4c007065c70000d00971e..."} 
[2026-09-18 16:35:49] local.INFO: Packet analysis {"connection_id":188900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:49] local.INFO: Extracted packet for processing {"connection_id":188900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:35:49] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":117857392,"longitude_deg":75.5692736,"latitude_deg":11.7857392,"altitude":13,"angle":151,"satellites":30,"speed":33,"hex_longitude":"2d0af4c0","hex_latitude":"07065c70","is_valid_coordinates":true} 
[2026-09-18 16:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170748160001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33141032807825408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788341071194587136,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729489000,"timestamp_ms":1789729489000,"timestamp_seconds":1789729489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430c068"} 
[2026-09-18 16:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170748160001,"66":14450,"163":206,"94":10240,"24":33,"16":33141032807825408,"45":788341071194587136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-18 16:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170748160001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-18 16:35:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33141032807825408,"km_value":33141032807825.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":788341071194587136,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170748160001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":788341071194587136}} 
[2026-09-18 16:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":188900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:49] local.INFO: GPS data processed {"connection_id":188900,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:49] local.INFO: Acknowledgment sent {"connection_id":188900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:35:50] local.INFO: TCP Data received {"connection_id":187573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b42f7460012d517a400682fb18008d01412b..."} 
[2026-09-18 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b42f7460012d517a400682fb18008d01412b..."} 
[2026-09-18 16:35:50] local.INFO: Processing buffer {"connection_id":187573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b42f7460012d517a400682fb18008d01412b..."} 
[2026-09-18 16:35:50] local.INFO: Packet analysis {"connection_id":187573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:35:50] local.INFO: Extracted packet for processing {"connection_id":187573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b42f"} 
[2026-09-18 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":760314432,"raw_latitude":109247256,"longitude_deg":76.0314432,"latitude_deg":10.9247256,"altitude":141,"angle":321,"satellites":43,"speed":50,"hex_longitude":"2d517a40","hex_latitude":"0682fb18","is_valid_coordinates":true} 
[2026-09-18 16:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170725632001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405468882954878976,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5877479016660756480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789729404000,"timestamp_ms":1789729404000,"timestamp_seconds":1789729404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b42f7460"} 
[2026-09-18 16:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:35:50] 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-09-18 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 16:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170725632001,"66":27865,"46":206,"80":60928,"24":50,"16":405468882954878976,"45":5877479016660756480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,80,24,16,45]} 
[2026-09-18 16:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170725632001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:35:50] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-18 16:35:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405468882954878976,"km_value":405468882954879.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5877479016660756480,"description":"Unknown IO ID 45"} 
[2026-09-18 16:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170725632001,"power":27865,"unknown_46":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5877479016660756480}} 
[2026-09-18 16:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":187573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:35:50] local.INFO: GPS data processed {"connection_id":187573,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:35:50] local.INFO: Acknowledgment sent {"connection_id":187573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:07] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4309570012d18a80007217350004b012829..."} 
[2026-09-18 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4309570012d18a80007217350004b012829..."} 
[2026-09-18 16:36:07] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4309570012d18a80007217350004b012829..."} 
[2026-09-18 16:36:07] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:07] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119632720,"longitude_deg":75.6590592,"latitude_deg":11.963272,"altitude":75,"angle":296,"satellites":41,"speed":30,"hex_longitude":"2d18a800","hex_latitude":"07217350","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170746112001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21417923868360704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321141760,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789729478000,"timestamp_ms":1789729478000,"timestamp_seconds":1789729478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4309570"} 
[2026-09-18 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170746112001,"66":14396,"106":206,"83":41984,"24":30,"16":21417923868360704,"45":1777303402321141760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170746112001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21417923868360704,"km_value":21417923868360.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321141760,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170746112001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777303402321141760}} 
[2026-09-18 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:07] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:07] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:12] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:36:12] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:36:12] local.INFO: IMEI packet received {"connection_id":186147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":186147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:36:16] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:16] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:16] local.INFO: IMEI packet received {"connection_id":187574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":187574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:36:17] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:17] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:17] local.INFO: IMEI packet received {"connection_id":187574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":187574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:36:17] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:36:17] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:36:17] local.INFO: IMEI packet received {"connection_id":186147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":186147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:36:18] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430fb00012d0b074007063d30000f00911e..."} 
[2026-09-18 16:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430fb00012d0b074007063d30000f00911e..."} 
[2026-09-18 16:36:18] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430fb00012d0b074007063d30000f00911e..."} 
[2026-09-18 16:36:18] local.INFO: Packet analysis {"connection_id":186147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:18] local.INFO: Extracted packet for processing {"connection_id":186147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":755697472,"raw_latitude":117849392,"longitude_deg":75.5697472,"latitude_deg":11.7849392,"altitude":15,"angle":145,"satellites":30,"speed":25,"hex_longitude":"2d0b0740","hex_latitude":"07063d30","is_valid_coordinates":true} 
[2026-09-18 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170749184001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33141479484424192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789466971100704768,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729504000,"timestamp_ms":1789729504000,"timestamp_seconds":1789729504,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430fb00"} 
[2026-09-18 16:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170749184001,"66":14439,"165":206,"94":10240,"24":25,"16":33141479484424192,"45":789466971100704768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 16:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170749184001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 16:36:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33141479484424192,"km_value":33141479484424.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":789466971100704768,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170749184001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":789466971100704768}} 
[2026-09-18 16:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":186147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:18] local.INFO: GPS data processed {"connection_id":186147,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:18] local.INFO: Acknowledgment sent {"connection_id":186147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:22] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:22] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:36:22] local.INFO: IMEI packet received {"connection_id":187574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":187574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:36:23] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43102d0012d50450006839558008d01152c..."} 
[2026-09-18 16:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43102d0012d50450006839558008d01152c..."} 
[2026-09-18 16:36:23] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43102d0012d50450006839558008d01152c..."} 
[2026-09-18 16:36:23] local.INFO: Packet analysis {"connection_id":187574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:36:23] local.INFO: Extracted packet for processing {"connection_id":187574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:36:23] local.INFO: GPS Element Parsed {"raw_longitude":760235264,"raw_latitude":109286744,"longitude_deg":76.0235264,"latitude_deg":10.9286744,"altitude":141,"angle":277,"satellites":44,"speed":54,"hex_longitude":"2d504500","hex_latitude":"06839558","is_valid_coordinates":true} 
[2026-09-18 16:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170751744001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405473268116488192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5794021686077575168,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789729506000,"timestamp_ms":1789729506000,"timestamp_seconds":1789729506,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43102d0"} 
[2026-09-18 16:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:23] 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-09-18 16:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170751744001,"66":27767,"174":206,"80":60928,"24":54,"16":405473268116488192,"45":5794021686077575168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-18 16:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170751744001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:23] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-18 16:36:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405473268116488192,"km_value":405473268116488.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5794021686077575168,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170751744001,"power":27767,"unknown_174":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":5794021686077575168}} 
[2026-09-18 16:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":187574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:23] local.INFO: GPS data processed {"connection_id":187574,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:23] local.INFO: Acknowledgment sent {"connection_id":187574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:24] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4311e28012d501fc006839af8008c01162d..."} 
[2026-09-18 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4311e28012d501fc006839af8008c01162d..."} 
[2026-09-18 16:36:24] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4311e28012d501fc006839af8008c01162d..."} 
[2026-09-18 16:36:24] local.INFO: Packet analysis {"connection_id":187574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:36:24] local.INFO: Extracted packet for processing {"connection_id":187574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:36:24] local.INFO: GPS Element Parsed {"raw_longitude":760225728,"raw_latitude":109288184,"longitude_deg":76.0225728,"latitude_deg":10.9288184,"altitude":140,"angle":278,"satellites":45,"speed":52,"hex_longitude":"2d501fc0","hex_latitude":"06839af8","is_valid_coordinates":true} 
[2026-09-18 16:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170753536001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405473723383021568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5784029324404676608,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789729513000,"timestamp_ms":1789729513000,"timestamp_seconds":1789729513,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4311e28"} 
[2026-09-18 16:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170753536001,"66":27745,"174":206,"80":60928,"24":52,"16":405473723383021568,"45":5784029324404676608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-18 16:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170753536001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:24] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-18 16:36:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405473723383021568,"km_value":405473723383021.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5784029324404676608,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170753536001,"power":27745,"unknown_174":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5784029324404676608}} 
[2026-09-18 16:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":187574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:24] local.INFO: GPS data processed {"connection_id":187574,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:24] local.INFO: Acknowledgment sent {"connection_id":187574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:30] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:36:30] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:36:30] local.INFO: IMEI packet received {"connection_id":186300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":186300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:36:31] local.INFO: TCP Data received {"connection_id":186297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:36:31] local.INFO: Processing buffer {"connection_id":186297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:36:31] local.INFO: IMEI packet received {"connection_id":186297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":186297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:36:35] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:36:35] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:36:35] local.INFO: IMEI packet received {"connection_id":186300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":186300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:36:36] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430c068012d18864007218058004a011c2b..."} 
[2026-09-18 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430c068012d18864007218058004a011c2b..."} 
[2026-09-18 16:36:36] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430c068012d18864007218058004a011c2b..."} 
[2026-09-18 16:36:36] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:36] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756581952,"raw_latitude":119636056,"longitude_deg":75.6581952,"latitude_deg":11.9636056,"altitude":74,"angle":284,"satellites":43,"speed":32,"hex_longitude":"2d188640","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-09-18 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21418366249992192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083623636992,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36: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-09-18 16:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789729489000,"timestamp_ms":1789729489000,"timestamp_seconds":1789729489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430c068"} 
[2026-09-18 16:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170746368001,"66":14102,"106":206,"83":41984,"24":32,"16":21418366249992192,"45":1776670083623636992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21418366249992192,"km_value":21418366249992.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083623636992,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170746368001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1776670083623636992}} 
[2026-09-18 16:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:36] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:36] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:38] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430c068012d18864007218058004a011c2b..."} 
[2026-09-18 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430c068012d18864007218058004a011c2b..."} 
[2026-09-18 16:36:38] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430c068012d18864007218058004a011c2b..."} 
[2026-09-18 16:36:38] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:38] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756581952,"raw_latitude":119636056,"longitude_deg":75.6581952,"latitude_deg":11.9636056,"altitude":74,"angle":284,"satellites":43,"speed":32,"hex_longitude":"2d188640","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-09-18 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170749184001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21418366249992192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767170303160506368,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789729489000,"timestamp_ms":1789729489000,"timestamp_seconds":1789729489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430c068"} 
[2026-09-18 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170749184001,"66":14102,"106":206,"83":41984,"24":32,"16":21418366249992192,"45":1767170303160506368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170749184001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21418366249992192,"km_value":21418366249992.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767170303160506368,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170749184001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1767170303160506368}} 
[2026-09-18 16:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:39] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:39] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:36:50] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4314920012d0b120007062c28001000961e..."} 
[2026-09-18 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4314920012d0b120007062c28001000961e..."} 
[2026-09-18 16:36:50] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4314920012d0b120007062c28001000961e..."} 
[2026-09-18 16:36:50] local.INFO: Packet analysis {"connection_id":186147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:36:50] local.INFO: Extracted packet for processing {"connection_id":186147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":755700224,"raw_latitude":117845032,"longitude_deg":75.5700224,"latitude_deg":11.7845032,"altitude":16,"angle":150,"satellites":30,"speed":0,"hex_longitude":"2d0b1200","hex_latitude":"07062c28","is_valid_coordinates":true} 
[2026-09-18 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170753024001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33141732887494656,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794674258167803904,"note":"Value kept but may cause issues"} 
[2026-09-18 16:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789729524000,"timestamp_ms":1789729524000,"timestamp_seconds":1789729524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4314920"} 
[2026-09-18 16:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-18 16:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170753024001,"66":14428,"165":206,"94":10240,"24":0,"16":33141732887494656,"45":794674258167803904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 16:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170753024001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:36:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 16:36:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33141732887494656,"km_value":33141732887494.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":794674258167803904,"description":"Unknown IO ID 45"} 
[2026-09-18 16:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170753024001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":794674258167803904}} 
[2026-09-18 16:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":186147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:36:50] local.INFO: GPS data processed {"connection_id":186147,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:36:50] local.INFO: Acknowledgment sent {"connection_id":186147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:03] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4313980012d4ffb400683a030008901152c..."} 
[2026-09-18 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4313980012d4ffb400683a030008901152c..."} 
[2026-09-18 16:37:03] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4313980012d4ffb400683a030008901152c..."} 
[2026-09-18 16:37:03] local.INFO: Packet analysis {"connection_id":187574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:37:03] local.INFO: Extracted packet for processing {"connection_id":187574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b431"} 
[2026-09-18 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":760216384,"raw_latitude":109289520,"longitude_deg":76.0216384,"latitude_deg":10.928952,"altitude":137,"angle":277,"satellites":44,"speed":55,"hex_longitude":"2d4ffb40","hex_latitude":"0683a030","is_valid_coordinates":true} 
[2026-09-18 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170755328001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405474178649554944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773544381522573312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37: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-09-18 16:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789729520000,"timestamp_ms":1789729520000,"timestamp_seconds":1789729520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4313980"} 
[2026-09-18 16:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:37: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-09-18 16:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37: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-09-18 16:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170755328001,"66":27745,"183":206,"80":60928,"24":55,"16":405474178649554944,"45":5773544381522573312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-09-18 16:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170755328001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-18 16:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405474178649554944,"km_value":405474178649554.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773544381522573312,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170755328001,"power":27745,"unknown_183":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5773544381522573312}} 
[2026-09-18 16:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":187574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:03] local.INFO: GPS data processed {"connection_id":187574,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:03] local.INFO: Acknowledgment sent {"connection_id":187574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:10] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b430d7d8012d187880072182a0004a010e28..."} 
[2026-09-18 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b430d7d8012d187880072182a0004a010e28..."} 
[2026-09-18 16:37:10] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b430d7d8012d187880072182a0004a010e28..."} 
[2026-09-18 16:37:10] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:37:10] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b430"} 
[2026-09-18 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756578432,"raw_latitude":119636640,"longitude_deg":75.6578432,"latitude_deg":11.963664,"altitude":74,"angle":270,"satellites":40,"speed":24,"hex_longitude":"2d187880","hex_latitude":"072182a0","is_valid_coordinates":true} 
[2026-09-18 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170749184001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21418533753716736,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767170303160506368,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789729495000,"timestamp_ms":1789729495000,"timestamp_seconds":1789729495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b430d7d8"} 
[2026-09-18 16:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170749184001,"66":13993,"106":206,"83":41984,"24":24,"16":21418533753716736,"45":1767170303160506368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170749184001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 16:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21418533753716736,"km_value":21418533753716.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767170303160506368,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170749184001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1767170303160506368}} 
[2026-09-18 16:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:10] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:10] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:12] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:37:12] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:37:12] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:37:12] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:37:12] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:37:12] local.INFO: IMEI packet received {"connection_id":186148,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":186148,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:37:14] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:37:14] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:37:14] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:37:16] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4323768012d4e85c00683e2e8006e013330..."} 
[2026-09-18 16:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4323768012d4e85c00683e2e8006e013330..."} 
[2026-09-18 16:37:16] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4323768012d4e85c00683e2e8006e013330..."} 
[2026-09-18 16:37:16] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:16] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":760120768,"raw_latitude":109306600,"longitude_deg":76.0120768,"latitude_deg":10.93066,"altitude":110,"angle":307,"satellites":48,"speed":58,"hex_longitude":"2d4e85c0","hex_latitude":"0683e2e8","is_valid_coordinates":true} 
[2026-09-18 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170772992001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405478821509201920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5662432134470170624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:16] 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-09-18 16:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789729585000,"timestamp_ms":1789729585000,"timestamp_seconds":1789729585,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4323768"} 
[2026-09-18 16:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:37: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":228,"data_length":795,"current_offset":136} 
[2026-09-18 16:37:16] 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-09-18 16:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170772992001,"66":27821,"183":206,"80":60928,"24":58,"16":405478821509201920,"45":5662432134470170624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-09-18 16:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170772992001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-18 16:37:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405478821509201920,"km_value":405478821509201.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5662432134470170624,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170772992001,"power":27821,"unknown_183":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5662432134470170624}} 
[2026-09-18 16:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:16] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:16] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:17] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:37:17] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:37:17] local.INFO: IMEI packet received {"connection_id":186148,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":186148,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:37:17] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4324708012d4e75000683f270006f013e30..."} 
[2026-09-18 16:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4324708012d4e75000683f270006f013e30..."} 
[2026-09-18 16:37:17] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4324708012d4e75000683f270006f013e30..."} 
[2026-09-18 16:37:17] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:17] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760116480,"raw_latitude":109310576,"longitude_deg":76.011648,"latitude_deg":10.9310576,"altitude":111,"angle":318,"satellites":48,"speed":57,"hex_longitude":"2d4e7500","hex_latitude":"0683f270","is_valid_coordinates":true} 
[2026-09-18 16:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170773760001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405479100682076160,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5658139641075918848,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:17] 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-09-18 16:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729589000,"timestamp_ms":1789729589000,"timestamp_seconds":1789729589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4324708"} 
[2026-09-18 16:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:37: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-09-18 16:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170773760001,"66":27821,"183":206,"80":60928,"24":57,"16":405479100682076160,"45":5658139641075918848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-09-18 16:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170773760001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:17] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-18 16:37:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405479100682076160,"km_value":405479100682076.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5658139641075918848,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170773760001,"power":27821,"unknown_183":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5658139641075918848}} 
[2026-09-18 16:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:17] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:17] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:18] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4329910012d0b5180070606f0001300c91f..."} 
[2026-09-18 16:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4329910012d0b5180070606f0001300c91f..."} 
[2026-09-18 16:37:18] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4329910012d0b5180070606f0001300c91f..."} 
[2026-09-18 16:37:18] local.INFO: Packet analysis {"connection_id":186148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:18] local.INFO: Extracted packet for processing {"connection_id":186148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:18] local.INFO: GPS Element Parsed {"raw_longitude":755716480,"raw_latitude":117835504,"longitude_deg":75.571648,"latitude_deg":11.7835504,"altitude":19,"angle":201,"satellites":31,"speed":3,"hex_longitude":"2d0b5180","hex_latitude":"070606f0","is_valid_coordinates":true} 
[2026-09-18 16:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170778368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33142918298468352,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250161879040,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729610000,"timestamp_ms":1789729610000,"timestamp_seconds":1789729610,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4329910"} 
[2026-09-18 16:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-18 16:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170778368001,"66":14548,"165":206,"94":10240,"24":3,"16":33142918298468352,"45":815855250161879040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 16:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170778368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 16:37:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33142918298468352,"km_value":33142918298468.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250161879040,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170778368001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815855250161879040}} 
[2026-09-18 16:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":186148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:18] local.INFO: GPS data processed {"connection_id":186148,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:18] local.INFO: Acknowledgment sent {"connection_id":186148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:24] local.INFO: TCP Data received {"connection_id":187575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:24] local.INFO: Processing buffer {"connection_id":187575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:24] local.INFO: IMEI packet received {"connection_id":187575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":187575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:37:24] local.INFO: TCP Data received {"connection_id":187575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:24] local.INFO: Processing buffer {"connection_id":187575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:24] local.INFO: IMEI packet received {"connection_id":187575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":187575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:37:25] local.INFO: TCP Data received {"connection_id":187575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:25] local.INFO: Processing buffer {"connection_id":187575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:25] local.INFO: IMEI packet received {"connection_id":187575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":187575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:37:25] local.INFO: TCP Data received {"connection_id":187575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:25] local.INFO: Processing buffer {"connection_id":187575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:37:25] local.INFO: IMEI packet received {"connection_id":187575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":187575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:37:39] local.INFO: TCP Data received {"connection_id":187576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:37:39] local.INFO: Processing buffer {"connection_id":187576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 16:37:39] local.INFO: IMEI packet received {"connection_id":187576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 16:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":187576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:37:49] local.INFO: TCP Data received {"connection_id":186148,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b432cfc0012d0b4f80070601b8001400d71f..."} 
[2026-09-18 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b432cfc0012d0b4f80070601b8001400d71f..."} 
[2026-09-18 16:37:49] local.INFO: Processing buffer {"connection_id":186148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b432cfc0012d0b4f80070601b8001400d71f..."} 
[2026-09-18 16:37:49] local.INFO: Packet analysis {"connection_id":186148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:49] local.INFO: Extracted packet for processing {"connection_id":186148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117834168,"longitude_deg":75.5715968,"latitude_deg":11.7834168,"altitude":20,"angle":215,"satellites":31,"speed":4,"hex_longitude":"2d0b4f80","hex_latitude":"070601b8","is_valid_coordinates":true} 
[2026-09-18 16:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170780160001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33142991312912384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815573775185014784,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729624000,"timestamp_ms":1789729624000,"timestamp_seconds":1789729624,"priority":1,"record_length":96,"hex_timestamp":"000001a0b432cfc0"} 
[2026-09-18 16:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 16:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170780160001,"66":14580,"165":206,"94":10240,"24":4,"16":33142991312912384,"45":815573775185014784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-18 16:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170780160001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 16:37:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33142991312912384,"km_value":33142991312912.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":815573775185014784,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170780160001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":815573775185014784}} 
[2026-09-18 16:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":186148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:49] local.INFO: GPS data processed {"connection_id":186148,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:49] local.INFO: Acknowledgment sent {"connection_id":186148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:37:52] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4326260012d4e5d40068411680072014430..."} 
[2026-09-18 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4326260012d4e5d40068411680072014430..."} 
[2026-09-18 16:37:52] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4326260012d4e5d40068411680072014430..."} 
[2026-09-18 16:37:52] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:52] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:37:52] local.INFO: GPS Element Parsed {"raw_longitude":760110400,"raw_latitude":109318504,"longitude_deg":76.01104,"latitude_deg":10.9318504,"altitude":114,"angle":324,"satellites":48,"speed":55,"hex_longitude":"2d4e5d40","hex_latitude":"06841168","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170774784001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405479581718413312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5653424935217033216,"note":"Value kept but may cause issues"} 
[2026-09-18 16:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789729596000,"timestamp_ms":1789729596000,"timestamp_seconds":1789729596,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4326260"} 
[2026-09-18 16:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:37:52] 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-09-18 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:37:52] 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-09-18 16: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-09-18 16:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:37: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-09-18 16:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170774784001,"66":27843,"243":206,"80":60928,"24":55,"16":405479581718413312,"45":5653424935217033216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-09-18 16:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170774784001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:37:52] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-18 16:37:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405479581718413312,"km_value":405479581718413.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5653424935217033216,"description":"Unknown IO ID 45"} 
[2026-09-18 16:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170774784001,"power":27843,"unknown_243":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5653424935217033216}} 
[2026-09-18 16:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:37:52] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:37:52] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:38:09] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:09] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:09] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:38:11] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:11] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:11] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:38:12] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:12] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:12] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:38:16] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:16] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:38:16] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:38:17] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4327db8012d4e470006842fe00074014230..."} 
[2026-09-18 16:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4327db8012d4e470006842fe00074014230..."} 
[2026-09-18 16:38:17] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4327db8012d4e470006842fe00074014230..."} 
[2026-09-18 16:38:17] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:38:17] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b432"} 
[2026-09-18 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":760104704,"raw_latitude":109326304,"longitude_deg":76.0104704,"latitude_deg":10.9326304,"altitude":116,"angle":322,"satellites":48,"speed":54,"hex_longitude":"2d4e4700","hex_latitude":"06842fe0","is_valid_coordinates":true} 
[2026-09-18 16:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170776576001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405480049869848576,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5646739904522184704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729603000,"timestamp_ms":1789729603000,"timestamp_seconds":1789729603,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4327db8"} 
[2026-09-18 16:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:38:17] 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-09-18 16:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170776576001,"66":27800,"243":206,"80":60928,"24":54,"16":405480049869848576,"45":5646739904522184704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-09-18 16:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170776576001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:38:17] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-18 16:38:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405480049869848576,"km_value":405480049869848.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5646739904522184704,"description":"Unknown IO ID 45"} 
[2026-09-18 16:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170776576001,"power":27800,"unknown_243":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":5646739904522184704}} 
[2026-09-18 16:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:38:17] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:38:17] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:38:47] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:38:47] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:38:47] local.INFO: IMEI packet received {"connection_id":187578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":187578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:38:48] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4338f28012d4cfd000684e7e00070014730..."} 
[2026-09-18 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4338f28012d4cfd000684e7e00070014730..."} 
[2026-09-18 16:38:48] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4338f28012d4cfd000684e7e00070014730..."} 
[2026-09-18 16:38:48] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:38:48] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":760020224,"raw_latitude":109373408,"longitude_deg":76.0020224,"latitude_deg":10.9373408,"altitude":112,"angle":327,"satellites":48,"speed":59,"hex_longitude":"2d4cfd00","hex_latitude":"0684e7e0","is_valid_coordinates":true} 
[2026-09-18 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170796288001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405484855938252800,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5547590343989911552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:48] 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-09-18 16:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789729673000,"timestamp_ms":1789729673000,"timestamp_seconds":1789729673,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4338f28"} 
[2026-09-18 16:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 16:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:38: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-09-18 16:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170796288001,"66":27876,"103":206,"80":60928,"24":59,"16":405484855938252800,"45":5547590343989911552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-18 16:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170796288001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:38:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:38:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405484855938252800,"km_value":405484855938252.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5547590343989911552,"description":"Unknown IO ID 45"} 
[2026-09-18 16:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170796288001,"power":27876,"unknown_103":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5547590343989911552}} 
[2026-09-18 16:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:38:48] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:38:48] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:38:52] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:38:52] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:38:52] local.INFO: IMEI packet received {"connection_id":187578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":187578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:38:53] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b433cda8012d0bd5800705acf0001400811f..."} 
[2026-09-18 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b433cda8012d0bd5800705acf0001400811f..."} 
[2026-09-18 16:38:53] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b433cda8012d0bd5800705acf0001400811f..."} 
[2026-09-18 16:38:53] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:38:53] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:38:53] local.INFO: GPS Element Parsed {"raw_longitude":755750272,"raw_latitude":117812464,"longitude_deg":75.5750272,"latitude_deg":11.7812464,"altitude":20,"angle":129,"satellites":31,"speed":26,"hex_longitude":"2d0bd580","hex_latitude":"0705acf0","is_valid_coordinates":true} 
[2026-09-18 16:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170798080001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33145001357606912,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844917541502765056,"note":"Value kept but may cause issues"} 
[2026-09-18 16:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789729689000,"timestamp_ms":1789729689000,"timestamp_seconds":1789729689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b433cda8"} 
[2026-09-18 16:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170798080001,"66":14428,"164":206,"94":10240,"24":26,"16":33145001357606912,"45":844917541502765056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 16:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170798080001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:38:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 16:38:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33145001357606912,"km_value":33145001357606.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":844917541502765056,"description":"Unknown IO ID 45"} 
[2026-09-18 16:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170798080001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":844917541502765056}} 
[2026-09-18 16:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:38:53] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:38:53] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:39:27] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:39:27] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:39:27] local.INFO: IMEI packet received {"connection_id":188902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":188902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:39:31] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:39:31] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:39:31] local.INFO: IMEI packet received {"connection_id":188902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":188902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:39:32] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b433dd48012d0bdb400705a940001300721f..."} 
[2026-09-18 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b433dd48012d0bdb400705a940001300721f..."} 
[2026-09-18 16:39:32] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b433dd48012d0bdb400705a940001300721f..."} 
[2026-09-18 16:39:32] local.INFO: Packet analysis {"connection_id":188902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:39:32] local.INFO: Extracted packet for processing {"connection_id":188902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":755751744,"raw_latitude":117811520,"longitude_deg":75.5751744,"latitude_deg":11.781152,"altitude":19,"angle":114,"satellites":31,"speed":7,"hex_longitude":"2d0bdb40","hex_latitude":"0705a940","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170800384001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33145087256952832,"note":"Value kept but may cause issues"} 
[2026-09-18 16:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852728472104923136,"note":"Value kept but may cause issues"} 
[2026-09-18 16:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789729693000,"timestamp_ms":1789729693000,"timestamp_seconds":1789729693,"priority":1,"record_length":96,"hex_timestamp":"000001a0b433dd48"} 
[2026-09-18 16:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:39: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-09-18 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170800384001,"66":14396,"164":206,"94":10240,"24":7,"16":33145087256952832,"45":852728472104923136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 16:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170800384001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:39:32] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 16:39:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33145087256952832,"km_value":33145087256952.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":852728472104923136,"description":"Unknown IO ID 45"} 
[2026-09-18 16:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170800384001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":852728472104923136}} 
[2026-09-18 16:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":188902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:39:32] local.INFO: GPS data processed {"connection_id":188902,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:39:32] local.INFO: Acknowledgment sent {"connection_id":188902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:39:41] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:39:41] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:39:41] local.INFO: IMEI packet received {"connection_id":188903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":188903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:39:46] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:39:46] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:39:46] local.INFO: IMEI packet received {"connection_id":188903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":188903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:39:50] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b433a698012d4cec8006850680006d014e32..."} 
[2026-09-18 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b433a698012d4cec8006850680006d014e32..."} 
[2026-09-18 16:39:50] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b433a698012d4cec8006850680006d014e32..."} 
[2026-09-18 16:39:50] local.INFO: Packet analysis {"connection_id":188903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:39:50] local.INFO: Extracted packet for processing {"connection_id":188903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b433"} 
[2026-09-18 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":760016000,"raw_latitude":109381248,"longitude_deg":76.0016,"latitude_deg":10.9381248,"altitude":109,"angle":334,"satellites":50,"speed":59,"hex_longitude":"2d4cec80","hex_latitude":"06850680","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170796288001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405485285434982400,"note":"Value kept but may cause issues"} 
[2026-09-18 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5547590343989911552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:39:50] 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-09-18 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789729679000,"timestamp_ms":1789729679000,"timestamp_seconds":1789729679,"priority":1,"record_length":96,"hex_timestamp":"000001a0b433a698"} 
[2026-09-18 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:39:50] 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-09-18 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 16:39:50] 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-09-18 16:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170796288001,"66":27800,"103":206,"80":60928,"24":59,"16":405485285434982400,"45":5547590343989911552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-18 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170796288001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:39:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 16:39:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-18 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405485285434982400,"km_value":405485285434982.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5547590343989911552,"description":"Unknown IO ID 45"} 
[2026-09-18 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170796288001,"power":27800,"unknown_103":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5547590343989911552}} 
[2026-09-18 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":188903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:39:50] local.INFO: GPS data processed {"connection_id":188903,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:39:50] local.INFO: Acknowledgment sent {"connection_id":188903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:40:13] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:13] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:13] local.INFO: IMEI packet received {"connection_id":187579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":187579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:40:17] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:17] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:17] local.INFO: IMEI packet received {"connection_id":187579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":187579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:40:19] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:19] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:40:19] local.INFO: IMEI packet received {"connection_id":187579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":187579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:40:19] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4349cb0012d4d25c0068631b8007700282d..."} 
[2026-09-18 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4349cb0012d4d25c0068631b8007700282d..."} 
[2026-09-18 16:40:19] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4349cb0012d4d25c0068631b8007700282d..."} 
[2026-09-18 16:40:19] local.INFO: Packet analysis {"connection_id":187579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b434"} 
[2026-09-18 16:40:19] local.INFO: Extracted packet for processing {"connection_id":187579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b434"} 
[2026-09-18 16:40:19] local.INFO: GPS Element Parsed {"raw_longitude":760030656,"raw_latitude":109457848,"longitude_deg":76.0030656,"latitude_deg":10.9457848,"altitude":119,"angle":40,"satellites":45,"speed":56,"hex_longitude":"2d4d25c0","hex_latitude":"068631b8","is_valid_coordinates":true} 
[2026-09-18 16:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170812160001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405489593287180288,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5552023574892814336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789729742000,"timestamp_ms":1789729742000,"timestamp_seconds":1789729742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4349cb0"} 
[2026-09-18 16:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:40:19] 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-09-18 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:40:19] 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-09-18 16:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170812160001,"66":27865,"139":206,"86":48896,"24":56,"16":405489593287180288,"45":5552023574892814336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,86,24,16,45]} 
[2026-09-18 16:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170812160001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:40:19] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-18 16:40:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405489593287180288,"km_value":405489593287180.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5552023574892814336,"description":"Unknown IO ID 45"} 
[2026-09-18 16:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170812160001,"power":27865,"unknown_139":206,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":5552023574892814336}} 
[2026-09-18 16:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":187579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:40:19] local.INFO: GPS data processed {"connection_id":187579,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:40:19] local.INFO: Acknowledgment sent {"connection_id":187579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:40:22] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b434b808012d4d3ec006864ec8007500282f..."} 
[2026-09-18 16:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b434b808012d4d3ec006864ec8007500282f..."} 
[2026-09-18 16:40:22] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b434b808012d4d3ec006864ec8007500282f..."} 
[2026-09-18 16:40:22] local.INFO: Packet analysis {"connection_id":187579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b434"} 
[2026-09-18 16:40:22] local.INFO: Extracted packet for processing {"connection_id":187579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b434"} 
[2026-09-18 16:40:22] local.INFO: GPS Element Parsed {"raw_longitude":760037056,"raw_latitude":109465288,"longitude_deg":76.0037056,"latitude_deg":10.9465288,"altitude":117,"angle":40,"satellites":47,"speed":56,"hex_longitude":"2d4d3ec0","hex_latitude":"06864ec8","is_valid_coordinates":true} 
[2026-09-18 16:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170813952001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405490065733582848,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5559060449312487424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789729749000,"timestamp_ms":1789729749000,"timestamp_seconds":1789729749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b434b808"} 
[2026-09-18 16:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170813952001,"66":27800,"139":206,"86":48896,"24":56,"16":405490065733582848,"45":5559060449312487424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,86,24,16,45]} 
[2026-09-18 16:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170813952001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:40:22] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-18 16:40:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405490065733582848,"km_value":405490065733582.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5559060449312487424,"description":"Unknown IO ID 45"} 
[2026-09-18 16:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170813952001,"power":27800,"unknown_139":206,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":5559060449312487424}} 
[2026-09-18 16:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":187579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:40:22] local.INFO: GPS data processed {"connection_id":187579,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:40:22] local.INFO: Acknowledgment sent {"connection_id":187579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:40:46] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:40:46] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:40:46] local.INFO: IMEI packet received {"connection_id":186150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":186150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:40:47] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:40:47] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:40:47] local.INFO: IMEI packet received {"connection_id":186150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":186150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:40:53] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b434d360012d4d570006866af80073002731..."} 
[2026-09-18 16:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b434d360012d4d570006866af80073002731..."} 
[2026-09-18 16:40:53] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b434d360012d4d570006866af80073002731..."} 
[2026-09-18 16:40:53] local.INFO: Packet analysis {"connection_id":187579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b434"} 
[2026-09-18 16:40:53] local.INFO: Extracted packet for processing {"connection_id":187579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b434"} 
[2026-09-18 16:40:53] local.INFO: GPS Element Parsed {"raw_longitude":760043264,"raw_latitude":109472504,"longitude_deg":76.0043264,"latitude_deg":10.9472504,"altitude":115,"angle":39,"satellites":49,"speed":52,"hex_longitude":"2d4d5700","hex_latitude":"06866af8","is_valid_coordinates":true} 
[2026-09-18 16:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170815744001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405490521000116224,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566097323732158464,"note":"Value kept but may cause issues"} 
[2026-09-18 16:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789729756000,"timestamp_ms":1789729756000,"timestamp_seconds":1789729756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b434d360"} 
[2026-09-18 16:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:40:53] 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-09-18 16:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170815744001,"66":27832,"139":206,"86":48896,"24":52,"16":405490521000116224,"45":5566097323732158464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,86,24,16,45]} 
[2026-09-18 16:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170815744001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:40:53] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-18 16:40:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405490521000116224,"km_value":405490521000116.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566097323732158464,"description":"Unknown IO ID 45"} 
[2026-09-18 16:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170815744001,"power":27832,"unknown_139":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5566097323732158464}} 
[2026-09-18 16:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":187579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:40:53] local.INFO: GPS data processed {"connection_id":187579,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:40:53] local.INFO: Acknowledgment sent {"connection_id":187579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:41:10] local.INFO: TCP Data received {"connection_id":187580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:10] local.INFO: Processing buffer {"connection_id":187580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:10] local.INFO: IMEI packet received {"connection_id":187580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":187580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:41:11] local.INFO: TCP Data received {"connection_id":187580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:11] local.INFO: Processing buffer {"connection_id":187580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:11] local.INFO: IMEI packet received {"connection_id":187580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":187580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:41:16] local.INFO: TCP Data received {"connection_id":187580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:16] local.INFO: Processing buffer {"connection_id":187580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:41:16] local.INFO: IMEI packet received {"connection_id":187580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":187580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:41:17] local.INFO: TCP Data received {"connection_id":187580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b435e4d0012d4dd2c00687e6c00055000f2d..."} 
[2026-09-18 16:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b435e4d0012d4dd2c00687e6c00055000f2d..."} 
[2026-09-18 16:41:17] local.INFO: Processing buffer {"connection_id":187580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b435e4d0012d4dd2c00687e6c00055000f2d..."} 
[2026-09-18 16:41:17] local.INFO: Packet analysis {"connection_id":187580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:41:17] local.INFO: Extracted packet for processing {"connection_id":187580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:41:17] local.INFO: GPS Element Parsed {"raw_longitude":760074944,"raw_latitude":109569728,"longitude_deg":76.0074944,"latitude_deg":10.9569728,"altitude":85,"angle":15,"satellites":45,"speed":60,"hex_longitude":"2d4dd2c0","hex_latitude":"0687e6c0","is_valid_coordinates":true} 
[2026-09-18 16:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170833920001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405495507457146880,"note":"Value kept but may cause issues"} 
[2026-09-18 16:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5605151976775249920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:41:17] 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-09-18 16:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729826000,"timestamp_ms":1789729826000,"timestamp_seconds":1789729826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b435e4d0"} 
[2026-09-18 16:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:41: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-09-18 16:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 16:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170833920001,"66":27800,"237":206,"86":48896,"24":60,"16":405495507457146880,"45":5605151976775249920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 16:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170833920001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:41:17] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 16:41:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405495507457146880,"km_value":405495507457146.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5605151976775249920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170833920001,"power":27800,"unknown_237":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5605151976775249920}} 
[2026-09-18 16:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":187580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:41:17] local.INFO: GPS data processed {"connection_id":187580,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:41:17] local.INFO: Acknowledgment sent {"connection_id":187580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:41:42] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 16:41:42] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-18 16:41:42] local.INFO: IMEI packet received {"connection_id":186150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":186150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:41:48] local.INFO: TCP Data received {"connection_id":187580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b435fc40012d4ddc00068809080052000e2d..."} 
[2026-09-18 16:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b435fc40012d4ddc00068809080052000e2d..."} 
[2026-09-18 16:41:48] local.INFO: Processing buffer {"connection_id":187580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b435fc40012d4ddc00068809080052000e2d..."} 
[2026-09-18 16:41:48] local.INFO: Packet analysis {"connection_id":187580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:41:48] local.INFO: Extracted packet for processing {"connection_id":187580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":760077312,"raw_latitude":109578504,"longitude_deg":76.0077312,"latitude_deg":10.9578504,"altitude":82,"angle":14,"satellites":45,"speed":59,"hex_longitude":"2d4ddc00","hex_latitude":"06880908","is_valid_coordinates":true} 
[2026-09-18 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170835456001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405495945543811072,"note":"Value kept but may cause issues"} 
[2026-09-18 16:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5607755620312072192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:41:48] 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-09-18 16:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789729832000,"timestamp_ms":1789729832000,"timestamp_seconds":1789729832,"priority":1,"record_length":96,"hex_timestamp":"000001a0b435fc40"} 
[2026-09-18 16:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:41: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-09-18 16:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170835456001,"66":27800,"237":206,"86":48896,"24":59,"16":405495945543811072,"45":5607755620312072192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-18 16:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170835456001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:41:48] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-18 16:41:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405495945543811072,"km_value":405495945543811.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5607755620312072192,"description":"Unknown IO ID 45"} 
[2026-09-18 16:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170835456001,"power":27800,"unknown_237":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5607755620312072192}} 
[2026-09-18 16:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":187580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:41:48] local.INFO: GPS data processed {"connection_id":187580,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:41:48] local.INFO: Acknowledgment sent {"connection_id":187580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:42:05] local.INFO: TCP Data received {"connection_id":187577,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:42:05] local.INFO: Processing buffer {"connection_id":187577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:42:05] local.INFO: IMEI packet received {"connection_id":187577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":187577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:42:11] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:42:11] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:42:11] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:11] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:42:17] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:17] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:42:17] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:42:18] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43613b0012d4de58006882ae8004f000f2e..."} 
[2026-09-18 16:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43613b0012d4de58006882ae8004f000f2e..."} 
[2026-09-18 16:42:18] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43613b0012d4de58006882ae8004f000f2e..."} 
[2026-09-18 16:42:18] local.INFO: Packet analysis {"connection_id":186304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:42:18] local.INFO: Extracted packet for processing {"connection_id":186304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:42:18] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":109587176,"longitude_deg":76.0079744,"latitude_deg":10.9587176,"altitude":79,"angle":15,"satellites":46,"speed":59,"hex_longitude":"2d4de580","hex_latitude":"06882ae8","is_valid_coordinates":true} 
[2026-09-18 16:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170836992001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405496383630475264,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5610359263848892416,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789729838000,"timestamp_ms":1789729838000,"timestamp_seconds":1789729838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43613b0"} 
[2026-09-18 16:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:42:18] 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-09-18 16:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170836992001,"66":27767,"9":206,"86":48896,"24":59,"16":405496383630475264,"45":5610359263848892416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,86,24,16,45]} 
[2026-09-18 16:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170836992001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:42:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-18 16:42:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405496383630475264,"km_value":405496383630475.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5610359263848892416,"description":"Unknown IO ID 45"} 
[2026-09-18 16:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170836992001,"power":27767,"unknown_9":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5610359263848892416}} 
[2026-09-18 16:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":186304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:42:18] local.INFO: GPS data processed {"connection_id":186304,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:42:18] local.INFO: Acknowledgment sent {"connection_id":186304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:42:26] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:26] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:26] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:42:30] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:30] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:30] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:42:35] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:35] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:42:35] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:42:36] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4358af8012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4358af8012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:42:36] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4358af8012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:42:36] local.INFO: Packet analysis {"connection_id":186151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:42:36] local.INFO: Extracted packet for processing {"connection_id":186151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170824192001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42: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-09-18 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789729803000,"timestamp_ms":1789729803000,"timestamp_seconds":1789729803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4358af8"} 
[2026-09-18 16:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3023261864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503926471589888,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3674550272892871424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047686220,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":168,"raw_value":21392979419727104,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429032293264838444,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195042048,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84750508740780470,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,25,160,230,45,181,76,42,10,66,148,1,240,41,227,180,33,4,113,205,158,35,168,43,239,50,2,7,164,111,69,152],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-18 16:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476604926178099200,"timestamp_seconds":5476604926178099.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170824192001,"66":12798,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170824192001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170824192001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":186151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:42:36] local.INFO: GPS data processed {"connection_id":186151,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:42:36] local.INFO: Acknowledgment sent {"connection_id":186151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:42:40] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b435e0e8012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b435e0e8012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:42:40] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b435e0e8012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:42:40] local.INFO: Packet analysis {"connection_id":186151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:42:40] local.INFO: Extracted packet for processing {"connection_id":186151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b435"} 
[2026-09-18 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170829568001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42: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-09-18 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789729825000,"timestamp_ms":1789729825000,"timestamp_seconds":1789729825,"priority":1,"record_length":96,"hex_timestamp":"000001a0b435e0e8"} 
[2026-09-18 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:42: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-09-18 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170829568001,"66":12809,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170829568001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:42:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170829568001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":186151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:42:40] local.INFO: GPS data processed {"connection_id":186151,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:42:40] local.INFO: Acknowledgment sent {"connection_id":186151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:42:49] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4372908012d4dfc00068996b8006100112f..."} 
[2026-09-18 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4372908012d4dfc00068996b8006100112f..."} 
[2026-09-18 16:42:49] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4372908012d4dfc00068996b8006100112f..."} 
[2026-09-18 16:42:49] local.INFO: Packet analysis {"connection_id":186304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:42:49] local.INFO: Extracted packet for processing {"connection_id":186304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:42:49] local.INFO: GPS Element Parsed {"raw_longitude":760085504,"raw_latitude":109680312,"longitude_deg":76.0085504,"latitude_deg":10.9680312,"altitude":97,"angle":17,"satellites":47,"speed":46,"hex_longitude":"2d4dfc00","hex_latitude":"068996b8","is_valid_coordinates":true} 
[2026-09-18 16:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170854656001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405500966360580096,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616270238383552512,"note":"Value kept but may cause issues"} 
[2026-09-18 16:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729909000,"timestamp_ms":1789729909000,"timestamp_seconds":1789729909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4372908"} 
[2026-09-18 16:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170854656001,"66":27865,"8":206,"86":48896,"24":46,"16":405500966360580096,"45":5616270238383552512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,86,24,16,45]} 
[2026-09-18 16:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170854656001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:42:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-18 16:42:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405500966360580096,"km_value":405500966360580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616270238383552512,"description":"Unknown IO ID 45"} 
[2026-09-18 16:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170854656001,"power":27865,"unknown_8":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5616270238383552512}} 
[2026-09-18 16:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":186304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:42:49] local.INFO: GPS data processed {"connection_id":186304,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:42:49] local.INFO: Acknowledgment sent {"connection_id":186304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:43:11] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:11] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:11] local.INFO: IMEI packet received {"connection_id":188906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":188906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:43:12] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:12] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:12] local.INFO: IMEI packet received {"connection_id":188906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":188906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:43:16] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:16] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:43:16] local.INFO: IMEI packet received {"connection_id":188906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":188906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:43:17] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4374848012d4e05800689b9e80064000a31..."} 
[2026-09-18 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4374848012d4e05800689b9e80064000a31..."} 
[2026-09-18 16:43:17] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4374848012d4e05800689b9e80064000a31..."} 
[2026-09-18 16:43:17] local.INFO: Packet analysis {"connection_id":188906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:43:17] local.INFO: Extracted packet for processing {"connection_id":188906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":760087936,"raw_latitude":109689320,"longitude_deg":76.0087936,"latitude_deg":10.968932,"altitude":100,"angle":10,"satellites":49,"speed":46,"hex_longitude":"2d4e0580","hex_latitude":"0689b9e8","is_valid_coordinates":true} 
[2026-09-18 16:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170856704001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405501421627113472,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619366463129696256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:17] 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-09-18 16:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729917000,"timestamp_ms":1789729917000,"timestamp_seconds":1789729917,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4374848"} 
[2026-09-18 16:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:43: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-09-18 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:43:17] 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-09-18 16:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170856704001,"66":27865,"94":206,"86":48896,"24":46,"16":405501421627113472,"45":5619366463129696256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170856704001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:43:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:43:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405501421627113472,"km_value":405501421627113.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619366463129696256,"description":"Unknown IO ID 45"} 
[2026-09-18 16:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170856704001,"power":27865,"unknown_94":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5619366463129696256}} 
[2026-09-18 16:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":188906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:43:17] local.INFO: GPS data processed {"connection_id":188906,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:43:17] local.INFO: Acknowledgment sent {"connection_id":188906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:43:25] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:43:25] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:43:25] local.INFO: IMEI packet received {"connection_id":188908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":188908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:43:30] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:43:30] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:43:30] local.INFO: IMEI packet received {"connection_id":188908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":188908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:43:30] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43632f0012d1823000721b5a8004c00cf2c..."} 
[2026-09-18 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43632f0012d1823000721b5a8004c00cf2c..."} 
[2026-09-18 16:43:30] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43632f0012d1823000721b5a8004c00cf2c..."} 
[2026-09-18 16:43:30] local.INFO: Packet analysis {"connection_id":188908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:43:30] local.INFO: Extracted packet for processing {"connection_id":188908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170835200001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729846000,"timestamp_ms":1789729846000,"timestamp_seconds":1789729846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43632f0"} 
[2026-09-18 16:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:43: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-09-18 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3023302864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3719630249631687424,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047686220,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747220746884140627,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429032293264838443,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,25,160,138,45,181,76,10,66,56,42,230,1,240,19,227,180,33,4,113,205,35,168,239,50,2,7,164,111],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-18 16:43:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476604939063001088,"timestamp_seconds":5476604939063001.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170835200001,"66":12776,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170835200001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:43:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170835200001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":188908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:43:31] local.INFO: GPS data processed {"connection_id":188908,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:43:31] local.INFO: Acknowledgment sent {"connection_id":188908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:43:49] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4376788012d4e09800689dde80067000230..."} 
[2026-09-18 16:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4376788012d4e09800689dde80067000230..."} 
[2026-09-18 16:43:49] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4376788012d4e09800689dde80067000230..."} 
[2026-09-18 16:43:49] local.INFO: Packet analysis {"connection_id":188906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:43:49] local.INFO: Extracted packet for processing {"connection_id":188906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":760088960,"raw_latitude":109698536,"longitude_deg":76.008896,"latitude_deg":10.9698536,"altitude":103,"angle":2,"satellites":48,"speed":45,"hex_longitude":"2d4e0980","hex_latitude":"0689dde8","is_valid_coordinates":true} 
[2026-09-18 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170858752001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405501868303712256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5622040475410753536,"note":"Value kept but may cause issues"} 
[2026-09-18 16:43:49] 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-09-18 16:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789729925000,"timestamp_ms":1789729925000,"timestamp_seconds":1789729925,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4376788"} 
[2026-09-18 16:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:43:49] 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-09-18 16:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170858752001,"66":27832,"94":206,"86":48896,"24":45,"16":405501868303712256,"45":5622040475410753536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170858752001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:43:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:43:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405501868303712256,"km_value":405501868303712.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5622040475410753536,"description":"Unknown IO ID 45"} 
[2026-09-18 16:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170858752001,"power":27832,"unknown_94":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5622040475410753536}} 
[2026-09-18 16:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":188906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:43:49] local.INFO: GPS data processed {"connection_id":188906,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:43:49] local.INFO: Acknowledgment sent {"connection_id":188906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:44:02] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43684f8012d1823000721b5a8004c00cf2b..."} 
[2026-09-18 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43684f8012d1823000721b5a8004c00cf2b..."} 
[2026-09-18 16:44:02] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43684f8012d1823000721b5a8004c00cf2b..."} 
[2026-09-18 16:44:02] local.INFO: Packet analysis {"connection_id":188908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:44:02] local.INFO: Extracted packet for processing {"connection_id":188908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170840576001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44: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-09-18 16:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789729867000,"timestamp_ms":1789729867000,"timestamp_seconds":1789729867,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43684f8"} 
[2026-09-18 16:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 16:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170840576001,"66":12743,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170840576001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:44:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170840576001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":188908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:44:02] local.INFO: GPS data processed {"connection_id":188908,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:44:02] local.INFO: Acknowledgment sent {"connection_id":188908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:44:11] local.INFO: TCP Data received {"connection_id":186152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:44:11] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:44:11] local.INFO: IMEI packet received {"connection_id":186152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":186152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:44:16] local.INFO: TCP Data received {"connection_id":186152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:44:16] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:44:16] local.INFO: IMEI packet received {"connection_id":186152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":186152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:44:17] local.INFO: TCP Data received {"connection_id":186152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43786c8012d4e0ac0068a0210006a00022e..."} 
[2026-09-18 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43786c8012d4e0ac0068a0210006a00022e..."} 
[2026-09-18 16:44:17] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43786c8012d4e0ac0068a0210006a00022e..."} 
[2026-09-18 16:44:17] local.INFO: Packet analysis {"connection_id":186152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:44:17] local.INFO: Extracted packet for processing {"connection_id":186152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":760089280,"raw_latitude":109707792,"longitude_deg":76.008928,"latitude_deg":10.9707792,"altitude":106,"angle":2,"satellites":46,"speed":46,"hex_longitude":"2d4e0ac0","hex_latitude":"068a0210","is_valid_coordinates":true} 
[2026-09-18 16:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170860800001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405502319275278336,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623166375319955456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:17] 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-09-18 16:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789729933000,"timestamp_ms":1789729933000,"timestamp_seconds":1789729933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43786c8"} 
[2026-09-18 16:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:44: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-09-18 16:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 16:44:17] 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-09-18 16:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170860800001,"66":27767,"94":206,"86":48896,"24":46,"16":405502319275278336,"45":5623166375319955456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170860800001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:44:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:44:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405502319275278336,"km_value":405502319275278.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623166375319955456,"description":"Unknown IO ID 45"} 
[2026-09-18 16:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170860800001,"power":27767,"unknown_94":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5623166375319955456}} 
[2026-09-18 16:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":186152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:44:17] local.INFO: GPS data processed {"connection_id":186152,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:44:17] local.INFO: Acknowledgment sent {"connection_id":186152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:44:25] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:44:25] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:44:25] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:44:30] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:44:30] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:44:30] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:44:30] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b436d318012d1823000721b5a8004c00cf2e..."} 
[2026-09-18 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b436d318012d1823000721b5a8004c00cf2e..."} 
[2026-09-18 16:44:30] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b436d318012d1823000721b5a8004c00cf2e..."} 
[2026-09-18 16:44:30] local.INFO: Packet analysis {"connection_id":186305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:44:30] local.INFO: Extracted packet for processing {"connection_id":186305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b436"} 
[2026-09-18 16:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170845952001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729887000,"timestamp_ms":1789729887000,"timestamp_seconds":1789729887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b436d318"} 
[2026-09-18 16:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:44: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-09-18 16:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 16:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170845952001,"66":12711,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170845952001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:44:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170845952001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":186305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:44:30] local.INFO: GPS data processed {"connection_id":186305,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:44:30] local.INFO: Acknowledgment sent {"connection_id":186305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:44:49] local.INFO: TCP Data received {"connection_id":186152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4394be8012d4cf440068ada48005a01322d..."} 
[2026-09-18 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4394be8012d4cf440068ada48005a01322d..."} 
[2026-09-18 16:44:49] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4394be8012d4cf440068ada48005a01322d..."} 
[2026-09-18 16:44:49] local.INFO: Packet analysis {"connection_id":186152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:44:49] local.INFO: Extracted packet for processing {"connection_id":186152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":760017984,"raw_latitude":109763144,"longitude_deg":76.0017984,"latitude_deg":10.9763144,"altitude":90,"angle":306,"satellites":45,"speed":14,"hex_longitude":"2d4cf440","hex_latitude":"068ada48","is_valid_coordinates":true} 
[2026-09-18 16:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170887936001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405507232717864960,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5553642056088639488,"note":"Value kept but may cause issues"} 
[2026-09-18 16:44:49] 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-09-18 16:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789730049000,"timestamp_ms":1789730049000,"timestamp_seconds":1789730049,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4394be8"} 
[2026-09-18 16:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170887936001,"66":27745,"94":206,"86":48896,"24":14,"16":405507232717864960,"45":5553642056088639488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170887936001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:44:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:44:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405507232717864960,"km_value":405507232717864.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5553642056088639488,"description":"Unknown IO ID 45"} 
[2026-09-18 16:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170887936001,"power":27745,"unknown_94":206,"unknown_86":48896,"ignition":14,"odometer":null,"unknown_45":5553642056088639488}} 
[2026-09-18 16:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":186152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:44:49] local.INFO: GPS data processed {"connection_id":186152,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:44:49] local.INFO: Acknowledgment sent {"connection_id":186152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:45:01] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4372908012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4372908012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:45:01] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4372908012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:45:01] local.INFO: Packet analysis {"connection_id":186305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:45:01] local.INFO: Extracted packet for processing {"connection_id":186305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170851072001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789729909000,"timestamp_ms":1789729909000,"timestamp_seconds":1789729909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4372908"} 
[2026-09-18 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-09-18 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 16:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170851072001,"66":12667,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170851072001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:45:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170851072001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":186305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:45:02] local.INFO: GPS data processed {"connection_id":186305,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:45:02] local.INFO: Acknowledgment sent {"connection_id":186305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:45:11] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:11] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:11] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:45:12] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:12] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:12] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:45:16] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:16] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:45:16] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:45:18] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4394fd0012d4cf340068adb68005a01472d..."} 
[2026-09-18 16:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4394fd0012d4cf340068adb68005a01472d..."} 
[2026-09-18 16:45:18] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4394fd0012d4cf340068adb68005a01472d..."} 
[2026-09-18 16:45:18] local.INFO: Packet analysis {"connection_id":186153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:45:18] local.INFO: Extracted packet for processing {"connection_id":186153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:45:18] local.INFO: GPS Element Parsed {"raw_longitude":760017728,"raw_latitude":109763432,"longitude_deg":76.0017728,"latitude_deg":10.9763432,"altitude":90,"angle":327,"satellites":45,"speed":16,"hex_longitude":"2d4cf340","hex_latitude":"068adb68","is_valid_coordinates":true} 
[2026-09-18 16:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170892544001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405507254192701440,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545127438043465728,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:18] 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-09-18 16:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730050000,"timestamp_ms":1789730050000,"timestamp_seconds":1789730050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4394fd0"} 
[2026-09-18 16:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:45:18] 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-09-18 16:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170892544001,"66":27745,"94":206,"86":48896,"24":16,"16":405507254192701440,"45":5545127438043465728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170892544001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:45:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:45:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405507254192701440,"km_value":405507254192701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545127438043465728,"description":"Unknown IO ID 45"} 
[2026-09-18 16:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170892544001,"power":27745,"unknown_94":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5545127438043465728}} 
[2026-09-18 16:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":186153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:45:18] local.INFO: GPS data processed {"connection_id":186153,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:45:18] local.INFO: Acknowledgment sent {"connection_id":186153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:45:25] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:45:25] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:45:25] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:45:30] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:45:30] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:45:30] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:45:30] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4377728012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4377728012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:45:30] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4377728012d1823000721b5a8004c00cf2d..."} 
[2026-09-18 16:45:30] local.INFO: Packet analysis {"connection_id":186306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:45:30] local.INFO: Extracted packet for processing {"connection_id":186306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649704,"longitude_deg":75.6556544,"latitude_deg":11.9649704,"altitude":76,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170856704001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420062762074112,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729929000,"timestamp_ms":1789729929000,"timestamp_seconds":1789729929,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4377728"} 
[2026-09-18 16:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:45: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-09-18 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 16:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170856704001,"66":12613,"105":206,"83":41984,"24":0,"16":21420062762074112,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170856704001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:45:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420062762074112,"km_value":21420062762074.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170856704001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":186306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:45:31] local.INFO: GPS data processed {"connection_id":186306,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:45:31] local.INFO: Acknowledgment sent {"connection_id":186306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:45:49] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43953b8012d4cf280068adcf0005b01592d..."} 
[2026-09-18 16:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43953b8012d4cf280068adcf0005b01592d..."} 
[2026-09-18 16:45:49] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43953b8012d4cf280068adcf0005b01592d..."} 
[2026-09-18 16:45:49] local.INFO: Packet analysis {"connection_id":186153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:45:49] local.INFO: Extracted packet for processing {"connection_id":186153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:45:49] local.INFO: GPS Element Parsed {"raw_longitude":760017536,"raw_latitude":109763824,"longitude_deg":76.0017536,"latitude_deg":10.9763824,"altitude":91,"angle":345,"satellites":45,"speed":17,"hex_longitude":"2d4cf280","hex_latitude":"068adcf0","is_valid_coordinates":true} 
[2026-09-18 16:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170892800001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405507275667537920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5544845963066828800,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:49] 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-09-18 16:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789730051000,"timestamp_ms":1789730051000,"timestamp_seconds":1789730051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43953b8"} 
[2026-09-18 16:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:45:49] 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-09-18 16:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170892800001,"66":27930,"94":206,"86":48896,"24":17,"16":405507275667537920,"45":5544845963066828800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170892800001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:45:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:45:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405507275667537920,"km_value":405507275667537.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5544845963066828800,"description":"Unknown IO ID 45"} 
[2026-09-18 16:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170892800001,"power":27930,"unknown_94":206,"unknown_86":48896,"ignition":17,"odometer":null,"unknown_45":5544845963066828800}} 
[2026-09-18 16:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":186153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:45:49] local.INFO: GPS data processed {"connection_id":186153,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:45:49] local.INFO: Acknowledgment sent {"connection_id":186153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:45:52] local.INFO: TCP Data received {"connection_id":187582,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:45:52] local.INFO: Processing buffer {"connection_id":187582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:45:52] local.INFO: IMEI packet received {"connection_id":187582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":187582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:45:53] local.INFO: TCP Data received {"connection_id":187582,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43a6140012d0c89800704de38001800961e..."} 
[2026-09-18 16:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43a6140012d0c89800704de38001800961e..."} 
[2026-09-18 16:45:53] local.INFO: Processing buffer {"connection_id":187582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43a6140012d0c89800704de38001800961e..."} 
[2026-09-18 16:45:53] local.INFO: Packet analysis {"connection_id":187582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:45:53] local.INFO: Extracted packet for processing {"connection_id":187582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:45:53] local.INFO: GPS Element Parsed {"raw_longitude":755796352,"raw_latitude":117759544,"longitude_deg":75.5796352,"latitude_deg":11.7759544,"altitude":24,"angle":150,"satellites":30,"speed":45,"hex_longitude":"2d0c8980","hex_latitude":"0704de38","is_valid_coordinates":true} 
[2026-09-18 16:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170908672001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33152410176192512,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896920043436539904,"note":"Value kept but may cause issues"} 
[2026-09-18 16:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789730120000,"timestamp_ms":1789730120000,"timestamp_seconds":1789730120,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43a6140"} 
[2026-09-18 16:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-18 16:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170908672001,"66":14450,"164":206,"94":10240,"24":45,"16":33152410176192512,"45":896920043436539904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-18 16:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170908672001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:45:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-18 16:45:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33152410176192512,"km_value":33152410176192.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":896920043436539904,"description":"Unknown IO ID 45"} 
[2026-09-18 16:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170908672001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":896920043436539904}} 
[2026-09-18 16:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":187582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:45:53] local.INFO: GPS data processed {"connection_id":187582,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:45:53] local.INFO: Acknowledgment sent {"connection_id":187582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:46:02] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b437c930012d1822c00721b538004c00d92c..."} 
[2026-09-18 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b437c930012d1822c00721b538004c00d92c..."} 
[2026-09-18 16:46:02] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b437c930012d1822c00721b538004c00d92c..."} 
[2026-09-18 16:46:02] local.INFO: Packet analysis {"connection_id":186306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:46:02] local.INFO: Extracted packet for processing {"connection_id":186306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b437"} 
[2026-09-18 16:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":76,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170861824001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420071352008704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725467648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46: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-09-18 16:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789729950000,"timestamp_ms":1789729950000,"timestamp_seconds":1789729950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b437c930"} 
[2026-09-18 16:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 16:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170861824001,"66":12558,"105":206,"83":41984,"24":0,"16":21420071352008704,"45":1739233911725467648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170861824001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:46:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420071352008704,"km_value":21420071352008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725467648,"description":"Unknown IO ID 45"} 
[2026-09-18 16:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170861824001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725467648}} 
[2026-09-18 16:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":186306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:46:02] local.INFO: GPS data processed {"connection_id":186306,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:46:02] local.INFO: Acknowledgment sent {"connection_id":186306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:46:11] local.INFO: TCP Data received {"connection_id":187583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:46:11] local.INFO: Processing buffer {"connection_id":187583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:46:11] local.INFO: IMEI packet received {"connection_id":187583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:46:12] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:12] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:12] local.INFO: IMEI packet received {"connection_id":186154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":186154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:46:13] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:13] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:13] local.INFO: IMEI packet received {"connection_id":186154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":186154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:46:16] local.INFO: TCP Data received {"connection_id":187583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:46:16] local.INFO: Processing buffer {"connection_id":187583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:46:16] local.INFO: IMEI packet received {"connection_id":187583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:46:17] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:17] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:17] local.INFO: IMEI packet received {"connection_id":186154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":186154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:46:18] local.INFO: TCP Data received {"connection_id":187583,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43a2a90012d4d66c0068ad420005c00632f..."} 
[2026-09-18 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43a2a90012d4d66c0068ad420005c00632f..."} 
[2026-09-18 16:46:18] local.INFO: Processing buffer {"connection_id":187583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43a2a90012d4d66c0068ad420005c00632f..."} 
[2026-09-18 16:46:18] local.INFO: Packet analysis {"connection_id":187583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:46:18] local.INFO: Extracted packet for processing {"connection_id":187583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":760047296,"raw_latitude":109761568,"longitude_deg":76.0047296,"latitude_deg":10.9761568,"altitude":92,"angle":99,"satellites":47,"speed":12,"hex_longitude":"2d4d66c0","hex_latitude":"068ad420","is_valid_coordinates":true} 
[2026-09-18 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170901760001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405508791790993408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567715804924440576,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:18] 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-09-18 16:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730106000,"timestamp_ms":1789730106000,"timestamp_seconds":1789730106,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43a2a90"} 
[2026-09-18 16:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:46:18] 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-09-18 16:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170901760001,"66":27767,"94":206,"86":48896,"24":12,"16":405508791790993408,"45":5567715804924440576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170901760001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405508791790993408,"km_value":405508791790993.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567715804924440576,"description":"Unknown IO ID 45"} 
[2026-09-18 16:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170901760001,"power":27767,"unknown_94":206,"unknown_86":48896,"ignition":12,"odometer":null,"unknown_45":5567715804924440576}} 
[2026-09-18 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":187583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:46:18] local.INFO: GPS data processed {"connection_id":187583,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:46:18] local.INFO: Acknowledgment sent {"connection_id":187583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:46:18] local.INFO: TCP Data received {"connection_id":186154,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43a78b0012d0c93000704ca70001a00a31f..."} 
[2026-09-18 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43a78b0012d0c93000704ca70001a00a31f..."} 
[2026-09-18 16:46:18] local.INFO: Processing buffer {"connection_id":186154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43a78b0012d0c93000704ca70001a00a31f..."} 
[2026-09-18 16:46:18] local.INFO: Packet analysis {"connection_id":186154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:46:18] local.INFO: Extracted packet for processing {"connection_id":186154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":755798784,"raw_latitude":117754480,"longitude_deg":75.5798784,"latitude_deg":11.775448,"altitude":26,"angle":163,"satellites":31,"speed":31,"hex_longitude":"2d0c9300","hex_latitude":"0704ca70","is_valid_coordinates":true} 
[2026-09-18 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170910720001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33152685054099456,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903393967899293696,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730126000,"timestamp_ms":1789730126000,"timestamp_seconds":1789730126,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43a78b0"} 
[2026-09-18 16:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 16:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170910720001,"66":14309,"96":206,"94":10240,"24":31,"16":33152685054099456,"45":903393967899293696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-18 16:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170910720001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33152685054099456,"km_value":33152685054099.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":903393967899293696,"description":"Unknown IO ID 45"} 
[2026-09-18 16:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170910720001,"power":14309,"unknown_96":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":903393967899293696}} 
[2026-09-18 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":186154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:46:18] local.INFO: GPS data processed {"connection_id":186154,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:46:18] local.INFO: Acknowledgment sent {"connection_id":186154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:46:24] local.INFO: TCP Data received {"connection_id":187584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:46:24] local.INFO: Processing buffer {"connection_id":187584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:46:24] local.INFO: IMEI packet received {"connection_id":187584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":187584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:46:29] local.INFO: TCP Data received {"connection_id":187584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:46:29] local.INFO: Processing buffer {"connection_id":187584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:46:29] local.INFO: IMEI packet received {"connection_id":187584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":187584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:46:30] local.INFO: TCP Data received {"connection_id":187584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4381b38012d1822c00721b538004c00d929..."} 
[2026-09-18 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4381b38012d1822c00721b538004c00d929..."} 
[2026-09-18 16:46:30] local.INFO: Processing buffer {"connection_id":187584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4381b38012d1822c00721b538004c00d929..."} 
[2026-09-18 16:46:30] local.INFO: Packet analysis {"connection_id":187584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b438"} 
[2026-09-18 16:46:30] local.INFO: Extracted packet for processing {"connection_id":187584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b438"} 
[2026-09-18 16:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":76,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170867200001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420071352008704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789729971000,"timestamp_ms":1789729971000,"timestamp_seconds":1789729971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4381b38"} 
[2026-09-18 16:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:46: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-09-18 16: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3023429864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385614174434728,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047686220,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,25,160,119,45,181,76,10,66,41,211,1,240,167,227,180,33,4,113,205,50,35,168,44,239,49,2,7,106,90,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-18 16:46:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476615929884311552,"timestamp_seconds":5476615929884312.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 16:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170867200001,"66":12558,"105":206,"83":41984,"24":0,"16":21420071352008704,"45":1739163542981261312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170867200001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:46:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420071352008704,"km_value":21420071352008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-09-18 16:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170867200001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-09-18 16:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":187584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:46:30] local.INFO: GPS data processed {"connection_id":187584,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:46:30] local.INFO: Acknowledgment sent {"connection_id":187584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:46:48] local.INFO: TCP Data received {"connection_id":187583,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43a70e0012d4d8140068acd400060004a31..."} 
[2026-09-18 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43a70e0012d4d8140068acd400060004a31..."} 
[2026-09-18 16:46:48] local.INFO: Processing buffer {"connection_id":187583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43a70e0012d4d8140068acd400060004a31..."} 
[2026-09-18 16:46:48] local.INFO: Packet analysis {"connection_id":187583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:46:48] local.INFO: Extracted packet for processing {"connection_id":187583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:46:48] local.INFO: GPS Element Parsed {"raw_longitude":760054080,"raw_latitude":109759808,"longitude_deg":76.005408,"latitude_deg":10.9759808,"altitude":96,"angle":74,"satellites":49,"speed":10,"hex_longitude":"2d4d8140","hex_latitude":"068acd40","is_valid_coordinates":true} 
[2026-09-18 16:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170907136001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405509131093409792,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5577356322876432384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:48] 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-09-18 16:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789730124000,"timestamp_ms":1789730124000,"timestamp_seconds":1789730124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43a70e0"} 
[2026-09-18 16:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:46: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-09-18 16:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:46: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-09-18 16:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:46: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-09-18 16:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170907136001,"66":27767,"94":206,"86":48896,"24":10,"16":405509131093409792,"45":5577356322876432384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-18 16:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170907136001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:46:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-18 16:46:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405509131093409792,"km_value":405509131093409.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5577356322876432384,"description":"Unknown IO ID 45"} 
[2026-09-18 16:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170907136001,"power":27767,"unknown_94":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5577356322876432384}} 
[2026-09-18 16:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":187583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:46:48] local.INFO: GPS data processed {"connection_id":187583,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:46:48] local.INFO: Acknowledgment sent {"connection_id":187583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:46:52] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:52] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:52] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:46:54] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:54] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:46:54] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:46:55] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43b5370012d0ca58007042cb0001600cf1f..."} 
[2026-09-18 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43b5370012d0ca58007042cb0001600cf1f..."} 
[2026-09-18 16:46:55] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43b5370012d0ca58007042cb0001600cf1f..."} 
[2026-09-18 16:46:55] local.INFO: Packet analysis {"connection_id":188909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:46:55] local.INFO: Extracted packet for processing {"connection_id":188909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755803520,"raw_latitude":117714096,"longitude_deg":75.580352,"latitude_deg":11.7714096,"altitude":22,"angle":207,"satellites":31,"speed":32,"hex_longitude":"2d0ca580","hex_latitude":"07042cb0","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170923776001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33154815357878272,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915145548167518208,"note":"Value kept but may cause issues"} 
[2026-09-18 16:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789730182000,"timestamp_ms":1789730182000,"timestamp_seconds":1789730182,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43b5370"} 
[2026-09-18 16:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170923776001,"66":14352,"95":206,"94":10240,"24":32,"16":33154815357878272,"45":915145548167518208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-18 16:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170923776001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:46:55] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 16:46:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-18 16:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33154815357878272,"km_value":33154815357878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":915145548167518208,"description":"Unknown IO ID 45"} 
[2026-09-18 16:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170923776001,"power":14352,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":915145548167518208}} 
[2026-09-18 16:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":188909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:46:55] local.INFO: GPS data processed {"connection_id":188909,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:46:55] local.INFO: Acknowledgment sent {"connection_id":188909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:01] local.INFO: TCP Data received {"connection_id":187584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4386d40012d1822c00721b538004c00d92a..."} 
[2026-09-18 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4386d40012d1822c00721b538004c00d92a..."} 
[2026-09-18 16:47:01] local.INFO: Processing buffer {"connection_id":187584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4386d40012d1822c00721b538004c00d92a..."} 
[2026-09-18 16:47:01] local.INFO: Packet analysis {"connection_id":187584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b438"} 
[2026-09-18 16:47:01] local.INFO: Extracted packet for processing {"connection_id":187584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b438"} 
[2026-09-18 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":76,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170872576001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420071352008704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789729992000,"timestamp_ms":1789729992000,"timestamp_seconds":1789729992,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4386d40"} 
[2026-09-18 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-09-18 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3023450864,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385614174434728,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047686220,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":132,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:01] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,25,160,201,45,192,181,76,44,10,66,119,41,1,240,123,227,180,33,4,113,205,132,35,168,43,239,49,2,7,106,90,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-18 16:47:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476615916999409664,"timestamp_seconds":5476615916999410.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 16:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170872576001,"66":12537,"105":206,"83":41984,"24":0,"16":21420071352008704,"45":1739163542981261312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170872576001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420071352008704,"km_value":21420071352008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170872576001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-09-18 16:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":187584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:01] local.INFO: GPS data processed {"connection_id":187584,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:01] local.INFO: Acknowledgment sent {"connection_id":187584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:15] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:15] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:15] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:47:16] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:16] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:16] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:47:21] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:21] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:47:21] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:47:23] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:47:23] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:47:23] local.INFO: IMEI packet received {"connection_id":188910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":188910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:47:23] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43b2490012d4d0980068b19400063013e2d..."} 
[2026-09-18 16:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43b2490012d4d0980068b19400063013e2d..."} 
[2026-09-18 16:47:23] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43b2490012d4d0980068b19400063013e2d..."} 
[2026-09-18 16:47:23] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:47:23] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:47:23] local.INFO: GPS Element Parsed {"raw_longitude":760023424,"raw_latitude":109779264,"longitude_deg":76.0023424,"latitude_deg":10.9779264,"altitude":99,"angle":318,"satellites":45,"speed":35,"hex_longitude":"2d4d0980","hex_latitude":"068b1940","is_valid_coordinates":true} 
[2026-09-18 16:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170922496001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405510943569608704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5553993899813386240,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789730170000,"timestamp_ms":1789730170000,"timestamp_seconds":1789730170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43b2490"} 
[2026-09-18 16:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170922496001,"66":27865,"95":206,"86":48896,"24":35,"16":405510943569608704,"45":5553993899813386240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 16:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170922496001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 16:47:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405510943569608704,"km_value":405510943569608.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5553993899813386240,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170922496001,"power":27865,"unknown_95":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5553993899813386240}} 
[2026-09-18 16:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:23] local.INFO: GPS data processed {"connection_id":186307,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:23] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:24] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:47:24] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:47:24] local.INFO: IMEI packet received {"connection_id":188911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":188911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:47:26] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43b47b8012d4cf700068b33c8006001492e..."} 
[2026-09-18 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43b47b8012d4cf700068b33c8006001492e..."} 
[2026-09-18 16:47:26] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43b47b8012d4cf700068b33c8006001492e..."} 
[2026-09-18 16:47:26] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:47:26] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":760018688,"raw_latitude":109786056,"longitude_deg":76.0018688,"latitude_deg":10.9786056,"altitude":96,"angle":329,"satellites":46,"speed":30,"hex_longitude":"2d4cf700","hex_latitude":"068b33c8","is_valid_coordinates":true} 
[2026-09-18 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170923520001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405511343001567232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5551108781302693888,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789730179000,"timestamp_ms":1789730179000,"timestamp_seconds":1789730179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43b47b8"} 
[2026-09-18 16:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:47: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":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:47:26] 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-09-18 16:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170923520001,"66":27843,"95":206,"86":48896,"24":30,"16":405511343001567232,"45":5551108781302693888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 16:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170923520001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 16:47:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405511343001567232,"km_value":405511343001567.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5551108781302693888,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170923520001,"power":27843,"unknown_95":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5551108781302693888}} 
[2026-09-18 16:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:26] local.INFO: GPS data processed {"connection_id":186307,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:26] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:30] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:47:30] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:47:30] local.INFO: IMEI packet received {"connection_id":188911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":188911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:47:30] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:47:30] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:47:30] local.INFO: IMEI packet received {"connection_id":188910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":188910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:47:30] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b438bf48012d1822c00721b538004c00d92a..."} 
[2026-09-18 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b438bf48012d1822c00721b538004c00d92a..."} 
[2026-09-18 16:47:30] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b438bf48012d1822c00721b538004c00d92a..."} 
[2026-09-18 16:47:30] local.INFO: Packet analysis {"connection_id":188911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b438"} 
[2026-09-18 16:47:30] local.INFO: Extracted packet for processing {"connection_id":188911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b438"} 
[2026-09-18 16:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":76,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170877952001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420071352008704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730013000,"timestamp_ms":1789730013000,"timestamp_seconds":1789730013,"priority":1,"record_length":96,"hex_timestamp":"000001a0b438bf48"} 
[2026-09-18 16:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 16:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170877952001,"66":12504,"105":206,"83":41984,"24":0,"16":21420071352008704,"45":1739163542981261312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170877952001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420071352008704,"km_value":21420071352008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170877952001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-09-18 16:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":188911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:30] local.INFO: GPS data processed {"connection_id":188911,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:30] local.INFO: Acknowledgment sent {"connection_id":188911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:31] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.109.136.5","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0b4..."} 
[2026-09-18 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0b4..."} 
[2026-09-18 16:47:31] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0b4..."} 
[2026-09-18 16:47:31] local.INFO: IMEI packet received {"connection_id":188910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":188910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:47:32] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43c0720012d0c4a400703c290000f00e91f..."} 
[2026-09-18 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43c0720012d0c4a400703c290000f00e91f..."} 
[2026-09-18 16:47:32] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b43c0338012d0c4c000703c410001000da1e..."} 
[2026-09-18 16:47:32] local.INFO: Packet analysis {"connection_id":188910,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:47:32] local.INFO: Extracted packet for processing {"connection_id":188910,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":755780608,"raw_latitude":117687312,"longitude_deg":75.5780608,"latitude_deg":11.7687312,"altitude":16,"angle":218,"satellites":30,"speed":22,"hex_longitude":"2d0c4c00","hex_latitude":"0703c410","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170937856001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33156602064273408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100534110208,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789730227000,"timestamp_ms":1789730227000,"timestamp_seconds":1789730227,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43c0338"} 
[2026-09-18 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-09-18 16:47: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-09-18 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 16:47: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-09-18 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-09-18 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-09-18 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170937856001,"66":14515,"16":33156602064273408,"94":11008,"24":22,"45":886435100534110208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170937856001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33156602064273408,"km_value":33156602064273.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100534110208,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170937856001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":22,"unknown_45":886435100534110208}} 
[2026-09-18 16:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":188910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:33] local.INFO: GPS data processed {"connection_id":188910,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:33] local.INFO: Acknowledgment sent {"connection_id":188910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:33] local.INFO: Packet analysis {"connection_id":188910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:47:33] local.INFO: Extracted packet for processing {"connection_id":188910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":117686928,"longitude_deg":75.578016,"latitude_deg":11.7686928,"altitude":15,"angle":233,"satellites":31,"speed":24,"hex_longitude":"2d0c4a40","hex_latitude":"0703c290","is_valid_coordinates":true} 
[2026-09-18 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170938112001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33156632129044480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886083256813096960,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789730228000,"timestamp_ms":1789730228000,"timestamp_seconds":1789730228,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43c0720"} 
[2026-09-18 16:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:47: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-09-18 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:47: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-09-18 16: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-09-18 16:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170938112001,"66":14515,"16":33156632129044480,"94":11008,"24":24,"45":886083256813096960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 16:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170938112001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33156632129044480,"km_value":33156632129044.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":886083256813096960,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170938112001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":24,"unknown_45":886083256813096960}} 
[2026-09-18 16:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":188910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:33] local.INFO: GPS data processed {"connection_id":188910,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:33] local.INFO: Acknowledgment sent {"connection_id":188910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:47:40] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:47:40] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:47:40] local.INFO: IMEI packet received {"connection_id":188905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":188905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:47:44] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43c0b08012d0c48000703c1a0000e00f81f..."} 
[2026-09-18 16:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43c0b08012d0c48000703c1a0000e00f81f..."} 
[2026-09-18 16:47:44] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43c0b08012d0c48000703c1a0000e00f81f..."} 
[2026-09-18 16:47:44] local.INFO: Packet analysis {"connection_id":188910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:47:44] local.INFO: Extracted packet for processing {"connection_id":188910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:47:44] local.INFO: GPS Element Parsed {"raw_longitude":755779584,"raw_latitude":117686688,"longitude_deg":75.5779584,"latitude_deg":11.7686688,"altitude":14,"angle":248,"satellites":31,"speed":26,"hex_longitude":"2d0c4800","hex_latitude":"0703c1a0","is_valid_coordinates":true} 
[2026-09-18 16:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170938368001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33156662193815552,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675603755008,"note":"Value kept but may cause issues"} 
[2026-09-18 16:47:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789730229000,"timestamp_ms":1789730229000,"timestamp_seconds":1789730229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43c0b08"} 
[2026-09-18 16:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 16:47:44] 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-09-18 16:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170938368001,"66":14396,"16":33156662193815552,"94":11008,"24":26,"45":885590675603755008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 16:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170938368001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33156662193815552,"km_value":33156662193815.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:47:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675603755008,"description":"Unknown IO ID 45"} 
[2026-09-18 16:47:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170938368001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":26,"unknown_45":885590675603755008}} 
[2026-09-18 16:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":188910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:47:44] local.INFO: GPS data processed {"connection_id":188910,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:47:44] local.INFO: Acknowledgment sent {"connection_id":188910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:01] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4391150012d1821000721b440004b00d32b..."} 
[2026-09-18 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4391150012d1821000721b440004b00d32b..."} 
[2026-09-18 16:48:01] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4391150012d1821000721b440004b00d32b..."} 
[2026-09-18 16:48:01] local.INFO: Packet analysis {"connection_id":188911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:48:01] local.INFO: Extracted packet for processing {"connection_id":188911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":75,"angle":211,"satellites":43,"speed":1,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170883328001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420092826845184,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789730034000,"timestamp_ms":1789730034000,"timestamp_seconds":1789730034,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4391150"} 
[2026-09-18 16:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170883328001,"66":12461,"105":206,"83":41984,"24":1,"16":21420092826845184,"45":1739163542981261312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170883328001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420092826845184,"km_value":21420092826845.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170883328001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-09-18 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":188911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:02] local.INFO: GPS data processed {"connection_id":188911,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:02] local.INFO: Acknowledgment sent {"connection_id":188911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:10] local.INFO: TCP Data received {"connection_id":187586,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:48:10] local.INFO: Processing buffer {"connection_id":187586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:48:10] local.INFO: IMEI packet received {"connection_id":187586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:48:10] local.INFO: TCP Data received {"connection_id":187587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:10] local.INFO: Processing buffer {"connection_id":187587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:10] local.INFO: IMEI packet received {"connection_id":187587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:48:11] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:48:11] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:48:11] local.INFO: IMEI packet received {"connection_id":187585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":187585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:48:12] local.INFO: TCP Data received {"connection_id":187587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:12] local.INFO: Processing buffer {"connection_id":187587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:12] local.INFO: IMEI packet received {"connection_id":187587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":187587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:48:16] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:48:16] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:48:16] local.INFO: IMEI packet received {"connection_id":187585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":187585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:48:17] local.INFO: TCP Data received {"connection_id":187587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:17] local.INFO: Processing buffer {"connection_id":187587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:48:17] local.INFO: IMEI packet received {"connection_id":187587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":187587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:48:18] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43b6ec8012d4ce680068b5640005b01522e..."} 
[2026-09-18 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43b6ec8012d4ce680068b5640005b01522e..."} 
[2026-09-18 16:48:18] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43b6ec8012d4ce680068b5640005b01522e..."} 
[2026-09-18 16:48:18] local.INFO: Packet analysis {"connection_id":187585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:48:18] local.INFO: Extracted packet for processing {"connection_id":187585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":760014464,"raw_latitude":109794880,"longitude_deg":76.0014464,"latitude_deg":10.979488,"altitude":91,"angle":338,"satellites":46,"speed":46,"hex_longitude":"2d4ce680","hex_latitude":"068b5640","is_valid_coordinates":true} 
[2026-09-18 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170925824001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405511815447969792,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545901494235285504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730189000,"timestamp_ms":1789730189000,"timestamp_seconds":1789730189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43b6ec8"} 
[2026-09-18 16:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:18] 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-09-18 16:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170925824001,"66":27745,"95":206,"86":48896,"24":46,"16":405511815447969792,"45":5545901494235285504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170925824001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405511815447969792,"km_value":405511815447969.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545901494235285504,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170925824001,"power":27745,"unknown_95":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5545901494235285504}} 
[2026-09-18 16:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":187585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:18] local.INFO: GPS data processed {"connection_id":187585,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:18] local.INFO: Acknowledgment sent {"connection_id":187585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:18] local.INFO: TCP Data received {"connection_id":187587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43c39e8012d0c26000703b310000c00ee1e..."} 
[2026-09-18 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43c39e8012d0c26000703b310000c00ee1e..."} 
[2026-09-18 16:48:18] local.INFO: Processing buffer {"connection_id":187587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43c39e8012d0c26000703b310000c00ee1e..."} 
[2026-09-18 16:48:18] local.INFO: Packet analysis {"connection_id":187587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:48:18] local.INFO: Extracted packet for processing {"connection_id":187587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":755770880,"raw_latitude":117682960,"longitude_deg":75.577088,"latitude_deg":11.768296,"altitude":12,"angle":238,"satellites":30,"speed":30,"hex_longitude":"2d0c2600","hex_latitude":"0703b310","is_valid_coordinates":true} 
[2026-09-18 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170938624001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33157113165381632,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884957356906094592,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730241000,"timestamp_ms":1789730241000,"timestamp_seconds":1789730241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43c39e8"} 
[2026-09-18 16:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170938624001,"66":14407,"16":33157113165381632,"94":11008,"24":30,"45":884957356906094592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 16:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170938624001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33157113165381632,"km_value":33157113165381.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":884957356906094592,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170938624001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":884957356906094592}} 
[2026-09-18 16:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":187587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:18] local.INFO: GPS data processed {"connection_id":187587,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:18] local.INFO: Acknowledgment sent {"connection_id":187587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:29] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:48:29] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:48:29] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:48:35] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:48:35] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:48:35] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:48:35] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4396358012d1821000721b420004b00d22b..."} 
[2026-09-18 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4396358012d1821000721b420004b00d22b..."} 
[2026-09-18 16:48:35] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4396358012d1821000721b420004b00d22b..."} 
[2026-09-18 16:48:35] local.INFO: Packet analysis {"connection_id":186155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:48:35] local.INFO: Extracted packet for processing {"connection_id":186155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649312,"longitude_deg":75.6556032,"latitude_deg":11.9649312,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170888704001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420097121812480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48: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-09-18 16:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789730055000,"timestamp_ms":1789730055000,"timestamp_seconds":1789730055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4396358"} 
[2026-09-18 16:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170888704001,"66":12439,"105":206,"83":41984,"24":0,"16":21420097121812480,"45":1738670961771954176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170888704001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420097121812480,"km_value":21420097121812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170888704001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-18 16:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":186155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:35] local.INFO: GPS data processed {"connection_id":186155,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:35] local.INFO: Acknowledgment sent {"connection_id":186155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:40] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b439b560012d1821000721b420004b00d22b..."} 
[2026-09-18 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b439b560012d1821000721b420004b00d22b..."} 
[2026-09-18 16:48:40] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b439b560012d1821000721b420004b00d22b..."} 
[2026-09-18 16:48:40] local.INFO: Packet analysis {"connection_id":186155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:48:40] local.INFO: Extracted packet for processing {"connection_id":186155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b439"} 
[2026-09-18 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649312,"longitude_deg":75.6556032,"latitude_deg":11.9649312,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-09-18 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170894080001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420097121812480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771945984,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48: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-09-18 16:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789730076000,"timestamp_ms":1789730076000,"timestamp_seconds":1789730076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b439b560"} 
[2026-09-18 16:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170894080001,"66":12504,"105":206,"83":41984,"24":0,"16":21420097121812480,"45":1738670961771945984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170894080001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420097121812480,"km_value":21420097121812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771945984,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170894080001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771945984}} 
[2026-09-18 16:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":186155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:40] local.INFO: GPS data processed {"connection_id":186155,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:40] local.INFO: Acknowledgment sent {"connection_id":186155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:50] local.INFO: TCP Data received {"connection_id":187587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43c4988012d0c1cc00703ac48000c00e21e..."} 
[2026-09-18 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43c4988012d0c1cc00703ac48000c00e21e..."} 
[2026-09-18 16:48:50] local.INFO: Processing buffer {"connection_id":187587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43c4988012d0c1cc00703ac48000c00e21e..."} 
[2026-09-18 16:48:50] local.INFO: Packet analysis {"connection_id":187587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:48:50] local.INFO: Extracted packet for processing {"connection_id":187587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755768512,"raw_latitude":117681224,"longitude_deg":75.5768512,"latitude_deg":11.7681224,"altitude":12,"angle":226,"satellites":30,"speed":27,"hex_longitude":"2d0c1cc0","hex_latitude":"0703ac48","is_valid_coordinates":true} 
[2026-09-18 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170941696001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33157254899302400,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875387207696977920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789730245000,"timestamp_ms":1789730245000,"timestamp_seconds":1789730245,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43c4988"} 
[2026-09-18 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170941696001,"66":14450,"16":33157254899302400,"94":11008,"24":27,"45":875387207696977920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170941696001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33157254899302400,"km_value":33157254899302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":875387207696977920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458170941696001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":27,"unknown_45":875387207696977920}} 
[2026-09-18 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":187587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:50] local.INFO: GPS data processed {"connection_id":187587,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:50] local.INFO: Acknowledgment sent {"connection_id":187587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:48:50] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43b8e08012d4cd980068b78e00056015329..."} 
[2026-09-18 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43b8e08012d4cd980068b78e00056015329..."} 
[2026-09-18 16:48:50] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43b8e08012d4cd980068b78e00056015329..."} 
[2026-09-18 16:48:50] local.INFO: Packet analysis {"connection_id":187585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:48:50] local.INFO: Extracted packet for processing {"connection_id":187585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43b"} 
[2026-09-18 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":760011136,"raw_latitude":109803744,"longitude_deg":76.0011136,"latitude_deg":10.9803744,"altitude":86,"angle":339,"satellites":41,"speed":45,"hex_longitude":"2d4cd980","hex_latitude":"068b78e0","is_valid_coordinates":true} 
[2026-09-18 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170928384001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405512275009470464,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5541257157121818624,"note":"Value kept but may cause issues"} 
[2026-09-18 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789730197000,"timestamp_ms":1789730197000,"timestamp_seconds":1789730197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43b8e08"} 
[2026-09-18 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:48: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-09-18 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:48:50] 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-09-18 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170928384001,"66":27865,"95":206,"86":48896,"24":45,"16":405512275009470464,"45":5541257157121818624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,86,24,16,45]} 
[2026-09-18 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170928384001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405512275009470464,"km_value":405512275009470.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5541257157121818624,"description":"Unknown IO ID 45"} 
[2026-09-18 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170928384001,"power":27865,"unknown_95":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5541257157121818624}} 
[2026-09-18 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":187585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:48:50] local.INFO: GPS data processed {"connection_id":187585,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:48:50] local.INFO: Acknowledgment sent {"connection_id":187585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:49:10] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:10] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:10] local.INFO: IMEI packet received {"connection_id":187588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":187588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:49:11] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:11] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:11] local.INFO: IMEI packet received {"connection_id":187588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":187588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:49:11] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:11] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:11] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:49:12] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:12] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:12] local.INFO: IMEI packet received {"connection_id":187588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":187588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:49:13] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:13] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:49:13] local.INFO: IMEI packet received {"connection_id":187588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":187588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:49:14] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:14] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:14] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:49:16] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:16] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:49:16] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:49:22] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43cf950012d4bcd80068c97900052014a2f..."} 
[2026-09-18 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43cf950012d4bcd80068c97900052014a2f..."} 
[2026-09-18 16:49:22] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43cf950012d4bcd80068c97900052014a2f..."} 
[2026-09-18 16:49:22] local.INFO: Packet analysis {"connection_id":186156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:49:22] local.INFO: Extracted packet for processing {"connection_id":186156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43c"} 
[2026-09-18 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":759942528,"raw_latitude":109877136,"longitude_deg":75.9942528,"latitude_deg":10.9877136,"altitude":82,"angle":330,"satellites":47,"speed":41,"hex_longitude":"2d4bcd80","hex_latitude":"068c9790","is_valid_coordinates":true} 
[2026-09-18 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170951936001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405517162682253312,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468144031940294656,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789730290000,"timestamp_ms":1789730290000,"timestamp_seconds":1789730290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43cf950"} 
[2026-09-18 16:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:49:22] 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-09-18 16:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170951936001,"66":27745,"83":206,"86":48896,"24":41,"16":405517162682253312,"45":5468144031940294656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 16:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170951936001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 16:49:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405517162682253312,"km_value":405517162682253.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468144031940294656,"description":"Unknown IO ID 45"} 
[2026-09-18 16:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170951936001,"power":27745,"unknown_83":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5468144031940294656}} 
[2026-09-18 16:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":186156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:49:22] local.INFO: GPS data processed {"connection_id":186156,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:49:22] local.INFO: Acknowledgment sent {"connection_id":186156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:49:25] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:49:25] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:49:25] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:49:27] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:49:27] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:49:27] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:49:28] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43a0768012d1821000721b420004b00d22b..."} 
[2026-09-18 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43a0768012d1821000721b420004b00d22b..."} 
[2026-09-18 16:49:28] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43a0768012d1821000721b420004b00d22b..."} 
[2026-09-18 16:49:28] local.INFO: Packet analysis {"connection_id":186308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:49:28] local.INFO: Extracted packet for processing {"connection_id":186308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649312,"longitude_deg":75.6556032,"latitude_deg":11.9649312,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-09-18 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170899456001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420097121812480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771945984,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789730097000,"timestamp_ms":1789730097000,"timestamp_seconds":1789730097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43a0768"} 
[2026-09-18 16:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170899456001,"66":12504,"105":206,"83":41984,"24":0,"16":21420097121812480,"45":1738670961771945984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170899456001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:49:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420097121812480,"km_value":21420097121812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771945984,"description":"Unknown IO ID 45"} 
[2026-09-18 16:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170899456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771945984}} 
[2026-09-18 16:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":186308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:49:28] local.INFO: GPS data processed {"connection_id":186308,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:49:28] local.INFO: Acknowledgment sent {"connection_id":186308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:49:54] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43d2060012d4bbdc0068cb780005101512a..."} 
[2026-09-18 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43d2060012d4bbdc0068cb780005101512a..."} 
[2026-09-18 16:49:54] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43d2060012d4bbdc0068cb780005101512a..."} 
[2026-09-18 16:49:54] local.INFO: Packet analysis {"connection_id":186156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:49:54] local.INFO: Extracted packet for processing {"connection_id":186156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:49:54] local.INFO: GPS Element Parsed {"raw_longitude":759938496,"raw_latitude":109885312,"longitude_deg":75.9938496,"latitude_deg":10.9885312,"altitude":81,"angle":337,"satellites":42,"speed":30,"hex_longitude":"2d4bbdc0","hex_latitude":"068cb780","is_valid_coordinates":true} 
[2026-09-18 16:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170954240001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405517600768917504,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5462162688687181824,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789730300000,"timestamp_ms":1789730300000,"timestamp_seconds":1789730300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43d2060"} 
[2026-09-18 16:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 16:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170954240001,"66":27789,"83":206,"86":48896,"24":30,"16":405517600768917504,"45":5462162688687181824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 16:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170954240001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:49:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 16:49:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405517600768917504,"km_value":405517600768917.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5462162688687181824,"description":"Unknown IO ID 45"} 
[2026-09-18 16:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170954240001,"power":27789,"unknown_83":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5462162688687181824}} 
[2026-09-18 16:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":186156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:49:54] local.INFO: GPS data processed {"connection_id":186156,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:49:54] local.INFO: Acknowledgment sent {"connection_id":186156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:49:59] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43a5970012d1821000721b420004b00d22b..."} 
[2026-09-18 16:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43a5970012d1821000721b420004b00d22b..."} 
[2026-09-18 16:49:59] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43a5970012d1821000721b420004b00d22b..."} 
[2026-09-18 16:49:59] local.INFO: Packet analysis {"connection_id":186308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:49:59] local.INFO: Extracted packet for processing {"connection_id":186308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649312,"longitude_deg":75.6556032,"latitude_deg":11.9649312,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170904832001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420097121812480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771945984,"note":"Value kept but may cause issues"} 
[2026-09-18 16:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789730118000,"timestamp_ms":1789730118000,"timestamp_seconds":1789730118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43a5970"} 
[2026-09-18 16:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170904832001,"66":12526,"105":206,"83":41984,"24":0,"16":21420097121812480,"45":1738670961771945984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170904832001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:49:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420097121812480,"km_value":21420097121812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771945984,"description":"Unknown IO ID 45"} 
[2026-09-18 16:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170904832001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771945984}} 
[2026-09-18 16:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":186308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:49:59] local.INFO: GPS data processed {"connection_id":186308,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:49:59] local.INFO: Acknowledgment sent {"connection_id":186308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:50:11] local.INFO: TCP Data received {"connection_id":187589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:50:11] local.INFO: Processing buffer {"connection_id":187589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:50:11] local.INFO: IMEI packet received {"connection_id":187589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":187589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:50:16] local.INFO: TCP Data received {"connection_id":187589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:50:16] local.INFO: Processing buffer {"connection_id":187589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:50:16] local.INFO: IMEI packet received {"connection_id":187589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":187589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:50:18] local.INFO: TCP Data received {"connection_id":187589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43d5af8012d4bb0c0068cd850004e01552f..."} 
[2026-09-18 16:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43d5af8012d4bb0c0068cd850004e01552f..."} 
[2026-09-18 16:50:18] local.INFO: Processing buffer {"connection_id":187589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43d5af8012d4bb0c0068cd850004e01552f..."} 
[2026-09-18 16:50:18] local.INFO: Packet analysis {"connection_id":187589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:50:18] local.INFO: Extracted packet for processing {"connection_id":187589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:50:18] local.INFO: GPS Element Parsed {"raw_longitude":759935168,"raw_latitude":109893712,"longitude_deg":75.9935168,"latitude_deg":10.9893712,"altitude":78,"angle":341,"satellites":47,"speed":18,"hex_longitude":"2d4bb0c0","hex_latitude":"068cd850","is_valid_coordinates":true} 
[2026-09-18 16:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170956800001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405518038855581696,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5457729457806082048,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730315000,"timestamp_ms":1789730315000,"timestamp_seconds":1789730315,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43d5af8"} 
[2026-09-18 16:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 16:50:18] 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-09-18 16:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170956800001,"66":27821,"83":206,"86":48896,"24":18,"16":405518038855581696,"45":5457729457806082048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 16:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170956800001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 16:50:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405518038855581696,"km_value":405518038855581.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5457729457806082048,"description":"Unknown IO ID 45"} 
[2026-09-18 16:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170956800001,"power":27821,"unknown_83":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5457729457806082048}} 
[2026-09-18 16:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":187589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:50:18] local.INFO: GPS data processed {"connection_id":187589,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:50:18] local.INFO: Acknowledgment sent {"connection_id":187589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:50:25] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:50:25] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:50:25] local.INFO: IMEI packet received {"connection_id":186158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":186158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:50:30] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:50:30] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:50:30] local.INFO: IMEI packet received {"connection_id":186158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":186158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:50:30] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43aaf60012d1821000721b420004b00d22d..."} 
[2026-09-18 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43aaf60012d1821000721b420004b00d22d..."} 
[2026-09-18 16:50:30] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43aaf60012d1821000721b420004b00d22d..."} 
[2026-09-18 16:50:30] local.INFO: Packet analysis {"connection_id":186158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:50:30] local.INFO: Extracted packet for processing {"connection_id":186158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43a"} 
[2026-09-18 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649312,"longitude_deg":75.6556032,"latitude_deg":11.9649312,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170910208001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420097121812480,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771945984,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730140000,"timestamp_ms":1789730140000,"timestamp_seconds":1789730140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43aaf60"} 
[2026-09-18 16:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:50: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-09-18 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 16:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170910208001,"66":12526,"105":206,"83":41984,"24":0,"16":21420097121812480,"45":1738670961771945984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170910208001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420097121812480,"km_value":21420097121812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771945984,"description":"Unknown IO ID 45"} 
[2026-09-18 16:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170910208001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771945984}} 
[2026-09-18 16:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":186158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:50:30] local.INFO: GPS data processed {"connection_id":186158,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:50:30] local.INFO: Acknowledgment sent {"connection_id":186158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:50:49] local.INFO: TCP Data received {"connection_id":187589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43d8dc0012d4ba540068cf9d8004b01542f..."} 
[2026-09-18 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43d8dc0012d4ba540068cf9d8004b01542f..."} 
[2026-09-18 16:50:49] local.INFO: Processing buffer {"connection_id":187589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43d8dc0012d4ba540068cf9d8004b01542f..."} 
[2026-09-18 16:50:49] local.INFO: Packet analysis {"connection_id":187589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:50:49] local.INFO: Extracted packet for processing {"connection_id":187589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:50:49] local.INFO: GPS Element Parsed {"raw_longitude":759932224,"raw_latitude":109902296,"longitude_deg":75.9932224,"latitude_deg":10.9902296,"altitude":75,"angle":340,"satellites":47,"speed":33,"hex_longitude":"2d4ba540","hex_latitude":"068cf9d8","is_valid_coordinates":true} 
[2026-09-18 16:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170960640001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405518481237213184,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5454070283110993920,"note":"Value kept but may cause issues"} 
[2026-09-18 16:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789730328000,"timestamp_ms":1789730328000,"timestamp_seconds":1789730328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43d8dc0"} 
[2026-09-18 16:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:50:49] 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-09-18 16:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170960640001,"66":27843,"83":206,"86":48896,"24":33,"16":405518481237213184,"45":5454070283110993920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-09-18 16:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170960640001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-18 16:50:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405518481237213184,"km_value":405518481237213.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5454070283110993920,"description":"Unknown IO ID 45"} 
[2026-09-18 16:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170960640001,"power":27843,"unknown_83":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5454070283110993920}} 
[2026-09-18 16:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":187589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:50:49] local.INFO: GPS data processed {"connection_id":187589,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:50:49] local.INFO: Acknowledgment sent {"connection_id":187589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:51:02] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43e31d0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43e31d0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:51:02] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43e31d0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:51:02] local.INFO: Packet analysis {"connection_id":186158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:51:02] local.INFO: Extracted packet for processing {"connection_id":186158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170969344001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16: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-09-18 16:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789730370000,"timestamp_ms":1789730370000,"timestamp_seconds":1789730370,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43e31d0"} 
[2026-09-18 16:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:51: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-09-18 16: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-09-18 16:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170969344001,"66":12515,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170969344001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170969344001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":186158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:51:02] local.INFO: GPS data processed {"connection_id":186158,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:51:02] local.INFO: Acknowledgment sent {"connection_id":186158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:51:14] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:14] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:14] local.INFO: IMEI packet received {"connection_id":187591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":187591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:51:16] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:16] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:16] local.INFO: IMEI packet received {"connection_id":187591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":187591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:51:21] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:21] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:51:21] local.INFO: IMEI packet received {"connection_id":187591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":187591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:51:22] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43dc088012d4b9bc0068d1db0004c015c2f..."} 
[2026-09-18 16:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43dc088012d4b9bc0068d1db0004c015c2f..."} 
[2026-09-18 16:51:22] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43dc088012d4b9bc0068d1db0004c015c2f..."} 
[2026-09-18 16:51:22] local.INFO: Packet analysis {"connection_id":187591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:51:22] local.INFO: Extracted packet for processing {"connection_id":187591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:51:22] local.INFO: GPS Element Parsed {"raw_longitude":759929792,"raw_latitude":109911472,"longitude_deg":75.9929792,"latitude_deg":10.9911472,"altitude":76,"angle":348,"satellites":47,"speed":27,"hex_longitude":"2d4b9bc0","hex_latitude":"068d1db0","is_valid_coordinates":true} 
[2026-09-18 16:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170963968001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405518940798713856,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5450833320881018880,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789730341000,"timestamp_ms":1789730341000,"timestamp_seconds":1789730341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43dc088"} 
[2026-09-18 16:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170963968001,"66":27647,"120":206,"86":48896,"24":27,"16":405518940798713856,"45":5450833320881018880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,86,24,16,45]} 
[2026-09-18 16:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170963968001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:51:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:51:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405518940798713856,"km_value":405518940798713.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5450833320881018880,"description":"Unknown IO ID 45"} 
[2026-09-18 16:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170963968001,"power":27647,"unknown_120":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5450833320881018880}} 
[2026-09-18 16:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":187591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:51:22] local.INFO: GPS data processed {"connection_id":187591,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:51:22] local.INFO: Acknowledgment sent {"connection_id":187591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:51:25] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:51:25] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:51:25] local.INFO: IMEI packet received {"connection_id":187592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":187592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:51:27] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43ddfc8012d4b9940068d3710004b016725..."} 
[2026-09-18 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43ddfc8012d4b9940068d3710004b016725..."} 
[2026-09-18 16:51:27] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43ddfc8012d4b9940068d3710004b016725..."} 
[2026-09-18 16:51:27] local.INFO: Packet analysis {"connection_id":187591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:51:27] local.INFO: Extracted packet for processing {"connection_id":187591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43d"} 
[2026-09-18 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":759929152,"raw_latitude":109917968,"longitude_deg":75.9929152,"latitude_deg":10.9917968,"altitude":75,"angle":359,"satellites":37,"speed":32,"hex_longitude":"2d4b9940","hex_latitude":"068d3710","is_valid_coordinates":true} 
[2026-09-18 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170967296001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405519258626293760,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5448159308604616704,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789730349000,"timestamp_ms":1789730349000,"timestamp_seconds":1789730349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43ddfc8"} 
[2026-09-18 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 16:51:27] 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-09-18 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:51: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-09-18 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170967296001,"66":27647,"120":206,"86":48896,"24":32,"16":405519258626293760,"45":5448159308604616704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,86,24,16,45]} 
[2026-09-18 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170967296001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:51:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:51:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405519258626293760,"km_value":405519258626293.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5448159308604616704,"description":"Unknown IO ID 45"} 
[2026-09-18 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170967296001,"power":27647,"unknown_120":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5448159308604616704}} 
[2026-09-18 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":187591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:51:27] local.INFO: GPS data processed {"connection_id":187591,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:51:27] local.INFO: Acknowledgment sent {"connection_id":187591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:51:30] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:51:30] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:51:30] local.INFO: IMEI packet received {"connection_id":187592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":187592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:51:30] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43e83d8012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43e83d8012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:51:30] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43e83d8012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:51:30] local.INFO: Packet analysis {"connection_id":187592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:51:30] local.INFO: Extracted packet for processing {"connection_id":187592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170974720001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730391000,"timestamp_ms":1789730391000,"timestamp_seconds":1789730391,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43e83d8"} 
[2026-09-18 16:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 16:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170974720001,"66":12526,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170974720001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:51:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170974720001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":187592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:51:30] local.INFO: GPS data processed {"connection_id":187592,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:51:30] local.INFO: Acknowledgment sent {"connection_id":187592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:52:02] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43ed5e0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43ed5e0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:52:02] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43ed5e0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:52:02] local.INFO: Packet analysis {"connection_id":187592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:52:02] local.INFO: Extracted packet for processing {"connection_id":187592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170980096001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52: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-09-18 16:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789730412000,"timestamp_ms":1789730412000,"timestamp_seconds":1789730412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43ed5e0"} 
[2026-09-18 16:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 16:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170980096001,"66":12515,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170980096001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170980096001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":187592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:52:02] local.INFO: GPS data processed {"connection_id":187592,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:52:02] local.INFO: Acknowledgment sent {"connection_id":187592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:52:11] local.INFO: TCP Data received {"connection_id":186159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:11] local.INFO: Processing buffer {"connection_id":186159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:11] local.INFO: IMEI packet received {"connection_id":186159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:52:11] local.INFO: TCP Data received {"connection_id":186159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:11] local.INFO: Processing buffer {"connection_id":186159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:11] local.INFO: IMEI packet received {"connection_id":186159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:52:14] local.INFO: TCP Data received {"connection_id":186159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:14] local.INFO: Processing buffer {"connection_id":186159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:52:14] local.INFO: IMEI packet received {"connection_id":186159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:52:14] local.INFO: TCP Data received {"connection_id":186159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43e0ac0012d4b9500068d5a68004a01652e..."} 
[2026-09-18 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43e0ac0012d4b9500068d5a68004a01652e..."} 
[2026-09-18 16:52:14] local.INFO: Processing buffer {"connection_id":186159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43e0ac0012d4b9500068d5a68004a01652e..."} 
[2026-09-18 16:52:14] local.INFO: Packet analysis {"connection_id":186159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:52:14] local.INFO: Extracted packet for processing {"connection_id":186159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":759928064,"raw_latitude":109927016,"longitude_deg":75.9928064,"latitude_deg":10.9927016,"altitude":74,"angle":357,"satellites":46,"speed":35,"hex_longitude":"2d4b9500","hex_latitude":"068d5a68","is_valid_coordinates":true} 
[2026-09-18 16:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170969344001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405519701007925248,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5447455621164503040,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789730360000,"timestamp_ms":1789730360000,"timestamp_seconds":1789730360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43e0ac0"} 
[2026-09-18 16:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:52: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-09-18 16: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 16:52:14] 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-09-18 16:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170969344001,"66":27800,"120":206,"86":48896,"24":35,"16":405519701007925248,"45":5447455621164503040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,86,24,16,45]} 
[2026-09-18 16:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170969344001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:52:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-18 16:52:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405519701007925248,"km_value":405519701007925.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5447455621164503040,"description":"Unknown IO ID 45"} 
[2026-09-18 16:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170969344001,"power":27800,"unknown_120":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5447455621164503040}} 
[2026-09-18 16:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":186159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:52:14] local.INFO: GPS data processed {"connection_id":186159,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:52:14] local.INFO: Acknowledgment sent {"connection_id":186159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:52:24] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:52:24] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:52:24] local.INFO: IMEI packet received {"connection_id":186309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":186309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:52:30] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:52:30] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:52:30] local.INFO: IMEI packet received {"connection_id":186309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":186309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:52:30] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43f2bd0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43f2bd0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:52:30] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43f2bd0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:52:30] local.INFO: Packet analysis {"connection_id":186309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43f"} 
[2026-09-18 16:52:30] local.INFO: Extracted packet for processing {"connection_id":186309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43f"} 
[2026-09-18 16:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170985472001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730434000,"timestamp_ms":1789730434000,"timestamp_seconds":1789730434,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43f2bd0"} 
[2026-09-18 16:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 16:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170985472001,"66":12461,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170985472001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:52:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170985472001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":186309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:52:30] local.INFO: GPS data processed {"connection_id":186309,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:52:30] local.INFO: Acknowledgment sent {"connection_id":186309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:52:45] local.INFO: TCP Data received {"connection_id":186159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43e31d0012d4b90c0068d8070004901622b..."} 
[2026-09-18 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43e31d0012d4b90c0068d8070004901622b..."} 
[2026-09-18 16:52:45] local.INFO: Processing buffer {"connection_id":186159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43e31d0012d4b90c0068d8070004901622b..."} 
[2026-09-18 16:52:45] local.INFO: Packet analysis {"connection_id":186159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:52:45] local.INFO: Extracted packet for processing {"connection_id":186159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":759926976,"raw_latitude":109936752,"longitude_deg":75.9926976,"latitude_deg":10.9936752,"altitude":73,"angle":354,"satellites":43,"speed":41,"hex_longitude":"2d4b90c0","hex_latitude":"068d8070","is_valid_coordinates":true} 
[2026-09-18 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170972160001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405520173454327808,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5446259352515799040,"note":"Value kept but may cause issues"} 
[2026-09-18 16:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789730370000,"timestamp_ms":1789730370000,"timestamp_seconds":1789730370,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43e31d0"} 
[2026-09-18 16:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:52:45] 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-09-18 16:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170972160001,"66":27821,"1":206,"86":48896,"24":41,"16":405520173454327808,"45":5446259352515799040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,86,24,16,45]} 
[2026-09-18 16:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170972160001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:52:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405520173454327808,"km_value":405520173454327.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5446259352515799040,"description":"Unknown IO ID 45"} 
[2026-09-18 16:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170972160001,"power":27821,"imei":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5446259352515799040}} 
[2026-09-18 16:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":186159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:52:45] local.INFO: GPS data processed {"connection_id":186159,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:52:45] local.INFO: Acknowledgment sent {"connection_id":186159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:53:02] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43f7dd8012d181fc00721b258004900cc2e..."} 
[2026-09-18 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43f7dd8012d181fc00721b258004900cc2e..."} 
[2026-09-18 16:53:02] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43f7dd8012d181fc00721b258004900cc2e..."} 
[2026-09-18 16:53:02] local.INFO: Packet analysis {"connection_id":186309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43f"} 
[2026-09-18 16:53:02] local.INFO: Extracted packet for processing {"connection_id":186309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43f"} 
[2026-09-18 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170991104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53: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-09-18 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789730455000,"timestamp_ms":1789730455000,"timestamp_seconds":1789730455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43f7dd8"} 
[2026-09-18 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170991104001,"66":12461,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170991104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170991104001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":186309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:53:02] local.INFO: GPS data processed {"connection_id":186309,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:53:02] local.INFO: Acknowledgment sent {"connection_id":186309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:53:11] local.INFO: TCP Data received {"connection_id":187593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:53:11] local.INFO: Processing buffer {"connection_id":187593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:53:11] local.INFO: IMEI packet received {"connection_id":187593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":187593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:53:17] local.INFO: TCP Data received {"connection_id":187593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:53:17] local.INFO: Processing buffer {"connection_id":187593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:53:17] local.INFO: IMEI packet received {"connection_id":187593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":187593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:53:18] local.INFO: TCP Data received {"connection_id":187593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43e54f8012d4b8c40068da6300047016223..."} 
[2026-09-18 16:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43e54f8012d4b8c40068da6300047016223..."} 
[2026-09-18 16:53:18] local.INFO: Processing buffer {"connection_id":187593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43e54f8012d4b8c40068da6300047016223..."} 
[2026-09-18 16:53:18] local.INFO: Packet analysis {"connection_id":187593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:53:18] local.INFO: Extracted packet for processing {"connection_id":187593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43e"} 
[2026-09-18 16:53:18] local.INFO: GPS Element Parsed {"raw_longitude":759925824,"raw_latitude":109946416,"longitude_deg":75.9925824,"latitude_deg":10.9946416,"altitude":71,"angle":354,"satellites":35,"speed":43,"hex_longitude":"2d4b8c40","hex_latitude":"068da630","is_valid_coordinates":true} 
[2026-09-18 16:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170974720001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405520645900730368,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5445063083867271168,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730379000,"timestamp_ms":1789730379000,"timestamp_seconds":1789730379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43e54f8"} 
[2026-09-18 16:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:53:18] 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-09-18 16:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170974720001,"66":27745,"1":206,"86":48896,"24":43,"16":405520645900730368,"45":5445063083867271168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,86,24,16,45]} 
[2026-09-18 16:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170974720001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:53:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405520645900730368,"km_value":405520645900730.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5445063083867271168,"description":"Unknown IO ID 45"} 
[2026-09-18 16:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170974720001,"power":27745,"imei":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5445063083867271168}} 
[2026-09-18 16:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":187593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:53:18] local.INFO: GPS data processed {"connection_id":187593,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:53:18] local.INFO: Acknowledgment sent {"connection_id":187593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:53:24] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:53:24] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:53:24] local.INFO: IMEI packet received {"connection_id":188912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":188912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:53:30] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:53:30] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:53:30] local.INFO: IMEI packet received {"connection_id":188912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":188912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:53:30] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b43fcfe0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b43fcfe0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:53:30] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b43fcfe0012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:53:30] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b43f"} 
[2026-09-18 16:53:30] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b43f"} 
[2026-09-18 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458170996480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730476000,"timestamp_ms":1789730476000,"timestamp_seconds":1789730476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b43fcfe0"} 
[2026-09-18 16:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:53: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-09-18 16: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-09-18 16:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458170996480001,"66":12461,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458170996480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458170996480001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:53:30] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:53:30] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:53:36] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:53:36] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:53:36] local.INFO: IMEI packet received {"connection_id":186310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":186310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:53:49] local.INFO: TCP Data received {"connection_id":187593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4411418012d4b5a40068e44e0004c012d30..."} 
[2026-09-18 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4411418012d4b5a40068e44e0004c012d30..."} 
[2026-09-18 16:53:49] local.INFO: Processing buffer {"connection_id":187593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4411418012d4b5a40068e44e0004c012d30..."} 
[2026-09-18 16:53:49] local.INFO: Packet analysis {"connection_id":187593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:53:49] local.INFO: Extracted packet for processing {"connection_id":187593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":759913024,"raw_latitude":109987040,"longitude_deg":75.9913024,"latitude_deg":10.998704,"altitude":76,"angle":301,"satellites":48,"speed":5,"hex_longitude":"2d4b5a40","hex_latitude":"068e44e0","is_valid_coordinates":true} 
[2026-09-18 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171017728001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405522823449149440,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5431552284997859328,"note":"Value kept but may cause issues"} 
[2026-09-18 16:53:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 16:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789730559000,"timestamp_ms":1789730559000,"timestamp_seconds":1789730559,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4411418"} 
[2026-09-18 16:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:53:49] 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-09-18 16:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171017728001,"66":27919,"86":48896,"24":5,"16":405522823449149440,"45":5431552284997859328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 16:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171017728001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405522823449149440,"km_value":405522823449149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5431552284997859328,"description":"Unknown IO ID 45"} 
[2026-09-18 16:53:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171017728001,"power":27919,"unknown_86":48896,"ignition":5,"odometer":null,"unknown_45":5431552284997859328}} 
[2026-09-18 16:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":187593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:53:49] local.INFO: GPS data processed {"connection_id":187593,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:53:49] local.INFO: Acknowledgment sent {"connection_id":187593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:01] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4401e00012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4401e00012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:54:01] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4401e00012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:54:01] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b440"} 
[2026-09-18 16:54:01] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b440"} 
[2026-09-18 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171001856001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789730496000,"timestamp_ms":1789730496000,"timestamp_seconds":1789730496,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4401e00"} 
[2026-09-18 16:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:54: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-09-18 16:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171001856001,"66":12504,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171001856001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171001856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:01] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:01] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:11] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:54:11] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:54:11] local.INFO: IMEI packet received {"connection_id":186311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":186311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:54:13] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:13] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:13] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:54:14] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:14] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:14] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:54:16] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:54:16] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:54:16] local.INFO: IMEI packet received {"connection_id":186311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":186311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:54:17] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4415298012d4b5a00068e4a18004b003231..."} 
[2026-09-18 16:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4415298012d4b5a00068e4a18004b003231..."} 
[2026-09-18 16:54:17] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4415298012d4b5a00068e4a18004b003231..."} 
[2026-09-18 16:54:17] local.INFO: Packet analysis {"connection_id":186311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:54:17] local.INFO: Extracted packet for processing {"connection_id":186311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:54:17] local.INFO: GPS Element Parsed {"raw_longitude":759912960,"raw_latitude":109988376,"longitude_deg":75.991296,"latitude_deg":10.9988376,"altitude":75,"angle":50,"satellites":49,"speed":7,"hex_longitude":"2d4b5a00","hex_latitude":"068e4a18","is_valid_coordinates":true} 
[2026-09-18 16:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171023104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405522900758560768,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5429722697649414144,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789730575000,"timestamp_ms":1789730575000,"timestamp_seconds":1789730575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4415298"} 
[2026-09-18 16:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:54: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-09-18 16:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 16:54:17] 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-09-18 16:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171023104001,"66":28006,"22":206,"86":48896,"24":7,"16":405522900758560768,"45":5429722697649414144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171023104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:17] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:54:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405522900758560768,"km_value":405522900758560.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5429722697649414144,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171023104001,"power":28006,"unknown_22":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5429722697649414144}} 
[2026-09-18 16:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":186311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:17] local.INFO: GPS data processed {"connection_id":186311,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:17] local.INFO: Acknowledgment sent {"connection_id":186311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:24] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:24] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:54:24] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:54:25] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4421200012d0b07000702ad78000e008a1d..."} 
[2026-09-18 16:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4421200012d0b07000702ad78000e008a1d..."} 
[2026-09-18 16:54:25] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4421200012d0b07000702ad78000e008a1d..."} 
[2026-09-18 16:54:25] local.INFO: Packet analysis {"connection_id":186162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:54:25] local.INFO: Extracted packet for processing {"connection_id":186162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:54:25] local.INFO: GPS Element Parsed {"raw_longitude":755697408,"raw_latitude":117615992,"longitude_deg":75.5697408,"latitude_deg":11.7615992,"altitude":14,"angle":138,"satellites":29,"speed":15,"hex_longitude":"2d0b0700","hex_latitude":"0702ad78","is_valid_coordinates":true} 
[2026-09-18 16:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171038976001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33164882761220096,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793759464434016256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789730624000,"timestamp_ms":1789730624000,"timestamp_seconds":1789730624,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4421200"} 
[2026-09-18 16:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 16:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186162,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186162,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171038976001,"66":14450,"17":206,"94":11008,"24":15,"16":33164882761220096,"45":793759464434016256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 16:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171038976001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33164882761220096,"km_value":33164882761220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":793759464434016256,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171038976001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":793759464434016256}} 
[2026-09-18 16:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":186162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:25] local.INFO: GPS data processed {"connection_id":186162,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:25] local.INFO: Acknowledgment sent {"connection_id":186162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:30] local.INFO: TCP Data received {"connection_id":186163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:54:30] local.INFO: Processing buffer {"connection_id":186163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:54:30] local.INFO: IMEI packet received {"connection_id":186163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":186163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:54:35] local.INFO: TCP Data received {"connection_id":186163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:54:35] local.INFO: Processing buffer {"connection_id":186163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:54:35] local.INFO: IMEI packet received {"connection_id":186163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":186163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:54:35] local.INFO: TCP Data received {"connection_id":186163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44073f0012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44073f0012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:54:35] local.INFO: Processing buffer {"connection_id":186163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44073f0012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:54:35] local.INFO: Packet analysis {"connection_id":186163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b440"} 
[2026-09-18 16:54:35] local.INFO: Extracted packet for processing {"connection_id":186163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b440"} 
[2026-09-18 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171006976001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54: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-09-18 16:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789730518000,"timestamp_ms":1789730518000,"timestamp_seconds":1789730518,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44073f0"} 
[2026-09-18 16:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171006976001,"66":12504,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171006976001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171006976001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":186163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:35] local.INFO: GPS data processed {"connection_id":186163,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:35] local.INFO: Acknowledgment sent {"connection_id":186163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:40] local.INFO: TCP Data received {"connection_id":186163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b440c210012d181fc00721b258004900cc2b..."} 
[2026-09-18 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b440c210012d181fc00721b258004900cc2b..."} 
[2026-09-18 16:54:40] local.INFO: Processing buffer {"connection_id":186163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b440c210012d181fc00721b258004900cc2b..."} 
[2026-09-18 16:54:40] local.INFO: Packet analysis {"connection_id":186163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b440"} 
[2026-09-18 16:54:40] local.INFO: Extracted packet for processing {"connection_id":186163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b440"} 
[2026-09-18 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 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-09-18 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171012608001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 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-09-18 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789730538000,"timestamp_ms":1789730538000,"timestamp_seconds":1789730538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b440c210"} 
[2026-09-18 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-09-18 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171012608001,"66":12493,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171012608001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171012608001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":186163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:40] local.INFO: GPS data processed {"connection_id":186163,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:40] local.INFO: Acknowledgment sent {"connection_id":186163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:48] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4415a68012d4b5b80068e4b10004b003f31..."} 
[2026-09-18 16:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4415a68012d4b5b80068e4b10004b003f31..."} 
[2026-09-18 16:54:48] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4415a68012d4b5b80068e4b10004b003f31..."} 
[2026-09-18 16:54:48] local.INFO: Packet analysis {"connection_id":186311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:54:48] local.INFO: Extracted packet for processing {"connection_id":186311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:54:48] local.INFO: GPS Element Parsed {"raw_longitude":759913344,"raw_latitude":109988624,"longitude_deg":75.9913344,"latitude_deg":10.9988624,"altitude":75,"angle":63,"satellites":49,"speed":8,"hex_longitude":"2d4b5b80","hex_latitude":"068e4b10","is_valid_coordinates":true} 
[2026-09-18 16:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171027200001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405522922233397248,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5429652328905578496,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789730577000,"timestamp_ms":1789730577000,"timestamp_seconds":1789730577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4415a68"} 
[2026-09-18 16:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-18 16:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:54: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-09-18 16:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171027200001,"66":27865,"22":206,"86":48896,"24":8,"16":405522922233397248,"45":5429652328905578496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171027200001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:48] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:54:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405522922233397248,"km_value":405522922233397.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5429652328905578496,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171027200001,"power":27865,"unknown_22":206,"unknown_86":48896,"ignition":8,"odometer":null,"unknown_45":5429652328905578496}} 
[2026-09-18 16:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":186311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:48] local.INFO: GPS data processed {"connection_id":186311,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:48] local.INFO: Acknowledgment sent {"connection_id":186311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:54:57] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4423528012d0b11000702a360000f00991c..."} 
[2026-09-18 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4423528012d0b11000702a360000f00991c..."} 
[2026-09-18 16:54:57] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4423528012d0b11000702a360000f00991c..."} 
[2026-09-18 16:54:57] local.INFO: Packet analysis {"connection_id":186162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:54:57] local.INFO: Extracted packet for processing {"connection_id":186162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:54:57] local.INFO: GPS Element Parsed {"raw_longitude":755699968,"raw_latitude":117613408,"longitude_deg":75.5699968,"latitude_deg":11.7613408,"altitude":15,"angle":153,"satellites":28,"speed":13,"hex_longitude":"2d0b1100","hex_latitude":"0702a360","is_valid_coordinates":true} 
[2026-09-18 16:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171039744001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165058854879232,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794603889363875840,"note":"Value kept but may cause issues"} 
[2026-09-18 16:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789730633000,"timestamp_ms":1789730633000,"timestamp_seconds":1789730633,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4423528"} 
[2026-09-18 16:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 16:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186162,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186162,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171039744001,"66":14396,"17":206,"94":11008,"24":13,"16":33165058854879232,"45":794603889363875840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 16:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171039744001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:54:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165058854879232,"km_value":33165058854879.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":794603889363875840,"description":"Unknown IO ID 45"} 
[2026-09-18 16:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171039744001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":794603889363875840}} 
[2026-09-18 16:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":186162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:54:57] local.INFO: GPS data processed {"connection_id":186162,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:54:57] local.INFO: Acknowledgment sent {"connection_id":186162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:55:11] local.INFO: TCP Data received {"connection_id":188913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:11] local.INFO: Processing buffer {"connection_id":188913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:11] local.INFO: IMEI packet received {"connection_id":188913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":188913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:55:12] local.INFO: TCP Data received {"connection_id":188913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:12] local.INFO: Processing buffer {"connection_id":188913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:12] local.INFO: IMEI packet received {"connection_id":188913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":188913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:55:16] local.INFO: TCP Data received {"connection_id":188913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:16] local.INFO: Processing buffer {"connection_id":188913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:55:16] local.INFO: IMEI packet received {"connection_id":188913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":188913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:55:17] local.INFO: TCP Data received {"connection_id":188913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b441ac70012d4b7a40068e5918004a003e2f..."} 
[2026-09-18 16:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b441ac70012d4b7a40068e5918004a003e2f..."} 
[2026-09-18 16:55:17] local.INFO: Processing buffer {"connection_id":188913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b441ac70012d4b7a40068e5918004a003e2f..."} 
[2026-09-18 16:55:17] local.INFO: Packet analysis {"connection_id":188913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:55:17] local.INFO: Extracted packet for processing {"connection_id":188913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:55:17] local.INFO: GPS Element Parsed {"raw_longitude":759921216,"raw_latitude":109992216,"longitude_deg":75.9921216,"latitude_deg":10.9992216,"altitude":74,"angle":62,"satellites":47,"speed":20,"hex_longitude":"2d4b7a40","hex_latitude":"068e5918","is_valid_coordinates":true} 
[2026-09-18 16:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171027712001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405523334550257664,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5430074541370707968,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789730598000,"timestamp_ms":1789730598000,"timestamp_seconds":1789730598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b441ac70"} 
[2026-09-18 16:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:55: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-09-18 16:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:55:17] 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-09-18 16:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171027712001,"66":27974,"22":206,"86":48896,"24":20,"16":405523334550257664,"45":5430074541370707968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171027712001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:55:17] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:55:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405523334550257664,"km_value":405523334550257.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5430074541370707968,"description":"Unknown IO ID 45"} 
[2026-09-18 16:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171027712001,"power":27974,"unknown_22":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5430074541370707968}} 
[2026-09-18 16:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":188913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:55:17] local.INFO: GPS data processed {"connection_id":188913,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:55:17] local.INFO: Acknowledgment sent {"connection_id":188913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:55:18] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:55:18] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:55:18] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:55:22] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:55:22] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:55:22] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:55:23] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44267f0012d0b12400702a010000f00a91c..."} 
[2026-09-18 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44267f0012d0b12400702a010000f00a91c..."} 
[2026-09-18 16:55:23] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44267f0012d0b12400702a010000f00a91c..."} 
[2026-09-18 16:55:23] local.INFO: Packet analysis {"connection_id":188914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:55:23] local.INFO: Extracted packet for processing {"connection_id":188914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:55:23] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117612560,"longitude_deg":75.5700288,"latitude_deg":11.761256,"altitude":15,"angle":169,"satellites":28,"speed":3,"hex_longitude":"2d0b1240","hex_latitude":"0702a010","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171042048001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165101804552192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130320896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789730646000,"timestamp_ms":1789730646000,"timestamp_seconds":1789730646,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44267f0"} 
[2026-09-18 16:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 16:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171042048001,"66":14494,"17":206,"94":11008,"24":3,"16":33165101804552192,"45":797418639130320896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 16:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171042048001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:55:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165101804552192,"km_value":33165101804552.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130320896,"description":"Unknown IO ID 45"} 
[2026-09-18 16:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171042048001,"power":14494,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797418639130320896}} 
[2026-09-18 16:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":188914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:55:23] local.INFO: GPS data processed {"connection_id":188914,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:55:23] local.INFO: Acknowledgment sent {"connection_id":188914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:55:24] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:24] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:24] local.INFO: IMEI packet received {"connection_id":188915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":188915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:55:24] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:24] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:24] local.INFO: IMEI packet received {"connection_id":188915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":188915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:55:30] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:30] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:55:30] local.INFO: IMEI packet received {"connection_id":188915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":188915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:55:30] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4411418012d181fc00721b258004900cc2b..."} 
[2026-09-18 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4411418012d181fc00721b258004900cc2b..."} 
[2026-09-18 16:55:30] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4411418012d181fc00721b258004900cc2b..."} 
[2026-09-18 16:55:30] local.INFO: Packet analysis {"connection_id":188915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:55:30] local.INFO: Extracted packet for processing {"connection_id":188915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171017728001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730559000,"timestamp_ms":1789730559000,"timestamp_seconds":1789730559,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4411418"} 
[2026-09-18 16:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-18 16:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171017728001,"66":12504,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171017728001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:55:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171017728001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":188915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:55:30] local.INFO: GPS data processed {"connection_id":188915,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:55:30] local.INFO: Acknowledgment sent {"connection_id":188915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:55:48] local.INFO: TCP Data received {"connection_id":188913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b441fe78012d4b9000068e63e8004b00402f..."} 
[2026-09-18 16:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b441fe78012d4b9000068e63e8004b00402f..."} 
[2026-09-18 16:55:48] local.INFO: Processing buffer {"connection_id":188913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b441fe78012d4b9000068e63e8004b00402f..."} 
[2026-09-18 16:55:48] local.INFO: Packet analysis {"connection_id":188913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:55:48] local.INFO: Extracted packet for processing {"connection_id":188913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:55:48] local.INFO: GPS Element Parsed {"raw_longitude":759926784,"raw_latitude":109994984,"longitude_deg":75.9926784,"latitude_deg":10.9994984,"altitude":75,"angle":64,"satellites":47,"speed":0,"hex_longitude":"2d4b9000","hex_latitude":"068e63e8","is_valid_coordinates":true} 
[2026-09-18 16:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171033088001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405523635197968384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5438729896905480192,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789730619000,"timestamp_ms":1789730619000,"timestamp_seconds":1789730619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b441fe78"} 
[2026-09-18 16:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:55: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-09-18 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 16:55:48] 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-09-18 16:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:55: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-09-18 16:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171033088001,"66":27843,"22":206,"86":48896,"24":0,"16":405523635197968384,"45":5438729896905480192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171033088001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:55:48] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:55:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405523635197968384,"km_value":405523635197968.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5438729896905480192,"description":"Unknown IO ID 45"} 
[2026-09-18 16:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171033088001,"power":27843,"unknown_22":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5438729896905480192}} 
[2026-09-18 16:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":188913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:55:48] local.INFO: GPS data processed {"connection_id":188913,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:55:48] local.INFO: Acknowledgment sent {"connection_id":188913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:55:56] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44273a8012d0b128007029ee8000f009d1d..."} 
[2026-09-18 16:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44273a8012d0b128007029ee8000f009d1d..."} 
[2026-09-18 16:55:56] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44273a8012d0b128007029ee8000f009d1d..."} 
[2026-09-18 16:55:56] local.INFO: Packet analysis {"connection_id":188914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:55:56] local.INFO: Extracted packet for processing {"connection_id":188914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:55:56] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117612264,"longitude_deg":75.5700352,"latitude_deg":11.7612264,"altitude":15,"angle":157,"satellites":29,"speed":3,"hex_longitude":"2d0b1280","hex_latitude":"07029ee8","is_valid_coordinates":true} 
[2026-09-18 16:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171045376001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165118984421376,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797770482850992128,"note":"Value kept but may cause issues"} 
[2026-09-18 16:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789730649000,"timestamp_ms":1789730649000,"timestamp_seconds":1789730649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44273a8"} 
[2026-09-18 16:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-18 16:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-18 16:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-18 16:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-18 16:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171045376001,"66":14439,"17":206,"94":11008,"24":3,"16":33165118984421376,"45":797770482850992128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-18 16:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-18 16:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-18 16:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171045376001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:55:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-18 16:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165118984421376,"km_value":33165118984421.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797770482850992128,"description":"Unknown IO ID 45"} 
[2026-09-18 16:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171045376001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797770482850992128}} 
[2026-09-18 16:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":188914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:55:56] local.INFO: GPS data processed {"connection_id":188914,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:55:56] local.INFO: Acknowledgment sent {"connection_id":188914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:56:02] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4416620012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4416620012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:56:02] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4416620012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:56:02] local.INFO: Packet analysis {"connection_id":188915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:56:02] local.INFO: Extracted packet for processing {"connection_id":188915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171023104001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56: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-09-18 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789730580000,"timestamp_ms":1789730580000,"timestamp_seconds":1789730580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4416620"} 
[2026-09-18 16:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:56: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-09-18 16: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-09-18 16:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171023104001,"66":12504,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171023104001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:56:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171023104001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":188915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:56:02] local.INFO: GPS data processed {"connection_id":188915,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:56:02] local.INFO: Acknowledgment sent {"connection_id":188915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:56:11] local.INFO: TCP Data received {"connection_id":187594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:56:11] local.INFO: Processing buffer {"connection_id":187594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:56:11] local.INFO: IMEI packet received {"connection_id":187594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":187594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:56:15] local.INFO: TCP Data received {"connection_id":187594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:56:15] local.INFO: Processing buffer {"connection_id":187594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:56:15] local.INFO: IMEI packet received {"connection_id":187594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":187594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:56:16] local.INFO: TCP Data received {"connection_id":187594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4425080012d4b9700068e66a8004f004232..."} 
[2026-09-18 16:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4425080012d4b9700068e66a8004f004232..."} 
[2026-09-18 16:56:16] local.INFO: Processing buffer {"connection_id":187594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4425080012d4b9700068e66a8004f004232..."} 
[2026-09-18 16:56:16] local.INFO: Packet analysis {"connection_id":187594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:56:16] local.INFO: Extracted packet for processing {"connection_id":187594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:56:16] local.INFO: GPS Element Parsed {"raw_longitude":759928576,"raw_latitude":109995688,"longitude_deg":75.9928576,"latitude_deg":10.9995688,"altitude":79,"angle":66,"satellites":50,"speed":0,"hex_longitude":"2d4b9700","hex_latitude":"068e66a8","is_valid_coordinates":true} 
[2026-09-18 16:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171038464001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405523729687248896,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5444851977649645568,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789730640000,"timestamp_ms":1789730640000,"timestamp_seconds":1789730640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4425080"} 
[2026-09-18 16:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 16:56:16] 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-09-18 16:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171038464001,"66":27876,"22":206,"86":48896,"24":0,"16":405523729687248896,"45":5444851977649645568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171038464001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:56:16] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:56:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405523729687248896,"km_value":405523729687248.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5444851977649645568,"description":"Unknown IO ID 45"} 
[2026-09-18 16:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171038464001,"power":27876,"unknown_22":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5444851977649645568}} 
[2026-09-18 16:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":187594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:56:16] local.INFO: GPS data processed {"connection_id":187594,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:56:16] local.INFO: Acknowledgment sent {"connection_id":187594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:56:17] local.INFO: TCP Data received {"connection_id":187595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:56:17] local.INFO: Processing buffer {"connection_id":187595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:56:17] local.INFO: IMEI packet received {"connection_id":187595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-18 16:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":187595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:56:22] local.INFO: TCP Data received {"connection_id":187595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:56:22] local.INFO: Processing buffer {"connection_id":187595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-18 16:56:22] local.INFO: IMEI packet received {"connection_id":187595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-18 16:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":187595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:56:22] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:22] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:22] local.INFO: IMEI packet received {"connection_id":186164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":186164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:56:25] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:25] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:25] local.INFO: IMEI packet received {"connection_id":186164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":186164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:56:30] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:30] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:56:30] local.INFO: IMEI packet received {"connection_id":186164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":186164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:56:30] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b441b828012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b441b828012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:56:30] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b441b828012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:56:30] local.INFO: Packet analysis {"connection_id":186164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:56:30] local.INFO: Extracted packet for processing {"connection_id":186164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b441"} 
[2026-09-18 16:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171028480001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730601000,"timestamp_ms":1789730601000,"timestamp_seconds":1789730601,"priority":1,"record_length":96,"hex_timestamp":"000001a0b441b828"} 
[2026-09-18 16:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171028480001,"66":12504,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171028480001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:56:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171028480001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":186164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:56:30] local.INFO: GPS data processed {"connection_id":186164,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:56:30] local.INFO: Acknowledgment sent {"connection_id":186164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:56:47] local.INFO: TCP Data received {"connection_id":187594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b442a288012d4b9e80068e6a10004f004432..."} 
[2026-09-18 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b442a288012d4b9e80068e6a10004f004432..."} 
[2026-09-18 16:56:47] local.INFO: Processing buffer {"connection_id":187594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b442a288012d4b9e80068e6a10004f004432..."} 
[2026-09-18 16:56:47] local.INFO: Packet analysis {"connection_id":187594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:56:47] local.INFO: Extracted packet for processing {"connection_id":187594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":759930496,"raw_latitude":109996560,"longitude_deg":75.9930496,"latitude_deg":10.999656,"altitude":79,"angle":68,"satellites":50,"speed":3,"hex_longitude":"2d4b9e80","hex_latitude":"068e6a10","is_valid_coordinates":true} 
[2026-09-18 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171043840001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405523832766464000,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5446822302486800384,"note":"Value kept but may cause issues"} 
[2026-09-18 16:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789730661000,"timestamp_ms":1789730661000,"timestamp_seconds":1789730661,"priority":1,"record_length":96,"hex_timestamp":"000001a0b442a288"} 
[2026-09-18 16:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:56: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-09-18 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 16:56: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-09-18 16: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-09-18 16:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171043840001,"66":27832,"22":206,"86":48896,"24":3,"16":405523832766464000,"45":5446822302486800384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171043840001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:56:47] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:56:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405523832766464000,"km_value":405523832766464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5446822302486800384,"description":"Unknown IO ID 45"} 
[2026-09-18 16:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171043840001,"power":27832,"unknown_22":206,"unknown_86":48896,"ignition":3,"odometer":null,"unknown_45":5446822302486800384}} 
[2026-09-18 16:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":187594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:56:47] local.INFO: GPS data processed {"connection_id":187594,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:56:47] local.INFO: Acknowledgment sent {"connection_id":187594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:57:02] local.INFO: TCP Data received {"connection_id":186164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4420a30012d181fc00721b258004900cc2e..."} 
[2026-09-18 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4420a30012d181fc00721b258004900cc2e..."} 
[2026-09-18 16:57:02] local.INFO: Processing buffer {"connection_id":186164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4420a30012d181fc00721b258004900cc2e..."} 
[2026-09-18 16:57:02] local.INFO: Packet analysis {"connection_id":186164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:57:02] local.INFO: Extracted packet for processing {"connection_id":186164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171033856001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57: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-09-18 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789730622000,"timestamp_ms":1789730622000,"timestamp_seconds":1789730622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4420a30"} 
[2026-09-18 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:57: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-09-18 16: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-09-18 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171033856001,"66":12504,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171033856001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171033856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":186164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:57:02] local.INFO: GPS data processed {"connection_id":186164,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:57:02] local.INFO: Acknowledgment sent {"connection_id":186164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:57:11] local.INFO: TCP Data received {"connection_id":187596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:57:11] local.INFO: Processing buffer {"connection_id":187596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:57:11] local.INFO: IMEI packet received {"connection_id":187596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":187596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:57:16] local.INFO: TCP Data received {"connection_id":187596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:57:16] local.INFO: Processing buffer {"connection_id":187596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:57:16] local.INFO: IMEI packet received {"connection_id":187596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":187596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:57:18] local.INFO: TCP Data received {"connection_id":187596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b442d550012d4ba100068e6b10004f003832..."} 
[2026-09-18 16:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b442d550012d4ba100068e6b10004f003832..."} 
[2026-09-18 16:57:18] local.INFO: Processing buffer {"connection_id":187596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b442d550012d4ba100068e6b10004f003832..."} 
[2026-09-18 16:57:18] local.INFO: Packet analysis {"connection_id":187596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:57:18] local.INFO: Extracted packet for processing {"connection_id":187596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:57:18] local.INFO: GPS Element Parsed {"raw_longitude":759931136,"raw_latitude":109996816,"longitude_deg":75.9931136,"latitude_deg":10.9996816,"altitude":79,"angle":56,"satellites":50,"speed":7,"hex_longitude":"2d4ba100","hex_latitude":"068e6b10","is_valid_coordinates":true} 
[2026-09-18 16:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171049216001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405523862831235072,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5448933364812353536,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789730674000,"timestamp_ms":1789730674000,"timestamp_seconds":1789730674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b442d550"} 
[2026-09-18 16:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 16:57: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-09-18 16:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171049216001,"66":27800,"22":206,"86":48896,"24":7,"16":405523862831235072,"45":5448933364812353536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171049216001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:57:18] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:57:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405523862831235072,"km_value":405523862831235.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5448933364812353536,"description":"Unknown IO ID 45"} 
[2026-09-18 16:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171049216001,"power":27800,"unknown_22":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5448933364812353536}} 
[2026-09-18 16:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":187596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:57:18] local.INFO: GPS data processed {"connection_id":187596,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:57:18] local.INFO: Acknowledgment sent {"connection_id":187596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:57:25] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:25] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:25] local.INFO: IMEI packet received {"connection_id":188916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":188916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:57:25] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:25] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:25] local.INFO: IMEI packet received {"connection_id":188916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":188916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:57:30] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:30] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:57:30] local.INFO: IMEI packet received {"connection_id":188916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":188916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:57:30] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4425c38012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4425c38012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:57:30] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4425c38012d181fc00721b258004900cc2d..."} 
[2026-09-18 16:57:30] local.INFO: Packet analysis {"connection_id":188916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:57:30] local.INFO: Extracted packet for processing {"connection_id":188916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171039232001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730643000,"timestamp_ms":1789730643000,"timestamp_seconds":1789730643,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4425c38"} 
[2026-09-18 16:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":216,"data_length":795,"current_offset":136} 
[2026-09-18 16:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171039232001,"66":12461,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171039232001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171039232001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":188916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:57:30] local.INFO: GPS data processed {"connection_id":188916,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:57:30] local.INFO: Acknowledgment sent {"connection_id":188916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:57:49] local.INFO: TCP Data received {"connection_id":187596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4432758012d4bb280068e7410004d003b30..."} 
[2026-09-18 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4432758012d4bb280068e7410004d003b30..."} 
[2026-09-18 16:57:49] local.INFO: Processing buffer {"connection_id":187596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4432758012d4bb280068e7410004d003b30..."} 
[2026-09-18 16:57:49] local.INFO: Packet analysis {"connection_id":187596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:57:49] local.INFO: Extracted packet for processing {"connection_id":187596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":759935616,"raw_latitude":109999120,"longitude_deg":75.9935616,"latitude_deg":10.999912,"altitude":77,"angle":59,"satellites":48,"speed":7,"hex_longitude":"2d4bb280","hex_latitude":"068e7410","is_valid_coordinates":true} 
[2026-09-18 16:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171052544001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405524107644370944,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5449637052254195712,"note":"Value kept but may cause issues"} 
[2026-09-18 16:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789730695000,"timestamp_ms":1789730695000,"timestamp_seconds":1789730695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4432758"} 
[2026-09-18 16:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 16:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171052544001,"66":27821,"22":206,"86":48896,"24":7,"16":405524107644370944,"45":5449637052254195712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171052544001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:57:49] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:57:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405524107644370944,"km_value":405524107644370.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5449637052254195712,"description":"Unknown IO ID 45"} 
[2026-09-18 16:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171052544001,"power":27821,"unknown_22":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5449637052254195712}} 
[2026-09-18 16:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":187596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:57:49] local.INFO: GPS data processed {"connection_id":187596,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:57:49] local.INFO: Acknowledgment sent {"connection_id":187596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:58:01] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b442ae40012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b442ae40012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:58:01] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b442ae40012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:58:01] local.INFO: Packet analysis {"connection_id":188916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:58:01] local.INFO: Extracted packet for processing {"connection_id":188916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b442"} 
[2026-09-18 16:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171044608001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789730664000,"timestamp_ms":1789730664000,"timestamp_seconds":1789730664,"priority":1,"record_length":96,"hex_timestamp":"000001a0b442ae40"} 
[2026-09-18 16:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:58: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-09-18 16: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-09-18 16:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171044608001,"66":12461,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171044608001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:58:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171044608001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":188916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:58:02] local.INFO: GPS data processed {"connection_id":188916,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:58:02] local.INFO: Acknowledgment sent {"connection_id":188916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:58:12] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:58:12] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:58:12] local.INFO: IMEI packet received {"connection_id":186313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:58:12] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 16:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 16:58:12] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 16:58:12] local.INFO: IMEI packet received {"connection_id":186313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:58:16] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:58:16] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 16:58:16] local.INFO: IMEI packet received {"connection_id":186313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":186313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:58:18] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4437960012d4bbac0068e7820004d003f31..."} 
[2026-09-18 16:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4437960012d4bbac0068e7820004d003f31..."} 
[2026-09-18 16:58:18] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b4..."} 
[2026-09-18 16:58:18] local.INFO: IMEI packet received {"connection_id":186313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":186313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:58:23] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b443cb68012d4bc700068e7c68004d004231..."} 
[2026-09-18 16:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b443cb68012d4bc700068e7c68004d004231..."} 
[2026-09-18 16:58:23] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b4437960012d4bbac0068e7820004d003f31..."} 
[2026-09-18 16:58:23] local.INFO: Packet analysis {"connection_id":186313,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:58:23] local.INFO: Extracted packet for processing {"connection_id":186313,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:58:23] local.INFO: GPS Element Parsed {"raw_longitude":759937728,"raw_latitude":110000160,"longitude_deg":75.9937728,"latitude_deg":11.000016,"altitude":77,"angle":63,"satellites":49,"speed":4,"hex_longitude":"2d4bbac0","hex_latitude":"068e7820","is_valid_coordinates":true} 
[2026-09-18 16:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171057920001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405524223608487936,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5454562864347222016,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789730716000,"timestamp_ms":1789730716000,"timestamp_seconds":1789730716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4437960"} 
[2026-09-18 16:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:58:23] 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-09-18 16:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171057920001,"66":27767,"22":206,"86":48896,"24":4,"16":405524223608487936,"45":5454562864347222016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171057920001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405524223608487936,"km_value":405524223608487.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5454562864347222016,"description":"Unknown IO ID 45"} 
[2026-09-18 16:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171057920001,"power":27767,"unknown_22":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5454562864347222016}} 
[2026-09-18 16:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":186313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:58:23] local.INFO: GPS data processed {"connection_id":186313,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:58:23] local.INFO: Acknowledgment sent {"connection_id":186313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:58:23] local.INFO: Packet analysis {"connection_id":186313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:58:23] local.INFO: Extracted packet for processing {"connection_id":186313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:58:23] local.INFO: GPS Element Parsed {"raw_longitude":759940864,"raw_latitude":110001256,"longitude_deg":75.9940864,"latitude_deg":11.0001256,"altitude":77,"angle":66,"satellites":49,"speed":7,"hex_longitude":"2d4bc700","hex_latitude":"068e7c68","is_valid_coordinates":true} 
[2026-09-18 16:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171063296001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405524382522277888,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5456885032905351168,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789730737000,"timestamp_ms":1789730737000,"timestamp_seconds":1789730737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b443cb68"} 
[2026-09-18 16:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171063296001,"66":27865,"22":206,"86":48896,"24":7,"16":405524382522277888,"45":5456885032905351168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,86,24,16,45]} 
[2026-09-18 16:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171063296001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405524382522277888,"km_value":405524382522277.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5456885032905351168,"description":"Unknown IO ID 45"} 
[2026-09-18 16:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171063296001,"power":27865,"unknown_22":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5456885032905351168}} 
[2026-09-18 16:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":186313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:58:23] local.INFO: GPS data processed {"connection_id":186313,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:58:23] local.INFO: Acknowledgment sent {"connection_id":186313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:58:24] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:58:24] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:58:24] local.INFO: IMEI packet received {"connection_id":187597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":187597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:58:29] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:58:29] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:58:29] local.INFO: IMEI packet received {"connection_id":187597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":187597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:58:29] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4430048012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4430048012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:58:29] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4430048012d181fc00721b258004900cc2c..."} 
[2026-09-18 16:58:29] local.INFO: Packet analysis {"connection_id":187597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:58:29] local.INFO: Extracted packet for processing {"connection_id":187597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648856,"longitude_deg":75.6555712,"latitude_deg":11.9648856,"altitude":73,"angle":204,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171049984001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420122891616256,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789730685000,"timestamp_ms":1789730685000,"timestamp_seconds":1789730685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4430048"} 
[2026-09-18 16:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16: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-09-18 16:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171049984001,"66":12461,"105":206,"83":41984,"24":0,"16":21420122891616256,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171049984001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:58:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420122891616256,"km_value":21420122891616.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171049984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":187597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:58:29] local.INFO: GPS data processed {"connection_id":187597,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:58:29] local.INFO: Acknowledgment sent {"connection_id":187597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:58:56] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4440218012d4bd040068e7f60004e004e31..."} 
[2026-09-18 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4440218012d4bd040068e7f60004e004e31..."} 
[2026-09-18 16:58:56] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4440218012d4bd040068e7f60004e004e31..."} 
[2026-09-18 16:58:56] local.INFO: Packet analysis {"connection_id":186313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b444"} 
[2026-09-18 16:58:56] local.INFO: Extracted packet for processing {"connection_id":186313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b444"} 
[2026-09-18 16:58:56] local.INFO: GPS Element Parsed {"raw_longitude":759943232,"raw_latitude":110002016,"longitude_deg":75.9943232,"latitude_deg":11.0002016,"altitude":78,"angle":78,"satellites":49,"speed":8,"hex_longitude":"2d4bd040","hex_latitude":"068e7f60","is_valid_coordinates":true} 
[2026-09-18 16:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171068672001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405524498486394880,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460333101370337280,"note":"Value kept but may cause issues"} 
[2026-09-18 16:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789730751000,"timestamp_ms":1789730751000,"timestamp_seconds":1789730751,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4440218"} 
[2026-09-18 16:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:58: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-09-18 16:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 16:58:56] 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-09-18 16:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171068672001,"66":27789,"21":206,"86":48896,"24":8,"16":405524498486394880,"45":5460333101370337280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,86,24,16,45]} 
[2026-09-18 16:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171068672001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:58:56] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-18 16:58:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405524498486394880,"km_value":405524498486394.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460333101370337280,"description":"Unknown IO ID 45"} 
[2026-09-18 16:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171068672001,"power":27789,"unknown_21":206,"unknown_86":48896,"ignition":8,"odometer":null,"unknown_45":5460333101370337280}} 
[2026-09-18 16:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":186313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:58:56] local.INFO: GPS data processed {"connection_id":186313,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:58:56] local.INFO: Acknowledgment sent {"connection_id":186313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:59:00] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44342b0012d181dc00721af68004700d72e..."} 
[2026-09-18 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44342b0012d181dc00721af68004700d72e..."} 
[2026-09-18 16:59:00] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44342b0012d181dc00721af68004700d72e..."} 
[2026-09-18 16:59:00] local.INFO: Packet analysis {"connection_id":187597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:59:00] local.INFO: Extracted packet for processing {"connection_id":187597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b443"} 
[2026-09-18 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648104,"longitude_deg":75.65552,"latitude_deg":11.9648104,"altitude":71,"angle":215,"satellites":46,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171055360001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420170136256512,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050940928,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789730702000,"timestamp_ms":1789730702000,"timestamp_seconds":1789730702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44342b0"} 
[2026-09-18 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16: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":173,"data_length":795,"current_offset":136} 
[2026-09-18 16:59: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-09-18 16: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-09-18 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171055360001,"66":12504,"105":206,"83":41984,"24":2,"16":21420170136256512,"45":1738319118050940928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171055360001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:59:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420170136256512,"km_value":21420170136256.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050940928,"description":"Unknown IO ID 45"} 
[2026-09-18 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171055360001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738319118050940928}} 
[2026-09-18 16:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":187597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:59:01] local.INFO: GPS data processed {"connection_id":187597,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:59:01] local.INFO: Acknowledgment sent {"connection_id":187597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:59:10] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:59:10] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 16:59:10] local.INFO: IMEI packet received {"connection_id":186312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 16:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":186312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:59:12] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:59:12] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:59:12] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 16:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:59:16] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:59:16] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 16:59:16] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 16:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:59:17] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4444480012d4be040068e8260004d005d30..."} 
[2026-09-18 16:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4444480012d4be040068e8260004d005d30..."} 
[2026-09-18 16:59:17] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4444480012d4be040068e8260004d005d30..."} 
[2026-09-18 16:59:17] local.INFO: Packet analysis {"connection_id":186314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b444"} 
[2026-09-18 16:59:17] local.INFO: Extracted packet for processing {"connection_id":186314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b444"} 
[2026-09-18 16:59:17] local.INFO: GPS Element Parsed {"raw_longitude":759947328,"raw_latitude":110002784,"longitude_deg":75.9947328,"latitude_deg":11.0002784,"altitude":77,"angle":93,"satellites":48,"speed":8,"hex_longitude":"2d4be040","hex_latitude":"068e8260","is_valid_coordinates":true} 
[2026-09-18 16:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171072256001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405524700349857792,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5462936744905105408,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789730768000,"timestamp_ms":1789730768000,"timestamp_seconds":1789730768,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4444480"} 
[2026-09-18 16:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:59: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-09-18 16:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 16:59:17] 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-09-18 16:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171072256001,"66":27745,"21":206,"86":48896,"24":8,"16":405524700349857792,"45":5462936744905105408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,86,24,16,45]} 
[2026-09-18 16:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171072256001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:59:17] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-18 16:59:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405524700349857792,"km_value":405524700349857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5462936744905105408,"description":"Unknown IO ID 45"} 
[2026-09-18 16:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171072256001,"power":27745,"unknown_21":206,"unknown_86":48896,"ignition":8,"odometer":null,"unknown_45":5462936744905105408}} 
[2026-09-18 16:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":186314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:59:17] local.INFO: GPS data processed {"connection_id":186314,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:59:17] local.INFO: Acknowledgment sent {"connection_id":186314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:59:24] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:59:24] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:59:24] local.INFO: IMEI packet received {"connection_id":186165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":186165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 16:59:30] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:59:30] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 16:59:30] local.INFO: IMEI packet received {"connection_id":186165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 16:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":186165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 16:59:30] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44657c0012d181cc00721abd8004900a42c..."} 
[2026-09-18 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44657c0012d181cc00721abd8004900a42c..."} 
[2026-09-18 16:59:30] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44657c0012d181cc00721abd8004900a42c..."} 
[2026-09-18 16:59:30] local.INFO: Packet analysis {"connection_id":186165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 16:59:30] local.INFO: Extracted packet for processing {"connection_id":186165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647192,"longitude_deg":75.6554944,"latitude_deg":11.9647192,"altitude":73,"angle":164,"satellites":44,"speed":3,"hex_longitude":"2d181cc0","hex_latitude":"0721abd8","is_valid_coordinates":true} 
[2026-09-18 16: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-09-18 16:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171111168001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420225970831360,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120409600,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789730904000,"timestamp_ms":1789730904000,"timestamp_seconds":1789730904,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44657c0"} 
[2026-09-18 16:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-18 16:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 16:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 16:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 16:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 16:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171111168001,"66":14113,"105":206,"83":41984,"24":3,"16":21420225970831360,"45":1737474693120409600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 16:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 16:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 16:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171111168001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:59:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 16:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 16:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420225970831360,"km_value":21420225970831.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120409600,"description":"Unknown IO ID 45"} 
[2026-09-18 16:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171111168001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737474693120409600}} 
[2026-09-18 16:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":186165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:59:30] local.INFO: GPS data processed {"connection_id":186165,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:59:30] local.INFO: Acknowledgment sent {"connection_id":186165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 16:59:49] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b446f018012d4d40c0068e9a180046004931..."} 
[2026-09-18 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b446f018012d4d40c0068e9a180046004931..."} 
[2026-09-18 16:59:49] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b446f018012d4d40c0068e9a180046004931..."} 
[2026-09-18 16:59:49] local.INFO: Packet analysis {"connection_id":186314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 16:59:49] local.INFO: Extracted packet for processing {"connection_id":186314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":760037568,"raw_latitude":110008856,"longitude_deg":76.0037568,"latitude_deg":11.0008856,"altitude":70,"angle":73,"satellites":49,"speed":0,"hex_longitude":"2d4d40c0","hex_latitude":"068e9a18","is_valid_coordinates":true} 
[2026-09-18 16:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171116032001,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405528857878200320,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566660273824733184,"note":"Value kept but may cause issues"} 
[2026-09-18 16:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 16:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789730943000,"timestamp_ms":1789730943000,"timestamp_seconds":1789730943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b446f018"} 
[2026-09-18 16:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 16:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 16:59:49] 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-09-18 16:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 16:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 16:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 16:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 16:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 16:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 16:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 16:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 16:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171116032001,"66":27865,"10":206,"86":48896,"24":0,"16":405528857878200320,"45":5566660273824733184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 16:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 16:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 16:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171116032001,"description":"Unknown IO ID 0"} 
[2026-09-18 16:59:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 16:59:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 16:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405528857878200320,"km_value":405528857878200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 16:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566660273824733184,"description":"Unknown IO ID 45"} 
[2026-09-18 16:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171116032001,"power":27865,"unknown_10":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5566660273824733184}} 
[2026-09-18 16:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":186314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 16:59:49] local.INFO: GPS data processed {"connection_id":186314,"processed":1,"errors":0,"total":1} 
[2026-09-18 16:59:49] local.INFO: Acknowledgment sent {"connection_id":186314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:00:01] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4465ba8012d181d000721ab78004900972c..."} 
[2026-09-18 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4465ba8012d181d000721ab78004900972c..."} 
[2026-09-18 17:00:01] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4465ba8012d181d000721ab78004900972c..."} 
[2026-09-18 17:00:01] local.INFO: Packet analysis {"connection_id":186165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 17:00:01] local.INFO: Extracted packet for processing {"connection_id":186165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 17:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647096,"longitude_deg":75.6555008,"latitude_deg":11.9647096,"altitude":73,"angle":151,"satellites":44,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721ab78","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171111424001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21420230265798656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120382976,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789730905000,"timestamp_ms":1789730905000,"timestamp_seconds":1789730905,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4465ba8"} 
[2026-09-18 17:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-18 17:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171111424001,"66":14080,"105":206,"83":41984,"24":3,"16":21420230265798656,"45":1737474693120382976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171111424001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:00:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21420230265798656,"km_value":21420230265798.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120382976,"description":"Unknown IO ID 45"} 
[2026-09-18 17:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171111424001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737474693120382976}} 
[2026-09-18 17:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":186165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:00:02] local.INFO: GPS data processed {"connection_id":186165,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:00:02] local.INFO: Acknowledgment sent {"connection_id":186165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:00:11] local.INFO: TCP Data received {"connection_id":187598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:11] local.INFO: Processing buffer {"connection_id":187598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:11] local.INFO: IMEI packet received {"connection_id":187598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":187598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:00:15] local.INFO: TCP Data received {"connection_id":187598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:15] local.INFO: Processing buffer {"connection_id":187598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:15] local.INFO: IMEI packet received {"connection_id":187598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":187598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:00:16] local.INFO: TCP Data received {"connection_id":187598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:16] local.INFO: Processing buffer {"connection_id":187598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:00:16] local.INFO: IMEI packet received {"connection_id":187598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":187598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:00:17] local.INFO: TCP Data received {"connection_id":187598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b446fbd0012d4d4200068e9cf80049016630..."} 
[2026-09-18 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b446fbd0012d4d4200068e9cf80049016630..."} 
[2026-09-18 17:00:17] local.INFO: Processing buffer {"connection_id":187598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b446fbd0012d4d4200068e9cf80049016630..."} 
[2026-09-18 17:00:17] local.INFO: Packet analysis {"connection_id":187598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 17:00:17] local.INFO: Extracted packet for processing {"connection_id":187598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 17:00:17] local.INFO: GPS Element Parsed {"raw_longitude":760037888,"raw_latitude":110009592,"longitude_deg":76.0037888,"latitude_deg":11.0009592,"altitude":73,"angle":358,"satellites":48,"speed":5,"hex_longitude":"2d4d4200","hex_latitude":"068e9cf8","is_valid_coordinates":true} 
[2026-09-18 17:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171121408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405528900827873280,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566660273824733184,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789730946000,"timestamp_ms":1789730946000,"timestamp_seconds":1789730946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b446fbd0"} 
[2026-09-18 17:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:00: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-09-18 17:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 17:00:17] 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-09-18 17:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171121408001,"66":27843,"10":206,"86":48896,"24":5,"16":405528900827873280,"45":5566660273824733184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171121408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405528900827873280,"km_value":405528900827873.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566660273824733184,"description":"Unknown IO ID 45"} 
[2026-09-18 17:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171121408001,"power":27843,"unknown_10":206,"unknown_86":48896,"ignition":5,"odometer":null,"unknown_45":5566660273824733184}} 
[2026-09-18 17:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":187598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:00:17] local.INFO: GPS data processed {"connection_id":187598,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:00:17] local.INFO: Acknowledgment sent {"connection_id":187598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:00:30] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:00:30] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:00:30] local.INFO: IMEI packet received {"connection_id":186166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":186166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:00:34] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:00:34] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:00:34] local.INFO: IMEI packet received {"connection_id":186166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":186166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:00:34] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4478488012d18abc007217298004f007f2a..."} 
[2026-09-18 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4478488012d18abc007217298004f007f2a..."} 
[2026-09-18 17:00:34] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4478488012d18abc007217298004f007f2a..."} 
[2026-09-18 17:00:34] local.INFO: Packet analysis {"connection_id":186166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:00:34] local.INFO: Extracted packet for processing {"connection_id":186166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119632536,"longitude_deg":75.6591552,"latitude_deg":11.9632536,"altitude":79,"angle":127,"satellites":42,"speed":27,"hex_longitude":"2d18abc0","hex_latitude":"07217298","is_valid_coordinates":true} 
[2026-09-18 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171128064001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21422158706114560,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768577678044028928,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789730981000,"timestamp_ms":1789730981000,"timestamp_seconds":1789730981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4478488"} 
[2026-09-18 17:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991136406,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3024526864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84750492634653095,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503926475194368,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2312634449,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147951000,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.WARNING: Large IO value detected {"io_id":176,"raw_value":20829780391756544,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:34] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,26,160,73,45,130,81,40,10,66,50,64,43,38,1,240,137,227,180,33,4,113,205,36,224,49,152,44,239,55,105,2,76,7,74,6,206,176],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-18 17:00:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692676557518929920,"timestamp_seconds":5692676557518930.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171128064001,"66":14243,"106":206,"83":41984,"24":27,"16":21422158706114560,"45":1768577678044028928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 17:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171128064001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:00:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 17:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21422158706114560,"km_value":21422158706114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768577678044028928,"description":"Unknown IO ID 45"} 
[2026-09-18 17:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171128064001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1768577678044028928}} 
[2026-09-18 17:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":186166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:00:35] local.INFO: GPS data processed {"connection_id":186166,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:00:35] local.INFO: Acknowledgment sent {"connection_id":186166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:00:35] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4478c58012d18afc007216ea8004e008c2a..."} 
[2026-09-18 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4478c58012d18afc007216ea8004e008c2a..."} 
[2026-09-18 17:00:35] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4478c58012d18afc007216ea8004e008c2a..."} 
[2026-09-18 17:00:35] local.INFO: Packet analysis {"connection_id":186166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:00:35] local.INFO: Extracted packet for processing {"connection_id":186166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119631528,"longitude_deg":75.6592576,"latitude_deg":11.9631528,"altitude":78,"angle":140,"satellites":42,"speed":29,"hex_longitude":"2d18afc0","hex_latitude":"07216ea8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171131136001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21422227425591296,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786254848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00: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-09-18 17:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789730983000,"timestamp_ms":1789730983000,"timestamp_seconds":1789730983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4478c58"} 
[2026-09-18 17:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-18 17:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171131136001,"66":14189,"106":206,"83":41984,"24":29,"16":21422227425591296,"45":1777725614786254848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 17:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171131136001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:00:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 17:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21422227425591296,"km_value":21422227425591.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786254848,"description":"Unknown IO ID 45"} 
[2026-09-18 17:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171131136001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777725614786254848}} 
[2026-09-18 17:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":186166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:00:35] local.INFO: GPS data processed {"connection_id":186166,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:00:35] local.INFO: Acknowledgment sent {"connection_id":186166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:00:50] local.INFO: TCP Data received {"connection_id":187598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b446ffb8012d4d4200068e9d900049015b30..."} 
[2026-09-18 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b446ffb8012d4d4200068e9d900049015b30..."} 
[2026-09-18 17:00:50] local.INFO: Processing buffer {"connection_id":187598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b446ffb8012d4d4200068e9d900049015b30..."} 
[2026-09-18 17:00:50] local.INFO: Packet analysis {"connection_id":187598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 17:00:50] local.INFO: Extracted packet for processing {"connection_id":187598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b446"} 
[2026-09-18 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":760037888,"raw_latitude":110009744,"longitude_deg":76.0037888,"latitude_deg":11.0009744,"altitude":73,"angle":347,"satellites":48,"speed":6,"hex_longitude":"2d4d4200","hex_latitude":"068e9d90","is_valid_coordinates":true} 
[2026-09-18 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171122176001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405528909417807872,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567012117545809920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789730947000,"timestamp_ms":1789730947000,"timestamp_seconds":1789730947,"priority":1,"record_length":96,"hex_timestamp":"000001a0b446ffb8"} 
[2026-09-18 17:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:00: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-09-18 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:00:50] 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-09-18 17:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171122176001,"66":27919,"10":206,"86":48896,"24":6,"16":405528909417807872,"45":5567012117545809920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171122176001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405528909417807872,"km_value":405528909417807.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567012117545809920,"description":"Unknown IO ID 45"} 
[2026-09-18 17:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171122176001,"power":27919,"unknown_10":206,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5567012117545809920}} 
[2026-09-18 17:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":187598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:00:50] local.INFO: GPS data processed {"connection_id":187598,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:00:50] local.INFO: Acknowledgment sent {"connection_id":187598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:01:11] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:01:11] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:01:11] local.INFO: IMEI packet received {"connection_id":187599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":187599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:01:16] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:01:16] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:01:16] local.INFO: IMEI packet received {"connection_id":187599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":187599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:01:17] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4470f58012d4d41c0068e9fb8004900062e..."} 
[2026-09-18 17:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4470f58012d4d41c0068e9fb8004900062e..."} 
[2026-09-18 17:01:17] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4470f58012d4d41c0068e9fb8004900062e..."} 
[2026-09-18 17:01:17] local.INFO: Packet analysis {"connection_id":187599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:01:17] local.INFO: Extracted packet for processing {"connection_id":187599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":760037824,"raw_latitude":110010296,"longitude_deg":76.0037824,"latitude_deg":11.0010296,"altitude":73,"angle":6,"satellites":46,"speed":6,"hex_longitude":"2d4d41c0","hex_latitude":"068e9fb8","is_valid_coordinates":true} 
[2026-09-18 17:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171122432001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405528935187611648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567012117545848832,"note":"Value kept but may cause issues"} 
[2026-09-18 17:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789730951000,"timestamp_ms":1789730951000,"timestamp_seconds":1789730951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4470f58"} 
[2026-09-18 17:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:01: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-09-18 17:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 17:01:17] 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-09-18 17:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171122432001,"66":27887,"10":206,"86":48896,"24":6,"16":405528935187611648,"45":5567012117545848832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171122432001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:01:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:01:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405528935187611648,"km_value":405528935187611.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567012117545848832,"description":"Unknown IO ID 45"} 
[2026-09-18 17:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171122432001,"power":27887,"unknown_10":206,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5567012117545848832}} 
[2026-09-18 17:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":187599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:01:17] local.INFO: GPS data processed {"connection_id":187599,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:01:17] local.INFO: Acknowledgment sent {"connection_id":187599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:01:22] local.INFO: TCP Data received {"connection_id":186167,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:22] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:22] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:01:22] local.INFO: TCP Data received {"connection_id":186167,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:22] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:22] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:01:24] local.INFO: TCP Data received {"connection_id":186167,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:24] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:24] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:01:25] local.INFO: TCP Data received {"connection_id":186167,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:25] local.INFO: Processing buffer {"connection_id":186167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:01:25] local.INFO: IMEI packet received {"connection_id":186167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":186167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:01:52] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4474608012d4d4340068eaa10004900142d..."} 
[2026-09-18 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4474608012d4d4340068eaa10004900142d..."} 
[2026-09-18 17:01:52] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4474608012d4d4340068eaa10004900142d..."} 
[2026-09-18 17:01:52] local.INFO: Packet analysis {"connection_id":187599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:01:52] local.INFO: Extracted packet for processing {"connection_id":187599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:01:52] local.INFO: GPS Element Parsed {"raw_longitude":760038208,"raw_latitude":110012944,"longitude_deg":76.0038208,"latitude_deg":11.0012944,"altitude":73,"angle":20,"satellites":45,"speed":6,"hex_longitude":"2d4d4340","hex_latitude":"068eaa10","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171123456001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405529068331597824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566941748801812480,"note":"Value kept but may cause issues"} 
[2026-09-18 17:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789730965000,"timestamp_ms":1789730965000,"timestamp_seconds":1789730965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4474608"} 
[2026-09-18 17:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:01: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-09-18 17: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":239,"data_length":795,"current_offset":136} 
[2026-09-18 17:01:52] 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-09-18 17: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-09-18 17:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:01: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-09-18 17:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171123456001,"66":27767,"10":206,"86":48896,"24":6,"16":405529068331597824,"45":5566941748801812480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171123456001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405529068331597824,"km_value":405529068331597.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566941748801812480,"description":"Unknown IO ID 45"} 
[2026-09-18 17:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171123456001,"power":27767,"unknown_10":206,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5566941748801812480}} 
[2026-09-18 17:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":187599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:01:52] local.INFO: GPS data processed {"connection_id":187599,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:01:52] local.INFO: Acknowledgment sent {"connection_id":187599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:02:17] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:02:17] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:02:17] local.INFO: IMEI packet received {"connection_id":188917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:02:21] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:02:21] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:02:21] local.INFO: IMEI packet received {"connection_id":188917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":188917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:02:22] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44774e8012d4d4600068eb430004700082b..."} 
[2026-09-18 17:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44774e8012d4d4600068eb430004700082b..."} 
[2026-09-18 17:02:22] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44774e8012d4d4600068eb430004700082b..."} 
[2026-09-18 17:02:22] local.INFO: Packet analysis {"connection_id":188917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:02:22] local.INFO: Extracted packet for processing {"connection_id":188917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":760038912,"raw_latitude":110015536,"longitude_deg":76.0038912,"latitude_deg":11.0015536,"altitude":71,"angle":8,"satellites":43,"speed":9,"hex_longitude":"2d4d4600","hex_latitude":"068eb430","is_valid_coordinates":true} 
[2026-09-18 17:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171127040001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405529197180616704,"note":"Value kept but may cause issues"} 
[2026-09-18 17:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567363961267556352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789730977000,"timestamp_ms":1789730977000,"timestamp_seconds":1789730977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44774e8"} 
[2026-09-18 17:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 17:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171127040001,"66":27713,"10":206,"86":48896,"24":9,"16":405529197180616704,"45":5567363961267556352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171127040001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:02:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:02:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405529197180616704,"km_value":405529197180616.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567363961267556352,"description":"Unknown IO ID 45"} 
[2026-09-18 17:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171127040001,"power":27713,"unknown_10":206,"unknown_86":48896,"ignition":9,"odometer":null,"unknown_45":5567363961267556352}} 
[2026-09-18 17:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":188917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:02:22] local.INFO: GPS data processed {"connection_id":188917,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:02:22] local.INFO: Acknowledgment sent {"connection_id":188917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:02:27] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4478870012d4d47c0068eb968004800142b..."} 
[2026-09-18 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4478870012d4d47c0068eb968004800142b..."} 
[2026-09-18 17:02:27] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4478870012d4d47c0068eb968004800142b..."} 
[2026-09-18 17:02:27] local.INFO: Packet analysis {"connection_id":188917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:02:27] local.INFO: Extracted packet for processing {"connection_id":188917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b447"} 
[2026-09-18 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":760039360,"raw_latitude":110016872,"longitude_deg":76.003936,"latitude_deg":11.0016872,"altitude":72,"angle":20,"satellites":43,"speed":8,"hex_longitude":"2d4d47c0","hex_latitude":"068eb968","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171130112001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405529265900093440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5568138017454174208,"note":"Value kept but may cause issues"} 
[2026-09-18 17:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789730982000,"timestamp_ms":1789730982000,"timestamp_seconds":1789730982,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4478870"} 
[2026-09-18 17:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 17:02:27] 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-09-18 17: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-09-18 17:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:02: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-09-18 17:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171130112001,"66":27843,"10":206,"86":48896,"24":8,"16":405529265900093440,"45":5568138017454174208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171130112001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405529265900093440,"km_value":405529265900093.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5568138017454174208,"description":"Unknown IO ID 45"} 
[2026-09-18 17:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171130112001,"power":27843,"unknown_10":206,"unknown_86":48896,"ignition":8,"odometer":null,"unknown_45":5568138017454174208}} 
[2026-09-18 17:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":188917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:02:27] local.INFO: GPS data processed {"connection_id":188917,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:02:27] local.INFO: Acknowledgment sent {"connection_id":188917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:03:13] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:03:13] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:03:13] local.INFO: IMEI packet received {"connection_id":186315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":186315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:03:16] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:03:16] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:03:16] local.INFO: IMEI packet received {"connection_id":186315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":186315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:03:17] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497888012d4ce280068f45c8004301322c..."} 
[2026-09-18 17:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497888012d4ce280068f45c8004301322c..."} 
[2026-09-18 17:03:17] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497888012d4ce280068f45c8004301322c..."} 
[2026-09-18 17:03:17] local.INFO: Packet analysis {"connection_id":186315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:03:17] local.INFO: Extracted packet for processing {"connection_id":186315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:03:17] local.INFO: GPS Element Parsed {"raw_longitude":760013440,"raw_latitude":110052808,"longitude_deg":76.001344,"latitude_deg":11.0052808,"altitude":67,"angle":306,"satellites":44,"speed":4,"hex_longitude":"2d4ce280","hex_latitude":"068f45c8","is_valid_coordinates":true} 
[2026-09-18 17:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171158528001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531933074784256,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5548223662860152832,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789731109000,"timestamp_ms":1789731109000,"timestamp_seconds":1789731109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497888"} 
[2026-09-18 17:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:03: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-09-18 17:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:03:17] 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-09-18 17:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171158528001,"66":206,"86":48896,"24":4,"16":405531933074784256,"45":5548223662860152832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171158528001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:03:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531933074784256,"km_value":405531933074784.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5548223662860152832,"description":"Unknown IO ID 45"} 
[2026-09-18 17:03:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171158528001,"power":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5548223662860152832}} 
[2026-09-18 17:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":186315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:03:17] local.INFO: GPS data processed {"connection_id":186315,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:03:17] local.INFO: Acknowledgment sent {"connection_id":186315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:03:23] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497888012d4ce280068f45c8004301322c..."} 
[2026-09-18 17:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497888012d4ce280068f45c8004301322c..."} 
[2026-09-18 17:03:23] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497888012d4ce280068f45c8004301322c..."} 
[2026-09-18 17:03:23] local.INFO: Packet analysis {"connection_id":186315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:03:23] local.INFO: Extracted packet for processing {"connection_id":186315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:03:23] local.INFO: GPS Element Parsed {"raw_longitude":760013440,"raw_latitude":110052808,"longitude_deg":76.001344,"latitude_deg":11.0052808,"altitude":67,"angle":306,"satellites":44,"speed":4,"hex_longitude":"2d4ce280","hex_latitude":"068f45c8","is_valid_coordinates":true} 
[2026-09-18 17:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531933074784256,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789731109000,"timestamp_ms":1789731109000,"timestamp_seconds":1789731109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497888"} 
[2026-09-18 17:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":4,"16":405531933074784256,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531933074784256,"km_value":405531933074784.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:03:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":186315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:03:23] local.INFO: GPS data processed {"connection_id":186315,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:03:23] local.INFO: Acknowledgment sent {"connection_id":186315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:03:54] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:03:54] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:03:54] local.INFO: Packet analysis {"connection_id":186315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:03:54] local.INFO: Extracted packet for processing {"connection_id":186315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:03:54] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:03:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:03:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:03:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":186315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:03:54] local.INFO: GPS data processed {"connection_id":186315,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:03:54] local.INFO: Acknowledgment sent {"connection_id":186315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:04:11] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:04:11] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:04:11] local.INFO: IMEI packet received {"connection_id":186169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":186169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:04:16] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:04:16] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:04:16] local.INFO: IMEI packet received {"connection_id":186169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":186169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:04:17] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:04:17] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:04:17] local.INFO: Packet analysis {"connection_id":186169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:04:17] local.INFO: Extracted packet for processing {"connection_id":186169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:04: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-09-18 17:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:04:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:04: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-09-18 17:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:04:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:04:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":186169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:04:17] local.INFO: GPS data processed {"connection_id":186169,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:04:17] local.INFO: Acknowledgment sent {"connection_id":186169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:04:48] local.INFO: TCP Data received {"connection_id":186168,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:04:48] local.INFO: Processing buffer {"connection_id":186168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:04:48] local.INFO: IMEI packet received {"connection_id":186168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":186168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:04:48] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:04:48] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:04:48] local.INFO: IMEI packet received {"connection_id":188918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":188918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:04:48] local.INFO: TCP Data received {"connection_id":186169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:04:48] local.INFO: Processing buffer {"connection_id":186169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:04:48] local.INFO: Packet analysis {"connection_id":186169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:04:48] local.INFO: Extracted packet for processing {"connection_id":186169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:04: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-09-18 17:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:04:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:04: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-09-18 17:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:04:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":186169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:04:49] local.INFO: GPS data processed {"connection_id":186169,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:04:49] local.INFO: Acknowledgment sent {"connection_id":186169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:05:11] local.INFO: TCP Data received {"connection_id":186316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:05:11] local.INFO: Processing buffer {"connection_id":186316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:05:11] local.INFO: IMEI packet received {"connection_id":186316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":186316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:05:16] local.INFO: TCP Data received {"connection_id":186316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:05:16] local.INFO: Processing buffer {"connection_id":186316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:05:16] local.INFO: IMEI packet received {"connection_id":186316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:05:18] local.INFO: TCP Data received {"connection_id":186316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:05:18] local.INFO: Processing buffer {"connection_id":186316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:05:18] local.INFO: Packet analysis {"connection_id":186316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:05:18] local.INFO: Extracted packet for processing {"connection_id":186316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:05:18] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:05: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-09-18 17:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:05:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:05:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:05:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":186316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:05:18] local.INFO: GPS data processed {"connection_id":186316,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:05:18] local.INFO: Acknowledgment sent {"connection_id":186316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:05:49] local.INFO: TCP Data received {"connection_id":186316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:05:49] local.INFO: Processing buffer {"connection_id":186316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:05:49] local.INFO: Packet analysis {"connection_id":186316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:05:49] local.INFO: Extracted packet for processing {"connection_id":186316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:05:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:05:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:05:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":186316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:05:49] local.INFO: GPS data processed {"connection_id":186316,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:05:49] local.INFO: Acknowledgment sent {"connection_id":186316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:06:11] local.INFO: TCP Data received {"connection_id":188919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:06:11] local.INFO: Processing buffer {"connection_id":188919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:06:11] local.INFO: IMEI packet received {"connection_id":188919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":188919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:06:16] local.INFO: TCP Data received {"connection_id":188919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:06:16] local.INFO: Processing buffer {"connection_id":188919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:06:16] local.INFO: IMEI packet received {"connection_id":188919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":188919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:06:17] local.INFO: TCP Data received {"connection_id":188919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:06:17] local.INFO: Processing buffer {"connection_id":188919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:06:17] local.INFO: Packet analysis {"connection_id":188919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:06:17] local.INFO: Extracted packet for processing {"connection_id":188919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:06:17] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:06: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-09-18 17:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:06:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:06:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":188919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:06:17] local.INFO: GPS data processed {"connection_id":188919,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:06:17] local.INFO: Acknowledgment sent {"connection_id":188919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:06:28] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:06:28] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:06:28] local.INFO: IMEI packet received {"connection_id":186317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":186317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:06:29] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44c2fd8012d181d400721a5e0004e011827..."} 
[2026-09-18 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44c2fd8012d181d400721a5e0004e011827..."} 
[2026-09-18 17:06:29] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44c2fd8012d181d400721a5e0004e011827..."} 
[2026-09-18 17:06:29] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44c"} 
[2026-09-18 17:06:29] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44c"} 
[2026-09-18 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119645664,"longitude_deg":75.6555072,"latitude_deg":11.9645664,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721a5e0","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171204096001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21427024904060928,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608347136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06: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-09-18 17:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789731287000,"timestamp_ms":1789731287000,"timestamp_seconds":1789731287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44c2fd8"} 
[2026-09-18 17:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 17:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171204096001,"66":13472,"107":206,"83":41984,"24":0,"16":21427024904060928,"45":1737615430608347136},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171204096001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:06:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21427024904060928,"km_value":21427024904060.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608347136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171204096001,"power":13472,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608347136}} 
[2026-09-18 17:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:06:29] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:06:29] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:06:48] local.INFO: TCP Data received {"connection_id":188919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:06:48] local.INFO: Processing buffer {"connection_id":188919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:06:48] local.INFO: Packet analysis {"connection_id":188919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:06:48] local.INFO: Extracted packet for processing {"connection_id":188919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:06:48] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:06: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-09-18 17:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:06: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-09-18 17:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:06:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:06:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":188919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:06:48] local.INFO: GPS data processed {"connection_id":188919,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:06:48] local.INFO: Acknowledgment sent {"connection_id":188919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:06:59] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44c4b30012d181bc00721a520005000e629..."} 
[2026-09-18 17:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44c4b30012d181bc00721a520005000e629..."} 
[2026-09-18 17:06:59] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44c4b30012d181bc00721a520005000e629..."} 
[2026-09-18 17:06:59] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44c"} 
[2026-09-18 17:06:59] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44c"} 
[2026-09-18 17:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645472,"longitude_deg":75.6554688,"latitude_deg":11.9645472,"altitude":80,"angle":230,"satellites":41,"speed":5,"hex_longitude":"2d181bc0","hex_latitude":"0721a520","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171209472001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21427046378897408,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608347136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789731294000,"timestamp_ms":1789731294000,"timestamp_seconds":1789731294,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44c4b30"} 
[2026-09-18 17:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 17:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171209472001,"66":13222,"107":206,"83":41984,"24":5,"16":21427046378897408,"45":1737615430608347136},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171209472001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:06:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21427046378897408,"km_value":21427046378897.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608347136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171209472001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737615430608347136}} 
[2026-09-18 17:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:07:00] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:07:00] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:07:11] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:07:11] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:07:11] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:07:16] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:07:16] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:07:16] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:07:18] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:07:18] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4497c70012d4ce240068f4610004301322d..."} 
[2026-09-18 17:07:18] local.INFO: Packet analysis {"connection_id":186318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:07:18] local.INFO: Extracted packet for processing {"connection_id":186318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b449"} 
[2026-09-18 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":110052880,"longitude_deg":76.0013376,"latitude_deg":11.005288,"altitude":67,"angle":306,"satellites":45,"speed":2,"hex_longitude":"2d4ce240","hex_latitude":"068f4610","is_valid_coordinates":true} 
[2026-09-18 17:07: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-09-18 17:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171163904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257281005568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731110000,"timestamp_ms":1789731110000,"timestamp_seconds":1789731110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4497c70"} 
[2026-09-18 17:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171163904001,"66":206,"86":48896,"24":2,"16":405531941664718848,"45":5540131257281005568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171163904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:07:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257281005568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:07:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171163904001,"power":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5540131257281005568}} 
[2026-09-18 17:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":186318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:07:18] local.INFO: GPS data processed {"connection_id":186318,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:07:18] local.INFO: Acknowledgment sent {"connection_id":186318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:07:31] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44dba60012d172b000720a490003100e527..."} 
[2026-09-18 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44dba60012d172b000720a490003100e527..."} 
[2026-09-18 17:07:31] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44dba60012d172b000720a490003100e527..."} 
[2026-09-18 17:07:31] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44d"} 
[2026-09-18 17:07:31] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44d"} 
[2026-09-18 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756493056,"raw_latitude":119579792,"longitude_deg":75.6493056,"latitude_deg":11.9579792,"altitude":49,"angle":229,"satellites":39,"speed":46,"hex_longitude":"2d172b00","hex_latitude":"0720a490","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171233280001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21431410065670144,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677450154321094656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07: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-09-18 17:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789731388000,"timestamp_ms":1789731388000,"timestamp_seconds":1789731388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44dba60"} 
[2026-09-18 17:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 17:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171233280001,"66":12667,"107":206,"83":41984,"24":46,"16":21431410065670144,"45":1677450154321094656},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171233280001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:07:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21431410065670144,"km_value":21431410065670.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677450154321094656,"description":"Unknown IO ID 45"} 
[2026-09-18 17:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171233280001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1677450154321094656}} 
[2026-09-18 17:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:07:31] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:07:31] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:07:49] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:07:49] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:07:49] local.INFO: Packet analysis {"connection_id":186318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:07:49] local.INFO: Extracted packet for processing {"connection_id":186318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":186318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:07:49] local.INFO: GPS data processed {"connection_id":186318,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:07:49] local.INFO: Acknowledgment sent {"connection_id":186318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:08:02] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44dd9a0012d17104007208b80002f00e027..."} 
[2026-09-18 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44dd9a0012d17104007208b80002f00e027..."} 
[2026-09-18 17:08:02] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44dd9a0012d17104007208b80002f00e027..."} 
[2026-09-18 17:08:02] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44d"} 
[2026-09-18 17:08:02] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44d"} 
[2026-09-18 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756486208,"raw_latitude":119573376,"longitude_deg":75.6486208,"latitude_deg":11.9573376,"altitude":47,"angle":224,"satellites":39,"speed":45,"hex_longitude":"2d171040","hex_latitude":"07208b80","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171235328001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21431861037236224,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669428117483327488,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08: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-09-18 17:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789731396000,"timestamp_ms":1789731396000,"timestamp_seconds":1789731396,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44dd9a0"} 
[2026-09-18 17:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 17:08: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-09-18 17: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-09-18 17:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171235328001,"66":12537,"107":206,"83":41984,"24":45,"16":21431861037236224,"45":1669428117483327488},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171235328001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:08:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21431861037236224,"km_value":21431861037236.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669428117483327488,"description":"Unknown IO ID 45"} 
[2026-09-18 17:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171235328001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1669428117483327488}} 
[2026-09-18 17:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:08:02] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:08:02] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:08:11] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:08:11] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:08:11] local.INFO: IMEI packet received {"connection_id":188920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":188920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:08:17] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:08:17] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:08:17] local.INFO: IMEI packet received {"connection_id":188920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":188920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:08:18] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:08:18] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:08:18] local.INFO: Packet analysis {"connection_id":188920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:08:18] local.INFO: Extracted packet for processing {"connection_id":188920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:08:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:08:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:08:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":188920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:08:18] local.INFO: GPS data processed {"connection_id":188920,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:08:18] local.INFO: Acknowledgment sent {"connection_id":188920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:08:33] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44dfcc8012d16f7c007207030002d00da24..."} 
[2026-09-18 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44dfcc8012d16f7c007207030002d00da24..."} 
[2026-09-18 17:08:33] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44dfcc8012d16f7c007207030002d00da24..."} 
[2026-09-18 17:08:33] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44d"} 
[2026-09-18 17:08:33] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44d"} 
[2026-09-18 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756479936,"raw_latitude":119566384,"longitude_deg":75.6479936,"latitude_deg":11.9566384,"altitude":45,"angle":218,"satellites":36,"speed":27,"hex_longitude":"2d16f7c0","hex_latitude":"07207030","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171237376001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21432307713835008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661898661854674944,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08: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-09-18 17:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789731405000,"timestamp_ms":1789731405000,"timestamp_seconds":1789731405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44dfcc8"} 
[2026-09-18 17:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 17:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171237376001,"66":12526,"107":206,"83":41984,"24":27,"16":21432307713835008,"45":1661898661854674944},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171237376001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:08:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21432307713835008,"km_value":21432307713835.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661898661854674944,"description":"Unknown IO ID 45"} 
[2026-09-18 17:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171237376001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1661898661854674944}} 
[2026-09-18 17:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:08:33] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:08:33] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:08:49] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:08:49] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:08:49] local.INFO: Packet analysis {"connection_id":188920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:08:49] local.INFO: Extracted packet for processing {"connection_id":188920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:08:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:08:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:08:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":188920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:08:49] local.INFO: GPS data processed {"connection_id":188920,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:08:49] local.INFO: Acknowledgment sent {"connection_id":188920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:09:05] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44f0e38012d16e78007206338002b001f2d..."} 
[2026-09-18 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44f0e38012d16e78007206338002b001f2d..."} 
[2026-09-18 17:09:05] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44f0e38012d16e78007206338002b001f2d..."} 
[2026-09-18 17:09:05] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:09:05] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756475776,"raw_latitude":119563064,"longitude_deg":75.6475776,"latitude_deg":11.9563064,"altitude":43,"angle":31,"satellites":45,"speed":9,"hex_longitude":"2d16e780","hex_latitude":"07206338","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171257344001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21432638426316800,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1650287819062665216,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789731475000,"timestamp_ms":1789731475000,"timestamp_seconds":1789731475,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44f0e38"} 
[2026-09-18 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-09-18 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-18 17:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 17:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171257344001,"66":14243,"107":206,"83":41984,"24":9,"16":21432638426316800,"45":1650287819062665216},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171257344001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:09:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21432638426316800,"km_value":21432638426316.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1650287819062665216,"description":"Unknown IO ID 45"} 
[2026-09-18 17:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171257344001,"power":14243,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1650287819062665216}} 
[2026-09-18 17:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:09:05] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:09:05] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:09:17] local.INFO: TCP Data received {"connection_id":187600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:09:17] local.INFO: Processing buffer {"connection_id":187600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:09:17] local.INFO: IMEI packet received {"connection_id":187600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":187600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:09:22] local.INFO: TCP Data received {"connection_id":187600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:09:22] local.INFO: Processing buffer {"connection_id":187600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:09:22] local.INFO: IMEI packet received {"connection_id":187600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":187600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:09:22] local.INFO: TCP Data received {"connection_id":187600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:09:22] local.INFO: Processing buffer {"connection_id":187600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:09:22] local.INFO: Packet analysis {"connection_id":187600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:09:22] local.INFO: Extracted packet for processing {"connection_id":187600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:09:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:09:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":187600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:09:22] local.INFO: GPS data processed {"connection_id":187600,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:09:22] local.INFO: Acknowledgment sent {"connection_id":187600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:09:27] local.INFO: TCP Data received {"connection_id":187600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:09:27] local.INFO: Processing buffer {"connection_id":187600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:09:27] local.INFO: Packet analysis {"connection_id":187600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:09:27] local.INFO: Extracted packet for processing {"connection_id":187600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:09: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-09-18 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:09: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-09-18 17:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:09:27] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:09:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":187600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:09:27] local.INFO: GPS data processed {"connection_id":187600,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:09:27] local.INFO: Acknowledgment sent {"connection_id":187600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:09:36] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44f19f0012d16e90007206518002c002b2e..."} 
[2026-09-18 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44f19f0012d16e90007206518002c002b2e..."} 
[2026-09-18 17:09:36] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44f19f0012d16e90007206518002c002b2e..."} 
[2026-09-18 17:09:36] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:09:36] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756476160,"raw_latitude":119563544,"longitude_deg":75.647616,"latitude_deg":11.9563544,"altitude":44,"angle":43,"satellites":46,"speed":6,"hex_longitude":"2d16e900","hex_latitude":"07206518","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171257600001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21432668491087872,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1650428556551075840,"note":"Value kept but may cause issues"} 
[2026-09-18 17:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789731478000,"timestamp_ms":1789731478000,"timestamp_seconds":1789731478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44f19f0"} 
[2026-09-18 17:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-18 17:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171257600001,"66":14265,"107":206,"83":41984,"24":6,"16":21432668491087872,"45":1650428556551075840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171257600001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:09:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21432668491087872,"km_value":21432668491087.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1650428556551075840,"description":"Unknown IO ID 45"} 
[2026-09-18 17:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171257600001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1650428556551075840}} 
[2026-09-18 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:09:37] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:09:37] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:10:08] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44f6bf8012d16f68007207350002e002a2c..."} 
[2026-09-18 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44f6bf8012d16f68007207350002e002a2c..."} 
[2026-09-18 17:10:08] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44f6bf8012d16f68007207350002e002a2c..."} 
[2026-09-18 17:10:08] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:10:08] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756479616,"raw_latitude":119567184,"longitude_deg":75.6479616,"latitude_deg":11.9567184,"altitude":46,"angle":42,"satellites":44,"speed":24,"hex_longitude":"2d16f680","hex_latitude":"07207350","is_valid_coordinates":true} 
[2026-09-18 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171258368001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21432913304223744,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1650850769016264704,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10: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-09-18 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789731499000,"timestamp_ms":1789731499000,"timestamp_seconds":1789731499,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44f6bf8"} 
[2026-09-18 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 17:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171258368001,"66":14265,"107":206,"83":41984,"24":24,"16":21432913304223744,"45":1650850769016264704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171258368001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:10:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21432913304223744,"km_value":21432913304223.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1650850769016264704,"description":"Unknown IO ID 45"} 
[2026-09-18 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171258368001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1650850769016264704}} 
[2026-09-18 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:10:08] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:10:08] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:10:12] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:10:12] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:10:12] local.INFO: IMEI packet received {"connection_id":188921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":188921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:10:17] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:10:17] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:10:17] local.INFO: IMEI packet received {"connection_id":188921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:10:18] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:10:18] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:10:18] local.INFO: Packet analysis {"connection_id":188921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:10:18] local.INFO: Extracted packet for processing {"connection_id":188921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:10:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:10:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:10:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":188921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:10:18] local.INFO: GPS data processed {"connection_id":188921,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:10:18] local.INFO: Acknowledgment sent {"connection_id":188921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:10:20] local.INFO: TCP Data received {"connection_id":186170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:10:20] local.INFO: Processing buffer {"connection_id":186170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:10:20] local.INFO: IMEI packet received {"connection_id":186170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":186170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:10:39] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44f9ad8012d17114007208ed0002e002c2b..."} 
[2026-09-18 17:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44f9ad8012d17114007208ed0002e002c2b..."} 
[2026-09-18 17:10:39] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44f9ad8012d17114007208ed0002e002c2b..."} 
[2026-09-18 17:10:39] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:10:39] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44f"} 
[2026-09-18 17:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756486464,"raw_latitude":119574224,"longitude_deg":75.6486464,"latitude_deg":11.9574224,"altitude":46,"angle":44,"satellites":43,"speed":35,"hex_longitude":"2d171140","hex_latitude":"07208ed0","is_valid_coordinates":true} 
[2026-09-18 17:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171263744001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21433381455659008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654650681202790400,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789731511000,"timestamp_ms":1789731511000,"timestamp_seconds":1789731511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44f9ad8"} 
[2026-09-18 17:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 17:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171263744001,"66":14276,"107":206,"83":41984,"24":35,"16":21433381455659008,"45":1654650681202790400},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-18 17:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171263744001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:10:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-18 17:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21433381455659008,"km_value":21433381455659.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654650681202790400,"description":"Unknown IO ID 45"} 
[2026-09-18 17:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171263744001,"power":14276,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1654650681202790400}} 
[2026-09-18 17:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:10:39] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:10:39] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:10:49] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:10:49] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:10:49] local.INFO: Packet analysis {"connection_id":188921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:10:49] local.INFO: Extracted packet for processing {"connection_id":188921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":188921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:10:49] local.INFO: GPS data processed {"connection_id":188921,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:10:49] local.INFO: Acknowledgment sent {"connection_id":188921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:11:04] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:04] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:04] local.INFO: IMEI packet received {"connection_id":187601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":187601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:11:06] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:06] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:06] local.INFO: IMEI packet received {"connection_id":187601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":187601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:11:07] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:07] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:07] local.INFO: IMEI packet received {"connection_id":187601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":187601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:11:07] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:07] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:11:07] local.INFO: IMEI packet received {"connection_id":187601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":187601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:11:12] local.INFO: TCP Data received {"connection_id":186171,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:11:12] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:11:12] local.INFO: IMEI packet received {"connection_id":186171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":186171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:11:17] local.INFO: TCP Data received {"connection_id":186171,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:11:17] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:11:17] local.INFO: IMEI packet received {"connection_id":186171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":186171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:11:18] local.INFO: TCP Data received {"connection_id":186171,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:11:18] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:11:18] local.INFO: Packet analysis {"connection_id":186171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:11:18] local.INFO: Extracted packet for processing {"connection_id":186171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:11:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:11:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":186171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:11:18] local.INFO: GPS data processed {"connection_id":186171,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:11:18] local.INFO: Acknowledgment sent {"connection_id":186171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:11:50] local.INFO: TCP Data received {"connection_id":186171,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:11:50] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:11:50] local.INFO: Packet analysis {"connection_id":186171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:11:50] local.INFO: Extracted packet for processing {"connection_id":186171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:11:50] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:11:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:11:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":186171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:11:50] local.INFO: GPS data processed {"connection_id":186171,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:11:50] local.INFO: Acknowledgment sent {"connection_id":186171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:12:11] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:12:11] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:12:11] local.INFO: IMEI packet received {"connection_id":188922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":188922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:12:17] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:12:17] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:12:17] local.INFO: IMEI packet received {"connection_id":188922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":188922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:12:18] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:12:18] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b44e23d8012d4cdd00068f4938004801322c..."} 
[2026-09-18 17:12:18] local.INFO: Packet analysis {"connection_id":188922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:12:18] local.INFO: Extracted packet for processing {"connection_id":188922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b44e"} 
[2026-09-18 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171164160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060888536846336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731415000,"timestamp_ms":1789731415000,"timestamp_seconds":1789731415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b44e23d8"} 
[2026-09-18 17:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171164160001,"66":26430,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5540060888536846336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171164160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:12:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:12:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060888536846336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171164160001,"power":26430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540060888536846336}} 
[2026-09-18 17:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":188922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:12:18] local.INFO: GPS data processed {"connection_id":188922,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:12:18] local.INFO: Acknowledgment sent {"connection_id":188922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:12:49] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:12:49] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:12:49] local.INFO: Packet analysis {"connection_id":188922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:12:49] local.INFO: Extracted packet for processing {"connection_id":188922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:12:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:12:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":188922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:12:49] local.INFO: GPS data processed {"connection_id":188922,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:12:49] local.INFO: Acknowledgment sent {"connection_id":188922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:13:11] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:13:11] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:13:11] local.INFO: IMEI packet received {"connection_id":186320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":186320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:13:17] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:13:17] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:13:17] local.INFO: IMEI packet received {"connection_id":186320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":186320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:13:18] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:13:18] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:13:18] local.INFO: Packet analysis {"connection_id":186320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:13:18] local.INFO: Extracted packet for processing {"connection_id":186320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:13:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:13:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:13:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":186320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:13:18] local.INFO: GPS data processed {"connection_id":186320,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:13:18] local.INFO: Acknowledgment sent {"connection_id":186320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:13:49] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:13:49] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:13:49] local.INFO: Packet analysis {"connection_id":186320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:13:49] local.INFO: Extracted packet for processing {"connection_id":186320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:13:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:13:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:13:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":186320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:13:49] local.INFO: GPS data processed {"connection_id":186320,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:13:49] local.INFO: Acknowledgment sent {"connection_id":186320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:14:17] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:14:17] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:14:17] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:14:22] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:14:22] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:14:22] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:14:22] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:14:22] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:14:22] local.INFO: Packet analysis {"connection_id":186172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:14:22] local.INFO: Extracted packet for processing {"connection_id":186172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:14:22] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:14:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:14:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":186172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:14:22] local.INFO: GPS data processed {"connection_id":186172,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:14:22] local.INFO: Acknowledgment sent {"connection_id":186172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:14:53] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:14:53] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:14:53] local.INFO: Packet analysis {"connection_id":186172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:14:53] local.INFO: Extracted packet for processing {"connection_id":186172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:14:53] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":186172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:14:53] local.INFO: GPS data processed {"connection_id":186172,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:14:53] local.INFO: Acknowledgment sent {"connection_id":186172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:15:12] local.INFO: TCP Data received {"connection_id":187602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:15:12] local.INFO: Processing buffer {"connection_id":187602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:15:12] local.INFO: IMEI packet received {"connection_id":187602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":187602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:15:17] local.INFO: TCP Data received {"connection_id":187602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:15:17] local.INFO: Processing buffer {"connection_id":187602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:15:17] local.INFO: IMEI packet received {"connection_id":187602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":187602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:15:18] local.INFO: TCP Data received {"connection_id":187602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:15:18] local.INFO: Processing buffer {"connection_id":187602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:15:18] local.INFO: Packet analysis {"connection_id":187602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:15:18] local.INFO: Extracted packet for processing {"connection_id":187602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:15:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:15:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:15:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":187602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:15:18] local.INFO: GPS data processed {"connection_id":187602,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:15:18] local.INFO: Acknowledgment sent {"connection_id":187602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:15:50] local.INFO: TCP Data received {"connection_id":187602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:15:50] local.INFO: Processing buffer {"connection_id":187602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:15:50] local.INFO: Packet analysis {"connection_id":187602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:15:50] local.INFO: Extracted packet for processing {"connection_id":187602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:15:50] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:15:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:15:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":187602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:15:50] local.INFO: GPS data processed {"connection_id":187602,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:15:50] local.INFO: Acknowledgment sent {"connection_id":187602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:15:55] local.INFO: TCP Data received {"connection_id":186319,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:15:55] local.INFO: Processing buffer {"connection_id":186319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:15:55] local.INFO: IMEI packet received {"connection_id":186319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":186319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:16:11] local.INFO: TCP Data received {"connection_id":186173,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:16:11] local.INFO: Processing buffer {"connection_id":186173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:16:11] local.INFO: IMEI packet received {"connection_id":186173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":186173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:16:13] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:16:13] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:16:13] local.INFO: IMEI packet received {"connection_id":186321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":186321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:16:14] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45357e0012d1822800721b538004d01282c..."} 
[2026-09-18 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45357e0012d1822800721b538004d01282c..."} 
[2026-09-18 17:16:14] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45357e0012d1822800721b538004d01282c..."} 
[2026-09-18 17:16:14] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b453"} 
[2026-09-18 17:16:14] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b453"} 
[2026-09-18 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649592,"longitude_deg":75.6556416,"latitude_deg":11.9649592,"altitude":77,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171324160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438483876806656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789731756000,"timestamp_ms":1789731756000,"timestamp_seconds":1789731756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45357e0"} 
[2026-09-18 17:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 17:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171324160001,"66":12939,"105":206,"83":41984,"24":0,"16":21438483876806656,"45":1739093174237083648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171324160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438483876806656,"km_value":21438483876806.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237083648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171324160001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237083648}} 
[2026-09-18 17:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:16:14] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:16:14] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:16:17] local.INFO: TCP Data received {"connection_id":186173,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:16:17] local.INFO: Processing buffer {"connection_id":186173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:16:17] local.INFO: IMEI packet received {"connection_id":186173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":186173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:16:17] local.INFO: TCP Data received {"connection_id":186173,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:16:17] local.INFO: Processing buffer {"connection_id":186173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:16:17] local.INFO: Packet analysis {"connection_id":186173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:16:17] local.INFO: Extracted packet for processing {"connection_id":186173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:16:17] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:16:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:16:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":186173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:16:17] local.INFO: GPS data processed {"connection_id":186173,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:16:17] local.INFO: Acknowledgment sent {"connection_id":186173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:16:44] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b453a9e8012d1822800721b538004d01282c..."} 
[2026-09-18 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b453a9e8012d1822800721b538004d01282c..."} 
[2026-09-18 17:16:44] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b453a9e8012d1822800721b538004d01282c..."} 
[2026-09-18 17:16:44] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b453"} 
[2026-09-18 17:16:44] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b453"} 
[2026-09-18 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649592,"longitude_deg":75.6556416,"latitude_deg":11.9649592,"altitude":77,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171329536001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438483876806656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789731777000,"timestamp_ms":1789731777000,"timestamp_seconds":1789731777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b453a9e8"} 
[2026-09-18 17:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:16: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-09-18 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 17:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171329536001,"66":12917,"105":206,"83":41984,"24":0,"16":21438483876806656,"45":1739093174237083648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171329536001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:16:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438483876806656,"km_value":21438483876806.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237083648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171329536001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237083648}} 
[2026-09-18 17:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:16:44] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:16:44] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:16:49] local.INFO: TCP Data received {"connection_id":186173,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:16:49] local.INFO: Processing buffer {"connection_id":186173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:16:49] local.INFO: Packet analysis {"connection_id":186173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:16:49] local.INFO: Extracted packet for processing {"connection_id":186173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:16:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:16:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:16:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":186173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:16:49] local.INFO: GPS data processed {"connection_id":186173,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:16:49] local.INFO: Acknowledgment sent {"connection_id":186173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:16:59] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:16:59] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:16:59] local.INFO: IMEI packet received {"connection_id":186322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":186322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:17:01] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:01] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:01] local.INFO: IMEI packet received {"connection_id":186322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":186322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:17:03] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:03] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:03] local.INFO: IMEI packet received {"connection_id":186322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":186322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:17:05] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45720a0012d7a23c005e46948000f00962d..."} 
[2026-09-18 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45720a0012d7a23c005e46948000f00962d..."} 
[2026-09-18 17:17:05] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45720a0012d7a23c005e46948000f00962d..."} 
[2026-09-18 17:17:05] local.INFO: Packet analysis {"connection_id":186322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:17:05] local.INFO: Extracted packet for processing {"connection_id":186322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":762979264,"raw_latitude":98855240,"longitude_deg":76.2979264,"latitude_deg":9.885524,"altitude":15,"angle":150,"satellites":45,"speed":9,"hex_longitude":"2d7a23c0","hex_latitude":"05e46948","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171392512001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759636908638208,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886592000,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:05] 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-09-18 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789732004000,"timestamp_ms":1789732004000,"timestamp_seconds":1789732004,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45720a0"} 
[2026-09-18 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-09-18 17:17:05] 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-09-18 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 17:17:05] 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-09-18 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-09-18 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-09-18 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171392512001,"66":13406,"208":206,"85":15104,"24":9,"16":134759636908638208,"45":8800667015886592000},"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-09-18 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171392512001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:17:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 17:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759636908638208,"km_value":134759636908638.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886592000,"description":"Unknown IO ID 45"} 
[2026-09-18 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171392512001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8800667015886592000}} 
[2026-09-18 17:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":186322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:17:05] local.INFO: GPS data processed {"connection_id":186322,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:17:05] local.INFO: Acknowledgment sent {"connection_id":186322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:17:11] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:17:11] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:17:11] local.INFO: IMEI packet received {"connection_id":186174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:17:17] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:17:17] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:17:17] local.INFO: IMEI packet received {"connection_id":186174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":186174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:17:17] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b453fbf0012d1822800721b538004d01282c..."} 
[2026-09-18 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b453fbf0012d1822800721b538004d01282c..."} 
[2026-09-18 17:17:17] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b453fbf0012d1822800721b538004d01282c..."} 
[2026-09-18 17:17:17] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b453"} 
[2026-09-18 17:17:17] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b453"} 
[2026-09-18 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649592,"longitude_deg":75.6556416,"latitude_deg":11.9649592,"altitude":77,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171334912001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438483876806656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789731798000,"timestamp_ms":1789731798000,"timestamp_seconds":1789731798,"priority":1,"record_length":96,"hex_timestamp":"000001a0b453fbf0"} 
[2026-09-18 17:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 17:17: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-09-18 17:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171334912001,"66":12885,"105":206,"83":41984,"24":0,"16":21438483876806656,"45":1739093174237083648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171334912001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:17:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438483876806656,"km_value":21438483876806.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237083648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171334912001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237083648}} 
[2026-09-18 17:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:17:17] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:17:17] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:17:18] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:17:18] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b452bba0012d4cdd00068f49380048013226..."} 
[2026-09-18 17:17:18] local.INFO: Packet analysis {"connection_id":186174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:17:18] local.INFO: Extracted packet for processing {"connection_id":186174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b452"} 
[2026-09-18 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171242240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789731716000,"timestamp_ms":1789731716000,"timestamp_seconds":1789731716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b452bba0"} 
[2026-09-18 17:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171242240001,"66":26267,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171242240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:17:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:17:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171242240001,"power":26267,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":186174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:17:18] local.INFO: GPS data processed {"connection_id":186174,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:17:18] local.INFO: Acknowledgment sent {"connection_id":186174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:17:48] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4544df8012d1822800721b538004d01282c..."} 
[2026-09-18 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4544df8012d1822800721b538004d01282c..."} 
[2026-09-18 17:17:48] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4544df8012d1822800721b538004d01282c..."} 
[2026-09-18 17:17:48] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b454"} 
[2026-09-18 17:17:48] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b454"} 
[2026-09-18 17:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649592,"longitude_deg":75.6556416,"latitude_deg":11.9649592,"altitude":77,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 17:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171340288001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438483876806656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789731819000,"timestamp_ms":1789731819000,"timestamp_seconds":1789731819,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4544df8"} 
[2026-09-18 17:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 17:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171340288001,"66":13993,"105":206,"83":41984,"24":0,"16":21438483876806656,"45":1739093174237083648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171340288001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:17:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438483876806656,"km_value":21438483876806.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237083648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171340288001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237083648}} 
[2026-09-18 17:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:17:48] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:17:48] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:17:48] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:48] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:48] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:17:49] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:49] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:49] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:17:49] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:17:49] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:17:49] local.INFO: Packet analysis {"connection_id":186174,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b457"} 
[2026-09-18 17:17:49] local.INFO: Extracted packet for processing {"connection_id":186174,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b457"} 
[2026-09-18 17:17:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 17:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:17:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:17:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 17:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186174,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 17:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-18 17:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186174,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-18 17:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 17:17:49] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 17:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":186174,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 17:17:49] local.ERROR: GPS data processing failed {"connection_id":186174,"error":"No valid data to process"} 
[2026-09-18 17:17:49] local.INFO: Acknowledgment sent {"connection_id":186174,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 17:17:52] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:52] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:52] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:17:53] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:53] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:17:53] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:17:55] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45747b0012d7a2bc005e45c60000d00862e..."} 
[2026-09-18 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45747b0012d7a2bc005e45c60000d00862e..."} 
[2026-09-18 17:17:55] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45747b0012d7a2bc005e45c60000d00862e..."} 
[2026-09-18 17:17:55] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:17:55] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:17:55] local.INFO: GPS Element Parsed {"raw_longitude":762981312,"raw_latitude":98851936,"longitude_deg":76.2981312,"latitude_deg":9.8851936,"altitude":13,"angle":134,"satellites":46,"speed":8,"hex_longitude":"2d7a2bc0","hex_latitude":"05e45c60","is_valid_coordinates":true} 
[2026-09-18 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171393024001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759825887199232,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801089228351555584,"note":"Value kept but may cause issues"} 
[2026-09-18 17:17:55] 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-09-18 17:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789732014000,"timestamp_ms":1789732014000,"timestamp_seconds":1789732014,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45747b0"} 
[2026-09-18 17:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:17:55] 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-09-18 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 17:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17: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-09-18 17:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171393024001,"66":12645,"208":206,"85":15104,"24":8,"16":134759825887199232,"45":8801089228351555584},"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-09-18 17:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171393024001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:17:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 17:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759825887199232,"km_value":134759825887199.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801089228351555584,"description":"Unknown IO ID 45"} 
[2026-09-18 17:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171393024001,"power":12645,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8801089228351555584}} 
[2026-09-18 17:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:17:55] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:17:55] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:00] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4574b98012d7a2c8005e45be8000e00712d..."} 
[2026-09-18 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4574b98012d7a2c8005e45be8000e00712d..."} 
[2026-09-18 17:18:00] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4574b98012d7a2c8005e45be8000e00712d..."} 
[2026-09-18 17:18:00] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:00] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:00] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98851816,"longitude_deg":76.2981504,"latitude_deg":9.8851816,"altitude":14,"angle":113,"satellites":45,"speed":8,"hex_longitude":"2d7a2c80","hex_latitude":"05e45be8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171395584001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759834477133824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803341028164395008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789732015000,"timestamp_ms":1789732015000,"timestamp_seconds":1789732015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4574b98"} 
[2026-09-18 17:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:00] 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-09-18 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 17:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:18: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-09-18 17:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171395584001,"66":13059,"208":206,"85":15104,"24":8,"16":134759834477133824,"45":8803341028164395008},"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-09-18 17:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171395584001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 17:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759834477133824,"km_value":134759834477133.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803341028164395008,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171395584001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8803341028164395008}} 
[2026-09-18 17:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:00] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:00] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:03] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:18:03] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:18:03] local.INFO: IMEI packet received {"connection_id":187603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":187603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:18:08] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:18:08] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:18:08] local.INFO: IMEI packet received {"connection_id":187603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":187603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:18:08] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b454a000012d1822800721b538004d01282e..."} 
[2026-09-18 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b454a000012d1822800721b538004d01282e..."} 
[2026-09-18 17:18:08] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b454a000012d1822800721b538004d01282e..."} 
[2026-09-18 17:18:08] local.INFO: Packet analysis {"connection_id":187603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b454"} 
[2026-09-18 17:18:08] local.INFO: Extracted packet for processing {"connection_id":187603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b454"} 
[2026-09-18 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649592,"longitude_deg":75.6556416,"latitude_deg":11.9649592,"altitude":77,"angle":296,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-09-18 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171345664001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438483876806656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18: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-09-18 17:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789731840000,"timestamp_ms":1789731840000,"timestamp_seconds":1789731840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b454a000"} 
[2026-09-18 17:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 17:18: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-09-18 17:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171345664001,"66":13059,"105":206,"83":41984,"24":0,"16":21438483876806656,"45":1739093174237083648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171345664001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438483876806656,"km_value":21438483876806.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237083648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171345664001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237083648}} 
[2026-09-18 17:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":187603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:09] local.INFO: GPS data processed {"connection_id":187603,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:09] local.INFO: Acknowledgment sent {"connection_id":187603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:11] local.INFO: TCP Data received {"connection_id":186175,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:18:11] local.INFO: Processing buffer {"connection_id":186175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:18:11] local.INFO: IMEI packet received {"connection_id":186175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:18:17] local.INFO: TCP Data received {"connection_id":186175,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:18:17] local.INFO: Processing buffer {"connection_id":186175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:18:17] local.INFO: IMEI packet received {"connection_id":186175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":186175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:18:18] local.INFO: TCP Data received {"connection_id":186175,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:18:18] local.INFO: Processing buffer {"connection_id":186175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:18:18] local.INFO: Packet analysis {"connection_id":186175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:18] local.INFO: Extracted packet for processing {"connection_id":186175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:18:18] 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-09-18 17:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:18:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":186175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:18] local.INFO: GPS data processed {"connection_id":186175,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:18] local.INFO: Acknowledgment sent {"connection_id":186175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:33] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4574f80012d7a2d4005e45ba0000f00632e..."} 
[2026-09-18 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4574f80012d7a2d4005e45ba0000f00632e..."} 
[2026-09-18 17:18:33] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4574f80012d7a2d4005e45ba0000f00632e..."} 
[2026-09-18 17:18:33] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:33] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":762981696,"raw_latitude":98851744,"longitude_deg":76.2981696,"latitude_deg":9.8851744,"altitude":15,"angle":99,"satellites":46,"speed":7,"hex_longitude":"2d7a2d40","hex_latitude":"05e45ba0","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171395840001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759847362035712,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134396897280,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] 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-09-18 17:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789732016000,"timestamp_ms":1789732016000,"timestamp_seconds":1789732016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4574f80"} 
[2026-09-18 17:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:33] 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-09-18 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170847821151,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3025598864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147869803,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3273719808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832186880,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,195,160,71,45,192,92,13,46,10,66,32,105,15,64,1,240,94,227,180,228,4,113,205,8,120,239,53,2,222,5,9],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-18 17:18:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008930754618982400,"timestamp_seconds":1008930754618982.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171395840001,"66":13059,"208":206,"85":15104,"24":7,"16":134759847362035712,"45":8803552134396897280},"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-09-18 17:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171395840001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 17:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759847362035712,"km_value":134759847362035.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134396897280,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171395840001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8803552134396897280}} 
[2026-09-18 17:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:33] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:33] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:40] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b454f208012d1821000721b320004f01282e..."} 
[2026-09-18 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b454f208012d1821000721b320004f01282e..."} 
[2026-09-18 17:18:40] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b454f208012d1821000721b320004f01282e..."} 
[2026-09-18 17:18:40] local.INFO: Packet analysis {"connection_id":187603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b454"} 
[2026-09-18 17:18:40] local.INFO: Extracted packet for processing {"connection_id":187603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b454"} 
[2026-09-18 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649056,"longitude_deg":75.6556032,"latitude_deg":11.9649056,"altitude":79,"angle":296,"satellites":46,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b320","is_valid_coordinates":true} 
[2026-09-18 17:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171351040001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438535416414208,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18: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-09-18 17:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789731861000,"timestamp_ms":1789731861000,"timestamp_seconds":1789731861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b454f208"} 
[2026-09-18 17:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161184144746,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3025318864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3040346189,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634986,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,42,160,77,45,128,181,44,10,66,251,169,1,240,117,227,180,33,4,113,205,5,34,56,46,239,50,2,76,7],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-18 17:18:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548760393930768384,"timestamp_seconds":5548760393930768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171351040001,"66":13004,"105":206,"83":41984,"24":0,"16":21438535416414208,"45":1739093174237083648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171351040001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438535416414208,"km_value":21438535416414.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237083648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171351040001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237083648}} 
[2026-09-18 17:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":187603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:40] local.INFO: GPS data processed {"connection_id":187603,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:40] local.INFO: Acknowledgment sent {"connection_id":187603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:48] local.INFO: TCP Data received {"connection_id":187605,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:48] local.INFO: Processing buffer {"connection_id":187605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:48] local.INFO: IMEI packet received {"connection_id":187605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":187605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:18:49] local.INFO: TCP Data received {"connection_id":186175,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:18:49] local.INFO: Processing buffer {"connection_id":186175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:18:49] local.INFO: Packet analysis {"connection_id":186175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:49] local.INFO: Extracted packet for processing {"connection_id":186175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:18:49] 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-09-18 17:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:18:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":186175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:49] local.INFO: GPS data processed {"connection_id":186175,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:49] local.INFO: Acknowledgment sent {"connection_id":186175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:18:50] local.INFO: TCP Data received {"connection_id":187605,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:50] local.INFO: Processing buffer {"connection_id":187605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:50] local.INFO: IMEI packet received {"connection_id":187605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":187605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:18:54] local.INFO: TCP Data received {"connection_id":187605,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:54] local.INFO: Processing buffer {"connection_id":187605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:18:54] local.INFO: IMEI packet received {"connection_id":187605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":187605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:18:55] local.INFO: TCP Data received {"connection_id":187605,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4576308012d7a300005e45c500010004b2d..."} 
[2026-09-18 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4576308012d7a300005e45c500010004b2d..."} 
[2026-09-18 17:18:55] local.INFO: Processing buffer {"connection_id":187605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4576308012d7a300005e45c500010004b2d..."} 
[2026-09-18 17:18:55] local.INFO: Packet analysis {"connection_id":187605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:55] local.INFO: Extracted packet for processing {"connection_id":187605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":762982400,"raw_latitude":98851920,"longitude_deg":76.29824,"latitude_deg":9.885192,"altitude":16,"angle":75,"satellites":45,"speed":8,"hex_longitude":"2d7a3000","hex_latitude":"05e45c50","is_valid_coordinates":true} 
[2026-09-18 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396096001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134759881721774080,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803763240629411840,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] 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-09-18 17:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789732021000,"timestamp_ms":1789732021000,"timestamp_seconds":1789732021,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4576308"} 
[2026-09-18 17:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:18:55] 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-09-18 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171753790815,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399429,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3025603864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611627,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391967,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3273916416,"note":"Value kept but may cause issues"} 
[2026-09-18 17:18:55] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,195,160,75,45,128,91,14,10,66,71,192,92,13,46,32,1,240,94,227,180,228,4,113,205,20,33,80,239,51,2,222,5,15],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-18 17:18:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080972959789023232,"timestamp_seconds":1080972959789023.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17: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-09-18 17:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396096001,"66":13526,"208":206,"85":15104,"24":8,"16":134759881721774080,"45":8803763240629411840},"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-09-18 17:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396096001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:18:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 17:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134759881721774080,"km_value":134759881721774.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803763240629411840,"description":"Unknown IO ID 45"} 
[2026-09-18 17:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396096001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8803763240629411840}} 
[2026-09-18 17:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":187605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:18:55] local.INFO: GPS data processed {"connection_id":187605,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:18:55] local.INFO: Acknowledgment sent {"connection_id":187605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:19:03] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:19:03] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:19:03] local.INFO: IMEI packet received {"connection_id":186323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":186323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:19:08] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:19:08] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:19:08] local.INFO: IMEI packet received {"connection_id":186323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":186323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:19:08] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4554410012d1821000721b318004f01282a..."} 
[2026-09-18 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4554410012d1821000721b318004f01282a..."} 
[2026-09-18 17:19:08] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4554410012d1821000721b318004f01282a..."} 
[2026-09-18 17:19:08] local.INFO: Packet analysis {"connection_id":186323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b455"} 
[2026-09-18 17:19:08] local.INFO: Extracted packet for processing {"connection_id":186323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b455"} 
[2026-09-18 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649048,"longitude_deg":75.6556032,"latitude_deg":11.9649048,"altitude":79,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-18 17:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171356416001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438535416414208,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771880448,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19: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-09-18 17:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789731882000,"timestamp_ms":1789731882000,"timestamp_seconds":1789731882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4554410"} 
[2026-09-18 17:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 17:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171356416001,"66":12972,"105":206,"83":41984,"24":0,"16":21438535416414208,"45":1738670961771880448},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171356416001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438535416414208,"km_value":21438535416414.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771880448,"description":"Unknown IO ID 45"} 
[2026-09-18 17:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171356416001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771880448}} 
[2026-09-18 17:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":186323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:19:09] local.INFO: GPS data processed {"connection_id":186323,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:19:09] local.INFO: Acknowledgment sent {"connection_id":186323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:19:11] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:19:11] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:19:11] local.INFO: IMEI packet received {"connection_id":188924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":188924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:19:17] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:19:17] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:19:17] local.INFO: IMEI packet received {"connection_id":188924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":188924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:19:18] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:19:18] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:19:18] local.INFO: Packet analysis {"connection_id":188924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:19:18] local.INFO: Extracted packet for processing {"connection_id":188924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:19:18] 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-09-18 17:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:19:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:19:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":188924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:19:18] local.INFO: GPS data processed {"connection_id":188924,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:19:18] local.INFO: Acknowledgment sent {"connection_id":188924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:19:40] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4588418012d181f400721afe0005100d42d..."} 
[2026-09-18 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4588418012d181f400721afe0005100d42d..."} 
[2026-09-18 17:19:40] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4588418012d181f400721afe0005100d42d..."} 
[2026-09-18 17:19:40] local.INFO: Packet analysis {"connection_id":186323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b458"} 
[2026-09-18 17:19:40] local.INFO: Extracted packet for processing {"connection_id":186323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b458"} 
[2026-09-18 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":81,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-09-18 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171410944001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438582661054464,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19: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-09-18 17:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732095000,"timestamp_ms":1789732095000,"timestamp_seconds":1789732095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4588418"} 
[2026-09-18 17:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 17:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171410944001,"66":12798,"105":206,"83":41984,"24":0,"16":21438582661054464,"45":1738178380562423808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171410944001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:19:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438582661054464,"km_value":21438582661054.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171410944001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-09-18 17:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":186323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:19:40] local.INFO: GPS data processed {"connection_id":186323,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:19:40] local.INFO: Acknowledgment sent {"connection_id":186323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:19:53] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:19:53] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:19:53] local.INFO: Packet analysis {"connection_id":188924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:19:53] local.INFO: Extracted packet for processing {"connection_id":188924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:19:53] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:19:53] 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-09-18 17: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-09-18 17:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:19:53] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:19:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":188924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:19:53] local.INFO: GPS data processed {"connection_id":188924,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:19:53] local.INFO: Acknowledgment sent {"connection_id":188924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:20:03] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:20:03] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:20:03] local.INFO: IMEI packet received {"connection_id":186324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":186324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:20:08] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:20:08] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:20:08] local.INFO: IMEI packet received {"connection_id":186324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":186324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:20:09] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b458d620012d181f400721afe0005100d42d..."} 
[2026-09-18 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b458d620012d181f400721afe0005100d42d..."} 
[2026-09-18 17:20:09] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b458d620012d181f400721afe0005100d42d..."} 
[2026-09-18 17:20:09] local.INFO: Packet analysis {"connection_id":186324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b458"} 
[2026-09-18 17:20:09] local.INFO: Extracted packet for processing {"connection_id":186324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b458"} 
[2026-09-18 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":81,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-09-18 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171416320001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438582661054464,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20: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-09-18 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789732116000,"timestamp_ms":1789732116000,"timestamp_seconds":1789732116,"priority":1,"record_length":96,"hex_timestamp":"000001a0b458d620"} 
[2026-09-18 17:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 17:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171416320001,"66":12776,"105":206,"83":41984,"24":0,"16":21438582661054464,"45":1738178380562423808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171416320001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:20:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438582661054464,"km_value":21438582661054.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171416320001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-09-18 17:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":186324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:20:09] local.INFO: GPS data processed {"connection_id":186324,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:20:09] local.INFO: Acknowledgment sent {"connection_id":186324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:20:17] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:20:17] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:20:17] local.INFO: IMEI packet received {"connection_id":188925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":188925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:20:22] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:20:22] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:20:22] local.INFO: IMEI packet received {"connection_id":188925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":188925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:20:23] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:20:23] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:20:23] local.INFO: Packet analysis {"connection_id":188925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:20:23] local.INFO: Extracted packet for processing {"connection_id":188925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:20:23] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:20:23] 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-09-18 17:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:20:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:20:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":188925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:20:23] local.INFO: GPS data processed {"connection_id":188925,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:20:23] local.INFO: Acknowledgment sent {"connection_id":188925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:20:27] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:20:27] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:20:27] local.INFO: Packet analysis {"connection_id":188925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:20:27] local.INFO: Extracted packet for processing {"connection_id":188925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:20:27] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:20:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":188925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:20:27] local.INFO: GPS data processed {"connection_id":188925,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:20:27] local.INFO: Acknowledgment sent {"connection_id":188925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:20:40] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4592828012d181f400721afe0005100d42f..."} 
[2026-09-18 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4592828012d181f400721afe0005100d42f..."} 
[2026-09-18 17:20:40] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4592828012d181f400721afe0005100d42f..."} 
[2026-09-18 17:20:40] local.INFO: Packet analysis {"connection_id":186324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b459"} 
[2026-09-18 17:20:40] local.INFO: Extracted packet for processing {"connection_id":186324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b459"} 
[2026-09-18 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":81,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-09-18 17:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171421696001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438582661054464,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:20: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-09-18 17:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732137000,"timestamp_ms":1789732137000,"timestamp_seconds":1789732137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4592828"} 
[2026-09-18 17:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 17:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171421696001,"66":12776,"105":206,"83":41984,"24":0,"16":21438582661054464,"45":1738178380562423808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171421696001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:20:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438582661054464,"km_value":21438582661054.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171421696001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-09-18 17:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":186324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:20:40] local.INFO: GPS data processed {"connection_id":186324,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:20:40] local.INFO: Acknowledgment sent {"connection_id":186324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:21:02] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:21:02] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:21:02] local.INFO: IMEI packet received {"connection_id":187606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":187606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:21:08] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:21:08] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:21:08] local.INFO: IMEI packet received {"connection_id":187606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":187606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:21:08] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4597a30012d181f400721afe0005100d42d..."} 
[2026-09-18 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4597a30012d181f400721afe0005100d42d..."} 
[2026-09-18 17:21:08] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4597a30012d181f400721afe0005100d42d..."} 
[2026-09-18 17:21:08] local.INFO: Packet analysis {"connection_id":187606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b459"} 
[2026-09-18 17:21:08] local.INFO: Extracted packet for processing {"connection_id":187606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b459"} 
[2026-09-18 17:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648224,"longitude_deg":75.6555584,"latitude_deg":11.9648224,"altitude":81,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-09-18 17:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171427072001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438582661054464,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21: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-09-18 17:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732158000,"timestamp_ms":1789732158000,"timestamp_seconds":1789732158,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4597a30"} 
[2026-09-18 17:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 17:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171427072001,"66":12765,"105":206,"83":41984,"24":0,"16":21438582661054464,"45":1738178380562423808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171427072001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:21:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438582661054464,"km_value":21438582661054.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171427072001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-09-18 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":187606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:21:09] local.INFO: GPS data processed {"connection_id":187606,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:21:09] local.INFO: Acknowledgment sent {"connection_id":187606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:21:12] local.INFO: TCP Data received {"connection_id":187607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:21:12] local.INFO: Processing buffer {"connection_id":187607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:21:12] local.INFO: IMEI packet received {"connection_id":187607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":187607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:21:17] local.INFO: TCP Data received {"connection_id":187607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:21:17] local.INFO: Processing buffer {"connection_id":187607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:21:17] local.INFO: IMEI packet received {"connection_id":187607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":187607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:21:18] local.INFO: TCP Data received {"connection_id":187607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:21:18] local.INFO: Processing buffer {"connection_id":187607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:21:18] local.INFO: Packet analysis {"connection_id":187607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:21:18] local.INFO: Extracted packet for processing {"connection_id":187607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:21:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:21:18] 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-09-18 17:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:21:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:21:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":187607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:21:18] local.INFO: GPS data processed {"connection_id":187607,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:21:18] local.INFO: Acknowledgment sent {"connection_id":187607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:21:30] local.INFO: TCP Data received {"connection_id":187604,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:21:30] local.INFO: Processing buffer {"connection_id":187604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:21:30] local.INFO: IMEI packet received {"connection_id":187604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":187604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:21:40] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b459cc38012d181e000721ae00004e00cf2c..."} 
[2026-09-18 17:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b459cc38012d181e000721ae00004e00cf2c..."} 
[2026-09-18 17:21:40] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b459cc38012d181e000721ae00004e00cf2c..."} 
[2026-09-18 17:21:40] local.INFO: Packet analysis {"connection_id":187606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b459"} 
[2026-09-18 17:21:40] local.INFO: Extracted packet for processing {"connection_id":187606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b459"} 
[2026-09-18 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647744,"longitude_deg":75.6555264,"latitude_deg":11.9647744,"altitude":78,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-18 17:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171432448001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438608430858240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562423808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21: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-09-18 17:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732179000,"timestamp_ms":1789732179000,"timestamp_seconds":1789732179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b459cc38"} 
[2026-09-18 17:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 17:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171432448001,"66":12722,"105":206,"83":41984,"24":0,"16":21438608430858240,"45":1738178380562423808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171432448001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438608430858240,"km_value":21438608430858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562423808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171432448001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562423808}} 
[2026-09-18 17:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":187606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:21:40] local.INFO: GPS data processed {"connection_id":187606,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:21:40] local.INFO: Acknowledgment sent {"connection_id":187606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:21:50] local.INFO: TCP Data received {"connection_id":187607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:21:50] local.INFO: Processing buffer {"connection_id":187607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:21:50] local.INFO: Packet analysis {"connection_id":187607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:21:50] local.INFO: Extracted packet for processing {"connection_id":187607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:21:50] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:21:50] 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-09-18 17:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:21:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:21:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":187607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:21:50] local.INFO: GPS data processed {"connection_id":187607,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:21:50] local.INFO: Acknowledgment sent {"connection_id":187607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:22:02] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:22:02] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:22:02] local.INFO: IMEI packet received {"connection_id":188926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":188926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:22:08] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:22:08] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:22:08] local.INFO: IMEI packet received {"connection_id":188926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:22:08] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45a1e40012d181e000721ae00004e00cf2c..."} 
[2026-09-18 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45a1e40012d181e000721ae00004e00cf2c..."} 
[2026-09-18 17:22:08] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45a1e40012d181e000721ae00004e00cf2c..."} 
[2026-09-18 17:22:08] local.INFO: Packet analysis {"connection_id":188926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45a"} 
[2026-09-18 17:22:08] local.INFO: Extracted packet for processing {"connection_id":188926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45a"} 
[2026-09-18 17:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647744,"longitude_deg":75.6555264,"latitude_deg":11.9647744,"altitude":78,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-18 17:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171437824001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438608430858240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841412608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22: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-09-18 17:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732200000,"timestamp_ms":1789732200000,"timestamp_seconds":1789732200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45a1e40"} 
[2026-09-18 17:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171437824001,"66":12722,"105":206,"83":41984,"24":0,"16":21438608430858240,"45":1737826536841412608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171437824001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:22:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438608430858240,"km_value":21438608430858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841412608,"description":"Unknown IO ID 45"} 
[2026-09-18 17:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171437824001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841412608}} 
[2026-09-18 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":188926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:22:09] local.INFO: GPS data processed {"connection_id":188926,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:22:09] local.INFO: Acknowledgment sent {"connection_id":188926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:22:12] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:22:12] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:22:12] local.INFO: IMEI packet received {"connection_id":186176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":186176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:22:17] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:22:17] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:22:17] local.INFO: IMEI packet received {"connection_id":186176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":186176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:22:17] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:22:17] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4575368012d4cdd00068f49380048013230..."} 
[2026-09-18 17:22:17] local.INFO: Packet analysis {"connection_id":186176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:22:17] local.INFO: Extracted packet for processing {"connection_id":186176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b457"} 
[2026-09-18 17:22:17] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":48,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171319296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789732017000,"timestamp_ms":1789732017000,"timestamp_seconds":1789732017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4575368"} 
[2026-09-18 17:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 17:22:17] 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-09-18 17:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171319296001,"66":26136,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171319296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:22:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:22:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171319296001,"power":26136,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":186176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:22:17] local.INFO: GPS data processed {"connection_id":186176,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:22:17] local.INFO: Acknowledgment sent {"connection_id":186176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:22:40] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45a7048012d181e000721ae00004e00cf26..."} 
[2026-09-18 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45a7048012d181e000721ae00004e00cf26..."} 
[2026-09-18 17:22:40] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45a7048012d181e000721ae00004e00cf26..."} 
[2026-09-18 17:22:40] local.INFO: Packet analysis {"connection_id":188926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45a"} 
[2026-09-18 17:22:40] local.INFO: Extracted packet for processing {"connection_id":188926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45a"} 
[2026-09-18 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647744,"longitude_deg":75.6555264,"latitude_deg":11.9647744,"altitude":78,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-18 17:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171443200001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438608430858240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841412608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22: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-09-18 17:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732221000,"timestamp_ms":1789732221000,"timestamp_seconds":1789732221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45a7048"} 
[2026-09-18 17:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171443200001,"66":12722,"105":206,"83":41984,"24":0,"16":21438608430858240,"45":1737826536841412608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171443200001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:22:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438608430858240,"km_value":21438608430858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841412608,"description":"Unknown IO ID 45"} 
[2026-09-18 17:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171443200001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841412608}} 
[2026-09-18 17:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":188926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:22:40] local.INFO: GPS data processed {"connection_id":188926,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:22:40] local.INFO: Acknowledgment sent {"connection_id":188926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:22:48] local.INFO: TCP Data received {"connection_id":186176,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:22:48] local.INFO: Processing buffer {"connection_id":186176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:22:48] local.INFO: Packet analysis {"connection_id":186176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:22:48] local.INFO: Extracted packet for processing {"connection_id":186176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:22:48] 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-09-18 17:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:22:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:22:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:22:48] local.INFO: GPS data processed {"connection_id":186176,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:22:48] local.INFO: Acknowledgment sent {"connection_id":186176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:05] local.INFO: TCP Data received {"connection_id":188927,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:05] local.INFO: Processing buffer {"connection_id":188927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:05] local.INFO: IMEI packet received {"connection_id":188927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":188927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:23:08] local.INFO: TCP Data received {"connection_id":188927,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:08] local.INFO: Processing buffer {"connection_id":188927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:08] local.INFO: IMEI packet received {"connection_id":188927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:23:10] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:10] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:10] local.INFO: IMEI packet received {"connection_id":186177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":186177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:23:11] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:23:11] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:23:11] local.INFO: IMEI packet received {"connection_id":186326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":186326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:23:13] local.INFO: TCP Data received {"connection_id":188927,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:13] local.INFO: Processing buffer {"connection_id":188927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:23:13] local.INFO: IMEI packet received {"connection_id":188927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:23:13] local.INFO: TCP Data received {"connection_id":188927,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45ac250012d181e000721ae00004e00cf28..."} 
[2026-09-18 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45ac250012d181e000721ae00004e00cf28..."} 
[2026-09-18 17:23:13] local.INFO: Processing buffer {"connection_id":188927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45ac250012d181e000721ae00004e00cf28..."} 
[2026-09-18 17:23:13] local.INFO: Packet analysis {"connection_id":188927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45a"} 
[2026-09-18 17:23:13] local.INFO: Extracted packet for processing {"connection_id":188927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45a"} 
[2026-09-18 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647744,"longitude_deg":75.6555264,"latitude_deg":11.9647744,"altitude":78,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-18 17:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171448576001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438608430858240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841412608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789732242000,"timestamp_ms":1789732242000,"timestamp_seconds":1789732242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45ac250"} 
[2026-09-18 17:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171448576001,"66":12711,"105":206,"83":41984,"24":0,"16":21438608430858240,"45":1737826536841412608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171448576001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438608430858240,"km_value":21438608430858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841412608,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171448576001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841412608}} 
[2026-09-18 17:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":188927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:14] local.INFO: GPS data processed {"connection_id":188927,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:14] local.INFO: Acknowledgment sent {"connection_id":188927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:15] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:15] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:15] local.INFO: IMEI packet received {"connection_id":186177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:23:16] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45bef18012d7b204005e2aa78000400ac28..."} 
[2026-09-18 17:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45bef18012d7b204005e2aa78000400ac28..."} 
[2026-09-18 17:23:16] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45bef18012d7b204005e2aa78000400ac28..."} 
[2026-09-18 17:23:16] local.INFO: Packet analysis {"connection_id":186177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:16] local.INFO: Extracted packet for processing {"connection_id":186177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98740856,"longitude_deg":76.3043904,"latitude_deg":9.8740856,"altitude":4,"angle":172,"satellites":40,"speed":32,"hex_longitude":"2d7b2040","hex_latitude":"05e2aa78","is_valid_coordinates":true} 
[2026-09-18 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171469824001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134766878223499264,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022548793344,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:16] 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-09-18 17:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789732319000,"timestamp_ms":1789732319000,"timestamp_seconds":1789732319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45bef18"} 
[2026-09-18 17:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171469824001,"66":13254,"207":206,"85":15104,"24":32,"16":134766878223499264,"45":8870895022548793344},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-18 17:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171469824001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-18 17:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134766878223499264,"km_value":134766878223499.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022548793344,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171469824001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8870895022548793344}} 
[2026-09-18 17:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:16] local.INFO: GPS data processed {"connection_id":186177,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:16] local.INFO: Acknowledgment sent {"connection_id":186177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:17] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:23:17] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:23:17] local.INFO: IMEI packet received {"connection_id":186326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":186326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:23:17] local.INFO: TCP Data received {"connection_id":186177,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45c1df8012d7b264005e28588000500ac29..."} 
[2026-09-18 17:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45c1df8012d7b264005e28588000500ac29..."} 
[2026-09-18 17:23:17] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45c1df8012d7b264005e28588000500ac29..."} 
[2026-09-18 17:23:17] local.INFO: Packet analysis {"connection_id":186177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45c"} 
[2026-09-18 17:23:17] local.INFO: Extracted packet for processing {"connection_id":186177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45c"} 
[2026-09-18 17:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":98731400,"longitude_deg":76.304544,"latitude_deg":9.87314,"altitude":5,"angle":172,"satellites":41,"speed":34,"hex_longitude":"2d7b2640","hex_latitude":"05e28588","is_valid_coordinates":true} 
[2026-09-18 17:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473664001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134767342079967232,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659941713920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:17] 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-09-18 17:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789732331000,"timestamp_ms":1789732331000,"timestamp_seconds":1789732331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45c1df8"} 
[2026-09-18 17:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23: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-09-18 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473664001,"66":13406,"207":206,"85":15104,"24":34,"16":134767342079967232,"45":8872161659941713920},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-18 17:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473664001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-18 17:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134767342079967232,"km_value":134767342079967.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659941713920,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473664001,"power":13406,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8872161659941713920}} 
[2026-09-18 17:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":186177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:18] local.INFO: GPS data processed {"connection_id":186177,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:18] local.INFO: Acknowledgment sent {"connection_id":186177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:18] local.INFO: TCP Data received {"connection_id":188927,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45b1458012d181e000721ae00004e00cf2a..."} 
[2026-09-18 17:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45b1458012d181e000721ae00004e00cf2a..."} 
[2026-09-18 17:23:18] local.INFO: Processing buffer {"connection_id":188927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45b1458012d181e000721ae00004e00cf2a..."} 
[2026-09-18 17:23:18] local.INFO: Packet analysis {"connection_id":188927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:18] local.INFO: Extracted packet for processing {"connection_id":188927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647744,"longitude_deg":75.6555264,"latitude_deg":11.9647744,"altitude":78,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-18 17:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171453952001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438608430858240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841412608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732263000,"timestamp_ms":1789732263000,"timestamp_seconds":1789732263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45b1458"} 
[2026-09-18 17:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171453952001,"66":12689,"105":206,"83":41984,"24":0,"16":21438608430858240,"45":1737826536841412608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171453952001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438608430858240,"km_value":21438608430858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841412608,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171453952001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841412608}} 
[2026-09-18 17:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":188927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:18] local.INFO: GPS data processed {"connection_id":188927,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:18] local.INFO: Acknowledgment sent {"connection_id":188927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:19] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:23:19] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:23:19] local.INFO: Packet analysis {"connection_id":186326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:19] local.INFO: Extracted packet for processing {"connection_id":186326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:19] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:19] 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-09-18 17:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:23:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":186326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:19] local.INFO: GPS data processed {"connection_id":186326,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:19] local.INFO: Acknowledgment sent {"connection_id":186326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:49] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:49] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:49] local.INFO: IMEI packet received {"connection_id":186178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":186178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:23:50] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:23:50] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:23:50] local.INFO: Packet analysis {"connection_id":186326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:50] local.INFO: Extracted packet for processing {"connection_id":186326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:50] 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-09-18 17:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:23:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":186326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:50] local.INFO: GPS data processed {"connection_id":186326,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:50] local.INFO: Acknowledgment sent {"connection_id":186326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:23:52] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:52] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:23:52] local.INFO: IMEI packet received {"connection_id":186178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":186178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:23:54] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45c54a8012d7b2bc005e26258000300a928..."} 
[2026-09-18 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45c54a8012d7b2bc005e26258000300a928..."} 
[2026-09-18 17:23:54] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45c54a8012d7b2bc005e26258000300a928..."} 
[2026-09-18 17:23:54] local.INFO: Packet analysis {"connection_id":186178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45c"} 
[2026-09-18 17:23:54] local.INFO: Extracted packet for processing {"connection_id":186178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45c"} 
[2026-09-18 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763046848,"raw_latitude":98722392,"longitude_deg":76.3046848,"latitude_deg":9.8722392,"altitude":3,"angle":169,"satellites":40,"speed":18,"hex_longitude":"2d7b2bc0","hex_latitude":"05e26258","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171476736001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134767784461598720,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850509799557120,"note":"Value kept but may cause issues"} 
[2026-09-18 17:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789732345000,"timestamp_ms":1789732345000,"timestamp_seconds":1789732345,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45c54a8"} 
[2026-09-18 17:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 17:23:54] 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-09-18 17: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-09-18 17:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171476736001,"66":13472,"44":206,"19":45824,"24":18,"16":134767784461598720,"45":8873850509799557120},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171476736001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:23:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134767784461598720,"km_value":134767784461598.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850509799557120,"description":"Unknown IO ID 45"} 
[2026-09-18 17:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171476736001,"power":13472,"unknown_44":206,"unknown_19":45824,"ignition":18,"odometer":null,"unknown_45":8873850509799557120}} 
[2026-09-18 17:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":186178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:23:54] local.INFO: GPS data processed {"connection_id":186178,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:23:54] local.INFO: Acknowledgment sent {"connection_id":186178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:24:03] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:24:03] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:24:03] local.INFO: IMEI packet received {"connection_id":186179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":186179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:24:06] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:24:06] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:24:06] local.INFO: IMEI packet received {"connection_id":186179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":186179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:24:07] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45b6660012d181e000721ae00004e00cf29..."} 
[2026-09-18 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45b6660012d181e000721ae00004e00cf29..."} 
[2026-09-18 17:24:07] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45b6660012d181e000721ae00004e00cf29..."} 
[2026-09-18 17:24:07] local.INFO: Packet analysis {"connection_id":186179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:24:07] local.INFO: Extracted packet for processing {"connection_id":186179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647744,"longitude_deg":75.6555264,"latitude_deg":11.9647744,"altitude":78,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-18 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171459328001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438608430858240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841412608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24: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-09-18 17:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789732284000,"timestamp_ms":1789732284000,"timestamp_seconds":1789732284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45b6660"} 
[2026-09-18 17:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 17:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171459328001,"66":12689,"105":206,"83":41984,"24":0,"16":21438608430858240,"45":1737826536841412608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171459328001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:24:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438608430858240,"km_value":21438608430858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841412608,"description":"Unknown IO ID 45"} 
[2026-09-18 17:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171459328001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841412608}} 
[2026-09-18 17:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":186179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:24:07] local.INFO: GPS data processed {"connection_id":186179,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:24:07] local.INFO: Acknowledgment sent {"connection_id":186179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:24:11] local.INFO: TCP Data received {"connection_id":187608,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:24:11] local.INFO: Processing buffer {"connection_id":187608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:24:11] local.INFO: IMEI packet received {"connection_id":187608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":187608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:24:17] local.INFO: TCP Data received {"connection_id":187608,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:24:17] local.INFO: Processing buffer {"connection_id":187608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:24:17] local.INFO: IMEI packet received {"connection_id":187608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":187608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:24:17] local.INFO: TCP Data received {"connection_id":187608,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:24:17] local.INFO: Processing buffer {"connection_id":187608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:24:17] local.INFO: Packet analysis {"connection_id":187608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:24:17] local.INFO: Extracted packet for processing {"connection_id":187608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:24:17] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:24:17] 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-09-18 17:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:24:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:24:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":187608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:24:17] local.INFO: GPS data processed {"connection_id":187608,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:24:17] local.INFO: Acknowledgment sent {"connection_id":187608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:24:31] local.INFO: TCP Data received {"connection_id":186178,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45dbc08012d7b46c005e1ad58000100592a..."} 
[2026-09-18 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45dbc08012d7b46c005e1ad58000100592a..."} 
[2026-09-18 17:24:31] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45dbc08012d7b46c005e1ad58000100592a..."} 
[2026-09-18 17:24:31] local.INFO: Packet analysis {"connection_id":186178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:24:31] local.INFO: Extracted packet for processing {"connection_id":186178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763053760,"raw_latitude":98676056,"longitude_deg":76.305376,"latitude_deg":9.8676056,"altitude":1,"angle":89,"satellites":42,"speed":13,"hex_longitude":"2d7b46c0","hex_latitude":"05e1ad58","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171503616001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134770120923807744,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234063415296,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789732437000,"timestamp_ms":1789732437000,"timestamp_seconds":1789732437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45dbc08"} 
[2026-09-18 17:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:24: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-09-18 17: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 17:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171503616001,"66":13200,"47":206,"19":45824,"24":13,"16":134770120923807744,"45":8882576234063415296},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-09-18 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171503616001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:24:31] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:24:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134770120923807744,"km_value":134770120923807.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234063415296,"description":"Unknown IO ID 45"} 
[2026-09-18 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171503616001,"power":13200,"unknown_47":206,"unknown_19":45824,"ignition":13,"odometer":null,"unknown_45":8882576234063415296}} 
[2026-09-18 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":186178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:24:31] local.INFO: GPS data processed {"connection_id":186178,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:24:31] local.INFO: Acknowledgment sent {"connection_id":186178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:24:38] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45d4ac0012d181f400721a710004c00832d..."} 
[2026-09-18 17:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45d4ac0012d181f400721a710004c00832d..."} 
[2026-09-18 17:24:38] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45d4ac0012d181f400721a710004c00832d..."} 
[2026-09-18 17:24:38] local.INFO: Packet analysis {"connection_id":186179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:24:38] local.INFO: Extracted packet for processing {"connection_id":186179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645968,"longitude_deg":75.6555584,"latitude_deg":11.9645968,"altitude":76,"angle":131,"satellites":45,"speed":3,"hex_longitude":"2d181f40","hex_latitude":"0721a710","is_valid_coordinates":true} 
[2026-09-18 17:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171493888001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21438720100007936,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073546240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24: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-09-18 17:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789732408000,"timestamp_ms":1789732408000,"timestamp_seconds":1789732408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45d4ac0"} 
[2026-09-18 17:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 17:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171493888001,"66":14265,"105":206,"83":41984,"24":3,"16":21438720100007936,"45":1738037643073546240},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171493888001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:24:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21438720100007936,"km_value":21438720100007.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073546240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171493888001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738037643073546240}} 
[2026-09-18 17:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":186179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:24:38] local.INFO: GPS data processed {"connection_id":186179,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:24:38] local.INFO: Acknowledgment sent {"connection_id":186179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:24:49] local.INFO: TCP Data received {"connection_id":186327,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:24:49] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:24:49] local.INFO: IMEI packet received {"connection_id":186327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":186327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:24:49] local.INFO: TCP Data received {"connection_id":187608,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:24:49] local.INFO: Processing buffer {"connection_id":187608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:24:49] local.INFO: Packet analysis {"connection_id":187608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:24:49] local.INFO: Extracted packet for processing {"connection_id":187608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:24:49] 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-09-18 17:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:24:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:24:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":187608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:24:49] local.INFO: GPS data processed {"connection_id":187608,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:24:49] local.INFO: Acknowledgment sent {"connection_id":187608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:24:55] local.INFO: TCP Data received {"connection_id":186327,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:24:55] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:24:55] local.INFO: IMEI packet received {"connection_id":186327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":186327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:24:59] local.INFO: TCP Data received {"connection_id":186327,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45dc3d8012d7b4a8005e1ade00001004a2a..."} 
[2026-09-18 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45dc3d8012d7b4a8005e1ade00001004a2a..."} 
[2026-09-18 17:24:59] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45dc3d8012d7b4a8005e1ade00001004a2a..."} 
[2026-09-18 17:24:59] local.INFO: Packet analysis {"connection_id":186327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:24:59] local.INFO: Extracted packet for processing {"connection_id":186327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":98676192,"longitude_deg":76.305472,"latitude_deg":9.8676192,"altitude":1,"angle":74,"satellites":42,"speed":18,"hex_longitude":"2d7b4a80","hex_latitude":"05e1ade0","is_valid_coordinates":true} 
[2026-09-18 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171503872001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134770168168448000,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446528485376,"note":"Value kept but may cause issues"} 
[2026-09-18 17:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789732439000,"timestamp_ms":1789732439000,"timestamp_seconds":1789732439,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45dc3d8"} 
[2026-09-18 17:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:24: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-09-18 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-18 17:24:59] 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-09-18 17:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171503872001,"66":13765,"47":206,"19":45824,"24":18,"16":134770168168448000,"45":8882998446528485376},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-09-18 17:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171503872001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:24:59] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:24:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134770168168448000,"km_value":134770168168448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446528485376,"description":"Unknown IO ID 45"} 
[2026-09-18 17:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171503872001,"power":13765,"unknown_47":206,"unknown_19":45824,"ignition":18,"odometer":null,"unknown_45":8882998446528485376}} 
[2026-09-18 17:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":186327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:24:59] local.INFO: GPS data processed {"connection_id":186327,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:24:59] local.INFO: Acknowledgment sent {"connection_id":186327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:25:03] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:25:03] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:25:03] local.INFO: IMEI packet received {"connection_id":188928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":188928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:25:06] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:25:06] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:25:06] local.INFO: IMEI packet received {"connection_id":188928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":188928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:25:06] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45d8558012d18310007219858004e00742b..."} 
[2026-09-18 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45d8558012d18310007219858004e00742b..."} 
[2026-09-18 17:25:06] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45d8558012d18310007219858004e00742b..."} 
[2026-09-18 17:25:06] local.INFO: Packet analysis {"connection_id":188928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:25:06] local.INFO: Extracted packet for processing {"connection_id":188928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756560128,"raw_latitude":119642200,"longitude_deg":75.6560128,"latitude_deg":11.96422,"altitude":78,"angle":116,"satellites":43,"speed":22,"hex_longitude":"2d183100","hex_latitude":"07219858","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171496448001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21439007862816768,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561846272,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789732423000,"timestamp_ms":1789732423000,"timestamp_seconds":1789732423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45d8558"} 
[2026-09-18 17:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 17:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171496448001,"66":14243,"105":206,"83":41984,"24":22,"16":21439007862816768,"45":1738178380561846272},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171496448001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21439007862816768,"km_value":21439007862816.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561846272,"description":"Unknown IO ID 45"} 
[2026-09-18 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171496448001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1738178380561846272}} 
[2026-09-18 17:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":188928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:25:07] local.INFO: GPS data processed {"connection_id":188928,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:25:07] local.INFO: Acknowledgment sent {"connection_id":188928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:25:11] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:25:11] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:25:11] local.INFO: IMEI packet received {"connection_id":188929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":188929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:25:17] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:25:17] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:25:17] local.INFO: IMEI packet received {"connection_id":188929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":188929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:25:18] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:25:18] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:25:18] local.INFO: Packet analysis {"connection_id":188929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:25:18] local.INFO: Extracted packet for processing {"connection_id":188929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:25:18] 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-09-18 17:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:25:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:25:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":188929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:25:18] local.INFO: GPS data processed {"connection_id":188929,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:25:18] local.INFO: Acknowledgment sent {"connection_id":188929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:25:33] local.INFO: TCP Data received {"connection_id":186327,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45ddf30012d7b5a4005e1b1d00003005929..."} 
[2026-09-18 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45ddf30012d7b5a4005e1b1d00003005929..."} 
[2026-09-18 17:25:33] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45ddf30012d7b5a4005e1b1d00003005929..."} 
[2026-09-18 17:25:33] local.INFO: Packet analysis {"connection_id":186327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:25:33] local.INFO: Extracted packet for processing {"connection_id":186327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45d"} 
[2026-09-18 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":98677200,"longitude_deg":76.3058752,"latitude_deg":9.86772,"altitude":3,"angle":89,"satellites":41,"speed":20,"hex_longitude":"2d7b5a40","hex_latitude":"05e1b1d0","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171504384001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134770365736943616,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977691185152,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789732446000,"timestamp_ms":1789732446000,"timestamp_seconds":1789732446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45ddf30"} 
[2026-09-18 17:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-18 17:25:33] 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-09-18 17: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-09-18 17:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171504384001,"66":13798,"47":206,"19":45824,"24":20,"16":134770365736943616,"45":8884053977691185152},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-09-18 17:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171504384001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:25:33] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134770365736943616,"km_value":134770365736943.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977691185152,"description":"Unknown IO ID 45"} 
[2026-09-18 17:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171504384001,"power":13798,"unknown_47":206,"unknown_19":45824,"ignition":20,"odometer":null,"unknown_45":8884053977691185152}} 
[2026-09-18 17:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":186327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:25:33] local.INFO: GPS data processed {"connection_id":186327,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:25:33] local.INFO: Acknowledgment sent {"connection_id":186327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:25:39] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45e8b10012d18ca4007213408004400952d..."} 
[2026-09-18 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45e8b10012d18ca4007213408004400952d..."} 
[2026-09-18 17:25:39] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45e8b10012d18ca4007213408004400952d..."} 
[2026-09-18 17:25:39] local.INFO: Packet analysis {"connection_id":188928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:25:39] local.INFO: Extracted packet for processing {"connection_id":188928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119616520,"longitude_deg":75.659936,"latitude_deg":11.961652,"altitude":68,"angle":149,"satellites":45,"speed":35,"hex_longitude":"2d18ca40","hex_latitude":"07213408","is_valid_coordinates":true} 
[2026-09-18 17:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171516928001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21441468879077376,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807897921536,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789732490000,"timestamp_ms":1789732490000,"timestamp_seconds":1789732490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45e8b10"} 
[2026-09-18 17:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 17:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171516928001,"66":14211,"103":206,"83":41984,"24":35,"16":21441468879077376,"45":1785395807897921536},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171516928001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:25:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21441468879077376,"km_value":21441468879077.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807897921536,"description":"Unknown IO ID 45"} 
[2026-09-18 17:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171516928001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1785395807897921536}} 
[2026-09-18 17:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":188928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:25:39] local.INFO: GPS data processed {"connection_id":188928,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:25:39] local.INFO: Acknowledgment sent {"connection_id":188928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:25:48] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:25:48] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:25:48] local.INFO: IMEI packet received {"connection_id":186180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":186180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:25:50] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:25:50] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:25:50] local.INFO: Packet analysis {"connection_id":188929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:25:50] local.INFO: Extracted packet for processing {"connection_id":188929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 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-09-18 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:25:50] 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-09-18 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-09-18 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-09-18 17:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:25:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:25:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":188929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:25:50] local.INFO: GPS data processed {"connection_id":188929,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:25:50] local.INFO: Acknowledgment sent {"connection_id":188929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:25:53] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:25:53] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:25:53] local.INFO: IMEI packet received {"connection_id":186180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":186180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:25:54] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45f0040012d7bf70005e1d930000c00592d..."} 
[2026-09-18 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45f0040012d7bf70005e1d930000c00592d..."} 
[2026-09-18 17:25:54] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45f0040012d7bf70005e1d930000c00592d..."} 
[2026-09-18 17:25:54] local.INFO: Packet analysis {"connection_id":186180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:25:54] local.INFO: Extracted packet for processing {"connection_id":186180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763098880,"raw_latitude":98687280,"longitude_deg":76.309888,"latitude_deg":9.868728,"altitude":12,"angle":89,"satellites":45,"speed":21,"hex_longitude":"2d7bf700","hex_latitude":"05e1d930","is_valid_coordinates":true} 
[2026-09-18 17:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171523584001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134772440206147584,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371448944535552,"note":"Value kept but may cause issues"} 
[2026-09-18 17:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789732520000,"timestamp_ms":1789732520000,"timestamp_seconds":1789732520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45f0040"} 
[2026-09-18 17:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-18 17:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171523584001,"66":13493,"44":206,"19":45824,"24":21,"16":134772440206147584,"45":8929371448944535552},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171523584001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:25:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:25:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134772440206147584,"km_value":134772440206147.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371448944535552,"description":"Unknown IO ID 45"} 
[2026-09-18 17:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171523584001,"power":13493,"unknown_44":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":8929371448944535552}} 
[2026-09-18 17:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":186180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:25:55] local.INFO: GPS data processed {"connection_id":186180,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:25:55] local.INFO: Acknowledgment sent {"connection_id":186180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:26:03] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:26:03] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:26:03] local.INFO: IMEI packet received {"connection_id":186328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":186328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:26:07] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:26:07] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:26:07] local.INFO: IMEI packet received {"connection_id":186328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":186328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:26:08] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45e9ab0012d18d10007212830004300a02a..."} 
[2026-09-18 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45e9ab0012d18d10007212830004300a02a..."} 
[2026-09-18 17:26:08] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45e9ab0012d18d10007212830004300a02a..."} 
[2026-09-18 17:26:08] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:26:08] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119613488,"longitude_deg":75.6601088,"latitude_deg":11.9613488,"altitude":67,"angle":160,"satellites":42,"speed":33,"hex_longitude":"2d18d100","hex_latitude":"07212830","is_valid_coordinates":true} 
[2026-09-18 17:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171517440001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21441640677769216,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601571829760,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26: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-09-18 17:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732494000,"timestamp_ms":1789732494000,"timestamp_seconds":1789732494,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45e9ab0"} 
[2026-09-18 17:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 17:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171517440001,"66":13993,"103":206,"83":41984,"24":33,"16":21441640677769216,"45":1786310601571829760},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171517440001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:26:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21441640677769216,"km_value":21441640677769.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601571829760,"description":"Unknown IO ID 45"} 
[2026-09-18 17:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171517440001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1786310601571829760}} 
[2026-09-18 17:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:26:08] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:26:08] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:26:17] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:26:17] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:26:17] local.INFO: IMEI packet received {"connection_id":187609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":187609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:26:22] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:26:22] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:26:22] local.INFO: IMEI packet received {"connection_id":187609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":187609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:26:22] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:26:22] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:26:22] local.INFO: Packet analysis {"connection_id":187609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:26:22] local.INFO: Extracted packet for processing {"connection_id":187609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:26:22] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:26:22] 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-09-18 17:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:26:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:26:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":187609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:26:22] local.INFO: GPS data processed {"connection_id":187609,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:26:22] local.INFO: Acknowledgment sent {"connection_id":187609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:26:26] local.INFO: TCP Data received {"connection_id":186180,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45feaa0012d7c5dc005e20f98000d00292d..."} 
[2026-09-18 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45feaa0012d7c5dc005e20f98000d00292d..."} 
[2026-09-18 17:26:26] local.INFO: Processing buffer {"connection_id":186180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45feaa0012d7c5dc005e20f98000d00292d..."} 
[2026-09-18 17:26:26] local.INFO: Packet analysis {"connection_id":186180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:26:26] local.INFO: Extracted packet for processing {"connection_id":186180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763125184,"raw_latitude":98701208,"longitude_deg":76.3125184,"latitude_deg":9.8701208,"altitude":13,"angle":41,"satellites":45,"speed":19,"hex_longitude":"2d7c5dc0","hex_latitude":"05e20f98","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171538944001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134774016459145216,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959489271455076352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789732580000,"timestamp_ms":1789732580000,"timestamp_seconds":1789732580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45feaa0"} 
[2026-09-18 17:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:26: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-09-18 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 17:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171538944001,"66":13820,"44":206,"19":45824,"24":19,"16":134774016459145216,"45":8959489271455076352},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171538944001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134774016459145216,"km_value":134774016459145.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959489271455076352,"description":"Unknown IO ID 45"} 
[2026-09-18 17:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171538944001,"power":13820,"unknown_44":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8959489271455076352}} 
[2026-09-18 17:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":186180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:26:27] local.INFO: GPS data processed {"connection_id":186180,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:26:27] local.INFO: Acknowledgment sent {"connection_id":186180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:26:27] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:26:27] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:26:27] local.INFO: Packet analysis {"connection_id":187609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:26:27] local.INFO: Extracted packet for processing {"connection_id":187609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:26: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-09-18 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:26: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-09-18 17:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":187609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:26:27] local.INFO: GPS data processed {"connection_id":187609,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:26:27] local.INFO: Acknowledgment sent {"connection_id":187609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:26:39] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45ea280012d18d20007212238004200b12a..."} 
[2026-09-18 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45ea280012d18d20007212238004200b12a..."} 
[2026-09-18 17:26:39] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45ea280012d18d20007212238004200b12a..."} 
[2026-09-18 17:26:39] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:26:39] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119611960,"longitude_deg":75.6601344,"latitude_deg":11.961196,"altitude":66,"angle":177,"satellites":42,"speed":30,"hex_longitude":"2d18d200","hex_latitude":"07212238","is_valid_coordinates":true} 
[2026-09-18 17:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171518464001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21441713692213248,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663850496,"note":"Value kept but may cause issues"} 
[2026-09-18 17:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789732496000,"timestamp_ms":1789732496000,"timestamp_seconds":1789732496,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45ea280"} 
[2026-09-18 17:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 17:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171518464001,"66":13972,"103":206,"83":41984,"24":30,"16":21441713692213248,"45":1788210557663850496},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171518464001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:26:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21441713692213248,"km_value":21441713692213.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663850496,"description":"Unknown IO ID 45"} 
[2026-09-18 17:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171518464001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1788210557663850496}} 
[2026-09-18 17:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:26:39] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:26:39] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:26:55] local.INFO: TCP Data received {"connection_id":188930,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:55] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:55] local.INFO: IMEI packet received {"connection_id":188930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":188930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:26:57] local.INFO: TCP Data received {"connection_id":188930,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:57] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:57] local.INFO: IMEI packet received {"connection_id":188930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":188930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:26:59] local.INFO: TCP Data received {"connection_id":188930,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:59] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:26:59] local.INFO: IMEI packet received {"connection_id":188930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":188930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:27:01] local.INFO: TCP Data received {"connection_id":188930,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45fee88012d7c5f0005e210d8000d003a2d..."} 
[2026-09-18 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45fee88012d7c5f0005e210d8000d003a2d..."} 
[2026-09-18 17:27:01] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45fee88012d7c5f0005e210d8000d003a2d..."} 
[2026-09-18 17:27:01] local.INFO: Packet analysis {"connection_id":188930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:27:01] local.INFO: Extracted packet for processing {"connection_id":188930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763125504,"raw_latitude":98701528,"longitude_deg":76.3125504,"latitude_deg":9.8701528,"altitude":13,"angle":58,"satellites":45,"speed":19,"hex_longitude":"2d7c5f00","hex_latitude":"05e210d8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171540480001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134774037933981696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961529965037197312,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789732581000,"timestamp_ms":1789732581000,"timestamp_seconds":1789732581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45fee88"} 
[2026-09-18 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-09-18 17:27: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-09-18 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 17:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 17:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171540480001,"66":13961,"44":206,"19":45824,"24":19,"16":134774037933981696,"45":8961529965037197312},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171540480001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:27:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134774037933981696,"km_value":134774037933981.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961529965037197312,"description":"Unknown IO ID 45"} 
[2026-09-18 17:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171540480001,"power":13961,"unknown_44":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8961529965037197312}} 
[2026-09-18 17:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":188930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:27:01] local.INFO: GPS data processed {"connection_id":188930,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:27:01] local.INFO: Acknowledgment sent {"connection_id":188930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:27:02] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:27:02] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:27:02] local.INFO: IMEI packet received {"connection_id":188931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":188931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:27:06] local.INFO: TCP Data received {"connection_id":188930,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45ff658012d7c630005e212b0000e004a2d..."} 
[2026-09-18 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45ff658012d7c630005e212b0000e004a2d..."} 
[2026-09-18 17:27:06] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45ff658012d7c630005e212b0000e004a2d..."} 
[2026-09-18 17:27:06] local.INFO: Packet analysis {"connection_id":188930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:27:06] local.INFO: Extracted packet for processing {"connection_id":188930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763126528,"raw_latitude":98702000,"longitude_deg":76.3126528,"latitude_deg":9.8702,"altitude":14,"angle":74,"satellites":45,"speed":24,"hex_longitude":"2d7c6300","hex_latitude":"05e212b0","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171540736001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134774089473589248,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961881808758167552,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789732583000,"timestamp_ms":1789732583000,"timestamp_seconds":1789732583,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45ff658"} 
[2026-09-18 17:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-18 17:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171540736001,"66":13972,"44":206,"19":45824,"24":24,"16":134774089473589248,"45":8961881808758167552},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171540736001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134774089473589248,"km_value":134774089473589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961881808758167552,"description":"Unknown IO ID 45"} 
[2026-09-18 17:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171540736001,"power":13972,"unknown_44":206,"unknown_19":45824,"ignition":24,"odometer":null,"unknown_45":8961881808758167552}} 
[2026-09-18 17:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":188930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:27:06] local.INFO: GPS data processed {"connection_id":188930,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:27:06] local.INFO: Acknowledgment sent {"connection_id":188930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:27:06] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:27:06] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:27:06] local.INFO: IMEI packet received {"connection_id":186325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":186325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:27:08] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:27:08] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:27:08] local.INFO: IMEI packet received {"connection_id":188931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:27:08] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45ebdd8012d18d34007210b68003f00a52c..."} 
[2026-09-18 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45ebdd8012d18d34007210b68003f00a52c..."} 
[2026-09-18 17:27:08] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45ebdd8012d18d34007210b68003f00a52c..."} 
[2026-09-18 17:27:08] local.INFO: Packet analysis {"connection_id":188931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:27:08] local.INFO: Extracted packet for processing {"connection_id":188931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45e"} 
[2026-09-18 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606120,"longitude_deg":75.6601664,"latitude_deg":11.960612,"altitude":63,"angle":165,"satellites":44,"speed":34,"hex_longitude":"2d18d340","hex_latitude":"07210b68","is_valid_coordinates":true} 
[2026-09-18 17:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171518976001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21442001455022080,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640169984,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27: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-09-18 17:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732503000,"timestamp_ms":1789732503000,"timestamp_seconds":1789732503,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45ebdd8"} 
[2026-09-18 17:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-18 17:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171518976001,"66":14341,"103":206,"83":41984,"24":34,"16":21442001455022080,"45":1788492032640169984},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171518976001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:27:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21442001455022080,"km_value":21442001455022.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640169984,"description":"Unknown IO ID 45"} 
[2026-09-18 17:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171518976001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788492032640169984}} 
[2026-09-18 17:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":188931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:27:08] local.INFO: GPS data processed {"connection_id":188931,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:27:08] local.INFO: Acknowledgment sent {"connection_id":188931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:27:12] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:27:12] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:27:12] local.INFO: IMEI packet received {"connection_id":188932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":188932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:27:17] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:27:17] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:27:17] local.INFO: IMEI packet received {"connection_id":188932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":188932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:27:18] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:27:18] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45beb30012d4cdd00068f4938004801322d..."} 
[2026-09-18 17:27:18] local.INFO: Packet analysis {"connection_id":188932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:27:18] local.INFO: Extracted packet for processing {"connection_id":188932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45b"} 
[2026-09-18 17:27:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171396352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732318000,"timestamp_ms":1789732318000,"timestamp_seconds":1789732318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45beb30"} 
[2026-09-18 17:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 17:27:18] 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-09-18 17:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171396352001,"66":26115,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171396352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:27:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:27:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171396352001,"power":26115,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":188932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:27:18] local.INFO: GPS data processed {"connection_id":188932,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:27:18] local.INFO: Acknowledgment sent {"connection_id":188932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:27:40] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4605be8012d19ad0007208c28002f00b42c..."} 
[2026-09-18 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4605be8012d19ad0007208c28002f00b42c..."} 
[2026-09-18 17:27:40] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4605be8012d19ad0007208c28002f00b42c..."} 
[2026-09-18 17:27:40] local.INFO: Packet analysis {"connection_id":188931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:27:40] local.INFO: Extracted packet for processing {"connection_id":188931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119573544,"longitude_deg":75.6657408,"latitude_deg":11.9573544,"altitude":47,"angle":180,"satellites":44,"speed":35,"hex_longitude":"2d19ad00","hex_latitude":"07208c28","is_valid_coordinates":true} 
[2026-09-18 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171547648001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21445755256438784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732609000,"timestamp_ms":1789732609000,"timestamp_seconds":1789732609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4605be8"} 
[2026-09-18 17:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 17:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171547648001,"66":14102,"103":206,"83":41984,"24":35,"16":21445755256438784,"45":1850135052530198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171547648001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:27:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21445755256438784,"km_value":21445755256438.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171547648001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850135052530198528}} 
[2026-09-18 17:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":188931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:27:40] local.INFO: GPS data processed {"connection_id":188931,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:27:40] local.INFO: Acknowledgment sent {"connection_id":188931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:27:49] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:27:49] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:27:49] local.INFO: Packet analysis {"connection_id":188932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:27:49] local.INFO: Extracted packet for processing {"connection_id":188932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:27:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:27:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":188932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:27:49] local.INFO: GPS data processed {"connection_id":188932,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:27:49] local.INFO: Acknowledgment sent {"connection_id":188932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:27:51] local.INFO: TCP Data received {"connection_id":186329,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:51] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:51] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:27:54] local.INFO: TCP Data received {"connection_id":186329,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:54] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:54] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:27:58] local.INFO: TCP Data received {"connection_id":186329,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:58] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:27:58] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:28:00] local.INFO: TCP Data received {"connection_id":186329,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b45ffe28012d7c68c005e21350000e005a2c..."} 
[2026-09-18 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b45ffe28012d7c68c005e21350000e005a2c..."} 
[2026-09-18 17:28:00] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b45ffe28012d7c68c005e21350000e005a2c..."} 
[2026-09-18 17:28:00] local.INFO: Packet analysis {"connection_id":186329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:28:00] local.INFO: Extracted packet for processing {"connection_id":186329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b45f"} 
[2026-09-18 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763128000,"raw_latitude":98702160,"longitude_deg":76.3128,"latitude_deg":9.870216,"altitude":14,"angle":90,"satellites":44,"speed":30,"hex_longitude":"2d7c68c0","hex_latitude":"05e21350","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171541248001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134774162488033280,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963007708665131008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789732585000,"timestamp_ms":1789732585000,"timestamp_seconds":1789732585,"priority":1,"record_length":96,"hex_timestamp":"000001a0b45ffe28"} 
[2026-09-18 17:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-18 17:28: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-09-18 17: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-09-18 17:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171541248001,"66":13472,"44":206,"19":45824,"24":30,"16":134774162488033280,"45":8963007708665131008},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171541248001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134774162488033280,"km_value":134774162488033.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963007708665131008,"description":"Unknown IO ID 45"} 
[2026-09-18 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171541248001,"power":13472,"unknown_44":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":8963007708665131008}} 
[2026-09-18 17:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":186329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:28:00] local.INFO: GPS data processed {"connection_id":186329,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:28:00] local.INFO: Acknowledgment sent {"connection_id":186329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:28:02] local.INFO: TCP Data received {"connection_id":186329,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4601980012d7c7bc005e210c8000d00692c..."} 
[2026-09-18 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4601980012d7c7bc005e210c8000d00692c..."} 
[2026-09-18 17:28:02] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4601980012d7c7bc005e210c8000d00692c..."} 
[2026-09-18 17:28:02] local.INFO: Packet analysis {"connection_id":186329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:02] local.INFO: Extracted packet for processing {"connection_id":186329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":98701512,"longitude_deg":76.3132864,"latitude_deg":9.8701512,"altitude":13,"angle":105,"satellites":44,"speed":23,"hex_longitude":"2d7c7bc0","hex_latitude":"05e210c8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171541760001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134774398711234560,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964626189781258240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789732592000,"timestamp_ms":1789732592000,"timestamp_seconds":1789732592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4601980"} 
[2026-09-18 17:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:28: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-09-18 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 17:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171541760001,"66":13624,"44":206,"19":45824,"24":23,"16":134774398711234560,"45":8964626189781258240},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-09-18 17:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171541760001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 17:28:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134774398711234560,"km_value":134774398711234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964626189781258240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171541760001,"power":13624,"unknown_44":206,"unknown_19":45824,"ignition":23,"odometer":null,"unknown_45":8964626189781258240}} 
[2026-09-18 17:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":186329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:28:02] local.INFO: GPS data processed {"connection_id":186329,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:28:02] local.INFO: Acknowledgment sent {"connection_id":186329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:28:02] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:02] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:02] local.INFO: IMEI packet received {"connection_id":187610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":187610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:28:06] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:06] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:06] local.INFO: IMEI packet received {"connection_id":187610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":187610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:28:08] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:08] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:28:08] local.INFO: IMEI packet received {"connection_id":187610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":187610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:28:09] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4605fd0012d19ad80072088a8002f00a92c..."} 
[2026-09-18 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4605fd0012d19ad80072088a8002f00a92c..."} 
[2026-09-18 17:28:09] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4605fd0012d19ad80072088a8002f00a92c..."} 
[2026-09-18 17:28:09] local.INFO: Packet analysis {"connection_id":187610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:09] local.INFO: Extracted packet for processing {"connection_id":187610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119572648,"longitude_deg":75.6657536,"latitude_deg":11.9572648,"altitude":47,"angle":169,"satellites":44,"speed":35,"hex_longitude":"2d19ad80","hex_latitude":"072088a8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171547904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21445798206111744,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052529969152,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28: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-09-18 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789732610000,"timestamp_ms":1789732610000,"timestamp_seconds":1789732610,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4605fd0"} 
[2026-09-18 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-09-18 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171547904001,"66":14048,"103":206,"83":41984,"24":35,"16":21445798206111744,"45":1850135052529969152},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171547904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:28:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21445798206111744,"km_value":21445798206111.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052529969152,"description":"Unknown IO ID 45"} 
[2026-09-18 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171547904001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850135052529969152}} 
[2026-09-18 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":187610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:28:09] local.INFO: GPS data processed {"connection_id":187610,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:28:09] local.INFO: Acknowledgment sent {"connection_id":187610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:28:11] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:28:11] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:28:11] local.INFO: IMEI packet received {"connection_id":186330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":186330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:28:16] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:28:16] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:28:16] local.INFO: IMEI packet received {"connection_id":186330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:28:17] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:28:17] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:28:17] local.INFO: Packet analysis {"connection_id":186330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:17] local.INFO: Extracted packet for processing {"connection_id":186330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:17] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:28:17] 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-09-18 17:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:28:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:28:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":186330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:28:17] local.INFO: GPS data processed {"connection_id":186330,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:28:17] local.INFO: Acknowledgment sent {"connection_id":186330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:28:41] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4607f10012d19b54007206db0002c009d2c..."} 
[2026-09-18 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4607f10012d19b54007206db0002c009d2c..."} 
[2026-09-18 17:28:41] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4607f10012d19b54007206db0002c009d2c..."} 
[2026-09-18 17:28:41] local.INFO: Packet analysis {"connection_id":187610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:41] local.INFO: Extracted packet for processing {"connection_id":187610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119565744,"longitude_deg":75.665952,"latitude_deg":11.9565744,"altitude":44,"angle":157,"satellites":44,"speed":34,"hex_longitude":"2d19b540","hex_latitude":"07206db0","is_valid_coordinates":true} 
[2026-09-18 17:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171548160001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21446146098462720,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018095104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789732618000,"timestamp_ms":1789732618000,"timestamp_seconds":1789732618,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4607f10"} 
[2026-09-18 17:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 17:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171548160001,"66":13102,"103":206,"83":41984,"24":34,"16":21446146098462720,"45":1850275790018095104},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171548160001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:28:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21446146098462720,"km_value":21446146098462.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018095104,"description":"Unknown IO ID 45"} 
[2026-09-18 17:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171548160001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850275790018095104}} 
[2026-09-18 17:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":187610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:28:41] local.INFO: GPS data processed {"connection_id":187610,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:28:41] local.INFO: Acknowledgment sent {"connection_id":187610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:28:48] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:28:48] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:28:48] local.INFO: Packet analysis {"connection_id":186330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:48] local.INFO: Extracted packet for processing {"connection_id":186330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:28:48] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:28:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:28:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":186330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:28:48] local.INFO: GPS data processed {"connection_id":186330,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:28:48] local.INFO: Acknowledgment sent {"connection_id":186330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:29:03] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:29:03] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:29:03] local.INFO: IMEI packet received {"connection_id":186331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":186331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:29:08] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:29:08] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:29:08] local.INFO: IMEI packet received {"connection_id":186331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":186331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:29:08] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4608eb0012d19b98007206120002c00aa2a..."} 
[2026-09-18 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4608eb0012d19b98007206120002c00aa2a..."} 
[2026-09-18 17:29:08] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4608eb0012d19b98007206120002c00aa2a..."} 
[2026-09-18 17:29:08] local.INFO: Packet analysis {"connection_id":186331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:08] local.INFO: Extracted packet for processing {"connection_id":186331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119562528,"longitude_deg":75.6660608,"latitude_deg":11.9562528,"altitude":44,"angle":170,"satellites":42,"speed":32,"hex_longitude":"2d19b980","hex_latitude":"07206120","is_valid_coordinates":true} 
[2026-09-18 17:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171550208001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21446313602187264,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221085835264,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29: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-09-18 17:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732622000,"timestamp_ms":1789732622000,"timestamp_seconds":1789732622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4608eb0"} 
[2026-09-18 17:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 17:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171550208001,"66":13059,"103":206,"83":41984,"24":32,"16":21446313602187264,"45":1852457221085835264},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171550208001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:29:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21446313602187264,"km_value":21446313602187.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221085835264,"description":"Unknown IO ID 45"} 
[2026-09-18 17:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171550208001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1852457221085835264}} 
[2026-09-18 17:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":186331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:29:08] local.INFO: GPS data processed {"connection_id":186331,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:29:08] local.INFO: Acknowledgment sent {"connection_id":186331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:29:11] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:29:11] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:29:11] local.INFO: IMEI packet received {"connection_id":187612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":187612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:29:17] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:29:17] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:29:17] local.INFO: IMEI packet received {"connection_id":187612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":187612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:29:17] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:29:17] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:29:17] local.INFO: Packet analysis {"connection_id":187612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:17] local.INFO: Extracted packet for processing {"connection_id":187612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:17] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:29:17] 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-09-18 17:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:29:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:29:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":187612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:29:17] local.INFO: GPS data processed {"connection_id":187612,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:29:17] local.INFO: Acknowledgment sent {"connection_id":187612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:29:40] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b460b9a8012d19bdc007203d40002c00a929..."} 
[2026-09-18 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b460b9a8012d19bdc007203d40002c00a929..."} 
[2026-09-18 17:29:40] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b460b9a8012d19bdc007203d40002c00a929..."} 
[2026-09-18 17:29:40] local.INFO: Packet analysis {"connection_id":186331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:40] local.INFO: Extracted packet for processing {"connection_id":186331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119553344,"longitude_deg":75.6661696,"latitude_deg":11.9553344,"altitude":44,"angle":169,"satellites":41,"speed":33,"hex_longitude":"2d19bdc0","hex_latitude":"07203d40","is_valid_coordinates":true} 
[2026-09-18 17:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171551232001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21446760278786048,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489736032256,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732633000,"timestamp_ms":1789732633000,"timestamp_seconds":1789732633,"priority":1,"record_length":96,"hex_timestamp":"000001a0b460b9a8"} 
[2026-09-18 17:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303183246183800,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709975,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3026205864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2410151984,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2147950748,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926200,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,49,160,127,45,64,109,44,10,66,95,128,136,47,48,91,1,240,22,227,180,32,4,113,205,33,68,182,239,52,2,76,7,23],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 17:29:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170721235036274688,"timestamp_seconds":3170721235036274.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171551232001,"66":12265,"103":206,"83":41984,"24":33,"16":21446760278786048,"45":1853653489736032256},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171551232001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:29:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21446760278786048,"km_value":21446760278786.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489736032256,"description":"Unknown IO ID 45"} 
[2026-09-18 17:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171551232001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1853653489736032256}} 
[2026-09-18 17:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":186331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:29:40] local.INFO: GPS data processed {"connection_id":186331,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:29:40] local.INFO: Acknowledgment sent {"connection_id":186331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:29:49] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:29:49] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:29:49] local.INFO: Packet analysis {"connection_id":187612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:49] local.INFO: Extracted packet for processing {"connection_id":187612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:29:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:29:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:29:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":187612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:29:49] local.INFO: GPS data processed {"connection_id":187612,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:29:49] local.INFO: Acknowledgment sent {"connection_id":187612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:29:49] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:29:49] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:29:49] local.INFO: IMEI packet received {"connection_id":186181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":186181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:29:55] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:29:55] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:29:55] local.INFO: IMEI packet received {"connection_id":186181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":186181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:29:56] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b462c130012d7e29c005e1bff8000700c22b..."} 
[2026-09-18 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b462c130012d7e29c005e1bff8000700c22b..."} 
[2026-09-18 17:29:56] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b462c130012d7e29c005e1bff8000700c22b..."} 
[2026-09-18 17:29:56] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b462"} 
[2026-09-18 17:29:56] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b462"} 
[2026-09-18 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763242944,"raw_latitude":98680824,"longitude_deg":76.3242944,"latitude_deg":9.8680824,"altitude":7,"angle":194,"satellites":43,"speed":37,"hex_longitude":"2d7e29c0","hex_latitude":"05e1bff8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171586048001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134780738082963456,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091782510507024384,"note":"Value kept but may cause issues"} 
[2026-09-18 17:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789732766000,"timestamp_ms":1789732766000,"timestamp_seconds":1789732766,"priority":1,"record_length":96,"hex_timestamp":"000001a0b462c130"} 
[2026-09-18 17:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-18 17:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171586048001,"66":13656,"178":206,"9":25088,"24":37,"16":134780738082963456,"45":9091782510507024384},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,45]} 
[2026-09-18 17:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171586048001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:29:56] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-18 17:29:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 17:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134780738082963456,"km_value":134780738082963.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091782510507024384,"description":"Unknown IO ID 45"} 
[2026-09-18 17:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171586048001,"power":13656,"unknown_178":206,"unknown_9":25088,"ignition":37,"odometer":null,"unknown_45":9091782510507024384}} 
[2026-09-18 17:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:29:56] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:29:56] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:30:03] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:30:03] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:30:03] local.INFO: IMEI packet received {"connection_id":187613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":187613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:30:08] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:30:08] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:30:08] local.INFO: IMEI packet received {"connection_id":187613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":187613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:30:08] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b460c948012d19c1c007203120002d009c2a..."} 
[2026-09-18 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b460c948012d19c1c007203120002d009c2a..."} 
[2026-09-18 17:30:08] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b460c948012d19c1c007203120002d009c2a..."} 
[2026-09-18 17:30:08] local.INFO: Packet analysis {"connection_id":187613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:08] local.INFO: Extracted packet for processing {"connection_id":187613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756662720,"raw_latitude":119550240,"longitude_deg":75.666272,"latitude_deg":11.955024,"altitude":45,"angle":156,"satellites":42,"speed":30,"hex_longitude":"2d19c1c0","hex_latitude":"07203120","is_valid_coordinates":true} 
[2026-09-18 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171554048001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21446919192576000,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758384701440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30: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-09-18 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732637000,"timestamp_ms":1789732637000,"timestamp_seconds":1789732637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b460c948"} 
[2026-09-18 17:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 17:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171554048001,"66":13015,"103":206,"83":41984,"24":30,"16":21446919192576000,"45":1854849758384701440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171554048001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:30:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 17:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21446919192576000,"km_value":21446919192576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758384701440,"description":"Unknown IO ID 45"} 
[2026-09-18 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171554048001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1854849758384701440}} 
[2026-09-18 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":187613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:30:09] local.INFO: GPS data processed {"connection_id":187613,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:30:09] local.INFO: Acknowledgment sent {"connection_id":187613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:30:17] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:30:17] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:30:17] local.INFO: IMEI packet received {"connection_id":188933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":188933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:30:22] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:30:22] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:30:22] local.INFO: IMEI packet received {"connection_id":188933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":188933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:30:22] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:30:22] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:30:22] local.INFO: Packet analysis {"connection_id":188933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:22] local.INFO: Extracted packet for processing {"connection_id":188933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:22] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:30:22] 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-09-18 17:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:30:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:30:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":188933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:30:22] local.INFO: GPS data processed {"connection_id":188933,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:30:22] local.INFO: Acknowledgment sent {"connection_id":188933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:30:27] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:30:27] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:30:27] local.INFO: Packet analysis {"connection_id":188933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:27] local.INFO: Extracted packet for processing {"connection_id":188933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:30: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-09-18 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:30:27] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:30:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":188933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:30:27] local.INFO: GPS data processed {"connection_id":188933,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:30:27] local.INFO: Acknowledgment sent {"connection_id":188933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:30:28] local.INFO: TCP Data received {"connection_id":186181,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b462cce8012d7e258005e1b660000700d12c..."} 
[2026-09-18 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b462cce8012d7e258005e1b660000700d12c..."} 
[2026-09-18 17:30:28] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b462cce8012d7e258005e1b660000700d12c..."} 
[2026-09-18 17:30:28] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b462"} 
[2026-09-18 17:30:28] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b462"} 
[2026-09-18 17:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763241856,"raw_latitude":98678368,"longitude_deg":76.3241856,"latitude_deg":9.8678368,"altitude":7,"angle":209,"satellites":44,"speed":33,"hex_longitude":"2d7e2580","hex_latitude":"05e1b660","is_valid_coordinates":true} 
[2026-09-18 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171588096001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134780866931982336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091008454318880768,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789732769000,"timestamp_ms":1789732769000,"timestamp_seconds":1789732769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b462cce8"} 
[2026-09-18 17:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 17:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171588096001,"66":13722,"178":206,"9":25088,"24":33,"16":134780866931982336,"45":9091008454318880768},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,45]} 
[2026-09-18 17:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171588096001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:30:28] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-18 17:30:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-18 17:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134780866931982336,"km_value":134780866931982.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091008454318880768,"description":"Unknown IO ID 45"} 
[2026-09-18 17:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171588096001,"power":13722,"unknown_178":206,"unknown_9":25088,"ignition":33,"odometer":null,"unknown_45":9091008454318880768}} 
[2026-09-18 17:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:30:28] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:30:28] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:30:39] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b460f440012d19cc0007201b18002e00902b..."} 
[2026-09-18 17:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b460f440012d19cc0007201b18002e00902b..."} 
[2026-09-18 17:30:39] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b460f440012d19cc0007201b18002e00902b..."} 
[2026-09-18 17:30:39] local.INFO: Packet analysis {"connection_id":187613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:39] local.INFO: Extracted packet for processing {"connection_id":187613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119544600,"longitude_deg":75.6665344,"latitude_deg":11.95446,"altitude":46,"angle":144,"satellites":43,"speed":8,"hex_longitude":"2d19cc00","hex_latitude":"07201b18","is_valid_coordinates":true} 
[2026-09-18 17:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171555072001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447219840286720,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855975658290749440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789732648000,"timestamp_ms":1789732648000,"timestamp_seconds":1789732648,"priority":1,"record_length":96,"hex_timestamp":"000001a0b460f440"} 
[2026-09-18 17:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 17:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171555072001,"66":13004,"106":206,"83":41984,"24":8,"16":21447219840286720,"45":1855975658290749440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 17:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171555072001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:30:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 17:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447219840286720,"km_value":21447219840286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855975658290749440,"description":"Unknown IO ID 45"} 
[2026-09-18 17:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171555072001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1855975658290749440}} 
[2026-09-18 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":187613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:30:40] local.INFO: GPS data processed {"connection_id":187613,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:30:40] local.INFO: Acknowledgment sent {"connection_id":187613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:30:49] local.INFO: TCP Data received {"connection_id":188934,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:30:49] local.INFO: Processing buffer {"connection_id":188934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:30:49] local.INFO: IMEI packet received {"connection_id":188934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":188934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:30:53] local.INFO: TCP Data received {"connection_id":188934,"ip":"117.224.230.137","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:30:53] local.INFO: Processing buffer {"connection_id":188934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:30:53] local.INFO: IMEI packet received {"connection_id":188934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":188934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:30:54] local.INFO: TCP Data received {"connection_id":188934,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b463bf18012d7e128005e0daf0000600bb28..."} 
[2026-09-18 17:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b463bf18012d7e128005e0daf0000600bb28..."} 
[2026-09-18 17:30:54] local.INFO: Processing buffer {"connection_id":188934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b463bf18012d7e128005e0daf0000600bb28..."} 
[2026-09-18 17:30:54] local.INFO: Packet analysis {"connection_id":188934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b463"} 
[2026-09-18 17:30:54] local.INFO: Extracted packet for processing {"connection_id":188934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b463"} 
[2026-09-18 17:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":98622192,"longitude_deg":76.3236992,"latitude_deg":9.8622192,"altitude":6,"angle":187,"satellites":40,"speed":27,"hex_longitude":"2d7e1280","hex_latitude":"05e0daf0","is_valid_coordinates":true} 
[2026-09-18 17:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171601920001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134783675840593920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464161097019392,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789732831000,"timestamp_ms":1789732831000,"timestamp_seconds":1789732831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b463bf18"} 
[2026-09-18 17:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867908311,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3026397864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779995648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2389245364227014656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275790979,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2692939982,"corrected_to":0} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221610792,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728736,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3625910272,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":126,"raw_value":1747403121268097030,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035450711943728649,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.WARNING: Large IO value detected {"io_id":98,"raw_value":6755618484519153,"note":"Value kept but may cause issues"} 
[2026-09-18 17:30:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,131,19,24,241,158,16,216,160,128,45,2,5,38,10,66,116,192,11,41,97,64,1,240,78,180,225,4,113,205,30,77,32,184,42,239,52,222,54,126,53,98],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2692939982,"validated":0}]} 
[2026-09-18 17:30:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360479457013268480,"timestamp_seconds":360479457013268.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171601920001,"66":13656,"131":206,"19":45824,"24":27,"16":134783675840593920,"45":9084464161097019392},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-09-18 17:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171601920001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:30:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-18 17:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134783675840593920,"km_value":134783675840593.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464161097019392,"description":"Unknown IO ID 45"} 
[2026-09-18 17:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171601920001,"power":13656,"unknown_131":206,"unknown_19":45824,"ignition":27,"odometer":null,"unknown_45":9084464161097019392}} 
[2026-09-18 17:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":188934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:30:54] local.INFO: GPS data processed {"connection_id":188934,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:30:54] local.INFO: Acknowledgment sent {"connection_id":188934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:31:02] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:31:02] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:31:02] local.INFO: IMEI packet received {"connection_id":186332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":186332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:31:08] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:31:08] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:31:08] local.INFO: IMEI packet received {"connection_id":186332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":186332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:31:08] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b460fff8012d19cd80072019a8002e00832b..."} 
[2026-09-18 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b460fff8012d19cd80072019a8002e00832b..."} 
[2026-09-18 17:31:08] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b460fff8012d19cd80072019a8002e00832b..."} 
[2026-09-18 17:31:08] local.INFO: Packet analysis {"connection_id":186332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:31:08] local.INFO: Extracted packet for processing {"connection_id":186332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544232,"longitude_deg":75.6665728,"latitude_deg":11.9544232,"altitude":46,"angle":131,"satellites":43,"speed":7,"hex_longitude":"2d19cd80","hex_latitude":"072019a8","is_valid_coordinates":true} 
[2026-09-18 17:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171557888001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447245610090496,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776800589824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732651000,"timestamp_ms":1789732651000,"timestamp_seconds":1789732651,"priority":1,"record_length":96,"hex_timestamp":"000001a0b460fff8"} 
[2026-09-18 17:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 17:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171557888001,"66":13015,"106":206,"83":41984,"24":7,"16":21447245610090496,"45":1858860776800589824},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 17:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171557888001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 17:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447245610090496,"km_value":21447245610090.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776800589824,"description":"Unknown IO ID 45"} 
[2026-09-18 17:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171557888001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1858860776800589824}} 
[2026-09-18 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":186332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:31:09] local.INFO: GPS data processed {"connection_id":186332,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:31:09] local.INFO: Acknowledgment sent {"connection_id":186332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:31:12] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:31:12] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:31:12] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:31:17] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:31:17] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:31:17] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:31:18] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:31:18] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:31:18] local.INFO: Packet analysis {"connection_id":186333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:31:18] local.INFO: Extracted packet for processing {"connection_id":186333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:31:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:31:18] 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-09-18 17:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:31:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:31:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":186333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:31:18] local.INFO: GPS data processed {"connection_id":186333,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:31:18] local.INFO: Acknowledgment sent {"connection_id":186333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:31:25] local.INFO: TCP Data received {"connection_id":188934,"ip":"117.224.230.137","data_length":795,"data_hex":"000000000000030f8e0a000001a0b463da70012d7e108005e0c588000500ab29..."} 
[2026-09-18 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b463da70012d7e108005e0c588000500ab29..."} 
[2026-09-18 17:31:25] local.INFO: Processing buffer {"connection_id":188934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b463da70012d7e108005e0c588000500ab29..."} 
[2026-09-18 17:31:25] local.INFO: Packet analysis {"connection_id":188934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b463"} 
[2026-09-18 17:31:25] local.INFO: Extracted packet for processing {"connection_id":188934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b463"} 
[2026-09-18 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763236480,"raw_latitude":98616712,"longitude_deg":76.323648,"latitude_deg":9.8616712,"altitude":5,"angle":171,"satellites":41,"speed":29,"hex_longitude":"2d7e1080","hex_latitude":"05e0c588","is_valid_coordinates":true} 
[2026-09-18 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171604736001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134783946423533568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464161095348224,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789732838000,"timestamp_ms":1789732838000,"timestamp_seconds":1789732838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b463da70"} 
[2026-09-18 17:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 17:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.230.137","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171604736001,"66":13580,"131":206,"19":45824,"24":29,"16":134783946423533568,"45":9084464161095348224},"client_ip":"117.224.230.137","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-09-18 17:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171604736001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134783946423533568,"km_value":134783946423533.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464161095348224,"description":"Unknown IO ID 45"} 
[2026-09-18 17:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171604736001,"power":13580,"unknown_131":206,"unknown_19":45824,"ignition":29,"odometer":null,"unknown_45":9084464161095348224}} 
[2026-09-18 17:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":188934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:31:26] local.INFO: GPS data processed {"connection_id":188934,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:31:26] local.INFO: Acknowledgment sent {"connection_id":188934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:31:40] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46103e0012d19ce0007201910002e00952a..."} 
[2026-09-18 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46103e0012d19ce0007201910002e00952a..."} 
[2026-09-18 17:31:40] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46103e0012d19ce0007201910002e00952a..."} 
[2026-09-18 17:31:40] local.INFO: Packet analysis {"connection_id":186332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:31:40] local.INFO: Extracted packet for processing {"connection_id":186332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544080,"longitude_deg":75.6665856,"latitude_deg":11.954408,"altitude":46,"angle":149,"satellites":42,"speed":7,"hex_longitude":"2d19ce00","hex_latitude":"07201910","is_valid_coordinates":true} 
[2026-09-18 17:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171558656001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447258494992384,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265561600,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732652000,"timestamp_ms":1789732652000,"timestamp_seconds":1789732652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46103e0"} 
[2026-09-18 17:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 17:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171558656001,"66":12972,"106":206,"83":41984,"24":7,"16":21447258494992384,"45":1859282989265561600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 17:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171558656001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447258494992384,"km_value":21447258494992.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265561600,"description":"Unknown IO ID 45"} 
[2026-09-18 17:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171558656001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1859282989265561600}} 
[2026-09-18 17:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":186332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:31:40] local.INFO: GPS data processed {"connection_id":186332,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:31:40] local.INFO: Acknowledgment sent {"connection_id":186332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:31:49] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:31:49] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:31:49] local.INFO: Packet analysis {"connection_id":186333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:31:49] local.INFO: Extracted packet for processing {"connection_id":186333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:31:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:31:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:31:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:31:49] local.INFO: GPS data processed {"connection_id":186333,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:31:49] local.INFO: Acknowledgment sent {"connection_id":186333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:32:02] local.INFO: TCP Data received {"connection_id":187614,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:32:02] local.INFO: Processing buffer {"connection_id":187614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:32:02] local.INFO: IMEI packet received {"connection_id":187614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":187614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:32:08] local.INFO: TCP Data received {"connection_id":187614,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:32:08] local.INFO: Processing buffer {"connection_id":187614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:32:08] local.INFO: IMEI packet received {"connection_id":187614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":187614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:32:08] local.INFO: TCP Data received {"connection_id":187614,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46155e8012d19ce8007201888002e009527..."} 
[2026-09-18 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46155e8012d19ce8007201888002e009527..."} 
[2026-09-18 17:32:08] local.INFO: Processing buffer {"connection_id":187614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46155e8012d19ce8007201888002e009527..."} 
[2026-09-18 17:32:08] local.INFO: Packet analysis {"connection_id":187614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:32:08] local.INFO: Extracted packet for processing {"connection_id":187614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171558912001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753878016,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32: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-09-18 17:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789732673000,"timestamp_ms":1789732673000,"timestamp_seconds":1789732673,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46155e8"} 
[2026-09-18 17:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 17:32: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-09-18 17:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171558912001,"66":13004,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859423726753878016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171558912001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:32:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753878016,"description":"Unknown IO ID 45"} 
[2026-09-18 17:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171558912001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753878016}} 
[2026-09-18 17:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":187614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:32:09] local.INFO: GPS data processed {"connection_id":187614,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:32:09] local.INFO: Acknowledgment sent {"connection_id":187614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:32:13] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:32:13] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:32:13] local.INFO: IMEI packet received {"connection_id":187615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":187615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:32:18] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:32:18] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:32:18] local.INFO: IMEI packet received {"connection_id":187615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":187615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:32:19] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:32:19] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:32:19] local.INFO: Packet analysis {"connection_id":187615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:32:19] local.INFO: Extracted packet for processing {"connection_id":187615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:32:19] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:32:19] 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-09-18 17:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:32:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:32:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":187615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:32:19] local.INFO: GPS data processed {"connection_id":187615,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:32:19] local.INFO: Acknowledgment sent {"connection_id":187615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:32:22] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:32:22] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46082f8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:32:22] local.INFO: Packet analysis {"connection_id":187615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:32:22] local.INFO: Extracted packet for processing {"connection_id":187615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b460"} 
[2026-09-18 17:32:22] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171473408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789732619000,"timestamp_ms":1789732619000,"timestamp_seconds":1789732619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46082f8"} 
[2026-09-18 17:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 17:32:22] 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-09-18 17:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171473408001,"66":25593,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171473408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:32:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:32:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171473408001,"power":25593,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":187615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:32:22] local.INFO: GPS data processed {"connection_id":187615,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:32:22] local.INFO: Acknowledgment sent {"connection_id":187615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:32:40] local.INFO: TCP Data received {"connection_id":187614,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b461a7f0012d19ce8007201888002e009528..."} 
[2026-09-18 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b461a7f0012d19ce8007201888002e009528..."} 
[2026-09-18 17:32:40] local.INFO: Processing buffer {"connection_id":187614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b461a7f0012d19ce8007201888002e009528..."} 
[2026-09-18 17:32:40] local.INFO: Packet analysis {"connection_id":187614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:32:40] local.INFO: Extracted packet for processing {"connection_id":187614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171564288001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789732694000,"timestamp_ms":1789732694000,"timestamp_seconds":1789732694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b461a7f0"} 
[2026-09-18 17:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 17:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171564288001,"66":12972,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171564288001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:32:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171564288001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":187614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:32:40] local.INFO: GPS data processed {"connection_id":187614,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:32:40] local.INFO: Acknowledgment sent {"connection_id":187614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:32:40] local.INFO: TCP Data received {"connection_id":187611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:32:40] local.INFO: Processing buffer {"connection_id":187611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:32:40] local.INFO: IMEI packet received {"connection_id":187611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":187611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:32:54] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:32:54] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:32:54] local.INFO: Packet analysis {"connection_id":187615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:32:54] local.INFO: Extracted packet for processing {"connection_id":187615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171550464001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789732919000,"timestamp_ms":1789732919000,"timestamp_seconds":1789732919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46516d8"} 
[2026-09-18 17:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 17:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171550464001,"66":25897,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171550464001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:32:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:32:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171550464001,"power":25897,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":187615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:32:54] local.INFO: GPS data processed {"connection_id":187615,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:32:54] local.INFO: Acknowledgment sent {"connection_id":187615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:33:03] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:03] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:03] local.INFO: IMEI packet received {"connection_id":188935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":188935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:33:08] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:08] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:08] local.INFO: IMEI packet received {"connection_id":188935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:33:11] local.INFO: TCP Data received {"connection_id":186182,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:33:11] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:33:11] local.INFO: IMEI packet received {"connection_id":186182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:33:13] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:13] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:33:13] local.INFO: IMEI packet received {"connection_id":188935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:33:13] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b461f9f8012d19ce8007201888002e00952b..."} 
[2026-09-18 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b461f9f8012d19ce8007201888002e00952b..."} 
[2026-09-18 17:33:13] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b461f9f8012d19ce8007201888002e00952b..."} 
[2026-09-18 17:33:13] local.INFO: Packet analysis {"connection_id":188935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:33:13] local.INFO: Extracted packet for processing {"connection_id":188935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b461"} 
[2026-09-18 17:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171569664001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789732715000,"timestamp_ms":1789732715000,"timestamp_seconds":1789732715,"priority":1,"record_length":96,"hex_timestamp":"000001a0b461f9f8"} 
[2026-09-18 17:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 17:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171569664001,"66":12961,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171569664001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:33:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171569664001,"power":12961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":188935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:33:14] local.INFO: GPS data processed {"connection_id":188935,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:33:14] local.INFO: Acknowledgment sent {"connection_id":188935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:33:14] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:14] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:14] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:33:17] local.INFO: TCP Data received {"connection_id":186182,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:33:17] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:33:17] local.INFO: IMEI packet received {"connection_id":186182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":186182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:33:18] local.INFO: TCP Data received {"connection_id":186182,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:33:18] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:33:18] local.INFO: Packet analysis {"connection_id":186182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:33:18] local.INFO: Extracted packet for processing {"connection_id":186182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171550464001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732919000,"timestamp_ms":1789732919000,"timestamp_seconds":1789732919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46516d8"} 
[2026-09-18 17:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 17:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171550464001,"66":25897,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171550464001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171550464001,"power":25897,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:33:18] local.INFO: GPS data processed {"connection_id":186182,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:33:18] local.INFO: Acknowledgment sent {"connection_id":186182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:33:18] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4624c00012d19ce8007201888002e009528..."} 
[2026-09-18 17:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4624c00012d19ce8007201888002e009528..."} 
[2026-09-18 17:33:18] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4624c00012d19ce8007201888002e009528..."} 
[2026-09-18 17:33:18] local.INFO: Packet analysis {"connection_id":188935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b462"} 
[2026-09-18 17:33:18] local.INFO: Extracted packet for processing {"connection_id":188935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b462"} 
[2026-09-18 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171575040001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732736000,"timestamp_ms":1789732736000,"timestamp_seconds":1789732736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4624c00"} 
[2026-09-18 17:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 17:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171575040001,"66":12939,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171575040001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171575040001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":188935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:33:18] local.INFO: GPS data processed {"connection_id":188935,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:33:18] local.INFO: Acknowledgment sent {"connection_id":188935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:33:19] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:19] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:19] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:33:19] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:33:19] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:33:19] local.INFO: IMEI packet received {"connection_id":186334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":186334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:33:20] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b464dc40012d7e54c005e01310000800a12b..."} 
[2026-09-18 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b464dc40012d7e54c005e01310000800a12b..."} 
[2026-09-18 17:33:20] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b464dc40012d7e54c005e01310000800a12b..."} 
[2026-09-18 17:33:20] local.INFO: Packet analysis {"connection_id":186335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b464"} 
[2026-09-18 17:33:20] local.INFO: Extracted packet for processing {"connection_id":186335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b464"} 
[2026-09-18 17:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98571024,"longitude_deg":76.3253952,"latitude_deg":9.8571024,"altitude":8,"angle":161,"satellites":43,"speed":33,"hex_longitude":"2d7e54c0","hex_latitude":"05e01310","is_valid_coordinates":true} 
[2026-09-18 17:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171620608001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134786420324696064,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099311966105919488,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789732904000,"timestamp_ms":1789732904000,"timestamp_seconds":1789732904,"priority":1,"record_length":96,"hex_timestamp":"000001a0b464dc40"} 
[2026-09-18 17:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:33: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-09-18 17:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171620608001,"66":13559,"131":206,"19":45824,"24":33,"16":134786420324696064,"45":9099311966105919488},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-09-18 17:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171620608001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:33:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-18 17:33:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134786420324696064,"km_value":134786420324696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099311966105919488,"description":"Unknown IO ID 45"} 
[2026-09-18 17:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171620608001,"power":13559,"unknown_131":206,"unknown_19":45824,"ignition":33,"odometer":null,"unknown_45":9099311966105919488}} 
[2026-09-18 17:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":186335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:33:20] local.INFO: GPS data processed {"connection_id":186335,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:33:20] local.INFO: Acknowledgment sent {"connection_id":186335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:33:47] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:47] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:47] local.INFO: IMEI packet received {"connection_id":186336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":186336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:33:48] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:48] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:48] local.INFO: IMEI packet received {"connection_id":186336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":186336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:33:50] local.INFO: TCP Data received {"connection_id":186182,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:33:50] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:33:50] local.INFO: Packet analysis {"connection_id":186182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:33:50] local.INFO: Extracted packet for processing {"connection_id":186182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:33:50] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171550464001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789732919000,"timestamp_ms":1789732919000,"timestamp_seconds":1789732919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46516d8"} 
[2026-09-18 17:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 17:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171550464001,"66":25897,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171550464001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:33:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:33:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171550464001,"power":25897,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":186182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:33:50] local.INFO: GPS data processed {"connection_id":186182,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:33:50] local.INFO: Acknowledgment sent {"connection_id":186182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:33:53] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:53] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:33:53] local.INFO: IMEI packet received {"connection_id":186336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":186336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:33:55] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46516d8012d7e5e4005dff000000700a92a..."} 
[2026-09-18 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46516d8012d7e5e4005dff000000700a92a..."} 
[2026-09-18 17:33:55] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46516d8012d7e5e4005dff000000700a92a..."} 
[2026-09-18 17:33:55] local.INFO: Packet analysis {"connection_id":186336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:33:55] local.INFO: Extracted packet for processing {"connection_id":186336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763256384,"raw_latitude":98562048,"longitude_deg":76.3256384,"latitude_deg":9.8562048,"altitude":7,"angle":169,"satellites":42,"speed":25,"hex_longitude":"2d7e5e40","hex_latitude":"05dff000","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171623424001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134786871296262144,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878289330176,"note":"Value kept but may cause issues"} 
[2026-09-18 17:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789732919000,"timestamp_ms":1789732919000,"timestamp_seconds":1789732919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46516d8"} 
[2026-09-18 17:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 17:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171623424001,"66":13656,"131":206,"19":45824,"24":25,"16":134786871296262144,"45":9103111878289330176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-09-18 17:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171623424001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:33:55] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-18 17:33:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-18 17:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134786871296262144,"km_value":134786871296262.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878289330176,"description":"Unknown IO ID 45"} 
[2026-09-18 17:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171623424001,"power":13656,"unknown_131":206,"unknown_19":45824,"ignition":25,"odometer":null,"unknown_45":9103111878289330176}} 
[2026-09-18 17:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":186336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:33:55] local.INFO: GPS data processed {"connection_id":186336,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:33:55] local.INFO: Acknowledgment sent {"connection_id":186336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:34:03] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:34:03] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:34:03] local.INFO: IMEI packet received {"connection_id":187616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":187616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:34:07] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:34:07] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:34:07] local.INFO: IMEI packet received {"connection_id":187616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":187616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:34:08] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a0b465d258012d19ce8007201888002e00952a..."} 
[2026-09-18 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b465d258012d19ce8007201888002e00952a..."} 
[2026-09-18 17:34:08] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b465d258012d19ce8007201888002e00952a..."} 
[2026-09-18 17:34:08] local.INFO: Packet analysis {"connection_id":187616,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b465"} 
[2026-09-18 17:34:08] local.INFO: Extracted packet for processing {"connection_id":187616,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b465"} 
[2026-09-18 17:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-18 17:34: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-09-18 17:34: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-09-18 17:34:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:34:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-18 17:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187616,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 17:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187616,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 17:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187616,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-18 17:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-18 17:34:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-18 17:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":187616,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-18 17:34:08] local.ERROR: GPS data processing failed {"connection_id":187616,"error":"No valid data to process"} 
[2026-09-18 17:34:08] local.INFO: Acknowledgment sent {"connection_id":187616,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-18 17:34:11] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:34:11] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:34:11] local.INFO: IMEI packet received {"connection_id":188936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":188936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:34:17] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:34:17] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:34:17] local.INFO: IMEI packet received {"connection_id":188936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":188936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:34:18] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:34:18] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46516d8012d4cdd00068f4938004801322a..."} 
[2026-09-18 17:34:18] local.INFO: Packet analysis {"connection_id":188936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:34:18] local.INFO: Extracted packet for processing {"connection_id":188936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b465"} 
[2026-09-18 17:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171550464001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789732919000,"timestamp_ms":1789732919000,"timestamp_seconds":1789732919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46516d8"} 
[2026-09-18 17:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 17:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171550464001,"66":25897,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171550464001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:34:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:34:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171550464001,"power":25897,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":188936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:34:18] local.INFO: GPS data processed {"connection_id":188936,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:34:18] local.INFO: Acknowledgment sent {"connection_id":188936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:34:27] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4671e60012d7ed04005dec688000b00b227..."} 
[2026-09-18 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4671e60012d7ed04005dec688000b00b227..."} 
[2026-09-18 17:34:27] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4671e60012d7ed04005dec688000b00b227..."} 
[2026-09-18 17:34:27] local.INFO: Packet analysis {"connection_id":186336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:34:27] local.INFO: Extracted packet for processing {"connection_id":186336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763285568,"raw_latitude":98485896,"longitude_deg":76.3285568,"latitude_deg":9.8485896,"altitude":11,"angle":178,"satellites":39,"speed":37,"hex_longitude":"2d7ed040","hex_latitude":"05dec688","is_valid_coordinates":true} 
[2026-09-18 17:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171659264001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134790882795716608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136959244219031552,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789733052000,"timestamp_ms":1789733052000,"timestamp_seconds":1789733052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4671e60"} 
[2026-09-18 17:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-18 17:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171659264001,"66":13341,"206":206,"85":15104,"24":37,"16":134790882795716608,"45":9136959244219031552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 17:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171659264001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:34:27] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 17:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134790882795716608,"km_value":134790882795716.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136959244219031552,"description":"Unknown IO ID 45"} 
[2026-09-18 17:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171659264001,"power":13341,"unknown_206":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9136959244219031552}} 
[2026-09-18 17:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":186336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:34:27] local.INFO: GPS data processed {"connection_id":186336,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:34:27] local.INFO: Acknowledgment sent {"connection_id":186336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:34:39] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4662460012d19ce8007201888002e00952a..."} 
[2026-09-18 17:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4662460012d19ce8007201888002e00952a..."} 
[2026-09-18 17:34:39] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4662460012d19ce8007201888002e00952a..."} 
[2026-09-18 17:34:39] local.INFO: Packet analysis {"connection_id":187616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b466"} 
[2026-09-18 17:34:39] local.INFO: Extracted packet for processing {"connection_id":187616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b466"} 
[2026-09-18 17:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171639552001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789732988000,"timestamp_ms":1789732988000,"timestamp_seconds":1789732988,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4662460"} 
[2026-09-18 17:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 17:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171639552001,"66":12722,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171639552001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:34:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171639552001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":187616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:34:39] local.INFO: GPS data processed {"connection_id":187616,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:34:39] local.INFO: Acknowledgment sent {"connection_id":187616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:34:48] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:48] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:48] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:34:49] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:49] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:49] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:34:49] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46712a8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46712a8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:34:49] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46712a8012d4cdd00068f4938004801322b..."} 
[2026-09-18 17:34:49] local.INFO: Packet analysis {"connection_id":188936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:34:49] local.INFO: Extracted packet for processing {"connection_id":188936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:34:49] local.INFO: GPS Element Parsed {"raw_longitude":760012032,"raw_latitude":110053688,"longitude_deg":76.0012032,"latitude_deg":11.0053688,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdd00","hex_latitude":"068f4938","is_valid_coordinates":true} 
[2026-09-18 17:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171627264001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789733049000,"timestamp_ms":1789733049000,"timestamp_seconds":1789733049,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46712a8"} 
[2026-09-18 17:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 17:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 17:34:49] 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-09-18 17:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171627264001,"66":26028,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171627264001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:34:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:34:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171627264001,"power":26028,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":188936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:34:49] local.INFO: GPS data processed {"connection_id":188936,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:34:49] local.INFO: Acknowledgment sent {"connection_id":188936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:34:54] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:54] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:34:54] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:34:54] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4674d40012d7ed54005dea190000800a628..."} 
[2026-09-18 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4674d40012d7ed54005dea190000800a628..."} 
[2026-09-18 17:34:54] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4674d40012d7ed54005dea190000800a628..."} 
[2026-09-18 17:34:54] local.INFO: Packet analysis {"connection_id":186183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:34:54] local.INFO: Extracted packet for processing {"connection_id":186183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763286848,"raw_latitude":98476432,"longitude_deg":76.3286848,"latitude_deg":9.8476432,"altitude":8,"angle":166,"satellites":40,"speed":32,"hex_longitude":"2d7ed540","hex_latitude":"05dea190","is_valid_coordinates":true} 
[2026-09-18 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171661312001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134791346652184576,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137874037891303424,"note":"Value kept but may cause issues"} 
[2026-09-18 17:34:54] 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-09-18 17:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733064000,"timestamp_ms":1789733064000,"timestamp_seconds":1789733064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4674d40"} 
[2026-09-18 17:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 17:34:54] 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-09-18 17:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171661312001,"66":13330,"206":206,"85":15104,"24":32,"16":134791346652184576,"45":9137874037891303424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 17:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171661312001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:34:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 17:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134791346652184576,"km_value":134791346652184.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137874037891303424,"description":"Unknown IO ID 45"} 
[2026-09-18 17:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171661312001,"power":13330,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9137874037891303424}} 
[2026-09-18 17:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":186183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:34:55] local.INFO: GPS data processed {"connection_id":186183,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:34:55] local.INFO: Acknowledgment sent {"connection_id":186183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:03] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:35:03] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:35:03] local.INFO: IMEI packet received {"connection_id":187617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":187617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:35:08] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:35:08] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:35:08] local.INFO: IMEI packet received {"connection_id":187617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":187617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:35:08] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4667668012d19ce8007201888002e00952c..."} 
[2026-09-18 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4667668012d19ce8007201888002e00952c..."} 
[2026-09-18 17:35:08] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4667668012d19ce8007201888002e00952c..."} 
[2026-09-18 17:35:08] local.INFO: Packet analysis {"connection_id":187617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b466"} 
[2026-09-18 17:35:08] local.INFO: Extracted packet for processing {"connection_id":187617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b466"} 
[2026-09-18 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171644928001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35: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-09-18 17:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789733009000,"timestamp_ms":1789733009000,"timestamp_seconds":1789733009,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4667668"} 
[2026-09-18 17:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171644928001,"66":12722,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171644928001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171644928001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":187617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:08] local.INFO: GPS data processed {"connection_id":187617,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:08] local.INFO: Acknowledgment sent {"connection_id":187617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:12] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:12] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:12] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:35:17] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:17] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:17] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:35:22] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:22] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:35:22] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:35:23] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4677838012d4cdc40068f4a60004801322b..."} 
[2026-09-18 17:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4677838012d4cdc40068f4a60004801322b..."} 
[2026-09-18 17:35:23] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4677838012d4cdc40068f4a60004801322b..."} 
[2026-09-18 17:35:23] local.INFO: Packet analysis {"connection_id":186337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:23] local.INFO: Extracted packet for processing {"connection_id":186337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:23] local.INFO: GPS Element Parsed {"raw_longitude":760011840,"raw_latitude":110053984,"longitude_deg":76.001184,"latitude_deg":11.0053984,"altitude":72,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d4cdc40","hex_latitude":"068f4a60","is_valid_coordinates":true} 
[2026-09-18 17:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171660544001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538583144909322240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789733075000,"timestamp_ms":1789733075000,"timestamp_seconds":1789733075,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4677838"} 
[2026-09-18 17:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 17:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171660544001,"66":27365,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538583144909322240},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171660544001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:35:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538583144909322240,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171660544001,"power":27365,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538583144909322240}} 
[2026-09-18 17:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":186337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:23] local.INFO: GPS data processed {"connection_id":186337,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:23] local.INFO: Acknowledgment sent {"connection_id":186337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:25] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4674d40012d7ed54005dea190000800a628..."} 
[2026-09-18 17:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4674d40012d7ed54005dea190000800a628..."} 
[2026-09-18 17:35:25] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4674d40012d7ed54005dea190000800a628..."} 
[2026-09-18 17:35:25] local.INFO: Packet analysis {"connection_id":186183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:25] local.INFO: Extracted packet for processing {"connection_id":186183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763286848,"raw_latitude":98476432,"longitude_deg":76.3286848,"latitude_deg":9.8476432,"altitude":8,"angle":166,"satellites":40,"speed":32,"hex_longitude":"2d7ed540","hex_latitude":"05dea190","is_valid_coordinates":true} 
[2026-09-18 17:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171664384001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134791346652184576,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139281412772433920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] 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-09-18 17:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789733064000,"timestamp_ms":1789733064000,"timestamp_seconds":1789733064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4674d40"} 
[2026-09-18 17:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3026616864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4767060252826544384,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":20481,"corrected_to":0} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278207112452203720,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3734372352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138918,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3743535104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":102,"raw_value":5717321021855612933,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-3530595242401064960,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:25] local.INFO: IO Element Parsed {"io_data_count":49,"io_data_keys":[0,206,85,24,241,157,16,224,160,30,45,64,198,11,39,10,66,223,255,229,13,42,247,1,240,7,227,180,222,4,113,205,36,184,171,48,41,239,51,207,2,5,12,14,94,102,33,166,72],"length":626,"final_offset":756,"validated_count":49,"validation_warnings":[{"io_id":247,"original":20481,"validated":0},{"io_id":205,"original":2798584014,"validated":0}]} 
[2026-09-18 17:35:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576643443034423296,"timestamp_seconds":576643443034423.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171664384001,"66":13330,"206":206,"85":15104,"24":32,"16":134791346652184576,"45":9139281412772433920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 17:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171664384001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 17:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134791346652184576,"km_value":134791346652184.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139281412772433920,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171664384001,"power":13330,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9139281412772433920}} 
[2026-09-18 17:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":186183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:25] local.INFO: GPS data processed {"connection_id":186183,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:25] local.INFO: Acknowledgment sent {"connection_id":186183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:39] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b466c870012d19ce8007201888002e00952b..."} 
[2026-09-18 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b466c870012d19ce8007201888002e00952b..."} 
[2026-09-18 17:35:39] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b466c870012d19ce8007201888002e00952b..."} 
[2026-09-18 17:35:39] local.INFO: Packet analysis {"connection_id":187617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b466"} 
[2026-09-18 17:35:39] local.INFO: Extracted packet for processing {"connection_id":187617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b466"} 
[2026-09-18 17:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171650304001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789733030000,"timestamp_ms":1789733030000,"timestamp_seconds":1789733030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b466c870"} 
[2026-09-18 17:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171650304001,"66":12722,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171650304001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171650304001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":187617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:40] local.INFO: GPS data processed {"connection_id":187617,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:40] local.INFO: Acknowledgment sent {"connection_id":187617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:47] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:47] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:47] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:35:49] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:49] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:49] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:35:53] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:53] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:35:53] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:35:54] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4678008012d7ee08005de7f380008009c28..."} 
[2026-09-18 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4678008012d7ee08005de7f380008009c28..."} 
[2026-09-18 17:35:54] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4678008012d7ee08005de7f380008009c28..."} 
[2026-09-18 17:35:54] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:54] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763289728,"raw_latitude":98467640,"longitude_deg":76.3289728,"latitude_deg":9.846764,"altitude":8,"angle":156,"satellites":40,"speed":28,"hex_longitude":"2d7ee080","hex_latitude":"05de7f38","is_valid_coordinates":true} 
[2026-09-18 17:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171664384001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134791797623750656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139281412772433920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] 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-09-18 17:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733077000,"timestamp_ms":1789733077000,"timestamp_seconds":1789733077,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4678008"} 
[2026-09-18 17:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":18,"data_length":795,"current_offset":136} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3026630864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2436447449957213952,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278220031713821224,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3741384704,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798518478,"corrected_to":0} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":917643,"corrected_to":0} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3742642176,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-9070248354614394875,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-3530595242401064960,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,206,85,24,241,157,16,224,160,77,45,64,161,8,40,10,66,30,198,11,39,223,255,1,240,220,227,180,222,4,113,205,33,231,195,200,239,53,207,2,5,15,19,242,102,14,166,72],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2798518478,"validated":0},{"io_id":200,"original":917643,"validated":0}]} 
[2026-09-18 17:35:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576643443034423296,"timestamp_seconds":576643443034423.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171664384001,"66":13656,"206":206,"85":15104,"24":28,"16":134791797623750656,"45":9139281412772433920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171664384001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134791797623750656,"km_value":134791797623750.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139281412772433920,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171664384001,"power":13656,"unknown_206":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9139281412772433920}} 
[2026-09-18 17:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:54] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:54] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:54] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b467ca40012d4cdc40068f4a60004801322e..."} 
[2026-09-18 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b467ca40012d4cdc40068f4a60004801322e..."} 
[2026-09-18 17:35:54] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b467ca40012d4cdc40068f4a60004801322e..."} 
[2026-09-18 17:35:54] local.INFO: Packet analysis {"connection_id":186337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:54] local.INFO: Extracted packet for processing {"connection_id":186337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":760011840,"raw_latitude":110053984,"longitude_deg":76.001184,"latitude_deg":11.0053984,"altitude":72,"angle":306,"satellites":46,"speed":0,"hex_longitude":"2d4cdc40","hex_latitude":"068f4a60","is_valid_coordinates":true} 
[2026-09-18 17:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171667200001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538372038676865024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733096000,"timestamp_ms":1789733096000,"timestamp_seconds":1789733096,"priority":1,"record_length":96,"hex_timestamp":"000001a0b467ca40"} 
[2026-09-18 17:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 17:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171667200001,"66":27919,"142":206,"86":48896,"24":0,"16":405531941664718848,"45":5538372038676865024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171667200001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538372038676865024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171667200001,"power":27919,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538372038676865024}} 
[2026-09-18 17:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":186337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:54] local.INFO: GPS data processed {"connection_id":186337,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:54] local.INFO: Acknowledgment sent {"connection_id":186337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:35:56] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b467a718012d7eedc005de5e48000800a32a..."} 
[2026-09-18 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b467a718012d7eedc005de5e48000800a32a..."} 
[2026-09-18 17:35:56] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b467a718012d7eedc005de5e48000800a32a..."} 
[2026-09-18 17:35:56] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:56] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763293120,"raw_latitude":98459208,"longitude_deg":76.329312,"latitude_deg":9.8459208,"altitude":8,"angle":163,"satellites":42,"speed":44,"hex_longitude":"2d7eedc0","hex_latitude":"05de5e48","is_valid_coordinates":true} 
[2026-09-18 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171667712001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134792235710414848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142448006258178048,"note":"Value kept but may cause issues"} 
[2026-09-18 17:35:56] 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-09-18 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789733087000,"timestamp_ms":1789733087000,"timestamp_seconds":1789733087,"priority":1,"record_length":96,"hex_timestamp":"000001a0b467a718"} 
[2026-09-18 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 17:35: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-09-18 17:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171667712001,"66":13493,"206":206,"85":15104,"24":44,"16":134792235710414848,"45":9142448006258178048},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171667712001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:35:56] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 17:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134792235710414848,"km_value":134792235710414.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142448006258178048,"description":"Unknown IO ID 45"} 
[2026-09-18 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171667712001,"power":13493,"unknown_206":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9142448006258178048}} 
[2026-09-18 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:35:56] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:35:56] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:36:02] local.INFO: TCP Data received {"connection_id":188937,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:36:02] local.INFO: Processing buffer {"connection_id":188937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:36:02] local.INFO: IMEI packet received {"connection_id":188937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":188937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:36:08] local.INFO: TCP Data received {"connection_id":188937,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:36:08] local.INFO: Processing buffer {"connection_id":188937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:36:08] local.INFO: IMEI packet received {"connection_id":188937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:36:08] local.INFO: TCP Data received {"connection_id":188937,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4671a78012d19ce8007201888002e00952e..."} 
[2026-09-18 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4671a78012d19ce8007201888002e00952e..."} 
[2026-09-18 17:36:08] local.INFO: Processing buffer {"connection_id":188937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4671a78012d19ce8007201888002e00952e..."} 
[2026-09-18 17:36:08] local.INFO: Packet analysis {"connection_id":188937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:36:08] local.INFO: Extracted packet for processing {"connection_id":188937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171655680001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36: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-09-18 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789733051000,"timestamp_ms":1789733051000,"timestamp_seconds":1789733051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4671a78"} 
[2026-09-18 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171655680001,"66":12722,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171655680001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:36:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171655680001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":188937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:36:08] local.INFO: GPS data processed {"connection_id":188937,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:36:08] local.INFO: Acknowledgment sent {"connection_id":188937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:36:11] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:36:11] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:36:11] local.INFO: IMEI packet received {"connection_id":188938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":188938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:36:16] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:36:16] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:36:16] local.INFO: IMEI packet received {"connection_id":188938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":188938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:36:17] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4681c48012d4cdc40068f4a60004801322c..."} 
[2026-09-18 17:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4681c48012d4cdc40068f4a60004801322c..."} 
[2026-09-18 17:36:17] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4681c48012d4cdc40068f4a60004801322c..."} 
[2026-09-18 17:36:17] local.INFO: Packet analysis {"connection_id":188938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:36:17] local.INFO: Extracted packet for processing {"connection_id":188938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:36:17] local.INFO: GPS Element Parsed {"raw_longitude":760011840,"raw_latitude":110053984,"longitude_deg":76.001184,"latitude_deg":11.0053984,"altitude":72,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d4cdc40","hex_latitude":"068f4a60","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171672576001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538372038676865024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789733117000,"timestamp_ms":1789733117000,"timestamp_seconds":1789733117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4681c48"} 
[2026-09-18 17:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:36: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-09-18 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 17:36:17] 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-09-18 17: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-09-18 17:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:36: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-09-18 17:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171672576001,"66":206,"86":48896,"24":0,"16":405531941664718848,"45":5538372038676865024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171672576001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:36:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538372038676865024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:36:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171672576001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538372038676865024}} 
[2026-09-18 17:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":188938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:36:17] local.INFO: GPS data processed {"connection_id":188938,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:36:17] local.INFO: Acknowledgment sent {"connection_id":188938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:36:27] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b467ce28012d7ef9c005de3a68000700a329..."} 
[2026-09-18 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b467ce28012d7ef9c005de3a68000700a329..."} 
[2026-09-18 17:36:27] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b467ce28012d7ef9c005de3a68000700a329..."} 
[2026-09-18 17:36:27] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:36:27] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763296192,"raw_latitude":98450024,"longitude_deg":76.3296192,"latitude_deg":9.8450024,"altitude":7,"angle":163,"satellites":41,"speed":36,"hex_longitude":"2d7ef9c0","hex_latitude":"05de3a68","is_valid_coordinates":true} 
[2026-09-18 17:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171670272001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134792708156817408,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146177549697435648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789733097000,"timestamp_ms":1789733097000,"timestamp_seconds":1789733097,"priority":1,"record_length":96,"hex_timestamp":"000001a0b467ce28"} 
[2026-09-18 17:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 17:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171670272001,"66":13406,"206":206,"85":15104,"24":36,"16":134792708156817408,"45":9146177549697435648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-18 17:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171670272001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:36:27] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-18 17:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134792708156817408,"km_value":134792708156817.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146177549697435648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171670272001,"power":13406,"unknown_206":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9146177549697435648}} 
[2026-09-18 17:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:36:27] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:36:27] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:36:39] local.INFO: TCP Data received {"connection_id":188937,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4676c80012d19ce8007201888002e00952e..."} 
[2026-09-18 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4676c80012d19ce8007201888002e00952e..."} 
[2026-09-18 17:36:39] local.INFO: Processing buffer {"connection_id":188937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4676c80012d19ce8007201888002e00952e..."} 
[2026-09-18 17:36:39] local.INFO: Packet analysis {"connection_id":188937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:36:39] local.INFO: Extracted packet for processing {"connection_id":188937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b467"} 
[2026-09-18 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543944,"longitude_deg":75.6665984,"latitude_deg":11.9543944,"altitude":46,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-09-18 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171661056001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447262789959680,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789733072000,"timestamp_ms":1789733072000,"timestamp_seconds":1789733072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4676c80"} 
[2026-09-18 17:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171661056001,"66":12548,"101":206,"83":41984,"24":0,"16":21447262789959680,"45":1859564464242198528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171661056001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447262789959680,"km_value":21447262789959.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242198528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171661056001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242198528}} 
[2026-09-18 17:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":188937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:36:39] local.INFO: GPS data processed {"connection_id":188937,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:36:39] local.INFO: Acknowledgment sent {"connection_id":188937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:36:48] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4686e50012d4cdc40068f4a60004801322a..."} 
[2026-09-18 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4686e50012d4cdc40068f4a60004801322a..."} 
[2026-09-18 17:36:48] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4686e50012d4cdc40068f4a60004801322a..."} 
[2026-09-18 17:36:48] local.INFO: Packet analysis {"connection_id":188938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:36:48] local.INFO: Extracted packet for processing {"connection_id":188938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":760011840,"raw_latitude":110053984,"longitude_deg":76.001184,"latitude_deg":11.0053984,"altitude":72,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d4cdc40","hex_latitude":"068f4a60","is_valid_coordinates":true} 
[2026-09-18 17:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171677952001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531941664718848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538372038676865024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:36:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789733138000,"timestamp_ms":1789733138000,"timestamp_seconds":1789733138,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4686e50"} 
[2026-09-18 17:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:36: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-09-18 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 17:36: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-09-18 17:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:36: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-09-18 17:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171677952001,"66":206,"86":48896,"24":0,"16":405531941664718848,"45":5538372038676865024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171677952001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:36:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531941664718848,"km_value":405531941664718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538372038676865024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:36:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171677952001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5538372038676865024}} 
[2026-09-18 17:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":188938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:36:48] local.INFO: GPS data processed {"connection_id":188938,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:36:48] local.INFO: Acknowledgment sent {"connection_id":188938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:37:01] local.INFO: TCP Data received {"connection_id":187619,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:37:01] local.INFO: Processing buffer {"connection_id":187619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:37:01] local.INFO: IMEI packet received {"connection_id":187619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":187619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:37:02] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:02] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:02] local.INFO: IMEI packet received {"connection_id":187618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":187618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:37:05] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:05] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:05] local.INFO: IMEI packet received {"connection_id":187618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":187618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:37:07] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:07] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:37:07] local.INFO: IMEI packet received {"connection_id":187618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":187618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:37:07] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b468cff8012d19f040071ffbb8003000632d..."} 
[2026-09-18 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b468cff8012d19f040071ffbb8003000632d..."} 
[2026-09-18 17:37:07] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b468cff8012d19f040071ffbb8003000632d..."} 
[2026-09-18 17:37:07] local.INFO: Packet analysis {"connection_id":187618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:07] local.INFO: Extracted packet for processing {"connection_id":187618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756674624,"raw_latitude":119536568,"longitude_deg":75.6674624,"latitude_deg":11.9536568,"altitude":48,"angle":99,"satellites":45,"speed":28,"hex_longitude":"2d19f040","hex_latitude":"071ffbb8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171689472001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21447859790413824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868149451030016000,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789733163000,"timestamp_ms":1789733163000,"timestamp_seconds":1789733163,"priority":1,"record_length":96,"hex_timestamp":"000001a0b468cff8"} 
[2026-09-18 17:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 17:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171689472001,"66":13646,"101":206,"83":41984,"24":28,"16":21447859790413824,"45":1868149451030016000},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171689472001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:37:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21447859790413824,"km_value":21447859790413.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868149451030016000,"description":"Unknown IO ID 45"} 
[2026-09-18 17:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171689472001,"power":13646,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1868149451030016000}} 
[2026-09-18 17:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":187618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:37:07] local.INFO: GPS data processed {"connection_id":187618,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:37:07] local.INFO: Acknowledgment sent {"connection_id":187618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:37:10] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:10] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:10] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:37:11] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:11] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:11] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:37:12] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:12] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:12] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:37:17] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:17] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:37:17] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:37:17] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4687a08012d4cdc40068f4c00004b01412c..."} 
[2026-09-18 17:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4687a08012d4cdc40068f4c00004b01412c..."} 
[2026-09-18 17:37:17] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4687a08012d4cdc40068f4c00004b01412c..."} 
[2026-09-18 17:37:17] local.INFO: Packet analysis {"connection_id":186184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:17] local.INFO: Extracted packet for processing {"connection_id":186184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760011840,"raw_latitude":110054400,"longitude_deg":76.001184,"latitude_deg":11.00544,"altitude":75,"angle":321,"satellites":44,"speed":4,"hex_longitude":"2d4cdc40","hex_latitude":"068f4c00","is_valid_coordinates":true} 
[2026-09-18 17:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171683328001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531958844588032,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538372038676865024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789733141000,"timestamp_ms":1789733141000,"timestamp_seconds":1789733141,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4687a08"} 
[2026-09-18 17:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 17:37:17] 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-09-18 17:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:37: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-09-18 17:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171683328001,"66":206,"86":48896,"24":4,"16":405531958844588032,"45":5538372038676865024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171683328001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:37:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531958844588032,"km_value":405531958844588.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538372038676865024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:37:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171683328001,"power":206,"unknown_86":48896,"ignition":4,"odometer":null,"unknown_45":5538372038676865024}} 
[2026-09-18 17:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:37:17] local.INFO: GPS data processed {"connection_id":186184,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:37:17] local.INFO: Acknowledgment sent {"connection_id":186184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:37:38] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b468f708012d1a1540071ff3780030006b2f..."} 
[2026-09-18 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b468f708012d1a1540071ff3780030006b2f..."} 
[2026-09-18 17:37:38] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b468f708012d1a1540071ff3780030006b2f..."} 
[2026-09-18 17:37:38] local.INFO: Packet analysis {"connection_id":187618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:38] local.INFO: Extracted packet for processing {"connection_id":187618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756684096,"raw_latitude":119534456,"longitude_deg":75.6684096,"latitude_deg":11.9534456,"altitude":48,"angle":107,"satellites":47,"speed":38,"hex_longitude":"2d1a1540","hex_latitude":"071ff378","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171689728001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21448323646881792,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869064244704294912,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789733173000,"timestamp_ms":1789733173000,"timestamp_seconds":1789733173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b468f708"} 
[2026-09-18 17:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 17:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171689728001,"66":14233,"101":206,"83":41984,"24":38,"16":21448323646881792,"45":1869064244704294912},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171689728001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:37:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21448323646881792,"km_value":21448323646881.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869064244704294912,"description":"Unknown IO ID 45"} 
[2026-09-18 17:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171689728001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1869064244704294912}} 
[2026-09-18 17:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":187618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:37:38] local.INFO: GPS data processed {"connection_id":187618,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:37:38] local.INFO: Acknowledgment sent {"connection_id":187618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:37:49] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46881d8012d4cdb40068f4cc8004b012e2d..."} 
[2026-09-18 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46881d8012d4cdb40068f4cc8004b012e2d..."} 
[2026-09-18 17:37:49] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46881d8012d4cdb40068f4cc8004b012e2d..."} 
[2026-09-18 17:37:49] local.INFO: Packet analysis {"connection_id":186184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:49] local.INFO: Extracted packet for processing {"connection_id":186184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054600,"longitude_deg":76.0011584,"latitude_deg":11.00546,"altitude":75,"angle":302,"satellites":45,"speed":5,"hex_longitude":"2d4cdb40","hex_latitude":"068f4cc8","is_valid_coordinates":true} 
[2026-09-18 17:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171684096001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405531976024457216,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538372038676971520,"note":"Value kept but may cause issues"} 
[2026-09-18 17:37:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789733143000,"timestamp_ms":1789733143000,"timestamp_seconds":1789733143,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46881d8"} 
[2026-09-18 17:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171684096001,"66":206,"86":48896,"24":5,"16":405531976024457216,"45":5538372038676971520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171684096001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:37:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405531976024457216,"km_value":405531976024457.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538372038676971520,"description":"Unknown IO ID 45"} 
[2026-09-18 17:37:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171684096001,"power":206,"unknown_86":48896,"ignition":5,"odometer":null,"unknown_45":5538372038676971520}} 
[2026-09-18 17:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":186184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:37:49] local.INFO: GPS data processed {"connection_id":186184,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:37:49] local.INFO: Acknowledgment sent {"connection_id":186184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:38:06] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:06] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:06] local.INFO: IMEI packet received {"connection_id":186186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":186186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:38:07] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:07] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:07] local.INFO: IMEI packet received {"connection_id":186186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":186186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:38:08] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:08] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:08] local.INFO: IMEI packet received {"connection_id":186186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":186186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:38:08] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:08] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:08] local.INFO: IMEI packet received {"connection_id":186186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":186186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:38:09] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b469c610012d1ac540071f8f78003a008b2b..."} 
[2026-09-18 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b469c610012d1ac540071f8f78003a008b2b..."} 
[2026-09-18 17:38:09] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b469c610012d1ac540071f8f78003a008b2b..."} 
[2026-09-18 17:38:09] local.INFO: Packet analysis {"connection_id":186186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b469"} 
[2026-09-18 17:38:09] local.INFO: Extracted packet for processing {"connection_id":186186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b469"} 
[2026-09-18 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119508856,"longitude_deg":75.6729152,"latitude_deg":11.9508856,"altitude":58,"angle":139,"satellites":43,"speed":30,"hex_longitude":"2d1ac540","hex_latitude":"071f8f78","is_valid_coordinates":true} 
[2026-09-18 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171705344001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21450917807128576,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540671109101568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789733226000,"timestamp_ms":1789733226000,"timestamp_seconds":1789733226,"priority":1,"record_length":96,"hex_timestamp":"000001a0b469c610"} 
[2026-09-18 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-18 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171705344001,"66":14080,"101":206,"83":41984,"24":30,"16":21450917807128576,"45":1927540671109101568},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171705344001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:38:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:38:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21450917807128576,"km_value":21450917807128.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540671109101568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171705344001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1927540671109101568}} 
[2026-09-18 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":186186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:38:09] local.INFO: GPS data processed {"connection_id":186186,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:38:09] local.INFO: Acknowledgment sent {"connection_id":186186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:38:10] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b469c9f8012d1ac640071f8ce8003a009b2b..."} 
[2026-09-18 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b469c9f8012d1ac640071f8ce8003a009b2b..."} 
[2026-09-18 17:38:10] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b469c9f8012d1ac640071f8ce8003a009b2b..."} 
[2026-09-18 17:38:10] local.INFO: Packet analysis {"connection_id":186186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b469"} 
[2026-09-18 17:38:10] local.INFO: Extracted packet for processing {"connection_id":186186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b469"} 
[2026-09-18 17:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119508200,"longitude_deg":75.6729408,"latitude_deg":11.95082,"altitude":58,"angle":155,"satellites":43,"speed":27,"hex_longitude":"2d1ac640","hex_latitude":"071f8ce8","is_valid_coordinates":true} 
[2026-09-18 17:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171705856001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21450956461834240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736570368,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789733227000,"timestamp_ms":1789733227000,"timestamp_seconds":1789733227,"priority":1,"record_length":96,"hex_timestamp":"000001a0b469c9f8"} 
[2026-09-18 17:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3026802864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2948595770,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147560730,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2147950542,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,53,160,190,45,147,58,42,10,66,166,128,152,57,43,159,192,1,240,77,227,180,31,4,113,205,96,118,168,239,55,2,76,7,56,37],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 17:38:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179493471001640960,"timestamp_seconds":4179493471001641.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171705856001,"66":14080,"101":206,"83":41984,"24":27,"16":21450956461834240,"45":1929018414736570368},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171705856001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:38:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21450956461834240,"km_value":21450956461834.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736570368,"description":"Unknown IO ID 45"} 
[2026-09-18 17:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171705856001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1929018414736570368}} 
[2026-09-18 17:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":186186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:38:10] local.INFO: GPS data processed {"connection_id":186186,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:38:10] local.INFO: Acknowledgment sent {"connection_id":186186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:38:21] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:38:21] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:38:21] local.INFO: IMEI packet received {"connection_id":188939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":188939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:38:26] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:38:26] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:38:26] local.INFO: IMEI packet received {"connection_id":188939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":188939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:38:27] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b468b4a0012d4cce40068f53c8004b01222a..."} 
[2026-09-18 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b468b4a0012d4cce40068f53c8004b01222a..."} 
[2026-09-18 17:38:27] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b468b4a0012d4cce40068f53c8004b01222a..."} 
[2026-09-18 17:38:27] local.INFO: Packet analysis {"connection_id":188939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:38:27] local.INFO: Extracted packet for processing {"connection_id":188939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b468"} 
[2026-09-18 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":760008256,"raw_latitude":110056392,"longitude_deg":76.0008256,"latitude_deg":11.0056392,"altitude":75,"angle":290,"satellites":42,"speed":16,"hex_longitude":"2d4cce40","hex_latitude":"068f53c8","is_valid_coordinates":true} 
[2026-09-18 17:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171684608001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405532156413083648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700312064,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789733156000,"timestamp_ms":1789733156000,"timestamp_seconds":1789733156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b468b4a0"} 
[2026-09-18 17:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:38:27] 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-09-18 17:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171684608001,"66":206,"86":48896,"24":16,"16":405532156413083648,"45":5538090563700312064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171684608001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:38:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405532156413083648,"km_value":405532156413083.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700312064,"description":"Unknown IO ID 45"} 
[2026-09-18 17:38:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171684608001,"power":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5538090563700312064}} 
[2026-09-18 17:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":188939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:38:27] local.INFO: GPS data processed {"connection_id":188939,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:38:27] local.INFO: Acknowledgment sent {"connection_id":188939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:38:35] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:38:35] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:38:35] local.INFO: IMEI packet received {"connection_id":186339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":186339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:38:41] local.INFO: TCP Data received {"connection_id":186186,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46a8d48012d1ac240071f9138003901372c..."} 
[2026-09-18 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46a8d48012d1ac240071f9138003901372c..."} 
[2026-09-18 17:38:41] local.INFO: Processing buffer {"connection_id":186186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46a8d48012d1ac240071f9138003901372c..."} 
[2026-09-18 17:38:41] local.INFO: Packet analysis {"connection_id":186186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:38:41] local.INFO: Extracted packet for processing {"connection_id":186186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756728384,"raw_latitude":119509304,"longitude_deg":75.6728384,"latitude_deg":11.9509304,"altitude":57,"angle":311,"satellites":44,"speed":21,"hex_longitude":"2d1ac240","hex_latitude":"071f9138","is_valid_coordinates":true} 
[2026-09-18 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171718656001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21451269994446848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202271518720,"note":"Value kept but may cause issues"} 
[2026-09-18 17:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789733277000,"timestamp_ms":1789733277000,"timestamp_seconds":1789733277,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46a8d48"} 
[2026-09-18 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 17:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171718656001,"66":14102,"101":206,"83":41984,"24":21,"16":21451269994446848,"45":1928596202271518720},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171718656001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:38:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21451269994446848,"km_value":21451269994446.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202271518720,"description":"Unknown IO ID 45"} 
[2026-09-18 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171718656001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1928596202271518720}} 
[2026-09-18 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":186186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:38:41] local.INFO: GPS data processed {"connection_id":186186,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:38:41] local.INFO: Acknowledgment sent {"connection_id":186186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:38:59] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:59] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:38:59] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:39:00] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:00] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:00] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:39:02] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:02] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:02] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:39:08] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:08] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:39:08] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:39:09] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46a9130012d1ac000071f92780039012a2c..."} 
[2026-09-18 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46a9130012d1ac000071f92780039012a2c..."} 
[2026-09-18 17:39:09] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46a9130012d1ac000071f92780039012a2c..."} 
[2026-09-18 17:39:09] local.INFO: Packet analysis {"connection_id":186187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:09] local.INFO: Extracted packet for processing {"connection_id":186187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":756727808,"raw_latitude":119509624,"longitude_deg":75.6727808,"latitude_deg":11.9509624,"altitude":57,"angle":298,"satellites":44,"speed":24,"hex_longitude":"2d1ac000","hex_latitude":"071f9278","is_valid_coordinates":true} 
[2026-09-18 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171718912001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21451300059217920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173989806553088,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789733278000,"timestamp_ms":1789733278000,"timestamp_seconds":1789733278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46a9130"} 
[2026-09-18 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 17:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171718912001,"66":14265,"101":206,"83":41984,"24":24,"16":21451300059217920,"45":1928173989806553088},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171718912001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:39:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21451300059217920,"km_value":21451300059217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173989806553088,"description":"Unknown IO ID 45"} 
[2026-09-18 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171718912001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928173989806553088}} 
[2026-09-18 17:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":186187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:39:09] local.INFO: GPS data processed {"connection_id":186187,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:39:09] local.INFO: Acknowledgment sent {"connection_id":186187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:39:12] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:39:12] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:39:12] local.INFO: IMEI packet received {"connection_id":186188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":186188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:39:15] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:39:15] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:39:15] local.INFO: IMEI packet received {"connection_id":186188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":186188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:39:16] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46ab840012d4c4300068fedf8004f01372c..."} 
[2026-09-18 17:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46ab840012d4c4300068fedf8004f01372c..."} 
[2026-09-18 17:39:16] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46ab840012d4c4300068fedf8004f01372c..."} 
[2026-09-18 17:39:16] local.INFO: Packet analysis {"connection_id":186188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:16] local.INFO: Extracted packet for processing {"connection_id":186188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:16] local.INFO: GPS Element Parsed {"raw_longitude":759972608,"raw_latitude":110095864,"longitude_deg":75.9972608,"latitude_deg":11.0095864,"altitude":79,"angle":311,"satellites":44,"speed":18,"hex_longitude":"2d4c4300","hex_latitude":"068fedf8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171716352001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405534849357578240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5499528491900649472,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789733288000,"timestamp_ms":1789733288000,"timestamp_seconds":1789733288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46ab840"} 
[2026-09-18 17:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:39:16] 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-09-18 17: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-09-18 17:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17: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-09-18 17:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171716352001,"66":27821,"227":206,"86":48896,"24":18,"16":405534849357578240,"45":5499528491900649472},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,86,24,16,45]} 
[2026-09-18 17:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171716352001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:39:16] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-18 17:39:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405534849357578240,"km_value":405534849357578.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5499528491900649472,"description":"Unknown IO ID 45"} 
[2026-09-18 17:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171716352001,"power":27821,"unknown_227":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5499528491900649472}} 
[2026-09-18 17:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:39:16] local.INFO: GPS data processed {"connection_id":186188,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:39:16] local.INFO: Acknowledgment sent {"connection_id":186188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:39:41] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46a9ce8012d1ab800071f95700039011c2b..."} 
[2026-09-18 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46a9ce8012d1ab800071f95700039011c2b..."} 
[2026-09-18 17:39:41] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46a9ce8012d1ab800071f95700039011c2b..."} 
[2026-09-18 17:39:41] local.INFO: Packet analysis {"connection_id":186187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:41] local.INFO: Extracted packet for processing {"connection_id":186187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756725760,"raw_latitude":119510384,"longitude_deg":75.672576,"latitude_deg":11.9510384,"altitude":57,"angle":284,"satellites":43,"speed":29,"hex_longitude":"2d1ab800","hex_latitude":"071f9570","is_valid_coordinates":true} 
[2026-09-18 17:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171719168001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21451403138433024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540671109036032,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789733281000,"timestamp_ms":1789733281000,"timestamp_seconds":1789733281,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46a9ce8"} 
[2026-09-18 17:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 17:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171719168001,"66":14428,"101":206,"83":41984,"24":29,"16":21451403138433024,"45":1927540671109036032},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171719168001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:39:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21451403138433024,"km_value":21451403138433.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540671109036032,"description":"Unknown IO ID 45"} 
[2026-09-18 17:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171719168001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1927540671109036032}} 
[2026-09-18 17:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":186187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:39:41] local.INFO: GPS data processed {"connection_id":186187,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:39:41] local.INFO: Acknowledgment sent {"connection_id":186187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:39:48] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46ac7e0012d4c3d40068ff218004e012b29..."} 
[2026-09-18 17:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46ac7e0012d4c3d40068ff218004e012b29..."} 
[2026-09-18 17:39:48] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46ac7e0012d4c3d40068ff218004e012b29..."} 
[2026-09-18 17:39:48] local.INFO: Packet analysis {"connection_id":186188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:48] local.INFO: Extracted packet for processing {"connection_id":186188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":759971136,"raw_latitude":110096920,"longitude_deg":75.9971136,"latitude_deg":11.009692,"altitude":78,"angle":299,"satellites":41,"speed":18,"hex_longitude":"2d4c3d40","hex_latitude":"068ff218","is_valid_coordinates":true} 
[2026-09-18 17:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171721728001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405534935256924160,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5495235998506678272,"note":"Value kept but may cause issues"} 
[2026-09-18 17:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789733292000,"timestamp_ms":1789733292000,"timestamp_seconds":1789733292,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46ac7e0"} 
[2026-09-18 17:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:39: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-09-18 17:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:39:48] 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-09-18 17:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:39: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-09-18 17:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171721728001,"66":27745,"68":206,"86":48896,"24":18,"16":405534935256924160,"45":5495235998506678272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171721728001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:39:48] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:39:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405534935256924160,"km_value":405534935256924.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5495235998506678272,"description":"Unknown IO ID 45"} 
[2026-09-18 17:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171721728001,"power":27745,"unknown_68":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5495235998506678272}} 
[2026-09-18 17:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":186188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:39:48] local.INFO: GPS data processed {"connection_id":186188,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:39:48] local.INFO: Acknowledgment sent {"connection_id":186188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:40:03] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:40:03] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:40:03] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:40:08] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:40:08] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:40:08] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:40:09] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46b9ad0012d19eac0071ffb80002d011b2c..."} 
[2026-09-18 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46b9ad0012d19eac0071ffb80002d011b2c..."} 
[2026-09-18 17:40:09] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46b9ad0012d19eac0071ffb80002d011b2c..."} 
[2026-09-18 17:40:09] local.INFO: Packet analysis {"connection_id":186340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:40:09] local.INFO: Extracted packet for processing {"connection_id":186340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756673216,"raw_latitude":119536512,"longitude_deg":75.6673216,"latitude_deg":11.9536512,"altitude":45,"angle":283,"satellites":44,"speed":26,"hex_longitude":"2d19eac0","hex_latitude":"071ffb80","is_valid_coordinates":true} 
[2026-09-18 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171736064001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21454349485998080,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868993875960094720,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789733346000,"timestamp_ms":1789733346000,"timestamp_seconds":1789733346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46b9ad0"} 
[2026-09-18 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-18 17:40: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-09-18 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171736064001,"66":13537,"101":206,"83":41984,"24":26,"16":21454349485998080,"45":1868993875960094720},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171736064001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:40:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21454349485998080,"km_value":21454349485998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868993875960094720,"description":"Unknown IO ID 45"} 
[2026-09-18 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171736064001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1868993875960094720}} 
[2026-09-18 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":186340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:40:09] local.INFO: GPS data processed {"connection_id":186340,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:40:09] local.INFO: Acknowledgment sent {"connection_id":186340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:40:09] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:09] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:09] local.INFO: IMEI packet received {"connection_id":186341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":186341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:40:11] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:11] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:11] local.INFO: IMEI packet received {"connection_id":186341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":186341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:40:12] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:12] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:12] local.INFO: IMEI packet received {"connection_id":186341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":186341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:40:18] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:18] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:40:18] local.INFO: IMEI packet received {"connection_id":186341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":186341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:40:19] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46aeb08012d4c2bc0068ffdf00049013728..."} 
[2026-09-18 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46aeb08012d4c2bc0068ffdf00049013728..."} 
[2026-09-18 17:40:19] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46aeb08012d4c2bc0068ffdf00049013728..."} 
[2026-09-18 17:40:19] local.INFO: Packet analysis {"connection_id":186341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:40:19] local.INFO: Extracted packet for processing {"connection_id":186341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46a"} 
[2026-09-18 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":759966656,"raw_latitude":110099952,"longitude_deg":75.9966656,"latitude_deg":11.0099952,"altitude":73,"angle":311,"satellites":40,"speed":25,"hex_longitude":"2d4c2bc0","hex_latitude":"068ffdf0","is_valid_coordinates":true} 
[2026-09-18 17:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171722752001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405535192954961920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5493617517390862336,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789733301000,"timestamp_ms":1789733301000,"timestamp_seconds":1789733301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46aeb08"} 
[2026-09-18 17:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:40: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-09-18 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:40:19] 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-09-18 17:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17: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-09-18 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171722752001,"66":27745,"68":206,"86":48896,"24":25,"16":405535192954961920,"45":5493617517390862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171722752001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:40:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:40:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405535192954961920,"km_value":405535192954961.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5493617517390862336,"description":"Unknown IO ID 45"} 
[2026-09-18 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171722752001,"power":27745,"unknown_68":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5493617517390862336}} 
[2026-09-18 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":186341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:40:19] local.INFO: GPS data processed {"connection_id":186341,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:40:19] local.INFO: Acknowledgment sent {"connection_id":186341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:40:40] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46b9eb8012d19e840071ffc90002d01292d..."} 
[2026-09-18 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46b9eb8012d19e840071ffc90002d01292d..."} 
[2026-09-18 17:40:40] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46b9eb8012d19e840071ffc90002d01292d..."} 
[2026-09-18 17:40:40] local.INFO: Packet analysis {"connection_id":186340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:40:40] local.INFO: Extracted packet for processing {"connection_id":186340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756672576,"raw_latitude":119536784,"longitude_deg":75.6672576,"latitude_deg":11.9536784,"altitude":45,"angle":297,"satellites":45,"speed":25,"hex_longitude":"2d19e840","hex_latitude":"071ffc90","is_valid_coordinates":true} 
[2026-09-18 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171736576001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21454379550769152,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867516132332371968,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789733347000,"timestamp_ms":1789733347000,"timestamp_seconds":1789733347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46b9eb8"} 
[2026-09-18 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 17:40:40] 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-09-18 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171736576001,"66":13537,"101":206,"83":41984,"24":25,"16":21454379550769152,"45":1867516132332371968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171736576001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21454379550769152,"km_value":21454379550769.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867516132332371968,"description":"Unknown IO ID 45"} 
[2026-09-18 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171736576001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1867516132332371968}} 
[2026-09-18 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":186340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:40:40] local.INFO: GPS data processed {"connection_id":186340,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:40:40] local.INFO: Acknowledgment sent {"connection_id":186340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:40:55] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46b2988012d4c1180069014d80043014627..."} 
[2026-09-18 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46b2988012d4c1180069014d80043014627..."} 
[2026-09-18 17:40:55] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46b2988012d4c1180069014d80043014627..."} 
[2026-09-18 17:40:55] local.INFO: Packet analysis {"connection_id":186341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:40:55] local.INFO: Extracted packet for processing {"connection_id":186341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:40:55] local.INFO: GPS Element Parsed {"raw_longitude":759959936,"raw_latitude":110105816,"longitude_deg":75.9959936,"latitude_deg":11.0105816,"altitude":67,"angle":326,"satellites":39,"speed":24,"hex_longitude":"2d4c1180","hex_latitude":"069014d8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171725056001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405535622451691520,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5488691705299202048,"note":"Value kept but may cause issues"} 
[2026-09-18 17:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789733317000,"timestamp_ms":1789733317000,"timestamp_seconds":1789733317,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46b2988"} 
[2026-09-18 17:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171725056001,"66":27974,"68":206,"86":48896,"24":24,"16":405535622451691520,"45":5488691705299202048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171725056001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:40:55] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:40:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405535622451691520,"km_value":405535622451691.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5488691705299202048,"description":"Unknown IO ID 45"} 
[2026-09-18 17:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171725056001,"power":27974,"unknown_68":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5488691705299202048}} 
[2026-09-18 17:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":186341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:40:55] local.INFO: GPS data processed {"connection_id":186341,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:40:55] local.INFO: Acknowledgment sent {"connection_id":186341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:41:00] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:00] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:00] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:41:01] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:01] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:01] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:41:02] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:02] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:02] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:41:03] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:03] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:41:03] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:41:11] local.INFO: TCP Data received {"connection_id":186189,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:41:11] local.INFO: Processing buffer {"connection_id":186189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:41:11] local.INFO: IMEI packet received {"connection_id":186189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":186189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:41:17] local.INFO: TCP Data received {"connection_id":186189,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:41:17] local.INFO: Processing buffer {"connection_id":186189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:41:17] local.INFO: IMEI packet received {"connection_id":186189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":186189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:41:18] local.INFO: TCP Data received {"connection_id":186189,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46b3158012d4c0f80069018e80041015328..."} 
[2026-09-18 17:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46b3158012d4c0f80069018e80041015328..."} 
[2026-09-18 17:41:18] local.INFO: Processing buffer {"connection_id":186189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46b3158012d4c0f80069018e80041015328..."} 
[2026-09-18 17:41:18] local.INFO: Packet analysis {"connection_id":186189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:41:18] local.INFO: Extracted packet for processing {"connection_id":186189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:41:18] local.INFO: GPS Element Parsed {"raw_longitude":759959424,"raw_latitude":110106856,"longitude_deg":75.9959424,"latitude_deg":11.0106856,"altitude":65,"angle":339,"satellites":40,"speed":23,"hex_longitude":"2d4c0f80","hex_latitude":"069018e8","is_valid_coordinates":true} 
[2026-09-18 17:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171729152001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405535682581233664,"note":"Value kept but may cause issues"} 
[2026-09-18 17:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5481302987162048512,"note":"Value kept but may cause issues"} 
[2026-09-18 17:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789733319000,"timestamp_ms":1789733319000,"timestamp_seconds":1789733319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46b3158"} 
[2026-09-18 17:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 17:41:18] 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-09-18 17:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171729152001,"66":27691,"68":206,"86":48896,"24":23,"16":405535682581233664,"45":5481302987162048512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171729152001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:41:18] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:41:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405535682581233664,"km_value":405535682581233.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5481302987162048512,"description":"Unknown IO ID 45"} 
[2026-09-18 17:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171729152001,"power":27691,"unknown_68":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5481302987162048512}} 
[2026-09-18 17:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":186189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:41:18] local.INFO: GPS data processed {"connection_id":186189,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:41:18] local.INFO: Acknowledgment sent {"connection_id":186189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:41:50] local.INFO: TCP Data received {"connection_id":186189,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46b6808012d4c020006903998003f014f2a..."} 
[2026-09-18 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46b6808012d4c020006903998003f014f2a..."} 
[2026-09-18 17:41:50] local.INFO: Processing buffer {"connection_id":186189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46b6808012d4c020006903998003f014f2a..."} 
[2026-09-18 17:41:50] local.INFO: Packet analysis {"connection_id":186189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:41:50] local.INFO: Extracted packet for processing {"connection_id":186189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46b"} 
[2026-09-18 17:41:50] local.INFO: GPS Element Parsed {"raw_longitude":759955968,"raw_latitude":110115224,"longitude_deg":75.9955968,"latitude_deg":11.0115224,"altitude":63,"angle":335,"satellites":42,"speed":26,"hex_longitude":"2d4c0200","hex_latitude":"06903998","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171729664001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405536116372930560,"note":"Value kept but may cause issues"} 
[2026-09-18 17:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5480740037208893440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789733333000,"timestamp_ms":1789733333000,"timestamp_seconds":1789733333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46b6808"} 
[2026-09-18 17:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:41: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-09-18 17: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":43,"data_length":795,"current_offset":136} 
[2026-09-18 17:41:50] 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-09-18 17: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-09-18 17:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171729664001,"66":27745,"68":206,"86":48896,"24":26,"16":405536116372930560,"45":5480740037208893440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171729664001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:41:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:41:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405536116372930560,"km_value":405536116372930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5480740037208893440,"description":"Unknown IO ID 45"} 
[2026-09-18 17:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171729664001,"power":27745,"unknown_68":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5480740037208893440}} 
[2026-09-18 17:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":186189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:41:50] local.INFO: GPS data processed {"connection_id":186189,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:41:50] local.INFO: Acknowledgment sent {"connection_id":186189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:42:07] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:07] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:07] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:42:08] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46da258012d81c78005da75180009004526..."} 
[2026-09-18 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46da258012d81c78005da75180009004526..."} 
[2026-09-18 17:42:08] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46da258012d81c78005da75180009004526..."} 
[2026-09-18 17:42:08] local.INFO: Packet analysis {"connection_id":186342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46d"} 
[2026-09-18 17:42:08] local.INFO: Extracted packet for processing {"connection_id":186342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46d"} 
[2026-09-18 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763479936,"raw_latitude":98202904,"longitude_deg":76.3479936,"latitude_deg":9.8202904,"altitude":9,"angle":69,"satellites":38,"speed":39,"hex_longitude":"2d81c780","hex_latitude":"05da7518","is_valid_coordinates":true} 
[2026-09-18 17:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171770112001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134809948155543552,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097200853404432384,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:08] 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-09-18 17:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789733479000,"timestamp_ms":1789733479000,"timestamp_seconds":1789733479,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46da258"} 
[2026-09-18 17:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17: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-09-18 17:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-18 17:42:08] 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-09-18 17:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171770112001,"66":13602,"153":206,"85":15104,"24":39,"16":134809948155543552,"45":-9097200853404432384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-18 17:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171770112001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:42:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-18 17:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134809948155543552,"km_value":134809948155543.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097200853404432384,"description":"Unknown IO ID 45"} 
[2026-09-18 17:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171770112001,"power":13602,"unknown_153":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9097200853404432384}} 
[2026-09-18 17:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":186342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:42:08] local.INFO: GPS data processed {"connection_id":186342,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:42:08] local.INFO: Acknowledgment sent {"connection_id":186342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:42:11] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:11] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:11] local.INFO: IMEI packet received {"connection_id":187624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:42:15] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:15] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:15] local.INFO: IMEI packet received {"connection_id":187624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":187624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:42:16] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:16] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:42:16] local.INFO: IMEI packet received {"connection_id":187624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:42:17] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46d5438012d4beac006911ee8002e016629..."} 
[2026-09-18 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46d5438012d4beac006911ee8002e016629..."} 
[2026-09-18 17:42:17] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46d5438012d4beac006911ee8002e016629..."} 
[2026-09-18 17:42:17] local.INFO: Packet analysis {"connection_id":187624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46d"} 
[2026-09-18 17:42:17] local.INFO: Extracted packet for processing {"connection_id":187624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46d"} 
[2026-09-18 17:42:17] local.INFO: GPS Element Parsed {"raw_longitude":759950016,"raw_latitude":110173928,"longitude_deg":75.9950016,"latitude_deg":11.0173928,"altitude":46,"angle":358,"satellites":41,"speed":24,"hex_longitude":"2d4beac0","hex_latitude":"06911ee8","is_valid_coordinates":true} 
[2026-09-18 17:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171761152001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405539088490299392,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470184725597138944,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789733459000,"timestamp_ms":1789733459000,"timestamp_seconds":1789733459,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46d5438"} 
[2026-09-18 17:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:42: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-09-18 17:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:42:17] 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-09-18 17:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:42: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-09-18 17:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171761152001,"66":27843,"68":206,"86":48896,"24":24,"16":405539088490299392,"45":5470184725597138944},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171761152001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:42:17] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:42:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405539088490299392,"km_value":405539088490299.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470184725597138944,"description":"Unknown IO ID 45"} 
[2026-09-18 17:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171761152001,"power":27843,"unknown_68":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5470184725597138944}} 
[2026-09-18 17:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":187624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:42:17] local.INFO: GPS data processed {"connection_id":187624,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:42:17] local.INFO: Acknowledgment sent {"connection_id":187624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:42:46] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:46] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:46] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:42:48] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46d8ed0012d4be78006914160002b016029..."} 
[2026-09-18 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46d8ed0012d4be78006914160002b016029..."} 
[2026-09-18 17:42:48] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46d8ed0012d4be78006914160002b016029..."} 
[2026-09-18 17:42:48] local.INFO: Packet analysis {"connection_id":187624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46d"} 
[2026-09-18 17:42:48] local.INFO: Extracted packet for processing {"connection_id":187624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46d"} 
[2026-09-18 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":759949184,"raw_latitude":110182752,"longitude_deg":75.9949184,"latitude_deg":11.0182752,"altitude":43,"angle":352,"satellites":41,"speed":17,"hex_longitude":"2d4be780","hex_latitude":"06914160","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171765504001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405539517987028992,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470395831831947264,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789733474000,"timestamp_ms":1789733474000,"timestamp_seconds":1789733474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46d8ed0"} 
[2026-09-18 17:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:42: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-09-18 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:42: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-09-18 17:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171765504001,"66":27832,"68":206,"86":48896,"24":17,"16":405539517987028992,"45":5470395831831947264},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171765504001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405539517987028992,"km_value":405539517987029.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470395831831947264,"description":"Unknown IO ID 45"} 
[2026-09-18 17:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171765504001,"power":27832,"unknown_68":206,"unknown_86":48896,"ignition":17,"odometer":null,"unknown_45":5470395831831947264}} 
[2026-09-18 17:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":187624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:42:48] local.INFO: GPS data processed {"connection_id":187624,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:42:48] local.INFO: Acknowledgment sent {"connection_id":187624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:42:49] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:49] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:49] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:42:51] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:51] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:42:51] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:42:51] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46ea428012d82424005d9fb10000a00aa28..."} 
[2026-09-18 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46ea428012d82424005d9fb10000a00aa28..."} 
[2026-09-18 17:42:51] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46ea428012d82424005d9fb10000a00aa28..."} 
[2026-09-18 17:42:51] local.INFO: Packet analysis {"connection_id":186190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:42:51] local.INFO: Extracted packet for processing {"connection_id":186190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763511360,"raw_latitude":98171664,"longitude_deg":76.351136,"latitude_deg":9.8171664,"altitude":10,"angle":170,"satellites":40,"speed":38,"hex_longitude":"2d824240","hex_latitude":"05d9fb10","is_valid_coordinates":true} 
[2026-09-18 17:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171785216001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134812946042716160,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062227587553691648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42: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-09-18 17:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789733545000,"timestamp_ms":1789733545000,"timestamp_seconds":1789733545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46ea428"} 
[2026-09-18 17:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636209,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3027106864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183118853,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2381864342669754368,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2340945929,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039056025,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147867277,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4059299840,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666784256,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":130,"raw_value":1765417490187812874,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964626442735189,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-09-18 17:42:51] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,71,85,24,241,157,16,243,160,89,45,128,66,11,41,10,242,58,64,102,12,43,1,240,7,227,180,218,4,113,205,19,30,239,53,153,2,222,5,9,15,130,50,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-09-18 17:42:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792821722706477056,"timestamp_seconds":792821722706477.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171785216001,"66":12765,"71":206,"85":15104,"24":38,"16":134812946042716160,"45":-9062227587553691648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-18 17:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171785216001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:42:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 17:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134812946042716160,"km_value":134812946042716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062227587553691648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171785216001,"power":12765,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9062227587553691648}} 
[2026-09-18 17:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":186190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:42:51] local.INFO: GPS data processed {"connection_id":186190,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:42:51] local.INFO: Acknowledgment sent {"connection_id":186190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:43:11] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:43:11] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:43:11] local.INFO: IMEI packet received {"connection_id":188941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":188941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:43:20] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:43:20] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:43:20] local.INFO: IMEI packet received {"connection_id":188941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":188941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:43:22] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46e7930012d4b88400691a5f0001d015d2a..."} 
[2026-09-18 17:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46e7930012d4b88400691a5f0001d015d2a..."} 
[2026-09-18 17:43:22] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46e7930012d4b88400691a5f0001d015d2a..."} 
[2026-09-18 17:43:22] local.INFO: Packet analysis {"connection_id":188941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:43:22] local.INFO: Extracted packet for processing {"connection_id":188941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":759924800,"raw_latitude":110208496,"longitude_deg":75.99248,"latitude_deg":11.0208496,"altitude":29,"angle":349,"satellites":42,"speed":22,"hex_longitude":"2d4b8840","hex_latitude":"0691a5f0","is_valid_coordinates":true} 
[2026-09-18 17:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171783424001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405541424952508416,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442459440401471488,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:22] 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-09-18 17:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789733534000,"timestamp_ms":1789733534000,"timestamp_seconds":1789733534,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46e7930"} 
[2026-09-18 17:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:43:22] 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-09-18 17:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171783424001,"66":27876,"187":206,"86":48896,"24":22,"16":405541424952508416,"45":5442459440401471488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171783424001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405541424952508416,"km_value":405541424952508.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442459440401471488,"description":"Unknown IO ID 45"} 
[2026-09-18 17:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171783424001,"power":27876,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5442459440401471488}} 
[2026-09-18 17:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":188941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:43:22] local.INFO: GPS data processed {"connection_id":188941,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:43:22] local.INFO: Acknowledgment sent {"connection_id":188941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:43:22] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46ef248012d82480005d9dbb0000c00a92a..."} 
[2026-09-18 17:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46ef248012d82480005d9dbb0000c00a92a..."} 
[2026-09-18 17:43:22] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46ef248012d82480005d9dbb0000c00a92a..."} 
[2026-09-18 17:43:22] local.INFO: Packet analysis {"connection_id":186190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:43:22] local.INFO: Extracted packet for processing {"connection_id":186190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763512832,"raw_latitude":98163632,"longitude_deg":76.3512832,"latitude_deg":9.8163632,"altitude":12,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d824800","hex_latitude":"05d9dbb0","is_valid_coordinates":true} 
[2026-09-18 17:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171787520001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134813345474674688,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060609106439892992,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43: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-09-18 17:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789733565000,"timestamp_ms":1789733565000,"timestamp_seconds":1789733565,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46ef248"} 
[2026-09-18 17:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 17:43: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-09-18 17:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171787520001,"66":13222,"71":206,"85":15104,"24":0,"16":134813345474674688,"45":-9060609106439892992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-18 17:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171787520001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134813345474674688,"km_value":134813345474674.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060609106439892992,"description":"Unknown IO ID 45"} 
[2026-09-18 17:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171787520001,"power":13222,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060609106439892992}} 
[2026-09-18 17:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":186190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:43:22] local.INFO: GPS data processed {"connection_id":186190,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:43:22] local.INFO: Acknowledgment sent {"connection_id":186190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:43:48] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:43:48] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:43:48] local.INFO: IMEI packet received {"connection_id":186192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":186192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:43:52] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46e8100012d4b86400691aa70001c014f2b..."} 
[2026-09-18 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46e8100012d4b86400691aa70001c014f2b..."} 
[2026-09-18 17:43:52] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46e8100012d4b86400691aa70001c014f2b..."} 
[2026-09-18 17:43:52] local.INFO: Packet analysis {"connection_id":188941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:43:52] local.INFO: Extracted packet for processing {"connection_id":188941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46e"} 
[2026-09-18 17:43:52] local.INFO: GPS Element Parsed {"raw_longitude":759924288,"raw_latitude":110209648,"longitude_deg":75.9924288,"latitude_deg":11.0209648,"altitude":28,"angle":335,"satellites":43,"speed":24,"hex_longitude":"2d4b8640","hex_latitude":"0691aa70","is_valid_coordinates":true} 
[2026-09-18 17:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171784704001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405541485082050560,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442670546634797056,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:52] 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-09-18 17:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789733536000,"timestamp_ms":1789733536000,"timestamp_seconds":1789733536,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46e8100"} 
[2026-09-18 17:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:43: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-09-18 17:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 17:43:52] 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-09-18 17:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:43: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-09-18 17:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171784704001,"66":27767,"187":206,"86":48896,"24":24,"16":405541485082050560,"45":5442670546634797056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 17:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171784704001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:43:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 17:43:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405541485082050560,"km_value":405541485082050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442670546634797056,"description":"Unknown IO ID 45"} 
[2026-09-18 17:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171784704001,"power":27767,"unknown_187":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5442670546634797056}} 
[2026-09-18 17:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":188941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:43:53] local.INFO: GPS data processed {"connection_id":188941,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:43:53] local.INFO: Acknowledgment sent {"connection_id":188941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:43:54] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:43:54] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:43:54] local.INFO: IMEI packet received {"connection_id":186192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":186192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:43:54] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46f01e8012d82480005d9dab8000b00ba29..."} 
[2026-09-18 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46f01e8012d82480005d9dab8000b00ba29..."} 
[2026-09-18 17:43:54] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46f01e8012d82480005d9dab8000b00ba29..."} 
[2026-09-18 17:43:54] local.INFO: Packet analysis {"connection_id":186192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:43:54] local.INFO: Extracted packet for processing {"connection_id":186192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763512832,"raw_latitude":98163384,"longitude_deg":76.3512832,"latitude_deg":9.8163384,"altitude":11,"angle":186,"satellites":41,"speed":4,"hex_longitude":"2d824800","hex_latitude":"05d9dab8","is_valid_coordinates":true} 
[2026-09-18 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171792640001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134813358359576576,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058990625325862912,"note":"Value kept but may cause issues"} 
[2026-09-18 17:43:54] 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-09-18 17:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733569000,"timestamp_ms":1789733569000,"timestamp_seconds":1789733569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46f01e8"} 
[2026-09-18 17:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 17:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171792640001,"66":13374,"71":206,"85":15104,"24":4,"16":134813358359576576,"45":-9058990625325862912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-18 17:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171792640001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:43:54] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 17:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134813358359576576,"km_value":134813358359576.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058990625325862912,"description":"Unknown IO ID 45"} 
[2026-09-18 17:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171792640001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9058990625325862912}} 
[2026-09-18 17:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":186192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:43:55] local.INFO: GPS data processed {"connection_id":186192,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:43:55] local.INFO: Acknowledgment sent {"connection_id":186192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:44:10] local.INFO: TCP Data received {"connection_id":186191,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:44:10] local.INFO: Processing buffer {"connection_id":186191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:44:10] local.INFO: IMEI packet received {"connection_id":186191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":186191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:44:16] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:44:16] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:44:16] local.INFO: IMEI packet received {"connection_id":187626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:44:25] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:44:25] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:44:25] local.INFO: IMEI packet received {"connection_id":187626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":187626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:44:26] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46f05d0012d82480005d9d9e8000b00af2a..."} 
[2026-09-18 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46f05d0012d82480005d9d9e8000b00af2a..."} 
[2026-09-18 17:44:26] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46f05d0012d82480005d9d9e8000b00af2a..."} 
[2026-09-18 17:44:26] local.INFO: Packet analysis {"connection_id":186192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:26] local.INFO: Extracted packet for processing {"connection_id":186192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763512832,"raw_latitude":98163176,"longitude_deg":76.3512832,"latitude_deg":9.8163176,"altitude":11,"angle":175,"satellites":42,"speed":10,"hex_longitude":"2d824800","hex_latitude":"05d9d9e8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171793664001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134813366949511168,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058990625325926400,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:26] 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-09-18 17:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789733570000,"timestamp_ms":1789733570000,"timestamp_seconds":1789733570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46f05d0"} 
[2026-09-18 17:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171793664001,"66":13374,"71":206,"85":15104,"24":10,"16":134813366949511168,"45":-9058990625325926400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-18 17:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171793664001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:44:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 17:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134813366949511168,"km_value":134813366949511.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058990625325926400,"description":"Unknown IO ID 45"} 
[2026-09-18 17:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171793664001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9058990625325926400}} 
[2026-09-18 17:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":186192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:44:26] local.INFO: GPS data processed {"connection_id":186192,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:44:26] local.INFO: Acknowledgment sent {"connection_id":186192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:44:31] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46f9658012d4bc40006927830001a00072c..."} 
[2026-09-18 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46f9658012d4bc40006927830001a00072c..."} 
[2026-09-18 17:44:31] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46f9658012d4bc40006927830001a00072c..."} 
[2026-09-18 17:44:31] local.INFO: Packet analysis {"connection_id":187626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:31] local.INFO: Extracted packet for processing {"connection_id":187626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":759940096,"raw_latitude":110262320,"longitude_deg":75.9940096,"latitude_deg":11.026232,"altitude":26,"angle":7,"satellites":44,"speed":31,"hex_longitude":"2d4bc400","hex_latitude":"06927830","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171801856001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405544190911447040,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5457799826645235712,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789733607000,"timestamp_ms":1789733607000,"timestamp_seconds":1789733607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46f9658"} 
[2026-09-18 17:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:44: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-09-18 17: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-09-18 17:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:44: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-09-18 17:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171801856001,"66":27919,"226":206,"86":48896,"24":31,"16":405544190911447040,"45":5457799826645235712},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171801856001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:44:31] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:44:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405544190911447040,"km_value":405544190911447.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5457799826645235712,"description":"Unknown IO ID 45"} 
[2026-09-18 17:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171801856001,"power":27919,"unknown_226":206,"unknown_86":48896,"ignition":31,"odometer":null,"unknown_45":5457799826645235712}} 
[2026-09-18 17:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":187626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:44:31] local.INFO: GPS data processed {"connection_id":187626,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:44:31] local.INFO: Acknowledgment sent {"connection_id":187626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:44:32] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46fb1b0012d4bc6c0069288c0001b00232d..."} 
[2026-09-18 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46fb1b0012d4bc6c0069288c0001b00232d..."} 
[2026-09-18 17:44:32] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46fb1b0012d4bc6c0069288c0001b00232d..."} 
[2026-09-18 17:44:32] local.INFO: Packet analysis {"connection_id":187626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:32] local.INFO: Extracted packet for processing {"connection_id":187626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":759940800,"raw_latitude":110266560,"longitude_deg":75.99408,"latitude_deg":11.026656,"altitude":27,"angle":35,"satellites":45,"speed":18,"hex_longitude":"2d4bc6c0","hex_latitude":"069288c0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171803392001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405544397069877248,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5459488676507037696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789733614000,"timestamp_ms":1789733614000,"timestamp_seconds":1789733614,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46fb1b0"} 
[2026-09-18 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-09-18 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 17:44: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-09-18 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-09-18 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-09-18 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:44: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-09-18 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171803392001,"66":27843,"226":206,"86":48896,"24":18,"16":405544397069877248,"45":5459488676507037696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171803392001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:44:32] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:44:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405544397069877248,"km_value":405544397069877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5459488676507037696,"description":"Unknown IO ID 45"} 
[2026-09-18 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171803392001,"power":27843,"unknown_226":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5459488676507037696}} 
[2026-09-18 17:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":187626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:44:32] local.INFO: GPS data processed {"connection_id":187626,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:44:32] local.INFO: Acknowledgment sent {"connection_id":187626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:44:48] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:48] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:48] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:44:49] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:49] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:49] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:44:54] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:54] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:44:54] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:44:54] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46f4838012d824f4005d9b730000b00a82b..."} 
[2026-09-18 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46f4838012d824f4005d9b730000b00a82b..."} 
[2026-09-18 17:44:54] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46f4838012d824f4005d9b730000b00a82b..."} 
[2026-09-18 17:44:54] local.INFO: Packet analysis {"connection_id":186193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:54] local.INFO: Extracted packet for processing {"connection_id":186193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763514688,"raw_latitude":98154288,"longitude_deg":76.3514688,"latitude_deg":9.8154288,"altitude":11,"angle":168,"satellites":43,"speed":37,"hex_longitude":"2d824f40","hex_latitude":"05d9b730","is_valid_coordinates":true} 
[2026-09-18 17:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171793920001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134813809331142656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058990625325979648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:44:54] 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-09-18 17:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733587000,"timestamp_ms":1789733587000,"timestamp_seconds":1789733587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46f4838"} 
[2026-09-18 17:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:44: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-09-18 17:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171793920001,"66":13319,"71":206,"85":15104,"24":37,"16":134813809331142656,"45":-9058990625325979648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-18 17:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171793920001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:44:54] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-18 17:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134813809331142656,"km_value":134813809331142.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058990625325979648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171793920001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9058990625325979648}} 
[2026-09-18 17:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":186193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:44:54] local.INFO: GPS data processed {"connection_id":186193,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:44:54] local.INFO: Acknowledgment sent {"connection_id":186193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:45:11] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:45:11] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:45:11] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:45:14] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:45:14] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:45:14] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:45:16] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46fb598012d4bc80006928a18001b00322d..."} 
[2026-09-18 17:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46fb598012d4bc80006928a18001b00322d..."} 
[2026-09-18 17:45:16] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46fb598012d4bc80006928a18001b00322d..."} 
[2026-09-18 17:45:16] local.INFO: Packet analysis {"connection_id":186344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:45:16] local.INFO: Extracted packet for processing {"connection_id":186344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:45:16] local.INFO: GPS Element Parsed {"raw_longitude":759941120,"raw_latitude":110266904,"longitude_deg":75.994112,"latitude_deg":11.0266904,"altitude":27,"angle":50,"satellites":45,"speed":16,"hex_longitude":"2d4bc800","hex_latitude":"06928a18","is_valid_coordinates":true} 
[2026-09-18 17:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171805184001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405544422839681024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460262732694077440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789733615000,"timestamp_ms":1789733615000,"timestamp_seconds":1789733615,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46fb598"} 
[2026-09-18 17:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:45:16] 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-09-18 17:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:45: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-09-18 17:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171805184001,"66":27930,"226":206,"86":48896,"24":16,"16":405544422839681024,"45":5460262732694077440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171805184001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:45:16] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:45:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405544422839681024,"km_value":405544422839681.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460262732694077440,"description":"Unknown IO ID 45"} 
[2026-09-18 17:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171805184001,"power":27930,"unknown_226":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5460262732694077440}} 
[2026-09-18 17:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:45:16] local.INFO: GPS data processed {"connection_id":186344,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:45:16] local.INFO: Acknowledgment sent {"connection_id":186344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:45:26] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47101a0012d829b0005d85868000900b62b..."} 
[2026-09-18 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47101a0012d829b0005d85868000900b62b..."} 
[2026-09-18 17:45:26] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47101a0012d829b0005d85868000900b62b..."} 
[2026-09-18 17:45:26] local.INFO: Packet analysis {"connection_id":186193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:45:26] local.INFO: Extracted packet for processing {"connection_id":186193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763534080,"raw_latitude":98064488,"longitude_deg":76.353408,"latitude_deg":9.8064488,"altitude":9,"angle":182,"satellites":43,"speed":14,"hex_longitude":"2d829b00","hex_latitude":"05d85868","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171825408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134818301866934272,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120783492870144,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:26] 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-09-18 17:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789733700000,"timestamp_ms":1789733700000,"timestamp_seconds":1789733700,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47101a0"} 
[2026-09-18 17:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:45: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-09-18 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 17:45: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-09-18 17: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-09-18 17:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171825408001,"66":13537,"47":206,"85":15104,"24":14,"16":134818301866934272,"45":-9036120783492870144},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-18 17:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171825408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:45:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134818301866934272,"km_value":134818301866934.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120783492870144,"description":"Unknown IO ID 45"} 
[2026-09-18 17:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171825408001,"power":13537,"unknown_47":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9036120783492870144}} 
[2026-09-18 17:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":186193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:45:26] local.INFO: GPS data processed {"connection_id":186193,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:45:26] local.INFO: Acknowledgment sent {"connection_id":186193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:45:47] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b46ff418012d4be5c006929f100020003e2d..."} 
[2026-09-18 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b46ff418012d4be5c006929f100020003e2d..."} 
[2026-09-18 17:45:47] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b46ff418012d4be5c006929f100020003e2d..."} 
[2026-09-18 17:45:47] local.INFO: Packet analysis {"connection_id":186344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:45:47] local.INFO: Extracted packet for processing {"connection_id":186344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b46f"} 
[2026-09-18 17:45:47] local.INFO: GPS Element Parsed {"raw_longitude":759948736,"raw_latitude":110272272,"longitude_deg":75.9948736,"latitude_deg":11.0272272,"altitude":32,"angle":62,"satellites":45,"speed":22,"hex_longitude":"2d4be5c0","hex_latitude":"06929f10","is_valid_coordinates":true} 
[2026-09-18 17:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171805440001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405544869516279808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460614576415053824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789733631000,"timestamp_ms":1789733631000,"timestamp_seconds":1789733631,"priority":1,"record_length":96,"hex_timestamp":"000001a0b46ff418"} 
[2026-09-18 17:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:45: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-09-18 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 17:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171805440001,"66":27745,"226":206,"86":48896,"24":22,"16":405544869516279808,"45":5460614576415053824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171805440001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:45:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:45:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405544869516279808,"km_value":405544869516279.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460614576415053824,"description":"Unknown IO ID 45"} 
[2026-09-18 17:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171805440001,"power":27745,"unknown_226":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5460614576415053824}} 
[2026-09-18 17:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":186344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:45:47] local.INFO: GPS data processed {"connection_id":186344,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:45:47] local.INFO: Acknowledgment sent {"connection_id":186344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:45:51] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:51] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:51] local.INFO: IMEI packet received {"connection_id":186194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":186194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:45:55] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:55] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:55] local.INFO: IMEI packet received {"connection_id":186194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":186194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:45:59] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:59] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:45:59] local.INFO: IMEI packet received {"connection_id":186194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":186194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:45:59] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47120e0012d829cc005d84978000800a92a..."} 
[2026-09-18 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47120e0012d829cc005d84978000800a92a..."} 
[2026-09-18 17:45:59] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47120e0012d829cc005d84978000800a92a..."} 
[2026-09-18 17:45:59] local.INFO: Packet analysis {"connection_id":186194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:45:59] local.INFO: Extracted packet for processing {"connection_id":186194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763534528,"raw_latitude":98060664,"longitude_deg":76.3534528,"latitude_deg":9.8060664,"altitude":8,"angle":169,"satellites":42,"speed":15,"hex_longitude":"2d829cc0","hex_latitude":"05d84978","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171827200001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134818486550528000,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035628202284259328,"note":"Value kept but may cause issues"} 
[2026-09-18 17:45:59] 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-09-18 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789733708000,"timestamp_ms":1789733708000,"timestamp_seconds":1789733708,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47120e0"} 
[2026-09-18 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:45: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-09-18 17: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 17:45:59] 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-09-18 17: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-09-18 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171827200001,"66":13363,"47":206,"85":15104,"24":15,"16":134818486550528000,"45":-9035628202284259328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-18 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171827200001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:45:59] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134818486550528000,"km_value":134818486550528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035628202284259328,"description":"Unknown IO ID 45"} 
[2026-09-18 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171827200001,"power":13363,"unknown_47":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9035628202284259328}} 
[2026-09-18 17:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":186194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:00] local.INFO: GPS data processed {"connection_id":186194,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:00] local.INFO: Acknowledgment sent {"connection_id":186194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:46:04] local.INFO: TCP Data received {"connection_id":186194,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4715b78012d829cc005d84400000800b629..."} 
[2026-09-18 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4715b78012d829cc005d84400000800b629..."} 
[2026-09-18 17:46:04] local.INFO: Processing buffer {"connection_id":186194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4715b78012d829cc005d84400000800b629..."} 
[2026-09-18 17:46:04] local.INFO: Packet analysis {"connection_id":186194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:04] local.INFO: Extracted packet for processing {"connection_id":186194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763534528,"raw_latitude":98059264,"longitude_deg":76.3534528,"latitude_deg":9.8059264,"altitude":8,"angle":182,"satellites":41,"speed":11,"hex_longitude":"2d829cc0","hex_latitude":"05d84400","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171829248001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134818559564972032,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621075994624,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789733723000,"timestamp_ms":1789733723000,"timestamp_seconds":1789733723,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4715b78"} 
[2026-09-18 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:46: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-09-18 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 17:46:04] 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-09-18 17: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-09-18 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171829248001,"66":13526,"47":206,"85":15104,"24":11,"16":134818559564972032,"45":-9035135621075994624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-18 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171829248001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:46:04] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134818559564972032,"km_value":134818559564972.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621075994624,"description":"Unknown IO ID 45"} 
[2026-09-18 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171829248001,"power":13526,"unknown_47":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9035135621075994624}} 
[2026-09-18 17:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":186194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:04] local.INFO: GPS data processed {"connection_id":186194,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:04] local.INFO: Acknowledgment sent {"connection_id":186194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:46:11] local.INFO: TCP Data received {"connection_id":187628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:11] local.INFO: Processing buffer {"connection_id":187628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:11] local.INFO: IMEI packet received {"connection_id":187628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:46:13] local.INFO: TCP Data received {"connection_id":187629,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:13] local.INFO: Processing buffer {"connection_id":187629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:13] local.INFO: IMEI packet received {"connection_id":187629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:46:13] local.INFO: TCP Data received {"connection_id":187628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:13] local.INFO: Processing buffer {"connection_id":187628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:13] local.INFO: IMEI packet received {"connection_id":187628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:13] local.INFO: TCP Data received {"connection_id":187629,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:13] local.INFO: Processing buffer {"connection_id":187629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:13] local.INFO: IMEI packet received {"connection_id":187629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:17] local.INFO: TCP Data received {"connection_id":187629,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:17] local.INFO: Processing buffer {"connection_id":187629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:17] local.INFO: IMEI packet received {"connection_id":187629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":187629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:18] local.INFO: TCP Data received {"connection_id":187629,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:18] local.INFO: Processing buffer {"connection_id":187629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:46:18] local.INFO: IMEI packet received {"connection_id":187629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":187629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:18] local.INFO: TCP Data received {"connection_id":187629,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b470e648012d185b4007220700005900212d..."} 
[2026-09-18 17:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b470e648012d185b4007220700005900212d..."} 
[2026-09-18 17:46:18] local.INFO: Processing buffer {"connection_id":187629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b470e648012d185b4007220700005900212d..."} 
[2026-09-18 17:46:18] local.INFO: Packet analysis {"connection_id":187629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b470"} 
[2026-09-18 17:46:18] local.INFO: Extracted packet for processing {"connection_id":187629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b470"} 
[2026-09-18 17:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119670528,"longitude_deg":75.6570944,"latitude_deg":11.9670528,"altitude":89,"angle":33,"satellites":45,"speed":42,"hex_longitude":"2d185b40","hex_latitude":"07220700","is_valid_coordinates":true} 
[2026-09-18 17:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171823104001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21464854976004096,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749155904657831936,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789733693000,"timestamp_ms":1789733693000,"timestamp_seconds":1789733693,"priority":1,"record_length":96,"hex_timestamp":"000001a0b470e648"} 
[2026-09-18 17:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 17:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171823104001,"66":14004,"105":206,"83":41984,"24":42,"16":21464854976004096,"45":1749155904657831936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171823104001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:46:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21464854976004096,"km_value":21464854976004.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749155904657831936,"description":"Unknown IO ID 45"} 
[2026-09-18 17:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171823104001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1749155904657831936}} 
[2026-09-18 17:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":187629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:18] local.INFO: GPS data processed {"connection_id":187629,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:18] local.INFO: Acknowledgment sent {"connection_id":187629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:46:20] local.INFO: TCP Data received {"connection_id":187628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:20] local.INFO: Processing buffer {"connection_id":187628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:46:20] local.INFO: IMEI packet received {"connection_id":187628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":187628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:21] local.INFO: TCP Data received {"connection_id":187628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4713080012d4bdfc006929b80002400ed2d..."} 
[2026-09-18 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4713080012d4bdfc006929b80002400ed2d..."} 
[2026-09-18 17:46:21] local.INFO: Processing buffer {"connection_id":187628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4713080012d4bdfc006929b80002400ed2d..."} 
[2026-09-18 17:46:21] local.INFO: Packet analysis {"connection_id":187628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:21] local.INFO: Extracted packet for processing {"connection_id":187628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":759947200,"raw_latitude":110271360,"longitude_deg":75.99472,"latitude_deg":11.027136,"altitude":36,"angle":237,"satellites":45,"speed":29,"hex_longitude":"2d4bdfc0","hex_latitude":"06929b80","is_valid_coordinates":true} 
[2026-09-18 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171826944001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405545646905360384,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5474266112787417088,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789733712000,"timestamp_ms":1789733712000,"timestamp_seconds":1789733712,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4713080"} 
[2026-09-18 17:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:46: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-09-18 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 17:46: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-09-18 17: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-09-18 17:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:46: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-09-18 17:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171826944001,"66":27930,"226":206,"86":48896,"24":29,"16":405545646905360384,"45":5474266112787417088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171826944001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:46:21] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:46:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405545646905360384,"km_value":405545646905360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5474266112787417088,"description":"Unknown IO ID 45"} 
[2026-09-18 17:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171826944001,"power":27930,"unknown_226":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5474266112787417088}} 
[2026-09-18 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":187628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:21] local.INFO: GPS data processed {"connection_id":187628,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:21] local.INFO: Acknowledgment sent {"connection_id":187628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:46:23] local.INFO: TCP Data received {"connection_id":187629,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4710970012d18704007222678005d00212b..."} 
[2026-09-18 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4710970012d18704007222678005d00212b..."} 
[2026-09-18 17:46:23] local.INFO: Processing buffer {"connection_id":187629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4710970012d18704007222678005d00212b..."} 
[2026-09-18 17:46:23] local.INFO: Packet analysis {"connection_id":187629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:23] local.INFO: Extracted packet for processing {"connection_id":187629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756576320,"raw_latitude":119678584,"longitude_deg":75.657632,"latitude_deg":11.9678584,"altitude":93,"angle":33,"satellites":43,"speed":41,"hex_longitude":"2d187040","hex_latitude":"07222678","is_valid_coordinates":true} 
[2026-09-18 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171825408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21465318832472064,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755066879170772992,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789733702000,"timestamp_ms":1789733702000,"timestamp_seconds":1789733702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4710970"} 
[2026-09-18 17:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-18 17:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171825408001,"66":14004,"105":206,"83":41984,"24":41,"16":21465318832472064,"45":1755066879170772992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 17:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171825408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21465318832472064,"km_value":21465318832472.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755066879170772992,"description":"Unknown IO ID 45"} 
[2026-09-18 17:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171825408001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1755066879170772992}} 
[2026-09-18 17:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":187629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:24] local.INFO: GPS data processed {"connection_id":187629,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:24] local.INFO: Acknowledgment sent {"connection_id":187629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:46:45] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:45] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:45] local.INFO: IMEI packet received {"connection_id":188942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":188942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:46:49] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:49] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:49] local.INFO: IMEI packet received {"connection_id":188942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":188942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:53] local.INFO: TCP Data received {"connection_id":187628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4715790012d4bca0006928bd8002200e02c..."} 
[2026-09-18 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4715790012d4bca0006928bd8002200e02c..."} 
[2026-09-18 17:46:53] local.INFO: Processing buffer {"connection_id":187628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4715790012d4bca0006928bd8002200e02c..."} 
[2026-09-18 17:46:53] local.INFO: Packet analysis {"connection_id":187628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:53] local.INFO: Extracted packet for processing {"connection_id":187628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:53] local.INFO: GPS Element Parsed {"raw_longitude":759941632,"raw_latitude":110267352,"longitude_deg":75.9941632,"latitude_deg":11.0267352,"altitude":34,"angle":224,"satellites":44,"speed":18,"hex_longitude":"2d4bca00","hex_latitude":"06928bd8","is_valid_coordinates":true} 
[2026-09-18 17:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171830272001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405545977617842176,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5467299607113072640,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789733722000,"timestamp_ms":1789733722000,"timestamp_seconds":1789733722,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4715790"} 
[2026-09-18 17:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:46: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-09-18 17:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 17:46:53] 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-09-18 17:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171830272001,"66":27919,"226":206,"86":48896,"24":18,"16":405545977617842176,"45":5467299607113072640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171830272001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405545977617842176,"km_value":405545977617842.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5467299607113072640,"description":"Unknown IO ID 45"} 
[2026-09-18 17:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171830272001,"power":27919,"unknown_226":206,"unknown_86":48896,"ignition":18,"odometer":null,"unknown_45":5467299607113072640}} 
[2026-09-18 17:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":187628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:53] local.INFO: GPS data processed {"connection_id":187628,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:53] local.INFO: Acknowledgment sent {"connection_id":187628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:46:54] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:54] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:46:54] local.INFO: IMEI packet received {"connection_id":188942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":188942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:46:54] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4719228012d829e0005d81e70000900b429..."} 
[2026-09-18 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4719228012d829e0005d81e70000900b429..."} 
[2026-09-18 17:46:54] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4719228012d829e0005d81e70000900b429..."} 
[2026-09-18 17:46:54] local.INFO: Packet analysis {"connection_id":188942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:54] local.INFO: Extracted packet for processing {"connection_id":188942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":98049648,"longitude_deg":76.3534848,"latitude_deg":9.8049648,"altitude":9,"angle":180,"satellites":41,"speed":31,"hex_longitude":"2d829e00","hex_latitude":"05d81e70","is_valid_coordinates":true} 
[2026-09-18 17:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171833088001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134819027716407296,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621076353024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:46:54] 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-09-18 17:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733737000,"timestamp_ms":1789733737000,"timestamp_seconds":1789733737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4719228"} 
[2026-09-18 17:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 17:46: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-09-18 17:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171833088001,"66":13646,"47":206,"85":15104,"24":31,"16":134819027716407296,"45":-9035135621076353024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-18 17:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171833088001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134819027716407296,"km_value":134819027716407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621076353024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171833088001,"power":13646,"unknown_47":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9035135621076353024}} 
[2026-09-18 17:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":188942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:46:54] local.INFO: GPS data processed {"connection_id":188942,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:46:54] local.INFO: Acknowledgment sent {"connection_id":188942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:47:10] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:10] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:10] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:47:11] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:11] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:11] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:47:12] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:12] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:12] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:47:13] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:13] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:47:13] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:47:16] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:16] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:16] local.INFO: IMEI packet received {"connection_id":188943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":188943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:47:17] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:17] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:17] local.INFO: IMEI packet received {"connection_id":188943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":188943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:47:22] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:22] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:47:22] local.INFO: IMEI packet received {"connection_id":188943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":188943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:47:25] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4715b78012d4bc8c006928a78002100d02d..."} 
[2026-09-18 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4715b78012d4bc8c006928a78002100d02d..."} 
[2026-09-18 17:47:25] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4715b78012d4bc8c006928a78002100d02d..."} 
[2026-09-18 17:47:25] local.INFO: Packet analysis {"connection_id":188943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:47:25] local.INFO: Extracted packet for processing {"connection_id":188943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":759941312,"raw_latitude":110267000,"longitude_deg":75.9941312,"latitude_deg":11.0267,"altitude":33,"angle":208,"satellites":45,"speed":17,"hex_longitude":"2d4bc8c0","hex_latitude":"06928a78","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171832832001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405545999092678656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461177526368589824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789733723000,"timestamp_ms":1789733723000,"timestamp_seconds":1789733723,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4715b78"} 
[2026-09-18 17:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-18 17:47:25] 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-09-18 17: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-09-18 17:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171832832001,"66":27832,"226":206,"86":48896,"24":17,"16":405545999092678656,"45":5461177526368589824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-09-18 17:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171832832001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:47:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-18 17:47:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405545999092678656,"km_value":405545999092678.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461177526368589824,"description":"Unknown IO ID 45"} 
[2026-09-18 17:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171832832001,"power":27832,"unknown_226":206,"unknown_86":48896,"ignition":17,"odometer":null,"unknown_45":5461177526368589824}} 
[2026-09-18 17:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":188943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:47:25] local.INFO: GPS data processed {"connection_id":188943,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:47:25] local.INFO: Acknowledgment sent {"connection_id":188943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:47:26] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b471c4f0012d829f0005d7f8c0000900b22b..."} 
[2026-09-18 17:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b471c4f0012d829f0005d7f8c0000900b22b..."} 
[2026-09-18 17:47:26] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b471c4f0012d829f0005d7f8c0000900b22b..."} 
[2026-09-18 17:47:26] local.INFO: Packet analysis {"connection_id":188942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:47:26] local.INFO: Extracted packet for processing {"connection_id":188942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98040000,"longitude_deg":76.3535104,"latitude_deg":9.804,"altitude":9,"angle":178,"satellites":43,"speed":33,"hex_longitude":"2d829f00","hex_latitude":"05d7f8c0","is_valid_coordinates":true} 
[2026-09-18 17:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171836672001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134819495867842560,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777357926400,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:26] 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-09-18 17:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789733750000,"timestamp_ms":1789733750000,"timestamp_seconds":1789733750,"priority":1,"record_length":96,"hex_timestamp":"000001a0b471c4f0"} 
[2026-09-18 17:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:47: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-09-18 17:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-18 17:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171836672001,"66":13319,"47":206,"85":15104,"24":33,"16":134819495867842560,"45":-9034783777357926400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-18 17:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171836672001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:47:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-18 17:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134819495867842560,"km_value":134819495867842.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777357926400,"description":"Unknown IO ID 45"} 
[2026-09-18 17:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171836672001,"power":13319,"unknown_47":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9034783777357926400}} 
[2026-09-18 17:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":188942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:47:26] local.INFO: GPS data processed {"connection_id":188942,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:47:26] local.INFO: Acknowledgment sent {"connection_id":188942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:47:54] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:47:54] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:47:54] local.INFO: IMEI packet received {"connection_id":186195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":186195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:47:56] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b472c6c0012d4b890006919748001c00ac28..."} 
[2026-09-18 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b472c6c0012d4b890006919748001c00ac28..."} 
[2026-09-18 17:47:56] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b472c6c0012d4b890006919748001c00ac28..."} 
[2026-09-18 17:47:56] local.INFO: Packet analysis {"connection_id":188943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:47:56] local.INFO: Extracted packet for processing {"connection_id":188943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":759924992,"raw_latitude":110204744,"longitude_deg":75.9924992,"latitude_deg":11.0204744,"altitude":28,"angle":172,"satellites":40,"speed":26,"hex_longitude":"2d4b8900","hex_latitude":"06919748","is_valid_coordinates":true} 
[2026-09-18 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171856128001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405549181663444992,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442952021611051008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:47:56] 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-09-18 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789733816000,"timestamp_ms":1789733816000,"timestamp_seconds":1789733816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b472c6c0"} 
[2026-09-18 17:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:47: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-09-18 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:47: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-09-18 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171856128001,"66":27821,"187":206,"86":48896,"24":26,"16":405549181663444992,"45":5442952021611051008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171856128001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:47:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 17:47:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405549181663444992,"km_value":405549181663445.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442952021611051008,"description":"Unknown IO ID 45"} 
[2026-09-18 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171856128001,"power":27821,"unknown_187":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5442952021611051008}} 
[2026-09-18 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":188943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:47:56] local.INFO: GPS data processed {"connection_id":188943,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:47:56] local.INFO: Acknowledgment sent {"connection_id":188943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:47:59] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:47:59] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:47:59] local.INFO: IMEI packet received {"connection_id":186195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":186195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:48:00] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b471f7b8012d82a0c005d7d528000900af2a..."} 
[2026-09-18 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b471f7b8012d82a0c005d7d528000900af2a..."} 
[2026-09-18 17:48:00] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b471f7b8012d82a0c005d7d528000900af2a..."} 
[2026-09-18 17:48:00] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:48:00] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b471"} 
[2026-09-18 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763535552,"raw_latitude":98030888,"longitude_deg":76.3535552,"latitude_deg":9.8030888,"altitude":9,"angle":175,"satellites":42,"speed":20,"hex_longitude":"2d82a0c0","hex_latitude":"05d7d528","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171840000001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134819938249474048,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302383685632,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] 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-09-18 17:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789733763000,"timestamp_ms":1789733763000,"timestamp_seconds":1789733763,"priority":1,"record_length":96,"hex_timestamp":"000001a0b471f7b8"} 
[2026-09-18 17:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48: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-09-18 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3027291864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191196165,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-8469019060604884224,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580138702,"corrected_to":0} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154014,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4167761920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3630747648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57805934785615163,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-6638304555768971259,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:00] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,47,85,24,241,157,16,249,160,146,45,30,9,41,10,66,91,192,68,8,248,32,1,240,51,227,180,216,4,113,205,14,230,153,42,239,50,49,2,222,5,19,7,112],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1580138702,"validated":0}]} 
[2026-09-18 17:48:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648714244096851968,"timestamp_seconds":648714244096852.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171840000001,"66":13526,"155":206,"85":15104,"24":20,"16":134819938249474048,"45":-9034502302383685632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-18 17:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171840000001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-18 17:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134819938249474048,"km_value":134819938249474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302383685632,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171840000001,"power":13526,"unknown_155":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9034502302383685632}} 
[2026-09-18 17:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:00] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:00] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:01] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47222b0012d82a24005d7b098000700b12a..."} 
[2026-09-18 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47222b0012d82a24005d7b098000700b12a..."} 
[2026-09-18 17:48:01] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47222b0012d82a24005d7b098000700b12a..."} 
[2026-09-18 17:48:01] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:48:01] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":98021528,"longitude_deg":76.3535936,"latitude_deg":9.8021528,"altitude":7,"angle":177,"satellites":42,"speed":41,"hex_longitude":"2d82a240","hex_latitude":"05d7b098","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171843328001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134820393516007424,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034009721176774656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:01] 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-09-18 17:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789733774000,"timestamp_ms":1789733774000,"timestamp_seconds":1789733774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47222b0"} 
[2026-09-18 17:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48: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-09-18 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171843328001,"66":13450,"155":206,"85":15104,"24":41,"16":134820393516007424,"45":-9034009721176774656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-18 17:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171843328001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:01] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-18 17:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134820393516007424,"km_value":134820393516007.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034009721176774656,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171843328001,"power":13450,"unknown_155":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9034009721176774656}} 
[2026-09-18 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:01] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:01] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:14] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:48:14] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:48:14] local.INFO: IMEI packet received {"connection_id":186346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":186346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:48:15] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:48:15] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:48:15] local.INFO: IMEI packet received {"connection_id":186346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:48:17] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b472ce90012d4b8a8006919240001d009a2a..."} 
[2026-09-18 17:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b472ce90012d4b8a8006919240001d009a2a..."} 
[2026-09-18 17:48:17] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b472ce90012d4b8a8006919240001d009a2a..."} 
[2026-09-18 17:48:17] local.INFO: Packet analysis {"connection_id":186346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:48:17] local.INFO: Extracted packet for processing {"connection_id":186346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:48:17] local.INFO: GPS Element Parsed {"raw_longitude":759925376,"raw_latitude":110203456,"longitude_deg":75.9925376,"latitude_deg":11.0203456,"altitude":29,"angle":154,"satellites":42,"speed":27,"hex_longitude":"2d4b8a80","hex_latitude":"06919240","is_valid_coordinates":true} 
[2026-09-18 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171856896001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405549246087954432,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442881652866369536,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:17] 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-09-18 17:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789733818000,"timestamp_ms":1789733818000,"timestamp_seconds":1789733818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b472ce90"} 
[2026-09-18 17:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48: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-09-18 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:48: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-09-18 17:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:48: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-09-18 17:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171856896001,"66":27821,"187":206,"86":48896,"24":27,"16":405549246087954432,"45":5442881652866369536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 17:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171856896001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:17] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 17:48:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405549246087954432,"km_value":405549246087954.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442881652866369536,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171856896001,"power":27821,"unknown_187":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5442881652866369536}} 
[2026-09-18 17:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":186346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:17] local.INFO: GPS data processed {"connection_id":186346,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:17] local.INFO: Acknowledgment sent {"connection_id":186346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:18] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b472edd0012d4b940006918188001f008b2c..."} 
[2026-09-18 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b472edd0012d4b940006918188001f008b2c..."} 
[2026-09-18 17:48:18] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b472edd0012d4b940006918188001f008b2c..."} 
[2026-09-18 17:48:18] local.INFO: Packet analysis {"connection_id":186346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:48:18] local.INFO: Extracted packet for processing {"connection_id":186346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b472"} 
[2026-09-18 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":759927808,"raw_latitude":110199176,"longitude_deg":75.9927808,"latitude_deg":11.0199176,"altitude":31,"angle":139,"satellites":44,"speed":22,"hex_longitude":"2d4b9400","hex_latitude":"06918188","is_valid_coordinates":true} 
[2026-09-18 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171857408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405549486606123008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5443303865331105792,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:18] 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-09-18 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789733826000,"timestamp_ms":1789733826000,"timestamp_seconds":1789733826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b472edd0"} 
[2026-09-18 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:48:18] 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-09-18 17:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171857408001,"66":27789,"187":206,"86":48896,"24":22,"16":405549486606123008,"45":5443303865331105792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171857408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:18] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 17:48:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405549486606123008,"km_value":405549486606123.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5443303865331105792,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171857408001,"power":27789,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5443303865331105792}} 
[2026-09-18 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":186346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:18] local.INFO: GPS data processed {"connection_id":186346,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:18] local.INFO: Acknowledgment sent {"connection_id":186346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:32] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4742650012d82d10005d685a00004009e29..."} 
[2026-09-18 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4742650012d82d10005d685a00004009e29..."} 
[2026-09-18 17:48:32] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4742650012d82d10005d685a00004009e29..."} 
[2026-09-18 17:48:32] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b474"} 
[2026-09-18 17:48:32] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b474"} 
[2026-09-18 17:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944992,"longitude_deg":76.3547904,"latitude_deg":9.7944992,"altitude":4,"angle":158,"satellites":41,"speed":6,"hex_longitude":"2d82d100","hex_latitude":"05d685a0","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171879680001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134824258986573824,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020498922316617728,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:32] 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-09-18 17:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789733906000,"timestamp_ms":1789733906000,"timestamp_seconds":1789733906,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4742650"} 
[2026-09-18 17:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 17:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171879680001,"66":13374,"156":206,"85":15104,"24":6,"16":134824258986573824,"45":-9020498922316617728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-18 17:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171879680001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-18 17:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134824258986573824,"km_value":134824258986573.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020498922316617728,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171879680001,"power":13374,"unknown_156":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9020498922316617728}} 
[2026-09-18 17:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:32] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:32] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:47] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:47] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:47] local.INFO: IMEI packet received {"connection_id":188945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":188945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:48:48] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:48] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:48] local.INFO: IMEI packet received {"connection_id":188945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":188945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:48:49] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4731cb0012d4ba44006916db80022007e2f..."} 
[2026-09-18 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4731cb0012d4ba44006916db80022007e2f..."} 
[2026-09-18 17:48:49] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4731cb0012d4ba44006916db80022007e2f..."} 
[2026-09-18 17:48:49] local.INFO: Packet analysis {"connection_id":186346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b473"} 
[2026-09-18 17:48:49] local.INFO: Extracted packet for processing {"connection_id":186346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b473"} 
[2026-09-18 17:48:49] local.INFO: GPS Element Parsed {"raw_longitude":759931968,"raw_latitude":110194104,"longitude_deg":75.9931968,"latitude_deg":11.0194104,"altitude":34,"angle":126,"satellites":47,"speed":19,"hex_longitude":"2d4ba440","hex_latitude":"06916db8","is_valid_coordinates":true} 
[2026-09-18 17:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171859456001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405549800138735616,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5445977877608761344,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:49] 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-09-18 17:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789733838000,"timestamp_ms":1789733838000,"timestamp_seconds":1789733838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4731cb0"} 
[2026-09-18 17:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 17:48:49] 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-09-18 17:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171859456001,"66":27691,"187":206,"86":48896,"24":19,"16":405549800138735616,"45":5445977877608761344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-18 17:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171859456001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:49] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-18 17:48:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405549800138735616,"km_value":405549800138735.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5445977877608761344,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171859456001,"power":27691,"unknown_187":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5445977877608761344}} 
[2026-09-18 17:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":186346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:49] local.INFO: GPS data processed {"connection_id":186346,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:49] local.INFO: Acknowledgment sent {"connection_id":186346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:54] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:54] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:48:54] local.INFO: IMEI packet received {"connection_id":188945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":188945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:48:54] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4742a38012d82d10005d68528000400b129..."} 
[2026-09-18 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4742a38012d82d10005d68528000400b129..."} 
[2026-09-18 17:48:54] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4742a38012d82d10005d68528000400b129..."} 
[2026-09-18 17:48:54] local.INFO: Packet analysis {"connection_id":188945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b474"} 
[2026-09-18 17:48:54] local.INFO: Extracted packet for processing {"connection_id":188945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b474"} 
[2026-09-18 17:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944872,"longitude_deg":76.3547904,"latitude_deg":9.7944872,"altitude":4,"angle":177,"satellites":41,"speed":5,"hex_longitude":"2d82d100","hex_latitude":"05d68528","is_valid_coordinates":true} 
[2026-09-18 17:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171879936001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134824267576508416,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572474880,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48: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-09-18 17:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789733907000,"timestamp_ms":1789733907000,"timestamp_seconds":1789733907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4742a38"} 
[2026-09-18 17:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:48: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-09-18 17:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171879936001,"66":13374,"156":206,"85":15104,"24":5,"16":134824267576508416,"45":-9020428553572474880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-18 17:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171879936001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-18 17:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134824267576508416,"km_value":134824267576508.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572474880,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171879936001,"power":13374,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9020428553572474880}} 
[2026-09-18 17:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":188945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:54] local.INFO: GPS data processed {"connection_id":188945,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:54] local.INFO: Acknowledgment sent {"connection_id":188945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:48:58] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4743208012d82d10005d68430000400c029..."} 
[2026-09-18 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4743208012d82d10005d68430000400c029..."} 
[2026-09-18 17:48:58] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4743208012d82d10005d68430000400c029..."} 
[2026-09-18 17:48:58] local.INFO: Packet analysis {"connection_id":188945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b474"} 
[2026-09-18 17:48:58] local.INFO: Extracted packet for processing {"connection_id":188945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b474"} 
[2026-09-18 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944624,"longitude_deg":76.3547904,"latitude_deg":9.7944624,"altitude":4,"angle":192,"satellites":41,"speed":5,"hex_longitude":"2d82d100","hex_latitude":"05d68430","is_valid_coordinates":true} 
[2026-09-18 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171880192001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134824280461410304,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572505600,"note":"Value kept but may cause issues"} 
[2026-09-18 17:48:58] 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-09-18 17:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789733909000,"timestamp_ms":1789733909000,"timestamp_seconds":1789733909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4743208"} 
[2026-09-18 17:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:48: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-09-18 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171880192001,"66":13613,"156":206,"85":15104,"24":5,"16":134824280461410304,"45":-9020428553572505600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-18 17:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171880192001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:48:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-18 17:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134824280461410304,"km_value":134824280461410.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572505600,"description":"Unknown IO ID 45"} 
[2026-09-18 17:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171880192001,"power":13613,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9020428553572505600}} 
[2026-09-18 17:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":188945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:48:58] local.INFO: GPS data processed {"connection_id":188945,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:48:58] local.INFO: Acknowledgment sent {"connection_id":188945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:49:12] local.INFO: TCP Data received {"connection_id":186349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:49:12] local.INFO: Processing buffer {"connection_id":186349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:49:12] local.INFO: IMEI packet received {"connection_id":186349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":186349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:49:17] local.INFO: TCP Data received {"connection_id":186349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:49:17] local.INFO: Processing buffer {"connection_id":186349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:49:17] local.INFO: IMEI packet received {"connection_id":186349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":186349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:49:18] local.INFO: TCP Data received {"connection_id":186349,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4732868012d4ba94006916aa8002200712f..."} 
[2026-09-18 17:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4732868012d4ba94006916aa8002200712f..."} 
[2026-09-18 17:49:18] local.INFO: Processing buffer {"connection_id":186349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4732868012d4ba94006916aa8002200712f..."} 
[2026-09-18 17:49:18] local.INFO: Packet analysis {"connection_id":186349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b473"} 
[2026-09-18 17:49:18] local.INFO: Extracted packet for processing {"connection_id":186349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b473"} 
[2026-09-18 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":759933248,"raw_latitude":110193320,"longitude_deg":75.9933248,"latitude_deg":11.019332,"altitude":34,"angle":113,"satellites":47,"speed":19,"hex_longitude":"2d4ba940","hex_latitude":"06916aa8","is_valid_coordinates":true} 
[2026-09-18 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171862528001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405549873153179648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5450551845979011072,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789733841000,"timestamp_ms":1789733841000,"timestamp_seconds":1789733841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4732868"} 
[2026-09-18 17:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 17:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171862528001,"66":27800,"68":206,"86":48896,"24":19,"16":405549873153179648,"45":5450551845979011072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171862528001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:49:18] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:49:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405549873153179648,"km_value":405549873153179.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5450551845979011072,"description":"Unknown IO ID 45"} 
[2026-09-18 17:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171862528001,"power":27800,"unknown_68":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5450551845979011072}} 
[2026-09-18 17:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":186349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:49:18] local.INFO: GPS data processed {"connection_id":186349,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:49:18] local.INFO: Acknowledgment sent {"connection_id":186349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:49:30] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4750110012d829d8005d61318000400cf28..."} 
[2026-09-18 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4750110012d829d8005d61318000400cf28..."} 
[2026-09-18 17:49:30] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4750110012d829d8005d61318000400cf28..."} 
[2026-09-18 17:49:30] local.INFO: Packet analysis {"connection_id":188945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:49:30] local.INFO: Extracted packet for processing {"connection_id":188945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":97915672,"longitude_deg":76.353472,"latitude_deg":9.7915672,"altitude":4,"angle":207,"satellites":40,"speed":16,"hex_longitude":"2d829d80","hex_latitude":"05d61318","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171892992001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134825886779179008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032672715066681344,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:30] 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-09-18 17:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789733962000,"timestamp_ms":1789733962000,"timestamp_seconds":1789733962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4750110"} 
[2026-09-18 17:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":247,"data_length":795,"current_offset":136} 
[2026-09-18 17:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171892992001,"66":13678,"156":206,"85":15104,"24":16,"16":134825886779179008,"45":-9032672715066681344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-18 17:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171892992001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:49:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-18 17:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134825886779179008,"km_value":134825886779179.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032672715066681344,"description":"Unknown IO ID 45"} 
[2026-09-18 17:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171892992001,"power":13678,"unknown_156":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9032672715066681344}} 
[2026-09-18 17:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":188945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:49:30] local.INFO: GPS data processed {"connection_id":188945,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:49:30] local.INFO: Acknowledgment sent {"connection_id":188945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:49:45] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:49:45] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:49:45] local.INFO: IMEI packet received {"connection_id":186347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":186347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:49:49] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:49] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:49] local.INFO: IMEI packet received {"connection_id":186196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":186196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:49:49] local.INFO: TCP Data received {"connection_id":186349,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4733bf0012d4bb340069167900024006530..."} 
[2026-09-18 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4733bf0012d4bb340069167900024006530..."} 
[2026-09-18 17:49:49] local.INFO: Processing buffer {"connection_id":186349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4733bf0012d4bb340069167900024006530..."} 
[2026-09-18 17:49:49] local.INFO: Packet analysis {"connection_id":186349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b473"} 
[2026-09-18 17:49:49] local.INFO: Extracted packet for processing {"connection_id":186349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b473"} 
[2026-09-18 17:49:49] local.INFO: GPS Element Parsed {"raw_longitude":759935808,"raw_latitude":110192528,"longitude_deg":75.9935808,"latitude_deg":11.0192528,"altitude":36,"angle":101,"satellites":48,"speed":22,"hex_longitude":"2d4bb340","hex_latitude":"06916790","is_valid_coordinates":true} 
[2026-09-18 17:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171863296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405550002002198528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5451959220862363648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789733846000,"timestamp_ms":1789733846000,"timestamp_seconds":1789733846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4733bf0"} 
[2026-09-18 17:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171863296001,"66":27865,"68":206,"86":48896,"24":22,"16":405550002002198528,"45":5451959220862363648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171863296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:49:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:49:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405550002002198528,"km_value":405550002002198.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5451959220862363648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171863296001,"power":27865,"unknown_68":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5451959220862363648}} 
[2026-09-18 17:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":186349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:49:49] local.INFO: GPS data processed {"connection_id":186349,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:49:49] local.INFO: Acknowledgment sent {"connection_id":186349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:49:49] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:49] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:49] local.INFO: IMEI packet received {"connection_id":186196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":186196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:49:50] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:50] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:49:50] local.INFO: IMEI packet received {"connection_id":186196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":186196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:49:52] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47504f8012d829d0005d61168000500b828..."} 
[2026-09-18 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47504f8012d829d0005d61168000500b828..."} 
[2026-09-18 17:49:52] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47504f8012d829d0005d61168000500b828..."} 
[2026-09-18 17:49:52] local.INFO: Packet analysis {"connection_id":186196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:49:52] local.INFO: Extracted packet for processing {"connection_id":186196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763534592,"raw_latitude":97915240,"longitude_deg":76.3534592,"latitude_deg":9.791524,"altitude":5,"angle":184,"satellites":40,"speed":17,"hex_longitude":"2d829d00","hex_latitude":"05d61168","is_valid_coordinates":true} 
[2026-09-18 17:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171894272001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134825908254015488,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034924514880579584,"note":"Value kept but may cause issues"} 
[2026-09-18 17:49:52] 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-09-18 17:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789733963000,"timestamp_ms":1789733963000,"timestamp_seconds":1789733963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47504f8"} 
[2026-09-18 17:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:49: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-09-18 17:49: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":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171894272001,"66":13602,"156":206,"85":15104,"24":17,"16":134825908254015488,"45":-9034924514880579584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-18 17:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171894272001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:49:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-18 17:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134825908254015488,"km_value":134825908254015.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034924514880579584,"description":"Unknown IO ID 45"} 
[2026-09-18 17:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171894272001,"power":13602,"unknown_156":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9034924514880579584}} 
[2026-09-18 17:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":186196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:49:52] local.INFO: GPS data processed {"connection_id":186196,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:49:52] local.INFO: Acknowledgment sent {"connection_id":186196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:50:11] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:11] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:11] local.INFO: IMEI packet received {"connection_id":187631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":187631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:50:14] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:14] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:14] local.INFO: IMEI packet received {"connection_id":187631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":187631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:50:17] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:17] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:50:17] local.INFO: IMEI packet received {"connection_id":187631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":187631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:50:17] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47508e0012d4be9800690bc50003600b12c..."} 
[2026-09-18 17:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47508e0012d4be9800690bc50003600b12c..."} 
[2026-09-18 17:50:17] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47508e0012d4be9800690bc50003600b12c..."} 
[2026-09-18 17:50:17] local.INFO: Packet analysis {"connection_id":187631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:50:17] local.INFO: Extracted packet for processing {"connection_id":187631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:50:17] local.INFO: GPS Element Parsed {"raw_longitude":759949696,"raw_latitude":110148688,"longitude_deg":75.9949696,"latitude_deg":11.0148688,"altitude":54,"angle":177,"satellites":44,"speed":22,"hex_longitude":"2d4be980","hex_latitude":"0690bc50","is_valid_coordinates":true} 
[2026-09-18 17:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171890432001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405552548917805056,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470043988106887168,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789733964000,"timestamp_ms":1789733964000,"timestamp_seconds":1789733964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47508e0"} 
[2026-09-18 17:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:50: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-09-18 17:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:50: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-09-18 17:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:50: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-09-18 17:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171890432001,"66":28017,"68":206,"86":48896,"24":22,"16":405552548917805056,"45":5470043988106887168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171890432001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:50:17] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:50:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405552548917805056,"km_value":405552548917805.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470043988106887168,"description":"Unknown IO ID 45"} 
[2026-09-18 17:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171890432001,"power":28017,"unknown_68":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5470043988106887168}} 
[2026-09-18 17:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":187631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:50:17] local.INFO: GPS data processed {"connection_id":187631,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:50:17] local.INFO: Acknowledgment sent {"connection_id":187631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:50:25] local.INFO: TCP Data received {"connection_id":186196,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47508e0012d829d8005d60f78000500aa29..."} 
[2026-09-18 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47508e0012d829d8005d60f78000500aa29..."} 
[2026-09-18 17:50:25] local.INFO: Processing buffer {"connection_id":186196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47508e0012d829d8005d60f78000500aa29..."} 
[2026-09-18 17:50:25] local.INFO: Packet analysis {"connection_id":186196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:50:25] local.INFO: Extracted packet for processing {"connection_id":186196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":97914744,"longitude_deg":76.353472,"latitude_deg":9.7914744,"altitude":5,"angle":170,"satellites":41,"speed":20,"hex_longitude":"2d829d80","hex_latitude":"05d60f78","is_valid_coordinates":true} 
[2026-09-18 17:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171894528001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134825934023819264,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035065252369045504,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:25] 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-09-18 17:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789733964000,"timestamp_ms":1789733964000,"timestamp_seconds":1789733964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47508e0"} 
[2026-09-18 17:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:50: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-09-18 17:50: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":34,"data_length":795,"current_offset":136} 
[2026-09-18 17:50:25] 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-09-18 17:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171894528001,"66":13602,"156":206,"85":15104,"24":20,"16":134825934023819264,"45":-9035065252369045504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-18 17:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171894528001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:50:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-18 17:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134825934023819264,"km_value":134825934023819.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035065252369045504,"description":"Unknown IO ID 45"} 
[2026-09-18 17:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171894528001,"power":13602,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9035065252369045504}} 
[2026-09-18 17:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":186196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:50:25] local.INFO: GPS data processed {"connection_id":186196,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:50:25] local.INFO: Acknowledgment sent {"connection_id":186196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:50:49] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47510b0012d4be9400690b7e8003700c12a..."} 
[2026-09-18 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47510b0012d4be9400690b7e8003700c12a..."} 
[2026-09-18 17:50:49] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47510b0012d4be9400690b7e8003700c12a..."} 
[2026-09-18 17:50:49] local.INFO: Packet analysis {"connection_id":187631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:50:49] local.INFO: Extracted packet for processing {"connection_id":187631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:50:49] local.INFO: GPS Element Parsed {"raw_longitude":759949632,"raw_latitude":110147560,"longitude_deg":75.9949632,"latitude_deg":11.014756,"altitude":55,"angle":193,"satellites":42,"speed":23,"hex_longitude":"2d4be940","hex_latitude":"0690b7e8","is_valid_coordinates":true} 
[2026-09-18 17:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171894784001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405552604752379904,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470043988104597504,"note":"Value kept but may cause issues"} 
[2026-09-18 17:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789733966000,"timestamp_ms":1789733966000,"timestamp_seconds":1789733966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47510b0"} 
[2026-09-18 17:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-18 17:50:49] 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-09-18 17:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171894784001,"66":27821,"68":206,"86":48896,"24":23,"16":405552604752379904,"45":5470043988104597504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171894784001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:50:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:50:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405552604752379904,"km_value":405552604752379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470043988104597504,"description":"Unknown IO ID 45"} 
[2026-09-18 17:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171894784001,"power":27821,"unknown_68":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5470043988104597504}} 
[2026-09-18 17:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":187631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:50:49] local.INFO: GPS data processed {"connection_id":187631,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:50:49] local.INFO: Acknowledgment sent {"connection_id":187631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:51:11] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:11] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:11] local.INFO: IMEI packet received {"connection_id":188946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":188946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:51:12] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:12] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:12] local.INFO: IMEI packet received {"connection_id":188946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":188946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:51:17] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:17] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:51:17] local.INFO: IMEI packet received {"connection_id":188946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:51:19] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4752820012d4be3c00690aa28003700cf2c..."} 
[2026-09-18 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4752820012d4be3c00690aa28003700cf2c..."} 
[2026-09-18 17:51:19] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4752820012d4be3c00690aa28003700cf2c..."} 
[2026-09-18 17:51:19] local.INFO: Packet analysis {"connection_id":188946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:51:19] local.INFO: Extracted packet for processing {"connection_id":188946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:51:19] local.INFO: GPS Element Parsed {"raw_longitude":759948224,"raw_latitude":110144040,"longitude_deg":75.9948224,"latitude_deg":11.014404,"altitude":55,"angle":207,"satellites":44,"speed":24,"hex_longitude":"2d4be3c0","hex_latitude":"0690aa28","is_valid_coordinates":true} 
[2026-09-18 17:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171895296001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405552789435973632,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469973619360131072,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789733972000,"timestamp_ms":1789733972000,"timestamp_seconds":1789733972,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4752820"} 
[2026-09-18 17:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:51: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-09-18 17:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:51:19] 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-09-18 17:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171895296001,"66":27865,"68":206,"86":48896,"24":24,"16":405552789435973632,"45":5469973619360131072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171895296001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:51:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:51:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405552789435973632,"km_value":405552789435973.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469973619360131072,"description":"Unknown IO ID 45"} 
[2026-09-18 17:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171895296001,"power":27865,"unknown_68":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5469973619360131072}} 
[2026-09-18 17:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":188946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:51:19] local.INFO: GPS data processed {"connection_id":188946,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:51:19] local.INFO: Acknowledgment sent {"connection_id":188946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:51:24] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:24] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:24] local.INFO: IMEI packet received {"connection_id":188947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":188947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:51:28] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:28] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:28] local.INFO: IMEI packet received {"connection_id":188947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":188947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:51:29] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4768b98012d81fec005d5cec00005013227..."} 
[2026-09-18 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4768b98012d81fec005d5cec00005013227..."} 
[2026-09-18 17:51:29] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4768b98012d81fec005d5cec00005013227..."} 
[2026-09-18 17:51:29] local.INFO: Packet analysis {"connection_id":188947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:51:29] local.INFO: Extracted packet for processing {"connection_id":188947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763494080,"raw_latitude":97898176,"longitude_deg":76.349408,"latitude_deg":9.7898176,"altitude":5,"angle":306,"satellites":39,"speed":17,"hex_longitude":"2d81fec0","hex_latitude":"05d5cec0","is_valid_coordinates":true} 
[2026-09-18 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171919872001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134828588313608192,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079256823717064704,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789734063000,"timestamp_ms":1789734063000,"timestamp_seconds":1789734063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4768b98"} 
[2026-09-18 17:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:51: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-09-18 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-18 17:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171919872001,"66":15113,"18":206,"85":15104,"24":17,"16":134828588313608192,"45":-9079256823717064704},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-18 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171919872001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:51:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-18 17:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134828588313608192,"km_value":134828588313608.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079256823717064704,"description":"Unknown IO ID 45"} 
[2026-09-18 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171919872001,"power":15113,"unknown_18":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9079256823717064704}} 
[2026-09-18 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":188947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:51:29] local.INFO: GPS data processed {"connection_id":188947,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:51:29] local.INFO: Acknowledgment sent {"connection_id":188947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:51:50] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47537c0012d4be1000690a2e8003700bd2d..."} 
[2026-09-18 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47537c0012d4be1000690a2e8003700bd2d..."} 
[2026-09-18 17:51:50] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47537c0012d4be1000690a2e8003700bd2d..."} 
[2026-09-18 17:51:50] local.INFO: Packet analysis {"connection_id":188946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:51:50] local.INFO: Extracted packet for processing {"connection_id":188946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":759947520,"raw_latitude":110142184,"longitude_deg":75.994752,"latitude_deg":11.0142184,"altitude":55,"angle":189,"satellites":45,"speed":16,"hex_longitude":"2d4be100","hex_latitude":"0690a2e8","is_valid_coordinates":true} 
[2026-09-18 17:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171896832001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405552888220221440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468425506987321344,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789733976000,"timestamp_ms":1789733976000,"timestamp_seconds":1789733976,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47537c0"} 
[2026-09-18 17:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:51: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-09-18 17:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 17:51: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-09-18 17:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171896832001,"66":27745,"68":206,"86":48896,"24":16,"16":405552888220221440,"45":5468425506987321344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171896832001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:51:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:51:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405552888220221440,"km_value":405552888220221.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468425506987321344,"description":"Unknown IO ID 45"} 
[2026-09-18 17:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171896832001,"power":27745,"unknown_68":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5468425506987321344}} 
[2026-09-18 17:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":188946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:51:50] local.INFO: GPS data processed {"connection_id":188946,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:51:50] local.INFO: Acknowledgment sent {"connection_id":188946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:51:53] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:53] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:53] local.INFO: IMEI packet received {"connection_id":187632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":187632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:51:58] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:58] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:51:58] local.INFO: IMEI packet received {"connection_id":187632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":187632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:51:59] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4768f80012d81fd0005d5cf800005011c28..."} 
[2026-09-18 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4768f80012d81fd0005d5cf800005011c28..."} 
[2026-09-18 17:51:59] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4768f80012d81fd0005d5cf800005011c28..."} 
[2026-09-18 17:51:59] local.INFO: Packet analysis {"connection_id":187632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:51:59] local.INFO: Extracted packet for processing {"connection_id":187632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763493632,"raw_latitude":97898368,"longitude_deg":76.3493632,"latitude_deg":9.7898368,"altitude":5,"angle":284,"satellites":40,"speed":18,"hex_longitude":"2d81fd00","hex_latitude":"05d5cf80","is_valid_coordinates":true} 
[2026-09-18 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171920128001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134828609788444672,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079608667437875200,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789734064000,"timestamp_ms":1789734064000,"timestamp_seconds":1789734064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4768f80"} 
[2026-09-18 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:51: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-09-18 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":59,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2305845212280258717,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3027654864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181660677,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6441272480853458920,"corrected_to":0} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3045022686267769048,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505656937807872,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":180,"raw_value":8510202411858668864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3201826822,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2281778562,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195181312,"note":"Value kept but may cause issues"} 
[2026-09-18 17:51:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,18,85,24,241,157,16,1,160,135,45,205,5,40,10,66,156,127,128,201,120,240,78,227,180,213,4,113,28,100,14,41,239,53,2,223,25,206,132,69],"length":580,"final_offset":710,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6441272480853458920,"validated":0}]} 
[2026-09-18 17:51:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360624588252577792,"timestamp_seconds":360624588252577.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171920128001,"66":15113,"18":206,"85":15104,"24":18,"16":134828609788444672,"45":-9079608667437875200},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-18 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171920128001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:51:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-18 17:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134828609788444672,"km_value":134828609788444.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079608667437875200,"description":"Unknown IO ID 45"} 
[2026-09-18 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171920128001,"power":15113,"unknown_18":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9079608667437875200}} 
[2026-09-18 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":187632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:51:59] local.INFO: GPS data processed {"connection_id":187632,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:51:59] local.INFO: Acknowledgment sent {"connection_id":187632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:52:11] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:11] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:11] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:52:14] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:14] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:14] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:52:16] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:16] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:52:16] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:52:17] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4755318012d4be04006909560003600b22e..."} 
[2026-09-18 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4755318012d4be04006909560003600b22e..."} 
[2026-09-18 17:52:17] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4755318012d4be04006909560003600b22e..."} 
[2026-09-18 17:52:17] local.INFO: Packet analysis {"connection_id":186351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:52:17] local.INFO: Extracted packet for processing {"connection_id":186351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:52:17] local.INFO: GPS Element Parsed {"raw_longitude":759947328,"raw_latitude":110138720,"longitude_deg":75.9947328,"latitude_deg":11.013872,"altitude":54,"angle":178,"satellites":46,"speed":21,"hex_longitude":"2d4be040","hex_latitude":"06909560","is_valid_coordinates":true} 
[2026-09-18 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171897856001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405553055723945984,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5467651450800891904,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789733983000,"timestamp_ms":1789733983000,"timestamp_seconds":1789733983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4755318"} 
[2026-09-18 17:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:52: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-09-18 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:52: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-09-18 17:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:52: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-09-18 17:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171897856001,"66":27800,"68":206,"86":48896,"24":21,"16":405553055723945984,"45":5467651450800891904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171897856001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:52:17] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:52:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405553055723945984,"km_value":405553055723946.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5467651450800891904,"description":"Unknown IO ID 45"} 
[2026-09-18 17:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171897856001,"power":27800,"unknown_68":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5467651450800891904}} 
[2026-09-18 17:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:52:17] local.INFO: GPS data processed {"connection_id":186351,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:52:17] local.INFO: Acknowledgment sent {"connection_id":186351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:52:18] local.INFO: TCP Data received {"connection_id":187633,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:52:18] local.INFO: Processing buffer {"connection_id":187633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:52:18] local.INFO: IMEI packet received {"connection_id":187633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":187633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:52:18] local.INFO: TCP Data received {"connection_id":187633,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47683c8012d1b57000724c5a8002c000e2b..."} 
[2026-09-18 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47683c8012d1b57000724c5a8002c000e2b..."} 
[2026-09-18 17:52:18] local.INFO: Processing buffer {"connection_id":187633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47683c8012d1b57000724c5a8002c000e2b..."} 
[2026-09-18 17:52:18] local.INFO: Packet analysis {"connection_id":187633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:52:18] local.INFO: Extracted packet for processing {"connection_id":187633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119850408,"longitude_deg":75.6766464,"latitude_deg":11.9850408,"altitude":44,"angle":14,"satellites":43,"speed":23,"hex_longitude":"2d1b5700","hex_latitude":"0724c5a8","is_valid_coordinates":true} 
[2026-09-18 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171918848001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969269336493193216,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21478873749258240,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789734061000,"timestamp_ms":1789734061000,"timestamp_seconds":1789734061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47683c8"} 
[2026-09-18 17:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-18 17:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171918848001,"66":13722,"45":1969269336493193216,"83":41984,"24":23,"16":21478873749258240},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171918848001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969269336493193216,"description":"Unknown IO ID 45"} 
[2026-09-18 17:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21478873749258240,"km_value":21478873749258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:52:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171918848001,"power":13722,"unknown_45":1969269336493193216,"unknown_83":41984,"ignition":23,"odometer":null}} 
[2026-09-18 17:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":187633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:52:18] local.INFO: GPS data processed {"connection_id":187633,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:52:18] local.INFO: Acknowledgment sent {"connection_id":187633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:52:30] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4779150012d81b24005d53110000600b82a..."} 
[2026-09-18 17:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4779150012d81b24005d53110000600b82a..."} 
[2026-09-18 17:52:30] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4779150012d81b24005d53110000600b82a..."} 
[2026-09-18 17:52:30] local.INFO: Packet analysis {"connection_id":187632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:52:30] local.INFO: Extracted packet for processing {"connection_id":187632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763474496,"raw_latitude":97857808,"longitude_deg":76.3474496,"latitude_deg":9.7857808,"altitude":6,"angle":184,"satellites":42,"speed":31,"hex_longitude":"2d81b240","hex_latitude":"05d53110","is_valid_coordinates":true} 
[2026-09-18 17:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171936000001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134831345682612224,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099311915816820736,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789734130000,"timestamp_ms":1789734130000,"timestamp_seconds":1789734130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4779150"} 
[2026-09-18 17:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 17:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171936000001,"66":13678,"165":206,"85":15104,"24":31,"16":134831345682612224,"45":-9099311915816820736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-18 17:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171936000001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:52:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 17:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134831345682612224,"km_value":134831345682612.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099311915816820736,"description":"Unknown IO ID 45"} 
[2026-09-18 17:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171936000001,"power":13678,"unknown_165":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9099311915816820736}} 
[2026-09-18 17:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":187632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:52:30] local.INFO: GPS data processed {"connection_id":187632,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:52:30] local.INFO: Acknowledgment sent {"connection_id":187632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:52:48] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47589c8012d4be28006907960003a00a330..."} 
[2026-09-18 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47589c8012d4be28006907960003a00a330..."} 
[2026-09-18 17:52:48] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47589c8012d4be28006907960003a00a330..."} 
[2026-09-18 17:52:48] local.INFO: Packet analysis {"connection_id":186351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:52:48] local.INFO: Extracted packet for processing {"connection_id":186351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b475"} 
[2026-09-18 17:52:48] local.INFO: GPS Element Parsed {"raw_longitude":759947904,"raw_latitude":110131552,"longitude_deg":75.9947904,"latitude_deg":11.0131552,"altitude":58,"angle":163,"satellites":48,"speed":16,"hex_longitude":"2d4be280","hex_latitude":"06907960","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171899648001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405553403616296960,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5467440344567472128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789733997000,"timestamp_ms":1789733997000,"timestamp_seconds":1789733997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47589c8"} 
[2026-09-18 17:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:52: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-09-18 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:52: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-09-18 17: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-09-18 17:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:52: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-09-18 17:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171899648001,"66":27800,"68":206,"86":48896,"24":16,"16":405553403616296960,"45":5467440344567472128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-09-18 17:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171899648001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:52:48] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:52:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405553403616296960,"km_value":405553403616296.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5467440344567472128,"description":"Unknown IO ID 45"} 
[2026-09-18 17:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171899648001,"power":27800,"unknown_68":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5467440344567472128}} 
[2026-09-18 17:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:52:48] local.INFO: GPS data processed {"connection_id":186351,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:52:48] local.INFO: Acknowledgment sent {"connection_id":186351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:52:49] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:49] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:49] local.INFO: IMEI packet received {"connection_id":186352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":186352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:52:52] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:52] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:52] local.INFO: IMEI packet received {"connection_id":186352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":186352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:52:52] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:52] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:52:52] local.INFO: IMEI packet received {"connection_id":186352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":186352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:52:53] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4779920012d81b2c005d52ae0000500ab2a..."} 
[2026-09-18 17:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4779920012d81b2c005d52ae0000500ab2a..."} 
[2026-09-18 17:52:53] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4779920012d81b2c005d52ae0000500ab2a..."} 
[2026-09-18 17:52:53] local.INFO: Packet analysis {"connection_id":186352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:52:53] local.INFO: Extracted packet for processing {"connection_id":186352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763474624,"raw_latitude":97856224,"longitude_deg":76.3474624,"latitude_deg":9.7856224,"altitude":5,"angle":171,"satellites":42,"speed":31,"hex_longitude":"2d81b2c0","hex_latitude":"05d52ae0","is_valid_coordinates":true} 
[2026-09-18 17:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171937280001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134831422992023552,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101141503166574592,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789734132000,"timestamp_ms":1789734132000,"timestamp_seconds":1789734132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4779920"} 
[2026-09-18 17:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:52: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-09-18 17:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:52: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-09-18 17:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171937280001,"66":13678,"165":206,"85":15104,"24":31,"16":134831422992023552,"45":-9101141503166574592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-18 17:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171937280001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:52:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 17:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134831422992023552,"km_value":134831422992023.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101141503166574592,"description":"Unknown IO ID 45"} 
[2026-09-18 17:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171937280001,"power":13678,"unknown_165":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9101141503166574592}} 
[2026-09-18 17:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":186352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:52:53] local.INFO: GPS data processed {"connection_id":186352,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:52:53] local.INFO: Acknowledgment sent {"connection_id":186352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:52:54] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b477c030012d81b70005d504c0000800a928..."} 
[2026-09-18 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b477c030012d81b70005d504c0000800a928..."} 
[2026-09-18 17:52:54] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b477c030012d81b70005d504c0000800a928..."} 
[2026-09-18 17:52:54] local.INFO: Packet analysis {"connection_id":186352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:52:54] local.INFO: Extracted packet for processing {"connection_id":186352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763475712,"raw_latitude":97846464,"longitude_deg":76.3475712,"latitude_deg":9.7846464,"altitude":8,"angle":169,"satellites":40,"speed":45,"hex_longitude":"2d81b700","hex_latitude":"05d504c0","is_valid_coordinates":true} 
[2026-09-18 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171937792001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134831899733393408,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101000765678624768,"note":"Value kept but may cause issues"} 
[2026-09-18 17:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789734142000,"timestamp_ms":1789734142000,"timestamp_seconds":1789734142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b477c030"} 
[2026-09-18 17:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171937792001,"66":13798,"165":206,"85":15104,"24":45,"16":134831899733393408,"45":-9101000765678624768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-18 17:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171937792001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:52:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 17:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134831899733393408,"km_value":134831899733393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101000765678624768,"description":"Unknown IO ID 45"} 
[2026-09-18 17:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171937792001,"power":13798,"unknown_165":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9101000765678624768}} 
[2026-09-18 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":186352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:52:54] local.INFO: GPS data processed {"connection_id":186352,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:52:54] local.INFO: Acknowledgment sent {"connection_id":186352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:01] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:01] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:01] local.INFO: IMEI packet received {"connection_id":186197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":186197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:53:03] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:03] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:03] local.INFO: IMEI packet received {"connection_id":186197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":186197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:08] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:08] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:53:08] local.INFO: IMEI packet received {"connection_id":186197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":186197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:08] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4769f20012d1b58400724d570002a00012a..."} 
[2026-09-18 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4769f20012d1b58400724d570002a00012a..."} 
[2026-09-18 17:53:08] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4769f20012d1b58400724d570002a00012a..."} 
[2026-09-18 17:53:08] local.INFO: Packet analysis {"connection_id":186197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:53:08] local.INFO: Extracted packet for processing {"connection_id":186197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119854448,"longitude_deg":75.6766784,"latitude_deg":11.9854448,"altitude":42,"angle":1,"satellites":42,"speed":21,"hex_longitude":"2d1b5840","hex_latitude":"0724d570","is_valid_coordinates":true} 
[2026-09-18 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171919616001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392679585792,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479071317753856,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734068000,"timestamp_ms":1789734068000,"timestamp_seconds":1789734068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4769f20"} 
[2026-09-18 17:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171919616001,"66":14048,"45":1970043392679585792,"83":41984,"24":21,"16":21479071317753856},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171919616001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392679585792,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479071317753856,"km_value":21479071317753.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171919616001,"power":14048,"unknown_45":1970043392679585792,"unknown_83":41984,"ignition":21,"odometer":null}} 
[2026-09-18 17:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":186197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:08] local.INFO: GPS data processed {"connection_id":186197,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:08] local.INFO: Acknowledgment sent {"connection_id":186197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:13] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b476b2a8012d1b58400724ddb00029015226..."} 
[2026-09-18 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b476b2a8012d1b58400724ddb00029015226..."} 
[2026-09-18 17:53:13] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b476b2a8012d1b58400724ddb00029015226..."} 
[2026-09-18 17:53:13] local.INFO: Packet analysis {"connection_id":186197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:53:13] local.INFO: Extracted packet for processing {"connection_id":186197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119856560,"longitude_deg":75.6766784,"latitude_deg":11.985656,"altitude":41,"angle":338,"satellites":38,"speed":8,"hex_longitude":"2d1b5840","hex_latitude":"0724ddb0","is_valid_coordinates":true} 
[2026-09-18 17:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171921408001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236401508352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479174396968960,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789734073000,"timestamp_ms":1789734073000,"timestamp_seconds":1789734073,"priority":1,"record_length":96,"hex_timestamp":"000001a0b476b2a8"} 
[2026-09-18 17:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171921408001,"66":13048,"45":1970395236401508352,"83":41984,"24":8,"16":21479174396968960},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171921408001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236401508352,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479174396968960,"km_value":21479174396968.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171921408001,"power":13048,"unknown_45":1970395236401508352,"unknown_83":41984,"ignition":8,"odometer":null}} 
[2026-09-18 17:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":186197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:13] local.INFO: GPS data processed {"connection_id":186197,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:13] local.INFO: Acknowledgment sent {"connection_id":186197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:13] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:14] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:14] local.INFO: IMEI packet received {"connection_id":187635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":187635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:53:16] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:16] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:16] local.INFO: IMEI packet received {"connection_id":187635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":187635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:17] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:17] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:17] local.INFO: IMEI packet received {"connection_id":187635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":187635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:20] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:20] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:53:20] local.INFO: IMEI packet received {"connection_id":187635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":187635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:21] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4778598012d4c8a80068fb1e8005300932d..."} 
[2026-09-18 17:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4778598012d4c8a80068fb1e8005300932d..."} 
[2026-09-18 17:53:21] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4778598012d4c8a80068fb1e8005300932d..."} 
[2026-09-18 17:53:21] local.INFO: Packet analysis {"connection_id":187635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:21] local.INFO: Extracted packet for processing {"connection_id":187635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:21] local.INFO: GPS Element Parsed {"raw_longitude":759990912,"raw_latitude":110080488,"longitude_deg":75.9990912,"latitude_deg":11.0080488,"altitude":83,"angle":147,"satellites":45,"speed":24,"hex_longitude":"2d4c8a80","hex_latitude":"068fb1e8","is_valid_coordinates":true} 
[2026-09-18 17:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171933696001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405556702151180288,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509450484827865088,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789734127000,"timestamp_ms":1789734127000,"timestamp_seconds":1789734127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4778598"} 
[2026-09-18 17:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53: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-09-18 17:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53: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-09-18 17:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171933696001,"66":206,"86":48896,"24":24,"16":405556702151180288,"45":5509450484827865088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171933696001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405556702151180288,"km_value":405556702151180.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509450484827865088,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171933696001,"power":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5509450484827865088}} 
[2026-09-18 17:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":187635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:21] local.INFO: GPS data processed {"connection_id":187635,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:21] local.INFO: Acknowledgment sent {"connection_id":187635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:22] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4779920012d4c8f80068fa7600051009e2e..."} 
[2026-09-18 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4779920012d4c8f80068fa7600051009e2e..."} 
[2026-09-18 17:53:22] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4779920012d4c8f80068fa7600051009e2e..."} 
[2026-09-18 17:53:22] local.INFO: Packet analysis {"connection_id":187635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:22] local.INFO: Extracted packet for processing {"connection_id":187635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:22] local.INFO: GPS Element Parsed {"raw_longitude":759992192,"raw_latitude":110077792,"longitude_deg":75.9992192,"latitude_deg":11.0077792,"altitude":81,"angle":158,"satellites":46,"speed":22,"hex_longitude":"2d4c8f80","hex_latitude":"068fa760","is_valid_coordinates":true} 
[2026-09-18 17:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171936512001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405556848180068352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5515361459337553920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789734132000,"timestamp_ms":1789734132000,"timestamp_seconds":1789734132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4779920"} 
[2026-09-18 17:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171936512001,"66":206,"86":48896,"24":22,"16":405556848180068352,"45":5515361459337553920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171936512001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405556848180068352,"km_value":405556848180068.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5515361459337553920,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171936512001,"power":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5515361459337553920}} 
[2026-09-18 17:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":187635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:22] local.INFO: GPS data processed {"connection_id":187635,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:22] local.INFO: Acknowledgment sent {"connection_id":187635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:24] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b477d3b8012d4c9ac0068f84b0004e00a62c..."} 
[2026-09-18 17:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b477d3b8012d4c9ac0068f84b0004e00a62c..."} 
[2026-09-18 17:53:24] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b477d3b8012d4c9ac0068f84b0004e00a62c..."} 
[2026-09-18 17:53:24] local.INFO: Packet analysis {"connection_id":187635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:24] local.INFO: Extracted packet for processing {"connection_id":187635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:24] local.INFO: GPS Element Parsed {"raw_longitude":759995072,"raw_latitude":110068912,"longitude_deg":75.9995072,"latitude_deg":11.0068912,"altitude":78,"angle":166,"satellites":44,"speed":24,"hex_longitude":"2d4c9ac0","hex_latitude":"068f84b0","is_valid_coordinates":true} 
[2026-09-18 17:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171937792001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405557299151634432,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5516768834220417024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789734147000,"timestamp_ms":1789734147000,"timestamp_seconds":1789734147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b477d3b8"} 
[2026-09-18 17:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171937792001,"66":206,"86":48896,"24":24,"16":405557299151634432,"45":5516768834220417024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171937792001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405557299151634432,"km_value":405557299151634.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5516768834220417024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171937792001,"power":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5516768834220417024}} 
[2026-09-18 17:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":187635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:24] local.INFO: GPS data processed {"connection_id":187635,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:24] local.INFO: Acknowledgment sent {"connection_id":187635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:25] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4788f38012d819dc005d440e8000700a82b..."} 
[2026-09-18 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4788f38012d819dc005d440e8000700a82b..."} 
[2026-09-18 17:53:25] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4788f38012d819dc005d440e8000700a82b..."} 
[2026-09-18 17:53:25] local.INFO: Packet analysis {"connection_id":186352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:53:25] local.INFO: Extracted packet for processing {"connection_id":186352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763469248,"raw_latitude":97796328,"longitude_deg":76.3469248,"latitude_deg":9.7796328,"altitude":7,"angle":168,"satellites":43,"speed":49,"hex_longitude":"2d819dc0","hex_latitude":"05d440e8","is_valid_coordinates":true} 
[2026-09-18 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171952384001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134834704347037696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427644688384,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789734195000,"timestamp_ms":1789734195000,"timestamp_seconds":1789734195,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4788f38"} 
[2026-09-18 17:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":58,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":722,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171952384001,"66":13515,"165":206,"85":15104,"24":49,"16":134834704347037696,"45":-9107615427644688384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-18 17:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171952384001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 17:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134834704347037696,"km_value":134834704347037.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427644688384,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171952384001,"power":13515,"unknown_165":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9107615427644688384}} 
[2026-09-18 17:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":186352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:25] local.INFO: GPS data processed {"connection_id":186352,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:25] local.INFO: Acknowledgment sent {"connection_id":186352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:44] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b476b690012d1b57c00724de600028014027..."} 
[2026-09-18 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b476b690012d1b57c00724de600028014027..."} 
[2026-09-18 17:53:44] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b476b690012d1b57c00724de600028014027..."} 
[2026-09-18 17:53:44] local.INFO: Packet analysis {"connection_id":186197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:53:44] local.INFO: Extracted packet for processing {"connection_id":186197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119856736,"longitude_deg":75.6766656,"latitude_deg":11.9856736,"altitude":40,"angle":320,"satellites":39,"speed":7,"hex_longitude":"2d1b57c0","hex_latitude":"0724de60","is_valid_coordinates":true} 
[2026-09-18 17:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171922688001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236402049024,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479187281870848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789734074000,"timestamp_ms":1789734074000,"timestamp_seconds":1789734074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b476b690"} 
[2026-09-18 17:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171922688001,"66":12048,"45":1970395236402049024,"83":41984,"24":7,"16":21479187281870848},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171922688001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236402049024,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479187281870848,"km_value":21479187281870.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171922688001,"power":12048,"unknown_45":1970395236402049024,"unknown_83":41984,"ignition":7,"odometer":null}} 
[2026-09-18 17:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":186197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:44] local.INFO: GPS data processed {"connection_id":186197,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:44] local.INFO: Acknowledgment sent {"connection_id":186197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:48] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:48] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:48] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:53:52] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:52] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:52] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:53] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:53] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:53:53] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:53:54] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4789af0012d81a18005d434180006009b2b..."} 
[2026-09-18 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4789af0012d81a18005d434180006009b2b..."} 
[2026-09-18 17:53:54] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4789af0012d81a18005d434180006009b2b..."} 
[2026-09-18 17:53:54] local.INFO: Packet analysis {"connection_id":186198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:53:54] local.INFO: Extracted packet for processing {"connection_id":186198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763470208,"raw_latitude":97793048,"longitude_deg":76.3470208,"latitude_deg":9.7793048,"altitude":6,"angle":155,"satellites":43,"speed":41,"hex_longitude":"2d81a180","hex_latitude":"05d43418","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171953920001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134834867555794944,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106911740204881920,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789734198000,"timestamp_ms":1789734198000,"timestamp_seconds":1789734198,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4789af0"} 
[2026-09-18 17:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171953920001,"66":13526,"165":206,"85":15104,"24":41,"16":134834867555794944,"45":-9106911740204881920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-18 17:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171953920001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-18 17:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134834867555794944,"km_value":134834867555794.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106911740204881920,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171953920001,"power":13526,"unknown_165":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9106911740204881920}} 
[2026-09-18 17:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":186198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:54] local.INFO: GPS data processed {"connection_id":186198,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:54] local.INFO: Acknowledgment sent {"connection_id":186198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:53:56] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b477f2f8012d4c9f80068f71e0004e00982d..."} 
[2026-09-18 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b477f2f8012d4c9f80068f71e0004e00982d..."} 
[2026-09-18 17:53:56] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b477f2f8012d4c9f80068f71e0004e00982d..."} 
[2026-09-18 17:53:56] local.INFO: Packet analysis {"connection_id":187635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:56] local.INFO: Extracted packet for processing {"connection_id":187635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":759996288,"raw_latitude":110064096,"longitude_deg":75.9996288,"latitude_deg":11.0064096,"altitude":78,"angle":152,"satellites":45,"speed":25,"hex_longitude":"2d4c9f80","hex_latitude":"068f71e0","is_valid_coordinates":true} 
[2026-09-18 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171941632001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405557539669803008,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5519935427706138624,"note":"Value kept but may cause issues"} 
[2026-09-18 17:53:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789734155000,"timestamp_ms":1789734155000,"timestamp_seconds":1789734155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b477f2f8"} 
[2026-09-18 17:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:53: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-09-18 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:53:56] 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-09-18 17:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:53: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-09-18 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171941632001,"66":206,"86":48896,"24":25,"16":405557539669803008,"45":5519935427706138624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171941632001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:53:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405557539669803008,"km_value":405557539669803.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5519935427706138624,"description":"Unknown IO ID 45"} 
[2026-09-18 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171941632001,"power":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5519935427706138624}} 
[2026-09-18 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":187635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:53:56] local.INFO: GPS data processed {"connection_id":187635,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:53:56] local.INFO: Acknowledgment sent {"connection_id":187635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:03] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:03] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:03] local.INFO: IMEI packet received {"connection_id":186353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":186353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:54:03] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:03] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:03] local.INFO: IMEI packet received {"connection_id":186353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":186353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:54:07] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:07] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:07] local.INFO: IMEI packet received {"connection_id":186199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":186199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:54:08] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:08] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:54:08] local.INFO: IMEI packet received {"connection_id":186353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":186353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:54:08] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b476ba78012d1b57800724ded80028012e28..."} 
[2026-09-18 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b476ba78012d1b57800724ded80028012e28..."} 
[2026-09-18 17:54:08] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b476ba78012d1b57800724ded80028012e28..."} 
[2026-09-18 17:54:08] local.INFO: Packet analysis {"connection_id":186353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:54:08] local.INFO: Extracted packet for processing {"connection_id":186353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119856856,"longitude_deg":75.6766592,"latitude_deg":11.9856856,"altitude":40,"angle":302,"satellites":40,"speed":6,"hex_longitude":"2d1b5780","hex_latitude":"0724ded8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171922944001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498913738752,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479191576838144,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734075000,"timestamp_ms":1789734075000,"timestamp_seconds":1789734075,"priority":1,"record_length":96,"hex_timestamp":"000001a0b476ba78"} 
[2026-09-18 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-09-18 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":5498394867228737536,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":11822134376535040,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503927359537152,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3203924014,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825542445,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3111143803749400600,"corrected_to":0} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2640050564330698795,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195387136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84753837340435611,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,83,24,241,157,16,79,160,178,64,221,41,38,10,66,159,213,42,131,1,240,154,227,78,180,36,4,113,205,23,100,77,120,43,239,56,2,76,7,69,184],"length":583,"final_offset":713,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3111143803749400600,"validated":0}]} 
[2026-09-18 17:54:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882655772742189056,"timestamp_seconds":2882655772742189.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 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-09-18 17:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171922944001,"66":12048,"45":1970254498913738752,"83":41984,"24":6,"16":21479191576838144},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171922944001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498913738752,"description":"Unknown IO ID 45"} 
[2026-09-18 17:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479191576838144,"km_value":21479191576838.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:54:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171922944001,"power":12048,"unknown_45":1970254498913738752,"unknown_83":41984,"ignition":6,"odometer":null}} 
[2026-09-18 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":186353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:54:09] local.INFO: GPS data processed {"connection_id":186353,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:54:09] local.INFO: Acknowledgment sent {"connection_id":186353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:12] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:12] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:12] local.INFO: IMEI packet received {"connection_id":186199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":186199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:54:17] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:17] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:54:17] local.INFO: IMEI packet received {"connection_id":186199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":186199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:54:19] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b477feb0012d4ca3c0068f6ba8004e008b2d..."} 
[2026-09-18 17:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b477feb0012d4ca3c0068f6ba8004e008b2d..."} 
[2026-09-18 17:54:19] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b477feb0012d4ca3c0068f6ba8004e008b2d..."} 
[2026-09-18 17:54:19] local.INFO: Packet analysis {"connection_id":186199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:54:19] local.INFO: Extracted packet for processing {"connection_id":186199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:54:19] local.INFO: GPS Element Parsed {"raw_longitude":759997376,"raw_latitude":110062504,"longitude_deg":75.9997376,"latitude_deg":11.0062504,"altitude":78,"angle":139,"satellites":45,"speed":24,"hex_longitude":"2d4ca3c0","hex_latitude":"068f6ba8","is_valid_coordinates":true} 
[2026-09-18 17:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171943680001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405557634159083520,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521272433844281344,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789734158000,"timestamp_ms":1789734158000,"timestamp_seconds":1789734158,"priority":1,"record_length":96,"hex_timestamp":"000001a0b477feb0"} 
[2026-09-18 17:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:54: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-09-18 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 17:54: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-09-18 17:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171943680001,"66":206,"86":48896,"24":24,"16":405557634159083520,"45":5521272433844281344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 17:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171943680001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:54:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405557634159083520,"km_value":405557634159083.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521272433844281344,"description":"Unknown IO ID 45"} 
[2026-09-18 17:54:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171943680001,"power":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5521272433844281344}} 
[2026-09-18 17:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":186199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:54:19] local.INFO: GPS data processed {"connection_id":186199,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:54:19] local.INFO: Acknowledgment sent {"connection_id":186199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:20] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4780a68012d4ca780068f6798004e007f2f..."} 
[2026-09-18 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4780a68012d4ca780068f6798004e007f2f..."} 
[2026-09-18 17:54:20] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4780a68012d4ca780068f6798004e007f2f..."} 
[2026-09-18 17:54:20] local.INFO: Packet analysis {"connection_id":186199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:54:20] local.INFO: Extracted packet for processing {"connection_id":186199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":759998336,"raw_latitude":110061464,"longitude_deg":75.9998336,"latitude_deg":11.0061464,"altitude":78,"angle":127,"satellites":47,"speed":17,"hex_longitude":"2d4ca780","hex_latitude":"068f6798","is_valid_coordinates":true} 
[2026-09-18 17:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171944448001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405557702878560256,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5522468702494894080,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789734161000,"timestamp_ms":1789734161000,"timestamp_seconds":1789734161,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4780a68"} 
[2026-09-18 17:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:54:20] 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-09-18 17:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:54: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-09-18 17:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171944448001,"66":27832,"142":206,"86":48896,"24":17,"16":405557702878560256,"45":5522468702494894080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171944448001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:54:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:54:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405557702878560256,"km_value":405557702878560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5522468702494894080,"description":"Unknown IO ID 45"} 
[2026-09-18 17:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171944448001,"power":27832,"unknown_142":206,"unknown_86":48896,"ignition":17,"odometer":null,"unknown_45":5522468702494894080}} 
[2026-09-18 17:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":186199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:54:20] local.INFO: GPS data processed {"connection_id":186199,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:54:20] local.INFO: Acknowledgment sent {"connection_id":186199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:25] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4796228012d81c24005d377d8000500982c..."} 
[2026-09-18 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4796228012d81c24005d377d8000500982c..."} 
[2026-09-18 17:54:25] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4796228012d81c24005d377d8000500982c..."} 
[2026-09-18 17:54:25] local.INFO: Packet analysis {"connection_id":186198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:54:25] local.INFO: Extracted packet for processing {"connection_id":186198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763478592,"raw_latitude":97744856,"longitude_deg":76.3478592,"latitude_deg":9.7744856,"altitude":5,"angle":152,"satellites":44,"speed":26,"hex_longitude":"2d81c240","hex_latitude":"05d377d8","is_valid_coordinates":true} 
[2026-09-18 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171967488001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134837371521728512,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096919378544687104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] 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-09-18 17:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789734249000,"timestamp_ms":1789734249000,"timestamp_seconds":1789734249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4796228"} 
[2026-09-18 17:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636233,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3027842864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176155653,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3549562880,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2375232088531009536,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858278054,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3489738113,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-5962759499731697654,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294390970994261,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,166,85,24,241,157,16,9,160,90,45,123,5,43,10,66,82,125,44,78,192,1,240,154,227,180,211,4,113,205,29,70,239,52,2,223,51,129,53,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-09-18 17:54:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360438792262909952,"timestamp_seconds":360438792262909.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171967488001,"66":13678,"166":206,"85":15104,"24":26,"16":134837371521728512,"45":-9096919378544687104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-18 17:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171967488001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:54:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-18 17:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134837371521728512,"km_value":134837371521728.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096919378544687104,"description":"Unknown IO ID 45"} 
[2026-09-18 17:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171967488001,"power":13678,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9096919378544687104}} 
[2026-09-18 17:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":186198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:54:25] local.INFO: GPS data processed {"connection_id":186198,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:54:25] local.INFO: Acknowledgment sent {"connection_id":186198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:39] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b476be60012d1b57000724df200028011e26..."} 
[2026-09-18 17:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b476be60012d1b57000724df200028011e26..."} 
[2026-09-18 17:54:39] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b476be60012d1b57000724df200028011e26..."} 
[2026-09-18 17:54:39] local.INFO: Packet analysis {"connection_id":186353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:54:39] local.INFO: Extracted packet for processing {"connection_id":186353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119856928,"longitude_deg":75.6766464,"latitude_deg":11.9856928,"altitude":40,"angle":286,"satellites":38,"speed":6,"hex_longitude":"2d1b5700","hex_latitude":"0724df20","is_valid_coordinates":true} 
[2026-09-18 17:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171923200001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130169591808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479200166772736,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789734076000,"timestamp_ms":1789734076000,"timestamp_seconds":1789734076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b476be60"} 
[2026-09-18 17:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":5498433350135709696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3027657864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84753877068883107,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503927365369856,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3316121644,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184826669,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3111143803749400600,"corrected_to":0} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2645152298317130539,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195420672,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.WARNING: Large IO value detected {"io_id":88,"raw_value":12385140214859776,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:39] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,83,24,241,157,16,79,160,182,192,222,40,39,10,66,178,64,221,41,38,159,1,240,224,227,180,36,4,113,205,23,120,84,248,43,239,56,2,76,7,69,88],"length":583,"final_offset":713,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3111143803749400600,"validated":0}]} 
[2026-09-18 17:54:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882635985827790848,"timestamp_seconds":2882635985827791.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171923200001,"66":13004,"45":1970184130169591808,"83":41984,"24":6,"16":21479200166772736},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171923200001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130169591808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479200166772736,"km_value":21479200166772.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:54:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171923200001,"power":13004,"unknown_45":1970184130169591808,"unknown_83":41984,"ignition":6,"odometer":null}} 
[2026-09-18 17:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":186353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:54:40] local.INFO: GPS data processed {"connection_id":186353,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:54:40] local.INFO: Acknowledgment sent {"connection_id":186353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:52] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4781a08012d4cae40068f6330004e007430..."} 
[2026-09-18 17:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4781a08012d4cae40068f6330004e007430..."} 
[2026-09-18 17:54:52] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4781a08012d4cae40068f6330004e007430..."} 
[2026-09-18 17:54:52] local.INFO: Packet analysis {"connection_id":186199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:54:52] local.INFO: Extracted packet for processing {"connection_id":186199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:54:52] local.INFO: GPS Element Parsed {"raw_longitude":760000064,"raw_latitude":110060336,"longitude_deg":76.0000064,"latitude_deg":11.0060336,"altitude":78,"angle":116,"satellites":48,"speed":22,"hex_longitude":"2d4cae40","hex_latitude":"068f6330","is_valid_coordinates":true} 
[2026-09-18 17:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171945216001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405557801662808064,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5523524233657292800,"note":"Value kept but may cause issues"} 
[2026-09-18 17:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789734165000,"timestamp_ms":1789734165000,"timestamp_seconds":1789734165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4781a08"} 
[2026-09-18 17:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:54: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-09-18 17:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 17:54:52] 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-09-18 17:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:54: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-09-18 17:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171945216001,"66":27691,"142":206,"86":48896,"24":22,"16":405557801662808064,"45":5523524233657292800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171945216001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:54:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:54:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405557801662808064,"km_value":405557801662808.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5523524233657292800,"description":"Unknown IO ID 45"} 
[2026-09-18 17:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171945216001,"power":27691,"unknown_142":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5523524233657292800}} 
[2026-09-18 17:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":186199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:54:52] local.INFO: GPS data processed {"connection_id":186199,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:54:52] local.INFO: Acknowledgment sent {"connection_id":186199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:54:53] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:53] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:53] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:54:54] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:54] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:54] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:54:59] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:59] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:54:59] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:55:00] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4796610012d81c34005d37510000500a72c..."} 
[2026-09-18 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4796610012d81c34005d37510000500a72c..."} 
[2026-09-18 17:55:00] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4796610012d81c34005d37510000500a72c..."} 
[2026-09-18 17:55:00] local.INFO: Packet analysis {"connection_id":186354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:55:00] local.INFO: Extracted packet for processing {"connection_id":186354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763478848,"raw_latitude":97744144,"longitude_deg":76.3478848,"latitude_deg":9.7744144,"altitude":5,"angle":167,"satellites":44,"speed":30,"hex_longitude":"2d81c340","hex_latitude":"05d37510","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171967744001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134837410176434176,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096637903568119808,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:00] 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-09-18 17:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789734250000,"timestamp_ms":1789734250000,"timestamp_seconds":1789734250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4796610"} 
[2026-09-18 17:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171967744001,"66":13678,"166":206,"85":15104,"24":30,"16":134837410176434176,"45":-9096637903568119808},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-18 17:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171967744001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:00] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-18 17:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134837410176434176,"km_value":134837410176434.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096637903568119808,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171967744001,"power":13678,"unknown_166":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9096637903568119808}} 
[2026-09-18 17:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":186354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:00] local.INFO: GPS data processed {"connection_id":186354,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:00] local.INFO: Acknowledgment sent {"connection_id":186354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:55:03] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:55:03] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:55:03] local.INFO: IMEI packet received {"connection_id":186200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":186200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:55:04] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4799108012d81c60005d35070000700ae2a..."} 
[2026-09-18 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4799108012d81c60005d35070000700ae2a..."} 
[2026-09-18 17:55:04] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4799108012d81c60005d35070000700ae2a..."} 
[2026-09-18 17:55:04] local.INFO: Packet analysis {"connection_id":186354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:55:04] local.INFO: Extracted packet for processing {"connection_id":186354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763479552,"raw_latitude":97734768,"longitude_deg":76.3479552,"latitude_deg":9.7734768,"altitude":7,"angle":174,"satellites":42,"speed":26,"hex_longitude":"2d81c600","hex_latitude":"05d35070","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171968000001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134837865442967552,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096356428591591424,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:04] 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-09-18 17:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789734261000,"timestamp_ms":1789734261000,"timestamp_seconds":1789734261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4799108"} 
[2026-09-18 17:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55: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-09-18 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171968000001,"66":13580,"166":206,"85":15104,"24":26,"16":134837865442967552,"45":-9096356428591591424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-18 17:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171968000001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:04] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-18 17:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134837865442967552,"km_value":134837865442967.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096356428591591424,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171968000001,"power":13580,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9096356428591591424}} 
[2026-09-18 17:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":186354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:04] local.INFO: GPS data processed {"connection_id":186354,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:04] local.INFO: Acknowledgment sent {"connection_id":186354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:55:07] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:55:07] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:55:07] local.INFO: IMEI packet received {"connection_id":186200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":186200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:55:07] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b476ca18012d1b54400724df780028010d29..."} 
[2026-09-18 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b476ca18012d1b54400724df780028010d29..."} 
[2026-09-18 17:55:07] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b476ca18012d1b54400724df780028010d29..."} 
[2026-09-18 17:55:07] local.INFO: Packet analysis {"connection_id":186200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:55:07] local.INFO: Extracted packet for processing {"connection_id":186200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756765760,"raw_latitude":119857016,"longitude_deg":75.676576,"latitude_deg":11.9857016,"altitude":40,"angle":269,"satellites":41,"speed":12,"hex_longitude":"2d1b5440","hex_latitude":"0724df78","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171923456001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392681254912,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479234526511104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789734079000,"timestamp_ms":1789734079000,"timestamp_seconds":1789734079,"priority":1,"record_length":96,"hex_timestamp":"000001a0b476ca18"} 
[2026-09-18 17:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171923456001,"66":12993,"45":1970043392681254912,"83":41984,"24":12,"16":21479234526511104},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171923456001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392681254912,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479234526511104,"km_value":21479234526511.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171923456001,"power":12993,"unknown_45":1970043392681254912,"unknown_83":41984,"ignition":12,"odometer":null}} 
[2026-09-18 17:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":186200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:08] local.INFO: GPS data processed {"connection_id":186200,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:08] local.INFO: Acknowledgment sent {"connection_id":186200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:55:11] local.INFO: TCP Data received {"connection_id":187636,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:55:11] local.INFO: Processing buffer {"connection_id":187636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:55:11] local.INFO: IMEI packet received {"connection_id":187636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":187636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:55:16] local.INFO: TCP Data received {"connection_id":187636,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:55:16] local.INFO: Processing buffer {"connection_id":187636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:55:16] local.INFO: IMEI packet received {"connection_id":187636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":187636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:55:17] local.INFO: TCP Data received {"connection_id":187636,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4786828012d4ccf00068f5360004a006f2f..."} 
[2026-09-18 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4786828012d4ccf00068f5360004a006f2f..."} 
[2026-09-18 17:55:17] local.INFO: Processing buffer {"connection_id":187636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4786828012d4ccf00068f5360004a006f2f..."} 
[2026-09-18 17:55:17] local.INFO: Packet analysis {"connection_id":187636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:55:17] local.INFO: Extracted packet for processing {"connection_id":187636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b478"} 
[2026-09-18 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":760008448,"raw_latitude":110056288,"longitude_deg":76.0008448,"latitude_deg":11.0056288,"altitude":74,"angle":111,"satellites":47,"speed":15,"hex_longitude":"2d4ccf00","hex_latitude":"068f5360","is_valid_coordinates":true} 
[2026-09-18 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171946240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405558248339406848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5525424189749800960,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734185000,"timestamp_ms":1789734185000,"timestamp_seconds":1789734185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4786828"} 
[2026-09-18 17:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55: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-09-18 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:17] 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-09-18 17:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:55: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-09-18 17:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171946240001,"66":27745,"142":206,"86":48896,"24":15,"16":405558248339406848,"45":5525424189749800960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 17:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171946240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 17:55:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405558248339406848,"km_value":405558248339406.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5525424189749800960,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171946240001,"power":27745,"unknown_142":206,"unknown_86":48896,"ignition":15,"odometer":null,"unknown_45":5525424189749800960}} 
[2026-09-18 17:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":187636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:17] local.INFO: GPS data processed {"connection_id":187636,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:17] local.INFO: Acknowledgment sent {"connection_id":187636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:55:21] local.INFO: TCP Data received {"connection_id":187634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:55:21] local.INFO: Processing buffer {"connection_id":187634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 17:55:21] local.INFO: IMEI packet received {"connection_id":187634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 17:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":187634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:55:38] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b476d9b8012d1b4e800724dff00028011a2c..."} 
[2026-09-18 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b476d9b8012d1b4e800724dff00028011a2c..."} 
[2026-09-18 17:55:38] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b476d9b8012d1b4e800724dff00028011a2c..."} 
[2026-09-18 17:55:38] local.INFO: Packet analysis {"connection_id":186200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:55:38] local.INFO: Extracted packet for processing {"connection_id":186200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b476"} 
[2026-09-18 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756764288,"raw_latitude":119857136,"longitude_deg":75.6764288,"latitude_deg":11.9857136,"altitude":40,"angle":282,"satellites":44,"speed":14,"hex_longitude":"2d1b4e80","hex_latitude":"0724dff0","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171924224001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969269336495323136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479303245987840,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789734083000,"timestamp_ms":1789734083000,"timestamp_seconds":1789734083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b476d9b8"} 
[2026-09-18 17:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171924224001,"66":12993,"45":1969269336495323136,"83":41984,"24":14,"16":21479303245987840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171924224001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969269336495323136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479303245987840,"km_value":21479303245987.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171924224001,"power":12993,"unknown_45":1969269336495323136,"unknown_83":41984,"ignition":14,"odometer":null}} 
[2026-09-18 17:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":186200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:39] local.INFO: GPS data processed {"connection_id":186200,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:39] local.INFO: Acknowledgment sent {"connection_id":186200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:55:49] local.INFO: TCP Data received {"connection_id":187636,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47998d8012d4d53c0068ef410004600bd2c..."} 
[2026-09-18 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47998d8012d4d53c0068ef410004600bd2c..."} 
[2026-09-18 17:55:49] local.INFO: Processing buffer {"connection_id":187636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47998d8012d4d53c0068ef410004600bd2c..."} 
[2026-09-18 17:55:49] local.INFO: Packet analysis {"connection_id":187636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:55:49] local.INFO: Extracted packet for processing {"connection_id":187636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":760042432,"raw_latitude":110031888,"longitude_deg":76.0042432,"latitude_deg":11.0031888,"altitude":70,"angle":189,"satellites":44,"speed":19,"hex_longitude":"2d4d53c0","hex_latitude":"068ef410","is_valid_coordinates":true} 
[2026-09-18 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171969024001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405560443067695104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572360142110363648,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789734263000,"timestamp_ms":1789734263000,"timestamp_seconds":1789734263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47998d8"} 
[2026-09-18 17:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171969024001,"66":27876,"10":206,"86":48896,"24":19,"16":405560443067695104,"45":5572360142110363648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171969024001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:55:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405560443067695104,"km_value":405560443067695.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572360142110363648,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171969024001,"power":27876,"unknown_10":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5572360142110363648}} 
[2026-09-18 17:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":187636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:49] local.INFO: GPS data processed {"connection_id":187636,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:49] local.INFO: Acknowledgment sent {"connection_id":187636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:55:49] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:55:49] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:55:49] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:55:54] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:55:54] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:55:54] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:55:54] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ab600012d827f4005d34ae8000b00632b..."} 
[2026-09-18 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ab600012d827f4005d34ae8000b00632b..."} 
[2026-09-18 17:55:54] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ab600012d827f4005d34ae8000b00632b..."} 
[2026-09-18 17:55:54] local.INFO: Packet analysis {"connection_id":186355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:55:54] local.INFO: Extracted packet for processing {"connection_id":186355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763526976,"raw_latitude":97733352,"longitude_deg":76.3526976,"latitude_deg":9.7733352,"altitude":11,"angle":99,"satellites":43,"speed":8,"hex_longitude":"2d827f40","hex_latitude":"05d34ae8","is_valid_coordinates":true} 
[2026-09-18 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171989760001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134840266329686016,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043650239205279744,"note":"Value kept but may cause issues"} 
[2026-09-18 17:55:54] 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-09-18 17:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789734336000,"timestamp_ms":1789734336000,"timestamp_seconds":1789734336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ab600"} 
[2026-09-18 17:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 17:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171989760001,"66":12722,"68":206,"85":15104,"24":8,"16":134840266329686016,"45":-9043650239205279744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171989760001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:55:54] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134840266329686016,"km_value":134840266329686.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043650239205279744,"description":"Unknown IO ID 45"} 
[2026-09-18 17:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171989760001,"power":12722,"unknown_68":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9043650239205279744}} 
[2026-09-18 17:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":186355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:55:54] local.INFO: GPS data processed {"connection_id":186355,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:55:54] local.INFO: Acknowledgment sent {"connection_id":186355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:56:03] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:56:03] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:56:03] local.INFO: IMEI packet received {"connection_id":186201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":186201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:56:08] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:56:08] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:56:08] local.INFO: IMEI packet received {"connection_id":186201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":186201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:56:08] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4770898012d1b3ec00724e2700028010b29..."} 
[2026-09-18 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4770898012d1b3ec00724e2700028010b29..."} 
[2026-09-18 17:56:08] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4770898012d1b3ec00724e2700028010b29..."} 
[2026-09-18 17:56:08] local.INFO: Packet analysis {"connection_id":186201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:56:08] local.INFO: Extracted packet for processing {"connection_id":186201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b477"} 
[2026-09-18 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756760256,"raw_latitude":119857776,"longitude_deg":75.6760256,"latitude_deg":11.9857776,"altitude":40,"angle":267,"satellites":41,"speed":9,"hex_longitude":"2d1b3ec0","hex_latitude":"0724e270","is_valid_coordinates":true} 
[2026-09-18 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171925248001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967650855379267584,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479496519516160,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734095000,"timestamp_ms":1789734095000,"timestamp_seconds":1789734095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4770898"} 
[2026-09-18 17:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 17:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171925248001,"66":13015,"45":1967650855379267584,"83":41984,"24":9,"16":21479496519516160},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171925248001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967650855379267584,"description":"Unknown IO ID 45"} 
[2026-09-18 17:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479496519516160,"km_value":21479496519516.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:56:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171925248001,"power":13015,"unknown_45":1967650855379267584,"unknown_83":41984,"ignition":9,"odometer":null}} 
[2026-09-18 17:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":186201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:56:08] local.INFO: GPS data processed {"connection_id":186201,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:56:08] local.INFO: Acknowledgment sent {"connection_id":186201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:56:11] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:56:11] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:56:11] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:56:16] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:56:16] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:56:16] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:56:17] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b479e6f8012d4d4f00068ed3d0004200bd28..."} 
[2026-09-18 17:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b479e6f8012d4d4f00068ed3d0004200bd28..."} 
[2026-09-18 17:56:17] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b479e6f8012d4d4f00068ed3d0004200bd28..."} 
[2026-09-18 17:56:17] local.INFO: Packet analysis {"connection_id":188948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:56:17] local.INFO: Extracted packet for processing {"connection_id":188948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b479"} 
[2026-09-18 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":760041216,"raw_latitude":110023632,"longitude_deg":76.0041216,"latitude_deg":11.0023632,"altitude":66,"angle":189,"satellites":40,"speed":22,"hex_longitude":"2d4d4f00","hex_latitude":"068ed3d0","is_valid_coordinates":true} 
[2026-09-18 17:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171971328001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405560851089588224,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572008298388131840,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734283000,"timestamp_ms":1789734283000,"timestamp_seconds":1789734283,"priority":1,"record_length":96,"hex_timestamp":"000001a0b479e6f8"} 
[2026-09-18 17:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:56: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-09-18 17:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 17:56: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-09-18 17:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:56: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-09-18 17:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171971328001,"66":27691,"10":206,"86":48896,"24":22,"16":405560851089588224,"45":5572008298388131840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171971328001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405560851089588224,"km_value":405560851089588.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572008298388131840,"description":"Unknown IO ID 45"} 
[2026-09-18 17:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171971328001,"power":27691,"unknown_10":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5572008298388131840}} 
[2026-09-18 17:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":188948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:56:17] local.INFO: GPS data processed {"connection_id":188948,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:56:17] local.INFO: Acknowledgment sent {"connection_id":188948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:56:25] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ab9e8012d82804005d34ab0000b00702a..."} 
[2026-09-18 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ab9e8012d82804005d34ab0000b00702a..."} 
[2026-09-18 17:56:25] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ab9e8012d82804005d34ab0000b00702a..."} 
[2026-09-18 17:56:25] local.INFO: Packet analysis {"connection_id":186355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:25] local.INFO: Extracted packet for processing {"connection_id":186355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763527232,"raw_latitude":97733296,"longitude_deg":76.3527232,"latitude_deg":9.7733296,"altitude":11,"angle":112,"satellites":42,"speed":9,"hex_longitude":"2d828040","hex_latitude":"05d34ab0","is_valid_coordinates":true} 
[2026-09-18 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171990016001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134840274919620608,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043439132972750848,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:25] 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-09-18 17:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789734337000,"timestamp_ms":1789734337000,"timestamp_seconds":1789734337,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ab9e8"} 
[2026-09-18 17:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171990016001,"66":12722,"68":206,"85":15104,"24":9,"16":134840274919620608,"45":-9043439132972750848},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171990016001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:56:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134840274919620608,"km_value":134840274919620.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043439132972750848,"description":"Unknown IO ID 45"} 
[2026-09-18 17:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171990016001,"power":12722,"unknown_68":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9043439132972750848}} 
[2026-09-18 17:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":186355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:56:26] local.INFO: GPS data processed {"connection_id":186355,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:56:26] local.INFO: Acknowledgment sent {"connection_id":186355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:56:39] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47a5070012d1b38800724e288002a012228..."} 
[2026-09-18 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47a5070012d1b38800724e288002a012228..."} 
[2026-09-18 17:56:39] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47a5070012d1b38800724e288002a012228..."} 
[2026-09-18 17:56:39] local.INFO: Packet analysis {"connection_id":186201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:39] local.INFO: Extracted packet for processing {"connection_id":186201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171978240001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789734310000,"timestamp_ms":1789734310000,"timestamp_seconds":1789734310,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47a5070"} 
[2026-09-18 17:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 17:56: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-09-18 17:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171978240001,"66":12613,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171978240001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:56:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171978240001,"power":12613,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":186201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:56:39] local.INFO: GPS data processed {"connection_id":186201,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:56:39] local.INFO: Acknowledgment sent {"connection_id":186201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:56:48] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47a3ce8012d4d4600068eb330004700c029..."} 
[2026-09-18 17:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47a3ce8012d4d4600068eb330004700c029..."} 
[2026-09-18 17:56:48] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47a3ce8012d4d4600068eb330004700c029..."} 
[2026-09-18 17:56:48] local.INFO: Packet analysis {"connection_id":188948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:48] local.INFO: Extracted packet for processing {"connection_id":188948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:48] local.INFO: GPS Element Parsed {"raw_longitude":760038912,"raw_latitude":110015280,"longitude_deg":76.0038912,"latitude_deg":11.001528,"altitude":71,"angle":192,"satellites":41,"speed":12,"hex_longitude":"2d4d4600","hex_latitude":"068eb330","is_valid_coordinates":true} 
[2026-09-18 17:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171976448001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405561267701415936,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570671292246642688,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789734305000,"timestamp_ms":1789734305000,"timestamp_seconds":1789734305,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47a3ce8"} 
[2026-09-18 17:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:56: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-09-18 17:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 17:56:48] 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-09-18 17:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:56: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-09-18 17:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171976448001,"66":27745,"10":206,"86":48896,"24":12,"16":405561267701415936,"45":5570671292246642688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171976448001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:56:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:56:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405561267701415936,"km_value":405561267701415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570671292246642688,"description":"Unknown IO ID 45"} 
[2026-09-18 17:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171976448001,"power":27745,"unknown_10":206,"unknown_86":48896,"ignition":12,"odometer":null,"unknown_45":5570671292246642688}} 
[2026-09-18 17:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":188948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:56:48] local.INFO: GPS data processed {"connection_id":188948,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:56:48] local.INFO: Acknowledgment sent {"connection_id":188948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:56:49] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:56:49] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:56:49] local.INFO: IMEI packet received {"connection_id":186356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":186356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:56:54] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:56:54] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:56:54] local.INFO: IMEI packet received {"connection_id":186356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":186356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:56:54] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47abdd0012d8280c005d34a50000b00822a..."} 
[2026-09-18 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47abdd0012d8280c005d34a50000b00822a..."} 
[2026-09-18 17:56:55] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47abdd0012d8280c005d34a50000b00822a..."} 
[2026-09-18 17:56:55] local.INFO: Packet analysis {"connection_id":186356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:55] local.INFO: Extracted packet for processing {"connection_id":186356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":97733200,"longitude_deg":76.352736,"latitude_deg":9.77332,"altitude":11,"angle":130,"satellites":42,"speed":8,"hex_longitude":"2d8280c0","hex_latitude":"05d34a50","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171990272001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134840283509555200,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043157657996054528,"note":"Value kept but may cause issues"} 
[2026-09-18 17:56:55] 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-09-18 17:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789734338000,"timestamp_ms":1789734338000,"timestamp_seconds":1789734338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47abdd0"} 
[2026-09-18 17:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:56: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-09-18 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:56: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-09-18 17: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-09-18 17:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171990272001,"66":12722,"68":206,"85":15104,"24":8,"16":134840283509555200,"45":-9043157657996054528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171990272001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:56:55] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134840283509555200,"km_value":134840283509555.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043157657996054528,"description":"Unknown IO ID 45"} 
[2026-09-18 17:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171990272001,"power":12722,"unknown_68":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9043157657996054528}} 
[2026-09-18 17:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":186356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:56:55] local.INFO: GPS data processed {"connection_id":186356,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:56:55] local.INFO: Acknowledgment sent {"connection_id":186356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:57:02] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:57:02] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:57:02] local.INFO: IMEI packet received {"connection_id":186357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":186357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:57:08] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:57:08] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:57:08] local.INFO: IMEI packet received {"connection_id":186357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":186357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:57:09] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47aa660012d1b38800724e288002a01222a..."} 
[2026-09-18 17:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47aa660012d1b38800724e288002a01222a..."} 
[2026-09-18 17:57:09] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47aa660012d1b38800724e288002a01222a..."} 
[2026-09-18 17:57:09] local.INFO: Packet analysis {"connection_id":186357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:09] local.INFO: Extracted packet for processing {"connection_id":186357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171983360001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789734332000,"timestamp_ms":1789734332000,"timestamp_seconds":1789734332,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47aa660"} 
[2026-09-18 17:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 17:57: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-09-18 17:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171983360001,"66":12504,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171983360001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:57:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171983360001,"power":12504,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":186357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:57:09] local.INFO: GPS data processed {"connection_id":186357,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:57:09] local.INFO: Acknowledgment sent {"connection_id":186357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:57:11] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:11] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:11] local.INFO: IMEI packet received {"connection_id":187637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":187637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:57:15] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:15] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:15] local.INFO: IMEI packet received {"connection_id":187637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":187637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:57:16] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:16] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:57:16] local.INFO: IMEI packet received {"connection_id":187637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":187637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:57:17] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47a8ef0012d4d40c0068e9be8004400ba2f..."} 
[2026-09-18 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47a8ef0012d4d40c0068e9be8004400ba2f..."} 
[2026-09-18 17:57:17] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47a8ef0012d4d40c0068e9be8004400ba2f..."} 
[2026-09-18 17:57:17] local.INFO: Packet analysis {"connection_id":187637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:17] local.INFO: Extracted packet for processing {"connection_id":187637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:17] local.INFO: GPS Element Parsed {"raw_longitude":760037568,"raw_latitude":110009320,"longitude_deg":76.0037568,"latitude_deg":11.000932,"altitude":68,"angle":186,"satellites":47,"speed":0,"hex_longitude":"2d4d40c0","hex_latitude":"068e9be8","is_valid_coordinates":true} 
[2026-09-18 17:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171982080001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405561568349126656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5568138017454108672,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734326000,"timestamp_ms":1789734326000,"timestamp_seconds":1789734326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47a8ef0"} 
[2026-09-18 17:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:57: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-09-18 17:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:57: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-09-18 17:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:57: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-09-18 17:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171982080001,"66":27843,"10":206,"86":48896,"24":0,"16":405561568349126656,"45":5568138017454108672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171982080001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:57:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:57:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405561568349126656,"km_value":405561568349126.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5568138017454108672,"description":"Unknown IO ID 45"} 
[2026-09-18 17:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171982080001,"power":27843,"unknown_10":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5568138017454108672}} 
[2026-09-18 17:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":187637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:57:17] local.INFO: GPS data processed {"connection_id":187637,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:57:17] local.INFO: Acknowledgment sent {"connection_id":187637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:57:22] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ad540012d4d3e00068e97f0004500fd2c..."} 
[2026-09-18 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ad540012d4d3e00068e97f0004500fd2c..."} 
[2026-09-18 17:57:22] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ad540012d4d3e00068e97f0004500fd2c..."} 
[2026-09-18 17:57:22] local.INFO: Packet analysis {"connection_id":187637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:22] local.INFO: Extracted packet for processing {"connection_id":187637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":760036864,"raw_latitude":110008304,"longitude_deg":76.0036864,"latitude_deg":11.0008304,"altitude":69,"angle":253,"satellites":44,"speed":7,"hex_longitude":"2d4d3e00","hex_latitude":"068e97f0","is_valid_coordinates":true} 
[2026-09-18 17:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171987456001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405561632773636096,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566660273824851968,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789734344000,"timestamp_ms":1789734344000,"timestamp_seconds":1789734344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ad540"} 
[2026-09-18 17:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 17:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171987456001,"66":27908,"10":206,"86":48896,"24":7,"16":405561632773636096,"45":5566660273824851968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-09-18 17:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171987456001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:57:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-18 17:57:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405561632773636096,"km_value":405561632773636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566660273824851968,"description":"Unknown IO ID 45"} 
[2026-09-18 17:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171987456001,"power":27908,"unknown_10":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5566660273824851968}} 
[2026-09-18 17:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":187637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:57:22] local.INFO: GPS data processed {"connection_id":187637,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:57:22] local.INFO: Acknowledgment sent {"connection_id":187637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:57:26] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ac1b8012d82818005d349b8000b00912b..."} 
[2026-09-18 17:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ac1b8012d82818005d349b8000b00912b..."} 
[2026-09-18 17:57:26] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ac1b8012d82818005d349b8000b00912b..."} 
[2026-09-18 17:57:26] local.INFO: Packet analysis {"connection_id":186356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:26] local.INFO: Extracted packet for processing {"connection_id":186356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763527552,"raw_latitude":97733048,"longitude_deg":76.3527552,"latitude_deg":9.7733048,"altitude":11,"angle":145,"satellites":43,"speed":8,"hex_longitude":"2d828180","hex_latitude":"05d349b8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171990528001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134840296394457088,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920507723776,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57: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-09-18 17:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789734339000,"timestamp_ms":1789734339000,"timestamp_seconds":1789734339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ac1b8"} 
[2026-09-18 17:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 17:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171990528001,"66":13004,"68":206,"85":15104,"24":8,"16":134840296394457088,"45":-9043016920507723776},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171990528001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:57:26] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134840296394457088,"km_value":134840296394457.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920507723776,"description":"Unknown IO ID 45"} 
[2026-09-18 17:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171990528001,"power":13004,"unknown_68":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9043016920507723776}} 
[2026-09-18 17:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":186356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:57:26] local.INFO: GPS data processed {"connection_id":186356,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:57:26] local.INFO: Acknowledgment sent {"connection_id":186356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:57:40] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47af868012d1b38800724e288002a012228..."} 
[2026-09-18 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47af868012d1b38800724e288002a012228..."} 
[2026-09-18 17:57:40] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47af868012d1b38800724e288002a012228..."} 
[2026-09-18 17:57:40] local.INFO: Packet analysis {"connection_id":186357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:40] local.INFO: Extracted packet for processing {"connection_id":186357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47a"} 
[2026-09-18 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171988992001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789734353000,"timestamp_ms":1789734353000,"timestamp_seconds":1789734353,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47af868"} 
[2026-09-18 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 17:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171988992001,"66":12558,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171988992001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171988992001,"power":12558,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":186357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:57:40] local.INFO: GPS data processed {"connection_id":186357,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:57:40] local.INFO: Acknowledgment sent {"connection_id":186357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:57:53] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47b1f78012d4d1bc0068e8e90004d00fa2b..."} 
[2026-09-18 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47b1f78012d4d1bc0068e8e90004d00fa2b..."} 
[2026-09-18 17:57:53] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47b1f78012d4d1bc0068e8e90004d00fa2b..."} 
[2026-09-18 17:57:53] local.INFO: Packet analysis {"connection_id":187637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:57:53] local.INFO: Extracted packet for processing {"connection_id":187637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:57:53] local.INFO: GPS Element Parsed {"raw_longitude":760028096,"raw_latitude":110005904,"longitude_deg":76.0028096,"latitude_deg":11.0005904,"altitude":77,"angle":250,"satellites":43,"speed":22,"hex_longitude":"2d4d1bc0","hex_latitude":"068e8e90","is_valid_coordinates":true} 
[2026-09-18 17:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171992064001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405562066565332992,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565886217638637568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789734363000,"timestamp_ms":1789734363000,"timestamp_seconds":1789734363,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47b1f78"} 
[2026-09-18 17:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:57: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-09-18 17:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 17:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171992064001,"66":27767,"12":206,"86":48896,"24":22,"16":405562066565332992,"45":5565886217638637568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-09-18 17:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171992064001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:57:53] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-18 17:57:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405562066565332992,"km_value":405562066565333.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565886217638637568,"description":"Unknown IO ID 45"} 
[2026-09-18 17:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171992064001,"power":27767,"unknown_12":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5565886217638637568}} 
[2026-09-18 17:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":187637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:57:53] local.INFO: GPS data processed {"connection_id":187637,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:57:53] local.INFO: Acknowledgment sent {"connection_id":187637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:08] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:58:08] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:58:08] local.INFO: IMEI packet received {"connection_id":186358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":186358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:58:11] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:11] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:11] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:58:11] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:11] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:11] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:58:13] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:58:13] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:58:13] local.INFO: IMEI packet received {"connection_id":186358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":186358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:58:13] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47b4a70012d1b38800724e288002a012223..."} 
[2026-09-18 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47b4a70012d1b38800724e288002a012223..."} 
[2026-09-18 17:58:13] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47b4a70012d1b38800724e288002a012223..."} 
[2026-09-18 17:58:13] local.INFO: Packet analysis {"connection_id":186358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:13] local.INFO: Extracted packet for processing {"connection_id":186358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":35,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171994368001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789734374000,"timestamp_ms":1789734374000,"timestamp_seconds":1789734374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47b4a70"} 
[2026-09-18 17:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3027831864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250253678604771976,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3800563754,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724369614,"corrected_to":0} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2147951842,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847595,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3242818590335834112,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,45,83,24,241,157,16,79,160,166,128,226,42,10,66,80,40,2,1,240,101,227,180,36,4,113,205,94,56,136,38,239,49,76,7,43,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":724369614,"validated":0}]} 
[2026-09-18 17:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026737979763720192,"timestamp_seconds":3026737979763720.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171994368001,"66":12515,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171994368001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171994368001,"power":12515,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":186358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:13] local.INFO: GPS data processed {"connection_id":186358,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:13] local.INFO: Acknowledgment sent {"connection_id":186358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:16] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47b9c78012d1b38800724e288002a012228..."} 
[2026-09-18 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47b9c78012d1b38800724e288002a012228..."} 
[2026-09-18 17:58:16] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47b9c78012d1b38800724e288002a012228..."} 
[2026-09-18 17:58:16] local.INFO: Packet analysis {"connection_id":186358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:16] local.INFO: Extracted packet for processing {"connection_id":186358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171999744001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789734395000,"timestamp_ms":1789734395000,"timestamp_seconds":1789734395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47b9c78"} 
[2026-09-18 17:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171999744001,"66":12526,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171999744001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458171999744001,"power":12526,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":186358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:16] local.INFO: GPS data processed {"connection_id":186358,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:16] local.INFO: Acknowledgment sent {"connection_id":186358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:17] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:17] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:58:17] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:58:18] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47b61e0012d4cf8c0068e8410004d00ff2d..."} 
[2026-09-18 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47b61e0012d4cf8c0068e8410004d00ff2d..."} 
[2026-09-18 17:58:18] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47b61e0012d4cf8c0068e8410004d00ff2d..."} 
[2026-09-18 17:58:18] local.INFO: Packet analysis {"connection_id":188950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:18] local.INFO: Extracted packet for processing {"connection_id":188950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":760019136,"raw_latitude":110003216,"longitude_deg":76.0019136,"latitude_deg":11.0003216,"altitude":77,"angle":255,"satellites":45,"speed":23,"hex_longitude":"2d4cf8c0","hex_latitude":"068e8410","is_valid_coordinates":true} 
[2026-09-18 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458171996928001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405562513241931776,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5556245699685683200,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789734380000,"timestamp_ms":1789734380000,"timestamp_seconds":1789734380,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47b61e0"} 
[2026-09-18 17:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 17:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458171996928001,"66":27767,"12":206,"86":48896,"24":23,"16":405562513241931776,"45":5556245699685683200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-09-18 17:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458171996928001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:18] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-18 17:58:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405562513241931776,"km_value":405562513241931.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5556245699685683200,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458171996928001,"power":27767,"unknown_12":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5556245699685683200}} 
[2026-09-18 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":188950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:18] local.INFO: GPS data processed {"connection_id":188950,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:18] local.INFO: Acknowledgment sent {"connection_id":188950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:24] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:24] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:24] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:58:28] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:28] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:28] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:58:28] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47c9a60012d82920005d27b18000c00ad2b..."} 
[2026-09-18 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47c9a60012d82920005d27b18000c00ad2b..."} 
[2026-09-18 17:58:29] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47c9a60012d82920005d27b18000c00ad2b..."} 
[2026-09-18 17:58:29] local.INFO: Packet analysis {"connection_id":186359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:58:29] local.INFO: Extracted packet for processing {"connection_id":186359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763531776,"raw_latitude":97680152,"longitude_deg":76.3531776,"latitude_deg":9.7680152,"altitude":12,"angle":173,"satellites":43,"speed":25,"hex_longitude":"2d829200","hex_latitude":"05d27b18","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172018432001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134842890554703872,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039146639589244928,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:29] 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-09-18 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789734460000,"timestamp_ms":1789734460000,"timestamp_seconds":1789734460,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47c9a60"} 
[2026-09-18 17:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172018432001,"66":13820,"68":206,"85":15104,"24":25,"16":134842890554703872,"45":-9039146639589244928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172018432001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:29] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134842890554703872,"km_value":134842890554703.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039146639589244928,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172018432001,"power":13820,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9039146639589244928}} 
[2026-09-18 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":186359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:29] local.INFO: GPS data processed {"connection_id":186359,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:29] local.INFO: Acknowledgment sent {"connection_id":186359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:47] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47bee80012d1b38800724e288002a012222..."} 
[2026-09-18 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47bee80012d1b38800724e288002a012222..."} 
[2026-09-18 17:58:47] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47bee80012d1b38800724e288002a012222..."} 
[2026-09-18 17:58:47] local.INFO: Packet analysis {"connection_id":186358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:47] local.INFO: Extracted packet for processing {"connection_id":186358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172005120001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789734416000,"timestamp_ms":1789734416000,"timestamp_seconds":1789734416,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47bee80"} 
[2026-09-18 17:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172005120001,"66":12504,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172005120001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172005120001,"power":12504,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":186358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:47] local.INFO: GPS data processed {"connection_id":186358,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:47] local.INFO: Acknowledgment sent {"connection_id":186358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:49] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ba060012d4cd4c0068e7e48004f01062c..."} 
[2026-09-18 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ba060012d4cd4c0068e7e48004f01062c..."} 
[2026-09-18 17:58:49] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ba060012d4cd4c0068e7e48004f01062c..."} 
[2026-09-18 17:58:49] local.INFO: Packet analysis {"connection_id":188950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:49] local.INFO: Extracted packet for processing {"connection_id":188950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":760009920,"raw_latitude":110001736,"longitude_deg":76.000992,"latitude_deg":11.0001736,"altitude":79,"angle":262,"satellites":44,"speed":26,"hex_longitude":"2d4cd4c0","hex_latitude":"068e7e48","is_valid_coordinates":true} 
[2026-09-18 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172001280001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405562959918530560,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5546394075500122112,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789734396000,"timestamp_ms":1789734396000,"timestamp_seconds":1789734396,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ba060"} 
[2026-09-18 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:49] 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-09-18 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172001280001,"66":27974,"12":206,"86":48896,"24":26,"16":405562959918530560,"45":5546394075500122112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-09-18 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172001280001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405562959918530560,"km_value":405562959918530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5546394075500122112,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172001280001,"power":27974,"unknown_12":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5546394075500122112}} 
[2026-09-18 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":188950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:49] local.INFO: GPS data processed {"connection_id":188950,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:49] local.INFO: Acknowledgment sent {"connection_id":188950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:58:54] local.INFO: TCP Data received {"connection_id":187638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:54] local.INFO: Processing buffer {"connection_id":187638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:54] local.INFO: IMEI packet received {"connection_id":187638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":187638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:58:59] local.INFO: TCP Data received {"connection_id":187638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:59] local.INFO: Processing buffer {"connection_id":187638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:58:59] local.INFO: IMEI packet received {"connection_id":187638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":187638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:58:59] local.INFO: TCP Data received {"connection_id":187638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47cc940012d82968005d25740000c00ae2b..."} 
[2026-09-18 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47cc940012d82968005d25740000c00ae2b..."} 
[2026-09-18 17:58:59] local.INFO: Processing buffer {"connection_id":187638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47cc940012d82968005d25740000c00ae2b..."} 
[2026-09-18 17:58:59] local.INFO: Packet analysis {"connection_id":187638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:58:59] local.INFO: Extracted packet for processing {"connection_id":187638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97670976,"longitude_deg":76.3532928,"latitude_deg":9.7670976,"altitude":12,"angle":174,"satellites":43,"speed":31,"hex_longitude":"2d829680","hex_latitude":"05d25740","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172021760001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134843337231302656,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038161477173045248,"note":"Value kept but may cause issues"} 
[2026-09-18 17:58:59] 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-09-18 17:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789734472000,"timestamp_ms":1789734472000,"timestamp_seconds":1789734472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47cc940"} 
[2026-09-18 17:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:58: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-09-18 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 17:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172021760001,"66":13798,"68":206,"85":15104,"24":31,"16":134843337231302656,"45":-9038161477173045248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172021760001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:58:59] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134843337231302656,"km_value":134843337231302.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038161477173045248,"description":"Unknown IO ID 45"} 
[2026-09-18 17:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172021760001,"power":13798,"unknown_68":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9038161477173045248}} 
[2026-09-18 17:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":187638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:58:59] local.INFO: GPS data processed {"connection_id":187638,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:58:59] local.INFO: Acknowledgment sent {"connection_id":187638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:03] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:59:03] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:59:03] local.INFO: IMEI packet received {"connection_id":186360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":186360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:59:07] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:59:07] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 17:59:07] local.INFO: IMEI packet received {"connection_id":186360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":186360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:59:08] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47c4088012d1b38800724e288002a012228..."} 
[2026-09-18 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47c4088012d1b38800724e288002a012228..."} 
[2026-09-18 17:59:08] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47c4088012d1b38800724e288002a012228..."} 
[2026-09-18 17:59:08] local.INFO: Packet analysis {"connection_id":186360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:08] local.INFO: Extracted packet for processing {"connection_id":186360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172010496001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734437000,"timestamp_ms":1789734437000,"timestamp_seconds":1789734437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47c4088"} 
[2026-09-18 17:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 17:59: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-09-18 17:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172010496001,"66":12504,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172010496001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172010496001,"power":12504,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":186360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:08] local.INFO: GPS data processed {"connection_id":186360,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:08] local.INFO: Acknowledgment sent {"connection_id":186360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:11] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:59:11] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:59:11] local.INFO: IMEI packet received {"connection_id":186361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 17:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":186361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:59:13] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47c9290012d1b38800724e288002a012223..."} 
[2026-09-18 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47c9290012d1b38800724e288002a012223..."} 
[2026-09-18 17:59:13] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47c9290012d1b38800724e288002a012223..."} 
[2026-09-18 17:59:13] local.INFO: Packet analysis {"connection_id":186360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:13] local.INFO: Extracted packet for processing {"connection_id":186360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":35,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172015872001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789734458000,"timestamp_ms":1789734458000,"timestamp_seconds":1789734458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47c9290"} 
[2026-09-18 17:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59: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-09-18 17:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 17:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172015872001,"66":12461,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172015872001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172015872001,"power":12461,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":186360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:13] local.INFO: GPS data processed {"connection_id":186360,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:13] local.INFO: Acknowledgment sent {"connection_id":186360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:17] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:59:17] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 17:59:17] local.INFO: IMEI packet received {"connection_id":186361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 17:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":186361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:59:17] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47bd328012d4cb100068e7ae0005601072b..."} 
[2026-09-18 17:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47bd328012d4cb100068e7ae0005601072b..."} 
[2026-09-18 17:59:17] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47bd328012d4cb100068e7ae0005601072b..."} 
[2026-09-18 17:59:17] local.INFO: Packet analysis {"connection_id":186361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:59:17] local.INFO: Extracted packet for processing {"connection_id":186361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47b"} 
[2026-09-18 17:59:17] local.INFO: GPS Element Parsed {"raw_longitude":760000768,"raw_latitude":110000864,"longitude_deg":76.0000768,"latitude_deg":11.0000864,"altitude":86,"angle":263,"satellites":43,"speed":28,"hex_longitude":"2d4cb100","hex_latitude":"068e7ae0","is_valid_coordinates":true} 
[2026-09-18 17:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172005376001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405563393710227456,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536260976338159616,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734409000,"timestamp_ms":1789734409000,"timestamp_seconds":1789734409,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47bd328"} 
[2026-09-18 17:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59: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-09-18 17:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 17:59:17] 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-09-18 17:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:59: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-09-18 17:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172005376001,"66":27745,"12":206,"86":48896,"24":28,"16":405563393710227456,"45":5536260976338159616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-09-18 17:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172005376001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:17] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-18 17:59:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405563393710227456,"km_value":405563393710227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536260976338159616,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172005376001,"power":27745,"unknown_12":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5536260976338159616}} 
[2026-09-18 17:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":186361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:17] local.INFO: GPS data processed {"connection_id":186361,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:17] local.INFO: Acknowledgment sent {"connection_id":186361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:30] local.INFO: TCP Data received {"connection_id":187638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47cf820012d82968005d231e8000b00b72d..."} 
[2026-09-18 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47cf820012d82968005d231e8000b00b72d..."} 
[2026-09-18 17:59:30] local.INFO: Processing buffer {"connection_id":187638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47cf820012d82968005d231e8000b00b72d..."} 
[2026-09-18 17:59:30] local.INFO: Packet analysis {"connection_id":187638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:30] local.INFO: Extracted packet for processing {"connection_id":187638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97661416,"longitude_deg":76.3532928,"latitude_deg":9.7661416,"altitude":11,"angle":183,"satellites":45,"speed":29,"hex_longitude":"2d829680","hex_latitude":"05d231e8","is_valid_coordinates":true} 
[2026-09-18 17: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-09-18 17:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172024832001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134843801087770624,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839780196352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:30] 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-09-18 17:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789734484000,"timestamp_ms":1789734484000,"timestamp_seconds":1789734484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47cf820"} 
[2026-09-18 17:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59: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-09-18 17: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 17:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17: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-09-18 17:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172024832001,"66":13580,"68":206,"85":15104,"24":29,"16":134843801087770624,"45":-9036894839780196352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-18 17:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172024832001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:30] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-18 17:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134843801087770624,"km_value":134843801087770.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839780196352,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172024832001,"power":13580,"unknown_68":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9036894839780196352}} 
[2026-09-18 17:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":187638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:30] local.INFO: GPS data processed {"connection_id":187638,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:30] local.INFO: Acknowledgment sent {"connection_id":187638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:44] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ce498012d1b38800724e288002a012223..."} 
[2026-09-18 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ce498012d1b38800724e288002a012223..."} 
[2026-09-18 17:59:44] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ce498012d1b38800724e288002a012223..."} 
[2026-09-18 17:59:44] local.INFO: Packet analysis {"connection_id":186360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:44] local.INFO: Extracted packet for processing {"connection_id":186360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":35,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172021248001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 17:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789734479000,"timestamp_ms":1789734479000,"timestamp_seconds":1789734479,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ce498"} 
[2026-09-18 17:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 17:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 17:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 17:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 17:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 17:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172021248001,"66":12461,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 17:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 17:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 17:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172021248001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 17:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172021248001,"power":12461,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 17:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":186360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:44] local.INFO: GPS data processed {"connection_id":186360,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:44] local.INFO: Acknowledgment sent {"connection_id":186360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:48] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47c05f0012d4c8d80068e77e80058010a2d..."} 
[2026-09-18 17:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47c05f0012d4c8d80068e77e80058010a2d..."} 
[2026-09-18 17:59:48] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47c05f0012d4c8d80068e77e80058010a2d..."} 
[2026-09-18 17:59:48] local.INFO: Packet analysis {"connection_id":186361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:48] local.INFO: Extracted packet for processing {"connection_id":186361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 17:59:48] local.INFO: GPS Element Parsed {"raw_longitude":759991680,"raw_latitude":110000104,"longitude_deg":75.999168,"latitude_deg":11.0000104,"altitude":88,"angle":266,"satellites":45,"speed":30,"hex_longitude":"2d4c8d80","hex_latitude":"068e77e8","is_valid_coordinates":true} 
[2026-09-18 17:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172008704001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405563827501924352,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5526198245920530432,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 17:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789734422000,"timestamp_ms":1789734422000,"timestamp_seconds":1789734422,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47c05f0"} 
[2026-09-18 17:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59: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-09-18 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 17:59:48] 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-09-18 17:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 17:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 17:59: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-09-18 17:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 17:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 17:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172008704001,"66":27821,"12":206,"86":48896,"24":30,"16":405563827501924352,"45":5526198245920530432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-09-18 17:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 17:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 17:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172008704001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-18 17:59:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 17:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405563827501924352,"km_value":405563827501924.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5526198245920530432,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172008704001,"power":27821,"unknown_12":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5526198245920530432}} 
[2026-09-18 17:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":186361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:48] local.INFO: GPS data processed {"connection_id":186361,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:48] local.INFO: Acknowledgment sent {"connection_id":186361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 17:59:49] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:59:49] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:59:49] local.INFO: IMEI packet received {"connection_id":186202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 17:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":186202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 17:59:53] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:59:53] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 17:59:53] local.INFO: IMEI packet received {"connection_id":186202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 17:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":186202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 17:59:53] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47d2318012d82968005d20e70000a00af2a..."} 
[2026-09-18 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47d2318012d82968005d20e70000a00af2a..."} 
[2026-09-18 17:59:53] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47d2318012d82968005d20e70000a00af2a..."} 
[2026-09-18 17:59:53] local.INFO: Packet analysis {"connection_id":186202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47d"} 
[2026-09-18 17:59:53] local.INFO: Extracted packet for processing {"connection_id":186202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47d"} 
[2026-09-18 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97652336,"longitude_deg":76.3532928,"latitude_deg":9.7652336,"altitude":10,"angle":175,"satellites":42,"speed":28,"hex_longitude":"2d829680","hex_latitude":"05d20e70","is_valid_coordinates":true} 
[2026-09-18 17:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172027904001,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134844243469402112,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839782643712,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] 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-09-18 17:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789734495000,"timestamp_ms":1789734495000,"timestamp_seconds":1789734495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47d2318"} 
[2026-09-18 17:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 17:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636237,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3028022864,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190475269,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2374017128182317056,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2891448332,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470088516,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665401038,"corrected_to":0} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2281778562,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147865271,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407139,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3537592320,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-8754991272039546870,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748162390667691,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-18 17:59:53] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,68,85,24,241,157,16,15,160,201,45,128,87,12,43,10,66,154,123,14,103,1,240,110,227,180,210,4,113,205,22,64,143,42,239,52,2,223,5,130,51,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1665401038,"validated":0}]} 
[2026-09-18 17:59:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792834938320519168,"timestamp_seconds":792834938320519.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 17:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 17:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 17:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 17:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 17:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 17:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 17:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 17:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172027904001,"66":13613,"63":206,"85":15104,"24":28,"16":134844243469402112,"45":-9036894839782643712},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-18 17:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 17:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 17:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172027904001,"description":"Unknown IO ID 0"} 
[2026-09-18 17:59:53] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-18 17:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 17:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134844243469402112,"km_value":134844243469402.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 17:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839782643712,"description":"Unknown IO ID 45"} 
[2026-09-18 17:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172027904001,"power":13613,"unknown_63":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9036894839782643712}} 
[2026-09-18 17:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":186202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 17:59:53] local.INFO: GPS data processed {"connection_id":186202,"processed":1,"errors":0,"total":1} 
[2026-09-18 17:59:53] local.INFO: Acknowledgment sent {"connection_id":186202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:00:01] local.INFO: TCP Data received {"connection_id":187639,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:01] local.INFO: Processing buffer {"connection_id":187639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:01] local.INFO: IMEI packet received {"connection_id":187639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":187639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:00:03] local.INFO: TCP Data received {"connection_id":187639,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:03] local.INFO: Processing buffer {"connection_id":187639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:03] local.INFO: IMEI packet received {"connection_id":187639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":187639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:00:07] local.INFO: TCP Data received {"connection_id":187639,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:07] local.INFO: Processing buffer {"connection_id":187639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:00:07] local.INFO: IMEI packet received {"connection_id":187639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":187639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:00:07] local.INFO: TCP Data received {"connection_id":187639,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47d36a0012d1b38800724e288002a012225..."} 
[2026-09-18 18:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47d36a0012d1b38800724e288002a012225..."} 
[2026-09-18 18:00:07] local.INFO: Processing buffer {"connection_id":187639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47d36a0012d1b38800724e288002a012225..."} 
[2026-09-18 18:00:07] local.INFO: Packet analysis {"connection_id":187639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47d"} 
[2026-09-18 18:00:07] local.INFO: Extracted packet for processing {"connection_id":187639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47d"} 
[2026-09-18 18:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172026624001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789734500000,"timestamp_ms":1789734500000,"timestamp_seconds":1789734500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47d36a0"} 
[2026-09-18 18:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172026624001,"66":12461,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 18:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172026624001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 18:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:00:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172026624001,"power":12461,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 18:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":187639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:00:07] local.INFO: GPS data processed {"connection_id":187639,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:00:07] local.INFO: Acknowledgment sent {"connection_id":187639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:00:11] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:00:11] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:00:11] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:00:16] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:00:16] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:00:16] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:00:17] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47c4470012d4c6a00068e76f80052010c2c..."} 
[2026-09-18 18:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47c4470012d4c6a00068e76f80052010c2c..."} 
[2026-09-18 18:00:17] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47c4470012d4c6a00068e76f80052010c2c..."} 
[2026-09-18 18:00:17] local.INFO: Packet analysis {"connection_id":186203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 18:00:17] local.INFO: Extracted packet for processing {"connection_id":186203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47c"} 
[2026-09-18 18:00:17] local.INFO: GPS Element Parsed {"raw_longitude":759982592,"raw_latitude":109999864,"longitude_deg":75.9982592,"latitude_deg":10.9999864,"altitude":82,"angle":268,"satellites":44,"speed":19,"hex_longitude":"2d4c6a00","hex_latitude":"068e76f8","is_valid_coordinates":true} 
[2026-09-18 18:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172012032001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405564261293621248,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5516205884247107584,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734438000,"timestamp_ms":1789734438000,"timestamp_seconds":1789734438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47c4470"} 
[2026-09-18 18:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:00: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-09-18 18:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:00: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-09-18 18:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:00: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-09-18 18:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172012032001,"66":27767,"246":206,"86":48896,"24":19,"16":405564261293621248,"45":5516205884247107584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,86,24,16,45]} 
[2026-09-18 18:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172012032001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:00:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405564261293621248,"km_value":405564261293621.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5516205884247107584,"description":"Unknown IO ID 45"} 
[2026-09-18 18:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172012032001,"power":27767,"main_input_voltage":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5516205884247107584}} 
[2026-09-18 18:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":186203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:00:17] local.INFO: GPS data processed {"connection_id":186203,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:00:17] local.INFO: Acknowledgment sent {"connection_id":186203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:00:24] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47f0778012d83314005d15318000900682a..."} 
[2026-09-18 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47f0778012d83314005d15318000900682a..."} 
[2026-09-18 18:00:24] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47f0778012d83314005d15318000900682a..."} 
[2026-09-18 18:00:24] local.INFO: Packet analysis {"connection_id":186202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:00:24] local.INFO: Extracted packet for processing {"connection_id":186202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763572544,"raw_latitude":97604376,"longitude_deg":76.3572544,"latitude_deg":9.7604376,"altitude":9,"angle":104,"satellites":42,"speed":16,"hex_longitude":"2d833140","hex_latitude":"05d15318","is_valid_coordinates":true} 
[2026-09-18 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172060928001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134848289328594944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8998473505476171776,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:24] 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-09-18 18:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789734619000,"timestamp_ms":1789734619000,"timestamp_seconds":1789734619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47f0778"} 
[2026-09-18 18:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 18:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172060928001,"66":13363,"63":206,"85":15104,"24":16,"16":134848289328594944,"45":-8998473505476171776},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-18 18:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172060928001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:00:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-18 18:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134848289328594944,"km_value":134848289328594.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8998473505476171776,"description":"Unknown IO ID 45"} 
[2026-09-18 18:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172060928001,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-8998473505476171776}} 
[2026-09-18 18:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":186202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:00:24] local.INFO: GPS data processed {"connection_id":186202,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:00:24] local.INFO: Acknowledgment sent {"connection_id":186202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:00:38] local.INFO: TCP Data received {"connection_id":187639,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47d88a8012d1b38800724e288002a012224..."} 
[2026-09-18 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47d88a8012d1b38800724e288002a012224..."} 
[2026-09-18 18:00:38] local.INFO: Processing buffer {"connection_id":187639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47d88a8012d1b38800724e288002a012224..."} 
[2026-09-18 18:00:38] local.INFO: Packet analysis {"connection_id":187639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47d"} 
[2026-09-18 18:00:38] local.INFO: Extracted packet for processing {"connection_id":187639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47d"} 
[2026-09-18 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119857800,"longitude_deg":75.6758656,"latitude_deg":11.98578,"altitude":42,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d1b3880","hex_latitude":"0724e288","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172032000001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405891803136,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479578123894784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789734521000,"timestamp_ms":1789734521000,"timestamp_seconds":1789734521,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47d88a8"} 
[2026-09-18 18:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172032000001,"66":12428,"45":1961458405891803136,"83":41984,"24":0,"16":21479578123894784},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 18:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172032000001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405891803136,"description":"Unknown IO ID 45"} 
[2026-09-18 18:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479578123894784,"km_value":21479578123894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:00:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172032000001,"power":12428,"unknown_45":1961458405891803136,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 18:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":187639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:00:38] local.INFO: GPS data processed {"connection_id":187639,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:00:38] local.INFO: Acknowledgment sent {"connection_id":187639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:00:48] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:48] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:48] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:00:49] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ecce0012d4b6bc0068e3bd8004d00fa33..."} 
[2026-09-18 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ecce0012d4b6bc0068e3bd8004d00fa33..."} 
[2026-09-18 18:00:49] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ecce0012d4b6bc0068e3bd8004d00fa33..."} 
[2026-09-18 18:00:49] local.INFO: Packet analysis {"connection_id":186203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:00:49] local.INFO: Extracted packet for processing {"connection_id":186203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":759917504,"raw_latitude":109984728,"longitude_deg":75.9917504,"latitude_deg":10.9984728,"altitude":77,"angle":250,"satellites":51,"speed":12,"hex_longitude":"2d4b6bc0","hex_latitude":"068e3bd8","is_valid_coordinates":true} 
[2026-09-18 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172058368001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405567757397000192,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5434929984718010368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:00:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789734604000,"timestamp_ms":1789734604000,"timestamp_seconds":1789734604,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ecce0"} 
[2026-09-18 18:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:00:49] 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-09-18 18:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172058368001,"66":27767,"86":48896,"24":12,"16":405567757397000192,"45":5434929984718010368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172058368001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:00:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405567757397000192,"km_value":405567757397000.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5434929984718010368,"description":"Unknown IO ID 45"} 
[2026-09-18 18:00:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172058368001,"power":27767,"unknown_86":48896,"ignition":12,"odometer":null,"unknown_45":5434929984718010368}} 
[2026-09-18 18:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":186203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:00:49] local.INFO: GPS data processed {"connection_id":186203,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:00:49] local.INFO: Acknowledgment sent {"connection_id":186203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:00:51] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:51] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:51] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:00:52] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:52] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:52] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:00:54] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:54] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:00:54] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:00:55] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:00:55] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:00:55] local.INFO: IMEI packet received {"connection_id":188949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":188949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:01:05] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:01:05] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:01:05] local.INFO: IMEI packet received {"connection_id":188952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":188952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:01:06] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:01:06] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:01:06] local.INFO: IMEI packet received {"connection_id":188952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":188952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:01:07] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ec510012d1b40400724e290001b007029..."} 
[2026-09-18 18:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ec510012d1b40400724e290001b007029..."} 
[2026-09-18 18:01:07] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ec510012d1b40400724e290001b007029..."} 
[2026-09-18 18:01:07] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:07] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119857808,"longitude_deg":75.676064,"latitude_deg":11.9857808,"altitude":27,"angle":112,"satellites":41,"speed":10,"hex_longitude":"2d1b4040","hex_latitude":"0724e290","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172057344001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962865780775401472,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479715562848256,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789734602000,"timestamp_ms":1789734602000,"timestamp_seconds":1789734602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ec510"} 
[2026-09-18 18:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-18 18:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172057344001,"66":13972,"45":1962865780775401472,"83":41984,"24":10,"16":21479715562848256},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 18:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172057344001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962865780775401472,"description":"Unknown IO ID 45"} 
[2026-09-18 18:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479715562848256,"km_value":21479715562848.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:01:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172057344001,"power":13972,"unknown_45":1962865780775401472,"unknown_83":41984,"ignition":10,"odometer":null}} 
[2026-09-18 18:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:01:07] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:01:07] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:01:08] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ed4b0012d1b46000724e100001b006529..."} 
[2026-09-18 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ed4b0012d1b46000724e100001b006529..."} 
[2026-09-18 18:01:08] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ed4b0012d1b46000724e100001b006529..."} 
[2026-09-18 18:01:08] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:08] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119857408,"longitude_deg":75.6762112,"latitude_deg":11.9857408,"altitude":27,"angle":101,"satellites":41,"speed":14,"hex_longitude":"2d1b4600","hex_latitude":"0724e100","is_valid_coordinates":true} 
[2026-09-18 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172058112001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836961312768,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21479784282324992,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734606000,"timestamp_ms":1789734606000,"timestamp_seconds":1789734606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ed4b0"} 
[2026-09-18 18:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-18 18:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172058112001,"66":14233,"45":1963639836961312768,"83":41984,"24":14,"16":21479784282324992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 18:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172058112001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836961312768,"description":"Unknown IO ID 45"} 
[2026-09-18 18:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21479784282324992,"km_value":21479784282324.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:01:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172058112001,"power":14233,"unknown_45":1963639836961312768,"unknown_83":41984,"ignition":14,"odometer":null}} 
[2026-09-18 18:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:01:08] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:01:08] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:01:11] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:01:11] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:01:11] local.INFO: IMEI packet received {"connection_id":186204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:01:17] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:01:17] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:01:17] local.INFO: IMEI packet received {"connection_id":186204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":186204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:01:17] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ed0c8012d4b6ac0068e3b90004e010633..."} 
[2026-09-18 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ed0c8012d4b6ac0068e3b90004e010633..."} 
[2026-09-18 18:01:17] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ed0c8012d4b6ac0068e3b90004e010633..."} 
[2026-09-18 18:01:17] local.INFO: Packet analysis {"connection_id":186204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:17] local.INFO: Extracted packet for processing {"connection_id":186204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":759917248,"raw_latitude":109984656,"longitude_deg":75.9917248,"latitude_deg":10.9984656,"altitude":78,"angle":262,"satellites":51,"speed":13,"hex_longitude":"2d4b6ac0","hex_latitude":"068e3b90","is_valid_coordinates":true} 
[2026-09-18 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172058624001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405567774576869376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5434648509741258752,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734605000,"timestamp_ms":1789734605000,"timestamp_seconds":1789734605,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ed0c8"} 
[2026-09-18 18:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:01: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-09-18 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:01: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-09-18 18:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:01: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-09-18 18:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172058624001,"66":27767,"86":48896,"24":13,"16":405567774576869376,"45":5434648509741258752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172058624001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:01:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405567774576869376,"km_value":405567774576869.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5434648509741258752,"description":"Unknown IO ID 45"} 
[2026-09-18 18:01:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172058624001,"power":27767,"unknown_86":48896,"ignition":13,"odometer":null,"unknown_45":5434648509741258752}} 
[2026-09-18 18:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":186204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:01:17] local.INFO: GPS data processed {"connection_id":186204,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:01:17] local.INFO: Acknowledgment sent {"connection_id":186204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:01:49] local.INFO: TCP Data received {"connection_id":186204,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ed4b0012d4b6940068e3b90004e011a33..."} 
[2026-09-18 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ed4b0012d4b6940068e3b90004e011a33..."} 
[2026-09-18 18:01:49] local.INFO: Processing buffer {"connection_id":186204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ed4b0012d4b6940068e3b90004e011a33..."} 
[2026-09-18 18:01:49] local.INFO: Packet analysis {"connection_id":186204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:49] local.INFO: Extracted packet for processing {"connection_id":186204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":759916864,"raw_latitude":109984656,"longitude_deg":75.9916864,"latitude_deg":10.9984656,"altitude":78,"angle":282,"satellites":51,"speed":13,"hex_longitude":"2d4b6940","hex_latitude":"068e3b90","is_valid_coordinates":true} 
[2026-09-18 18:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172058880001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405567791756738560,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5434367034764529664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789734606000,"timestamp_ms":1789734606000,"timestamp_seconds":1789734606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ed4b0"} 
[2026-09-18 18:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:01:49] 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-09-18 18:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172058880001,"66":27767,"86":48896,"24":13,"16":405567791756738560,"45":5434367034764529664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172058880001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:01:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405567791756738560,"km_value":405567791756738.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5434367034764529664,"description":"Unknown IO ID 45"} 
[2026-09-18 18:01:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172058880001,"power":27767,"unknown_86":48896,"ignition":13,"odometer":null,"unknown_45":5434367034764529664}} 
[2026-09-18 18:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:01:49] local.INFO: GPS data processed {"connection_id":186204,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:01:49] local.INFO: Acknowledgment sent {"connection_id":186204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:01:56] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47f26b8012d1b58400724de20001c006a28..."} 
[2026-09-18 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47f26b8012d1b58400724de20001c006a28..."} 
[2026-09-18 18:01:56] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47f26b8012d1b58400724de20001c006a28..."} 
[2026-09-18 18:01:56] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:01:56] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119856672,"longitude_deg":75.6766784,"latitude_deg":11.9856672,"altitude":28,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2d1b5840","hex_latitude":"0724de20","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172059136001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21480020505526272,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258318077296640,"note":"Value kept but may cause issues"} 
[2026-09-18 18:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789734627000,"timestamp_ms":1789734627000,"timestamp_seconds":1789734627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47f26b8"} 
[2026-09-18 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-09-18 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 18:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 18:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172059136001,"66":14265,"136":206,"83":42752,"24":0,"16":21480020505526272,"45":1965258318077296640},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 18:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172059136001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:01:56] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 18:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21480020505526272,"km_value":21480020505526.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258318077296640,"description":"Unknown IO ID 45"} 
[2026-09-18 18:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172059136001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1965258318077296640}} 
[2026-09-18 18:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:01:56] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:01:56] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:02:03] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:02:03] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:02:03] local.INFO: IMEI packet received {"connection_id":186363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":186363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:02:08] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:02:08] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:02:08] local.INFO: IMEI packet received {"connection_id":186363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":186363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:02:08] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47f3658012d1b58c00724dc28001d00b42b..."} 
[2026-09-18 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47f3658012d1b58c00724dc28001d00b42b..."} 
[2026-09-18 18:02:08] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47f3658012d1b58c00724dc28001d00b42b..."} 
[2026-09-18 18:02:08] local.INFO: Packet analysis {"connection_id":186363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:02:08] local.INFO: Extracted packet for processing {"connection_id":186363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119856168,"longitude_deg":75.6766912,"latitude_deg":11.9856168,"altitude":29,"angle":180,"satellites":43,"speed":10,"hex_longitude":"2d1b58c0","hex_latitude":"0724dc28","is_valid_coordinates":true} 
[2026-09-18 18:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172064512001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21480046275330048,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236402077696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734631000,"timestamp_ms":1789734631000,"timestamp_seconds":1789734631,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47f3658"} 
[2026-09-18 18:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 18:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172064512001,"66":14363,"136":206,"83":42752,"24":10,"16":21480046275330048,"45":1970395236402077696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 18:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172064512001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:02:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 18:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21480046275330048,"km_value":21480046275330.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236402077696,"description":"Unknown IO ID 45"} 
[2026-09-18 18:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172064512001,"power":14363,"unknown_136":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1970395236402077696}} 
[2026-09-18 18:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":186363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:02:08] local.INFO: GPS data processed {"connection_id":186363,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:02:08] local.INFO: Acknowledgment sent {"connection_id":186363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:02:27] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:02:27] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:02:27] local.INFO: IMEI packet received {"connection_id":186364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":186364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:02:28] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:02:28] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:02:28] local.INFO: IMEI packet received {"connection_id":186364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":186364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:02:29] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47ee450012d4b6480068e3d98004f012831..."} 
[2026-09-18 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47ee450012d4b6480068e3d98004f012831..."} 
[2026-09-18 18:02:29] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47ee450012d4b6480068e3d98004f012831..."} 
[2026-09-18 18:02:29] local.INFO: Packet analysis {"connection_id":186364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:02:29] local.INFO: Extracted packet for processing {"connection_id":186364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47e"} 
[2026-09-18 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":759915648,"raw_latitude":109985176,"longitude_deg":75.9915648,"latitude_deg":10.9985176,"altitude":79,"angle":296,"satellites":49,"speed":14,"hex_longitude":"2d4b6480","hex_latitude":"068e3d98","is_valid_coordinates":true} 
[2026-09-18 18:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172059136001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405567856181248000,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5433944822299463680,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789734610000,"timestamp_ms":1789734610000,"timestamp_seconds":1789734610,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47ee450"} 
[2026-09-18 18:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:02: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-09-18 18:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172059136001,"66":27789,"86":48896,"24":14,"16":405567856181248000,"45":5433944822299463680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172059136001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:02:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405567856181248000,"km_value":405567856181248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5433944822299463680,"description":"Unknown IO ID 45"} 
[2026-09-18 18:02:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172059136001,"power":27789,"unknown_86":48896,"ignition":14,"odometer":null,"unknown_45":5433944822299463680}} 
[2026-09-18 18:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":186364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:02:29] local.INFO: GPS data processed {"connection_id":186364,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:02:29] local.INFO: Acknowledgment sent {"connection_id":186364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:02:30] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47f0778012d4b5700068e4350005201142e..."} 
[2026-09-18 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47f0778012d4b5700068e4350005201142e..."} 
[2026-09-18 18:02:30] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47f0778012d4b5700068e4350005201142e..."} 
[2026-09-18 18:02:30] local.INFO: Packet analysis {"connection_id":186364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:02:30] local.INFO: Extracted packet for processing {"connection_id":186364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:02:30] local.INFO: GPS Element Parsed {"raw_longitude":759912192,"raw_latitude":109986640,"longitude_deg":75.9912192,"latitude_deg":10.998664,"altitude":82,"angle":276,"satellites":46,"speed":16,"hex_longitude":"2d4b5700","hex_latitude":"068e4350","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172060160001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405568032274907136,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5432607816160221184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789734619000,"timestamp_ms":1789734619000,"timestamp_seconds":1789734619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47f0778"} 
[2026-09-18 18:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 18:02:30] 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-09-18 18: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-09-18 18:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172060160001,"66":27691,"86":48896,"24":16,"16":405568032274907136,"45":5432607816160221184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172060160001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:02:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405568032274907136,"km_value":405568032274907.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5432607816160221184,"description":"Unknown IO ID 45"} 
[2026-09-18 18:02:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172060160001,"power":27691,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5432607816160221184}} 
[2026-09-18 18:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":186364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:02:30] local.INFO: GPS data processed {"connection_id":186364,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:02:30] local.INFO: Acknowledgment sent {"connection_id":186364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:02:39] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4808648012d1adb80072440f8003100dd29..."} 
[2026-09-18 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4808648012d1adb80072440f8003100dd29..."} 
[2026-09-18 18:02:39] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4808648012d1adb80072440f8003100dd29..."} 
[2026-09-18 18:02:39] local.INFO: Packet analysis {"connection_id":186363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:02:39] local.INFO: Extracted packet for processing {"connection_id":186363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119816440,"longitude_deg":75.6734848,"latitude_deg":11.981644,"altitude":49,"angle":221,"satellites":41,"speed":29,"hex_longitude":"2d1adb80","hex_latitude":"072440f8","is_valid_coordinates":true} 
[2026-09-18 18:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172084992001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21482601780871168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940558888862435328,"note":"Value kept but may cause issues"} 
[2026-09-18 18:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789734717000,"timestamp_ms":1789734717000,"timestamp_seconds":1789734717,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4808648"} 
[2026-09-18 18:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-18 18:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172084992001,"66":13993,"137":206,"83":42752,"24":29,"16":21482601780871168,"45":1940558888862435328},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172084992001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:02:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21482601780871168,"km_value":21482601780871.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940558888862435328,"description":"Unknown IO ID 45"} 
[2026-09-18 18:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172084992001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1940558888862435328}} 
[2026-09-18 18:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":186363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:02:39] local.INFO: GPS data processed {"connection_id":186363,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:02:39] local.INFO: Acknowledgment sent {"connection_id":186363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:03:08] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:08] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:08] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:03:09] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:09] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:09] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:03:11] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:03:11] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:03:11] local.INFO: IMEI packet received {"connection_id":186205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":186205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:03:13] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:13] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:03:13] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:03:13] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4808648012d1adb80072440f8003100dd29..."} 
[2026-09-18 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4808648012d1adb80072440f8003100dd29..."} 
[2026-09-18 18:03:13] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4808648012d1adb80072440f8003100dd29..."} 
[2026-09-18 18:03:13] local.INFO: Packet analysis {"connection_id":186365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:03:13] local.INFO: Extracted packet for processing {"connection_id":186365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119816440,"longitude_deg":75.6734848,"latitude_deg":11.981644,"altitude":49,"angle":221,"satellites":41,"speed":29,"hex_longitude":"2d1adb80","hex_latitude":"072440f8","is_valid_coordinates":true} 
[2026-09-18 18:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172087552001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21482601780871168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281233047123968,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789734717000,"timestamp_ms":1789734717000,"timestamp_seconds":1789734717,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4808648"} 
[2026-09-18 18:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:03: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-09-18 18:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 18:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172087552001,"66":13993,"137":206,"83":42752,"24":29,"16":21482601780871168,"45":1935281233047123968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172087552001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21482601780871168,"km_value":21482601780871.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281233047123968,"description":"Unknown IO ID 45"} 
[2026-09-18 18:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172087552001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1935281233047123968}} 
[2026-09-18 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":186365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:03:14] local.INFO: GPS data processed {"connection_id":186365,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:03:14] local.INFO: Acknowledgment sent {"connection_id":186365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:03:14] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:03:14] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:03:14] local.INFO: IMEI packet received {"connection_id":186205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":186205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:03:15] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47f0f48012d4b53c0068e4348005201022e..."} 
[2026-09-18 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47f0f48012d4b53c0068e4348005201022e..."} 
[2026-09-18 18:03:15] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47f0f48012d4b53c0068e4348005201022e..."} 
[2026-09-18 18:03:15] local.INFO: Packet analysis {"connection_id":186205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:03:15] local.INFO: Extracted packet for processing {"connection_id":186205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:03:15] local.INFO: GPS Element Parsed {"raw_longitude":759911360,"raw_latitude":109986632,"longitude_deg":75.991136,"latitude_deg":10.9986632,"altitude":82,"angle":258,"satellites":46,"speed":12,"hex_longitude":"2d4b53c0","hex_latitude":"068e4348","is_valid_coordinates":true} 
[2026-09-18 18:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172062464001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405568075224580096,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5428807903975002112,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789734621000,"timestamp_ms":1789734621000,"timestamp_seconds":1789734621,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47f0f48"} 
[2026-09-18 18:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:03: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-09-18 18:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 18:03:15] 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-09-18 18:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172062464001,"66":27713,"86":48896,"24":12,"16":405568075224580096,"45":5428807903975002112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172062464001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:03:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405568075224580096,"km_value":405568075224580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5428807903975002112,"description":"Unknown IO ID 45"} 
[2026-09-18 18:03:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172062464001,"power":27713,"unknown_86":48896,"ignition":12,"odometer":null,"unknown_45":5428807903975002112}} 
[2026-09-18 18:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":186205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:03:15] local.INFO: GPS data processed {"connection_id":186205,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:03:15] local.INFO: Acknowledgment sent {"connection_id":186205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:03:44] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48095e8012d1ad24007243988003000e825..."} 
[2026-09-18 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48095e8012d1ad24007243988003000e825..."} 
[2026-09-18 18:03:44] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48095e8012d1ad24007243988003000e825..."} 
[2026-09-18 18:03:44] local.INFO: Packet analysis {"connection_id":186365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:03:44] local.INFO: Extracted packet for processing {"connection_id":186365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756732480,"raw_latitude":119814536,"longitude_deg":75.673248,"latitude_deg":11.9814536,"altitude":48,"angle":232,"satellites":37,"speed":29,"hex_longitude":"2d1ad240","hex_latitude":"07243988","is_valid_coordinates":true} 
[2026-09-18 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172087552001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21482747809759232,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281233047123968,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789734721000,"timestamp_ms":1789734721000,"timestamp_seconds":1789734721,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48095e8"} 
[2026-09-18 18:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 18:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172087552001,"66":14341,"137":206,"83":42752,"24":29,"16":21482747809759232,"45":1935281233047123968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172087552001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21482747809759232,"km_value":21482747809759.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281233047123968,"description":"Unknown IO ID 45"} 
[2026-09-18 18:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172087552001,"power":14341,"unknown_137":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1935281233047123968}} 
[2026-09-18 18:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":186365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:03:44] local.INFO: GPS data processed {"connection_id":186365,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:03:44] local.INFO: Acknowledgment sent {"connection_id":186365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:03:46] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b47f26b8012d4b4d40068e41a8005100f630..."} 
[2026-09-18 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b47f26b8012d4b4d40068e41a8005100f630..."} 
[2026-09-18 18:03:46] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b47f26b8012d4b4d40068e41a8005100f630..."} 
[2026-09-18 18:03:46] local.INFO: Packet analysis {"connection_id":186205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:03:46] local.INFO: Extracted packet for processing {"connection_id":186205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b47f"} 
[2026-09-18 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":759909696,"raw_latitude":109986216,"longitude_deg":75.9909696,"latitude_deg":10.9986216,"altitude":81,"angle":246,"satellites":48,"speed":14,"hex_longitude":"2d4b4d40","hex_latitude":"068e41a8","is_valid_coordinates":true} 
[2026-09-18 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172062976001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405568156828958720,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5427893110300690432,"note":"Value kept but may cause issues"} 
[2026-09-18 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789734627000,"timestamp_ms":1789734627000,"timestamp_seconds":1789734627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b47f26b8"} 
[2026-09-18 18:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-18 18:03: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-09-18 18:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172062976001,"66":27821,"1":206,"86":48896,"24":14,"16":405568156828958720,"45":5427893110300690432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,86,24,16,45]} 
[2026-09-18 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172062976001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:03:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405568156828958720,"km_value":405568156828958.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5427893110300690432,"description":"Unknown IO ID 45"} 
[2026-09-18 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172062976001,"power":27821,"imei":206,"unknown_86":48896,"ignition":14,"odometer":null,"unknown_45":5427893110300690432}} 
[2026-09-18 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":186205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:03:46] local.INFO: GPS data processed {"connection_id":186205,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:03:46] local.INFO: Acknowledgment sent {"connection_id":186205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:04:03] local.INFO: TCP Data received {"connection_id":187641,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:04:03] local.INFO: Processing buffer {"connection_id":187641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:04:03] local.INFO: IMEI packet received {"connection_id":187641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":187641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:04:07] local.INFO: TCP Data received {"connection_id":187641,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:04:07] local.INFO: Processing buffer {"connection_id":187641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:04:07] local.INFO: IMEI packet received {"connection_id":187641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":187641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:04:08] local.INFO: TCP Data received {"connection_id":187641,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b480a588012d1ac740072433c8003000f426..."} 
[2026-09-18 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b480a588012d1ac740072433c8003000f426..."} 
[2026-09-18 18:04:08] local.INFO: Processing buffer {"connection_id":187641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b480a588012d1ac740072433c8003000f426..."} 
[2026-09-18 18:04:08] local.INFO: Packet analysis {"connection_id":187641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:04:08] local.INFO: Extracted packet for processing {"connection_id":187641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756729664,"raw_latitude":119813064,"longitude_deg":75.6729664,"latitude_deg":11.9813064,"altitude":48,"angle":244,"satellites":38,"speed":32,"hex_longitude":"2d1ac740","hex_latitude":"072433c8","is_valid_coordinates":true} 
[2026-09-18 18:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172088576001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21482898133614592,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932677589512062976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] 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-09-18 18:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734725000,"timestamp_ms":1789734725000,"timestamp_seconds":1789734725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b480a588"} 
[2026-09-18 18:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991151007,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3028281864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503927402921984,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2152699905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84753970484421808,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.WARNING: Large IO value detected {"io_id":88,"raw_value":9852634206835200,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,137,83,24,241,157,16,82,160,134,45,128,64,49,41,10,66,95,1,240,38,227,81,180,36,4,113,205,40,192,239,55,2,76,7,44,15,206,208,88],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 18:04:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459019759433875456,"timestamp_seconds":3459019759433875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172088576001,"66":14428,"137":206,"83":42752,"24":32,"16":21482898133614592,"45":1932677589512062976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172088576001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:04:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21482898133614592,"km_value":21482898133614.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932677589512062976,"description":"Unknown IO ID 45"} 
[2026-09-18 18:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172088576001,"power":14428,"unknown_137":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1932677589512062976}} 
[2026-09-18 18:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":187641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:04:08] local.INFO: GPS data processed {"connection_id":187641,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:04:08] local.INFO: Acknowledgment sent {"connection_id":187641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:04:11] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:11] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:11] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:04:11] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:11] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:11] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:04:17] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:17] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:04:17] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:04:17] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4816cc0012d4a11c0068dd690003c00fa2e..."} 
[2026-09-18 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4816cc0012d4a11c0068dd690003c00fa2e..."} 
[2026-09-18 18:04:17] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4816cc0012d4a11c0068dd690003c00fa2e..."} 
[2026-09-18 18:04:17] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:04:17] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":759828928,"raw_latitude":109958800,"longitude_deg":75.9828928,"latitude_deg":10.99588,"altitude":60,"angle":250,"satellites":46,"speed":6,"hex_longitude":"2d4a11c0","hex_latitude":"068dd690","is_valid_coordinates":true} 
[2026-09-18 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172097280001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405572232752922624,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5341621029932150784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734776000,"timestamp_ms":1789734776000,"timestamp_seconds":1789734776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4816cc0"} 
[2026-09-18 18:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:04: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-09-18 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:04:17] 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-09-18 18:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:04: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-09-18 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172097280001,"66":27745,"86":48896,"24":6,"16":405572232752922624,"45":5341621029932150784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172097280001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405572232752922624,"km_value":405572232752922.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5341621029932150784,"description":"Unknown IO ID 45"} 
[2026-09-18 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172097280001,"power":27745,"unknown_86":48896,"ignition":6,"odometer":null,"unknown_45":5341621029932150784}} 
[2026-09-18 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:04:17] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:04:17] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:04:39] local.INFO: TCP Data received {"connection_id":187641,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b480dc38012d1aa5c0072424d8002e00f92b..."} 
[2026-09-18 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b480dc38012d1aa5c0072424d8002e00f92b..."} 
[2026-09-18 18:04:39] local.INFO: Processing buffer {"connection_id":187641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b480dc38012d1aa5c0072424d8002e00f92b..."} 
[2026-09-18 18:04:39] local.INFO: Packet analysis {"connection_id":187641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:04:39] local.INFO: Extracted packet for processing {"connection_id":187641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b480"} 
[2026-09-18 18:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756721088,"raw_latitude":119809240,"longitude_deg":75.6721088,"latitude_deg":11.980924,"altitude":46,"angle":249,"satellites":43,"speed":17,"hex_longitude":"2d1aa5c0","hex_latitude":"072424d8","is_valid_coordinates":true} 
[2026-09-18 18:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172089600001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483344810213376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929581364767868928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789734739000,"timestamp_ms":1789734739000,"timestamp_seconds":1789734739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b480dc38"} 
[2026-09-18 18:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-18 18:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172089600001,"66":13906,"137":206,"83":42752,"24":17,"16":21483344810213376,"45":1929581364767868928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172089600001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:04:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483344810213376,"km_value":21483344810213.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929581364767868928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172089600001,"power":13906,"unknown_137":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1929581364767868928}} 
[2026-09-18 18:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":187641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:04:39] local.INFO: GPS data processed {"connection_id":187641,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:04:39] local.INFO: Acknowledgment sent {"connection_id":187641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:04:49] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b481c2b0012d49f140068dca40003600f827..."} 
[2026-09-18 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b481c2b0012d49f140068dca40003600f827..."} 
[2026-09-18 18:04:49] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b481c2b0012d49f140068dca40003600f827..."} 
[2026-09-18 18:04:49] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:04:49] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":759820608,"raw_latitude":109955648,"longitude_deg":75.9820608,"latitude_deg":10.9955648,"altitude":54,"angle":248,"satellites":39,"speed":27,"hex_longitude":"2d49f140","hex_latitude":"068dca40","is_valid_coordinates":true} 
[2026-09-18 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172102656001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405572657954684928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5337258167792734208,"note":"Value kept but may cause issues"} 
[2026-09-18 18:04:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789734798000,"timestamp_ms":1789734798000,"timestamp_seconds":1789734798,"priority":1,"record_length":96,"hex_timestamp":"000001a0b481c2b0"} 
[2026-09-18 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:04:49] 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-09-18 18:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172102656001,"66":27832,"86":48896,"24":27,"16":405572657954684928,"45":5337258167792734208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172102656001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405572657954684928,"km_value":405572657954684.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5337258167792734208,"description":"Unknown IO ID 45"} 
[2026-09-18 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172102656001,"power":27832,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5337258167792734208}} 
[2026-09-18 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:04:49] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:04:49] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:05:02] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:05:02] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:05:02] local.INFO: IMEI packet received {"connection_id":186367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":186367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:05:08] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:05:08] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:05:08] local.INFO: IMEI packet received {"connection_id":186367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":186367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:05:08] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4810b18012d1a9080072419b8003000ed2b..."} 
[2026-09-18 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4810b18012d1a9080072419b8003000ed2b..."} 
[2026-09-18 18:05:08] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4810b18012d1a9080072419b8003000ed2b..."} 
[2026-09-18 18:05:08] local.INFO: Packet analysis {"connection_id":186367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:05:08] local.INFO: Extracted packet for processing {"connection_id":186367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756715648,"raw_latitude":119806392,"longitude_deg":75.6715648,"latitude_deg":11.9806392,"altitude":48,"angle":237,"satellites":43,"speed":12,"hex_longitude":"2d1a9080","hex_latitude":"072419b8","is_valid_coordinates":true} 
[2026-09-18 18:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172093184001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483641162956800,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920151953047083008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:08] 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-09-18 18:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734751000,"timestamp_ms":1789734751000,"timestamp_seconds":1789734751,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4810b18"} 
[2026-09-18 18:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-18 18:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172093184001,"66":14396,"137":206,"83":42752,"24":12,"16":21483641162956800,"45":1920151953047083008},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172093184001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:05:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483641162956800,"km_value":21483641162956.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920151953047083008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172093184001,"power":14396,"unknown_137":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1920151953047083008}} 
[2026-09-18 18:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":186367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:05:08] local.INFO: GPS data processed {"connection_id":186367,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:05:08] local.INFO: Acknowledgment sent {"connection_id":186367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:05:11] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:05:11] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:05:11] local.INFO: IMEI packet received {"connection_id":188955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":188955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:05:16] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:05:16] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:05:16] local.INFO: IMEI packet received {"connection_id":188955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":188955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:05:17] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b481fd48012d49d000068dbe20003100f329..."} 
[2026-09-18 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b481fd48012d49d000068dbe20003100f329..."} 
[2026-09-18 18:05:17] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b481fd48012d49d000068dbe20003100f329..."} 
[2026-09-18 18:05:17] local.INFO: Packet analysis {"connection_id":188955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:05:17] local.INFO: Extracted packet for processing {"connection_id":188955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:05:17] local.INFO: GPS Element Parsed {"raw_longitude":759812096,"raw_latitude":109952544,"longitude_deg":75.9812096,"latitude_deg":10.9952544,"altitude":49,"angle":243,"satellites":41,"speed":22,"hex_longitude":"2d49d000","hex_latitude":"068dbe20","is_valid_coordinates":true} 
[2026-09-18 18:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172108288001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405573091746381824,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328110231048830976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734813000,"timestamp_ms":1789734813000,"timestamp_seconds":1789734813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b481fd48"} 
[2026-09-18 18:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:05: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-09-18 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 18:05:17] 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-09-18 18:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:05: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-09-18 18:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172108288001,"66":27626,"86":48896,"24":22,"16":405573091746381824,"45":5328110231048830976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172108288001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:05:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405573091746381824,"km_value":405573091746381.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328110231048830976,"description":"Unknown IO ID 45"} 
[2026-09-18 18:05:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172108288001,"power":27626,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5328110231048830976}} 
[2026-09-18 18:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":188955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:05:17] local.INFO: GPS data processed {"connection_id":188955,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:05:17] local.INFO: Acknowledgment sent {"connection_id":188955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:05:39] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4813610012d1a8cc007241858003300fe2b..."} 
[2026-09-18 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4813610012d1a8cc007241858003300fe2b..."} 
[2026-09-18 18:05:39] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4813610012d1a8cc007241858003300fe2b..."} 
[2026-09-18 18:05:39] local.INFO: Packet analysis {"connection_id":186367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:05:39] local.INFO: Extracted packet for processing {"connection_id":186367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b481"} 
[2026-09-18 18:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756714688,"raw_latitude":119806040,"longitude_deg":75.6714688,"latitude_deg":11.980604,"altitude":51,"angle":254,"satellites":43,"speed":2,"hex_longitude":"2d1a8cc0","hex_latitude":"07241858","is_valid_coordinates":true} 
[2026-09-18 18:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172096256001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483692702564352,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914170609791252480,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789734762000,"timestamp_ms":1789734762000,"timestamp_seconds":1789734762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4813610"} 
[2026-09-18 18:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-18 18:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172096256001,"66":14004,"43":206,"83":42752,"24":2,"16":21483692702564352,"45":1914170609791252480},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172096256001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:05:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483692702564352,"km_value":21483692702564.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914170609791252480,"description":"Unknown IO ID 45"} 
[2026-09-18 18:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172096256001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1914170609791252480}} 
[2026-09-18 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":186367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:05:40] local.INFO: GPS data processed {"connection_id":186367,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:05:40] local.INFO: Acknowledgment sent {"connection_id":186367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:05:48] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4822458012d49bd80068db210002d00e52a..."} 
[2026-09-18 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4822458012d49bd80068db210002d00e52a..."} 
[2026-09-18 18:05:48] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4822458012d49bd80068db210002d00e52a..."} 
[2026-09-18 18:05:48] local.INFO: Packet analysis {"connection_id":188955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b482"} 
[2026-09-18 18:05:48] local.INFO: Extracted packet for processing {"connection_id":188955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b482"} 
[2026-09-18 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":759807360,"raw_latitude":109949456,"longitude_deg":75.980736,"latitude_deg":10.9949456,"altitude":45,"angle":229,"satellites":42,"speed":19,"hex_longitude":"2d49bd80","hex_latitude":"068db210","is_valid_coordinates":true} 
[2026-09-18 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172112128001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405573362329321472,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318751188072407040,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789734823000,"timestamp_ms":1789734823000,"timestamp_seconds":1789734823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4822458"} 
[2026-09-18 18:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:05: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-09-18 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 18:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:05: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-09-18 18:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172112128001,"66":27821,"86":48896,"24":19,"16":405573362329321472,"45":5318751188072407040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172112128001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:05:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405573362329321472,"km_value":405573362329321.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318751188072407040,"description":"Unknown IO ID 45"} 
[2026-09-18 18:05:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172112128001,"power":27821,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5318751188072407040}} 
[2026-09-18 18:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":188955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:05:48] local.INFO: GPS data processed {"connection_id":188955,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:05:48] local.INFO: Acknowledgment sent {"connection_id":188955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:05:54] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:05:54] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:05:54] local.INFO: IMEI packet received {"connection_id":186368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":186368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:05:55] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48404d0012d80c48005d2f568000101322b..."} 
[2026-09-18 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48404d0012d80c48005d2f568000101322b..."} 
[2026-09-18 18:05:55] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48404d0012d80c48005d2f568000101322b..."} 
[2026-09-18 18:05:55] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:05:55] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763413632,"raw_latitude":97711464,"longitude_deg":76.3413632,"latitude_deg":9.7711464,"altitude":1,"angle":306,"satellites":43,"speed":26,"hex_longitude":"2d80c480","hex_latitude":"05d2f568","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172145920001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134860465560879104,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167569597707855872,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] 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-09-18 18:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789734946000,"timestamp_ms":1789734946000,"timestamp_seconds":1789734946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48404d0"} 
[2026-09-18 18:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5629508139941888,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626875603712,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3028530864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2160852997,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":14337,"corrected_to":0} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-1152919300564451307,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3124756482,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2550214016,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147865272,"corrected_to":0} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3535159296,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4034893759891110446,"note":"Value kept but may cause issues"} 
[2026-09-18 18:05:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,30,160,253,45,128,1,43,10,66,233,202,64,240,110,227,180,210,4,113,205,186,204,239,53,2,223,5,20,178],"length":528,"final_offset":658,"validated_count":36,"validation_warnings":[{"io_id":202,"original":14337,"validated":0},{"io_id":205,"original":2010120398,"validated":0},{"io_id":204,"original":2147865272,"validated":0}]} 
[2026-09-18 18:05:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72411817172205568,"timestamp_seconds":72411817172205.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172145920001,"66":13798,"208":206,"85":15104,"24":26,"16":134860465560879104,"45":-9167569597707855872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 18:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172145920001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:05:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 18:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134860465560879104,"km_value":134860465560879.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167569597707855872,"description":"Unknown IO ID 45"} 
[2026-09-18 18:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172145920001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9167569597707855872}} 
[2026-09-18 18:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:05:55] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:05:55] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:08] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:06:08] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:06:08] local.INFO: IMEI packet received {"connection_id":186207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":186207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:06:11] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:06:11] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:06:11] local.INFO: IMEI packet received {"connection_id":186208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":186208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:06:13] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:06:13] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:06:13] local.INFO: IMEI packet received {"connection_id":186207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":186207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:06:13] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48331e0012d1a88c007241a50003501552e..."} 
[2026-09-18 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48331e0012d1a88c007241a50003501552e..."} 
[2026-09-18 18:06:13] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48331e0012d1a88c007241a50003501552e..."} 
[2026-09-18 18:06:13] local.INFO: Packet analysis {"connection_id":186207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b483"} 
[2026-09-18 18:06:13] local.INFO: Extracted packet for processing {"connection_id":186207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b483"} 
[2026-09-18 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756713664,"raw_latitude":119806544,"longitude_deg":75.6713664,"latitude_deg":11.9806544,"altitude":53,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d1a88c0","hex_latitude":"07241a50","is_valid_coordinates":true} 
[2026-09-18 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172126976001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483765717008384,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911989178721783808,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789734892000,"timestamp_ms":1789734892000,"timestamp_seconds":1789734892,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48331e0"} 
[2026-09-18 18:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:06: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-09-18 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 18:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172126976001,"66":12461,"43":206,"83":42752,"24":0,"16":21483765717008384,"45":1911989178721783808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172126976001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:06:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483765717008384,"km_value":21483765717008.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911989178721783808,"description":"Unknown IO ID 45"} 
[2026-09-18 18:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172126976001,"power":12461,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1911989178721783808}} 
[2026-09-18 18:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":186207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:06:13] local.INFO: GPS data processed {"connection_id":186207,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:06:13] local.INFO: Acknowledgment sent {"connection_id":186207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:14] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48383e8012d1a89c007241700003901552f..."} 
[2026-09-18 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48383e8012d1a89c007241700003901552f..."} 
[2026-09-18 18:06:14] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48383e8012d1a89c007241700003901552f..."} 
[2026-09-18 18:06:14] local.INFO: Packet analysis {"connection_id":186207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b483"} 
[2026-09-18 18:06:14] local.INFO: Extracted packet for processing {"connection_id":186207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b483"} 
[2026-09-18 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172132352001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911989178721783808,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06: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-09-18 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789734913000,"timestamp_ms":1789734913000,"timestamp_seconds":1789734913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48383e8"} 
[2026-09-18 18:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172132352001,"66":12341,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1911989178721783808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172132352001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:06:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911989178721783808,"description":"Unknown IO ID 45"} 
[2026-09-18 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172132352001,"power":12341,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1911989178721783808}} 
[2026-09-18 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":186207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:06:14] local.INFO: GPS data processed {"connection_id":186207,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:06:14] local.INFO: Acknowledgment sent {"connection_id":186207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:16] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:06:16] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:06:16] local.INFO: IMEI packet received {"connection_id":186208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":186208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:06:17] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4823010012d49b940068dae08002c00d62b..."} 
[2026-09-18 18:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4823010012d49b940068dae08002c00d62b..."} 
[2026-09-18 18:06:17] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4823010012d49b940068dae08002c00d62b..."} 
[2026-09-18 18:06:17] local.INFO: Packet analysis {"connection_id":186208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b482"} 
[2026-09-18 18:06:17] local.INFO: Extracted packet for processing {"connection_id":186208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b482"} 
[2026-09-18 18:06:17] local.INFO: GPS Element Parsed {"raw_longitude":759806272,"raw_latitude":109948424,"longitude_deg":75.9806272,"latitude_deg":10.9948424,"altitude":44,"angle":214,"satellites":43,"speed":19,"hex_longitude":"2d49b940","hex_latitude":"068dae08","is_valid_coordinates":true} 
[2026-09-18 18:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172114688001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405573435343765504,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5313543901002469376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734826000,"timestamp_ms":1789734826000,"timestamp_seconds":1789734826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4823010"} 
[2026-09-18 18:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:06: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-09-18 18:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:06: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-09-18 18:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172114688001,"66":27745,"86":48896,"24":19,"16":405573435343765504,"45":5313543901002469376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172114688001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:06:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405573435343765504,"km_value":405573435343765.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5313543901002469376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:06:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172114688001,"power":27745,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5313543901002469376}} 
[2026-09-18 18:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":186208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:06:17] local.INFO: GPS data processed {"connection_id":186208,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:06:17] local.INFO: Acknowledgment sent {"connection_id":186208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:26] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48408b8012d80c20005d2f690000101242b..."} 
[2026-09-18 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48408b8012d80c20005d2f690000101242b..."} 
[2026-09-18 18:06:26] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48408b8012d80c20005d2f690000101242b..."} 
[2026-09-18 18:06:26] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:06:26] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763412992,"raw_latitude":97711760,"longitude_deg":76.3412992,"latitude_deg":9.771176,"altitude":1,"angle":292,"satellites":43,"speed":28,"hex_longitude":"2d80c200","hex_latitude":"05d2f690","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172146176001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134860499920617472,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168062178916997120,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:26] 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-09-18 18:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789734947000,"timestamp_ms":1789734947000,"timestamp_seconds":1789734947,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48408b8"} 
[2026-09-18 18:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 18:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172146176001,"66":13798,"208":206,"85":15104,"24":28,"16":134860499920617472,"45":-9168062178916997120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-18 18:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172146176001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:06:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-18 18:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134860499920617472,"km_value":134860499920617.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168062178916997120,"description":"Unknown IO ID 45"} 
[2026-09-18 18:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172146176001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9168062178916997120}} 
[2026-09-18 18:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:06:26] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:06:26] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:30] local.INFO: TCP Data received {"connection_id":187640,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:06:30] local.INFO: Processing buffer {"connection_id":187640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:06:30] local.INFO: IMEI packet received {"connection_id":187640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":187640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:06:45] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b483d9d8012d1a89c007241700003901552f..."} 
[2026-09-18 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b483d9d8012d1a89c007241700003901552f..."} 
[2026-09-18 18:06:45] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b483d9d8012d1a89c007241700003901552f..."} 
[2026-09-18 18:06:45] local.INFO: Packet analysis {"connection_id":186207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b483"} 
[2026-09-18 18:06:45] local.INFO: Extracted packet for processing {"connection_id":186207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b483"} 
[2026-09-18 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172137728001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789734935000,"timestamp_ms":1789734935000,"timestamp_seconds":1789734935,"priority":1,"record_length":96,"hex_timestamp":"000001a0b483d9d8"} 
[2026-09-18 18:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 18:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172137728001,"66":12385,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172137728001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:06:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172137728001,"power":12385,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":186207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:06:45] local.INFO: GPS data processed {"connection_id":186207,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:06:45] local.INFO: Acknowledgment sent {"connection_id":186207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:47] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:47] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:47] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:06:48] local.INFO: TCP Data received {"connection_id":186208,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48456d8012d4929c0068cada0001100f026..."} 
[2026-09-18 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48456d8012d4929c0068cada0001100f026..."} 
[2026-09-18 18:06:48] local.INFO: Processing buffer {"connection_id":186208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48456d8012d4929c0068cada0001100f026..."} 
[2026-09-18 18:06:48] local.INFO: Packet analysis {"connection_id":186208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:06:48] local.INFO: Extracted packet for processing {"connection_id":186208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":759769536,"raw_latitude":109882784,"longitude_deg":75.9769536,"latitude_deg":10.9882784,"altitude":17,"angle":240,"satellites":38,"speed":10,"hex_longitude":"2d4929c0","hex_latitude":"068cada0","is_valid_coordinates":true} 
[2026-09-18 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172151296001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405577210620018688,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5272096710664796160,"note":"Value kept but may cause issues"} 
[2026-09-18 18:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789734967000,"timestamp_ms":1789734967000,"timestamp_seconds":1789734967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48456d8"} 
[2026-09-18 18:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 18:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:06: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-09-18 18:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172151296001,"66":27876,"61":206,"86":48896,"24":10,"16":405577210620018688,"45":5272096710664796160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-09-18 18:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172151296001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405577210620018688,"km_value":405577210620018.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5272096710664796160,"description":"Unknown IO ID 45"} 
[2026-09-18 18:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172151296001,"power":27876,"unknown_61":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5272096710664796160}} 
[2026-09-18 18:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":186208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:06:48] local.INFO: GPS data processed {"connection_id":186208,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:06:48] local.INFO: Acknowledgment sent {"connection_id":186208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:06:48] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:48] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:48] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:06:49] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:49] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:49] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:06:52] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:52] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:06:52] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:07:03] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:07:03] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:07:03] local.INFO: IMEI packet received {"connection_id":188957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":188957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:07:08] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:07:08] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:07:08] local.INFO: IMEI packet received {"connection_id":188957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:07:08] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4842be0012d1a89c007241700003901552b..."} 
[2026-09-18 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4842be0012d1a89c007241700003901552b..."} 
[2026-09-18 18:07:08] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4842be0012d1a89c007241700003901552b..."} 
[2026-09-18 18:07:08] local.INFO: Packet analysis {"connection_id":188957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:08] local.INFO: Extracted packet for processing {"connection_id":188957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172143360001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789734956000,"timestamp_ms":1789734956000,"timestamp_seconds":1789734956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4842be0"} 
[2026-09-18 18:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:07: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-09-18 18:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172143360001,"66":12385,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172143360001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:07:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172143360001,"power":12385,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":188957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:07:08] local.INFO: GPS data processed {"connection_id":188957,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:07:08] local.INFO: Acknowledgment sent {"connection_id":188957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:07:11] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:07:11] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:07:11] local.INFO: IMEI packet received {"connection_id":187642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":187642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:07:13] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4847de8012d1a89c007241700003901552a..."} 
[2026-09-18 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4847de8012d1a89c007241700003901552a..."} 
[2026-09-18 18:07:13] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4847de8012d1a89c007241700003901552a..."} 
[2026-09-18 18:07:13] local.INFO: Packet analysis {"connection_id":188957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:13] local.INFO: Extracted packet for processing {"connection_id":188957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172148736001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789734977000,"timestamp_ms":1789734977000,"timestamp_seconds":1789734977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4847de8"} 
[2026-09-18 18:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172148736001,"66":12287,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172148736001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:07:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172148736001,"power":12287,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":188957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:07:13] local.INFO: GPS data processed {"connection_id":188957,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:07:13] local.INFO: Acknowledgment sent {"connection_id":188957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:07:17] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:07:17] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:07:17] local.INFO: IMEI packet received {"connection_id":187642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":187642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:07:17] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4845ac0012d4928c0068cad900011010523..."} 
[2026-09-18 18:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4845ac0012d4928c0068cad900011010523..."} 
[2026-09-18 18:07:17] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4845ac0012d4928c0068cad900011010523..."} 
[2026-09-18 18:07:17] local.INFO: Packet analysis {"connection_id":187642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:17] local.INFO: Extracted packet for processing {"connection_id":187642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:17] local.INFO: GPS Element Parsed {"raw_longitude":759769280,"raw_latitude":109882768,"longitude_deg":75.976928,"latitude_deg":10.9882768,"altitude":17,"angle":261,"satellites":35,"speed":10,"hex_longitude":"2d4928c0","hex_latitude":"068cad90","is_valid_coordinates":true} 
[2026-09-18 18:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172151552001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405577219209953280,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5271955973176401920,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789734968000,"timestamp_ms":1789734968000,"timestamp_seconds":1789734968,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4845ac0"} 
[2026-09-18 18:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:07: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-09-18 18:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 18:07: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-09-18 18:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:07: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-09-18 18:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172151552001,"66":27974,"61":206,"86":48896,"24":10,"16":405577219209953280,"45":5271955973176401920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-09-18 18:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172151552001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:07:17] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-18 18:07:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405577219209953280,"km_value":405577219209953.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5271955973176401920,"description":"Unknown IO ID 45"} 
[2026-09-18 18:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172151552001,"power":27974,"unknown_61":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5271955973176401920}} 
[2026-09-18 18:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":187642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:07:17] local.INFO: GPS data processed {"connection_id":187642,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:07:17] local.INFO: Acknowledgment sent {"connection_id":187642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:07:44] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b484cff0012d1a89c007241700003901552f..."} 
[2026-09-18 18:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b484cff0012d1a89c007241700003901552f..."} 
[2026-09-18 18:07:44] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b484cff0012d1a89c007241700003901552f..."} 
[2026-09-18 18:07:44] local.INFO: Packet analysis {"connection_id":188957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:44] local.INFO: Extracted packet for processing {"connection_id":188957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172154112001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789734998000,"timestamp_ms":1789734998000,"timestamp_seconds":1789734998,"priority":1,"record_length":96,"hex_timestamp":"000001a0b484cff0"} 
[2026-09-18 18:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 18:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172154112001,"66":13852,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172154112001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:07:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172154112001,"power":13852,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":188957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:07:44] local.INFO: GPS data processed {"connection_id":188957,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:07:44] local.INFO: Acknowledgment sent {"connection_id":188957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:07:48] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4845ea8012d492780068cadc80011011e2b..."} 
[2026-09-18 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4845ea8012d492780068cadc80011011e2b..."} 
[2026-09-18 18:07:48] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4845ea8012d492780068cadc80011011e2b..."} 
[2026-09-18 18:07:48] local.INFO: Packet analysis {"connection_id":187642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:48] local.INFO: Extracted packet for processing {"connection_id":187642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":759768960,"raw_latitude":109882824,"longitude_deg":75.976896,"latitude_deg":10.9882824,"altitude":17,"angle":286,"satellites":43,"speed":10,"hex_longitude":"2d492780","hex_latitude":"068cadc8","is_valid_coordinates":true} 
[2026-09-18 18:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172151808001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405577236389822464,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5271674498199687168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789734969000,"timestamp_ms":1789734969000,"timestamp_seconds":1789734969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4845ea8"} 
[2026-09-18 18:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:07: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-09-18 18:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 18:07:48] 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-09-18 18:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:07: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-09-18 18:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172151808001,"66":27974,"61":206,"86":48896,"24":10,"16":405577236389822464,"45":5271674498199687168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-09-18 18:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172151808001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:07:48] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-18 18:07:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405577236389822464,"km_value":405577236389822.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5271674498199687168,"description":"Unknown IO ID 45"} 
[2026-09-18 18:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172151808001,"power":27974,"unknown_61":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5271674498199687168}} 
[2026-09-18 18:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":187642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:07:48] local.INFO: GPS data processed {"connection_id":187642,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:07:48] local.INFO: Acknowledgment sent {"connection_id":187642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:08:03] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:08:03] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:08:03] local.INFO: IMEI packet received {"connection_id":188959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":188959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:08:08] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:08:08] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:08:08] local.INFO: IMEI packet received {"connection_id":188959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":188959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:08:08] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48521f8012d1a89c007241700003901552d..."} 
[2026-09-18 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48521f8012d1a89c007241700003901552d..."} 
[2026-09-18 18:08:08] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48521f8012d1a89c007241700003901552d..."} 
[2026-09-18 18:08:08] local.INFO: Packet analysis {"connection_id":188959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b485"} 
[2026-09-18 18:08:08] local.INFO: Extracted packet for processing {"connection_id":188959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b485"} 
[2026-09-18 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172159488001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735019000,"timestamp_ms":1789735019000,"timestamp_seconds":1789735019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48521f8"} 
[2026-09-18 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-18 18:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172159488001,"66":13928,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172159488001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172159488001,"power":13928,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":188959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:08:08] local.INFO: GPS data processed {"connection_id":188959,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:08:08] local.INFO: Acknowledgment sent {"connection_id":188959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:08:12] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:08:12] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:08:12] local.INFO: IMEI packet received {"connection_id":186369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":186369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:08:16] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:08:16] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:08:16] local.INFO: IMEI packet received {"connection_id":186369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":186369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:08:18] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4846290012d492700068cae480011012d2b..."} 
[2026-09-18 18:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4846290012d492700068cae480011012d2b..."} 
[2026-09-18 18:08:18] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4846290012d492700068cae480011012d2b..."} 
[2026-09-18 18:08:18] local.INFO: Packet analysis {"connection_id":186369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:08:18] local.INFO: Extracted packet for processing {"connection_id":186369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:08:18] local.INFO: GPS Element Parsed {"raw_longitude":759768832,"raw_latitude":109882952,"longitude_deg":75.9768832,"latitude_deg":10.9882952,"altitude":17,"angle":301,"satellites":43,"speed":10,"hex_longitude":"2d492700","hex_latitude":"068cae48","is_valid_coordinates":true} 
[2026-09-18 18:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172152064001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405577244979757056,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5271322654478813184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789734970000,"timestamp_ms":1789734970000,"timestamp_seconds":1789734970,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4846290"} 
[2026-09-18 18:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 18:08:18] 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-09-18 18:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172152064001,"66":27767,"61":206,"86":48896,"24":10,"16":405577244979757056,"45":5271322654478813184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-09-18 18:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172152064001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:08:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-18 18:08:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405577244979757056,"km_value":405577244979757.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5271322654478813184,"description":"Unknown IO ID 45"} 
[2026-09-18 18:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172152064001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5271322654478813184}} 
[2026-09-18 18:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":186369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:08:18] local.INFO: GPS data processed {"connection_id":186369,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:08:18] local.INFO: Acknowledgment sent {"connection_id":186369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:08:39] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4857400012d1a89c0072417000039015524..."} 
[2026-09-18 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4857400012d1a89c0072417000039015524..."} 
[2026-09-18 18:08:39] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4857400012d1a89c0072417000039015524..."} 
[2026-09-18 18:08:39] local.INFO: Packet analysis {"connection_id":188959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b485"} 
[2026-09-18 18:08:39] local.INFO: Extracted packet for processing {"connection_id":188959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b485"} 
[2026-09-18 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":36,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172164864001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735040000,"timestamp_ms":1789735040000,"timestamp_seconds":1789735040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4857400"} 
[2026-09-18 18:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-18 18:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172164864001,"66":13102,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172164864001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172164864001,"power":13102,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":188959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:08:40] local.INFO: GPS data processed {"connection_id":188959,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:08:40] local.INFO: Acknowledgment sent {"connection_id":188959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:08:49] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4846678012d492600068caf400011014028..."} 
[2026-09-18 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4846678012d492600068caf400011014028..."} 
[2026-09-18 18:08:49] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4846678012d492600068caf400011014028..."} 
[2026-09-18 18:08:49] local.INFO: Packet analysis {"connection_id":186369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:08:49] local.INFO: Extracted packet for processing {"connection_id":186369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b484"} 
[2026-09-18 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":759768576,"raw_latitude":109883200,"longitude_deg":75.9768576,"latitude_deg":10.98832,"altitude":17,"angle":320,"satellites":40,"speed":12,"hex_longitude":"2d492600","hex_latitude":"068caf40","is_valid_coordinates":true} 
[2026-09-18 18:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172152320001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405577262159626240,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5271181916990490624,"note":"Value kept but may cause issues"} 
[2026-09-18 18:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789734971000,"timestamp_ms":1789734971000,"timestamp_seconds":1789734971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4846678"} 
[2026-09-18 18:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:08:49] 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-09-18 18:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172152320001,"66":27767,"61":206,"86":48896,"24":12,"16":405577262159626240,"45":5271181916990490624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-09-18 18:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172152320001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405577262159626240,"km_value":405577262159626.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5271181916990490624,"description":"Unknown IO ID 45"} 
[2026-09-18 18:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172152320001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":12,"odometer":null,"unknown_45":5271181916990490624}} 
[2026-09-18 18:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":186369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:08:49] local.INFO: GPS data processed {"connection_id":186369,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:08:49] local.INFO: Acknowledgment sent {"connection_id":186369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:09:00] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:00] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:00] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:09:03] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:03] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:03] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:09:08] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:08] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:09:08] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:09:08] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b485c608012d1a89c007241700003901552a..."} 
[2026-09-18 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b485c608012d1a89c007241700003901552a..."} 
[2026-09-18 18:09:08] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b485c608012d1a89c007241700003901552a..."} 
[2026-09-18 18:09:08] local.INFO: Packet analysis {"connection_id":188960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b485"} 
[2026-09-18 18:09:08] local.INFO: Extracted packet for processing {"connection_id":188960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b485"} 
[2026-09-18 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172170240001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735061000,"timestamp_ms":1789735061000,"timestamp_seconds":1789735061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b485c608"} 
[2026-09-18 18:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 18:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172170240001,"66":12917,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172170240001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:09:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172170240001,"power":12917,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":188960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:09:08] local.INFO: GPS data processed {"connection_id":188960,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:09:08] local.INFO: Acknowledgment sent {"connection_id":188960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:09:11] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:11] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:11] local.INFO: IMEI packet received {"connection_id":187643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":187643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:09:15] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:15] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:15] local.INFO: IMEI packet received {"connection_id":187643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":187643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:09:16] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:16] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:09:16] local.INFO: IMEI packet received {"connection_id":187643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":187643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:09:17] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4862f80012d486300068ddf30003101272e..."} 
[2026-09-18 18:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4862f80012d486300068ddf30003101272e..."} 
[2026-09-18 18:09:17] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4862f80012d486300068ddf30003101272e..."} 
[2026-09-18 18:09:17] local.INFO: Packet analysis {"connection_id":187643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:17] local.INFO: Extracted packet for processing {"connection_id":187643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:17] local.INFO: GPS Element Parsed {"raw_longitude":759718656,"raw_latitude":109961008,"longitude_deg":75.9718656,"latitude_deg":10.9961008,"altitude":49,"angle":295,"satellites":46,"speed":37,"hex_longitude":"2d486300","hex_latitude":"068ddf30","is_valid_coordinates":true} 
[2026-09-18 18:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172179968001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405581862069600256,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225020020828735488,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:17] 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-09-18 18:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789735088000,"timestamp_ms":1789735088000,"timestamp_seconds":1789735088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4862f80"} 
[2026-09-18 18:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:09:17] 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-09-18 18:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:09: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-09-18 18:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172179968001,"66":27745,"62":206,"86":48896,"24":37,"16":405581862069600256,"45":5225020020828735488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-09-18 18:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172179968001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:09:17] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-18 18:09:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405581862069600256,"km_value":405581862069600.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225020020828735488,"description":"Unknown IO ID 45"} 
[2026-09-18 18:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172179968001,"power":27745,"unknown_62":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5225020020828735488}} 
[2026-09-18 18:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":187643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:09:17] local.INFO: GPS data processed {"connection_id":187643,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:09:17] local.INFO: Acknowledgment sent {"connection_id":187643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:09:23] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4865690012d483fc0068ded28003601202c..."} 
[2026-09-18 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4865690012d483fc0068ded28003601202c..."} 
[2026-09-18 18:09:23] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4865690012d483fc0068ded28003601202c..."} 
[2026-09-18 18:09:23] local.INFO: Packet analysis {"connection_id":187643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:23] local.INFO: Extracted packet for processing {"connection_id":187643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":759709632,"raw_latitude":109964584,"longitude_deg":75.9709632,"latitude_deg":10.9964584,"altitude":54,"angle":288,"satellites":44,"speed":38,"hex_longitude":"2d483fc0","hex_latitude":"068ded28","is_valid_coordinates":true} 
[2026-09-18 18:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172182528001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405582321631100928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5216012821575184384,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:23] 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-09-18 18:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789735098000,"timestamp_ms":1789735098000,"timestamp_seconds":1789735098,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4865690"} 
[2026-09-18 18:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172182528001,"66":27745,"62":206,"86":48896,"24":38,"16":405582321631100928,"45":5216012821575184384},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-09-18 18:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172182528001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:09:23] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-18 18:09:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405582321631100928,"km_value":405582321631100.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5216012821575184384,"description":"Unknown IO ID 45"} 
[2026-09-18 18:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172182528001,"power":27745,"unknown_62":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5216012821575184384}} 
[2026-09-18 18:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":187643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:09:23] local.INFO: GPS data processed {"connection_id":187643,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:09:23] local.INFO: Acknowledgment sent {"connection_id":187643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:09:39] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4861810012d1a89c007241700003901552d..."} 
[2026-09-18 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4861810012d1a89c007241700003901552d..."} 
[2026-09-18 18:09:39] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4861810012d1a89c007241700003901552d..."} 
[2026-09-18 18:09:39] local.INFO: Packet analysis {"connection_id":188960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:39] local.INFO: Extracted packet for processing {"connection_id":188960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172175616001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735082000,"timestamp_ms":1789735082000,"timestamp_seconds":1789735082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4861810"} 
[2026-09-18 18:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 18:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172175616001,"66":12711,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172175616001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172175616001,"power":12711,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":188960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:09:39] local.INFO: GPS data processed {"connection_id":188960,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:09:39] local.INFO: Acknowledgment sent {"connection_id":188960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:09:55] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4867da0012d481b00068df5b8003a01172a..."} 
[2026-09-18 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4867da0012d481b00068df5b8003a01172a..."} 
[2026-09-18 18:09:55] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4867da0012d481b00068df5b8003a01172a..."} 
[2026-09-18 18:09:55] local.INFO: Packet analysis {"connection_id":187643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:55] local.INFO: Extracted packet for processing {"connection_id":187643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":759700224,"raw_latitude":109966776,"longitude_deg":75.9700224,"latitude_deg":10.9966776,"altitude":58,"angle":279,"satellites":42,"speed":37,"hex_longitude":"2d481b00","hex_latitude":"068df5b8","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172185088001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405582781192601600,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5206090828647049216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:09:55] 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-09-18 18:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789735108000,"timestamp_ms":1789735108000,"timestamp_seconds":1789735108,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4867da0"} 
[2026-09-18 18:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172185088001,"66":27865,"62":206,"86":48896,"24":37,"16":405582781192601600,"45":5206090828647049216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-09-18 18:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172185088001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:09:55] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-18 18:09:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405582781192601600,"km_value":405582781192601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5206090828647049216,"description":"Unknown IO ID 45"} 
[2026-09-18 18:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172185088001,"power":27865,"unknown_62":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5206090828647049216}} 
[2026-09-18 18:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":187643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:09:55] local.INFO: GPS data processed {"connection_id":187643,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:09:55] local.INFO: Acknowledgment sent {"connection_id":187643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:10:03] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:03] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:03] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:10:03] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:03] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:03] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:10:08] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:08] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:10:08] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:10:08] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4866630012d1a89c007241700003901552c..."} 
[2026-09-18 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4866630012d1a89c007241700003901552c..."} 
[2026-09-18 18:10:08] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4866630012d1a89c007241700003901552c..."} 
[2026-09-18 18:10:08] local.INFO: Packet analysis {"connection_id":186212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:08] local.INFO: Extracted packet for processing {"connection_id":186212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172180992001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735102000,"timestamp_ms":1789735102000,"timestamp_seconds":1789735102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4866630"} 
[2026-09-18 18:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 18:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172180992001,"66":12515,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172180992001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:10:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172180992001,"power":12515,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:10:08] local.INFO: GPS data processed {"connection_id":186212,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:10:08] local.INFO: Acknowledgment sent {"connection_id":186212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:10:11] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:10:11] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:10:11] local.INFO: IMEI packet received {"connection_id":186370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":186370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:10:16] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:10:16] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:10:16] local.INFO: IMEI packet received {"connection_id":186370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":186370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:10:17] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b486a4b0012d47f600068df8e8003f010f25..."} 
[2026-09-18 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b486a4b0012d47f600068df8e8003f010f25..."} 
[2026-09-18 18:10:17] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b486a4b0012d47f600068df8e8003f010f25..."} 
[2026-09-18 18:10:17] local.INFO: Packet analysis {"connection_id":186370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:17] local.INFO: Extracted packet for processing {"connection_id":186370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":759690752,"raw_latitude":109967592,"longitude_deg":75.9690752,"latitude_deg":10.9967592,"altitude":63,"angle":271,"satellites":37,"speed":37,"hex_longitude":"2d47f600","hex_latitude":"068df8e8","is_valid_coordinates":true} 
[2026-09-18 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172187648001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405583236459134976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5195746623253493760,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:17] 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-09-18 18:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789735118000,"timestamp_ms":1789735118000,"timestamp_seconds":1789735118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b486a4b0"} 
[2026-09-18 18:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:10:17] 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-09-18 18:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:10: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-09-18 18:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172187648001,"66":27800,"62":206,"86":48896,"24":37,"16":405583236459134976,"45":5195746623253493760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-09-18 18:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172187648001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:10:17] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-18 18:10:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405583236459134976,"km_value":405583236459135.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5195746623253493760,"description":"Unknown IO ID 45"} 
[2026-09-18 18:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172187648001,"power":27800,"unknown_62":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5195746623253493760}} 
[2026-09-18 18:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":186370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:10:17] local.INFO: GPS data processed {"connection_id":186370,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:10:17] local.INFO: Acknowledgment sent {"connection_id":186370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:10:39] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b486b838012d1a89c007241700003901552b..."} 
[2026-09-18 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b486b838012d1a89c007241700003901552b..."} 
[2026-09-18 18:10:39] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b486b838012d1a89c007241700003901552b..."} 
[2026-09-18 18:10:39] local.INFO: Packet analysis {"connection_id":186212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:39] local.INFO: Extracted packet for processing {"connection_id":186212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172186112001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735123000,"timestamp_ms":1789735123000,"timestamp_seconds":1789735123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b486b838"} 
[2026-09-18 18:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 18:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172186112001,"66":12461,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172186112001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:10:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172186112001,"power":12461,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":186212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:10:40] local.INFO: GPS data processed {"connection_id":186212,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:10:40] local.INFO: Acknowledgment sent {"connection_id":186212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:10:49] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b486cbc0012d47d0c0068df7300044010723..."} 
[2026-09-18 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b486cbc0012d47d0c0068df7300044010723..."} 
[2026-09-18 18:10:49] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b486cbc0012d47d0c0068df7300044010723..."} 
[2026-09-18 18:10:49] local.INFO: Packet analysis {"connection_id":186370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:49] local.INFO: Extracted packet for processing {"connection_id":186370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":759681216,"raw_latitude":109967152,"longitude_deg":75.9681216,"latitude_deg":10.9967152,"altitude":68,"angle":263,"satellites":35,"speed":36,"hex_longitude":"2d47d0c0","hex_latitude":"068df730","is_valid_coordinates":true} 
[2026-09-18 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172190208001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405583687430701056,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5185332049115408384,"note":"Value kept but may cause issues"} 
[2026-09-18 18:10:49] 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-09-18 18:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789735128000,"timestamp_ms":1789735128000,"timestamp_seconds":1789735128,"priority":1,"record_length":96,"hex_timestamp":"000001a0b486cbc0"} 
[2026-09-18 18:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172190208001,"66":27843,"62":206,"86":48896,"24":36,"16":405583687430701056,"45":5185332049115408384},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-09-18 18:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172190208001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:10:49] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-18 18:10:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405583687430701056,"km_value":405583687430701.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5185332049115408384,"description":"Unknown IO ID 45"} 
[2026-09-18 18:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172190208001,"power":27843,"unknown_62":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5185332049115408384}} 
[2026-09-18 18:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":186370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:10:49] local.INFO: GPS data processed {"connection_id":186370,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:10:49] local.INFO: Acknowledgment sent {"connection_id":186370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:11:03] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:11:03] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:11:03] local.INFO: IMEI packet received {"connection_id":188961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":188961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:11:07] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:11:07] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:11:07] local.INFO: IMEI packet received {"connection_id":188961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":188961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:11:08] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4870a40012d1a89c007241700003901552c..."} 
[2026-09-18 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4870a40012d1a89c007241700003901552c..."} 
[2026-09-18 18:11:08] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4870a40012d1a89c007241700003901552c..."} 
[2026-09-18 18:11:08] local.INFO: Packet analysis {"connection_id":188961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:11:08] local.INFO: Extracted packet for processing {"connection_id":188961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172191488001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735144000,"timestamp_ms":1789735144000,"timestamp_seconds":1789735144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4870a40"} 
[2026-09-18 18:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172191488001,"66":12341,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172191488001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:11:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172191488001,"power":12341,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":188961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:11:08] local.INFO: GPS data processed {"connection_id":188961,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:11:08] local.INFO: Acknowledgment sent {"connection_id":188961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:11:11] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:11] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:11] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:11:16] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:16] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:16] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:11:16] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:16] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:11:16] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:11:17] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b486f2d0012d47ab40068df0f8004a010217..."} 
[2026-09-18 18:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b486f2d0012d47ab40068df0f8004a010217..."} 
[2026-09-18 18:11:17] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b486f2d0012d47ab40068df0f8004a010217..."} 
[2026-09-18 18:11:17] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:11:17] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b486"} 
[2026-09-18 18:11:17] local.INFO: GPS Element Parsed {"raw_longitude":759671616,"raw_latitude":109965560,"longitude_deg":75.9671616,"latitude_deg":10.996556,"altitude":74,"angle":258,"satellites":23,"speed":42,"hex_longitude":"2d47ab40","hex_latitude":"068df0f8","is_valid_coordinates":true} 
[2026-09-18 18:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172192768001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405584151287169024,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5174847106232823808,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789735138000,"timestamp_ms":1789735138000,"timestamp_seconds":1789735138,"priority":1,"record_length":96,"hex_timestamp":"000001a0b486f2d0"} 
[2026-09-18 18:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:11:17] 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-09-18 18:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:11: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-09-18 18:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172192768001,"66":27821,"73":206,"86":48896,"24":42,"16":405584151287169024,"45":5174847106232823808},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-09-18 18:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172192768001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:11:17] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-18 18:11:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405584151287169024,"km_value":405584151287169.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5174847106232823808,"description":"Unknown IO ID 45"} 
[2026-09-18 18:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172192768001,"power":27821,"unknown_73":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5174847106232823808}} 
[2026-09-18 18:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:11:17] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:11:17] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:11:22] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48719e0012d478840068de710004e00fc24..."} 
[2026-09-18 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48719e0012d478840068de710004e00fc24..."} 
[2026-09-18 18:11:22] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48719e0012d478840068de710004e00fc24..."} 
[2026-09-18 18:11:22] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:11:22] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:11:22] local.INFO: GPS Element Parsed {"raw_longitude":759662656,"raw_latitude":109963024,"longitude_deg":75.9662656,"latitude_deg":10.9963024,"altitude":78,"angle":252,"satellites":36,"speed":35,"hex_longitude":"2d478840","hex_latitude":"068de710","is_valid_coordinates":true} 
[2026-09-18 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172195328001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405584597963767808,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5164291794605766656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789735148000,"timestamp_ms":1789735148000,"timestamp_seconds":1789735148,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48719e0"} 
[2026-09-18 18:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:11:22] 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-09-18 18:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172195328001,"66":27832,"73":206,"86":48896,"24":35,"16":405584597963767808,"45":5164291794605766656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-09-18 18:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172195328001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:11:22] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-18 18:11:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405584597963767808,"km_value":405584597963767.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5164291794605766656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172195328001,"power":27832,"unknown_73":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5164291794605766656}} 
[2026-09-18 18:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:11:22] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:11:22] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:11:39] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4875c48012d1a89c007241700003901552f..."} 
[2026-09-18 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4875c48012d1a89c007241700003901552f..."} 
[2026-09-18 18:11:39] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4875c48012d1a89c007241700003901552f..."} 
[2026-09-18 18:11:39] local.INFO: Packet analysis {"connection_id":188961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:11:39] local.INFO: Extracted packet for processing {"connection_id":188961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172196864001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735165000,"timestamp_ms":1789735165000,"timestamp_seconds":1789735165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4875c48"} 
[2026-09-18 18:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 18:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172196864001,"66":12232,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172196864001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:11:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172196864001,"power":12232,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":188961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:11:39] local.INFO: GPS data processed {"connection_id":188961,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:11:39] local.INFO: Acknowledgment sent {"connection_id":188961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:11:53] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b488cb78012d463dc0068e95e0005301672b..."} 
[2026-09-18 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b488cb78012d463dc0068e95e0005301672b..."} 
[2026-09-18 18:11:53] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b488cb78012d463dc0068e95e0005301672b..."} 
[2026-09-18 18:11:53] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:11:53] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":759578048,"raw_latitude":110007776,"longitude_deg":75.9578048,"latitude_deg":11.0007776,"altitude":83,"angle":359,"satellites":43,"speed":59,"hex_longitude":"2d463dc0","hex_latitude":"068e95e0","is_valid_coordinates":true} 
[2026-09-18 18:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172224512001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405590095521906688,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061623796858781696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:53] 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-09-18 18:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789735259000,"timestamp_ms":1789735259000,"timestamp_seconds":1789735259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b488cb78"} 
[2026-09-18 18:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-18 18:11:53] 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-09-18 18:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172224512001,"66":27767,"48":206,"86":48896,"24":59,"16":405590095521906688,"45":5061623796858781696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-18 18:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172224512001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:11:53] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 18:11:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405590095521906688,"km_value":405590095521906.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061623796858781696,"description":"Unknown IO ID 45"} 
[2026-09-18 18:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172224512001,"power":27767,"unknown_48":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5061623796858781696}} 
[2026-09-18 18:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:11:53] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:11:53] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:11:54] local.INFO: TCP Data received {"connection_id":186213,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:11:54] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:11:54] local.INFO: IMEI packet received {"connection_id":186213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":186213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:11:55] local.INFO: TCP Data received {"connection_id":186213,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4892d20012d7e5e4005d34dc8000701532d..."} 
[2026-09-18 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4892d20012d7e5e4005d34dc8000701532d..."} 
[2026-09-18 18:11:55] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4892d20012d7e5e4005d34dc8000701532d..."} 
[2026-09-18 18:11:55] local.INFO: Packet analysis {"connection_id":186213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b489"} 
[2026-09-18 18:11:55] local.INFO: Extracted packet for processing {"connection_id":186213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b489"} 
[2026-09-18 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763256384,"raw_latitude":97734088,"longitude_deg":76.3256384,"latitude_deg":9.7734088,"altitude":7,"angle":339,"satellites":45,"speed":10,"hex_longitude":"2d7e5e40","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172231680001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134871215864020992,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105926627841941504,"note":"Value kept but may cause issues"} 
[2026-09-18 18:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789735284000,"timestamp_ms":1789735284000,"timestamp_seconds":1789735284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4892d20"} 
[2026-09-18 18:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 18:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172231680001,"66":13515,"109":206,"85":15104,"24":10,"16":134871215864020992,"45":9105926627841941504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 18:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172231680001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:11:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134871215864020992,"km_value":134871215864020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105926627841941504,"description":"Unknown IO ID 45"} 
[2026-09-18 18:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172231680001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9105926627841941504}} 
[2026-09-18 18:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":186213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:11:55] local.INFO: GPS data processed {"connection_id":186213,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:11:55] local.INFO: Acknowledgment sent {"connection_id":186213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:02] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:12:02] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:12:02] local.INFO: IMEI packet received {"connection_id":187645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":187645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:12:05] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:12:05] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:12:05] local.INFO: IMEI packet received {"connection_id":186371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":186371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:12:08] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:12:08] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:12:08] local.INFO: IMEI packet received {"connection_id":187645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":187645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:12:08] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b487ae50012d1a89c007241700003901552d..."} 
[2026-09-18 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b487ae50012d1a89c007241700003901552d..."} 
[2026-09-18 18:12:08] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b487ae50012d1a89c007241700003901552d..."} 
[2026-09-18 18:12:08] local.INFO: Packet analysis {"connection_id":187645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:12:08] local.INFO: Extracted packet for processing {"connection_id":187645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b487"} 
[2026-09-18 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172202240001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735186000,"timestamp_ms":1789735186000,"timestamp_seconds":1789735186,"priority":1,"record_length":96,"hex_timestamp":"000001a0b487ae50"} 
[2026-09-18 18:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172202240001,"66":12178,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172202240001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172202240001,"power":12178,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":187645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:08] local.INFO: GPS data processed {"connection_id":187645,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:08] local.INFO: Acknowledgment sent {"connection_id":187645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:16] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:16] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:16] local.INFO: IMEI packet received {"connection_id":187646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":187646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:12:20] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:20] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:20] local.INFO: IMEI packet received {"connection_id":187646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":187646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:12:21] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:21] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:12:21] local.INFO: IMEI packet received {"connection_id":187646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":187646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:12:22] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b488e2e8012d463d00068eb968005001662d..."} 
[2026-09-18 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b488e2e8012d463d00068eb968005001662d..."} 
[2026-09-18 18:12:22] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b488e2e8012d463d00068eb968005001662d..."} 
[2026-09-18 18:12:22] local.INFO: Packet analysis {"connection_id":187646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:12:22] local.INFO: Extracted packet for processing {"connection_id":187646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:12:22] local.INFO: GPS Element Parsed {"raw_longitude":759577856,"raw_latitude":110016872,"longitude_deg":75.9577856,"latitude_deg":11.0016872,"altitude":80,"angle":358,"satellites":45,"speed":60,"hex_longitude":"2d463d00","hex_latitude":"068eb968","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172226304001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405590537903538176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061412690628829184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:22] 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-09-18 18:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789735265000,"timestamp_ms":1789735265000,"timestamp_seconds":1789735265,"priority":1,"record_length":96,"hex_timestamp":"000001a0b488e2e8"} 
[2026-09-18 18:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172226304001,"66":27767,"48":206,"86":48896,"24":60,"16":405590537903538176,"45":5061412690628829184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-18 18:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172226304001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:22] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 18:12:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405590537903538176,"km_value":405590537903538.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061412690628829184,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172226304001,"power":27767,"unknown_48":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5061412690628829184}} 
[2026-09-18 18:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":187646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:22] local.INFO: GPS data processed {"connection_id":187646,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:22] local.INFO: Acknowledgment sent {"connection_id":187646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:23] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b488fa58012d463a40068edda0004d015f2f..."} 
[2026-09-18 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b488fa58012d463a40068edda0004d015f2f..."} 
[2026-09-18 18:12:23] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b488fa58012d463a40068edda0004d015f2f..."} 
[2026-09-18 18:12:23] local.INFO: Packet analysis {"connection_id":187646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:12:23] local.INFO: Extracted packet for processing {"connection_id":187646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":759577152,"raw_latitude":110026144,"longitude_deg":75.9577152,"latitude_deg":11.0026144,"altitude":77,"angle":351,"satellites":47,"speed":61,"hex_longitude":"2d463a40","hex_latitude":"068edda0","is_valid_coordinates":true} 
[2026-09-18 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172227840001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405590988875104256,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061201584398624768,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:23] 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-09-18 18:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789735271000,"timestamp_ms":1789735271000,"timestamp_seconds":1789735271,"priority":1,"record_length":96,"hex_timestamp":"000001a0b488fa58"} 
[2026-09-18 18:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172227840001,"66":27691,"48":206,"86":48896,"24":61,"16":405590988875104256,"45":5061201584398624768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-18 18:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172227840001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:23] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 18:12:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405590988875104256,"km_value":405590988875104.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061201584398624768,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172227840001,"power":27691,"unknown_48":206,"unknown_86":48896,"ignition":61,"odometer":null,"unknown_45":5061201584398624768}} 
[2026-09-18 18:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":187646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:23] local.INFO: GPS data processed {"connection_id":187646,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:23] local.INFO: Acknowledgment sent {"connection_id":187646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:26] local.INFO: TCP Data received {"connection_id":186213,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a07e0012d7e360005d34cc80006005230..."} 
[2026-09-18 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a07e0012d7e360005d34cc80006005230..."} 
[2026-09-18 18:12:26] local.INFO: Processing buffer {"connection_id":186213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a07e0012d7e360005d34cc80006005230..."} 
[2026-09-18 18:12:26] local.INFO: Packet analysis {"connection_id":186213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:12:26] local.INFO: Extracted packet for processing {"connection_id":186213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733832,"longitude_deg":76.324608,"latitude_deg":9.7733832,"altitude":6,"angle":82,"satellites":48,"speed":7,"hex_longitude":"2d7e3600","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-18 18:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172246784001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134871971778265088,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789735340000,"timestamp_ms":1789735340000,"timestamp_seconds":1789735340,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a07e0"} 
[2026-09-18 18:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172246784001,"66":13243,"109":206,"85":15104,"24":7,"16":134871971778265088,"45":9094175047564445696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172246784001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134871971778265088,"km_value":134871971778265.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172246784001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-18 18:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":186213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:26] local.INFO: GPS data processed {"connection_id":186213,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:26] local.INFO: Acknowledgment sent {"connection_id":186213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:26] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48911c8012d463340068f0100004b01592f..."} 
[2026-09-18 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48911c8012d463340068f0100004b01592f..."} 
[2026-09-18 18:12:26] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48911c8012d463340068f0100004b01592f..."} 
[2026-09-18 18:12:26] local.INFO: Packet analysis {"connection_id":187646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b489"} 
[2026-09-18 18:12:26] local.INFO: Extracted packet for processing {"connection_id":187646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b489"} 
[2026-09-18 18:12:26] local.INFO: GPS Element Parsed {"raw_longitude":759575360,"raw_latitude":110035200,"longitude_deg":75.957536,"latitude_deg":11.00352,"altitude":75,"angle":345,"satellites":47,"speed":59,"hex_longitude":"2d463340","hex_latitude":"068f0100","is_valid_coordinates":true} 
[2026-09-18 18:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172229376001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405591435551703040,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5060427528215044096,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:26] 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-09-18 18:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789735277000,"timestamp_ms":1789735277000,"timestamp_seconds":1789735277,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48911c8"} 
[2026-09-18 18:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:26] 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-09-18 18:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172229376001,"66":27800,"48":206,"86":48896,"24":59,"16":405591435551703040,"45":5060427528215044096},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-18 18:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172229376001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405591435551703040,"km_value":405591435551703.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5060427528215044096,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172229376001,"power":27800,"unknown_48":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5060427528215044096}} 
[2026-09-18 18:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":187646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:26] local.INFO: GPS data processed {"connection_id":187646,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:26] local.INFO: Acknowledgment sent {"connection_id":187646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:39] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4880058012d1a89c007241700003901552e..."} 
[2026-09-18 18:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4880058012d1a89c007241700003901552e..."} 
[2026-09-18 18:12:39] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4880058012d1a89c007241700003901552e..."} 
[2026-09-18 18:12:39] local.INFO: Packet analysis {"connection_id":187645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:12:39] local.INFO: Extracted packet for processing {"connection_id":187645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172207616001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735207000,"timestamp_ms":1789735207000,"timestamp_seconds":1789735207,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4880058"} 
[2026-09-18 18:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172207616001,"66":14070,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172207616001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172207616001,"power":14070,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":187645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:40] local.INFO: GPS data processed {"connection_id":187645,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:40] local.INFO: Acknowledgment sent {"connection_id":187645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:12:49] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:12:49] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:12:49] local.INFO: IMEI packet received {"connection_id":186372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":186372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:12:54] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:12:54] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:12:54] local.INFO: IMEI packet received {"connection_id":186372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":186372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:12:55] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a0bc8012d7e368005d34d10000600392f..."} 
[2026-09-18 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a0bc8012d7e368005d34d10000600392f..."} 
[2026-09-18 18:12:55] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a0bc8012d7e368005d34d10000600392f..."} 
[2026-09-18 18:12:55] local.INFO: Packet analysis {"connection_id":186372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:12:55] local.INFO: Extracted packet for processing {"connection_id":186372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733904,"longitude_deg":76.3246208,"latitude_deg":9.7733904,"altitude":6,"angle":57,"satellites":47,"speed":7,"hex_longitude":"2d7e3680","hex_latitude":"05d34d10","is_valid_coordinates":true} 
[2026-09-18 18:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172247040001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134871980368199680,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541156352,"note":"Value kept but may cause issues"} 
[2026-09-18 18:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789735341000,"timestamp_ms":1789735341000,"timestamp_seconds":1789735341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a0bc8"} 
[2026-09-18 18:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172247040001,"66":13243,"109":206,"85":15104,"24":7,"16":134871980368199680,"45":9094456522541156352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 18:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172247040001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:12:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134871980368199680,"km_value":134871980368199.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541156352,"description":"Unknown IO ID 45"} 
[2026-09-18 18:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172247040001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094456522541156352}} 
[2026-09-18 18:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":186372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:12:55] local.INFO: GPS data processed {"connection_id":186372,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:12:55] local.INFO: Acknowledgment sent {"connection_id":186372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:13:02] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:13:02] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:13:02] local.INFO: IMEI packet received {"connection_id":188963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":188963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:13:08] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:13:08] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:13:08] local.INFO: IMEI packet received {"connection_id":188963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":188963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:13:08] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4885648012d1a89c007241700003901552d..."} 
[2026-09-18 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4885648012d1a89c007241700003901552d..."} 
[2026-09-18 18:13:08] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4885648012d1a89c007241700003901552d..."} 
[2026-09-18 18:13:08] local.INFO: Packet analysis {"connection_id":188963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:13:08] local.INFO: Extracted packet for processing {"connection_id":188963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b488"} 
[2026-09-18 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805696,"longitude_deg":75.671392,"latitude_deg":11.9805696,"altitude":57,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d1a89c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-09-18 18:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172212992001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21483808666681344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698277376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735229000,"timestamp_ms":1789735229000,"timestamp_seconds":1789735229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4885648"} 
[2026-09-18 18:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 18:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172212992001,"66":14048,"43":206,"83":42752,"24":0,"16":21483808666681344,"45":1912270653698277376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172212992001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:13:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21483808666681344,"km_value":21483808666681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698277376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172212992001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1912270653698277376}} 
[2026-09-18 18:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":188963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:13:08] local.INFO: GPS data processed {"connection_id":188963,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:13:08] local.INFO: Acknowledgment sent {"connection_id":188963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:13:16] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:13:16] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:13:16] local.INFO: IMEI packet received {"connection_id":186215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":186215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:13:20] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:13:20] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:13:20] local.INFO: IMEI packet received {"connection_id":186215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":186215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:13:21] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a2720012d456d8006905ee80046013633..."} 
[2026-09-18 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a2720012d456d8006905ee80046013633..."} 
[2026-09-18 18:13:21] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a2720012d456d8006905ee80046013633..."} 
[2026-09-18 18:13:21] local.INFO: Packet analysis {"connection_id":186215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:21] local.INFO: Extracted packet for processing {"connection_id":186215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":759524736,"raw_latitude":110124776,"longitude_deg":75.9524736,"latitude_deg":11.0124776,"altitude":70,"angle":310,"satellites":51,"speed":58,"hex_longitude":"2d456d80","hex_latitude":"06905ee8","is_valid_coordinates":true} 
[2026-09-18 18:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172247296001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405596525087948800,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5011521251035097088,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:21] 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-09-18 18:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789735348000,"timestamp_ms":1789735348000,"timestamp_seconds":1789735348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a2720"} 
[2026-09-18 18:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:13: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-09-18 18:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172247296001,"66":27800,"171":206,"86":48896,"24":58,"16":405596525087948800,"45":5011521251035097088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-09-18 18:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172247296001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:13:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-18 18:13:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405596525087948800,"km_value":405596525087948.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5011521251035097088,"description":"Unknown IO ID 45"} 
[2026-09-18 18:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172247296001,"power":27800,"unknown_171":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":5011521251035097088}} 
[2026-09-18 18:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":186215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:13:21] local.INFO: GPS data processed {"connection_id":186215,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:13:21] local.INFO: Acknowledgment sent {"connection_id":186215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:13:26] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a0fb0012d7e374005d34d900006002630..."} 
[2026-09-18 18:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a0fb0012d7e374005d34d900006002630..."} 
[2026-09-18 18:13:26] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a0fb0012d7e374005d34d900006002630..."} 
[2026-09-18 18:13:26] local.INFO: Packet analysis {"connection_id":186372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:26] local.INFO: Extracted packet for processing {"connection_id":186372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97734032,"longitude_deg":76.32464,"latitude_deg":9.7734032,"altitude":6,"angle":38,"satellites":48,"speed":6,"hex_longitude":"2d7e3740","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-09-18 18:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172247296001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134871988958134272,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029530112,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789735342000,"timestamp_ms":1789735342000,"timestamp_seconds":1789735342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a0fb0"} 
[2026-09-18 18:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172247296001,"66":13243,"109":206,"85":15104,"24":6,"16":134871988958134272,"45":9094597260029530112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-18 18:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172247296001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:13:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134871988958134272,"km_value":134871988958134.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029530112,"description":"Unknown IO ID 45"} 
[2026-09-18 18:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172247296001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094597260029530112}} 
[2026-09-18 18:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":186372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:13:26] local.INFO: GPS data processed {"connection_id":186372,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:13:26] local.INFO: Acknowledgment sent {"connection_id":186372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:13:41] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a4278012d19cac00723a168003a010628..."} 
[2026-09-18 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a4278012d19cac00723a168003a010628..."} 
[2026-09-18 18:13:41] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a4278012d19cac00723a168003a010628..."} 
[2026-09-18 18:13:41] local.INFO: Packet analysis {"connection_id":188963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:41] local.INFO: Extracted packet for processing {"connection_id":188963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119775592,"longitude_deg":75.6665024,"latitude_deg":11.9775592,"altitude":58,"angle":262,"satellites":40,"speed":36,"hex_longitude":"2d19cac0","hex_latitude":"0723a168","is_valid_coordinates":true} 
[2026-09-18 18:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172247808001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21486729244442624,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870471619649370112,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13: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-09-18 18:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789735355000,"timestamp_ms":1789735355000,"timestamp_seconds":1789735355,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a4278"} 
[2026-09-18 18:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 18:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172247808001,"66":14341,"42":206,"83":42752,"24":36,"16":21486729244442624,"45":1870471619649370112},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172247808001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:13:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21486729244442624,"km_value":21486729244442.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870471619649370112,"description":"Unknown IO ID 45"} 
[2026-09-18 18:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172247808001,"power":14341,"unknown_42":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1870471619649370112}} 
[2026-09-18 18:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":188963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:13:41] local.INFO: GPS data processed {"connection_id":188963,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:13:41] local.INFO: Acknowledgment sent {"connection_id":188963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:13:52] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a4278012d45508006907a500044013c32..."} 
[2026-09-18 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a4278012d45508006907a500044013c32..."} 
[2026-09-18 18:13:52] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a4278012d45508006907a500044013c32..."} 
[2026-09-18 18:13:52] local.INFO: Packet analysis {"connection_id":186215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:52] local.INFO: Extracted packet for processing {"connection_id":186215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:13:52] local.INFO: GPS Element Parsed {"raw_longitude":759517312,"raw_latitude":110131792,"longitude_deg":75.9517312,"latitude_deg":11.0131792,"altitude":68,"angle":316,"satellites":50,"speed":57,"hex_longitude":"2d455080","hex_latitude":"06907a50","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172249088001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405597019009187840,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5002795526758787072,"note":"Value kept but may cause issues"} 
[2026-09-18 18:13:52] 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-09-18 18:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789735355000,"timestamp_ms":1789735355000,"timestamp_seconds":1789735355,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a4278"} 
[2026-09-18 18:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:13: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-09-18 18:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:13: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-09-18 18:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172249088001,"66":27745,"171":206,"86":48896,"24":57,"16":405597019009187840,"45":5002795526758787072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-09-18 18:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172249088001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:13:52] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-18 18:13:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405597019009187840,"km_value":405597019009187.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5002795526758787072,"description":"Unknown IO ID 45"} 
[2026-09-18 18:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172249088001,"power":27745,"unknown_171":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5002795526758787072}} 
[2026-09-18 18:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":186215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:13:52] local.INFO: GPS data processed {"connection_id":186215,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:13:52] local.INFO: Acknowledgment sent {"connection_id":186215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:14:04] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:04] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:04] local.INFO: IMEI packet received {"connection_id":186373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":186373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:14:08] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:08] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:08] local.INFO: IMEI packet received {"connection_id":186373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":186373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:14:10] local.INFO: TCP Data received {"connection_id":186216,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:10] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:10] local.INFO: IMEI packet received {"connection_id":186216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:14:11] local.INFO: TCP Data received {"connection_id":186216,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:11] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:11] local.INFO: IMEI packet received {"connection_id":186216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":186216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:14:13] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:13] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:14:13] local.INFO: IMEI packet received {"connection_id":186373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":186373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:14:13] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a7158012d19aa0007239ca0004000fb2a..."} 
[2026-09-18 18:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a7158012d19aa0007239ca0004000fb2a..."} 
[2026-09-18 18:14:13] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a7158012d19aa0007239ca0004000fb2a..."} 
[2026-09-18 18:14:13] local.INFO: Packet analysis {"connection_id":186373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:14:13] local.INFO: Extracted packet for processing {"connection_id":186373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119774368,"longitude_deg":75.665664,"latitude_deg":11.9774368,"altitude":64,"angle":251,"satellites":42,"speed":13,"hex_longitude":"2d19aa00","hex_latitude":"07239ca0","is_valid_coordinates":true} 
[2026-09-18 18:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172250880001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487128676401152,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933138835456,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789735367000,"timestamp_ms":1789735367000,"timestamp_seconds":1789735367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a7158"} 
[2026-09-18 18:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:14: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-09-18 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991153484,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3028902864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":128,"raw_value":14919153789967616,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459242,"corrected_to":0} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503927455809536,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2311675905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3163553844,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3408084,"corrected_to":0} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837535,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752983715685376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:13] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,42,83,24,241,157,16,86,160,19,45,64,166,54,40,10,66,85,236,128,171,52,224,192,1,240,246,227,180,35,4,113,205,33,150,69,200,38,239,55,2,76,7,53,28,206,96],"length":529,"final_offset":659,"validated_count":47,"validation_warnings":[{"io_id":246,"original":13459242,"validated":0},{"io_id":205,"original":1596588238,"validated":0},{"io_id":200,"original":3408084,"validated":0}]} 
[2026-09-18 18:14:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179628698047348736,"timestamp_seconds":4179628698047348.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172250880001,"66":13254,"42":206,"83":42752,"24":13,"16":21487128676401152,"45":1858508933138835456},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172250880001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:14:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487128676401152,"km_value":21487128676401.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933138835456,"description":"Unknown IO ID 45"} 
[2026-09-18 18:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172250880001,"power":13254,"unknown_42":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1858508933138835456}} 
[2026-09-18 18:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":186373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:14:13] local.INFO: GPS data processed {"connection_id":186373,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:14:13] local.INFO: Acknowledgment sent {"connection_id":186373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:14:16] local.INFO: TCP Data received {"connection_id":186216,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:16] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:14:16] local.INFO: IMEI packet received {"connection_id":186216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":186216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:14:17] local.INFO: TCP Data received {"connection_id":186216,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a59e8012d4539c0069095600042014331..."} 
[2026-09-18 18:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a59e8012d4539c0069095600042014331..."} 
[2026-09-18 18:14:17] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a59e8012d4539c0069095600042014331..."} 
[2026-09-18 18:14:17] local.INFO: Packet analysis {"connection_id":186216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:14:17] local.INFO: Extracted packet for processing {"connection_id":186216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:14:17] local.INFO: GPS Element Parsed {"raw_longitude":759511488,"raw_latitude":110138720,"longitude_deg":75.9511488,"latitude_deg":11.013872,"altitude":66,"angle":323,"satellites":49,"speed":60,"hex_longitude":"2d4539c0","hex_latitude":"06909560","is_valid_coordinates":true} 
[2026-09-18 18:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172250880001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405597452800884736,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4994632752435974144,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 18:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789735361000,"timestamp_ms":1789735361000,"timestamp_seconds":1789735361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a59e8"} 
[2026-09-18 18:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:14: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-09-18 18:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:14: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-09-18 18:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172250880001,"66":27767,"86":48896,"24":60,"16":405597452800884736,"45":4994632752435974144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-18 18:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172250880001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:14:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-18 18:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405597452800884736,"km_value":405597452800884.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4994632752435974144,"description":"Unknown IO ID 45"} 
[2026-09-18 18:14:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172250880001,"power":27767,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":4994632752435974144}} 
[2026-09-18 18:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":186216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:14:17] local.INFO: GPS data processed {"connection_id":186216,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:14:17] local.INFO: Acknowledgment sent {"connection_id":186216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:14:18] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a7928012d19a84007239c50004101072a..."} 
[2026-09-18 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a7928012d19a84007239c50004101072a..."} 
[2026-09-18 18:14:18] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a7928012d19a84007239c50004101072a..."} 
[2026-09-18 18:14:18] local.INFO: Packet analysis {"connection_id":186373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:14:18] local.INFO: Extracted packet for processing {"connection_id":186373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756656192,"raw_latitude":119774288,"longitude_deg":75.6656192,"latitude_deg":11.9774288,"altitude":65,"angle":263,"satellites":42,"speed":8,"hex_longitude":"2d19a840","hex_latitude":"07239c50","is_valid_coordinates":true} 
[2026-09-18 18:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172253952001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487154446204928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627651248128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789735369000,"timestamp_ms":1789735369000,"timestamp_seconds":1789735369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a7928"} 
[2026-09-18 18:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 18:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172253952001,"66":13243,"42":206,"83":42752,"24":8,"16":21487154446204928,"45":1849290627651248128},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172253952001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:14:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487154446204928,"km_value":21487154446204.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627651248128,"description":"Unknown IO ID 45"} 
[2026-09-18 18:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172253952001,"power":13243,"unknown_42":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1849290627651248128}} 
[2026-09-18 18:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":186373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:14:18] local.INFO: GPS data processed {"connection_id":186373,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:14:18] local.INFO: Acknowledgment sent {"connection_id":186373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:14:48] local.INFO: TCP Data received {"connection_id":186216,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b7af8012d44b14006921a900033016534..."} 
[2026-09-18 18:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b7af8012d44b14006921a900033016534..."} 
[2026-09-18 18:14:48] local.INFO: Processing buffer {"connection_id":186216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b7af8012d44b14006921a900033016534..."} 
[2026-09-18 18:14:48] local.INFO: Packet analysis {"connection_id":186216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:14:48] local.INFO: Extracted packet for processing {"connection_id":186216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:14:48] local.INFO: GPS Element Parsed {"raw_longitude":759476544,"raw_latitude":110238352,"longitude_deg":75.9476544,"latitude_deg":11.0238352,"altitude":51,"angle":357,"satellites":52,"speed":58,"hex_longitude":"2d44b140","hex_latitude":"06921a90","is_valid_coordinates":true} 
[2026-09-18 18:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172269312001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405602679776083968,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950300443628365824,"note":"Value kept but may cause issues"} 
[2026-09-18 18:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789735435000,"timestamp_ms":1789735435000,"timestamp_seconds":1789735435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b7af8"} 
[2026-09-18 18:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:14: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-09-18 18:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:14: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-09-18 18:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:14: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-09-18 18:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172269312001,"66":27767,"142":206,"86":48640,"24":58,"16":405602679776083968,"45":4950300443628365824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 18:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172269312001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:14:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 18:14:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405602679776083968,"km_value":405602679776083.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950300443628365824,"description":"Unknown IO ID 45"} 
[2026-09-18 18:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172269312001,"power":27767,"unknown_142":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4950300443628365824}} 
[2026-09-18 18:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":186216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:14:48] local.INFO: GPS data processed {"connection_id":186216,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:14:48] local.INFO: Acknowledgment sent {"connection_id":186216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:15:03] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:15:03] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:15:03] local.INFO: IMEI packet received {"connection_id":187647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":187647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:15:08] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:15:08] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:15:08] local.INFO: IMEI packet received {"connection_id":187647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":187647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:15:09] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48ab7a8012d19a84007239c580041005a27..."} 
[2026-09-18 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48ab7a8012d19a84007239c580041005a27..."} 
[2026-09-18 18:15:09] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48ab7a8012d19a84007239c580041005a27..."} 
[2026-09-18 18:15:09] local.INFO: Packet analysis {"connection_id":187647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:15:09] local.INFO: Extracted packet for processing {"connection_id":187647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756656192,"raw_latitude":119774296,"longitude_deg":75.6656192,"latitude_deg":11.9774296,"altitude":65,"angle":90,"satellites":39,"speed":5,"hex_longitude":"2d19a840","hex_latitude":"07239c58","is_valid_coordinates":true} 
[2026-09-18 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172254464001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487197395877888,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848798046441984000,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15: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-09-18 18:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789735385000,"timestamp_ms":1789735385000,"timestamp_seconds":1789735385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48ab7a8"} 
[2026-09-18 18:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172254464001,"66":13102,"42":206,"83":42752,"24":5,"16":21487197395877888,"45":1848798046441984000},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172254464001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:15:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487197395877888,"km_value":21487197395877.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848798046441984000,"description":"Unknown IO ID 45"} 
[2026-09-18 18:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172254464001,"power":13102,"unknown_42":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1848798046441984000}} 
[2026-09-18 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":187647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:15:09] local.INFO: GPS data processed {"connection_id":187647,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:15:09] local.INFO: Acknowledgment sent {"connection_id":187647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:15:11] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:11] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:11] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:15:12] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:12] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:12] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:15:17] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:17] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:15:17] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:15:19] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b9650012d44af00069241980031016134..."} 
[2026-09-18 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b9650012d44af00069241980031016134..."} 
[2026-09-18 18:15:19] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b9650012d44af00069241980031016134..."} 
[2026-09-18 18:15:19] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:15:19] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:15:19] local.INFO: GPS Element Parsed {"raw_longitude":759475968,"raw_latitude":110248344,"longitude_deg":75.9475968,"latitude_deg":11.0248344,"altitude":49,"angle":353,"satellites":52,"speed":54,"hex_longitude":"2d44af00","hex_latitude":"06924198","is_valid_coordinates":true} 
[2026-09-18 18:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172271360001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405603165107388416,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4949807862422081536,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789735442000,"timestamp_ms":1789735442000,"timestamp_seconds":1789735442,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b9650"} 
[2026-09-18 18:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:15:19] 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-09-18 18:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172271360001,"66":27865,"142":206,"86":48640,"24":54,"16":405603165107388416,"45":4949807862422081536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 18:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172271360001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:15:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 18:15:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405603165107388416,"km_value":405603165107388.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4949807862422081536,"description":"Unknown IO ID 45"} 
[2026-09-18 18:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172271360001,"power":27865,"unknown_142":206,"unknown_86":48640,"ignition":54,"odometer":null,"unknown_45":4949807862422081536}} 
[2026-09-18 18:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:15:19] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:15:19] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:15:41] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b09b0012d19a8c007239bb00040005a27..."} 
[2026-09-18 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b09b0012d19a8c007239bb00040005a27..."} 
[2026-09-18 18:15:41] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b09b0012d19a8c007239bb00040005a27..."} 
[2026-09-18 18:15:41] local.INFO: Packet analysis {"connection_id":187647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:15:41] local.INFO: Extracted packet for processing {"connection_id":187647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119774128,"longitude_deg":75.665632,"latitude_deg":11.9774128,"altitude":64,"angle":90,"satellites":39,"speed":0,"hex_longitude":"2d19a8c0","hex_latitude":"07239bb0","is_valid_coordinates":true} 
[2026-09-18 18:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172258560001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487248935485440,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848798046441986048,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15: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-09-18 18:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789735406000,"timestamp_ms":1789735406000,"timestamp_seconds":1789735406,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b09b0"} 
[2026-09-18 18:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 18:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172258560001,"66":13004,"42":206,"83":42752,"24":0,"16":21487248935485440,"45":1848798046441986048},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172258560001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:15:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487248935485440,"km_value":21487248935485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848798046441986048,"description":"Unknown IO ID 45"} 
[2026-09-18 18:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172258560001,"power":13004,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1848798046441986048}} 
[2026-09-18 18:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":187647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:15:41] local.INFO: GPS data processed {"connection_id":187647,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:15:41] local.INFO: Acknowledgment sent {"connection_id":187647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:15:50] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48ba9d8012d44a84006925c880030015434..."} 
[2026-09-18 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48ba9d8012d44a84006925c880030015434..."} 
[2026-09-18 18:15:50] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48ba9d8012d44a84006925c880030015434..."} 
[2026-09-18 18:15:50] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:15:50] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":759474240,"raw_latitude":110255240,"longitude_deg":75.947424,"latitude_deg":11.025524,"altitude":48,"angle":340,"satellites":52,"speed":56,"hex_longitude":"2d44a840","hex_latitude":"06925c88","is_valid_coordinates":true} 
[2026-09-18 18:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172273152001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405603508704772096,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4949174543727040512,"note":"Value kept but may cause issues"} 
[2026-09-18 18:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789735447000,"timestamp_ms":1789735447000,"timestamp_seconds":1789735447,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48ba9d8"} 
[2026-09-18 18:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:15: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-09-18 18:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172273152001,"66":27767,"142":206,"86":48640,"24":56,"16":405603508704772096,"45":4949174543727040512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-18 18:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172273152001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405603508704772096,"km_value":405603508704772.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4949174543727040512,"description":"Unknown IO ID 45"} 
[2026-09-18 18:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172273152001,"power":27767,"unknown_142":206,"unknown_86":48640,"ignition":56,"odometer":null,"unknown_45":4949174543727040512}} 
[2026-09-18 18:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:15:50] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:15:50] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:16:00] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:00] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:00] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:16:02] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:02] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:02] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:16:06] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:06] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:06] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:16:08] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:08] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:16:08] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:16:10] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b5bb8012d19a8c007239bb00040005a27..."} 
[2026-09-18 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b5bb8012d19a8c007239bb00040005a27..."} 
[2026-09-18 18:16:10] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b5bb8012d19a8c007239bb00040005a27..."} 
[2026-09-18 18:16:10] local.INFO: Packet analysis {"connection_id":188964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:16:10] local.INFO: Extracted packet for processing {"connection_id":188964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119774128,"longitude_deg":75.665632,"latitude_deg":11.9774128,"altitude":64,"angle":90,"satellites":39,"speed":0,"hex_longitude":"2d19a8c0","hex_latitude":"07239bb0","is_valid_coordinates":true} 
[2026-09-18 18:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172263936001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487248935485440,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783930298368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789735427000,"timestamp_ms":1789735427000,"timestamp_seconds":1789735427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b5bb8"} 
[2026-09-18 18:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 18:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172263936001,"66":12765,"42":206,"83":42752,"24":0,"16":21487248935485440,"45":1848938783930298368},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172263936001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:16:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487248935485440,"km_value":21487248935485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783930298368,"description":"Unknown IO ID 45"} 
[2026-09-18 18:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172263936001,"power":12765,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1848938783930298368}} 
[2026-09-18 18:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":188964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:16:10] local.INFO: GPS data processed {"connection_id":188964,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:16:10] local.INFO: Acknowledgment sent {"connection_id":188964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:16:11] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48badc0012d19a8c007239bb00040005a23..."} 
[2026-09-18 18:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48badc0012d19a8c007239bb00040005a23..."} 
[2026-09-18 18:16:11] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48badc0012d19a8c007239bb00040005a23..."} 
[2026-09-18 18:16:11] local.INFO: Packet analysis {"connection_id":188964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:16:11] local.INFO: Extracted packet for processing {"connection_id":188964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119774128,"longitude_deg":75.665632,"latitude_deg":11.9774128,"altitude":64,"angle":90,"satellites":35,"speed":0,"hex_longitude":"2d19a8c0","hex_latitude":"07239bb0","is_valid_coordinates":true} 
[2026-09-18 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172269312001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487248935485440,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783930298368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16: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-09-18 18:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789735448000,"timestamp_ms":1789735448000,"timestamp_seconds":1789735448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48badc0"} 
[2026-09-18 18:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-18 18:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172269312001,"66":12504,"42":206,"83":42752,"24":0,"16":21487248935485440,"45":1848938783930298368},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172269312001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:16:11] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487248935485440,"km_value":21487248935485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783930298368,"description":"Unknown IO ID 45"} 
[2026-09-18 18:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172269312001,"power":12504,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1848938783930298368}} 
[2026-09-18 18:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":188964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:16:11] local.INFO: GPS data processed {"connection_id":188964,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:16:11] local.INFO: Acknowledgment sent {"connection_id":188964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:16:17] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:17] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:17] local.INFO: IMEI packet received {"connection_id":187648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":187648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:16:21] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:21] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:21] local.INFO: IMEI packet received {"connection_id":187648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":187648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:16:21] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:21] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:16:21] local.INFO: IMEI packet received {"connection_id":187648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":187648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:16:22] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48ca3d8012d43a24006933ee0002f01482f..."} 
[2026-09-18 18:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48ca3d8012d43a24006933ee0002f01482f..."} 
[2026-09-18 18:16:22] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48ca3d8012d43a24006933ee0002f01482f..."} 
[2026-09-18 18:16:22] local.INFO: Packet analysis {"connection_id":187648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48c"} 
[2026-09-18 18:16:22] local.INFO: Extracted packet for processing {"connection_id":187648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48c"} 
[2026-09-18 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":759407168,"raw_latitude":110313184,"longitude_deg":75.9407168,"latitude_deg":11.0313184,"altitude":47,"angle":328,"satellites":47,"speed":57,"hex_longitude":"2d43a240","hex_latitude":"06933ee0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172289024001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405607932521086976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4879298380773064704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:22] 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-09-18 18:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789735511000,"timestamp_ms":1789735511000,"timestamp_seconds":1789735511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48ca3d8"} 
[2026-09-18 18:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172289024001,"66":27800,"212":206,"86":48640,"24":57,"16":405607932521086976,"45":4879298380773064704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-09-18 18:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172289024001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:16:22] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-18 18:16:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405607932521086976,"km_value":405607932521087.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4879298380773064704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172289024001,"power":27800,"unknown_212":206,"unknown_86":48640,"ignition":57,"odometer":null,"unknown_45":4879298380773064704}} 
[2026-09-18 18:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":187648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:16:22] local.INFO: GPS data processed {"connection_id":187648,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:16:22] local.INFO: Acknowledgment sent {"connection_id":187648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:16:26] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48cbf30012d438c0006936080002d014532..."} 
[2026-09-18 18:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48cbf30012d438c0006936080002d014532..."} 
[2026-09-18 18:16:26] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48cbf30012d438c0006936080002d014532..."} 
[2026-09-18 18:16:26] local.INFO: Packet analysis {"connection_id":187648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48c"} 
[2026-09-18 18:16:26] local.INFO: Extracted packet for processing {"connection_id":187648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48c"} 
[2026-09-18 18:16:26] local.INFO: GPS Element Parsed {"raw_longitude":759401472,"raw_latitude":110321792,"longitude_deg":75.9401472,"latitude_deg":11.0321792,"altitude":45,"angle":325,"satellites":50,"speed":59,"hex_longitude":"2d438c00","hex_latitude":"06936080","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172290816001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405608430737293312,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4873528143752650752,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:26] 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-09-18 18:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789735518000,"timestamp_ms":1789735518000,"timestamp_seconds":1789735518,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48cbf30"} 
[2026-09-18 18:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:16:26] 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-09-18 18: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-09-18 18:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172290816001,"66":27745,"212":206,"86":48640,"24":59,"16":405608430737293312,"45":4873528143752650752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-09-18 18:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172290816001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:16:26] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-18 18:16:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405608430737293312,"km_value":405608430737293.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4873528143752650752,"description":"Unknown IO ID 45"} 
[2026-09-18 18:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172290816001,"power":27745,"unknown_212":206,"unknown_86":48640,"ignition":59,"odometer":null,"unknown_45":4873528143752650752}} 
[2026-09-18 18:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":187648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:16:26] local.INFO: GPS data processed {"connection_id":187648,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:16:26] local.INFO: Acknowledgment sent {"connection_id":187648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:16:45] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48bffc8012d19a8c007239bb00040005a26..."} 
[2026-09-18 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48bffc8012d19a8c007239bb00040005a26..."} 
[2026-09-18 18:16:45] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48bffc8012d19a8c007239bb00040005a26..."} 
[2026-09-18 18:16:45] local.INFO: Packet analysis {"connection_id":188964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:16:45] local.INFO: Extracted packet for processing {"connection_id":188964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119774128,"longitude_deg":75.665632,"latitude_deg":11.9774128,"altitude":64,"angle":90,"satellites":38,"speed":0,"hex_longitude":"2d19a8c0","hex_latitude":"07239bb0","is_valid_coordinates":true} 
[2026-09-18 18:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172274688001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21487248935485440,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783930298368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789735469000,"timestamp_ms":1789735469000,"timestamp_seconds":1789735469,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48bffc8"} 
[2026-09-18 18:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 18:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172274688001,"66":13906,"42":206,"83":42752,"24":0,"16":21487248935485440,"45":1848938783930298368},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-18 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172274688001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:16:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-18 18:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21487248935485440,"km_value":21487248935485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783930298368,"description":"Unknown IO ID 45"} 
[2026-09-18 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172274688001,"power":13906,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1848938783930298368}} 
[2026-09-18 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":188964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:16:45] local.INFO: GPS data processed {"connection_id":188964,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:16:45] local.INFO: Acknowledgment sent {"connection_id":188964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:16:57] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48cd6a0012d43778006937d30002b014433..."} 
[2026-09-18 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48cd6a0012d43778006937d30002b014433..."} 
[2026-09-18 18:16:57] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48cd6a0012d43778006937d30002b014433..."} 
[2026-09-18 18:16:57] local.INFO: Packet analysis {"connection_id":187648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48c"} 
[2026-09-18 18:16:57] local.INFO: Extracted packet for processing {"connection_id":187648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48c"} 
[2026-09-18 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":759396224,"raw_latitude":110329136,"longitude_deg":75.9396224,"latitude_deg":11.0329136,"altitude":43,"angle":324,"satellites":51,"speed":60,"hex_longitude":"2d437780","hex_latitude":"06937d30","is_valid_coordinates":true} 
[2026-09-18 18:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172292608001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405608864528990208,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4867265325523042304,"note":"Value kept but may cause issues"} 
[2026-09-18 18:16:57] 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-09-18 18:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789735524000,"timestamp_ms":1789735524000,"timestamp_seconds":1789735524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48cd6a0"} 
[2026-09-18 18:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:16:57] 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-09-18 18:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172292608001,"66":27767,"212":206,"86":48640,"24":60,"16":405608864528990208,"45":4867265325523042304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-09-18 18:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172292608001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:16:57] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-18 18:16:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405608864528990208,"km_value":405608864528990.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4867265325523042304,"description":"Unknown IO ID 45"} 
[2026-09-18 18:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172292608001,"power":27767,"unknown_212":206,"unknown_86":48640,"ignition":60,"odometer":null,"unknown_45":4867265325523042304}} 
[2026-09-18 18:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":187648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:16:57] local.INFO: GPS data processed {"connection_id":187648,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:16:57] local.INFO: Acknowledgment sent {"connection_id":187648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:17:07] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:17:07] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:17:07] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:17:23] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:17:23] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:17:23] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:17:23] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.106.6.56","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 18:17:23] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 18:17:23] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:17:24] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:17:24] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:17:24] local.INFO: IMEI packet received {"connection_id":186376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":186376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:17:26] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:17:26] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:17:26] local.INFO: IMEI packet received {"connection_id":186376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":186376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:17:27] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48dc4e8012d4361000694b9b00018001530..."} 
[2026-09-18 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48dc4e8012d4361000694b9b00018001530..."} 
[2026-09-18 18:17:27] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48dc4e8012d4361000694b9b00018001530..."} 
[2026-09-18 18:17:27] local.INFO: Packet analysis {"connection_id":186376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48d"} 
[2026-09-18 18:17:27] local.INFO: Extracted packet for processing {"connection_id":186376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48d"} 
[2026-09-18 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":759390464,"raw_latitude":110410160,"longitude_deg":75.9390464,"latitude_deg":11.041016,"altitude":24,"angle":21,"satellites":48,"speed":50,"hex_longitude":"2d436100","hex_latitude":"0694b9b0","is_valid_coordinates":true} 
[2026-09-18 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172307968001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405613249690599424,"note":"Value kept but may cause issues"} 
[2026-09-18 18:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851080514382467072,"note":"Value kept but may cause issues"} 
[2026-09-18 18:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789735585000,"timestamp_ms":1789735585000,"timestamp_seconds":1789735585,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48dc4e8"} 
[2026-09-18 18:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:17:27] 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-09-18 18:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172307968001,"66":27843,"197":206,"86":48640,"24":50,"16":405613249690599424,"45":4851080514382467072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172307968001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405613249690599424,"km_value":405613249690599.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851080514382467072,"description":"Unknown IO ID 45"} 
[2026-09-18 18:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172307968001,"power":27843,"unknown_197":206,"unknown_86":48640,"ignition":50,"odometer":null,"unknown_45":4851080514382467072}} 
[2026-09-18 18:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":186376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:17:27] local.INFO: GPS data processed {"connection_id":186376,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:17:27] local.INFO: Acknowledgment sent {"connection_id":186376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:17:27] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48de428012d436e400694dd480018001132..."} 
[2026-09-18 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48de428012d436e400694dd480018001132..."} 
[2026-09-18 18:17:27] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48de428012d436e400694dd480018001132..."} 
[2026-09-18 18:17:27] local.INFO: Packet analysis {"connection_id":186376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48d"} 
[2026-09-18 18:17:27] local.INFO: Extracted packet for processing {"connection_id":186376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48d"} 
[2026-09-18 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":759393856,"raw_latitude":110419272,"longitude_deg":75.9393856,"latitude_deg":11.0419272,"altitude":24,"angle":17,"satellites":50,"speed":46,"hex_longitude":"2d436e40","hex_latitude":"0694dd48","is_valid_coordinates":true} 
[2026-09-18 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172309760001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405613717842034688,"note":"Value kept but may cause issues"} 
[2026-09-18 18:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4855161901547106304,"note":"Value kept but may cause issues"} 
[2026-09-18 18:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789735593000,"timestamp_ms":1789735593000,"timestamp_seconds":1789735593,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48de428"} 
[2026-09-18 18:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:17:27] 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-09-18 18:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172309760001,"66":27821,"197":206,"86":48640,"24":46,"16":405613717842034688,"45":4855161901547106304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 18:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172309760001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405613717842034688,"km_value":405613717842034.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4855161901547106304,"description":"Unknown IO ID 45"} 
[2026-09-18 18:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172309760001,"power":27821,"unknown_197":206,"unknown_86":48640,"ignition":46,"odometer":null,"unknown_45":4855161901547106304}} 
[2026-09-18 18:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":186376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:17:27] local.INFO: GPS data processed {"connection_id":186376,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:17:27] local.INFO: Acknowledgment sent {"connection_id":186376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:17:44] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:17:44] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:17:44] local.INFO: IMEI packet received {"connection_id":186375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":186375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:18:10] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:18:10] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:18:10] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:18:40] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:40] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:40] local.INFO: IMEI packet received {"connection_id":187651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":187651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:18:41] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:41] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:41] local.INFO: IMEI packet received {"connection_id":187651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":187651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:18:46] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:46] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:18:46] local.INFO: IMEI packet received {"connection_id":187651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":187651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:18:47] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48e0368012d4378c00694ffd00017001132..."} 
[2026-09-18 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48e0368012d4378c00694ffd00017001132..."} 
[2026-09-18 18:18:47] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48e0368012d4378c00694ffd00017001132..."} 
[2026-09-18 18:18:47] local.INFO: Packet analysis {"connection_id":187651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48e"} 
[2026-09-18 18:18:47] local.INFO: Extracted packet for processing {"connection_id":187651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48e"} 
[2026-09-18 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":759396544,"raw_latitude":110428112,"longitude_deg":75.9396544,"latitude_deg":11.0428112,"altitude":23,"angle":17,"satellites":50,"speed":42,"hex_longitude":"2d4378c0","hex_latitude":"0694ffd0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172311808001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405614164518633472,"note":"Value kept but may cause issues"} 
[2026-09-18 18:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4858891444990855168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789735601000,"timestamp_ms":1789735601000,"timestamp_seconds":1789735601,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48e0368"} 
[2026-09-18 18:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:18: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-09-18 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:18: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-09-18 18: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-09-18 18:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172311808001,"66":27800,"197":206,"86":48640,"24":42,"16":405614164518633472,"45":4858891444990855168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-18 18:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172311808001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:18:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-18 18:18:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-18 18:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405614164518633472,"km_value":405614164518633.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4858891444990855168,"description":"Unknown IO ID 45"} 
[2026-09-18 18:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172311808001,"power":27800,"unknown_197":206,"unknown_86":48640,"ignition":42,"odometer":null,"unknown_45":4858891444990855168}} 
[2026-09-18 18:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":187651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:18:47] local.INFO: GPS data processed {"connection_id":187651,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:18:47] local.INFO: Acknowledgment sent {"connection_id":187651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:19:09] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:09] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:09] local.INFO: IMEI packet received {"connection_id":186378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":186378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:19:09] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:09] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:09] local.INFO: IMEI packet received {"connection_id":188966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:19:11] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:11] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:11] local.INFO: IMEI packet received {"connection_id":188966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":188966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:19:15] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:15] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:15] local.INFO: IMEI packet received {"connection_id":186378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":186378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:19:16] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48a5dd0012d7e35c005d34d28000600262e..."} 
[2026-09-18 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48a5dd0012d7e35c005d34d28000600262e..."} 
[2026-09-18 18:19:16] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48a5dd0012d7e35c005d34d28000600262e..."} 
[2026-09-18 18:19:16] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:19:16] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733928,"longitude_deg":76.3246016,"latitude_deg":9.7733928,"altitude":6,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-09-18 18:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172247552001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872031907807232,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094808366262095872,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19: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-09-18 18:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789735362000,"timestamp_ms":1789735362000,"timestamp_seconds":1789735362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48a5dd0"} 
[2026-09-18 18:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:19: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-09-18 18:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172247552001,"66":13439,"109":206,"85":15104,"24":0,"16":134872031907807232,"45":9094808366262095872},"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-09-18 18:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172247552001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:19:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872031907807232,"km_value":134872031907807.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094808366262095872,"description":"Unknown IO ID 45"} 
[2026-09-18 18:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172247552001,"power":13439,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094808366262095872}} 
[2026-09-18 18:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:19:16] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:19:16] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:19:16] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:16] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:19:16] local.INFO: IMEI packet received {"connection_id":188966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":188966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:19:17] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48f5f10012d430e00069644680014014734..."} 
[2026-09-18 18:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48f5f10012d430e00069644680014014734..."} 
[2026-09-18 18:19:17] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48f5f10012d430e00069644680014014734..."} 
[2026-09-18 18:19:17] local.INFO: Packet analysis {"connection_id":188966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48f"} 
[2026-09-18 18:19:17] local.INFO: Extracted packet for processing {"connection_id":188966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48f"} 
[2026-09-18 18:19:17] local.INFO: GPS Element Parsed {"raw_longitude":759369216,"raw_latitude":110511208,"longitude_deg":75.9369216,"latitude_deg":11.0511208,"altitude":20,"angle":327,"satellites":52,"speed":49,"hex_longitude":"2d430e00","hex_latitude":"06964468","is_valid_coordinates":true} 
[2026-09-18 18:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172334592001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405618721478934528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838273402968285184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789735690000,"timestamp_ms":1789735690000,"timestamp_seconds":1789735690,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48f5f10"} 
[2026-09-18 18:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:19:17] 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-09-18 18:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172334592001,"66":27745,"28":206,"81":47616,"24":49,"16":405618721478934528,"45":4838273402968285184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-09-18 18:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172334592001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-18 18:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405618721478934528,"km_value":405618721478934.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838273402968285184,"description":"Unknown IO ID 45"} 
[2026-09-18 18:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172334592001,"power":27745,"unknown_28":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4838273402968285184}} 
[2026-09-18 18:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":188966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:19:17] local.INFO: GPS data processed {"connection_id":188966,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:19:17] local.INFO: Acknowledgment sent {"connection_id":188966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:19:19] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48aafd8012d7e350005d34d88000600262f..."} 
[2026-09-18 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48aafd8012d7e350005d34d88000600262f..."} 
[2026-09-18 18:19:19] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48aafd8012d7e350005d34d88000600262f..."} 
[2026-09-18 18:19:19] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:19:19] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48a"} 
[2026-09-18 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734024,"longitude_deg":76.3245824,"latitude_deg":9.7734024,"altitude":6,"angle":38,"satellites":47,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-09-18 18:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172252672001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872070562512896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797003264,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19: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-09-18 18:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789735383000,"timestamp_ms":1789735383000,"timestamp_seconds":1789735383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48aafd8"} 
[2026-09-18 18:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:19: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-09-18 18:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 18:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:19: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-09-18 18:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172252672001,"66":13319,"109":206,"85":15104,"24":0,"16":134872070562512896,"45":9094386153797003264},"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-09-18 18:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172252672001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:19:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872070562512896,"km_value":134872070562512.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797003264,"description":"Unknown IO ID 45"} 
[2026-09-18 18:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172252672001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797003264}} 
[2026-09-18 18:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:19:19] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:19:19] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:19:39] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:39] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:39] local.INFO: IMEI packet received {"connection_id":187650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":187650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:19:44] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:44] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:19:44] local.INFO: IMEI packet received {"connection_id":187650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":187650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:19:44] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b01e0012d7e350005d34d380005002631..."} 
[2026-09-18 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b01e0012d7e350005d34d380005002631..."} 
[2026-09-18 18:19:44] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b01e0012d7e350005d34d380005002631..."} 
[2026-09-18 18:19:44] local.INFO: Packet analysis {"connection_id":187650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:19:44] local.INFO: Extracted packet for processing {"connection_id":187650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733944,"longitude_deg":76.3245824,"latitude_deg":9.7733944,"altitude":5,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34d38","is_valid_coordinates":true} 
[2026-09-18 18:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172258048001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872087742382080,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564494848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789735404000,"timestamp_ms":1789735404000,"timestamp_seconds":1789735404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b01e0"} 
[2026-09-18 18:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3028942864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2315771905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5937996138762350336,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393328,"corrected_to":0} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545047040,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-1684344965734285307,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,85,24,241,157,16,41,160,93,45,192,77,6,46,10,66,15,64,48,11,128,1,240,187,227,180,211,4,113,205,7,3,53,200,239,52,2,223,5,8,94,137],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":393328,"validated":0}]} 
[2026-09-18 18:19:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432387547532886016,"timestamp_seconds":432387547532886.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:19:44] 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-09-18 18:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172258048001,"66":13472,"109":206,"85":15104,"24":0,"16":134872087742382080,"45":9094175047564494848},"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-09-18 18:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172258048001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:19:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872087742382080,"km_value":134872087742382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564494848,"description":"Unknown IO ID 45"} 
[2026-09-18 18:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172258048001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564494848}} 
[2026-09-18 18:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":187650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:19:44] local.INFO: GPS data processed {"connection_id":187650,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:19:44] local.INFO: Acknowledgment sent {"connection_id":187650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:19:48] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48f7a68012d42fd80069663680015015132..."} 
[2026-09-18 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48f7a68012d42fd80069663680015015132..."} 
[2026-09-18 18:19:48] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48f7a68012d42fd80069663680015015132..."} 
[2026-09-18 18:19:48] local.INFO: Packet analysis {"connection_id":188966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48f"} 
[2026-09-18 18:19:48] local.INFO: Extracted packet for processing {"connection_id":188966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48f"} 
[2026-09-18 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":759364992,"raw_latitude":110519144,"longitude_deg":75.9364992,"latitude_deg":11.0519144,"altitude":21,"angle":337,"satellites":50,"speed":51,"hex_longitude":"2d42fd80","hex_latitude":"06966368","is_valid_coordinates":true} 
[2026-09-18 18:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172336640001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405619159565598720,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4831799478505990144,"note":"Value kept but may cause issues"} 
[2026-09-18 18:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789735697000,"timestamp_ms":1789735697000,"timestamp_seconds":1789735697,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48f7a68"} 
[2026-09-18 18:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:19: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-09-18 18:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:19:48] 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-09-18 18:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172336640001,"66":27789,"28":206,"81":47616,"24":51,"16":405619159565598720,"45":4831799478505990144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-09-18 18:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172336640001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-18 18:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405619159565598720,"km_value":405619159565598.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4831799478505990144,"description":"Unknown IO ID 45"} 
[2026-09-18 18:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172336640001,"power":27789,"unknown_28":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4831799478505990144}} 
[2026-09-18 18:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":188966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:19:48] local.INFO: GPS data processed {"connection_id":188966,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:19:48] local.INFO: Acknowledgment sent {"connection_id":188966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:20:11] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:20:11] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:20:11] local.INFO: IMEI packet received {"connection_id":186218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":186218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:20:16] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b53e8012d7e34c005d34cf80005002631..."} 
[2026-09-18 18:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b53e8012d7e34c005d34cf80005002631..."} 
[2026-09-18 18:20:16] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b53e8012d7e34c005d34cf80005002631..."} 
[2026-09-18 18:20:16] local.INFO: Packet analysis {"connection_id":187650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:20:16] local.INFO: Extracted packet for processing {"connection_id":187650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733880,"longitude_deg":76.324576,"latitude_deg":9.773388,"altitude":5,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34cf8","is_valid_coordinates":true} 
[2026-09-18 18:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172263424001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564474368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20: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-09-18 18:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789735425000,"timestamp_ms":1789735425000,"timestamp_seconds":1789735425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b53e8"} 
[2026-09-18 18:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 18:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:20: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-09-18 18:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172263424001,"66":13406,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9094175047564474368},"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-09-18 18:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172263424001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:20:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564474368,"description":"Unknown IO ID 45"} 
[2026-09-18 18:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172263424001,"power":13406,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564474368}} 
[2026-09-18 18:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":187650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:20:16] local.INFO: GPS data processed {"connection_id":187650,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:20:16] local.INFO: Acknowledgment sent {"connection_id":187650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:20:17] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:20:17] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:20:17] local.INFO: IMEI packet received {"connection_id":186218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":186218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:20:18] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48f95c0012d42f300069685280017015932..."} 
[2026-09-18 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48f95c0012d42f300069685280017015932..."} 
[2026-09-18 18:20:18] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48f95c0012d42f300069685280017015932..."} 
[2026-09-18 18:20:18] local.INFO: Packet analysis {"connection_id":186218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48f"} 
[2026-09-18 18:20:18] local.INFO: Extracted packet for processing {"connection_id":186218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48f"} 
[2026-09-18 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":759362304,"raw_latitude":110527784,"longitude_deg":75.9362304,"latitude_deg":11.0527784,"altitude":23,"angle":345,"satellites":50,"speed":51,"hex_longitude":"2d42f300","hex_latitude":"06968528","is_valid_coordinates":true} 
[2026-09-18 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172338432001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405619593357295616,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827155141392295936,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789735704000,"timestamp_ms":1789735704000,"timestamp_seconds":1789735704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48f95c0"} 
[2026-09-18 18:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:20: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-09-18 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 18:20:18] 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-09-18 18:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172338432001,"66":27919,"28":206,"81":47616,"24":51,"16":405619593357295616,"45":4827155141392295936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-09-18 18:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172338432001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:20:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-18 18:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405619593357295616,"km_value":405619593357295.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827155141392295936,"description":"Unknown IO ID 45"} 
[2026-09-18 18:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172338432001,"power":27919,"unknown_28":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4827155141392295936}} 
[2026-09-18 18:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":186218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:20:18] local.INFO: GPS data processed {"connection_id":186218,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:20:18] local.INFO: Acknowledgment sent {"connection_id":186218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:20:48] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:20:48] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:20:48] local.INFO: IMEI packet received {"connection_id":187652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":187652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:20:49] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b490f550012d42a6800697d5500036013127..."} 
[2026-09-18 18:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b490f550012d42a6800697d5500036013127..."} 
[2026-09-18 18:20:49] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b490f550012d42a6800697d5500036013127..."} 
[2026-09-18 18:20:49] local.INFO: Packet analysis {"connection_id":186218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b490"} 
[2026-09-18 18:20:49] local.INFO: Extracted packet for processing {"connection_id":186218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b490"} 
[2026-09-18 18:20:49] local.INFO: GPS Element Parsed {"raw_longitude":759342720,"raw_latitude":110613840,"longitude_deg":75.934272,"latitude_deg":11.061384,"altitude":54,"angle":305,"satellites":39,"speed":44,"hex_longitude":"2d42a680","hex_latitude":"0697d550","is_valid_coordinates":true} 
[2026-09-18 18:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172361728001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405623969928970240,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4807944474254948352,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:49] 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-09-18 18:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789735794000,"timestamp_ms":1789735794000,"timestamp_seconds":1789735794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b490f550"} 
[2026-09-18 18:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:20:49] 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-09-18 18:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172361728001,"66":27745,"29":206,"81":47616,"24":44,"16":405623969928970240,"45":4807944474254948352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-18 18:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172361728001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:20:49] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 18:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405623969928970240,"km_value":405623969928970.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4807944474254948352,"description":"Unknown IO ID 45"} 
[2026-09-18 18:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172361728001,"power":27745,"unknown_29":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4807944474254948352}} 
[2026-09-18 18:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":186218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:20:49] local.INFO: GPS data processed {"connection_id":186218,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:20:49] local.INFO: Acknowledgment sent {"connection_id":186218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:20:54] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:20:54] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:20:54] local.INFO: IMEI packet received {"connection_id":187652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":187652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:20:54] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b5bb8012d7e34c005d34cf80005002630..."} 
[2026-09-18 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b5bb8012d7e34c005d34cf80005002630..."} 
[2026-09-18 18:20:54] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b5bb8012d7e34c005d34cf80005002630..."} 
[2026-09-18 18:20:54] local.INFO: Packet analysis {"connection_id":187652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:20:54] local.INFO: Extracted packet for processing {"connection_id":187652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733880,"longitude_deg":76.324576,"latitude_deg":9.773388,"altitude":5,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34cf8","is_valid_coordinates":true} 
[2026-09-18 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172268800001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820280320,"note":"Value kept but may cause issues"} 
[2026-09-18 18:20: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-09-18 18:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789735427000,"timestamp_ms":1789735427000,"timestamp_seconds":1789735427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b5bb8"} 
[2026-09-18 18:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 18:20:54] 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-09-18 18:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:20:54] 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-09-18 18:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172268800001,"66":13341,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9094104678820280320},"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-09-18 18:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172268800001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:20:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820280320,"description":"Unknown IO ID 45"} 
[2026-09-18 18:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172268800001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820280320}} 
[2026-09-18 18:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":187652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:20:54] local.INFO: GPS data processed {"connection_id":187652,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:20:54] local.INFO: Acknowledgment sent {"connection_id":187652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:21:11] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:21:11] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:21:11] local.INFO: IMEI packet received {"connection_id":186380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":186380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:21:17] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:21:17] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:21:17] local.INFO: IMEI packet received {"connection_id":186380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":186380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:21:18] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49104f0012d4297000697de00003601262e..."} 
[2026-09-18 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49104f0012d4297000697de00003601262e..."} 
[2026-09-18 18:21:18] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49104f0012d4297000697de00003601262e..."} 
[2026-09-18 18:21:18] local.INFO: Packet analysis {"connection_id":186380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b491"} 
[2026-09-18 18:21:18] local.INFO: Extracted packet for processing {"connection_id":186380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b491"} 
[2026-09-18 18:21:18] local.INFO: GPS Element Parsed {"raw_longitude":759338752,"raw_latitude":110616064,"longitude_deg":75.9338752,"latitude_deg":11.0616064,"altitude":54,"angle":294,"satellites":46,"speed":46,"hex_longitude":"2d429700","hex_latitude":"0697de00","is_valid_coordinates":true} 
[2026-09-18 18:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172363264001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405624188972302336,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4802666818442711040,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:18] 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-09-18 18:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789735798000,"timestamp_ms":1789735798000,"timestamp_seconds":1789735798,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49104f0"} 
[2026-09-18 18:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:21: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-09-18 18:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:21:18] 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-09-18 18:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172363264001,"66":27745,"29":206,"81":47616,"24":46,"16":405624188972302336,"45":4802666818442711040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-18 18:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172363264001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405624188972302336,"km_value":405624188972302.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4802666818442711040,"description":"Unknown IO ID 45"} 
[2026-09-18 18:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172363264001,"power":27745,"unknown_29":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4802666818442711040}} 
[2026-09-18 18:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":186380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:21:18] local.INFO: GPS data processed {"connection_id":186380,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:21:18] local.INFO: Acknowledgment sent {"connection_id":186380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:21:25] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b48b5bb8012d7e34c005d34cf80005002630..."} 
[2026-09-18 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b48b5bb8012d7e34c005d34cf80005002630..."} 
[2026-09-18 18:21:25] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b48b5bb8012d7e34c005d34cf80005002630..."} 
[2026-09-18 18:21:25] local.INFO: Packet analysis {"connection_id":187652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:21:25] local.INFO: Extracted packet for processing {"connection_id":187652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b48b"} 
[2026-09-18 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733880,"longitude_deg":76.324576,"latitude_deg":9.773388,"altitude":5,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34cf8","is_valid_coordinates":true} 
[2026-09-18 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172269312001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820280320,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789735427000,"timestamp_ms":1789735427000,"timestamp_seconds":1789735427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b48b5bb8"} 
[2026-09-18 18:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-18 18:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:25] 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-09-18 18:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172269312001,"66":13341,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9094104678820280320},"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-09-18 18:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172269312001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:21:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820280320,"description":"Unknown IO ID 45"} 
[2026-09-18 18:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172269312001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820280320}} 
[2026-09-18 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":187652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:21:25] local.INFO: GPS data processed {"connection_id":187652,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:21:25] local.INFO: Acknowledgment sent {"connection_id":187652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:21:48] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:21:48] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:21:48] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:21:49] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4912430012d4272800697eba0003401222e..."} 
[2026-09-18 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4912430012d4272800697eba0003401222e..."} 
[2026-09-18 18:21:49] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4912430012d4272800697eba0003401222e..."} 
[2026-09-18 18:21:49] local.INFO: Packet analysis {"connection_id":186380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b491"} 
[2026-09-18 18:21:49] local.INFO: Extracted packet for processing {"connection_id":186380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b491"} 
[2026-09-18 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":759329408,"raw_latitude":110619552,"longitude_deg":75.9329408,"latitude_deg":11.0619552,"altitude":52,"angle":290,"satellites":46,"speed":51,"hex_longitude":"2d427280","hex_latitude":"0697eba0","is_valid_coordinates":true} 
[2026-09-18 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172364288001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405624665713672192,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4798303956304265216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789735806000,"timestamp_ms":1789735806000,"timestamp_seconds":1789735806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4912430"} 
[2026-09-18 18:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:21:49] 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-09-18 18:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172364288001,"66":27800,"72":206,"81":47616,"24":51,"16":405624665713672192,"45":4798303956304265216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-18 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172364288001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405624665713672192,"km_value":405624665713672.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4798303956304265216,"description":"Unknown IO ID 45"} 
[2026-09-18 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172364288001,"power":27800,"unknown_72":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4798303956304265216}} 
[2026-09-18 18:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":186380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:21:49] local.INFO: GPS data processed {"connection_id":186380,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:21:49] local.INFO: Acknowledgment sent {"connection_id":186380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:21:52] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 18:21:52] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 18:21:52] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:21:53] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:21:53] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-18 18:21:53] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:21:53] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:53] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0b4..."} 
[2026-09-18 18:21:53] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:21:54] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:54] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:54] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:21:54] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733824,"longitude_deg":76.324544,"latitude_deg":9.7733824,"altitude":5,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-09-18 18:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172389888001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099377664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21: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-09-18 18:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789735898000,"timestamp_ms":1789735898000,"timestamp_seconds":1789735898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4928b90"} 
[2026-09-18 18:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:21: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-09-18 18: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 18:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:54] 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-09-18 18:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172389888001,"66":2275,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9093752835099377664},"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-09-18 18:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172389888001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099377664,"description":"Unknown IO ID 45"} 
[2026-09-18 18:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172389888001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099377664}} 
[2026-09-18 18:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:21:54] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:21:54] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:21:54] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:21:54] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733824,"longitude_deg":76.324544,"latitude_deg":9.7733824,"altitude":5,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-09-18 18:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172389888001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099377664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21: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-09-18 18:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789735898000,"timestamp_ms":1789735898000,"timestamp_seconds":1789735898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4928b90"} 
[2026-09-18 18:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:21: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-09-18 18: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 18:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:54] 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-09-18 18:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172389888001,"66":2275,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9093752835099377664},"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-09-18 18:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172389888001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099377664,"description":"Unknown IO ID 45"} 
[2026-09-18 18:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172389888001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099377664}} 
[2026-09-18 18:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:21:54] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:21:54] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:21:54] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:54] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4928b90012d7e338005d34cc0000500262e..."} 
[2026-09-18 18:21:54] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:21:54] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733824,"longitude_deg":76.324544,"latitude_deg":9.7733824,"altitude":5,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-09-18 18:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172389888001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099377664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:21: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-09-18 18:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789735898000,"timestamp_ms":1789735898000,"timestamp_seconds":1789735898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4928b90"} 
[2026-09-18 18:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:21: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-09-18 18: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 18:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:21:54] 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-09-18 18:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172389888001,"66":2275,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9093752835099377664},"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-09-18 18:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172389888001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099377664,"description":"Unknown IO ID 45"} 
[2026-09-18 18:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172389888001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099377664}} 
[2026-09-18 18:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:21:55] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:21:55] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:22:16] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:22:16] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:22:16] local.INFO: IMEI packet received {"connection_id":186382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:22:17] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:22:17] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:22:17] local.INFO: IMEI packet received {"connection_id":186382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":186382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:22:18] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4923d70012d410a400698ac800026012e31..."} 
[2026-09-18 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4923d70012d410a400698ac800026012e31..."} 
[2026-09-18 18:22:18] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4923d70012d410a400698ac800026012e31..."} 
[2026-09-18 18:22:18] local.INFO: Packet analysis {"connection_id":186382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:22:18] local.INFO: Extracted packet for processing {"connection_id":186382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":759237184,"raw_latitude":110668928,"longitude_deg":75.9237184,"latitude_deg":11.0668928,"altitude":38,"angle":302,"satellites":49,"speed":53,"hex_longitude":"2d410a40","hex_latitude":"0698ac80","is_valid_coordinates":true} 
[2026-09-18 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172382976001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405629690825408512,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4695495221072902144,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789735878000,"timestamp_ms":1789735878000,"timestamp_seconds":1789735878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4923d70"} 
[2026-09-18 18:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:22: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-09-18 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:22:18] 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-09-18 18:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172382976001,"66":27767,"73":206,"81":47616,"24":53,"16":405629690825408512,"45":4695495221072902144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-18 18:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172382976001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:22:18] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-18 18:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405629690825408512,"km_value":405629690825408.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4695495221072902144,"description":"Unknown IO ID 45"} 
[2026-09-18 18:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172382976001,"power":27767,"unknown_73":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4695495221072902144}} 
[2026-09-18 18:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":186382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:22:18] local.INFO: GPS data processed {"connection_id":186382,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:22:18] local.INFO: Acknowledgment sent {"connection_id":186382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:22:25] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b492b688012d7e34c005d34cf8000500262d..."} 
[2026-09-18 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b492b688012d7e34c005d34cf8000500262d..."} 
[2026-09-18 18:22:25] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b492b688012d7e34c005d34cf8000500262d..."} 
[2026-09-18 18:22:25] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:22:25] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733880,"longitude_deg":76.324576,"latitude_deg":9.773388,"altitude":5,"angle":38,"satellites":45,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34cf8","is_valid_coordinates":true} 
[2026-09-18 18:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172389888001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134872096332316672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099377664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789735909000,"timestamp_ms":1789735909000,"timestamp_seconds":1789735909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b492b688"} 
[2026-09-18 18:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:22: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-09-18 18:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 18:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:22:25] 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-09-18 18:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172389888001,"66":9265,"109":206,"85":15104,"24":0,"16":134872096332316672,"45":9093752835099377664},"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-09-18 18:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172389888001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:22:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-18 18:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134872096332316672,"km_value":134872096332316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099377664,"description":"Unknown IO ID 45"} 
[2026-09-18 18:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172389888001,"power":9265,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099377664}} 
[2026-09-18 18:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:22:25] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:22:25] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:22:28] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49258c8012d40eb000698c0400026012e32..."} 
[2026-09-18 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49258c8012d40eb000698c0400026012e32..."} 
[2026-09-18 18:22:28] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49258c8012d40eb000698c0400026012e32..."} 
[2026-09-18 18:22:28] local.INFO: Packet analysis {"connection_id":186382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:22:28] local.INFO: Extracted packet for processing {"connection_id":186382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":759229184,"raw_latitude":110673984,"longitude_deg":75.9229184,"latitude_deg":11.0673984,"altitude":38,"angle":302,"satellites":50,"speed":53,"hex_longitude":"2d40eb00","hex_latitude":"0698c040","is_valid_coordinates":true} 
[2026-09-18 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172384768001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405630146091941888,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4686628759307845632,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789735885000,"timestamp_ms":1789735885000,"timestamp_seconds":1789735885,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49258c8"} 
[2026-09-18 18:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:22:28] 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-09-18 18:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172384768001,"66":27745,"73":206,"81":47616,"24":53,"16":405630146091941888,"45":4686628759307845632},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172384768001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405630146091941888,"km_value":405630146091941.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4686628759307845632,"description":"Unknown IO ID 45"} 
[2026-09-18 18:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172384768001,"power":27745,"unknown_73":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4686628759307845632}} 
[2026-09-18 18:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":186382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:22:28] local.INFO: GPS data processed {"connection_id":186382,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:22:28] local.INFO: Acknowledgment sent {"connection_id":186382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:22:28] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:22:28] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:22:28] local.INFO: IMEI packet received {"connection_id":186381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":186381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:22:28] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b491eb68012d18880007222e680063009528..."} 
[2026-09-18 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b491eb68012d18880007222e680063009528..."} 
[2026-09-18 18:22:28] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b491eb68012d18880007222e680063009528..."} 
[2026-09-18 18:22:28] local.INFO: Packet analysis {"connection_id":186381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b491"} 
[2026-09-18 18:22:28] local.INFO: Extracted packet for processing {"connection_id":186381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b491"} 
[2026-09-18 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756582400,"raw_latitude":119680616,"longitude_deg":75.65824,"latitude_deg":11.9680616,"altitude":99,"angle":149,"satellites":40,"speed":15,"hex_longitude":"2d188800","hex_latitude":"07222e68","is_valid_coordinates":true} 
[2026-09-18 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172378880001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494309861720064,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767240671916283904,"note":"Value kept but may cause issues"} 
[2026-09-18 18:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789735857000,"timestamp_ms":1789735857000,"timestamp_seconds":1789735857,"priority":1,"record_length":96,"hex_timestamp":"000001a0b491eb68"} 
[2026-09-18 18:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-18 18:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172378880001,"66":11765,"105":206,"83":41984,"24":15,"16":21494309861720064,"45":1767240671916283904},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172378880001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494309861720064,"km_value":21494309861720.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767240671916283904,"description":"Unknown IO ID 45"} 
[2026-09-18 18:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172378880001,"power":11765,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1767240671916283904}} 
[2026-09-18 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":186381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:22:29] local.INFO: GPS data processed {"connection_id":186381,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:22:29] local.INFO: Acknowledgment sent {"connection_id":186381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:22:49] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:49] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:49] local.INFO: IMEI packet received {"connection_id":188968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":188968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:22:50] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:50] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:50] local.INFO: IMEI packet received {"connection_id":188968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":188968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:22:51] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:51] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:51] local.INFO: IMEI packet received {"connection_id":188968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":188968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:22:52] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:52] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:22:52] local.INFO: IMEI packet received {"connection_id":188968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":188968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:23:02] local.INFO: TCP Data received {"connection_id":188969,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:02] local.INFO: Processing buffer {"connection_id":188969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:02] local.INFO: IMEI packet received {"connection_id":188969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":188969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:23:05] local.INFO: TCP Data received {"connection_id":188969,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:05] local.INFO: Processing buffer {"connection_id":188969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:05] local.INFO: IMEI packet received {"connection_id":188969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":188969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:23:08] local.INFO: TCP Data received {"connection_id":188969,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:08] local.INFO: Processing buffer {"connection_id":188969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:23:08] local.INFO: IMEI packet received {"connection_id":188969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:23:08] local.INFO: TCP Data received {"connection_id":188969,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49202d8012d188ac007222878006200a927..."} 
[2026-09-18 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49202d8012d188ac007222878006200a927..."} 
[2026-09-18 18:23:08] local.INFO: Processing buffer {"connection_id":188969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49202d8012d188ac007222878006200a927..."} 
[2026-09-18 18:23:08] local.INFO: Packet analysis {"connection_id":188969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:23:08] local.INFO: Extracted packet for processing {"connection_id":188969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756583104,"raw_latitude":119679096,"longitude_deg":75.6583104,"latitude_deg":11.9679096,"altitude":98,"angle":169,"satellites":39,"speed":7,"hex_longitude":"2d188ac0","hex_latitude":"07222878","is_valid_coordinates":true} 
[2026-09-18 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172379392001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494391466098688,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767662884381157376,"note":"Value kept but may cause issues"} 
[2026-09-18 18: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-09-18 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735863000,"timestamp_ms":1789735863000,"timestamp_seconds":1789735863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49202d8"} 
[2026-09-18 18:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-09-18 18:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172379392001,"66":12145,"105":206,"83":41984,"24":7,"16":21494391466098688,"45":1767662884381157376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172379392001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494391466098688,"km_value":21494391466098.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767662884381157376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172379392001,"power":12145,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1767662884381157376}} 
[2026-09-18 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":188969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:23:08] local.INFO: GPS data processed {"connection_id":188969,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:23:08] local.INFO: Acknowledgment sent {"connection_id":188969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:23:12] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:23:12] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:23:12] local.INFO: IMEI packet received {"connection_id":186219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":186219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:23:13] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:23:13] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:23:13] local.INFO: IMEI packet received {"connection_id":186219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":186219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:23:14] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4933770012d3fce80069958b80019010831..."} 
[2026-09-18 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4933770012d3fce80069958b80019010831..."} 
[2026-09-18 18:23:14] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4933770012d3fce80069958b80019010831..."} 
[2026-09-18 18:23:14] local.INFO: Packet analysis {"connection_id":186219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:23:14] local.INFO: Extracted packet for processing {"connection_id":186219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:23:14] local.INFO: GPS Element Parsed {"raw_longitude":759156352,"raw_latitude":110713016,"longitude_deg":75.9156352,"latitude_deg":11.0713016,"altitude":25,"angle":264,"satellites":49,"speed":57,"hex_longitude":"2d3fce80","hex_latitude":"069958b8","is_valid_coordinates":true} 
[2026-09-18 18:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172401152001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405634196246102016,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4597753035422742528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789735942000,"timestamp_ms":1789735942000,"timestamp_seconds":1789735942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4933770"} 
[2026-09-18 18:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:23:14] 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-09-18 18:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172401152001,"66":27767,"55":206,"81":47616,"24":57,"16":405634196246102016,"45":4597753035422742528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,81,24,16,45]} 
[2026-09-18 18:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172401152001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:23:14] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-18 18:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405634196246102016,"km_value":405634196246102.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4597753035422742528,"description":"Unknown IO ID 45"} 
[2026-09-18 18:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172401152001,"power":27767,"unknown_55":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4597753035422742528}} 
[2026-09-18 18:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":186219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:23:14] local.INFO: GPS data processed {"connection_id":186219,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:23:14] local.INFO: Acknowledgment sent {"connection_id":186219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:23:17] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4934ee0012d3fad00069951f8001a00fd34..."} 
[2026-09-18 18:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4934ee0012d3fad00069951f8001a00fd34..."} 
[2026-09-18 18:23:17] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4934ee0012d3fad00069951f8001a00fd34..."} 
[2026-09-18 18:23:17] local.INFO: Packet analysis {"connection_id":186219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:23:17] local.INFO: Extracted packet for processing {"connection_id":186219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":759147776,"raw_latitude":110711288,"longitude_deg":75.9147776,"latitude_deg":11.0711288,"altitude":26,"angle":253,"satellites":52,"speed":56,"hex_longitude":"2d3fad00","hex_latitude":"069951f8","is_valid_coordinates":true} 
[2026-09-18 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172401152001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405634612857929728,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4597753035422742528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789735948000,"timestamp_ms":1789735948000,"timestamp_seconds":1789735948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4934ee0"} 
[2026-09-18 18:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18: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-09-18 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:23: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-09-18 18:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172401152001,"66":27745,"55":206,"81":47616,"24":56,"16":405634612857929728,"45":4597753035422742528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,81,24,16,45]} 
[2026-09-18 18:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172401152001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:23:17] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-18 18:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405634612857929728,"km_value":405634612857929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4597753035422742528,"description":"Unknown IO ID 45"} 
[2026-09-18 18:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172401152001,"power":27745,"unknown_55":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4597753035422742528}} 
[2026-09-18 18:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":186219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:23:17] local.INFO: GPS data processed {"connection_id":186219,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:23:17] local.INFO: Acknowledgment sent {"connection_id":186219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:23:39] local.INFO: TCP Data received {"connection_id":188969,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49254e0012d188b0007222710006200ab25..."} 
[2026-09-18 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49254e0012d188b0007222710006200ab25..."} 
[2026-09-18 18:23:39] local.INFO: Processing buffer {"connection_id":188969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49254e0012d188b0007222710006200ab25..."} 
[2026-09-18 18:23:39] local.INFO: Packet analysis {"connection_id":188969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:23:39] local.INFO: Extracted packet for processing {"connection_id":188969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119678736,"longitude_deg":75.6583168,"latitude_deg":11.9678736,"altitude":98,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d188b00","hex_latitude":"07222710","is_valid_coordinates":true} 
[2026-09-18 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172380928001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494412940935168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768436940566722560,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735884000,"timestamp_ms":1789735884000,"timestamp_seconds":1789735884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49254e0"} 
[2026-09-18 18:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-18 18:23:39] 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-09-18 18:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172380928001,"66":12048,"105":206,"83":41984,"24":0,"16":21494412940935168,"45":1768436940566722560},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172380928001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494412940935168,"km_value":21494412940935.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768436940566722560,"description":"Unknown IO ID 45"} 
[2026-09-18 18:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172380928001,"power":12048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1768436940566722560}} 
[2026-09-18 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":188969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:23:40] local.INFO: GPS data processed {"connection_id":188969,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:23:40] local.INFO: Acknowledgment sent {"connection_id":188969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:23:48] local.INFO: TCP Data received {"connection_id":186219,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4936a38012d3f8840069943f8001b00f836..."} 
[2026-09-18 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4936a38012d3f8840069943f8001b00f836..."} 
[2026-09-18 18:23:48] local.INFO: Processing buffer {"connection_id":186219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4936a38012d3f8840069943f8001b00f836..."} 
[2026-09-18 18:23:48] local.INFO: Packet analysis {"connection_id":186219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:23:48] local.INFO: Extracted packet for processing {"connection_id":186219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:23:48] local.INFO: GPS Element Parsed {"raw_longitude":759138368,"raw_latitude":110707704,"longitude_deg":75.9138368,"latitude_deg":11.0707704,"altitude":27,"angle":248,"satellites":54,"speed":57,"hex_longitude":"2d3f8840","hex_latitude":"069943f8","is_valid_coordinates":true} 
[2026-09-18 18:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172402688001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405635093894266880,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4588323623702493184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789735955000,"timestamp_ms":1789735955000,"timestamp_seconds":1789735955,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4936a38"} 
[2026-09-18 18:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:23: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-09-18 18:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:23:48] 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-09-18 18:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172402688001,"66":27767,"242":206,"81":47616,"24":57,"16":405635093894266880,"45":4588323623702493184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-18 18:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172402688001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:23:48] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-18 18:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405635093894266880,"km_value":405635093894266.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4588323623702493184,"description":"Unknown IO ID 45"} 
[2026-09-18 18:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172402688001,"power":27767,"unknown_242":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4588323623702493184}} 
[2026-09-18 18:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:23:48] local.INFO: GPS data processed {"connection_id":186219,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:23:48] local.INFO: Acknowledgment sent {"connection_id":186219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:24:08] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:08] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:08] local.INFO: IMEI packet received {"connection_id":186384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":186384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:24:08] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:08] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:08] local.INFO: IMEI packet received {"connection_id":186384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":186384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:24:12] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:24:12] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:24:12] local.INFO: IMEI packet received {"connection_id":186220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":186220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:24:13] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:13] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:24:13] local.INFO: IMEI packet received {"connection_id":186384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":186384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:24:13] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b492a300012d188b0007222710006200ab27..."} 
[2026-09-18 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b492a300012d188b0007222710006200ab27..."} 
[2026-09-18 18:24:13] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b492a300012d188b0007222710006200ab27..."} 
[2026-09-18 18:24:13] local.INFO: Packet analysis {"connection_id":186384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:24:13] local.INFO: Extracted packet for processing {"connection_id":186384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119678736,"longitude_deg":75.6583168,"latitude_deg":11.9678736,"altitude":98,"angle":171,"satellites":39,"speed":0,"hex_longitude":"2d188b00","hex_latitude":"07222710","is_valid_coordinates":true} 
[2026-09-18 18:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172386304001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494412940935168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309310808064,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789735904000,"timestamp_ms":1789735904000,"timestamp_seconds":1789735904,"priority":1,"record_length":96,"hex_timestamp":"000001a0b492a300"} 
[2026-09-18 18:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:24: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-09-18 18:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":5502489448530575360,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3029453864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503927601889280,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2447099905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629373415221865,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2466679571819319334,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194836224,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750944679961150,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,93,160,2,45,192,40,98,39,10,66,235,46,99,92,227,128,1,240,113,180,34,4,205,18,211,134,64,38,239,47,76,7,69,88],"length":583,"final_offset":713,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-18 18:24:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7061832391119077376,"timestamp_seconds":7061832391119077.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172386304001,"66":12113,"105":206,"83":41984,"24":0,"16":21494412940935168,"45":1768507309310808064},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172386304001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:24:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494412940935168,"km_value":21494412940935.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309310808064,"description":"Unknown IO ID 45"} 
[2026-09-18 18:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172386304001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1768507309310808064}} 
[2026-09-18 18:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":186384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:24:13] local.INFO: GPS data processed {"connection_id":186384,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:24:13] local.INFO: Acknowledgment sent {"connection_id":186384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:24:15] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:24:15] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:24:15] local.INFO: IMEI packet received {"connection_id":188970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":188970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:24:18] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b492f8f0012d188b0007222710006200ab22..."} 
[2026-09-18 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b492f8f0012d188b0007222710006200ab22..."} 
[2026-09-18 18:24:18] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b492f8f0012d188b0007222710006200ab22..."} 
[2026-09-18 18:24:18] local.INFO: Packet analysis {"connection_id":186384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:24:18] local.INFO: Extracted packet for processing {"connection_id":186384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b492"} 
[2026-09-18 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119678736,"longitude_deg":75.6583168,"latitude_deg":11.9678736,"altitude":98,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d188b00","hex_latitude":"07222710","is_valid_coordinates":true} 
[2026-09-18 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172391424001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494412940935168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309310808064,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789735926000,"timestamp_ms":1789735926000,"timestamp_seconds":1789735926,"priority":1,"record_length":96,"hex_timestamp":"000001a0b492f8f0"} 
[2026-09-18 18:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 18:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172391424001,"66":12113,"105":206,"83":41984,"24":0,"16":21494412940935168,"45":1768507309310808064},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172391424001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:24:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494412940935168,"km_value":21494412940935.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309310808064,"description":"Unknown IO ID 45"} 
[2026-09-18 18:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172391424001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1768507309310808064}} 
[2026-09-18 18:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":186384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:24:18] local.INFO: GPS data processed {"connection_id":186384,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:24:18] local.INFO: Acknowledgment sent {"connection_id":186384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:24:19] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:24:19] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:24:19] local.INFO: IMEI packet received {"connection_id":186220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":186220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:24:34] local.INFO: TCP Data received {"connection_id":186220,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4938590012d3f6340069934e0001d00f734..."} 
[2026-09-18 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4938590012d3f6340069934e0001d00f734..."} 
[2026-09-18 18:24:34] local.INFO: Processing buffer {"connection_id":186220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4938590012d3f6340069934e0001d00f734..."} 
[2026-09-18 18:24:34] local.INFO: Packet analysis {"connection_id":186220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:24:34] local.INFO: Extracted packet for processing {"connection_id":186220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:24:34] local.INFO: GPS Element Parsed {"raw_longitude":759128896,"raw_latitude":110703840,"longitude_deg":75.9128896,"latitude_deg":11.070384,"altitude":29,"angle":247,"satellites":52,"speed":56,"hex_longitude":"2d3f6340","hex_latitude":"069934e0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172404480001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405635583520538624,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4577979418307459072,"note":"Value kept but may cause issues"} 
[2026-09-18 18:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789735962000,"timestamp_ms":1789735962000,"timestamp_seconds":1789735962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4938590"} 
[2026-09-18 18:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:24: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-09-18 18: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-09-18 18:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:24: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-09-18 18:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172404480001,"66":27745,"242":206,"81":47616,"24":56,"16":405635583520538624,"45":4577979418307459072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-18 18:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172404480001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:24:34] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-18 18:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405635583520538624,"km_value":405635583520538.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4577979418307459072,"description":"Unknown IO ID 45"} 
[2026-09-18 18:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172404480001,"power":27745,"unknown_242":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4577979418307459072}} 
[2026-09-18 18:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":186220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:24:34] local.INFO: GPS data processed {"connection_id":186220,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:24:34] local.INFO: Acknowledgment sent {"connection_id":186220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:25:03] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:25:03] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:25:03] local.INFO: IMEI packet received {"connection_id":187655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":187655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:25:08] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:25:08] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:25:08] local.INFO: IMEI packet received {"connection_id":187655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":187655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:25:08] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4934af8012d188b0007222710006200ab21..."} 
[2026-09-18 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4934af8012d188b0007222710006200ab21..."} 
[2026-09-18 18:25:08] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4934af8012d188b0007222710006200ab21..."} 
[2026-09-18 18:25:08] local.INFO: Packet analysis {"connection_id":187655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:25:08] local.INFO: Extracted packet for processing {"connection_id":187655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119678736,"longitude_deg":75.6583168,"latitude_deg":11.9678736,"altitude":98,"angle":171,"satellites":33,"speed":0,"hex_longitude":"2d188b00","hex_latitude":"07222710","is_valid_coordinates":true} 
[2026-09-18 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172397056001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494412940935168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309310808064,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25: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-09-18 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789735947000,"timestamp_ms":1789735947000,"timestamp_seconds":1789735947,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4934af8"} 
[2026-09-18 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172397056001,"66":12113,"105":206,"83":41984,"24":0,"16":21494412940935168,"45":1768507309310808064},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172397056001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:25:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494412940935168,"km_value":21494412940935.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309310808064,"description":"Unknown IO ID 45"} 
[2026-09-18 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172397056001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1768507309310808064}} 
[2026-09-18 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":187655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:25:08] local.INFO: GPS data processed {"connection_id":187655,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:25:08] local.INFO: Acknowledgment sent {"connection_id":187655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:25:12] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:25:12] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:25:12] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:25:16] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:25:16] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:25:16] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:25:16] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b494ba28012d3de74006999dc80018016433..."} 
[2026-09-18 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b494ba28012d3de74006999dc80018016433..."} 
[2026-09-18 18:25:16] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b494ba28012d3de74006999dc80018016433..."} 
[2026-09-18 18:25:16] local.INFO: Packet analysis {"connection_id":188972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b494"} 
[2026-09-18 18:25:16] local.INFO: Extracted packet for processing {"connection_id":188972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b494"} 
[2026-09-18 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":759031616,"raw_latitude":110730696,"longitude_deg":75.9031616,"latitude_deg":11.0730696,"altitude":24,"angle":356,"satellites":51,"speed":52,"hex_longitude":"2d3de740","hex_latitude":"06999dc8","is_valid_coordinates":true} 
[2026-09-18 18:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172425472001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405640922164887552,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461448777953804288,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789736041000,"timestamp_ms":1789736041000,"timestamp_seconds":1789736041,"priority":1,"record_length":96,"hex_timestamp":"000001a0b494ba28"} 
[2026-09-18 18:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:25: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-09-18 18:25: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":212,"data_length":795,"current_offset":136} 
[2026-09-18 18:25:16] 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-09-18 18:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172425472001,"66":27767,"242":206,"81":47616,"24":52,"16":405640922164887552,"45":4461448777953804288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-18 18:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172425472001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:25:16] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-18 18:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405640922164887552,"km_value":405640922164887.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461448777953804288,"description":"Unknown IO ID 45"} 
[2026-09-18 18:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172425472001,"power":27767,"unknown_242":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4461448777953804288}} 
[2026-09-18 18:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":188972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:25:16] local.INFO: GPS data processed {"connection_id":188972,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:25:16] local.INFO: Acknowledgment sent {"connection_id":188972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:25:39] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4939918012d188b0007222710006200ab24..."} 
[2026-09-18 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4939918012d188b0007222710006200ab24..."} 
[2026-09-18 18:25:39] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4939918012d188b0007222710006200ab24..."} 
[2026-09-18 18:25:39] local.INFO: Packet analysis {"connection_id":187655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:25:39] local.INFO: Extracted packet for processing {"connection_id":187655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b493"} 
[2026-09-18 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119678736,"longitude_deg":75.6583168,"latitude_deg":11.9678736,"altitude":98,"angle":171,"satellites":36,"speed":0,"hex_longitude":"2d188b00","hex_latitude":"07222710","is_valid_coordinates":true} 
[2026-09-18 18:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172402432001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494412940935168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309310808064,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789735967000,"timestamp_ms":1789735967000,"timestamp_seconds":1789735967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4939918"} 
[2026-09-18 18:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 18:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172402432001,"66":12113,"105":206,"83":41984,"24":0,"16":21494412940935168,"45":1768507309310808064},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172402432001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494412940935168,"km_value":21494412940935.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309310808064,"description":"Unknown IO ID 45"} 
[2026-09-18 18:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172402432001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1768507309310808064}} 
[2026-09-18 18:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":187655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:25:39] local.INFO: GPS data processed {"connection_id":187655,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:25:39] local.INFO: Acknowledgment sent {"connection_id":187655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:25:49] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b494d580012d3de6800699c1f0001901672c..."} 
[2026-09-18 18:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b494d580012d3de6800699c1f0001901672c..."} 
[2026-09-18 18:25:49] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b494d580012d3de6800699c1f0001901672c..."} 
[2026-09-18 18:25:49] local.INFO: Packet analysis {"connection_id":188972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b494"} 
[2026-09-18 18:25:49] local.INFO: Extracted packet for processing {"connection_id":188972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b494"} 
[2026-09-18 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":759031424,"raw_latitude":110739952,"longitude_deg":75.9031424,"latitude_deg":11.0739952,"altitude":25,"angle":359,"satellites":44,"speed":54,"hex_longitude":"2d3de680","hex_latitude":"0699c1f0","is_valid_coordinates":true} 
[2026-09-18 18:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172426496001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405641368841486336,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460604353025001472,"note":"Value kept but may cause issues"} 
[2026-09-18 18:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789736048000,"timestamp_ms":1789736048000,"timestamp_seconds":1789736048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b494d580"} 
[2026-09-18 18:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:25:49] 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-09-18 18:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172426496001,"66":27865,"241":206,"81":47616,"24":54,"16":405641368841486336,"45":4460604353025001472},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-18 18:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172426496001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:25:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-18 18:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405641368841486336,"km_value":405641368841486.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460604353025001472,"description":"Unknown IO ID 45"} 
[2026-09-18 18:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172426496001,"power":27865,"unknown_241":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4460604353025001472}} 
[2026-09-18 18:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":188972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:25:49] local.INFO: GPS data processed {"connection_id":188972,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:25:49] local.INFO: Acknowledgment sent {"connection_id":188972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:26:03] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:26:03] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:26:03] local.INFO: IMEI packet received {"connection_id":186385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":186385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:26:08] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:26:08] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:26:08] local.INFO: IMEI packet received {"connection_id":186385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":186385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:26:09] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b495bfe0012d187a4007220570005e00e028..."} 
[2026-09-18 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b495bfe0012d187a4007220570005e00e028..."} 
[2026-09-18 18:26:09] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b495bfe0012d187a4007220570005e00e028..."} 
[2026-09-18 18:26:09] local.INFO: Packet analysis {"connection_id":186385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b495"} 
[2026-09-18 18:26:09] local.INFO: Extracted packet for processing {"connection_id":186385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b495"} 
[2026-09-18 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119670128,"longitude_deg":75.657888,"latitude_deg":11.9670128,"altitude":94,"angle":224,"satellites":40,"speed":18,"hex_longitude":"2d187a40","hex_latitude":"07220570","is_valid_coordinates":true} 
[2026-09-18 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172441856001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494898272239616,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114772007215104,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26: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-09-18 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789736108000,"timestamp_ms":1789736108000,"timestamp_seconds":1789736108,"priority":1,"record_length":96,"hex_timestamp":"000001a0b495bfe0"} 
[2026-09-18 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-18 18:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172441856001,"66":13396,"105":206,"83":41984,"24":18,"16":21494898272239616,"45":1766114772007215104},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172441856001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:26:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:26:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494898272239616,"km_value":21494898272239.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114772007215104,"description":"Unknown IO ID 45"} 
[2026-09-18 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172441856001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1766114772007215104}} 
[2026-09-18 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":186385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:26:09] local.INFO: GPS data processed {"connection_id":186385,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:26:09] local.INFO: Acknowledgment sent {"connection_id":186385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:26:11] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:26:11] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:26:11] local.INFO: IMEI packet received {"connection_id":187656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":187656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:26:16] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:26:16] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:26:16] local.INFO: IMEI packet received {"connection_id":187656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":187656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:26:17] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b494f0d8012d3de7000699e7e80019016730..."} 
[2026-09-18 18:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b494f0d8012d3de7000699e7e80019016730..."} 
[2026-09-18 18:26:17] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b494f0d8012d3de7000699e7e80019016730..."} 
[2026-09-18 18:26:17] local.INFO: Packet analysis {"connection_id":187656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b494"} 
[2026-09-18 18:26:17] local.INFO: Extracted packet for processing {"connection_id":187656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b494"} 
[2026-09-18 18:26:17] local.INFO: GPS Element Parsed {"raw_longitude":759031552,"raw_latitude":110749672,"longitude_deg":75.9031552,"latitude_deg":11.0749672,"altitude":25,"angle":359,"satellites":48,"speed":55,"hex_longitude":"2d3de700","hex_latitude":"0699e7e8","is_valid_coordinates":true} 
[2026-09-18 18:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172428288001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405641841287888896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460393246794838016,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789736055000,"timestamp_ms":1789736055000,"timestamp_seconds":1789736055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b494f0d8"} 
[2026-09-18 18:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:26:17] 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-09-18 18:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172428288001,"66":27767,"241":206,"81":47616,"24":55,"16":405641841287888896,"45":4460393246794838016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-18 18:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172428288001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:26:17] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-18 18:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405641841287888896,"km_value":405641841287888.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460393246794838016,"description":"Unknown IO ID 45"} 
[2026-09-18 18:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172428288001,"power":27767,"unknown_241":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4460393246794838016}} 
[2026-09-18 18:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":187656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:26:17] local.INFO: GPS data processed {"connection_id":187656,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:26:17] local.INFO: Acknowledgment sent {"connection_id":187656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:26:40] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b495cb98012d18768007220288005e00f52a..."} 
[2026-09-18 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b495cb98012d18768007220288005e00f52a..."} 
[2026-09-18 18:26:40] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b495cb98012d18768007220288005e00f52a..."} 
[2026-09-18 18:26:40] local.INFO: Packet analysis {"connection_id":186385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b495"} 
[2026-09-18 18:26:40] local.INFO: Extracted packet for processing {"connection_id":186385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b495"} 
[2026-09-18 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756577920,"raw_latitude":119669384,"longitude_deg":75.657792,"latitude_deg":11.9669384,"altitude":94,"angle":245,"satellites":42,"speed":15,"hex_longitude":"2d187680","hex_latitude":"07220288","is_valid_coordinates":true} 
[2026-09-18 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172443648001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21494958401781760,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603448700928,"note":"Value kept but may cause issues"} 
[2026-09-18 18: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-09-18 18:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789736111000,"timestamp_ms":1789736111000,"timestamp_seconds":1789736111,"priority":1,"record_length":96,"hex_timestamp":"000001a0b495cb98"} 
[2026-09-18 18:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 18:26:40] 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-09-18 18:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172443648001,"66":13374,"105":206,"83":41984,"24":15,"16":21494958401781760,"45":1763792603448700928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172443648001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21494958401781760,"km_value":21494958401781.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603448700928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172443648001,"power":13374,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1763792603448700928}} 
[2026-09-18 18:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":186385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:26:40] local.INFO: GPS data processed {"connection_id":186385,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:26:40] local.INFO: Acknowledgment sent {"connection_id":186385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:26:48] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49667d8012d3d8280069bbec0002b015731..."} 
[2026-09-18 18:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49667d8012d3d8280069bbec0002b015731..."} 
[2026-09-18 18:26:48] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49667d8012d3d8280069bbec0002b015731..."} 
[2026-09-18 18:26:48] local.INFO: Packet analysis {"connection_id":187656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:26:48] local.INFO: Extracted packet for processing {"connection_id":187656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:26:48] local.INFO: GPS Element Parsed {"raw_longitude":759005824,"raw_latitude":110870208,"longitude_deg":75.9005824,"latitude_deg":11.0870208,"altitude":43,"angle":343,"satellites":49,"speed":52,"hex_longitude":"2d3d8280","hex_latitude":"069bbec0","is_valid_coordinates":true} 
[2026-09-18 18:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172452864001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405647880011907072,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4435060498921883648,"note":"Value kept but may cause issues"} 
[2026-09-18 18:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789736151000,"timestamp_ms":1789736151000,"timestamp_seconds":1789736151,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49667d8"} 
[2026-09-18 18:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:26: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-09-18 18:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:26:48] 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-09-18 18:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172452864001,"66":27767,"34":206,"81":47616,"24":52,"16":405647880011907072,"45":4435060498921883648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-18 18:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172452864001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:26:48] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-18 18:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405647880011907072,"km_value":405647880011907.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4435060498921883648,"description":"Unknown IO ID 45"} 
[2026-09-18 18:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172452864001,"power":27767,"unknown_34":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4435060498921883648}} 
[2026-09-18 18:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":187656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:26:48] local.INFO: GPS data processed {"connection_id":187656,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:26:48] local.INFO: Acknowledgment sent {"connection_id":187656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:27:03] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:27:03] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:27:03] local.INFO: IMEI packet received {"connection_id":186223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":186223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:27:08] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:27:08] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:27:08] local.INFO: IMEI packet received {"connection_id":186223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":186223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:27:09] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b495df20012d186d400721ffe8005d010127..."} 
[2026-09-18 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b495df20012d186d400721ffe8005d010127..."} 
[2026-09-18 18:27:09] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b495df20012d186d400721ffe8005d010127..."} 
[2026-09-18 18:27:09] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b495"} 
[2026-09-18 18:27:09] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b495"} 
[2026-09-18 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119668712,"longitude_deg":75.6575552,"latitude_deg":11.9668712,"altitude":93,"angle":257,"satellites":39,"speed":20,"hex_longitude":"2d186d40","hex_latitude":"0721ffe8","is_valid_coordinates":true} 
[2026-09-18 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172444416001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495074365898752,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762737072285845504,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27: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-09-18 18:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789736116000,"timestamp_ms":1789736116000,"timestamp_seconds":1789736116,"priority":1,"record_length":96,"hex_timestamp":"000001a0b495df20"} 
[2026-09-18 18:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 18:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172444416001,"66":13352,"105":206,"83":41984,"24":20,"16":21495074365898752,"45":1762737072285845504},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172444416001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:27:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495074365898752,"km_value":21495074365898.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762737072285845504,"description":"Unknown IO ID 45"} 
[2026-09-18 18:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172444416001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1762737072285845504}} 
[2026-09-18 18:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:27:09] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:27:09] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:27:18] local.INFO: TCP Data received {"connection_id":186224,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:27:18] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:27:18] local.INFO: IMEI packet received {"connection_id":186224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":186224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:27:25] local.INFO: TCP Data received {"connection_id":186224,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:27:25] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:27:25] local.INFO: IMEI packet received {"connection_id":186224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":186224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:27:26] local.INFO: TCP Data received {"connection_id":186224,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4968330012d3d7800069be260002a015731..."} 
[2026-09-18 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4968330012d3d7800069be260002a015731..."} 
[2026-09-18 18:27:26] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4968330012d3d7800069be260002a015731..."} 
[2026-09-18 18:27:26] local.INFO: Packet analysis {"connection_id":186224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:27:26] local.INFO: Extracted packet for processing {"connection_id":186224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:27:26] local.INFO: GPS Element Parsed {"raw_longitude":759003136,"raw_latitude":110879328,"longitude_deg":75.9003136,"latitude_deg":11.0879328,"altitude":42,"angle":343,"satellites":49,"speed":55,"hex_longitude":"2d3d7800","hex_latitude":"069be260","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172454656001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405648339573407744,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4432245749157117952,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789736158000,"timestamp_ms":1789736158000,"timestamp_seconds":1789736158,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4968330"} 
[2026-09-18 18:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:27:26] 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-09-18 18: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-09-18 18:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172454656001,"66":27821,"34":206,"81":47616,"24":55,"16":405648339573407744,"45":4432245749157117952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-18 18:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172454656001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:27:26] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-18 18:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405648339573407744,"km_value":405648339573407.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4432245749157117952,"description":"Unknown IO ID 45"} 
[2026-09-18 18:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172454656001,"power":27821,"unknown_34":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4432245749157117952}} 
[2026-09-18 18:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":186224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:27:26] local.INFO: GPS data processed {"connection_id":186224,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:27:26] local.INFO: Acknowledgment sent {"connection_id":186224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:27:27] local.INFO: TCP Data received {"connection_id":186224,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4969e88012d3d6d40069c0718002a015731..."} 
[2026-09-18 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4969e88012d3d6d40069c0718002a015731..."} 
[2026-09-18 18:27:27] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4969e88012d3d6d40069c0718002a015731..."} 
[2026-09-18 18:27:27] local.INFO: Packet analysis {"connection_id":186224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:27:27] local.INFO: Extracted packet for processing {"connection_id":186224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":759000384,"raw_latitude":110888728,"longitude_deg":75.9000384,"latitude_deg":11.0888728,"altitude":42,"angle":343,"satellites":49,"speed":56,"hex_longitude":"2d3d6d40","hex_latitude":"069c0718","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172456448001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405648816314777600,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4429290261903990784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789736165000,"timestamp_ms":1789736165000,"timestamp_seconds":1789736165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4969e88"} 
[2026-09-18 18:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:27:27] 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-09-18 18: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-09-18 18:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172456448001,"66":27745,"34":206,"81":47616,"24":56,"16":405648816314777600,"45":4429290261903990784},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-18 18:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172456448001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:27:27] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-18 18:27:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405648816314777600,"km_value":405648816314777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4429290261903990784,"description":"Unknown IO ID 45"} 
[2026-09-18 18:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172456448001,"power":27745,"unknown_34":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4429290261903990784}} 
[2026-09-18 18:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":186224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:27:27] local.INFO: GPS data processed {"connection_id":186224,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:27:27] local.INFO: Acknowledgment sent {"connection_id":186224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:27:40] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4963510012d1857400721fb800056010b29..."} 
[2026-09-18 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4963510012d1857400721fb800056010b29..."} 
[2026-09-18 18:27:40] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4963510012d1857400721fb800056010b29..."} 
[2026-09-18 18:27:40] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:27:40] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172445696001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760133428751099904,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27: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-09-18 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789736138000,"timestamp_ms":1789736138000,"timestamp_seconds":1789736138,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4963510"} 
[2026-09-18 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172445696001,"66":13243,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1760133428751099904},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172445696001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:27:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760133428751099904,"description":"Unknown IO ID 45"} 
[2026-09-18 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172445696001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760133428751099904}} 
[2026-09-18 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:27:40] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:27:40] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:27:54] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:27:54] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:27:54] local.INFO: IMEI packet received {"connection_id":188973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":188973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:27:54] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4976d90012d7e280005d4e600000201622e..."} 
[2026-09-18 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4976d90012d7e280005d4e600000201622e..."} 
[2026-09-18 18:27:54] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4976d90012d7e280005d4e600000201622e..."} 
[2026-09-18 18:27:54] local.INFO: Packet analysis {"connection_id":188973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:27:54] local.INFO: Extracted packet for processing {"connection_id":188973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763242496,"raw_latitude":97838592,"longitude_deg":76.3242496,"latitude_deg":9.7838592,"altitude":2,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2d7e2800","hex_latitude":"05d4e600","is_valid_coordinates":true} 
[2026-09-18 18:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172470272001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134877787163983872,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078822846599168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:27: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-09-18 18:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789736218000,"timestamp_ms":1789736218000,"timestamp_seconds":1789736218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4976d90"} 
[2026-09-18 18:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 18:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:27:54] 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-09-18 18:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172470272001,"66":13689,"111":206,"85":15104,"24":24,"16":134877787163983872,"45":9091078822846599168},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172470272001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:27:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134877787163983872,"km_value":134877787163983.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078822846599168,"description":"Unknown IO ID 45"} 
[2026-09-18 18:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172470272001,"power":13689,"unknown_111":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9091078822846599168}} 
[2026-09-18 18:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":188973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:27:54] local.INFO: GPS data processed {"connection_id":188973,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:27:54] local.INFO: Acknowledgment sent {"connection_id":188973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:28:02] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:28:02] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:28:02] local.INFO: IMEI packet received {"connection_id":186386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:28:08] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:28:08] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:28:08] local.INFO: IMEI packet received {"connection_id":186386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":186386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:28:08] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4968718012d1857400721fb800056010b27..."} 
[2026-09-18 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4968718012d1857400721fb800056010b27..."} 
[2026-09-18 18:28:08] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4968718012d1857400721fb800056010b27..."} 
[2026-09-18 18:28:08] local.INFO: Packet analysis {"connection_id":186386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:28:08] local.INFO: Extracted packet for processing {"connection_id":186386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172451328001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28: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-09-18 18:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789736159000,"timestamp_ms":1789736159000,"timestamp_seconds":1789736159,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4968718"} 
[2026-09-18 18:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172451328001,"66":13222,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172451328001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:28:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:28:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172451328001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":186386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:28:09] local.INFO: GPS data processed {"connection_id":186386,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:28:09] local.INFO: Acknowledgment sent {"connection_id":186386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:28:10] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:10] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:10] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:28:11] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:11] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:11] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:28:16] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:16] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:28:16] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:28:17] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497cb50012d3cec00069d77800034014b34..."} 
[2026-09-18 18:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497cb50012d3cec00069d77800034014b34..."} 
[2026-09-18 18:28:17] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497cb50012d3cec00069d77800034014b34..."} 
[2026-09-18 18:28:17] local.INFO: Packet analysis {"connection_id":186387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:28:17] local.INFO: Extracted packet for processing {"connection_id":186387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758967296,"raw_latitude":110983040,"longitude_deg":75.8967296,"latitude_deg":11.098304,"altitude":52,"angle":331,"satellites":52,"speed":53,"hex_longitude":"2d3cec00","hex_latitude":"069d7780","is_valid_coordinates":true} 
[2026-09-18 18:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172476672001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405653686807691264,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4392557777468219392,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789736242000,"timestamp_ms":1789736242000,"timestamp_seconds":1789736242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497cb50"} 
[2026-09-18 18:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:28: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-09-18 18:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172476672001,"66":27800,"35":206,"81":47616,"24":53,"16":405653686807691264,"45":4392557777468219392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-18 18:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172476672001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:28:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 18:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405653686807691264,"km_value":405653686807691.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4392557777468219392,"description":"Unknown IO ID 45"} 
[2026-09-18 18:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172476672001,"power":27800,"unknown_35":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4392557777468219392}} 
[2026-09-18 18:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":186387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:28:17] local.INFO: GPS data processed {"connection_id":186387,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:28:17] local.INFO: Acknowledgment sent {"connection_id":186387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:28:25] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4979c70012d7e23c005d503b0000501572f..."} 
[2026-09-18 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4979c70012d7e23c005d503b0000501572f..."} 
[2026-09-18 18:28:25] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4979c70012d7e23c005d503b0000501572f..."} 
[2026-09-18 18:28:25] local.INFO: Packet analysis {"connection_id":188973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:28:25] local.INFO: Extracted packet for processing {"connection_id":188973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763241408,"raw_latitude":97846192,"longitude_deg":76.3241408,"latitude_deg":9.7846192,"altitude":5,"angle":343,"satellites":47,"speed":11,"hex_longitude":"2d7e23c0","hex_latitude":"05d503b0","is_valid_coordinates":true} 
[2026-09-18 18:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172471808001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878160826138624,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090515872894025728,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28: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-09-18 18:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789736230000,"timestamp_ms":1789736230000,"timestamp_seconds":1789736230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4979c70"} 
[2026-09-18 18:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 18:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:28:25] 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-09-18 18:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172471808001,"66":12798,"111":206,"85":15104,"24":11,"16":134878160826138624,"45":9090515872894025728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172471808001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:28:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878160826138624,"km_value":134878160826138.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090515872894025728,"description":"Unknown IO ID 45"} 
[2026-09-18 18:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172471808001,"power":12798,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9090515872894025728}} 
[2026-09-18 18:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":188973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:28:25] local.INFO: GPS data processed {"connection_id":188973,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:28:25] local.INFO: Acknowledgment sent {"connection_id":188973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:28:39] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b496d920012d1857400721fb800056010b2a..."} 
[2026-09-18 18:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b496d920012d1857400721fb800056010b2a..."} 
[2026-09-18 18:28:39] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b496d920012d1857400721fb800056010b2a..."} 
[2026-09-18 18:28:39] local.INFO: Packet analysis {"connection_id":186386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:28:39] local.INFO: Extracted packet for processing {"connection_id":186386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b496"} 
[2026-09-18 18:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172456704001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789736180000,"timestamp_ms":1789736180000,"timestamp_seconds":1789736180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b496d920"} 
[2026-09-18 18:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-18 18:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172456704001,"66":13102,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172456704001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172456704001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":186386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:28:40] local.INFO: GPS data processed {"connection_id":186386,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:28:40] local.INFO: Acknowledgment sent {"connection_id":186386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:28:49] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497daf0012d3cdf80069d89580033013e2f..."} 
[2026-09-18 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497daf0012d3cdf80069d89580033013e2f..."} 
[2026-09-18 18:28:49] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497daf0012d3cdf80069d89580033013e2f..."} 
[2026-09-18 18:28:49] local.INFO: Packet analysis {"connection_id":186387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:28:49] local.INFO: Extracted packet for processing {"connection_id":186387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758964096,"raw_latitude":110987608,"longitude_deg":75.8964096,"latitude_deg":11.0987608,"altitude":51,"angle":318,"satellites":47,"speed":55,"hex_longitude":"2d3cdf80","hex_latitude":"069d8958","is_valid_coordinates":true} 
[2026-09-18 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172477952001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405653957390630912,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4389883765191049216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789736246000,"timestamp_ms":1789736246000,"timestamp_seconds":1789736246,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497daf0"} 
[2026-09-18 18:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172477952001,"66":27843,"35":206,"81":47616,"24":55,"16":405653957390630912,"45":4389883765191049216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-18 18:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172477952001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:28:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 18:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405653957390630912,"km_value":405653957390630.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4389883765191049216,"description":"Unknown IO ID 45"} 
[2026-09-18 18:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172477952001,"power":27843,"unknown_35":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4389883765191049216}} 
[2026-09-18 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":186387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:28:49] local.INFO: GPS data processed {"connection_id":186387,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:28:49] local.INFO: Acknowledgment sent {"connection_id":186387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:02] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:02] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:02] local.INFO: IMEI packet received {"connection_id":186226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":186226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:29:03] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:03] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:03] local.INFO: IMEI packet received {"connection_id":186226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":186226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:29:08] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:08] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:29:08] local.INFO: IMEI packet received {"connection_id":186226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":186226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:29:08] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:08] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:08] local.INFO: IMEI packet received {"connection_id":188974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":188974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:29:08] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4972b28012d1857400721fb800056010b2b..."} 
[2026-09-18 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4972b28012d1857400721fb800056010b2b..."} 
[2026-09-18 18:29:08] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4972b28012d1857400721fb800056010b2b..."} 
[2026-09-18 18:29:08] local.INFO: Packet analysis {"connection_id":186226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:08] local.INFO: Extracted packet for processing {"connection_id":186226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172462080001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29: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-09-18 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789736201000,"timestamp_ms":1789736201000,"timestamp_seconds":1789736201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4972b28"} 
[2026-09-18 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172462080001,"66":13080,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172462080001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172462080001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":186226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:08] local.INFO: GPS data processed {"connection_id":186226,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:08] local.INFO: Acknowledgment sent {"connection_id":186226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:11] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:11] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:11] local.INFO: IMEI packet received {"connection_id":188975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":188975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:29:13] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:13] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:13] local.INFO: IMEI packet received {"connection_id":188975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:29:14] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:14] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:14] local.INFO: IMEI packet received {"connection_id":188974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":188974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:29:14] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497a058012d7e238005d504a8000501432f..."} 
[2026-09-18 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497a058012d7e238005d504a8000501432f..."} 
[2026-09-18 18:29:14] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497a058012d7e238005d504a8000501432f..."} 
[2026-09-18 18:29:14] local.INFO: Packet analysis {"connection_id":188974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:14] local.INFO: Extracted packet for processing {"connection_id":188974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763241344,"raw_latitude":97846440,"longitude_deg":76.3241344,"latitude_deg":9.784644,"altitude":5,"angle":323,"satellites":47,"speed":10,"hex_longitude":"2d7e2380","hex_latitude":"05d504a8","is_valid_coordinates":true} 
[2026-09-18 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172474880001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878173711040512,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089319604244951040,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29: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-09-18 18:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789736231000,"timestamp_ms":1789736231000,"timestamp_seconds":1789736231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497a058"} 
[2026-09-18 18:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172474880001,"66":12982,"111":206,"85":15104,"24":10,"16":134878173711040512,"45":9089319604244951040},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172474880001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878173711040512,"km_value":134878173711040.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089319604244951040,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172474880001,"power":12982,"unknown_111":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9089319604244951040}} 
[2026-09-18 18:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":188974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:14] local.INFO: GPS data processed {"connection_id":188974,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:14] local.INFO: Acknowledgment sent {"connection_id":188974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:16] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:16] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:29:16] local.INFO: IMEI packet received {"connection_id":188975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":188975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:29:18] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497f260012d3cc580069da0000032013336..."} 
[2026-09-18 18:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497f260012d3cc580069da0000032013336..."} 
[2026-09-18 18:29:18] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497f260012d3cc580069da0000032013336..."} 
[2026-09-18 18:29:18] local.INFO: Packet analysis {"connection_id":188975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:18] local.INFO: Extracted packet for processing {"connection_id":188975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758957440,"raw_latitude":110993408,"longitude_deg":75.895744,"latitude_deg":11.0993408,"altitude":50,"angle":307,"satellites":54,"speed":58,"hex_longitude":"2d3cc580","hex_latitude":"069da000","is_valid_coordinates":true} 
[2026-09-18 18:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172478976001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405654382592393216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4386365327983335424,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789736252000,"timestamp_ms":1789736252000,"timestamp_seconds":1789736252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497f260"} 
[2026-09-18 18:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29: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-09-18 18:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:18] 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-09-18 18:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172478976001,"66":27745,"35":206,"81":47616,"24":58,"16":405654382592393216,"45":4386365327983335424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-18 18:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172478976001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 18:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405654382592393216,"km_value":405654382592393.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4386365327983335424,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172478976001,"power":27745,"unknown_35":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4386365327983335424}} 
[2026-09-18 18:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":188975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:18] local.INFO: GPS data processed {"connection_id":188975,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:18] local.INFO: Acknowledgment sent {"connection_id":188975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:19] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497a440012d7e228005d50540000501292f..."} 
[2026-09-18 18:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497a440012d7e228005d50540000501292f..."} 
[2026-09-18 18:29:19] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497a440012d7e228005d50540000501292f..."} 
[2026-09-18 18:29:19] local.INFO: Packet analysis {"connection_id":188974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:19] local.INFO: Extracted packet for processing {"connection_id":188974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:19] local.INFO: GPS Element Parsed {"raw_longitude":763241088,"raw_latitude":97846592,"longitude_deg":76.3241088,"latitude_deg":9.7846592,"altitude":5,"angle":297,"satellites":47,"speed":9,"hex_longitude":"2d7e2280","hex_latitude":"05d50540","is_valid_coordinates":true} 
[2026-09-18 18:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172475136001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878186595942400,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089249235500836864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789736232000,"timestamp_ms":1789736232000,"timestamp_seconds":1789736232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497a440"} 
[2026-09-18 18:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29: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-09-18 18: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":182,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:19] 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-09-18 18:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172475136001,"66":12906,"111":206,"85":15104,"24":9,"16":134878186595942400,"45":9089249235500836864},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172475136001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878186595942400,"km_value":134878186595942.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089249235500836864,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172475136001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9089249235500836864}} 
[2026-09-18 18:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":188974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:19] local.INFO: GPS data processed {"connection_id":188974,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:19] local.INFO: Acknowledgment sent {"connection_id":188974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:20] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4980db8012d3ca540069db8e00034013437..."} 
[2026-09-18 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4980db8012d3ca540069db8e00034013437..."} 
[2026-09-18 18:29:20] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4980db8012d3ca540069db8e00034013437..."} 
[2026-09-18 18:29:20] local.INFO: Packet analysis {"connection_id":188975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:29:20] local.INFO: Extracted packet for processing {"connection_id":188975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758949184,"raw_latitude":110999776,"longitude_deg":75.8949184,"latitude_deg":11.0999776,"altitude":52,"angle":308,"satellites":55,"speed":58,"hex_longitude":"2d3ca540","hex_latitude":"069db8e0","is_valid_coordinates":true} 
[2026-09-18 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172480512001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405654880808599552,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4379046978590343168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789736259000,"timestamp_ms":1789736259000,"timestamp_seconds":1789736259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4980db8"} 
[2026-09-18 18:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:20] 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-09-18 18:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172480512001,"66":27767,"35":206,"81":47616,"24":58,"16":405654880808599552,"45":4379046978590343168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-18 18:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172480512001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:20] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-18 18:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405654880808599552,"km_value":405654880808599.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4379046978590343168,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172480512001,"power":27767,"unknown_35":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4379046978590343168}} 
[2026-09-18 18:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":188975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:20] local.INFO: GPS data processed {"connection_id":188975,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:20] local.INFO: Acknowledgment sent {"connection_id":188975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:39] local.INFO: TCP Data received {"connection_id":186226,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4977948012d1857400721fb800056010b29..."} 
[2026-09-18 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4977948012d1857400721fb800056010b29..."} 
[2026-09-18 18:29:39] local.INFO: Processing buffer {"connection_id":186226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4977948012d1857400721fb800056010b29..."} 
[2026-09-18 18:29:39] local.INFO: Packet analysis {"connection_id":186226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:39] local.INFO: Extracted packet for processing {"connection_id":186226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172467456001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789736221000,"timestamp_ms":1789736221000,"timestamp_seconds":1789736221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4977948"} 
[2026-09-18 18:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172467456001,"66":13004,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172467456001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172467456001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":186226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:39] local.INFO: GPS data processed {"connection_id":186226,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:39] local.INFO: Acknowledgment sent {"connection_id":186226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:45] local.INFO: TCP Data received {"connection_id":186225,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:29:45] local.INFO: Processing buffer {"connection_id":186225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:29:45] local.INFO: IMEI packet received {"connection_id":186225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":186225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:29:49] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:49] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:49] local.INFO: IMEI packet received {"connection_id":186227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":186227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:29:52] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4993a80012d3be780069f17c00045015f36..."} 
[2026-09-18 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4993a80012d3be780069f17c00045015f36..."} 
[2026-09-18 18:29:52] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4993a80012d3be780069f17c00045015f36..."} 
[2026-09-18 18:29:52] local.INFO: Packet analysis {"connection_id":188975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:29:52] local.INFO: Extracted packet for processing {"connection_id":188975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758900608,"raw_latitude":111089600,"longitude_deg":75.8900608,"latitude_deg":11.10896,"altitude":69,"angle":351,"satellites":54,"speed":53,"hex_longitude":"2d3be780","hex_latitude":"069f17c0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172500224001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405659875855564800,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4318600227364018176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789736336000,"timestamp_ms":1789736336000,"timestamp_seconds":1789736336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4993a80"} 
[2026-09-18 18:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-18 18:29:52] 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-09-18 18: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-09-18 18:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172500224001,"66":27626,"108":206,"81":47616,"24":53,"16":405659875855564800,"45":4318600227364018176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-18 18:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172500224001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:52] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-18 18:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405659875855564800,"km_value":405659875855564.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4318600227364018176,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172500224001,"power":27626,"unknown_108":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4318600227364018176}} 
[2026-09-18 18:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":188975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:52] local.INFO: GPS data processed {"connection_id":188975,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:52] local.INFO: Acknowledgment sent {"connection_id":188975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:29:54] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:54] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:29:54] local.INFO: IMEI packet received {"connection_id":186227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":186227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:29:54] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497a828012d7e21c005d505680005010b31..."} 
[2026-09-18 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497a828012d7e21c005d505680005010b31..."} 
[2026-09-18 18:29:54] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497a828012d7e21c005d505680005010b31..."} 
[2026-09-18 18:29:54] local.INFO: Packet analysis {"connection_id":186227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:54] local.INFO: Extracted packet for processing {"connection_id":186227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763240896,"raw_latitude":97846632,"longitude_deg":76.3240896,"latitude_deg":9.7846632,"altitude":5,"angle":267,"satellites":49,"speed":11,"hex_longitude":"2d7e21c0","hex_latitude":"05d50568","is_valid_coordinates":true} 
[2026-09-18 18:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172475392001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878199480844288,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088967760524165120,"note":"Value kept but may cause issues"} 
[2026-09-18 18:29: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-09-18 18:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789736233000,"timestamp_ms":1789736233000,"timestamp_seconds":1789736233,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497a828"} 
[2026-09-18 18:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-18 18:29: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-09-18 18:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:29:54] 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-09-18 18:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172475392001,"66":12906,"111":206,"85":15104,"24":11,"16":134878199480844288,"45":9088967760524165120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172475392001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:29:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878199480844288,"km_value":134878199480844.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088967760524165120,"description":"Unknown IO ID 45"} 
[2026-09-18 18:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172475392001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9088967760524165120}} 
[2026-09-18 18:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":186227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:29:55] local.INFO: GPS data processed {"connection_id":186227,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:29:55] local.INFO: Acknowledgment sent {"connection_id":186227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:30:06] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:06] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:06] local.INFO: IMEI packet received {"connection_id":186388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":186388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:30:07] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:07] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:07] local.INFO: IMEI packet received {"connection_id":186388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":186388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:30:12] local.INFO: TCP Data received {"connection_id":186228,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:12] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:12] local.INFO: IMEI packet received {"connection_id":186228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":186228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:30:13] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:13] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:30:13] local.INFO: IMEI packet received {"connection_id":186388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":186388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:30:13] local.INFO: TCP Data received {"connection_id":186228,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:13] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:13] local.INFO: IMEI packet received {"connection_id":186228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":186228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:30:13] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497cb50012d1857400721fb800056010b2a..."} 
[2026-09-18 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497cb50012d1857400721fb800056010b2a..."} 
[2026-09-18 18:30:13] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497cb50012d1857400721fb800056010b2a..."} 
[2026-09-18 18:30:13] local.INFO: Packet analysis {"connection_id":186388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:30:13] local.INFO: Extracted packet for processing {"connection_id":186388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172472576001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789736242000,"timestamp_ms":1789736242000,"timestamp_seconds":1789736242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497cb50"} 
[2026-09-18 18:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 18:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172472576001,"66":13004,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172472576001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:30:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172472576001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":186388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:30:13] local.INFO: GPS data processed {"connection_id":186388,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:30:13] local.INFO: Acknowledgment sent {"connection_id":186388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:30:17] local.INFO: TCP Data received {"connection_id":186228,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:17] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:30:17] local.INFO: IMEI packet received {"connection_id":186228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":186228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:30:17] local.INFO: TCP Data received {"connection_id":186228,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49955d8012d3be4c0069f3d580045016735..."} 
[2026-09-18 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49955d8012d3be4c0069f3d580045016735..."} 
[2026-09-18 18:30:17] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49955d8012d3be4c0069f3d580045016735..."} 
[2026-09-18 18:30:17] local.INFO: Packet analysis {"connection_id":186228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:30:17] local.INFO: Extracted packet for processing {"connection_id":186228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758899904,"raw_latitude":111099224,"longitude_deg":75.8899904,"latitude_deg":11.1099224,"altitude":69,"angle":359,"satellites":53,"speed":54,"hex_longitude":"2d3be4c0","hex_latitude":"069f3d58","is_valid_coordinates":true} 
[2026-09-18 18:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172502016001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405660344007000064,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4316559533785202688,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789736343000,"timestamp_ms":1789736343000,"timestamp_seconds":1789736343,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49955d8"} 
[2026-09-18 18:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 18:30:17] 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-09-18 18:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172502016001,"66":27767,"108":206,"81":47616,"24":54,"16":405660344007000064,"45":4316559533785202688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-18 18:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172502016001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:30:17] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-18 18:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405660344007000064,"km_value":405660344007000.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4316559533785202688,"description":"Unknown IO ID 45"} 
[2026-09-18 18:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172502016001,"power":27767,"unknown_108":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4316559533785202688}} 
[2026-09-18 18:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":186228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:30:17] local.INFO: GPS data processed {"connection_id":186228,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:30:17] local.INFO: Acknowledgment sent {"connection_id":186228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:30:25] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497cb50012d7e0f4005d503100005011731..."} 
[2026-09-18 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497cb50012d7e0f4005d503100005011731..."} 
[2026-09-18 18:30:25] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497cb50012d7e0f4005d503100005011731..."} 
[2026-09-18 18:30:25] local.INFO: Packet analysis {"connection_id":186227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:30:25] local.INFO: Extracted packet for processing {"connection_id":186227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763236160,"raw_latitude":97846032,"longitude_deg":76.323616,"latitude_deg":9.7846032,"altitude":5,"angle":279,"satellites":49,"speed":23,"hex_longitude":"2d7e0f40","hex_latitude":"05d50310","is_valid_coordinates":true} 
[2026-09-18 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172475648001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878427114110976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088756654291642368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30: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-09-18 18:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789736242000,"timestamp_ms":1789736242000,"timestamp_seconds":1789736242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497cb50"} 
[2026-09-18 18:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-18 18:30:25] 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-09-18 18:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:30:25] 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-09-18 18:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172475648001,"66":13374,"111":206,"85":15104,"24":23,"16":134878427114110976,"45":9088756654291642368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172475648001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:30:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878427114110976,"km_value":134878427114110.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088756654291642368,"description":"Unknown IO ID 45"} 
[2026-09-18 18:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172475648001,"power":13374,"unknown_111":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9088756654291642368}} 
[2026-09-18 18:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":186227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:30:25] local.INFO: GPS data processed {"connection_id":186227,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:30:25] local.INFO: Acknowledgment sent {"connection_id":186227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:30:45] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4981d58012d1857400721fb800056010b2c..."} 
[2026-09-18 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4981d58012d1857400721fb800056010b2c..."} 
[2026-09-18 18:30:45] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4981d58012d1857400721fb800056010b2c..."} 
[2026-09-18 18:30:45] local.INFO: Packet analysis {"connection_id":186388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:30:45] local.INFO: Extracted packet for processing {"connection_id":186388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172477952001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789736263000,"timestamp_ms":1789736263000,"timestamp_seconds":1789736263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4981d58"} 
[2026-09-18 18:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":204,"data_length":795,"current_offset":136} 
[2026-09-18 18:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172477952001,"66":12972,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172477952001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:30:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172477952001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":186388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:30:45] local.INFO: GPS data processed {"connection_id":186388,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:30:45] local.INFO: Acknowledgment sent {"connection_id":186388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:30:48] local.INFO: TCP Data received {"connection_id":186228,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4997130012d3be680069f62980045000730..."} 
[2026-09-18 18:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4997130012d3be680069f62980045000730..."} 
[2026-09-18 18:30:48] local.INFO: Processing buffer {"connection_id":186228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4997130012d3be680069f62980045000730..."} 
[2026-09-18 18:30:48] local.INFO: Packet analysis {"connection_id":186228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:30:48] local.INFO: Extracted packet for processing {"connection_id":186228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758900352,"raw_latitude":111108760,"longitude_deg":75.8900352,"latitude_deg":11.110876,"altitude":69,"angle":7,"satellites":48,"speed":55,"hex_longitude":"2d3be680","hex_latitude":"069f6298","is_valid_coordinates":true} 
[2026-09-18 18:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172503808001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405660807863468032,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4315785477601712128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789736350000,"timestamp_ms":1789736350000,"timestamp_seconds":1789736350,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4997130"} 
[2026-09-18 18:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:30: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-09-18 18:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:30: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-09-18 18:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172503808001,"66":27800,"108":206,"81":47616,"24":55,"16":405660807863468032,"45":4315785477601712128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-18 18:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172503808001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:30:48] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-18 18:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405660807863468032,"km_value":405660807863468.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4315785477601712128,"description":"Unknown IO ID 45"} 
[2026-09-18 18:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172503808001,"power":27800,"unknown_108":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4315785477601712128}} 
[2026-09-18 18:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":186228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:30:48] local.INFO: GPS data processed {"connection_id":186228,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:30:48] local.INFO: Acknowledgment sent {"connection_id":186228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:30:49] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:30:49] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:30:49] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:30:54] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:30:54] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:30:54] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:30:54] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b497d320012d7e0b0005d504680005012731..."} 
[2026-09-18 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b497d320012d7e0b0005d504680005012731..."} 
[2026-09-18 18:30:54] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b497d320012d7e0b0005d504680005012731..."} 
[2026-09-18 18:30:54] local.INFO: Packet analysis {"connection_id":188976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:30:54] local.INFO: Extracted packet for processing {"connection_id":188976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b497"} 
[2026-09-18 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763235072,"raw_latitude":97846376,"longitude_deg":76.3235072,"latitude_deg":9.7846376,"altitude":5,"angle":295,"satellites":49,"speed":20,"hex_longitude":"2d7e0b00","hex_latitude":"05d50468","is_valid_coordinates":true} 
[2026-09-18 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172477952001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878478653718528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367222341632,"note":"Value kept but may cause issues"} 
[2026-09-18 18:30: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-09-18 18:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789736244000,"timestamp_ms":1789736244000,"timestamp_seconds":1789736244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b497d320"} 
[2026-09-18 18:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-18 18:30: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-09-18 18:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:30:54] 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-09-18 18:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172477952001,"66":13102,"111":206,"85":15104,"24":20,"16":134878478653718528,"45":9083549367222341632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172477952001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:30:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878478653718528,"km_value":134878478653718.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367222341632,"description":"Unknown IO ID 45"} 
[2026-09-18 18:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172477952001,"power":13102,"unknown_111":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9083549367222341632}} 
[2026-09-18 18:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":188976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:30:54] local.INFO: GPS data processed {"connection_id":188976,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:30:54] local.INFO: Acknowledgment sent {"connection_id":188976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:31:03] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:31:03] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:31:03] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:31:08] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:31:08] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:31:08] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:31:09] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4986f60012d1857400721fb800056010b29..."} 
[2026-09-18 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4986f60012d1857400721fb800056010b29..."} 
[2026-09-18 18:31:09] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4986f60012d1857400721fb800056010b29..."} 
[2026-09-18 18:31:09] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:31:09] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172483328001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31: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-09-18 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789736284000,"timestamp_ms":1789736284000,"timestamp_seconds":1789736284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4986f60"} 
[2026-09-18 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-18 18:31: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-09-18 18:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172483328001,"66":12939,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172483328001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:31:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172483328001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:31:09] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:31:09] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:31:11] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:11] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:11] local.INFO: IMEI packet received {"connection_id":186229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:31:12] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:12] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:12] local.INFO: IMEI packet received {"connection_id":186229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":186229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:31:17] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:17] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:31:17] local.INFO: IMEI packet received {"connection_id":186229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":186229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:31:17] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49a6748012d3c6c8006a0aec8002d001137..."} 
[2026-09-18 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49a6748012d3c6c8006a0aec8002d001137..."} 
[2026-09-18 18:31:17] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49a6748012d3c6c8006a0aec8002d001137..."} 
[2026-09-18 18:31:17] local.INFO: Packet analysis {"connection_id":186229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:31:17] local.INFO: Extracted packet for processing {"connection_id":186229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758934656,"raw_latitude":111193800,"longitude_deg":75.8934656,"latitude_deg":11.11938,"altitude":45,"angle":17,"satellites":55,"speed":59,"hex_longitude":"2d3c6c80","hex_latitude":"06a0aec8","is_valid_coordinates":true} 
[2026-09-18 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172520192001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405665304694226944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350899480968300544,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:17] 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-09-18 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789736413000,"timestamp_ms":1789736413000,"timestamp_seconds":1789736413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49a6748"} 
[2026-09-18 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:31: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-09-18 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172520192001,"66":27691,"221":206,"81":47616,"24":59,"16":405665304694226944,"45":4350899480968300544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172520192001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:31:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405665304694226944,"km_value":405665304694226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350899480968300544,"description":"Unknown IO ID 45"} 
[2026-09-18 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172520192001,"power":27691,"unknown_221":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4350899480968300544}} 
[2026-09-18 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:31:17] local.INFO: GPS data processed {"connection_id":186229,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:31:17] local.INFO: Acknowledgment sent {"connection_id":186229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:31:40] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b498c168012d1857400721fb800056010b2b..."} 
[2026-09-18 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b498c168012d1857400721fb800056010b2b..."} 
[2026-09-18 18:31:40] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b498c168012d1857400721fb800056010b2b..."} 
[2026-09-18 18:31:40] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:31:40] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172488704001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31: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-09-18 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789736305000,"timestamp_ms":1789736305000,"timestamp_seconds":1789736305,"priority":1,"record_length":96,"hex_timestamp":"000001a0b498c168"} 
[2026-09-18 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172488704001,"66":12885,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172488704001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:31:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172488704001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:31:40] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:31:40] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:31:48] local.INFO: TCP Data received {"connection_id":186229,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49a7eb8012d3c774006a0cfc8002d001137..."} 
[2026-09-18 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49a7eb8012d3c774006a0cfc8002d001137..."} 
[2026-09-18 18:31:48] local.INFO: Processing buffer {"connection_id":186229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49a7eb8012d3c774006a0cfc8002d001137..."} 
[2026-09-18 18:31:48] local.INFO: Packet analysis {"connection_id":186229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:31:48] local.INFO: Extracted packet for processing {"connection_id":186229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758937408,"raw_latitude":111202248,"longitude_deg":75.8937408,"latitude_deg":11.1202248,"altitude":45,"angle":17,"satellites":55,"speed":58,"hex_longitude":"2d3c7740","hex_latitude":"06a0cfc8","is_valid_coordinates":true} 
[2026-09-18 18:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172521728001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405665734190956544,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4353995705714395136,"note":"Value kept but may cause issues"} 
[2026-09-18 18:31:48] 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-09-18 18:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789736419000,"timestamp_ms":1789736419000,"timestamp_seconds":1789736419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49a7eb8"} 
[2026-09-18 18:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-18 18:31:48] 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-09-18 18:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172521728001,"66":27821,"221":206,"81":47616,"24":58,"16":405665734190956544,"45":4353995705714395136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172521728001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:31:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405665734190956544,"km_value":405665734190956.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4353995705714395136,"description":"Unknown IO ID 45"} 
[2026-09-18 18:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172521728001,"power":27821,"unknown_221":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4353995705714395136}} 
[2026-09-18 18:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:31:48] local.INFO: GPS data processed {"connection_id":186229,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:31:48] local.INFO: Acknowledgment sent {"connection_id":186229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:03] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:32:03] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:32:03] local.INFO: IMEI packet received {"connection_id":186390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":186390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:32:08] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:32:08] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:32:08] local.INFO: IMEI packet received {"connection_id":186390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":186390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:32:09] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4991370012d1857400721fb800056010b29..."} 
[2026-09-18 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4991370012d1857400721fb800056010b29..."} 
[2026-09-18 18:32:09] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4991370012d1857400721fb800056010b29..."} 
[2026-09-18 18:32:09] local.INFO: Packet analysis {"connection_id":186390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:32:09] local.INFO: Extracted packet for processing {"connection_id":186390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172494080001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32: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-09-18 18:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789736326000,"timestamp_ms":1789736326000,"timestamp_seconds":1789736326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4991370"} 
[2026-09-18 18:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172494080001,"66":12852,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172494080001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172494080001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":186390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:09] local.INFO: GPS data processed {"connection_id":186390,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:09] local.INFO: Acknowledgment sent {"connection_id":186390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:30] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:32:30] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:32:30] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:32:40] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4996578012d1857400721fb800056010b27..."} 
[2026-09-18 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4996578012d1857400721fb800056010b27..."} 
[2026-09-18 18:32:40] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4996578012d1857400721fb800056010b27..."} 
[2026-09-18 18:32:40] local.INFO: Packet analysis {"connection_id":186390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:32:40] local.INFO: Extracted packet for processing {"connection_id":186390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172499456001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32: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-09-18 18:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789736347000,"timestamp_ms":1789736347000,"timestamp_seconds":1789736347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4996578"} 
[2026-09-18 18:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172499456001,"66":12852,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172499456001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172499456001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":186390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:40] local.INFO: GPS data processed {"connection_id":186390,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:40] local.INFO: Acknowledgment sent {"connection_id":186390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:47] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 18:32:47] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 18:32:47] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:32:49] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49a9a10012d3c830006a0f550002f001235..."} 
[2026-09-18 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49a9a10012d3c830006a0f550002f001235..."} 
[2026-09-18 18:32:49] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-18 18:32:49] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:32:50] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49ab568012d3c8e8006a118780032001134..."} 
[2026-09-18 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49ab568012d3c8e8006a118780032001134..."} 
[2026-09-18 18:32:50] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b4..."} 
[2026-09-18 18:32:50] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:32:51] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49ad0c0012d3c990006a139780035001236..."} 
[2026-09-18 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49ad0c0012d3c990006a139780035001236..."} 
[2026-09-18 18:32:51] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0b49a9a10012d3c830006a0f550002f001235..."} 
[2026-09-18 18:32:51] local.INFO: Packet analysis {"connection_id":187657,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:51] local.INFO: Extracted packet for processing {"connection_id":187657,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758940416,"raw_latitude":111211856,"longitude_deg":75.8940416,"latitude_deg":11.1211856,"altitude":47,"angle":18,"satellites":53,"speed":55,"hex_longitude":"2d3c8300","hex_latitude":"06a0f550","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172523264001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405666219522260992,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357021561716197376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] 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-09-18 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789736426000,"timestamp_ms":1789736426000,"timestamp_seconds":1789736426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49a9a10"} 
[2026-09-18 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-09-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:51] 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-09-18 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-09-18 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-09-18 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172523264001,"66":27767,"221":206,"81":47616,"24":55,"16":405666219522260992,"45":4357021561716197376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172523264001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405666219522260992,"km_value":405666219522261.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357021561716197376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172523264001,"power":27767,"unknown_221":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4357021561716197376}} 
[2026-09-18 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":187657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:51] local.INFO: GPS data processed {"connection_id":187657,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:51] local.INFO: Acknowledgment sent {"connection_id":187657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:51] local.INFO: Packet analysis {"connection_id":187657,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:51] local.INFO: Extracted packet for processing {"connection_id":187657,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758943360,"raw_latitude":111220856,"longitude_deg":75.894336,"latitude_deg":11.1220856,"altitude":50,"angle":17,"satellites":52,"speed":52,"hex_longitude":"2d3c8e80","hex_latitude":"06a11878","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172525056001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405666679083761664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360328892695007232,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] 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-09-18 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789736433000,"timestamp_ms":1789736433000,"timestamp_seconds":1789736433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49ab568"} 
[2026-09-18 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-09-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172525056001,"66":27234,"221":206,"81":47616,"24":52,"16":405666679083761664,"45":4360328892695007232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172525056001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405666679083761664,"km_value":405666679083761.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360328892695007232,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172525056001,"power":27234,"unknown_221":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4360328892695007232}} 
[2026-09-18 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":187657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:51] local.INFO: GPS data processed {"connection_id":187657,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:51] local.INFO: Acknowledgment sent {"connection_id":187657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:51] local.INFO: Packet analysis {"connection_id":187657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:51] local.INFO: Extracted packet for processing {"connection_id":187657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758946048,"raw_latitude":111229304,"longitude_deg":75.8946048,"latitude_deg":11.1229304,"altitude":53,"angle":18,"satellites":54,"speed":49,"hex_longitude":"2d3c9900","hex_latitude":"06a13978","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172526848001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405667108580491264,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363565854929483776,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:51] 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-09-18 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789736440000,"timestamp_ms":1789736440000,"timestamp_seconds":1789736440,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49ad0c0"} 
[2026-09-18 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-09-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:51] 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-09-18 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-09-18 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-09-18 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172526848001,"66":27800,"221":206,"81":47616,"24":49,"16":405667108580491264,"45":4363565854929483776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172526848001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405667108580491264,"km_value":405667108580491.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363565854929483776,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172526848001,"power":27800,"unknown_221":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4363565854929483776}} 
[2026-09-18 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":187657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:51] local.INFO: GPS data processed {"connection_id":187657,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:51] local.INFO: Acknowledgment sent {"connection_id":187657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:53] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49af000012d3ca38006a15d280038000c36..."} 
[2026-09-18 18:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49af000012d3ca38006a15d280038000c36..."} 
[2026-09-18 18:32:53] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49af000012d3ca38006a15d280038000c36..."} 
[2026-09-18 18:32:53] local.INFO: Packet analysis {"connection_id":187657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:53] local.INFO: Extracted packet for processing {"connection_id":187657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49a"} 
[2026-09-18 18:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758948736,"raw_latitude":111238440,"longitude_deg":75.8948736,"latitude_deg":11.123844,"altitude":56,"angle":12,"satellites":54,"speed":46,"hex_longitude":"2d3ca380","hex_latitude":"06a15d28","is_valid_coordinates":true} 
[2026-09-18 18:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172528640001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405667572436959232,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366521342187108352,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:53] 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-09-18 18:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789736448000,"timestamp_ms":1789736448000,"timestamp_seconds":1789736448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49af000"} 
[2026-09-18 18:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:53] 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-09-18 18:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172528640001,"66":27908,"221":206,"81":47616,"24":46,"16":405667572436959232,"45":4366521342187108352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172528640001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405667572436959232,"km_value":405667572436959.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366521342187108352,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172528640001,"power":27908,"unknown_221":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4366521342187108352}} 
[2026-09-18 18:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":187657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:53] local.INFO: GPS data processed {"connection_id":187657,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:53] local.INFO: Acknowledgment sent {"connection_id":187657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:32:54] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49b0770012d3ca70006a177a8003a000135..."} 
[2026-09-18 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49b0770012d3ca70006a177a8003a000135..."} 
[2026-09-18 18:32:54] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49b0770012d3ca70006a177a8003a000135..."} 
[2026-09-18 18:32:54] local.INFO: Packet analysis {"connection_id":187657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49b"} 
[2026-09-18 18:32:54] local.INFO: Extracted packet for processing {"connection_id":187657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49b"} 
[2026-09-18 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758949632,"raw_latitude":111245224,"longitude_deg":75.8949632,"latitude_deg":11.1245224,"altitude":58,"angle":1,"satellites":53,"speed":43,"hex_longitude":"2d3ca700","hex_latitude":"06a177a8","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172530688001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405667903149441024,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369476829444909056,"note":"Value kept but may cause issues"} 
[2026-09-18 18:32:54] 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-09-18 18:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789736454000,"timestamp_ms":1789736454000,"timestamp_seconds":1789736454,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49b0770"} 
[2026-09-18 18:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 18:32:54] 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-09-18 18: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-09-18 18:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172530688001,"66":27843,"221":206,"81":47616,"24":43,"16":405667903149441024,"45":4369476829444909056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172530688001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:32:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405667903149441024,"km_value":405667903149441.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369476829444909056,"description":"Unknown IO ID 45"} 
[2026-09-18 18:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172530688001,"power":27843,"unknown_221":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4369476829444909056}} 
[2026-09-18 18:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":187657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:32:55] local.INFO: GPS data processed {"connection_id":187657,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:32:55] local.INFO: Acknowledgment sent {"connection_id":187657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:33:03] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:33:03] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:33:03] local.INFO: IMEI packet received {"connection_id":188977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":188977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:33:07] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:33:07] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:33:07] local.INFO: IMEI packet received {"connection_id":188977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":188977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:33:07] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b499b780012d1857400721fb800056010b2b..."} 
[2026-09-18 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b499b780012d1857400721fb800056010b2b..."} 
[2026-09-18 18:33:07] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b499b780012d1857400721fb800056010b2b..."} 
[2026-09-18 18:33:07] local.INFO: Packet analysis {"connection_id":188977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:33:07] local.INFO: Extracted packet for processing {"connection_id":188977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b499"} 
[2026-09-18 18:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667584,"longitude_deg":75.656992,"latitude_deg":11.9667584,"altitude":86,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fb80","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172504832001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21495349243805696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263176704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33: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-09-18 18:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789736368000,"timestamp_ms":1789736368000,"timestamp_seconds":1789736368,"priority":1,"record_length":96,"hex_timestamp":"000001a0b499b780"} 
[2026-09-18 18:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 18:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172504832001,"66":12841,"105":206,"83":41984,"24":0,"16":21495349243805696,"45":1753940979263176704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172504832001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21495349243805696,"km_value":21495349243805.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263176704,"description":"Unknown IO ID 45"} 
[2026-09-18 18:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172504832001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263176704}} 
[2026-09-18 18:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":188977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:33:07] local.INFO: GPS data processed {"connection_id":188977,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:33:07] local.INFO: Acknowledgment sent {"connection_id":188977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:33:12] local.INFO: TCP Data received {"connection_id":186230,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:33:12] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:33:12] local.INFO: IMEI packet received {"connection_id":186230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":186230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:33:13] local.INFO: TCP Data received {"connection_id":186230,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:33:13] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:33:13] local.INFO: IMEI packet received {"connection_id":186230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":186230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:33:15] local.INFO: TCP Data received {"connection_id":186230,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49b2a98012d3ca64006a19ce0003e016533..."} 
[2026-09-18 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49b2a98012d3ca64006a19ce0003e016533..."} 
[2026-09-18 18:33:15] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49b2a98012d3ca64006a19ce0003e016533..."} 
[2026-09-18 18:33:15] local.INFO: Packet analysis {"connection_id":186230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49b"} 
[2026-09-18 18:33:15] local.INFO: Extracted packet for processing {"connection_id":186230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49b"} 
[2026-09-18 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758949440,"raw_latitude":111254752,"longitude_deg":75.894944,"latitude_deg":11.1254752,"altitude":62,"angle":357,"satellites":51,"speed":39,"hex_longitude":"2d3ca640","hex_latitude":"06a19ce0","is_valid_coordinates":true} 
[2026-09-18 18:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172532224001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405668362710941696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370461991865133056,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:15] 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-09-18 18:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789736463000,"timestamp_ms":1789736463000,"timestamp_seconds":1789736463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49b2a98"} 
[2026-09-18 18:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:33: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-09-18 18:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172532224001,"66":27843,"221":206,"81":47616,"24":39,"16":405668362710941696,"45":4370461991865133056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172532224001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:33:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405668362710941696,"km_value":405668362710941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370461991865133056,"description":"Unknown IO ID 45"} 
[2026-09-18 18:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172532224001,"power":27843,"unknown_221":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4370461991865133056}} 
[2026-09-18 18:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":186230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:33:15] local.INFO: GPS data processed {"connection_id":186230,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:33:15] local.INFO: Acknowledgment sent {"connection_id":186230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:33:16] local.INFO: TCP Data received {"connection_id":186230,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49b51a8012d3ca48006a1c2280043016532..."} 
[2026-09-18 18:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49b51a8012d3ca48006a1c2280043016532..."} 
[2026-09-18 18:33:16] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49b51a8012d3ca48006a1c2280043016532..."} 
[2026-09-18 18:33:16] local.INFO: Packet analysis {"connection_id":186230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49b"} 
[2026-09-18 18:33:16] local.INFO: Extracted packet for processing {"connection_id":186230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49b"} 
[2026-09-18 18:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758948992,"raw_latitude":111264296,"longitude_deg":75.8948992,"latitude_deg":11.1264296,"altitude":67,"angle":357,"satellites":50,"speed":37,"hex_longitude":"2d3ca480","hex_latitude":"06a1c228","is_valid_coordinates":true} 
[2026-09-18 18:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172534528001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405668826567409664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370250885635039232,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:16] 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-09-18 18:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789736473000,"timestamp_ms":1789736473000,"timestamp_seconds":1789736473,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49b51a8"} 
[2026-09-18 18:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:33: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-09-18 18:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:33:16] 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-09-18 18:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172534528001,"66":27767,"221":206,"81":47616,"24":37,"16":405668826567409664,"45":4370250885635039232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-18 18:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172534528001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:33:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-18 18:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-18 18:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405668826567409664,"km_value":405668826567409.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370250885635039232,"description":"Unknown IO ID 45"} 
[2026-09-18 18:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172534528001,"power":27767,"unknown_221":206,"unknown_81":47616,"ignition":37,"odometer":null,"unknown_45":4370250885635039232}} 
[2026-09-18 18:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:33:16] local.INFO: GPS data processed {"connection_id":186230,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:33:16] local.INFO: Acknowledgment sent {"connection_id":186230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:33:39] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49cdc30012d181e400721a860004e00ad28..."} 
[2026-09-18 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49cdc30012d181e400721a860004e00ad28..."} 
[2026-09-18 18:33:39] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49cdc30012d181e400721a860004e00ad28..."} 
[2026-09-18 18:33:39] local.INFO: Packet analysis {"connection_id":188977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:33:39] local.INFO: Extracted packet for processing {"connection_id":188977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646304,"longitude_deg":75.6555328,"latitude_deg":11.9646304,"altitude":78,"angle":173,"satellites":40,"speed":10,"hex_longitude":"2d181e40","hex_latitude":"0721a860","is_valid_coordinates":true} 
[2026-09-18 18:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172562688001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21496599079288832,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329468928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789736574000,"timestamp_ms":1789736574000,"timestamp_seconds":1789736574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49cdc30"} 
[2026-09-18 18:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 18:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172562688001,"66":14070,"105":206,"83":41984,"24":10,"16":21496599079288832,"45":1737967274329468928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172562688001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:33:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21496599079288832,"km_value":21496599079288.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329468928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172562688001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737967274329468928}} 
[2026-09-18 18:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":188977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:33:39] local.INFO: GPS data processed {"connection_id":188977,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:33:39] local.INFO: Acknowledgment sent {"connection_id":188977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:33:49] local.INFO: TCP Data received {"connection_id":186230,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49cc8a8012d3c8e0006a34b000042000834..."} 
[2026-09-18 18:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49cc8a8012d3c8e0006a34b000042000834..."} 
[2026-09-18 18:33:49] local.INFO: Processing buffer {"connection_id":186230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49cc8a8012d3c8e0006a34b000042000834..."} 
[2026-09-18 18:33:49] local.INFO: Packet analysis {"connection_id":186230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:33:49] local.INFO: Extracted packet for processing {"connection_id":186230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758943232,"raw_latitude":111364864,"longitude_deg":75.8943232,"latitude_deg":11.1364864,"altitude":66,"angle":8,"satellites":52,"speed":57,"hex_longitude":"2d3c8e00","hex_latitude":"06a34b00","is_valid_coordinates":true} 
[2026-09-18 18:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172559872001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361665898871029760,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405673774369734656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:33:49] 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-09-18 18:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789736569000,"timestamp_ms":1789736569000,"timestamp_seconds":1789736569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49cc8a8"} 
[2026-09-18 18:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 18:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172559872001,"66":27767,"45":4361665898871029760,"81":49664,"24":57,"16":405673774369734656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 18:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172559872001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361665898871029760,"description":"Unknown IO ID 45"} 
[2026-09-18 18:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405673774369734656,"km_value":405673774369734.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:33:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172559872001,"power":27767,"unknown_45":4361665898871029760,"unknown_81":49664,"ignition":57,"odometer":null}} 
[2026-09-18 18:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":186230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:33:49] local.INFO: GPS data processed {"connection_id":186230,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:33:49] local.INFO: Acknowledgment sent {"connection_id":186230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:34:02] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:02] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:02] local.INFO: IMEI packet received {"connection_id":186391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":186391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:34:05] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:05] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:05] local.INFO: IMEI packet received {"connection_id":186391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":186391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:34:09] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:09] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:34:09] local.INFO: IMEI packet received {"connection_id":186391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":186391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:34:09] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:09] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:09] local.INFO: IMEI packet received {"connection_id":186392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":186392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:34:10] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49ce400012d181ec00721a6e0004e009228..."} 
[2026-09-18 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49ce400012d181ec00721a6e0004e009228..."} 
[2026-09-18 18:34:10] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49ce400012d181ec00721a6e0004e009228..."} 
[2026-09-18 18:34:10] local.INFO: Packet analysis {"connection_id":186391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:34:10] local.INFO: Extracted packet for processing {"connection_id":186391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645920,"longitude_deg":75.6555456,"latitude_deg":11.964592,"altitude":78,"angle":146,"satellites":40,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721a6e0","is_valid_coordinates":true} 
[2026-09-18 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172562944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21496616259158016,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585221632,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789736576000,"timestamp_ms":1789736576000,"timestamp_seconds":1789736576,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49ce400"} 
[2026-09-18 18:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 18:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172562944001,"66":14070,"105":206,"83":41984,"24":7,"16":21496616259158016,"45":1737896905585221632},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172562944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:34:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21496616259158016,"km_value":21496616259158.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585221632,"description":"Unknown IO ID 45"} 
[2026-09-18 18:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172562944001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737896905585221632}} 
[2026-09-18 18:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":186391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:34:10] local.INFO: GPS data processed {"connection_id":186391,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:34:10] local.INFO: Acknowledgment sent {"connection_id":186391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:34:11] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:11] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:11] local.INFO: IMEI packet received {"connection_id":186392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":186392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:34:15] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:15] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:34:15] local.INFO: IMEI packet received {"connection_id":186392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:34:15] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49ce400012d3c940006a372480041000835..."} 
[2026-09-18 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49ce400012d3c940006a372480041000835..."} 
[2026-09-18 18:34:15] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49ce400012d3c940006a372480041000835..."} 
[2026-09-18 18:34:15] local.INFO: Packet analysis {"connection_id":186392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:34:15] local.INFO: Extracted packet for processing {"connection_id":186392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758944768,"raw_latitude":111374920,"longitude_deg":75.8944768,"latitude_deg":11.137492,"altitude":65,"angle":8,"satellites":53,"speed":56,"hex_longitude":"2d3c9400","hex_latitude":"06a37248","is_valid_coordinates":true} 
[2026-09-18 18:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172561664001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363425117477994496,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405674268290973696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:15] 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-09-18 18:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789736576000,"timestamp_ms":1789736576000,"timestamp_seconds":1789736576,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49ce400"} 
[2026-09-18 18:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:34:15] 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-09-18 18:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172561664001,"66":27767,"45":4363425117477994496,"81":49664,"24":56,"16":405674268290973696},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-18 18:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172561664001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363425117477994496,"description":"Unknown IO ID 45"} 
[2026-09-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405674268290973696,"km_value":405674268290973.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:34:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458172561664001,"power":27767,"unknown_45":4363425117477994496,"unknown_81":49664,"ignition":56,"odometer":null}} 
[2026-09-18 18:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":186392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:34:15] local.INFO: GPS data processed {"connection_id":186392,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:34:15] local.INFO: Acknowledgment sent {"connection_id":186392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:34:41] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49ce7e8012d181f400721a660004e008228..."} 
[2026-09-18 18:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49ce7e8012d181f400721a660004e008228..."} 
[2026-09-18 18:34:41] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49ce7e8012d181f400721a660004e008228..."} 
[2026-09-18 18:34:41] local.INFO: Packet analysis {"connection_id":186391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:34:41] local.INFO: Extracted packet for processing {"connection_id":186391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645792,"longitude_deg":75.6555584,"latitude_deg":11.9645792,"altitude":78,"angle":130,"satellites":40,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721a660","is_valid_coordinates":true} 
[2026-09-18 18:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172563456001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21496624849092608,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073478656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34: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-09-18 18:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789736577000,"timestamp_ms":1789736577000,"timestamp_seconds":1789736577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49ce7e8"} 
[2026-09-18 18:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 18:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172563456001,"66":14048,"105":206,"83":41984,"24":7,"16":21496624849092608,"45":1738037643073478656},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172563456001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:34:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21496624849092608,"km_value":21496624849092.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073478656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172563456001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073478656}} 
[2026-09-18 18:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":186391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:34:41] local.INFO: GPS data processed {"connection_id":186391,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:34:41] local.INFO: Acknowledgment sent {"connection_id":186391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:34:46] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49dce60012d3ccbc006a4af600030000234..."} 
[2026-09-18 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49dce60012d3ccbc006a4af600030000234..."} 
[2026-09-18 18:34:46] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49dce60012d3ccbc006a4af600030000234..."} 
[2026-09-18 18:34:46] local.INFO: Packet analysis {"connection_id":186392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49d"} 
[2026-09-18 18:34:46] local.INFO: Extracted packet for processing {"connection_id":186392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49d"} 
[2026-09-18 18:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758959040,"raw_latitude":111456096,"longitude_deg":75.895904,"latitude_deg":11.1456096,"altitude":48,"angle":2,"satellites":52,"speed":60,"hex_longitude":"2d3ccbc0","hex_latitude":"06a4af60","is_valid_coordinates":true} 
[2026-09-18 18:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172577792001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405678335625003008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4379750666149021696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789736636000,"timestamp_ms":1789736636000,"timestamp_seconds":1789736636,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49dce60"} 
[2026-09-18 18:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 18:34:46] 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-09-18 18:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172577792001,"66":27843,"235":206,"81":49664,"24":60,"16":405678335625003008,"45":4379750666149021696},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-09-18 18:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172577792001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:34:46] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-18 18:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405678335625003008,"km_value":405678335625003.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4379750666149021696,"description":"Unknown IO ID 45"} 
[2026-09-18 18:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172577792001,"power":27843,"unknown_235":206,"unknown_81":49664,"ignition":60,"odometer":null,"unknown_45":4379750666149021696}} 
[2026-09-18 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":186392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:34:47] local.INFO: GPS data processed {"connection_id":186392,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:34:47] local.INFO: Acknowledgment sent {"connection_id":186392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:08] local.INFO: TCP Data received {"connection_id":187658,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:08] local.INFO: Processing buffer {"connection_id":187658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:08] local.INFO: IMEI packet received {"connection_id":187658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":187658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:35:08] local.INFO: TCP Data received {"connection_id":187658,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:08] local.INFO: Processing buffer {"connection_id":187658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:08] local.INFO: IMEI packet received {"connection_id":187658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":187658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:35:12] local.INFO: TCP Data received {"connection_id":187658,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:12] local.INFO: Processing buffer {"connection_id":187658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:35:12] local.INFO: IMEI packet received {"connection_id":187658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":187658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:35:12] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:12] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:12] local.INFO: IMEI packet received {"connection_id":186231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":186231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:35:12] local.INFO: TCP Data received {"connection_id":187658,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49e1c80012d18c54007214b20004700af27..."} 
[2026-09-18 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49e1c80012d18c54007214b20004700af27..."} 
[2026-09-18 18:35:12] local.INFO: Processing buffer {"connection_id":187658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49e1c80012d18c54007214b20004700af27..."} 
[2026-09-18 18:35:12] local.INFO: Packet analysis {"connection_id":187658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:12] local.INFO: Extracted packet for processing {"connection_id":187658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622432,"longitude_deg":75.659808,"latitude_deg":11.9622432,"altitude":71,"angle":175,"satellites":39,"speed":34,"hex_longitude":"2d18c540","hex_latitude":"07214b20","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172583424001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21499081570385920,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969327616,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789736656000,"timestamp_ms":1789736656000,"timestamp_seconds":1789736656,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e1c80"} 
[2026-09-18 18:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 18:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172583424001,"66":14113,"103":206,"83":41984,"24":34,"16":21499081570385920,"45":1784551382969327616},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172583424001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21499081570385920,"km_value":21499081570385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969327616,"description":"Unknown IO ID 45"} 
[2026-09-18 18:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172583424001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784551382969327616}} 
[2026-09-18 18:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":187658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:35:12] local.INFO: GPS data processed {"connection_id":187658,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:35:12] local.INFO: Acknowledgment sent {"connection_id":187658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:13] local.INFO: TCP Data received {"connection_id":187658,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49e2c20012d18c6c007213db8004600a326..."} 
[2026-09-18 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49e2c20012d18c6c007213db8004600a326..."} 
[2026-09-18 18:35:13] local.INFO: Processing buffer {"connection_id":187658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49e2c20012d18c6c007213db8004600a326..."} 
[2026-09-18 18:35:13] local.INFO: Packet analysis {"connection_id":187658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:13] local.INFO: Extracted packet for processing {"connection_id":187658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119619000,"longitude_deg":75.6598464,"latitude_deg":11.9619,"altitude":70,"angle":163,"satellites":38,"speed":34,"hex_longitude":"2d18c6c0","hex_latitude":"07213db8","is_valid_coordinates":true} 
[2026-09-18 18:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172583936001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21499249074110464,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689789952,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789736660000,"timestamp_ms":1789736660000,"timestamp_seconds":1789736660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e2c20"} 
[2026-09-18 18:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:35: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-09-18 18:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-18 18:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172583936001,"66":14189,"103":206,"83":41984,"24":34,"16":21499249074110464,"45":1784903226689789952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172583936001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:35:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21499249074110464,"km_value":21499249074110.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689789952,"description":"Unknown IO ID 45"} 
[2026-09-18 18:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172583936001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784903226689789952}} 
[2026-09-18 18:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":187658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:35:13] local.INFO: GPS data processed {"connection_id":187658,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:35:13] local.INFO: Acknowledgment sent {"connection_id":187658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:13] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:13] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:13] local.INFO: IMEI packet received {"connection_id":186231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":186231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:35:16] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:16] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:35:16] local.INFO: IMEI packet received {"connection_id":186231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:35:18] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49dde00012d3cca8006a4c6a80031016036..."} 
[2026-09-18 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49dde00012d3cca8006a4c6a80031016036..."} 
[2026-09-18 18:35:18] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49dde00012d3cca8006a4c6a80031016036..."} 
[2026-09-18 18:35:18] local.INFO: Packet analysis {"connection_id":186231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49d"} 
[2026-09-18 18:35:18] local.INFO: Extracted packet for processing {"connection_id":186231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49d"} 
[2026-09-18 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758958720,"raw_latitude":111462056,"longitude_deg":75.895872,"latitude_deg":11.1462056,"altitude":49,"angle":352,"satellites":54,"speed":58,"hex_longitude":"2d3cca80","hex_latitude":"06a4c6a8","is_valid_coordinates":true} 
[2026-09-18 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172578816001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405678623387811840,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4380806197313232896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789736640000,"timestamp_ms":1789736640000,"timestamp_seconds":1789736640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49dde00"} 
[2026-09-18 18:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:35: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-09-18 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-18 18:35:18] 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-09-18 18:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172578816001,"66":27800,"235":206,"81":49664,"24":58,"16":405678623387811840,"45":4380806197313232896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-09-18 18:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172578816001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:35:18] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-18 18:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405678623387811840,"km_value":405678623387811.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4380806197313232896,"description":"Unknown IO ID 45"} 
[2026-09-18 18:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172578816001,"power":27800,"unknown_235":206,"unknown_81":49664,"ignition":58,"odometer":null,"unknown_45":4380806197313232896}} 
[2026-09-18 18:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":186231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:35:18] local.INFO: GPS data processed {"connection_id":186231,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:35:18] local.INFO: Acknowledgment sent {"connection_id":186231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:22] local.INFO: TCP Data received {"connection_id":188978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:35:22] local.INFO: Processing buffer {"connection_id":188978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:35:22] local.INFO: IMEI packet received {"connection_id":188978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":188978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:35:22] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49df958012d3cc48006a4ee780033016034..."} 
[2026-09-18 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49df958012d3cc48006a4ee780033016034..."} 
[2026-09-18 18:35:22] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49df958012d3cc48006a4ee780033016034..."} 
[2026-09-18 18:35:22] local.INFO: Packet analysis {"connection_id":186231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49d"} 
[2026-09-18 18:35:22] local.INFO: Extracted packet for processing {"connection_id":186231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49d"} 
[2026-09-18 18:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758957184,"raw_latitude":111472248,"longitude_deg":75.8957184,"latitude_deg":11.1472248,"altitude":51,"angle":352,"satellites":52,"speed":57,"hex_longitude":"2d3cc480","hex_latitude":"06a4ee78","is_valid_coordinates":true} 
[2026-09-18 18:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172579840001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405679121604018176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4380454353593870336,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789736647000,"timestamp_ms":1789736647000,"timestamp_seconds":1789736647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49df958"} 
[2026-09-18 18:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172579840001,"66":27865,"235":206,"81":49664,"24":57,"16":405679121604018176,"45":4380454353593870336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-09-18 18:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172579840001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:35:22] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-18 18:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405679121604018176,"km_value":405679121604018.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4380454353593870336,"description":"Unknown IO ID 45"} 
[2026-09-18 18:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172579840001,"power":27865,"unknown_235":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4380454353593870336}} 
[2026-09-18 18:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":186231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:35:22] local.INFO: GPS data processed {"connection_id":186231,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:35:22] local.INFO: Acknowledgment sent {"connection_id":186231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:44] local.INFO: TCP Data received {"connection_id":187658,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49e33f0012d18c940072137b80044009628..."} 
[2026-09-18 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49e33f0012d18c940072137b80044009628..."} 
[2026-09-18 18:35:44] local.INFO: Processing buffer {"connection_id":187658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49e33f0012d18c940072137b80044009628..."} 
[2026-09-18 18:35:44] local.INFO: Packet analysis {"connection_id":187658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:44] local.INFO: Extracted packet for processing {"connection_id":187658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119617464,"longitude_deg":75.6599104,"latitude_deg":11.9617464,"altitude":68,"angle":150,"satellites":40,"speed":33,"hex_longitude":"2d18c940","hex_latitude":"072137b8","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172584960001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21499330678489088,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153977344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789736662000,"timestamp_ms":1789736662000,"timestamp_seconds":1789736662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e33f0"} 
[2026-09-18 18:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 18:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172584960001,"66":14080,"103":206,"83":41984,"24":33,"16":21499330678489088,"45":1785325439153977344},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172584960001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:35:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21499330678489088,"km_value":21499330678489.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153977344,"description":"Unknown IO ID 45"} 
[2026-09-18 18:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172584960001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1785325439153977344}} 
[2026-09-18 18:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":187658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:35:44] local.INFO: GPS data processed {"connection_id":187658,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:35:44] local.INFO: Acknowledgment sent {"connection_id":187658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:54] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:35:54] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:35:54] local.INFO: IMEI packet received {"connection_id":188979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":188979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:35:55] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49e14b0012d3cbf4006a514080036015f33..."} 
[2026-09-18 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49e14b0012d3cbf4006a514080036015f33..."} 
[2026-09-18 18:35:55] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49e14b0012d3cbf4006a514080036015f33..."} 
[2026-09-18 18:35:55] local.INFO: Packet analysis {"connection_id":186231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:55] local.INFO: Extracted packet for processing {"connection_id":186231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758955840,"raw_latitude":111481864,"longitude_deg":75.895584,"latitude_deg":11.1481864,"altitude":54,"angle":351,"satellites":51,"speed":53,"hex_longitude":"2d3cbf40","hex_latitude":"06a51408","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172581632001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405679594050420736,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378765503736215552,"note":"Value kept but may cause issues"} 
[2026-09-18 18:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789736654000,"timestamp_ms":1789736654000,"timestamp_seconds":1789736654,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e14b0"} 
[2026-09-18 18:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:35:55] 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-09-18 18: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-09-18 18:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172581632001,"66":27865,"40":206,"81":49664,"24":53,"16":405679594050420736,"45":4378765503736215552},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-18 18:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172581632001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:35:55] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-18 18:35:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405679594050420736,"km_value":405679594050420.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378765503736215552,"description":"Unknown IO ID 45"} 
[2026-09-18 18:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172581632001,"power":27865,"unknown_40":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4378765503736215552}} 
[2026-09-18 18:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":186231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:35:55] local.INFO: GPS data processed {"connection_id":186231,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:35:55] local.INFO: Acknowledgment sent {"connection_id":186231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:35:59] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:35:59] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:35:59] local.INFO: IMEI packet received {"connection_id":188979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":188979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:36:00] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4985fc0012d7e01c005d50c700002012330..."} 
[2026-09-18 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4985fc0012d7e01c005d50c700002012330..."} 
[2026-09-18 18:36:00] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4985fc0012d7e01c005d50c700002012330..."} 
[2026-09-18 18:36:00] local.INFO: Packet analysis {"connection_id":188979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:36:00] local.INFO: Extracted packet for processing {"connection_id":188979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":97848432,"longitude_deg":76.3232704,"latitude_deg":9.7848432,"altitude":2,"angle":291,"satellites":48,"speed":0,"hex_longitude":"2d7e01c0","hex_latitude":"05d50c70","is_valid_coordinates":true} 
[2026-09-18 18:36: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-09-18 18:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172483584001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878671927246848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037177856,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789736280000,"timestamp_ms":1789736280000,"timestamp_seconds":1789736280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4985fc0"} 
[2026-09-18 18:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-18 18:36:00] 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-09-18 18: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-09-18 18:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172483584001,"66":13254,"111":206,"85":15104,"24":0,"16":134878671927246848,"45":9079749455037177856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172483584001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878671927246848,"km_value":134878671927246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037177856,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172483584001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079749455037177856}} 
[2026-09-18 18:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":188979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:00] local.INFO: GPS data processed {"connection_id":188979,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:00] local.INFO: Acknowledgment sent {"connection_id":188979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:03] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:03] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:03] local.INFO: IMEI packet received {"connection_id":186393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":186393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:36:06] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:06] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:06] local.INFO: IMEI packet received {"connection_id":186393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":186393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:36:06] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49e4f48012d18d24007212650004200ac29..."} 
[2026-09-18 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49e4f48012d18d24007212650004200ac29..."} 
[2026-09-18 18:36:06] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49e4f48012d18d24007212650004200ac29..."} 
[2026-09-18 18:36:06] local.INFO: Packet analysis {"connection_id":186393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:06] local.INFO: Extracted packet for processing {"connection_id":186393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613008,"longitude_deg":75.6601408,"latitude_deg":11.9613008,"altitude":66,"angle":172,"satellites":41,"speed":28,"hex_longitude":"2d18d240","hex_latitude":"07212650","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172585472001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21499575491624960,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595360768,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789736669000,"timestamp_ms":1789736669000,"timestamp_seconds":1789736669,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e4f48"} 
[2026-09-18 18:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3030232864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2649339905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3221692785,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,97,160,44,45,192,61,70,38,10,66,28,64,75,71,39,20,1,240,77,227,180,33,4,113,205,29,225,172,136,43,239,55,2,76,7],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 18:36:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900081493124120576,"timestamp_seconds":4900081493124121.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172585472001,"66":14070,"103":206,"83":41984,"24":28,"16":21499575491624960,"45":1786029126595360768},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172585472001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21499575491624960,"km_value":21499575491624.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595360768,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172585472001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1786029126595360768}} 
[2026-09-18 18:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":186393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:07] local.INFO: GPS data processed {"connection_id":186393,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:07] local.INFO: Acknowledgment sent {"connection_id":186393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:15] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:15] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:15] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:36:19] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:19] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:19] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:36:21] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:21] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:36:21] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:36:22] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.0","data_length":1348,"data_hex":"000000000000030f8e0a000001a0b49e3008012d3cba4006a537700038015e33..."} 
[2026-09-18 18:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0b49e3008012d3cba4006a537700038015e33..."} 
[2026-09-18 18:36:22] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0b49e3008012d3cba4006a537700038015e33..."} 
[2026-09-18 18:36:22] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:22] local.INFO: Extracted packet for processing {"connection_id":186232,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:22] local.INFO: GPS Element Parsed {"raw_longitude":758954560,"raw_latitude":111490928,"longitude_deg":75.895456,"latitude_deg":11.1490928,"altitude":56,"angle":350,"satellites":51,"speed":50,"hex_longitude":"2d3cba40","hex_latitude":"06a53770","is_valid_coordinates":true} 
[2026-09-18 18:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172583424001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405680036432052224,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4377287760110946304,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:22] 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-09-18 18:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789736661000,"timestamp_ms":1789736661000,"timestamp_seconds":1789736661,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e3008"} 
[2026-09-18 18:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172583424001,"66":27800,"40":206,"81":49664,"24":50,"16":405680036432052224,"45":4377287760110946304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-18 18:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172583424001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405680036432052224,"km_value":405680036432052.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4377287760110946304,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172583424001,"power":27800,"unknown_40":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4377287760110946304}} 
[2026-09-18 18:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":186232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:22] local.INFO: GPS data processed {"connection_id":186232,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:22] local.INFO: Acknowledgment sent {"connection_id":186232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:22] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:22] local.INFO: Incomplete packet, waiting for more data {"connection_id":186232,"needed":795,"available":553} 
[2026-09-18 18:36:31] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4985fc0012d7e01c005d50c700002012330..."} 
[2026-09-18 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4985fc0012d7e01c005d50c700002012330..."} 
[2026-09-18 18:36:31] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4985fc0012d7e01c005d50c700002012330..."} 
[2026-09-18 18:36:31] local.INFO: Packet analysis {"connection_id":188979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:36:31] local.INFO: Extracted packet for processing {"connection_id":188979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":97848432,"longitude_deg":76.3232704,"latitude_deg":9.7848432,"altitude":2,"angle":291,"satellites":48,"speed":0,"hex_longitude":"2d7e01c0","hex_latitude":"05d50c70","is_valid_coordinates":true} 
[2026-09-18 18:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172487680001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878671927246848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037362176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789736280000,"timestamp_ms":1789736280000,"timestamp_seconds":1789736280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4985fc0"} 
[2026-09-18 18:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 18:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172487680001,"66":13254,"111":206,"85":15104,"24":0,"16":134878671927246848,"45":9079749455037362176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172487680001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878671927246848,"km_value":134878671927246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037362176,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172487680001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079749455037362176}} 
[2026-09-18 18:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":188979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:31] local.INFO: GPS data processed {"connection_id":188979,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:31] local.INFO: Acknowledgment sent {"connection_id":188979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:35] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.0","data_length":1037,"data_hex":"000000000001a0b49dbec0012d3cc80006a497c80031001032003c0000000a00..."} 
[2026-09-18 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":1037,"packet_hex":"000000000001a0b49dbec0012d3cc80006a497c80031001032003c0000000a00..."} 
[2026-09-18 18:36:35] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b49e4778012d3cb28006a553680038015233..."} 
[2026-09-18 18:36:35] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:35] local.INFO: Extracted packet for processing {"connection_id":186232,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758952576,"raw_latitude":111498088,"longitude_deg":75.8952576,"latitude_deg":11.1498088,"altitude":56,"angle":338,"satellites":51,"speed":47,"hex_longitude":"2d3cb280","hex_latitude":"06a55368","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172585216001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405680397209305088,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4375880385229713408,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:35] 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-09-18 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789736667000,"timestamp_ms":1789736667000,"timestamp_seconds":1789736667,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e4778"} 
[2026-09-18 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-18 18:36: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-09-18 18: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-09-18 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:36: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-09-18 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172585216001,"66":27876,"40":206,"81":49664,"24":47,"16":405680397209305088,"45":4375880385229713408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-18 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172585216001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405680397209305088,"km_value":405680397209305.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4375880385229713408,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172585216001,"power":27876,"unknown_40":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4375880385229713408}} 
[2026-09-18 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":186232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:35] local.INFO: GPS data processed {"connection_id":186232,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:35] local.INFO: Acknowledgment sent {"connection_id":186232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:35] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:35] local.INFO: Extracted packet for processing {"connection_id":186232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49e"} 
[2026-09-18 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758948160,"raw_latitude":111506224,"longitude_deg":75.894816,"latitude_deg":11.1506224,"altitude":60,"angle":328,"satellites":51,"speed":44,"hex_longitude":"2d3ca140","hex_latitude":"06a57330","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172586752001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405680848180871168,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373698954162038784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:35] 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-09-18 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789736675000,"timestamp_ms":1789736675000,"timestamp_seconds":1789736675,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49e66b8"} 
[2026-09-18 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-18 18:36: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-09-18 18: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-09-18 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:36: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-09-18 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172586752001,"66":27767,"40":206,"81":49664,"24":44,"16":405680848180871168,"45":4373698954162038784},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-18 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172586752001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405680848180871168,"km_value":405680848180871.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373698954162038784,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172586752001,"power":27767,"unknown_40":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":4373698954162038784}} 
[2026-09-18 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":186232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:35] local.INFO: GPS data processed {"connection_id":186232,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:35] local.INFO: Acknowledgment sent {"connection_id":186232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:38] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49f4560012d1956400720ab200025005a24..."} 
[2026-09-18 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49f4560012d1956400720ab200025005a24..."} 
[2026-09-18 18:36:38] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49f4560012d1956400720ab200025005a24..."} 
[2026-09-18 18:36:38] local.INFO: Packet analysis {"connection_id":186393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49f"} 
[2026-09-18 18:36:38] local.INFO: Extracted packet for processing {"connection_id":186393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49f"} 
[2026-09-18 18:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756635200,"raw_latitude":119581472,"longitude_deg":75.66352,"latitude_deg":11.9581472,"altitude":37,"angle":90,"satellites":36,"speed":30,"hex_longitude":"2d195640","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172602368001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21501989263245312,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822902348535406592,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36: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-09-18 18:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789736732000,"timestamp_ms":1789736732000,"timestamp_seconds":1789736732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49f4560"} 
[2026-09-18 18:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 18:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172602368001,"66":14243,"103":206,"83":41984,"24":30,"16":21501989263245312,"45":1822902348535406592},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172602368001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21501989263245312,"km_value":21501989263245.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822902348535406592,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172602368001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1822902348535406592}} 
[2026-09-18 18:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":186393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:38] local.INFO: GPS data processed {"connection_id":186393,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:38] local.INFO: Acknowledgment sent {"connection_id":186393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:43] local.INFO: TCP Data received {"connection_id":187659,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:36:43] local.INFO: Processing buffer {"connection_id":187659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:36:43] local.INFO: IMEI packet received {"connection_id":187659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":187659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:36:48] local.INFO: TCP Data received {"connection_id":187659,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:36:48] local.INFO: Processing buffer {"connection_id":187659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:36:48] local.INFO: IMEI packet received {"connection_id":187659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":187659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:36:49] local.INFO: TCP Data received {"connection_id":187659,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4987348012d7e01c005d50c98000201232f..."} 
[2026-09-18 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4987348012d7e01c005d50c98000201232f..."} 
[2026-09-18 18:36:49] local.INFO: Processing buffer {"connection_id":187659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4987348012d7e01c005d50c98000201232f..."} 
[2026-09-18 18:36:49] local.INFO: Packet analysis {"connection_id":187659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:36:49] local.INFO: Extracted packet for processing {"connection_id":187659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":97848472,"longitude_deg":76.3232704,"latitude_deg":9.7848472,"altitude":2,"angle":291,"satellites":47,"speed":0,"hex_longitude":"2d7e01c0","hex_latitude":"05d50c98","is_valid_coordinates":true} 
[2026-09-18 18:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172487680001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878671927246848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037362176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789736285000,"timestamp_ms":1789736285000,"timestamp_seconds":1789736285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4987348"} 
[2026-09-18 18:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 18:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172487680001,"66":13243,"111":206,"85":15104,"24":0,"16":134878671927246848,"45":9079749455037362176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172487680001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:36:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878671927246848,"km_value":134878671927246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037362176,"description":"Unknown IO ID 45"} 
[2026-09-18 18:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172487680001,"power":13243,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079749455037362176}} 
[2026-09-18 18:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":187659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:36:49] local.INFO: GPS data processed {"connection_id":187659,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:36:49] local.INFO: Acknowledgment sent {"connection_id":187659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:36:59] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:59] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:36:59] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:37:00] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:00] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:00] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:37:03] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:03] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:03] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:37:08] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:08] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:37:08] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:37:08] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a000e0012d19ae0007209050002800c328..."} 
[2026-09-18 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a000e0012d19ae0007209050002800c328..."} 
[2026-09-18 18:37:08] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a000e0012d19ae0007209050002800c328..."} 
[2026-09-18 18:37:08] local.INFO: Packet analysis {"connection_id":186233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a0"} 
[2026-09-18 18:37:08] local.INFO: Extracted packet for processing {"connection_id":186233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a0"} 
[2026-09-18 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574608,"longitude_deg":75.6657664,"latitude_deg":11.9574608,"altitude":40,"angle":195,"satellites":40,"speed":24,"hex_longitude":"2d19ae00","hex_latitude":"07209050","is_valid_coordinates":true} 
[2026-09-18 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172613632001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21503608465915904,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484338688,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37: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-09-18 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789736780000,"timestamp_ms":1789736780000,"timestamp_seconds":1789736780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a000e0"} 
[2026-09-18 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172613632001,"66":14233,"103":206,"83":41984,"24":24,"16":21503608465915904,"45":1853723858484338688},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172613632001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:37:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:37:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21503608465915904,"km_value":21503608465915.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484338688,"description":"Unknown IO ID 45"} 
[2026-09-18 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172613632001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853723858484338688}} 
[2026-09-18 18:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":186233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:37:09] local.INFO: GPS data processed {"connection_id":186233,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:37:09] local.INFO: Acknowledgment sent {"connection_id":186233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:37:11] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:37:11] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:37:11] local.INFO: IMEI packet received {"connection_id":186394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":186394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:37:16] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:37:16] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:37:16] local.INFO: IMEI packet received {"connection_id":186394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":186394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:37:16] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49fc260012d3bbbc006a6c878003f014e2e..."} 
[2026-09-18 18:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49fc260012d3bbbc006a6c878003f014e2e..."} 
[2026-09-18 18:37:16] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49fc260012d3bbbc006a6c878003f014e2e..."} 
[2026-09-18 18:37:16] local.INFO: Packet analysis {"connection_id":186394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49f"} 
[2026-09-18 18:37:16] local.INFO: Extracted packet for processing {"connection_id":186394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49f"} 
[2026-09-18 18:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758889408,"raw_latitude":111593592,"longitude_deg":75.8889408,"latitude_deg":11.1593592,"altitude":63,"angle":334,"satellites":46,"speed":53,"hex_longitude":"2d3bbbc0","hex_latitude":"06a6c878","is_valid_coordinates":true} 
[2026-09-18 18:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172609792001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405685933422149632,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4308818972052490240,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:16] 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-09-18 18:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789736764000,"timestamp_ms":1789736764000,"timestamp_seconds":1789736764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49fc260"} 
[2026-09-18 18:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:37: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-09-18 18:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-18 18:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172609792001,"66":27745,"101":206,"81":49664,"24":53,"16":405685933422149632,"45":4308818972052490240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-18 18:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172609792001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:37:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405685933422149632,"km_value":405685933422149.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4308818972052490240,"description":"Unknown IO ID 45"} 
[2026-09-18 18:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172609792001,"power":27745,"unknown_101":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4308818972052490240}} 
[2026-09-18 18:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:37:16] local.INFO: GPS data processed {"connection_id":186394,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:37:16] local.INFO: Acknowledgment sent {"connection_id":186394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:37:20] local.INFO: TCP Data received {"connection_id":187659,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4987348012d7e01c005d50c98000201232f..."} 
[2026-09-18 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4987348012d7e01c005d50c98000201232f..."} 
[2026-09-18 18:37:20] local.INFO: Processing buffer {"connection_id":187659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4987348012d7e01c005d50c98000201232f..."} 
[2026-09-18 18:37:20] local.INFO: Packet analysis {"connection_id":187659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:37:20] local.INFO: Extracted packet for processing {"connection_id":187659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b498"} 
[2026-09-18 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":97848472,"longitude_deg":76.3232704,"latitude_deg":9.7848472,"altitude":2,"angle":291,"satellites":47,"speed":0,"hex_longitude":"2d7e01c0","hex_latitude":"05d50c98","is_valid_coordinates":true} 
[2026-09-18 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172488960001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878671927246848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037372416,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789736285000,"timestamp_ms":1789736285000,"timestamp_seconds":1789736285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4987348"} 
[2026-09-18 18:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172488960001,"66":13243,"111":206,"85":15104,"24":0,"16":134878671927246848,"45":9079749455037372416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172488960001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:37:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878671927246848,"km_value":134878671927246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037372416,"description":"Unknown IO ID 45"} 
[2026-09-18 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172488960001,"power":13243,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079749455037372416}} 
[2026-09-18 18:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":187659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:37:20] local.INFO: GPS data processed {"connection_id":187659,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:37:20] local.INFO: Acknowledgment sent {"connection_id":187659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:37:40] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a004c8012d19ad8007208de0002800b828..."} 
[2026-09-18 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a004c8012d19ad8007208de0002800b828..."} 
[2026-09-18 18:37:40] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a004c8012d19ad8007208de0002800b828..."} 
[2026-09-18 18:37:40] local.INFO: Packet analysis {"connection_id":186233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a0"} 
[2026-09-18 18:37:40] local.INFO: Extracted packet for processing {"connection_id":186233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a0"} 
[2026-09-18 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119573984,"longitude_deg":75.6657536,"latitude_deg":11.9573984,"altitude":40,"angle":184,"satellites":40,"speed":24,"hex_longitude":"2d19ad80","hex_latitude":"07208de0","is_valid_coordinates":true} 
[2026-09-18 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172615680001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21503638530686976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506952192,"note":"Value kept but may cause issues"} 
[2026-09-18 18:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789736781000,"timestamp_ms":1789736781000,"timestamp_seconds":1789736781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a004c8"} 
[2026-09-18 18:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-18 18:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172615680001,"66":14157,"103":206,"83":41984,"24":24,"16":21503638530686976,"45":1850416527506952192},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172615680001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:37:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:37:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21503638530686976,"km_value":21503638530686.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506952192,"description":"Unknown IO ID 45"} 
[2026-09-18 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172615680001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1850416527506952192}} 
[2026-09-18 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":186233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:37:40] local.INFO: GPS data processed {"connection_id":186233,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:37:40] local.INFO: Acknowledgment sent {"connection_id":186233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:38:01] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49fddb8012d3baa8006a6ead0003c014b2f..."} 
[2026-09-18 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49fddb8012d3baa8006a6ead0003c014b2f..."} 
[2026-09-18 18:38:01] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49fddb8012d3baa8006a6ead0003c014b2f..."} 
[2026-09-18 18:38:01] local.INFO: Packet analysis {"connection_id":186394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49f"} 
[2026-09-18 18:38:01] local.INFO: Extracted packet for processing {"connection_id":186394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49f"} 
[2026-09-18 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":758884992,"raw_latitude":111602384,"longitude_deg":75.8884992,"latitude_deg":11.1602384,"altitude":60,"angle":331,"satellites":47,"speed":56,"hex_longitude":"2d3baa80","hex_latitude":"06a6ead0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172611584001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405686410163519488,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4304245003683133440,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:01] 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-09-18 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789736771000,"timestamp_ms":1789736771000,"timestamp_seconds":1789736771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49fddb8"} 
[2026-09-18 18:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:38: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-09-18 18: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-09-18 18:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:38: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-09-18 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172611584001,"66":27713,"101":206,"81":49664,"24":56,"16":405686410163519488,"45":4304245003683133440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-18 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172611584001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405686410163519488,"km_value":405686410163519.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4304245003683133440,"description":"Unknown IO ID 45"} 
[2026-09-18 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172611584001,"power":27713,"unknown_101":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":4304245003683133440}} 
[2026-09-18 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":186394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:38:01] local.INFO: GPS data processed {"connection_id":186394,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:38:01] local.INFO: Acknowledgment sent {"connection_id":186394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:38:03] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: IMEI packet received {"connection_id":186234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":186234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:38:03] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: IMEI packet received {"connection_id":186234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":186234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:38:03] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:03] local.INFO: IMEI packet received {"connection_id":186234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":186234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:38:04] local.INFO: TCP Data received {"connection_id":186234,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:04] local.INFO: Processing buffer {"connection_id":186234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:38:04] local.INFO: IMEI packet received {"connection_id":186234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":186234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:38:11] local.INFO: TCP Data received {"connection_id":186396,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:11] local.INFO: Processing buffer {"connection_id":186396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:11] local.INFO: IMEI packet received {"connection_id":186396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":186396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:38:14] local.INFO: TCP Data received {"connection_id":186396,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:14] local.INFO: Processing buffer {"connection_id":186396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:14] local.INFO: IMEI packet received {"connection_id":186396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":186396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:38:16] local.INFO: TCP Data received {"connection_id":186396,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:16] local.INFO: Processing buffer {"connection_id":186396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:38:16] local.INFO: IMEI packet received {"connection_id":186396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:38:18] local.INFO: TCP Data received {"connection_id":186396,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a0e758012d3a564006a74e20001f011632..."} 
[2026-09-18 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a0e758012d3a564006a74e20001f011632..."} 
[2026-09-18 18:38:18] local.INFO: Processing buffer {"connection_id":186396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a0e758012d3a564006a74e20001f011632..."} 
[2026-09-18 18:38:18] local.INFO: Packet analysis {"connection_id":186396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a0"} 
[2026-09-18 18:38:18] local.INFO: Extracted packet for processing {"connection_id":186396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a0"} 
[2026-09-18 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758797888,"raw_latitude":111627808,"longitude_deg":75.8797888,"latitude_deg":11.1627808,"altitude":31,"angle":278,"satellites":50,"speed":57,"hex_longitude":"2d3a5640","hex_latitude":"06a74e20","is_valid_coordinates":true} 
[2026-09-18 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172628992001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405690842569768960,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4214524854864975872,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789736839000,"timestamp_ms":1789736839000,"timestamp_seconds":1789736839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a0e758"} 
[2026-09-18 18:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:38: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-09-18 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 18:38:18] 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-09-18 18:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172628992001,"66":27213,"186":206,"81":49664,"24":57,"16":405690842569768960,"45":4214524854864975872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-18 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172628992001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:38:18] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 18:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405690842569768960,"km_value":405690842569768.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4214524854864975872,"description":"Unknown IO ID 45"} 
[2026-09-18 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172628992001,"power":27213,"unknown_186":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4214524854864975872}} 
[2026-09-18 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":186396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:38:18] local.INFO: GPS data processed {"connection_id":186396,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:38:18] local.INFO: Acknowledgment sent {"connection_id":186396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:38:51] local.INFO: TCP Data received {"connection_id":186396,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a102b0012d3a2f8006a75458001d011834..."} 
[2026-09-18 18:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a102b0012d3a2f8006a75458001d011834..."} 
[2026-09-18 18:38:51] local.INFO: Processing buffer {"connection_id":186396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a102b0012d3a2f8006a75458001d011834..."} 
[2026-09-18 18:38:51] local.INFO: Packet analysis {"connection_id":186396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a1"} 
[2026-09-18 18:38:51] local.INFO: Extracted packet for processing {"connection_id":186396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a1"} 
[2026-09-18 18:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758787968,"raw_latitude":111629400,"longitude_deg":75.8787968,"latitude_deg":11.16294,"altitude":29,"angle":280,"satellites":52,"speed":54,"hex_longitude":"2d3a2f80","hex_latitude":"06a75458","is_valid_coordinates":true} 
[2026-09-18 18:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172630784001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405691319311138816,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4203617699517833216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:38:51] 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-09-18 18:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789736846000,"timestamp_ms":1789736846000,"timestamp_seconds":1789736846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a102b0"} 
[2026-09-18 18:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 18:38:51] 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-09-18 18:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172630784001,"66":27365,"238":206,"81":49664,"24":54,"16":405691319311138816,"45":4203617699517833216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 18:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172630784001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:38:51] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 18:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405691319311138816,"km_value":405691319311138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4203617699517833216,"description":"Unknown IO ID 45"} 
[2026-09-18 18:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172630784001,"power":27365,"unknown_238":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4203617699517833216}} 
[2026-09-18 18:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":186396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:38:51] local.INFO: GPS data processed {"connection_id":186396,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:38:51] local.INFO: Acknowledgment sent {"connection_id":186396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:39:15] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:15] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:15] local.INFO: IMEI packet received {"connection_id":188980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":188980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:39:16] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:16] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:16] local.INFO: IMEI packet received {"connection_id":188980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":188980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:39:21] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:21] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:39:21] local.INFO: IMEI packet received {"connection_id":188980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":188980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:39:23] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a11a20012d3a110006a75d80001d01262f..."} 
[2026-09-18 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a11a20012d3a110006a75d80001d01262f..."} 
[2026-09-18 18:39:23] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a11a20012d3a110006a75d80001d01262f..."} 
[2026-09-18 18:39:23] local.INFO: Packet analysis {"connection_id":188980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a1"} 
[2026-09-18 18:39:23] local.INFO: Extracted packet for processing {"connection_id":188980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a1"} 
[2026-09-18 18:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758780160,"raw_latitude":111631744,"longitude_deg":75.878016,"latitude_deg":11.1631744,"altitude":29,"angle":294,"satellites":47,"speed":52,"hex_longitude":"2d3a1100","hex_latitude":"06a75d80","is_valid_coordinates":true} 
[2026-09-18 18:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172632576001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405691714448130048,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4192710544170702848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:23] 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-09-18 18:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789736852000,"timestamp_ms":1789736852000,"timestamp_seconds":1789736852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a11a20"} 
[2026-09-18 18:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 18:39:23] 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-09-18 18:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172632576001,"66":27104,"238":206,"81":49664,"24":52,"16":405691714448130048,"45":4192710544170702848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 18:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172632576001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:39:23] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 18:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405691714448130048,"km_value":405691714448130.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4192710544170702848,"description":"Unknown IO ID 45"} 
[2026-09-18 18:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172632576001,"power":27104,"unknown_238":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4192710544170702848}} 
[2026-09-18 18:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":188980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:39:23] local.INFO: GPS data processed {"connection_id":188980,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:39:23] local.INFO: Acknowledgment sent {"connection_id":188980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:39:27] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a129c0012d39ff4006a767f0001c013335..."} 
[2026-09-18 18:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a129c0012d39ff4006a767f0001c013335..."} 
[2026-09-18 18:39:27] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a129c0012d39ff4006a767f0001c013335..."} 
[2026-09-18 18:39:27] local.INFO: Packet analysis {"connection_id":188980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a1"} 
[2026-09-18 18:39:27] local.INFO: Extracted packet for processing {"connection_id":188980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a1"} 
[2026-09-18 18:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758775616,"raw_latitude":111634416,"longitude_deg":75.8775616,"latitude_deg":11.1634416,"altitude":28,"angle":307,"satellites":53,"speed":50,"hex_longitude":"2d39ff40","hex_latitude":"06a767f0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172634112001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405691963556233216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4184125557381627904,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:27] 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-09-18 18:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789736856000,"timestamp_ms":1789736856000,"timestamp_seconds":1789736856,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a129c0"} 
[2026-09-18 18:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 18:39:27] 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-09-18 18: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-09-18 18:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172634112001,"66":27234,"238":206,"81":49664,"24":50,"16":405691963556233216,"45":4184125557381627904},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-09-18 18:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172634112001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:39:27] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-18 18:39:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405691963556233216,"km_value":405691963556233.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4184125557381627904,"description":"Unknown IO ID 45"} 
[2026-09-18 18:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172634112001,"power":27234,"unknown_238":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4184125557381627904}} 
[2026-09-18 18:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":188980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:39:27] local.INFO: GPS data processed {"connection_id":188980,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:39:27] local.INFO: Acknowledgment sent {"connection_id":188980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:39:44] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:39:44] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:39:44] local.INFO: IMEI packet received {"connection_id":186397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-18 18:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":186397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:39:49] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:39:49] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-18 18:39:49] local.INFO: IMEI packet received {"connection_id":186397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-18 18:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":186397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:39:50] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49cfb70012d7e010005d50cb80002012330..."} 
[2026-09-18 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49cfb70012d7e010005d50cb80002012330..."} 
[2026-09-18 18:39:50] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49cfb70012d7e010005d50cb80002012330..."} 
[2026-09-18 18:39:50] local.INFO: Packet analysis {"connection_id":186397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:39:50] local.INFO: Extracted packet for processing {"connection_id":186397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848504,"longitude_deg":76.3232512,"latitude_deg":9.7848504,"altitude":2,"angle":291,"satellites":48,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cb8","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172488960001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878671927246848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037372416,"note":"Value kept but may cause issues"} 
[2026-09-18 18:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789736582000,"timestamp_ms":1789736582000,"timestamp_seconds":1789736582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49cfb70"} 
[2026-09-18 18:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18: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":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172488960001,"66":2514,"111":206,"85":15104,"24":0,"16":134878671927246848,"45":9079749455037372416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172488960001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:39:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878671927246848,"km_value":134878671927246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037372416,"description":"Unknown IO ID 45"} 
[2026-09-18 18:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172488960001,"power":2514,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079749455037372416}} 
[2026-09-18 18:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":186397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:39:50] local.INFO: GPS data processed {"connection_id":186397,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:39:50] local.INFO: Acknowledgment sent {"connection_id":186397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:40:10] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:10] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:10] local.INFO: IMEI packet received {"connection_id":188982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":188982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:40:12] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:12] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:12] local.INFO: IMEI packet received {"connection_id":188982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":188982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:40:15] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:15] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:40:15] local.INFO: IMEI packet received {"connection_id":188982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":188982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:40:17] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.109.136.0","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b4..."} 
[2026-09-18 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b4..."} 
[2026-09-18 18:40:17] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0b4..."} 
[2026-09-18 18:40:17] local.INFO: IMEI packet received {"connection_id":188982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":188982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:40:20] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b49cfb70012d7e010005d50cb80002012330..."} 
[2026-09-18 18:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b49cfb70012d7e010005d50cb80002012330..."} 
[2026-09-18 18:40:20] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b49cfb70012d7e010005d50cb80002012330..."} 
[2026-09-18 18:40:20] local.INFO: Packet analysis {"connection_id":186397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:40:20] local.INFO: Extracted packet for processing {"connection_id":186397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b49c"} 
[2026-09-18 18:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848504,"longitude_deg":76.3232512,"latitude_deg":9.7848504,"altitude":2,"angle":291,"satellites":48,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cb8","is_valid_coordinates":true} 
[2026-09-18 18:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172488960001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878671927246848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037372416,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789736582000,"timestamp_ms":1789736582000,"timestamp_seconds":1789736582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b49cfb70"} 
[2026-09-18 18:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-18 18:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-18 18:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-18 18:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-18 18:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172488960001,"66":2514,"111":206,"85":15104,"24":0,"16":134878671927246848,"45":9079749455037372416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-18 18:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-18 18:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-18 18:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172488960001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:40:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-18 18:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-18 18:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878671927246848,"km_value":134878671927246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037372416,"description":"Unknown IO ID 45"} 
[2026-09-18 18:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172488960001,"power":2514,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079749455037372416}} 
[2026-09-18 18:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":186397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:40:20] local.INFO: GPS data processed {"connection_id":186397,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:40:20] local.INFO: Acknowledgment sent {"connection_id":186397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:40:22] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a2b060012d39668006a87988000c015429..."} 
[2026-09-18 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a2b060012d39668006a87988000c015429..."} 
[2026-09-18 18:40:22] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b4a2ac78012d39680006a876a8000c01482a..."} 
[2026-09-18 18:40:22] local.INFO: Packet analysis {"connection_id":188982,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:40:22] local.INFO: Extracted packet for processing {"connection_id":188982,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758736896,"raw_latitude":111703720,"longitude_deg":75.8736896,"latitude_deg":11.170372,"altitude":12,"angle":328,"satellites":42,"speed":30,"hex_longitude":"2d396800","hex_latitude":"06a876a8","is_valid_coordinates":true} 
[2026-09-18 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172660224001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405695970760720384,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4137048867545040896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:22] 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-09-18 18:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789736955000,"timestamp_ms":1789736955000,"timestamp_seconds":1789736955,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a2ac78"} 
[2026-09-18 18:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 18:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172660224001,"66":27234,"239":206,"81":49664,"24":30,"16":405695970760720384,"45":4137048867545040896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172660224001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405695970760720384,"km_value":405695970760720.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4137048867545040896,"description":"Unknown IO ID 45"} 
[2026-09-18 18:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172660224001,"power":27234,"unknown_239":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4137048867545040896}} 
[2026-09-18 18:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":188982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:40:22] local.INFO: GPS data processed {"connection_id":188982,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:40:22] local.INFO: Acknowledgment sent {"connection_id":188982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:40:22] local.INFO: Packet analysis {"connection_id":188982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:40:22] local.INFO: Extracted packet for processing {"connection_id":188982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758736512,"raw_latitude":111704456,"longitude_deg":75.8736512,"latitude_deg":11.1704456,"altitude":12,"angle":340,"satellites":41,"speed":34,"hex_longitude":"2d396680","hex_latitude":"06a87988","is_valid_coordinates":true} 
[2026-09-18 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172660480001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405696009415426048,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4136556286335952896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:22] 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-09-18 18:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789736956000,"timestamp_ms":1789736956000,"timestamp_seconds":1789736956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a2b060"} 
[2026-09-18 18:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 18:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172660480001,"66":27006,"239":206,"81":49664,"24":34,"16":405696009415426048,"45":4136556286335952896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 18:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172660480001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405696009415426048,"km_value":405696009415426.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4136556286335952896,"description":"Unknown IO ID 45"} 
[2026-09-18 18:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172660480001,"power":27006,"unknown_239":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4136556286335952896}} 
[2026-09-18 18:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":188982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:40:22] local.INFO: GPS data processed {"connection_id":188982,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:40:22] local.INFO: Acknowledgment sent {"connection_id":188982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:40:56] local.INFO: TCP Data received {"connection_id":186395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:40:56] local.INFO: Processing buffer {"connection_id":186395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:40:56] local.INFO: IMEI packet received {"connection_id":186395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":186395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:40:59] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a2b830012d39650006a88050000d01632b..."} 
[2026-09-18 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a2b830012d39650006a88050000d01632b..."} 
[2026-09-18 18:40:59] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a2b830012d39650006a88050000d01632b..."} 
[2026-09-18 18:40:59] local.INFO: Packet analysis {"connection_id":188982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:40:59] local.INFO: Extracted packet for processing {"connection_id":188982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758736128,"raw_latitude":111706192,"longitude_deg":75.8736128,"latitude_deg":11.1706192,"altitude":13,"angle":355,"satellites":43,"speed":35,"hex_longitude":"2d396500","hex_latitude":"06a88050","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172660736001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405696095314771968,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4136134073871075328,"note":"Value kept but may cause issues"} 
[2026-09-18 18:40:59] 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-09-18 18:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789736958000,"timestamp_ms":1789736958000,"timestamp_seconds":1789736958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a2b830"} 
[2026-09-18 18:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-09-18 18:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":188982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":188982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":188982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172660736001,"66":27245,"239":206,"81":49664,"24":35,"16":405696095314771968,"45":4136134073871075328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 18:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172660736001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:40:59] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 18:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405696095314771968,"km_value":405696095314771.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4136134073871075328,"description":"Unknown IO ID 45"} 
[2026-09-18 18:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172660736001,"power":27245,"unknown_239":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4136134073871075328}} 
[2026-09-18 18:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":188982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:40:59] local.INFO: GPS data processed {"connection_id":188982,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:40:59] local.INFO: Acknowledgment sent {"connection_id":188982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:41:20] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:20] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:20] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:41:21] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:21] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:21] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:41:26] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:26] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:41:26] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:41:27] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a2df40012d39640006a8a618000b015d2c..."} 
[2026-09-18 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a2df40012d39640006a8a618000b015d2c..."} 
[2026-09-18 18:41:27] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a2df40012d39640006a8a618000b015d2c..."} 
[2026-09-18 18:41:27] local.INFO: Packet analysis {"connection_id":186398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:41:27] local.INFO: Extracted packet for processing {"connection_id":186398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a2"} 
[2026-09-18 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758735872,"raw_latitude":111715864,"longitude_deg":75.8735872,"latitude_deg":11.1715864,"altitude":11,"angle":349,"satellites":44,"speed":38,"hex_longitude":"2d396400","hex_latitude":"06a8a618","is_valid_coordinates":true} 
[2026-09-18 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172661248001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405696567761174528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135711861406453760,"note":"Value kept but may cause issues"} 
[2026-09-18 18:41:27] 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-09-18 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789736968000,"timestamp_ms":1789736968000,"timestamp_seconds":1789736968,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a2df40"} 
[2026-09-18 18:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172661248001,"66":27245,"239":206,"81":49664,"24":38,"16":405696567761174528,"45":4135711861406453760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-18 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172661248001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:41:27] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-18 18:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-18 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405696567761174528,"km_value":405696567761174.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135711861406453760,"description":"Unknown IO ID 45"} 
[2026-09-18 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172661248001,"power":27245,"unknown_239":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4135711861406453760}} 
[2026-09-18 18:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":186398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:41:27] local.INFO: GPS data processed {"connection_id":186398,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:41:27] local.INFO: Acknowledgment sent {"connection_id":186398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:42:11] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:11] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:11] local.INFO: IMEI packet received {"connection_id":186237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":186237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:42:12] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:12] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:12] local.INFO: IMEI packet received {"connection_id":186237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":186237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:42:16] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:16] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:42:16] local.INFO: IMEI packet received {"connection_id":186237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":186237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:42:17] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a43ae8012d38784006a974e0000a013530..."} 
[2026-09-18 18:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a43ae8012d38784006a974e0000a013530..."} 
[2026-09-18 18:42:17] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a43ae8012d38784006a974e0000a013530..."} 
[2026-09-18 18:42:17] local.INFO: Packet analysis {"connection_id":186237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:42:17] local.INFO: Extracted packet for processing {"connection_id":186237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758675520,"raw_latitude":111768800,"longitude_deg":75.867552,"latitude_deg":11.17688,"altitude":10,"angle":309,"satellites":48,"speed":19,"hex_longitude":"2d387840","hex_latitude":"06a974e0","is_valid_coordinates":true} 
[2026-09-18 18:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172682752001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405700493361283072,"note":"Value kept but may cause issues"} 
[2026-09-18 18:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4076391010079084544,"note":"Value kept but may cause issues"} 
[2026-09-18 18:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789737057000,"timestamp_ms":1789737057000,"timestamp_seconds":1789737057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a43ae8"} 
[2026-09-18 18:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:42: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-09-18 18:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-18 18:42:17] 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-09-18 18:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172682752001,"66":27267,"49":206,"81":23296,"24":19,"16":405700493361283072,"45":4076391010079084544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-18 18:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172682752001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:42:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-18 18:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405700493361283072,"km_value":405700493361283.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4076391010079084544,"description":"Unknown IO ID 45"} 
[2026-09-18 18:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172682752001,"power":27267,"unknown_49":206,"unknown_81":23296,"ignition":19,"odometer":null,"unknown_45":4076391010079084544}} 
[2026-09-18 18:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":186237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:42:17] local.INFO: GPS data processed {"connection_id":186237,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:42:17] local.INFO: Acknowledgment sent {"connection_id":186237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:42:53] local.INFO: TCP Data received {"connection_id":186237,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a48cf0012d38668006a981800009012f33..."} 
[2026-09-18 18:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a48cf0012d38668006a981800009012f33..."} 
[2026-09-18 18:42:53] local.INFO: Processing buffer {"connection_id":186237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a48cf0012d38668006a981800009012f33..."} 
[2026-09-18 18:42:53] local.INFO: Packet analysis {"connection_id":186237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:42:53] local.INFO: Extracted packet for processing {"connection_id":186237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758670976,"raw_latitude":111772032,"longitude_deg":75.8670976,"latitude_deg":11.1772032,"altitude":9,"angle":303,"satellites":51,"speed":25,"hex_longitude":"2d386680","hex_latitude":"06a98180","is_valid_coordinates":true} 
[2026-09-18 18:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172686592001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405700763944222720,"note":"Value kept but may cause issues"} 
[2026-09-18 18:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4069072660686233600,"note":"Value kept but may cause issues"} 
[2026-09-18 18:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789737078000,"timestamp_ms":1789737078000,"timestamp_seconds":1789737078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a48cf0"} 
[2026-09-18 18:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-18 18:42:53] 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-09-18 18:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172686592001,"66":27343,"49":206,"81":23296,"24":25,"16":405700763944222720,"45":4069072660686233600},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-18 18:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172686592001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:42:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-18 18:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405700763944222720,"km_value":405700763944222.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4069072660686233600,"description":"Unknown IO ID 45"} 
[2026-09-18 18:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172686592001,"power":27343,"unknown_49":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":4069072660686233600}} 
[2026-09-18 18:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":186237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:42:54] local.INFO: GPS data processed {"connection_id":186237,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:42:54] local.INFO: Acknowledgment sent {"connection_id":186237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:43:06] local.INFO: TCP Data received {"connection_id":187660,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:43:06] local.INFO: Processing buffer {"connection_id":187660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:43:06] local.INFO: IMEI packet received {"connection_id":187660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":187660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:43:07] local.INFO: TCP Data received {"connection_id":187660,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a54c58012d1b3c00071f74b8003e00462d..."} 
[2026-09-18 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a54c58012d1b3c00071f74b8003e00462d..."} 
[2026-09-18 18:43:07] local.INFO: Processing buffer {"connection_id":187660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a54c58012d1b3c00071f74b8003e00462d..."} 
[2026-09-18 18:43:07] local.INFO: Packet analysis {"connection_id":187660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:43:07] local.INFO: Extracted packet for processing {"connection_id":187660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756759552,"raw_latitude":119502008,"longitude_deg":75.6759552,"latitude_deg":11.9502008,"altitude":62,"angle":70,"satellites":45,"speed":22,"hex_longitude":"2d1b3c00","hex_latitude":"071f74b8","is_valid_coordinates":true} 
[2026-09-18 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172704256001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21510489003524096,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618265745408,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789737127000,"timestamp_ms":1789737127000,"timestamp_seconds":1789737127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a54c58"} 
[2026-09-18 18:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 18:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172704256001,"66":13852,"101":206,"83":41984,"24":22,"16":21510489003524096,"45":1961880618265745408},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172704256001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:43:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21510489003524096,"km_value":21510489003524.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618265745408,"description":"Unknown IO ID 45"} 
[2026-09-18 18:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172704256001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1961880618265745408}} 
[2026-09-18 18:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":187660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:43:07] local.INFO: GPS data processed {"connection_id":187660,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:43:07] local.INFO: Acknowledgment sent {"connection_id":187660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:43:11] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:11] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:11] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:43:13] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:13] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:13] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:43:17] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:17] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:43:17] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:43:18] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a4ac30012d38500006a98ce00009012330..."} 
[2026-09-18 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a4ac30012d38500006a98ce00009012330..."} 
[2026-09-18 18:43:18] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a4ac30012d38500006a98ce00009012330..."} 
[2026-09-18 18:43:18] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:43:18] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758665216,"raw_latitude":111774944,"longitude_deg":75.8665216,"latitude_deg":11.1774944,"altitude":9,"angle":291,"satellites":48,"speed":35,"hex_longitude":"2d385000","hex_latitude":"06a98ce0","is_valid_coordinates":true} 
[2026-09-18 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172691968001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405701068886900736,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4064076479850446848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737086000,"timestamp_ms":1789737086000,"timestamp_seconds":1789737086,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a4ac30"} 
[2026-09-18 18:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:43: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-09-18 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-18 18:43:18] 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-09-18 18:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172691968001,"66":27104,"49":206,"81":23296,"24":35,"16":405701068886900736,"45":4064076479850446848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-18 18:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172691968001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:43:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-18 18:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405701068886900736,"km_value":405701068886900.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4064076479850446848,"description":"Unknown IO ID 45"} 
[2026-09-18 18:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172691968001,"power":27104,"unknown_49":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":4064076479850446848}} 
[2026-09-18 18:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:43:18] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:43:18] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:43:22] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a4c788012d383ac006a99350000801172e..."} 
[2026-09-18 18:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a4c788012d383ac006a99350000801172e..."} 
[2026-09-18 18:43:22] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a4c788012d383ac006a99350000801172e..."} 
[2026-09-18 18:43:22] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:43:22] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758659776,"raw_latitude":111776592,"longitude_deg":75.8659776,"latitude_deg":11.1776592,"altitude":8,"angle":279,"satellites":46,"speed":28,"hex_longitude":"2d383ac0","hex_latitude":"06a99350","is_valid_coordinates":true} 
[2026-09-18 18:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172694016001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405701343764807680,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4057743292875202560,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789737093000,"timestamp_ms":1789737093000,"timestamp_seconds":1789737093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a4c788"} 
[2026-09-18 18:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-18 18:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172694016001,"66":27234,"48":206,"81":23296,"24":28,"16":405701343764807680,"45":4057743292875202560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-18 18:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172694016001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:43:22] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 18:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405701343764807680,"km_value":405701343764807.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4057743292875202560,"description":"Unknown IO ID 45"} 
[2026-09-18 18:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172694016001,"power":27234,"unknown_48":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":4057743292875202560}} 
[2026-09-18 18:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:43:22] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:43:22] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:43:38] local.INFO: TCP Data received {"connection_id":187660,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a5e4b0012d1b6bc0071f6e20003d005725..."} 
[2026-09-18 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a5e4b0012d1b6bc0071f6e20003d005725..."} 
[2026-09-18 18:43:38] local.INFO: Processing buffer {"connection_id":187660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a5e4b0012d1b6bc0071f6e20003d005725..."} 
[2026-09-18 18:43:38] local.INFO: Packet analysis {"connection_id":187660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:43:38] local.INFO: Extracted packet for processing {"connection_id":187660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756771776,"raw_latitude":119500320,"longitude_deg":75.6771776,"latitude_deg":11.950032,"altitude":61,"angle":87,"satellites":37,"speed":7,"hex_longitude":"2d1b6bc0","hex_latitude":"071f6e20","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172713472001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511219147964416,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573426599936,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789737166000,"timestamp_ms":1789737166000,"timestamp_seconds":1789737166,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a5e4b0"} 
[2026-09-18 18:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5066558186520576,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633631726848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3030740864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2776827905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":107,"raw_value":-7493658709734717665,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2305912280110071825,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,108,160,158,45,192,62,41,10,66,150,64,63,42,146,128,1,240,28,227,180,31,4,113,205,22,115,77,72,239,50,2,76,7,18,107,125],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 18:43:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395633254880116736,"timestamp_seconds":4395633254880116.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172713472001,"66":13917,"101":206,"83":41984,"24":7,"16":21511219147964416,"45":1975039573426599936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172713472001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:43:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511219147964416,"km_value":21511219147964.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573426599936,"description":"Unknown IO ID 45"} 
[2026-09-18 18:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172713472001,"power":13917,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1975039573426599936}} 
[2026-09-18 18:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":187660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:43:39] local.INFO: GPS data processed {"connection_id":187660,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:43:39] local.INFO: Acknowledgment sent {"connection_id":187660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:43:53] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a4fa50012d381fc006a996900008010c31..."} 
[2026-09-18 18:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a4fa50012d381fc006a996900008010c31..."} 
[2026-09-18 18:43:53] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a4fa50012d381fc006a996900008010c31..."} 
[2026-09-18 18:43:53] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:43:53] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a4"} 
[2026-09-18 18:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758652864,"raw_latitude":111777424,"longitude_deg":75.8652864,"latitude_deg":11.1777424,"altitude":8,"angle":268,"satellites":49,"speed":11,"hex_longitude":"2d381fc0","hex_latitude":"06a99690","is_valid_coordinates":true} 
[2026-09-18 18:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172695808001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405701674477289472,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4051761949620523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789737106000,"timestamp_ms":1789737106000,"timestamp_seconds":1789737106,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a4fa50"} 
[2026-09-18 18:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 18:43:53] 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-09-18 18:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172695808001,"66":27365,"48":206,"81":23296,"24":11,"16":405701674477289472,"45":4051761949620523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-18 18:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172695808001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:43:53] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-18 18:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405701674477289472,"km_value":405701674477289.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4051761949620523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172695808001,"power":27365,"unknown_48":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":4051761949620523008}} 
[2026-09-18 18:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:43:53] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:43:53] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:44:03] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:03] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:03] local.INFO: IMEI packet received {"connection_id":188987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:44:03] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:03] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:03] local.INFO: IMEI packet received {"connection_id":188987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:44:04] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:04] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:04] local.INFO: IMEI packet received {"connection_id":188987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":188987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:44:08] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:08] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:44:08] local.INFO: IMEI packet received {"connection_id":188987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:44:08] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a5ec80012d1b6d80071f6e80003d004c26..."} 
[2026-09-18 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a5ec80012d1b6d80071f6e80003d004c26..."} 
[2026-09-18 18:44:08] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a5ec80012d1b6d80071f6e80003d004c26..."} 
[2026-09-18 18:44:08] local.INFO: Packet analysis {"connection_id":188987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:08] local.INFO: Extracted packet for processing {"connection_id":188987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756772224,"raw_latitude":119500416,"longitude_deg":75.6772224,"latitude_deg":11.9500416,"altitude":61,"angle":76,"satellites":38,"speed":8,"hex_longitude":"2d1b6d80","hex_latitude":"071f6e80","is_valid_coordinates":true} 
[2026-09-18 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172714496001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511240622800896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975883998356709376,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44: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-09-18 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737168000,"timestamp_ms":1789737168000,"timestamp_seconds":1789737168,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a5ec80"} 
[2026-09-18 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-18 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172714496001,"66":13678,"101":206,"83":41984,"24":8,"16":21511240622800896,"45":1975883998356709376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172714496001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:44:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511240622800896,"km_value":21511240622800.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975883998356709376,"description":"Unknown IO ID 45"} 
[2026-09-18 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172714496001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1975883998356709376}} 
[2026-09-18 18:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":188987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:44:09] local.INFO: GPS data processed {"connection_id":188987,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:44:09] local.INFO: Acknowledgment sent {"connection_id":188987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:44:12] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a5f450012d1b6f40071f6eb8003e005725..."} 
[2026-09-18 18:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a5f450012d1b6f40071f6eb8003e005725..."} 
[2026-09-18 18:44:12] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a5f450012d1b6f40071f6eb8003e005725..."} 
[2026-09-18 18:44:12] local.INFO: Packet analysis {"connection_id":188987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:12] local.INFO: Extracted packet for processing {"connection_id":188987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756772672,"raw_latitude":119500472,"longitude_deg":75.6772672,"latitude_deg":11.9500472,"altitude":62,"angle":87,"satellites":37,"speed":5,"hex_longitude":"2d1b6f40","hex_latitude":"071f6eb8","is_valid_coordinates":true} 
[2026-09-18 18:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172715008001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511266392604672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976376579565977600,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789737170000,"timestamp_ms":1789737170000,"timestamp_seconds":1789737170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a5f450"} 
[2026-09-18 18:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 18:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172715008001,"66":13678,"101":206,"83":41984,"24":5,"16":21511266392604672,"45":1976376579565977600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172715008001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:44:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511266392604672,"km_value":21511266392604.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976376579565977600,"description":"Unknown IO ID 45"} 
[2026-09-18 18:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172715008001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1976376579565977600}} 
[2026-09-18 18:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":188987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:44:13] local.INFO: GPS data processed {"connection_id":188987,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:44:13] local.INFO: Acknowledgment sent {"connection_id":188987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:44:17] local.INFO: TCP Data received {"connection_id":186238,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:44:17] local.INFO: Processing buffer {"connection_id":186238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:44:17] local.INFO: IMEI packet received {"connection_id":186238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":186238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:44:22] local.INFO: TCP Data received {"connection_id":186238,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:44:22] local.INFO: Processing buffer {"connection_id":186238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:44:22] local.INFO: IMEI packet received {"connection_id":186238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":186238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:44:24] local.INFO: TCP Data received {"connection_id":186238,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a54c58012d380ec006a997280008010c34..."} 
[2026-09-18 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a54c58012d380ec006a997280008010c34..."} 
[2026-09-18 18:44:24] local.INFO: Processing buffer {"connection_id":186238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a54c58012d380ec006a997280008010c34..."} 
[2026-09-18 18:44:24] local.INFO: Packet analysis {"connection_id":186238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:24] local.INFO: Extracted packet for processing {"connection_id":186238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758648512,"raw_latitude":111777576,"longitude_deg":75.8648512,"latitude_deg":11.1777576,"altitude":8,"angle":268,"satellites":52,"speed":5,"hex_longitude":"2d380ec0","hex_latitude":"06a99728","is_valid_coordinates":true} 
[2026-09-18 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172699136001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405701880635719680,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4044162125249548288,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:24] 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-09-18 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789737127000,"timestamp_ms":1789737127000,"timestamp_seconds":1789737127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a54c58"} 
[2026-09-18 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 18:44:24] 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-09-18 18:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172699136001,"66":27321,"50":206,"81":23296,"24":5,"16":405701880635719680,"45":4044162125249548288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-18 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172699136001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:44:24] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-18 18:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405701880635719680,"km_value":405701880635719.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4044162125249548288,"description":"Unknown IO ID 45"} 
[2026-09-18 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172699136001,"power":27321,"unknown_50":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":4044162125249548288}} 
[2026-09-18 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":186238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:44:24] local.INFO: GPS data processed {"connection_id":186238,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:44:24] local.INFO: Acknowledgment sent {"connection_id":186238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:44:26] local.INFO: TCP Data received {"connection_id":186238,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a58ec0012d37eb4006a99490000a010730..."} 
[2026-09-18 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a58ec0012d37eb4006a99490000a010730..."} 
[2026-09-18 18:44:26] local.INFO: Processing buffer {"connection_id":186238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a58ec0012d37eb4006a99490000a010730..."} 
[2026-09-18 18:44:26] local.INFO: Packet analysis {"connection_id":186238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:26] local.INFO: Extracted packet for processing {"connection_id":186238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a5"} 
[2026-09-18 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758639424,"raw_latitude":111776912,"longitude_deg":75.8639424,"latitude_deg":11.1776912,"altitude":10,"angle":263,"satellites":48,"speed":27,"hex_longitude":"2d37eb40","hex_latitude":"06a99490","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172704512001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405702314427416576,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4039377050645506048,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:26] 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-09-18 18:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789737144000,"timestamp_ms":1789737144000,"timestamp_seconds":1789737144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a58ec0"} 
[2026-09-18 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-09-18 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 18:44:26] 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-09-18 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-09-18 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-09-18 18:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172704512001,"66":27300,"77":206,"81":23296,"24":27,"16":405702314427416576,"45":4039377050645506048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-18 18:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172704512001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:44:26] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-18 18:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405702314427416576,"km_value":405702314427416.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4039377050645506048,"description":"Unknown IO ID 45"} 
[2026-09-18 18:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172704512001,"power":27300,"unknown_77":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":4039377050645506048}} 
[2026-09-18 18:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":186238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:44:26] local.INFO: GPS data processed {"connection_id":186238,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:44:26] local.INFO: Acknowledgment sent {"connection_id":186238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:44:44] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a64658012d1b7680071f6f68003e005527..."} 
[2026-09-18 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a64658012d1b7680071f6f68003e005527..."} 
[2026-09-18 18:44:44] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a64658012d1b7680071f6f68003e005527..."} 
[2026-09-18 18:44:44] local.INFO: Packet analysis {"connection_id":188987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a6"} 
[2026-09-18 18:44:44] local.INFO: Extracted packet for processing {"connection_id":188987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a6"} 
[2026-09-18 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119500648,"longitude_deg":75.6774528,"latitude_deg":11.9500648,"altitude":62,"angle":85,"satellites":39,"speed":10,"hex_longitude":"2d1b7680","hex_latitude":"071f6f68","is_valid_coordinates":true} 
[2026-09-18 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172715520001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511352291950592,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976869160775235584,"note":"Value kept but may cause issues"} 
[2026-09-18 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789737191000,"timestamp_ms":1789737191000,"timestamp_seconds":1789737191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a64658"} 
[2026-09-18 18:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 18:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172715520001,"66":13733,"101":206,"83":41984,"24":10,"16":21511352291950592,"45":1976869160775235584},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172715520001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511352291950592,"km_value":21511352291950.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976869160775235584,"description":"Unknown IO ID 45"} 
[2026-09-18 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172715520001,"power":13733,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1976869160775235584}} 
[2026-09-18 18:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":188987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:44:44] local.INFO: GPS data processed {"connection_id":188987,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:44:44] local.INFO: Acknowledgment sent {"connection_id":188987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:45:04] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: IMEI packet received {"connection_id":188988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":188988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:45:04] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: IMEI packet received {"connection_id":188988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":188988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:45:04] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:04] local.INFO: IMEI packet received {"connection_id":188988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":188988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:45:09] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:09] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:45:09] local.INFO: IMEI packet received {"connection_id":188988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":188988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:45:10] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a64e28012d1b7880071f6ff8003e003e27..."} 
[2026-09-18 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a64e28012d1b7880071f6ff8003e003e27..."} 
[2026-09-18 18:45:10] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a64e28012d1b7880071f6ff8003e003e27..."} 
[2026-09-18 18:45:10] local.INFO: Packet analysis {"connection_id":188988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a6"} 
[2026-09-18 18:45:10] local.INFO: Extracted packet for processing {"connection_id":188988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a6"} 
[2026-09-18 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119500792,"longitude_deg":75.677504,"latitude_deg":11.9500792,"altitude":62,"angle":62,"satellites":39,"speed":10,"hex_longitude":"2d1b7880","hex_latitude":"071f6ff8","is_valid_coordinates":true} 
[2026-09-18 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172720896001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511378061754368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854356432896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789737193000,"timestamp_ms":1789737193000,"timestamp_seconds":1789737193,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a64e28"} 
[2026-09-18 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-18 18:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172720896001,"66":13656,"101":206,"83":41984,"24":10,"16":21511378061754368,"45":1978909854356432896},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172720896001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:45:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511378061754368,"km_value":21511378061754.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854356432896,"description":"Unknown IO ID 45"} 
[2026-09-18 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172720896001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1978909854356432896}} 
[2026-09-18 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":188988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:45:10] local.INFO: GPS data processed {"connection_id":188988,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:45:10] local.INFO: Acknowledgment sent {"connection_id":188988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:45:12] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:45:12] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:45:12] local.INFO: IMEI packet received {"connection_id":188989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":188989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:45:17] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:45:17] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:45:17] local.INFO: IMEI packet received {"connection_id":188989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":188989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:45:19] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a71d30012d369d0006a9cd30000b012d2f..."} 
[2026-09-18 18:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a71d30012d369d0006a9cd30000b012d2f..."} 
[2026-09-18 18:45:19] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a71d30012d369d0006a9cd30000b012d2f..."} 
[2026-09-18 18:45:19] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:45:19] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758553856,"raw_latitude":111791408,"longitude_deg":75.8553856,"latitude_deg":11.1791408,"altitude":11,"angle":301,"satellites":47,"speed":38,"hex_longitude":"2d369d00","hex_latitude":"06a9cd30","is_valid_coordinates":true} 
[2026-09-18 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172731648001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405706600804777984,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3943534821077413888,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789737246000,"timestamp_ms":1789737246000,"timestamp_seconds":1789737246,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a71d30"} 
[2026-09-18 18:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-18 18:45: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-09-18 18:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172731648001,"66":27365,"141":206,"81":23296,"24":38,"16":405706600804777984,"45":3943534821077413888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-18 18:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172731648001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:45:19] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-18 18:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405706600804777984,"km_value":405706600804778.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3943534821077413888,"description":"Unknown IO ID 45"} 
[2026-09-18 18:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172731648001,"power":27365,"unknown_141":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3943534821077413888}} 
[2026-09-18 18:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:45:19] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:45:19] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:45:20] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a72500012d36960006a9d060000b01212f..."} 
[2026-09-18 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a72500012d36960006a9d060000b01212f..."} 
[2026-09-18 18:45:20] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a72500012d36960006a9d060000b01212f..."} 
[2026-09-18 18:45:20] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:45:20] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758552064,"raw_latitude":111792224,"longitude_deg":75.8552064,"latitude_deg":11.1792224,"altitude":11,"angle":289,"satellites":47,"speed":38,"hex_longitude":"2d369600","hex_latitude":"06a9d060","is_valid_coordinates":true} 
[2026-09-18 18:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172734976001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405706695294058496,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3935301678010281984,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789737248000,"timestamp_ms":1789737248000,"timestamp_seconds":1789737248,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a72500"} 
[2026-09-18 18:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 18:45:20] 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-09-18 18:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172734976001,"66":27365,"141":206,"81":23296,"24":38,"16":405706695294058496,"45":3935301678010281984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-18 18:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172734976001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:45:20] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-18 18:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405706695294058496,"km_value":405706695294058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3935301678010281984,"description":"Unknown IO ID 45"} 
[2026-09-18 18:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172734976001,"power":27365,"unknown_141":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3935301678010281984}} 
[2026-09-18 18:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:45:20] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:45:20] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:45:41] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a67538012d1b8180071f74d8003a004d28..."} 
[2026-09-18 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a67538012d1b8180071f74d8003a004d28..."} 
[2026-09-18 18:45:41] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a67538012d1b8180071f74d8003a004d28..."} 
[2026-09-18 18:45:41] local.INFO: Packet analysis {"connection_id":188988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a6"} 
[2026-09-18 18:45:41] local.INFO: Extracted packet for processing {"connection_id":188988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a6"} 
[2026-09-18 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756777344,"raw_latitude":119502040,"longitude_deg":75.6777344,"latitude_deg":11.950204,"altitude":58,"angle":77,"satellites":40,"speed":7,"hex_longitude":"2d1b8180","hex_latitude":"071f74d8","is_valid_coordinates":true} 
[2026-09-18 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172721408001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511506910773248,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804309891072,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789737203000,"timestamp_ms":1789737203000,"timestamp_seconds":1789737203,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a67538"} 
[2026-09-18 18:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-18 18:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172721408001,"66":13678,"101":206,"83":41984,"24":7,"16":21511506910773248,"45":1979472804309891072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172721408001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:45:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511506910773248,"km_value":21511506910773.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804309891072,"description":"Unknown IO ID 45"} 
[2026-09-18 18:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172721408001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1979472804309891072}} 
[2026-09-18 18:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":188988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:45:41] local.INFO: GPS data processed {"connection_id":188988,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:45:41] local.INFO: Acknowledgment sent {"connection_id":188988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:45:52] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a74c10012d36708006a9db380009011e32..."} 
[2026-09-18 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a74c10012d36708006a9db380009011e32..."} 
[2026-09-18 18:45:52] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a74c10012d36708006a9db380009011e32..."} 
[2026-09-18 18:45:52] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:45:52] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758542464,"raw_latitude":111795000,"longitude_deg":75.8542464,"latitude_deg":11.1795,"altitude":9,"angle":286,"satellites":50,"speed":38,"hex_longitude":"2d367080","hex_latitude":"06a9db38","is_valid_coordinates":true} 
[2026-09-18 18:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172735488001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405707172035428352,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3933331353173516288,"note":"Value kept but may cause issues"} 
[2026-09-18 18:45:52] 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-09-18 18:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789737258000,"timestamp_ms":1789737258000,"timestamp_seconds":1789737258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a74c10"} 
[2026-09-18 18:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:45: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-09-18 18:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-18 18:45:52] 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-09-18 18:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172735488001,"66":27310,"96":206,"81":23296,"24":38,"16":405707172035428352,"45":3933331353173516288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 18:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172735488001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:45:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 18:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405707172035428352,"km_value":405707172035428.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3933331353173516288,"description":"Unknown IO ID 45"} 
[2026-09-18 18:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172735488001,"power":27310,"unknown_96":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3933331353173516288}} 
[2026-09-18 18:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:45:52] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:45:52] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:46:02] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:46:02] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:46:02] local.INFO: IMEI packet received {"connection_id":186399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":186399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:46:08] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:46:08] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:46:08] local.INFO: IMEI packet received {"connection_id":186399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":186399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:46:08] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a7d4c8012d1b7340071f6f30003f010a23..."} 
[2026-09-18 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a7d4c8012d1b7340071f6f30003f010a23..."} 
[2026-09-18 18:46:08] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a7d4c8012d1b7340071f6f30003f010a23..."} 
[2026-09-18 18:46:08] local.INFO: Packet analysis {"connection_id":186399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:46:08] local.INFO: Extracted packet for processing {"connection_id":186399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119500592,"longitude_deg":75.6773696,"latitude_deg":11.9500592,"altitude":63,"angle":266,"satellites":35,"speed":1,"hex_longitude":"2d1b7340","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-18 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172742912001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21511803263516672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978135798170468352,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46: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-09-18 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737293000,"timestamp_ms":1789737293000,"timestamp_seconds":1789737293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a7d4c8"} 
[2026-09-18 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 18:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172742912001,"66":13798,"101":206,"83":41984,"24":1,"16":21511803263516672,"45":1978135798170468352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172742912001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:46:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21511803263516672,"km_value":21511803263516.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978135798170468352,"description":"Unknown IO ID 45"} 
[2026-09-18 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172742912001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1978135798170468352}} 
[2026-09-18 18:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":186399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:46:08] local.INFO: GPS data processed {"connection_id":186399,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:46:08] local.INFO: Acknowledgment sent {"connection_id":186399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:46:09] local.INFO: TCP Data received {"connection_id":187661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:09] local.INFO: Processing buffer {"connection_id":187661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:09] local.INFO: IMEI packet received {"connection_id":187661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":187661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:46:11] local.INFO: TCP Data received {"connection_id":187661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:11] local.INFO: Processing buffer {"connection_id":187661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:11] local.INFO: IMEI packet received {"connection_id":187661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:46:17] local.INFO: TCP Data received {"connection_id":187661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:17] local.INFO: Processing buffer {"connection_id":187661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:46:17] local.INFO: IMEI packet received {"connection_id":187661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":187661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:46:17] local.INFO: TCP Data received {"connection_id":187661,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a77320012d364e0006a9e5100009011d30..."} 
[2026-09-18 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a77320012d364e0006a9e5100009011d30..."} 
[2026-09-18 18:46:17] local.INFO: Processing buffer {"connection_id":187661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a77320012d364e0006a9e5100009011d30..."} 
[2026-09-18 18:46:17] local.INFO: Packet analysis {"connection_id":187661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:46:17] local.INFO: Extracted packet for processing {"connection_id":187661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758533632,"raw_latitude":111797520,"longitude_deg":75.8533632,"latitude_deg":11.179752,"altitude":9,"angle":285,"satellites":48,"speed":35,"hex_longitude":"2d364e00","hex_latitude":"06a9e510","is_valid_coordinates":true} 
[2026-09-18 18:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172738048001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405707610122092544,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3922776041547577344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:17] 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-09-18 18:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789737268000,"timestamp_ms":1789737268000,"timestamp_seconds":1789737268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a77320"} 
[2026-09-18 18:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-18 18:46:17] 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-09-18 18:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172738048001,"66":27321,"96":206,"81":23296,"24":35,"16":405707610122092544,"45":3922776041547577344},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 18:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172738048001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:46:17] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 18:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405707610122092544,"km_value":405707610122092.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3922776041547577344,"description":"Unknown IO ID 45"} 
[2026-09-18 18:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172738048001,"power":27321,"unknown_96":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3922776041547577344}} 
[2026-09-18 18:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":187661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:46:17] local.INFO: GPS data processed {"connection_id":187661,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:46:17] local.INFO: Acknowledgment sent {"connection_id":187661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:46:30] local.INFO: TCP Data received {"connection_id":188985,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:46:30] local.INFO: Processing buffer {"connection_id":188985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:46:30] local.INFO: IMEI packet received {"connection_id":188985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":188985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:46:39] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a8c310012d1b4780071f7c30004000e424..."} 
[2026-09-18 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a8c310012d1b4780071f7c30004000e424..."} 
[2026-09-18 18:46:39] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a8c310012d1b4780071f7c30004000e424..."} 
[2026-09-18 18:46:39] local.INFO: Packet analysis {"connection_id":186399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a8"} 
[2026-09-18 18:46:39] local.INFO: Extracted packet for processing {"connection_id":186399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a8"} 
[2026-09-18 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119503920,"longitude_deg":75.6762496,"latitude_deg":11.950392,"altitude":64,"angle":228,"satellites":36,"speed":15,"hex_longitude":"2d1b4780","hex_latitude":"071f7c30","is_valid_coordinates":true} 
[2026-09-18 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172762368001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21512451803578368,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005428643840,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789737354000,"timestamp_ms":1789737354000,"timestamp_seconds":1789737354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a8c310"} 
[2026-09-18 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-18 18:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172762368001,"66":13733,"101":206,"83":41984,"24":15,"16":21512451803578368,"45":1965962005428643840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172762368001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:46:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21512451803578368,"km_value":21512451803578.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005428643840,"description":"Unknown IO ID 45"} 
[2026-09-18 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172762368001,"power":13733,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1965962005428643840}} 
[2026-09-18 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":186399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:46:39] local.INFO: GPS data processed {"connection_id":186399,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:46:39] local.INFO: Acknowledgment sent {"connection_id":186399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:46:49] local.INFO: TCP Data received {"connection_id":187661,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a7a200012d362ac006a9efb0000901212d..."} 
[2026-09-18 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a7a200012d362ac006a9efb0000901212d..."} 
[2026-09-18 18:46:49] local.INFO: Processing buffer {"connection_id":187661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a7a200012d362ac006a9efb0000901212d..."} 
[2026-09-18 18:46:49] local.INFO: Packet analysis {"connection_id":187661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:46:49] local.INFO: Extracted packet for processing {"connection_id":187661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758524608,"raw_latitude":111800240,"longitude_deg":75.8524608,"latitude_deg":11.180024,"altitude":9,"angle":289,"satellites":45,"speed":28,"hex_longitude":"2d362ac0","hex_latitude":"06a9efb0","is_valid_coordinates":true} 
[2026-09-18 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172740608001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405708056798691328,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3913065154851704832,"note":"Value kept but may cause issues"} 
[2026-09-18 18:46:49] 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-09-18 18:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789737280000,"timestamp_ms":1789737280000,"timestamp_seconds":1789737280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a7a200"} 
[2026-09-18 18:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 18:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172740608001,"66":27234,"96":206,"81":23296,"24":28,"16":405708056798691328,"45":3913065154851704832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 18:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172740608001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:46:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 18:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405708056798691328,"km_value":405708056798691.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3913065154851704832,"description":"Unknown IO ID 45"} 
[2026-09-18 18:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172740608001,"power":27234,"unknown_96":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3913065154851704832}} 
[2026-09-18 18:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":187661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:46:49] local.INFO: GPS data processed {"connection_id":187661,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:46:49] local.INFO: Acknowledgment sent {"connection_id":187661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:47:02] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:47:02] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:47:02] local.INFO: IMEI packet received {"connection_id":186239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":186239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:47:08] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:47:08] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:47:08] local.INFO: IMEI packet received {"connection_id":186239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":186239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:47:08] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a8d698012d1b3fc0071f7628004100f426..."} 
[2026-09-18 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a8d698012d1b3fc0071f7628004100f426..."} 
[2026-09-18 18:47:08] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a8d698012d1b3fc0071f7628004100f426..."} 
[2026-09-18 18:47:08] local.INFO: Packet analysis {"connection_id":186239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a8"} 
[2026-09-18 18:47:08] local.INFO: Extracted packet for processing {"connection_id":186239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a8"} 
[2026-09-18 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756760512,"raw_latitude":119502376,"longitude_deg":75.6760512,"latitude_deg":11.9502376,"altitude":65,"angle":244,"satellites":38,"speed":20,"hex_longitude":"2d1b3fc0","hex_latitude":"071f7628","is_valid_coordinates":true} 
[2026-09-18 18:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172762624001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21512572062662656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530451869696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47: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-09-18 18:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737359000,"timestamp_ms":1789737359000,"timestamp_seconds":1789737359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a8d698"} 
[2026-09-18 18:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-18 18:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172762624001,"66":13689,"101":206,"83":41984,"24":20,"16":21512572062662656,"45":1965680530451869696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172762624001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:47:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21512572062662656,"km_value":21512572062662.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530451869696,"description":"Unknown IO ID 45"} 
[2026-09-18 18:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172762624001,"power":13689,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1965680530451869696}} 
[2026-09-18 18:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":186239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:47:08] local.INFO: GPS data processed {"connection_id":186239,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:47:08] local.INFO: Acknowledgment sent {"connection_id":186239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:47:12] local.INFO: TCP Data received {"connection_id":188990,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:12] local.INFO: Processing buffer {"connection_id":188990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:12] local.INFO: IMEI packet received {"connection_id":188990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":188990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:47:13] local.INFO: TCP Data received {"connection_id":188990,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:13] local.INFO: Processing buffer {"connection_id":188990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:13] local.INFO: IMEI packet received {"connection_id":188990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":188990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:47:17] local.INFO: TCP Data received {"connection_id":188990,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:17] local.INFO: Processing buffer {"connection_id":188990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:47:17] local.INFO: IMEI packet received {"connection_id":188990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":188990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:47:18] local.INFO: TCP Data received {"connection_id":188990,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a7d8b0012d36088006a9fe400009012631..."} 
[2026-09-18 18:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a7d8b0012d36088006a9fe400009012631..."} 
[2026-09-18 18:47:18] local.INFO: Processing buffer {"connection_id":188990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a7d8b0012d36088006a9fe400009012631..."} 
[2026-09-18 18:47:18] local.INFO: Packet analysis {"connection_id":188990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:47:18] local.INFO: Extracted packet for processing {"connection_id":188990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758515840,"raw_latitude":111803968,"longitude_deg":75.851584,"latitude_deg":11.1803968,"altitude":9,"angle":294,"satellites":49,"speed":30,"hex_longitude":"2d360880","hex_latitude":"06a9fe40","is_valid_coordinates":true} 
[2026-09-18 18:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172743680001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405708512065224704,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3903143161923350528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:18] 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-09-18 18:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737294000,"timestamp_ms":1789737294000,"timestamp_seconds":1789737294,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a7d8b0"} 
[2026-09-18 18:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:47: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-09-18 18: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 18:47:18] 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-09-18 18:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172743680001,"66":27223,"96":206,"81":23296,"24":30,"16":405708512065224704,"45":3903143161923350528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172743680001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405708512065224704,"km_value":405708512065224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3903143161923350528,"description":"Unknown IO ID 45"} 
[2026-09-18 18:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172743680001,"power":27223,"unknown_96":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":3903143161923350528}} 
[2026-09-18 18:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":188990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:47:18] local.INFO: GPS data processed {"connection_id":188990,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:47:18] local.INFO: Acknowledgment sent {"connection_id":188990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:47:18] local.INFO: TCP Data received {"connection_id":188990,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a7ffc0012d35e80006aa0bd8000801252f..."} 
[2026-09-18 18:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a7ffc0012d35e80006aa0bd8000801252f..."} 
[2026-09-18 18:47:18] local.INFO: Processing buffer {"connection_id":188990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a7ffc0012d35e80006aa0bd8000801252f..."} 
[2026-09-18 18:47:18] local.INFO: Packet analysis {"connection_id":188990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:47:18] local.INFO: Extracted packet for processing {"connection_id":188990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a7"} 
[2026-09-18 18:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758507520,"raw_latitude":111807448,"longitude_deg":75.850752,"latitude_deg":11.1807448,"altitude":8,"angle":293,"satellites":47,"speed":40,"hex_longitude":"2d35e800","hex_latitude":"06aa0bd8","is_valid_coordinates":true} 
[2026-09-18 18:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172747264001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405708941561954304,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893502643971964928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:18] 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-09-18 18:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737304000,"timestamp_ms":1789737304000,"timestamp_seconds":1789737304,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a7ffc0"} 
[2026-09-18 18:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:47: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-09-18 18: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-18 18:47:18] 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-09-18 18:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172747264001,"66":27332,"96":206,"81":23296,"24":40,"16":405708941561954304,"45":3893502643971964928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-18 18:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172747264001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405708941561954304,"km_value":405708941561954.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893502643971964928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172747264001,"power":27332,"unknown_96":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3893502643971964928}} 
[2026-09-18 18:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":188990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:47:18] local.INFO: GPS data processed {"connection_id":188990,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:47:18] local.INFO: Acknowledgment sent {"connection_id":188990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:47:39] local.INFO: TCP Data received {"connection_id":186239,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a98278012d1ae780071f86580035012821..."} 
[2026-09-18 18:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a98278012d1ae780071f86580035012821..."} 
[2026-09-18 18:47:39] local.INFO: Processing buffer {"connection_id":186239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a98278012d1ae780071f86580035012821..."} 
[2026-09-18 18:47:39] local.INFO: Packet analysis {"connection_id":186239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:47:39] local.INFO: Extracted packet for processing {"connection_id":186239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756737920,"raw_latitude":119506520,"longitude_deg":75.673792,"latitude_deg":11.950652,"altitude":53,"angle":296,"satellites":33,"speed":9,"hex_longitude":"2d1ae780","hex_latitude":"071f8658","is_valid_coordinates":true} 
[2026-09-18 18:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172774656001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21513731703832576,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938940407665004544,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789737403000,"timestamp_ms":1789737403000,"timestamp_seconds":1789737403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a98278"} 
[2026-09-18 18:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 18:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172774656001,"66":13798,"101":206,"83":41984,"24":9,"16":21513731703832576,"45":1938940407665004544},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172774656001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:47:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21513731703832576,"km_value":21513731703832.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938940407665004544,"description":"Unknown IO ID 45"} 
[2026-09-18 18:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172774656001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1938940407665004544}} 
[2026-09-18 18:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":186239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:47:40] local.INFO: GPS data processed {"connection_id":186239,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:47:40] local.INFO: Acknowledgment sent {"connection_id":186239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:47:50] local.INFO: TCP Data received {"connection_id":188990,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a9c0f8012d35010006aa62780009010932..."} 
[2026-09-18 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a9c0f8012d35010006aa62780009010932..."} 
[2026-09-18 18:47:50] local.INFO: Processing buffer {"connection_id":188990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a9c0f8012d35010006aa62780009010932..."} 
[2026-09-18 18:47:50] local.INFO: Packet analysis {"connection_id":188990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:47:50] local.INFO: Extracted packet for processing {"connection_id":188990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758448384,"raw_latitude":111829624,"longitude_deg":75.8448384,"latitude_deg":11.1829624,"altitude":9,"angle":265,"satellites":50,"speed":13,"hex_longitude":"2d350100","hex_latitude":"06aa6278","is_valid_coordinates":true} 
[2026-09-18 18:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172777984001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405711990988734464,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3820952468731432960,"note":"Value kept but may cause issues"} 
[2026-09-18 18:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789737419000,"timestamp_ms":1789737419000,"timestamp_seconds":1789737419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a9c0f8"} 
[2026-09-18 18:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-18 18:47:50] 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-09-18 18:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172777984001,"66":27343,"97":206,"81":23296,"24":13,"16":405711990988734464,"45":3820952468731432960},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172777984001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:47:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405711990988734464,"km_value":405711990988734.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3820952468731432960,"description":"Unknown IO ID 45"} 
[2026-09-18 18:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172777984001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3820952468731432960}} 
[2026-09-18 18:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":188990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:47:50] local.INFO: GPS data processed {"connection_id":188990,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:47:50] local.INFO: Acknowledgment sent {"connection_id":188990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:48:02] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:02] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:02] local.INFO: IMEI packet received {"connection_id":188991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":188991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:48:03] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:03] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:03] local.INFO: IMEI packet received {"connection_id":188991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":188991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:48:07] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:07] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:48:07] local.INFO: IMEI packet received {"connection_id":188991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":188991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:48:08] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a9f7a8012d1ac0c0071f9238002b013029..."} 
[2026-09-18 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a9f7a8012d1ac0c0071f9238002b013029..."} 
[2026-09-18 18:48:08] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a9f7a8012d1ac0c0071f9238002b013029..."} 
[2026-09-18 18:48:08] local.INFO: Packet analysis {"connection_id":188991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:08] local.INFO: Extracted packet for processing {"connection_id":188991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756728000,"raw_latitude":119509560,"longitude_deg":75.6728,"latitude_deg":11.950956,"altitude":43,"angle":304,"satellites":41,"speed":23,"hex_longitude":"2d1ac0c0","hex_latitude":"071f9238","is_valid_coordinates":true} 
[2026-09-18 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172782592001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21514320114352128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928314727294887936,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48: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-09-18 18:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737433000,"timestamp_ms":1789737433000,"timestamp_seconds":1789737433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a9f7a8"} 
[2026-09-18 18:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 18:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172782592001,"66":13798,"101":206,"83":41984,"24":23,"16":21514320114352128,"45":1928314727294887936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172782592001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:48:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21514320114352128,"km_value":21514320114352.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928314727294887936,"description":"Unknown IO ID 45"} 
[2026-09-18 18:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172782592001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1928314727294887936}} 
[2026-09-18 18:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":188991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:48:08] local.INFO: GPS data processed {"connection_id":188991,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:48:08] local.INFO: Acknowledgment sent {"connection_id":188991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:48:11] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:48:11] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:48:11] local.INFO: IMEI packet received {"connection_id":188992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":188992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:48:17] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:48:17] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:48:17] local.INFO: IMEI packet received {"connection_id":188992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":188992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:48:18] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a9ccb0012d34fd4006aa61b0000800f92f..."} 
[2026-09-18 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a9ccb0012d34fd4006aa61b0000800f92f..."} 
[2026-09-18 18:48:18] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a9ccb0012d34fd4006aa61b0000800f92f..."} 
[2026-09-18 18:48:18] local.INFO: Packet analysis {"connection_id":188992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:18] local.INFO: Extracted packet for processing {"connection_id":188992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758447424,"raw_latitude":111829424,"longitude_deg":75.8447424,"latitude_deg":11.1829424,"altitude":8,"angle":249,"satellites":47,"speed":12,"hex_longitude":"2d34fd40","hex_latitude":"06aa61b0","is_valid_coordinates":true} 
[2026-09-18 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172779264001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405712038233374720,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3819333987615275008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737422000,"timestamp_ms":1789737422000,"timestamp_seconds":1789737422,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a9ccb0"} 
[2026-09-18 18:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:48: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-09-18 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-18 18:48:18] 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-09-18 18:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172779264001,"66":27180,"97":206,"81":23296,"24":12,"16":405712038233374720,"45":3819333987615275008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172779264001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405712038233374720,"km_value":405712038233374.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3819333987615275008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172779264001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":3819333987615275008}} 
[2026-09-18 18:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":188992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:48:18] local.INFO: GPS data processed {"connection_id":188992,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:48:18] local.INFO: Acknowledgment sent {"connection_id":188992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:48:39] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a9ff78012d1abb80071f9468002b012227..."} 
[2026-09-18 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a9ff78012d1abb80071f9468002b012227..."} 
[2026-09-18 18:48:39] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a9ff78012d1abb80071f9468002b012227..."} 
[2026-09-18 18:48:39] local.INFO: Packet analysis {"connection_id":188991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:39] local.INFO: Extracted packet for processing {"connection_id":188991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756726656,"raw_latitude":119510120,"longitude_deg":75.6726656,"latitude_deg":11.951012,"altitude":43,"angle":290,"satellites":39,"speed":28,"hex_longitude":"2d1abb80","hex_latitude":"071f9468","is_valid_coordinates":true} 
[2026-09-18 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172782848001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21514388833828864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927751777341552640,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789737435000,"timestamp_ms":1789737435000,"timestamp_seconds":1789737435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a9ff78"} 
[2026-09-18 18:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 18:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172782848001,"66":13798,"101":206,"83":41984,"24":28,"16":21514388833828864,"45":1927751777341552640},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172782848001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:48:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21514388833828864,"km_value":21514388833828.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927751777341552640,"description":"Unknown IO ID 45"} 
[2026-09-18 18:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172782848001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1927751777341552640}} 
[2026-09-18 18:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":188991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:48:39] local.INFO: GPS data processed {"connection_id":188991,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:48:39] local.INFO: Acknowledgment sent {"connection_id":188991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:48:50] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4a9dc50012d34f94006aa60b80008010830..."} 
[2026-09-18 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4a9dc50012d34f94006aa60b80008010830..."} 
[2026-09-18 18:48:50] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4a9dc50012d34f94006aa60b80008010830..."} 
[2026-09-18 18:48:50] local.INFO: Packet analysis {"connection_id":188992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:50] local.INFO: Extracted packet for processing {"connection_id":188992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4a9"} 
[2026-09-18 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758446400,"raw_latitude":111829176,"longitude_deg":75.84464,"latitude_deg":11.1829176,"altitude":8,"angle":264,"satellites":48,"speed":7,"hex_longitude":"2d34f940","hex_latitude":"06aa60b8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172780032001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405712085478014976,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3818278456452558848,"note":"Value kept but may cause issues"} 
[2026-09-18 18:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789737426000,"timestamp_ms":1789737426000,"timestamp_seconds":1789737426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4a9dc50"} 
[2026-09-18 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-09-18 18:48: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-09-18 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-18 18:48:50] 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-09-18 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-09-18 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-09-18 18:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172780032001,"66":27180,"97":206,"81":23296,"24":7,"16":405712085478014976,"45":3818278456452558848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172780032001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405712085478014976,"km_value":405712085478015.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3818278456452558848,"description":"Unknown IO ID 45"} 
[2026-09-18 18:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172780032001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3818278456452558848}} 
[2026-09-18 18:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":188992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:48:50] local.INFO: GPS data processed {"connection_id":188992,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:48:50] local.INFO: Acknowledgment sent {"connection_id":188992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:49:07] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:07] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:07] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:49:07] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:07] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:07] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:49:08] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:08] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:49:08] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:49:09] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4aac6b0012d1a2340071fef300023011e27..."} 
[2026-09-18 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4aac6b0012d1a2340071fef300023011e27..."} 
[2026-09-18 18:49:09] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4aac6b0012d1a2340071fef300023011e27..."} 
[2026-09-18 18:49:09] local.INFO: Packet analysis {"connection_id":186400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4aa"} 
[2026-09-18 18:49:09] local.INFO: Extracted packet for processing {"connection_id":186400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4aa"} 
[2026-09-18 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756687680,"raw_latitude":119533360,"longitude_deg":75.668768,"latitude_deg":11.953336,"altitude":35,"angle":286,"satellites":39,"speed":41,"hex_longitude":"2d1a2340","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-09-18 18:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172793856001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21516665166495744,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893200723955795968,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789737486000,"timestamp_ms":1789737486000,"timestamp_seconds":1789737486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4aac6b0"} 
[2026-09-18 18:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 18:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172793856001,"66":13559,"101":206,"83":41984,"24":41,"16":21516665166495744,"45":1893200723955795968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 18:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172793856001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:49:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 18:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21516665166495744,"km_value":21516665166495.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893200723955795968,"description":"Unknown IO ID 45"} 
[2026-09-18 18:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172793856001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1893200723955795968}} 
[2026-09-18 18:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":186400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:49:09] local.INFO: GPS data processed {"connection_id":186400,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:49:09] local.INFO: Acknowledgment sent {"connection_id":186400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:49:11] local.INFO: TCP Data received {"connection_id":186240,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:49:11] local.INFO: Processing buffer {"connection_id":186240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:49:11] local.INFO: IMEI packet received {"connection_id":186240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":186240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:49:16] local.INFO: TCP Data received {"connection_id":186240,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:49:16] local.INFO: Processing buffer {"connection_id":186240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:49:16] local.INFO: IMEI packet received {"connection_id":186240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":186240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:49:18] local.INFO: TCP Data received {"connection_id":186240,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4aa0b30012d34f2c006aa5ef8000a00fd31..."} 
[2026-09-18 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4aa0b30012d34f2c006aa5ef8000a00fd31..."} 
[2026-09-18 18:49:18] local.INFO: Processing buffer {"connection_id":186240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4aa0b30012d34f2c006aa5ef8000a00fd31..."} 
[2026-09-18 18:49:18] local.INFO: Packet analysis {"connection_id":186240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4aa"} 
[2026-09-18 18:49:18] local.INFO: Extracted packet for processing {"connection_id":186240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4aa"} 
[2026-09-18 18:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758444736,"raw_latitude":111828728,"longitude_deg":75.8444736,"latitude_deg":11.1828728,"altitude":10,"angle":253,"satellites":49,"speed":9,"hex_longitude":"2d34f2c0","hex_latitude":"06aa5ef8","is_valid_coordinates":true} 
[2026-09-18 18:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172781056001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405712171377360896,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3817152556545652736,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737438000,"timestamp_ms":1789737438000,"timestamp_seconds":1789737438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4aa0b30"} 
[2026-09-18 18:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-18 18:49:18] 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-09-18 18:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172781056001,"66":27332,"97":206,"81":23296,"24":9,"16":405712171377360896,"45":3817152556545652736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172781056001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405712171377360896,"km_value":405712171377360.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3817152556545652736,"description":"Unknown IO ID 45"} 
[2026-09-18 18:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172781056001,"power":27332,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3817152556545652736}} 
[2026-09-18 18:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":186240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:49:18] local.INFO: GPS data processed {"connection_id":186240,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:49:18] local.INFO: Acknowledgment sent {"connection_id":186240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:49:40] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ab5b20012d19bcc0072038580029015623..."} 
[2026-09-18 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ab5b20012d19bcc0072038580029015623..."} 
[2026-09-18 18:49:40] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ab5b20012d19bcc0072038580029015623..."} 
[2026-09-18 18:49:40] local.INFO: Packet analysis {"connection_id":186400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:49:40] local.INFO: Extracted packet for processing {"connection_id":186400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119552088,"longitude_deg":75.666144,"latitude_deg":11.9552088,"altitude":41,"angle":342,"satellites":35,"speed":40,"hex_longitude":"2d19bcc0","hex_latitude":"07203858","is_valid_coordinates":true} 
[2026-09-18 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172806144001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21518348793675776,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283407669248,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789737524000,"timestamp_ms":1789737524000,"timestamp_seconds":1789737524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ab5b20"} 
[2026-09-18 18:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3031107864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184186347725,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2870779905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221692415,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":23,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,114,160,55,45,128,39,41,10,66,48,64,18,40,36,1,240,81,227,180,32,4,113,205,28,13,228,248,239,101,2,76,7,37,23,120],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 18:49:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954737538858221568,"timestamp_seconds":2954737538858221.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172806144001,"66":12548,"103":206,"83":41984,"24":40,"16":21518348793675776,"45":1854568283407669248},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172806144001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21518348793675776,"km_value":21518348793675.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283407669248,"description":"Unknown IO ID 45"} 
[2026-09-18 18:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172806144001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1854568283407669248}} 
[2026-09-18 18:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":186400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:49:40] local.INFO: GPS data processed {"connection_id":186400,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:49:40] local.INFO: Acknowledgment sent {"connection_id":186400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:49:49] local.INFO: TCP Data received {"connection_id":186240,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ab5350012d34c38006aa3f000007011333..."} 
[2026-09-18 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ab5350012d34c38006aa3f000007011333..."} 
[2026-09-18 18:49:49] local.INFO: Processing buffer {"connection_id":186240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ab5350012d34c38006aa3f000007011333..."} 
[2026-09-18 18:49:49] local.INFO: Packet analysis {"connection_id":186240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:49:49] local.INFO: Extracted packet for processing {"connection_id":186240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111820544,"longitude_deg":75.843264,"latitude_deg":11.1820544,"altitude":7,"angle":275,"satellites":51,"speed":6,"hex_longitude":"2d34c380","hex_latitude":"06aa3f00","is_valid_coordinates":true} 
[2026-09-18 18:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172805376001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713034665787392,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033600512,"note":"Value kept but may cause issues"} 
[2026-09-18 18:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789737522000,"timestamp_ms":1789737522000,"timestamp_seconds":1789737522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ab5350"} 
[2026-09-18 18:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-18 18:49:49] 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-09-18 18:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172805376001,"66":27321,"97":206,"81":23296,"24":6,"16":405713034665787392,"45":3802164014033600512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172805376001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713034665787392,"km_value":405713034665787.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033600512,"description":"Unknown IO ID 45"} 
[2026-09-18 18:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172805376001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802164014033600512}} 
[2026-09-18 18:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":186240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:49:49] local.INFO: GPS data processed {"connection_id":186240,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:49:49] local.INFO: Acknowledgment sent {"connection_id":186240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:50:02] local.INFO: TCP Data received {"connection_id":186401,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:50:02] local.INFO: Processing buffer {"connection_id":186401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:50:02] local.INFO: IMEI packet received {"connection_id":186401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":186401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:50:07] local.INFO: TCP Data received {"connection_id":186401,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:50:07] local.INFO: Processing buffer {"connection_id":186401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:50:07] local.INFO: IMEI packet received {"connection_id":186401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":186401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:50:08] local.INFO: TCP Data received {"connection_id":186401,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ab62f0012d19bb80072040380029016121..."} 
[2026-09-18 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ab62f0012d19bb80072040380029016121..."} 
[2026-09-18 18:50:08] local.INFO: Processing buffer {"connection_id":186401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ab62f0012d19bb80072040380029016121..."} 
[2026-09-18 18:50:08] local.INFO: Packet analysis {"connection_id":186401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:08] local.INFO: Extracted packet for processing {"connection_id":186401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119554104,"longitude_deg":75.666112,"latitude_deg":11.9554104,"altitude":41,"angle":353,"satellites":33,"speed":41,"hex_longitude":"2d19bb80","hex_latitude":"07204038","is_valid_coordinates":true} 
[2026-09-18 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172806144001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21518447577923584,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283407669248,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50: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-09-18 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737526000,"timestamp_ms":1789737526000,"timestamp_seconds":1789737526,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ab62f0"} 
[2026-09-18 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3031108864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184186347725,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2871291905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147950600,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718584,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,114,160,91,45,192,56,41,35,10,66,55,128,39,48,64,1,240,123,227,180,32,4,113,205,33,28,222,216,38,239,49,2,76,7,37,120],"length":485,"final_offset":615,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 18:50:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954737538858221568,"timestamp_seconds":2954737538858221.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172806144001,"66":12548,"103":206,"83":41984,"24":41,"16":21518447577923584,"45":1854568283407669248},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172806144001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:50:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21518447577923584,"km_value":21518447577923.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283407669248,"description":"Unknown IO ID 45"} 
[2026-09-18 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172806144001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1854568283407669248}} 
[2026-09-18 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":186401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:50:08] local.INFO: GPS data processed {"connection_id":186401,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:50:08] local.INFO: Acknowledgment sent {"connection_id":186401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:50:13] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:13] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:13] local.INFO: IMEI packet received {"connection_id":188994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":188994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:50:17] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:17] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:17] local.INFO: IMEI packet received {"connection_id":188994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":188994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:50:22] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:22] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:50:22] local.INFO: IMEI packet received {"connection_id":188994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":188994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:50:22] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4aba558012d34c10006aa3f600006011730..."} 
[2026-09-18 18:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4aba558012d34c10006aa3f600006011730..."} 
[2026-09-18 18:50:22] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4aba558012d34c10006aa3f600006011730..."} 
[2026-09-18 18:50:22] local.INFO: Packet analysis {"connection_id":188994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:22] local.INFO: Extracted packet for processing {"connection_id":188994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111820640,"longitude_deg":75.8432,"latitude_deg":11.182064,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-09-18 18:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172805632001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713064730558464,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545245184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789737543000,"timestamp_ms":1789737543000,"timestamp_seconds":1789737543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4aba558"} 
[2026-09-18 18:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-18 18:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172805632001,"66":27865,"97":206,"81":23296,"24":0,"16":405713064730558464,"45":3802023276545245184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172805632001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713064730558464,"km_value":405713064730558.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545245184,"description":"Unknown IO ID 45"} 
[2026-09-18 18:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172805632001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545245184}} 
[2026-09-18 18:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":188994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:50:22] local.INFO: GPS data processed {"connection_id":188994,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:50:22] local.INFO: Acknowledgment sent {"connection_id":188994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:50:39] local.INFO: TCP Data received {"connection_id":186401,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ab95b8012d19b8c007206280002a015b26..."} 
[2026-09-18 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ab95b8012d19b8c007206280002a015b26..."} 
[2026-09-18 18:50:39] local.INFO: Processing buffer {"connection_id":186401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ab95b8012d19b8c007206280002a015b26..."} 
[2026-09-18 18:50:39] local.INFO: Packet analysis {"connection_id":186401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:39] local.INFO: Extracted packet for processing {"connection_id":186401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119562880,"longitude_deg":75.6660416,"latitude_deg":11.956288,"altitude":42,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2d19b8c0","hex_latitude":"07206280","is_valid_coordinates":true} 
[2026-09-18 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172806656001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21518877074653184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439687297024,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789737539000,"timestamp_ms":1789737539000,"timestamp_seconds":1789737539,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ab95b8"} 
[2026-09-18 18:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3031112864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184209809613,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2872059905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,114,160,91,45,192,56,41,35,10,66,55,128,1,240,101,227,180,32,4,113,205,37,36,217,88,40,239,47,2,76,7,38,28,120],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 18:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954749624896258048,"timestamp_seconds":2954749624896258.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172806656001,"66":12950,"103":206,"83":41984,"24":0,"16":21518877074653184,"45":1854216439687297024},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172806656001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21518877074653184,"km_value":21518877074653.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439687297024,"description":"Unknown IO ID 45"} 
[2026-09-18 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172806656001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854216439687297024}} 
[2026-09-18 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":186401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:50:39] local.INFO: GPS data processed {"connection_id":186401,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:50:39] local.INFO: Acknowledgment sent {"connection_id":186401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:50:54] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4aba558012d34c10006aa3f600006011730..."} 
[2026-09-18 18:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4aba558012d34c10006aa3f600006011730..."} 
[2026-09-18 18:50:54] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4aba558012d34c10006aa3f600006011730..."} 
[2026-09-18 18:50:54] local.INFO: Packet analysis {"connection_id":188994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:54] local.INFO: Extracted packet for processing {"connection_id":188994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:50:54] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111820640,"longitude_deg":75.8432,"latitude_deg":11.182064,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-09-18 18:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172811008001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713064730558464,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589103493120,"note":"Value kept but may cause issues"} 
[2026-09-18 18:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789737543000,"timestamp_ms":1789737543000,"timestamp_seconds":1789737543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4aba558"} 
[2026-09-18 18:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172811008001,"66":27865,"97":206,"81":23296,"24":0,"16":405713064730558464,"45":3801319589103493120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172811008001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:50:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:50:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713064730558464,"km_value":405713064730558.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589103493120,"description":"Unknown IO ID 45"} 
[2026-09-18 18:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172811008001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801319589103493120}} 
[2026-09-18 18:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":188994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:50:54] local.INFO: GPS data processed {"connection_id":188994,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:50:54] local.INFO: Acknowledgment sent {"connection_id":188994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:51:03] local.INFO: TCP Data received {"connection_id":186242,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:51:03] local.INFO: Processing buffer {"connection_id":186242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:51:03] local.INFO: IMEI packet received {"connection_id":186242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":186242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:51:07] local.INFO: TCP Data received {"connection_id":186242,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:51:07] local.INFO: Processing buffer {"connection_id":186242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:51:07] local.INFO: IMEI packet received {"connection_id":186242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":186242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:51:07] local.INFO: TCP Data received {"connection_id":186242,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4acb6c8012d19b6000720ab580039012927..."} 
[2026-09-18 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4acb6c8012d19b6000720ab580039012927..."} 
[2026-09-18 18:51:07] local.INFO: Processing buffer {"connection_id":186242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4acb6c8012d19b6000720ab580039012927..."} 
[2026-09-18 18:51:07] local.INFO: Packet analysis {"connection_id":186242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:51:07] local.INFO: Extracted packet for processing {"connection_id":186242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119581528,"longitude_deg":75.6659712,"latitude_deg":11.9581528,"altitude":57,"angle":297,"satellites":39,"speed":22,"hex_longitude":"2d19b600","hex_latitude":"0720ab58","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172828672001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21519886391967744,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531580928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51: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-09-18 18:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789737613000,"timestamp_ms":1789737613000,"timestamp_seconds":1789737613,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4acb6c8"} 
[2026-09-18 18:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 18:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172828672001,"66":12385,"103":206,"83":41984,"24":22,"16":21519886391967744,"45":1853160908531580928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172828672001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:51:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21519886391967744,"km_value":21519886391967.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531580928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172828672001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853160908531580928}} 
[2026-09-18 18:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":186242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:51:07] local.INFO: GPS data processed {"connection_id":186242,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:51:07] local.INFO: Acknowledgment sent {"connection_id":186242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:51:11] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:51:11] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:51:11] local.INFO: IMEI packet received {"connection_id":186402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":186402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:51:17] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:51:17] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:51:17] local.INFO: IMEI packet received {"connection_id":186402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":186402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:51:18] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4abd050012d34c50006aa3ff80008011732..."} 
[2026-09-18 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4abd050012d34c50006aa3ff80008011732..."} 
[2026-09-18 18:51:18] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4abd050012d34c50006aa3ff80008011732..."} 
[2026-09-18 18:51:18] local.INFO: Packet analysis {"connection_id":186402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:51:18] local.INFO: Extracted packet for processing {"connection_id":186402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ab"} 
[2026-09-18 18:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820792,"longitude_deg":75.8433024,"latitude_deg":11.1820792,"altitude":8,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3ff8","is_valid_coordinates":true} 
[2026-09-18 18:51: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-09-18 18:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172811008001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713064730558464,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589103493120,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737554000,"timestamp_ms":1789737554000,"timestamp_seconds":1789737554,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4abd050"} 
[2026-09-18 18:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-18 18:51:18] 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-09-18 18:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172811008001,"66":27158,"97":206,"81":23296,"24":0,"16":405713064730558464,"45":3801319589103493120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172811008001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713064730558464,"km_value":405713064730558.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589103493120,"description":"Unknown IO ID 45"} 
[2026-09-18 18:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172811008001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801319589103493120}} 
[2026-09-18 18:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":186402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:51:18] local.INFO: GPS data processed {"connection_id":186402,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:51:18] local.INFO: Acknowledgment sent {"connection_id":186402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:51:38] local.INFO: TCP Data received {"connection_id":186242,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4acca50012d19ab000720af78003b011c26..."} 
[2026-09-18 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4acca50012d19ab000720af78003b011c26..."} 
[2026-09-18 18:51:38] local.INFO: Processing buffer {"connection_id":186242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4acca50012d19ab000720af78003b011c26..."} 
[2026-09-18 18:51:38] local.INFO: Packet analysis {"connection_id":186242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:51:38] local.INFO: Extracted packet for processing {"connection_id":186242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119582584,"longitude_deg":75.6656896,"latitude_deg":11.9582584,"altitude":59,"angle":284,"satellites":38,"speed":23,"hex_longitude":"2d19ab00","hex_latitude":"0720af78","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172828928001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21520028125888512,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668327322408960,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51: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-09-18 18:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789737618000,"timestamp_ms":1789737618000,"timestamp_seconds":1789737618,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4acca50"} 
[2026-09-18 18:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 18:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18: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-09-18 18:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172828928001,"66":13428,"103":206,"83":41984,"24":23,"16":21520028125888512,"45":1852668327322408960},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172828928001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:51:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21520028125888512,"km_value":21520028125888.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668327322408960,"description":"Unknown IO ID 45"} 
[2026-09-18 18:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172828928001,"power":13428,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1852668327322408960}} 
[2026-09-18 18:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":186242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:51:39] local.INFO: GPS data processed {"connection_id":186242,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:51:39] local.INFO: Acknowledgment sent {"connection_id":186242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:51:50] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:51:50] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:51:50] local.INFO: Packet analysis {"connection_id":186402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:51:50] local.INFO: Extracted packet for processing {"connection_id":186402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:51: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-09-18 18:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":186402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:51:50] local.INFO: GPS data processed {"connection_id":186402,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:51:50] local.INFO: Acknowledgment sent {"connection_id":186402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:52:02] local.INFO: TCP Data received {"connection_id":187662,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:52:02] local.INFO: Processing buffer {"connection_id":187662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:52:02] local.INFO: IMEI packet received {"connection_id":187662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":187662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:52:05] local.INFO: TCP Data received {"connection_id":186241,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:52:05] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:52:05] local.INFO: IMEI packet received {"connection_id":186241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":186241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:52:07] local.INFO: TCP Data received {"connection_id":187662,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:52:07] local.INFO: Processing buffer {"connection_id":187662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:52:07] local.INFO: IMEI packet received {"connection_id":187662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":187662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:52:08] local.INFO: TCP Data received {"connection_id":187662,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4acf160012d198e000720b328003b01102a..."} 
[2026-09-18 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4acf160012d198e000720b328003b01102a..."} 
[2026-09-18 18:52:08] local.INFO: Processing buffer {"connection_id":187662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4acf160012d198e000720b328003b01102a..."} 
[2026-09-18 18:52:08] local.INFO: Packet analysis {"connection_id":187662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:52:08] local.INFO: Extracted packet for processing {"connection_id":187662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756649472,"raw_latitude":119583528,"longitude_deg":75.6649472,"latitude_deg":11.9583528,"altitude":59,"angle":272,"satellites":42,"speed":34,"hex_longitude":"2d198e00","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-09-18 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172830208001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21520380313206784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102578862080,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52: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-09-18 18:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737628000,"timestamp_ms":1789737628000,"timestamp_seconds":1789737628,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4acf160"} 
[2026-09-18 18:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 18:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172830208001,"66":13515,"103":206,"83":41984,"24":34,"16":21520380313206784,"45":1849572102578862080},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172830208001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:52:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21520380313206784,"km_value":21520380313206.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102578862080,"description":"Unknown IO ID 45"} 
[2026-09-18 18:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172830208001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1849572102578862080}} 
[2026-09-18 18:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":187662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:52:08] local.INFO: GPS data processed {"connection_id":187662,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:52:08] local.INFO: Acknowledgment sent {"connection_id":187662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:52:11] local.INFO: TCP Data received {"connection_id":186243,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:52:11] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:52:11] local.INFO: IMEI packet received {"connection_id":186243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:52:17] local.INFO: TCP Data received {"connection_id":186243,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:52:17] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:52:17] local.INFO: IMEI packet received {"connection_id":186243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":186243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:52:19] local.INFO: TCP Data received {"connection_id":186243,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:52:19] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:52:19] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:52:19] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:52:19] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:52:19] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:52:40] local.INFO: TCP Data received {"connection_id":187662,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ae25f8012d18d100072129380040015b2b..."} 
[2026-09-18 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ae25f8012d18d100072129380040015b2b..."} 
[2026-09-18 18:52:40] local.INFO: Processing buffer {"connection_id":187662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ae25f8012d18d100072129380040015b2b..."} 
[2026-09-18 18:52:40] local.INFO: Packet analysis {"connection_id":187662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:52:40] local.INFO: Extracted packet for processing {"connection_id":187662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119613752,"longitude_deg":75.6601088,"latitude_deg":11.9613752,"altitude":64,"angle":347,"satellites":43,"speed":31,"hex_longitude":"2d18d100","hex_latitude":"07212938","is_valid_coordinates":true} 
[2026-09-18 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172851712001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21523537114169344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926407127040,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789737707000,"timestamp_ms":1789737707000,"timestamp_seconds":1789737707,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ae25f8"} 
[2026-09-18 18:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 18:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172851712001,"66":13417,"103":206,"83":41984,"24":31,"16":21523537114169344,"45":1788280926407127040},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172851712001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:52:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21523537114169344,"km_value":21523537114169.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926407127040,"description":"Unknown IO ID 45"} 
[2026-09-18 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172851712001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1788280926407127040}} 
[2026-09-18 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":187662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:52:40] local.INFO: GPS data processed {"connection_id":187662,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:52:40] local.INFO: Acknowledgment sent {"connection_id":187662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:52:51] local.INFO: TCP Data received {"connection_id":186243,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:52:51] local.INFO: Processing buffer {"connection_id":186243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:52:51] local.INFO: Packet analysis {"connection_id":186243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:52:51] local.INFO: Extracted packet for processing {"connection_id":186243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":186243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:52:51] local.INFO: GPS data processed {"connection_id":186243,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:52:51] local.INFO: Acknowledgment sent {"connection_id":186243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:53:06] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:06] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:06] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:53:07] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:07] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:07] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:53:11] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:53:11] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:53:11] local.INFO: IMEI packet received {"connection_id":186403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":186403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:53:13] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:13] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:53:13] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:53:14] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ae29e0012d18cfc007212c180040014f2a..."} 
[2026-09-18 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ae29e0012d18cfc007212c180040014f2a..."} 
[2026-09-18 18:53:14] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ae29e0012d18cfc007212c180040014f2a..."} 
[2026-09-18 18:53:14] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:53:14] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614488,"longitude_deg":75.6600768,"latitude_deg":11.9614488,"altitude":64,"angle":335,"satellites":42,"speed":31,"hex_longitude":"2d18cfc0","hex_latitude":"07212c18","is_valid_coordinates":true} 
[2026-09-18 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172852992001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21523575768875008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663918080,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789737708000,"timestamp_ms":1789737708000,"timestamp_seconds":1789737708,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ae29e0"} 
[2026-09-18 18:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:53: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-09-18 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 18:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172852992001,"66":13417,"103":206,"83":41984,"24":31,"16":21523575768875008,"45":1788210557663918080},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172852992001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21523575768875008,"km_value":21523575768875.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663918080,"description":"Unknown IO ID 45"} 
[2026-09-18 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172852992001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1788210557663918080}} 
[2026-09-18 18:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:53:14] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:53:14] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:53:14] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ae4538012d18c480072141080041015d2a..."} 
[2026-09-18 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ae4538012d18c480072141080041015d2a..."} 
[2026-09-18 18:53:14] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ae4538012d18c480072141080041015d2a..."} 
[2026-09-18 18:53:14] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:53:14] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119619848,"longitude_deg":75.6597888,"latitude_deg":11.9619848,"altitude":65,"angle":349,"satellites":42,"speed":36,"hex_longitude":"2d18c480","hex_latitude":"07214108","is_valid_coordinates":true} 
[2026-09-18 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172853248001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21523872121618432,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943218176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789737715000,"timestamp_ms":1789737715000,"timestamp_seconds":1789737715,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ae4538"} 
[2026-09-18 18:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:53: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-09-18 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 18:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172853248001,"66":13450,"106":206,"83":41984,"24":36,"16":21523872121618432,"45":1787858713943218176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172853248001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21523872121618432,"km_value":21523872121618.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943218176,"description":"Unknown IO ID 45"} 
[2026-09-18 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172853248001,"power":13450,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1787858713943218176}} 
[2026-09-18 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:53:15] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:53:15] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:53:16] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:53:16] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:53:16] local.INFO: IMEI packet received {"connection_id":186403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":186403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:53:18] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:53:18] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:53:18] local.INFO: Packet analysis {"connection_id":186403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:53:18] local.INFO: Extracted packet for processing {"connection_id":186403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:53: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-09-18 18:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:53: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-09-18 18:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":186403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:53:18] local.INFO: GPS data processed {"connection_id":186403,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:53:18] local.INFO: Acknowledgment sent {"connection_id":186403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:53:45] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ae5ca8012d18c100072155c80044014a29..."} 
[2026-09-18 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ae5ca8012d18c100072155c80044014a29..."} 
[2026-09-18 18:53:45] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ae5ca8012d18c100072155c80044014a29..."} 
[2026-09-18 18:53:45] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:53:45] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ae"} 
[2026-09-18 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119625160,"longitude_deg":75.6596992,"latitude_deg":11.962516,"altitude":68,"angle":330,"satellites":41,"speed":32,"hex_longitude":"2d18c100","hex_latitude":"072155c8","is_valid_coordinates":true} 
[2026-09-18 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172855040001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21524138409590784,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456595456,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789737721000,"timestamp_ms":1789737721000,"timestamp_seconds":1789737721,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ae5ca8"} 
[2026-09-18 18:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 18:53:45] 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-09-18 18:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172855040001,"66":13417,"106":206,"83":41984,"24":32,"16":21524138409590784,"45":1784692120456595456},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-18 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172855040001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:53:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-18 18:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21524138409590784,"km_value":21524138409590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456595456,"description":"Unknown IO ID 45"} 
[2026-09-18 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172855040001,"power":13417,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784692120456595456}} 
[2026-09-18 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:53:45] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:53:45] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:53:49] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:53:49] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:53:49] local.INFO: Packet analysis {"connection_id":186403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:53:49] local.INFO: Extracted packet for processing {"connection_id":186403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":186403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:53:49] local.INFO: GPS data processed {"connection_id":186403,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:53:49] local.INFO: Acknowledgment sent {"connection_id":186403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:54:02] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:02] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:02] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:54:03] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:03] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:03] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:54:07] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:07] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:54:07] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:54:08] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4af75e8012d181f800721aa50004b00232b..."} 
[2026-09-18 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4af75e8012d181f800721aa50004b00232b..."} 
[2026-09-18 18:54:08] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4af75e8012d181f800721aa50004b00232b..."} 
[2026-09-18 18:54:08] local.INFO: Packet analysis {"connection_id":187663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:54:08] local.INFO: Extracted packet for processing {"connection_id":187663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646800,"longitude_deg":75.6555648,"latitude_deg":11.96468,"altitude":75,"angle":35,"satellites":43,"speed":12,"hex_longitude":"2d181f80","hex_latitude":"0721aa50","is_valid_coordinates":true} 
[2026-09-18 18:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172874496001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21526504936570880,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585250304,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54: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-09-18 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789737793000,"timestamp_ms":1789737793000,"timestamp_seconds":1789737793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4af75e8"} 
[2026-09-18 18:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-8809033030662881205,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3031351864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2172986974825086986,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2936315905,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2462056527,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630631840639594,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147950979,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926186,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266478029713837,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,122,160,98,45,64,167,73,42,10,66,90,166,41,35,1,240,227,180,33,4,113,205,31,221,96,32,43,239,52,106,2,76,7,75,49,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-18 18:54:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332286328451497984,"timestamp_seconds":5332286328451498.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172874496001,"66":13396,"105":206,"83":41984,"24":12,"16":21526504936570880,"45":1737896905585250304},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172874496001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:54:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21526504936570880,"km_value":21526504936570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585250304,"description":"Unknown IO ID 45"} 
[2026-09-18 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172874496001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737896905585250304}} 
[2026-09-18 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":187663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:54:08] local.INFO: GPS data processed {"connection_id":187663,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:54:08] local.INFO: Acknowledgment sent {"connection_id":187663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:54:11] local.INFO: TCP Data received {"connection_id":186244,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:54:11] local.INFO: Processing buffer {"connection_id":186244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:54:11] local.INFO: IMEI packet received {"connection_id":186244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":186244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:54:16] local.INFO: TCP Data received {"connection_id":186244,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:54:16] local.INFO: Processing buffer {"connection_id":186244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:54:16] local.INFO: IMEI packet received {"connection_id":186244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":186244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:54:18] local.INFO: TCP Data received {"connection_id":186244,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:54:18] local.INFO: Processing buffer {"connection_id":186244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:54:18] local.INFO: Packet analysis {"connection_id":186244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:54:18] local.INFO: Extracted packet for processing {"connection_id":186244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:54: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-09-18 18:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18: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-09-18 18: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":186244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:54:18] local.INFO: GPS data processed {"connection_id":186244,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:54:18] local.INFO: Acknowledgment sent {"connection_id":186244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:54:39] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4af8588012d1821c00721aea8004c00162c..."} 
[2026-09-18 18:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4af8588012d1821c00721aea8004c00162c..."} 
[2026-09-18 18:54:39] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4af8588012d1821c00721aea8004c00162c..."} 
[2026-09-18 18:54:39] local.INFO: Packet analysis {"connection_id":187663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:54:39] local.INFO: Extracted packet for processing {"connection_id":187663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647912,"longitude_deg":75.6556224,"latitude_deg":11.9647912,"altitude":76,"angle":22,"satellites":44,"speed":15,"hex_longitude":"2d1821c0","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-18 18:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172875008001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21526565066113024,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306236928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789737797000,"timestamp_ms":1789737797000,"timestamp_seconds":1789737797,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4af8588"} 
[2026-09-18 18:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 18:54:39] 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-09-18 18:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172875008001,"66":13396,"105":206,"83":41984,"24":15,"16":21526565066113024,"45":1738248749306236928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172875008001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21526565066113024,"km_value":21526565066113.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306236928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172875008001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1738248749306236928}} 
[2026-09-18 18:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":187663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:54:39] local.INFO: GPS data processed {"connection_id":187663,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:54:39] local.INFO: Acknowledgment sent {"connection_id":187663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:54:49] local.INFO: TCP Data received {"connection_id":186244,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:54:49] local.INFO: Processing buffer {"connection_id":186244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ac1e70012d34c80006aa40380008011731..."} 
[2026-09-18 18:54:49] local.INFO: Packet analysis {"connection_id":186244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:54:49] local.INFO: Extracted packet for processing {"connection_id":186244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ac"} 
[2026-09-18 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820856,"longitude_deg":75.8433792,"latitude_deg":11.1820856,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-09-18 18:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172813824001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010374656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789737574000,"timestamp_ms":1789737574000,"timestamp_seconds":1789737574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ac1e70"} 
[2026-09-18 18:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-18 18:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172813824001,"66":27767,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802445489010374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172813824001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010374656,"description":"Unknown IO ID 45"} 
[2026-09-18 18:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172813824001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010374656}} 
[2026-09-18 18:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":186244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:54:49] local.INFO: GPS data processed {"connection_id":186244,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:54:49] local.INFO: Acknowledgment sent {"connection_id":186244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:55:08] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:08] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:08] local.INFO: IMEI packet received {"connection_id":186404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":186404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:55:08] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:08] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:08] local.INFO: IMEI packet received {"connection_id":186404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":186404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:55:12] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:12] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:55:12] local.INFO: IMEI packet received {"connection_id":186404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:55:13] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4afa4c8012d182a800721bec0004d00222a..."} 
[2026-09-18 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4afa4c8012d182a800721bec0004d00222a..."} 
[2026-09-18 18:55:13] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4afa4c8012d182a800721bec0004d00222a..."} 
[2026-09-18 18:55:13] local.INFO: Packet analysis {"connection_id":186404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:13] local.INFO: Extracted packet for processing {"connection_id":186404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119652032,"longitude_deg":75.6558464,"latitude_deg":11.9652032,"altitude":77,"angle":34,"satellites":42,"speed":29,"hex_longitude":"2d182a80","hex_latitude":"0721bec0","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172876032001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21526788404412416,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004120576,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789737805000,"timestamp_ms":1789737805000,"timestamp_seconds":1789737805,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4afa4c8"} 
[2026-09-18 18:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:55: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-09-18 18: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 18:55:13] 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-09-18 18: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-09-18 18:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172876032001,"66":13493,"105":206,"83":41984,"24":29,"16":21526788404412416,"45":1738882068004120576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172876032001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:55:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21526788404412416,"km_value":21526788404412.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004120576,"description":"Unknown IO ID 45"} 
[2026-09-18 18:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172876032001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1738882068004120576}} 
[2026-09-18 18:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":186404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:55:14] local.INFO: GPS data processed {"connection_id":186404,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:55:14] local.INFO: Acknowledgment sent {"connection_id":186404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:55:17] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:55:17] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:55:17] local.INFO: IMEI packet received {"connection_id":188997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":188997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:55:17] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:55:17] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:55:17] local.INFO: IMEI packet received {"connection_id":188997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":188997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:55:19] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:19] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:19] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:55:19] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:55: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-09-18 18:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:55:19] 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-09-18 18:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:55:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:55:19] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:55:19] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:55:24] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:24] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:24] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:55:24] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:55:24] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:55:24] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:55:27] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:27] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:55:27] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:55:27] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:55:27] 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-09-18 18:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:55:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:55:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:55:27] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:55:27] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:55:42] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.106.6.56","data_length":1348,"data_hex":"000000000000030f8e0a000001a0b4afcfc0012d183e800721dd90005000202d..."} 
[2026-09-18 18:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0b4afcfc0012d183e800721dd90005000202d..."} 
[2026-09-18 18:55:42] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0b4afcfc0012d183e800721dd90005000202d..."} 
[2026-09-18 18:55:42] local.INFO: Packet analysis {"connection_id":186404,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:42] local.INFO: Extracted packet for processing {"connection_id":186404,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119659920,"longitude_deg":75.6563584,"latitude_deg":11.965992,"altitude":80,"angle":32,"satellites":45,"speed":35,"hex_longitude":"2d183e80","hex_latitude":"0721dd90","is_valid_coordinates":true} 
[2026-09-18 18:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172878080001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21527243670945792,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974051393536,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55: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-09-18 18:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789737816000,"timestamp_ms":1789737816000,"timestamp_seconds":1789737816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4afcfc0"} 
[2026-09-18 18:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 18:55:42] 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-09-18 18:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172878080001,"66":13493,"105":206,"83":41984,"24":35,"16":21527243670945792,"45":1741344974051393536},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172878080001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:55:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21527243670945792,"km_value":21527243670945.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974051393536,"description":"Unknown IO ID 45"} 
[2026-09-18 18:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172878080001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1741344974051393536}} 
[2026-09-18 18:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":186404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:55:42] local.INFO: GPS data processed {"connection_id":186404,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:55:42] local.INFO: Acknowledgment sent {"connection_id":186404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:55:42] local.INFO: Packet analysis {"connection_id":186404,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:42] local.INFO: Incomplete packet, waiting for more data {"connection_id":186404,"needed":795,"available":553} 
[2026-09-18 18:55:43] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.106.6.56","data_length":242,"data_hex":"000000000001a0b4af5a90012d181e400721a6a0004901512900050000000a00..."} 
[2026-09-18 18:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":242,"packet_hex":"000000000001a0b4af5a90012d181e400721a6a0004901512900050000000a00..."} 
[2026-09-18 18:55:43] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4aff6d0012d1853000721fb40005300232d..."} 
[2026-09-18 18:55:43] local.INFO: Packet analysis {"connection_id":186404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:43] local.INFO: Extracted packet for processing {"connection_id":186404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4af"} 
[2026-09-18 18:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119667520,"longitude_deg":75.6568832,"latitude_deg":11.966752,"altitude":83,"angle":35,"satellites":45,"speed":37,"hex_longitude":"2d185300","hex_latitude":"0721fb40","is_valid_coordinates":true} 
[2026-09-18 18:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172880896001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21527690347544576,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473587625984,"note":"Value kept but may cause issues"} 
[2026-09-18 18:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789737826000,"timestamp_ms":1789737826000,"timestamp_seconds":1789737826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4aff6d0"} 
[2026-09-18 18:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18: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-09-18 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 18:55:43] 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-09-18 18:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172880896001,"66":13472,"105":206,"83":41984,"24":37,"16":21527690347544576,"45":1746974473587625984},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 18:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172880896001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:55:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 18:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 18:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21527690347544576,"km_value":21527690347544.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473587625984,"description":"Unknown IO ID 45"} 
[2026-09-18 18:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172880896001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1746974473587625984}} 
[2026-09-18 18:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":186404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:55:43] local.INFO: GPS data processed {"connection_id":186404,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:55:43] local.INFO: Acknowledgment sent {"connection_id":186404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:56:02] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:56:02] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:56:02] local.INFO: IMEI packet received {"connection_id":188998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:56:06] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:56:06] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:56:06] local.INFO: IMEI packet received {"connection_id":188998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":188998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:56:06] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b12b68012d18b2000722e7d8006800102c..."} 
[2026-09-18 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b12b68012d18b2000722e7d8006800102c..."} 
[2026-09-18 18:56:06] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b12b68012d18b2000722e7d8006800102c..."} 
[2026-09-18 18:56:06] local.INFO: Packet analysis {"connection_id":188998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:56:06] local.INFO: Extracted packet for processing {"connection_id":188998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756593152,"raw_latitude":119728088,"longitude_deg":75.6593152,"latitude_deg":11.9728088,"altitude":104,"angle":16,"satellites":44,"speed":41,"hex_longitude":"2d18b200","hex_latitude":"0722e7d8","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172902144001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21530971702558720,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502437425152,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:06] 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-09-18 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789737905000,"timestamp_ms":1789737905000,"timestamp_seconds":1789737905,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b12b68"} 
[2026-09-18 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-09-18 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172902144001,"66":13472,"137":206,"83":42752,"24":41,"16":21530971702558720,"45":1776177502437425152},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172902144001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21530971702558720,"km_value":21530971702558.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502437425152,"description":"Unknown IO ID 45"} 
[2026-09-18 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172902144001,"power":13472,"unknown_137":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1776177502437425152}} 
[2026-09-18 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":188998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:56:06] local.INFO: GPS data processed {"connection_id":188998,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:56:06] local.INFO: Acknowledgment sent {"connection_id":188998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:56:07] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b142d8012d18b9c00722fd98006600212d..."} 
[2026-09-18 18:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b142d8012d18b9c00722fd98006600212d..."} 
[2026-09-18 18:56:07] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b142d8012d18b9c00722fd98006600212d..."} 
[2026-09-18 18:56:07] local.INFO: Packet analysis {"connection_id":188998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:56:07] local.INFO: Extracted packet for processing {"connection_id":188998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756595136,"raw_latitude":119733656,"longitude_deg":75.6595136,"latitude_deg":11.9733656,"altitude":102,"angle":33,"satellites":45,"speed":35,"hex_longitude":"2d18b9c0","hex_latitude":"0722fd98","is_valid_coordinates":true} 
[2026-09-18 18:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172903680001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21531259465367552,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779484833415157760,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:07] 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-09-18 18:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789737911000,"timestamp_ms":1789737911000,"timestamp_seconds":1789737911,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b142d8"} 
[2026-09-18 18:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 18:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172903680001,"66":13135,"137":206,"83":42752,"24":35,"16":21531259465367552,"45":1779484833415157760},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172903680001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:56:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21531259465367552,"km_value":21531259465367.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779484833415157760,"description":"Unknown IO ID 45"} 
[2026-09-18 18:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172903680001,"power":13135,"unknown_137":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1779484833415157760}} 
[2026-09-18 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":188998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:56:08] local.INFO: GPS data processed {"connection_id":188998,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:56:08] local.INFO: Acknowledgment sent {"connection_id":188998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:56:12] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:56:12] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:56:12] local.INFO: IMEI packet received {"connection_id":186405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":186405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:56:17] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:56:17] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:56:17] local.INFO: IMEI packet received {"connection_id":186405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":186405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:56:18] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:18] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:18] local.INFO: Packet analysis {"connection_id":186405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:56:18] local.INFO: Extracted packet for processing {"connection_id":186405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":186405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:56:18] local.INFO: GPS data processed {"connection_id":186405,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:56:18] local.INFO: Acknowledgment sent {"connection_id":186405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:56:22] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:22] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:22] local.INFO: Packet analysis {"connection_id":186405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:56:22] local.INFO: Extracted packet for processing {"connection_id":186405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:56:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":186405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:56:22] local.INFO: GPS data processed {"connection_id":186405,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:56:22] local.INFO: Acknowledgment sent {"connection_id":186405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:56:38] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b14aa8012d18be8007230288006500342d..."} 
[2026-09-18 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b14aa8012d18be8007230288006500342d..."} 
[2026-09-18 18:56:38] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b14aa8012d18be8007230288006500342d..."} 
[2026-09-18 18:56:38] local.INFO: Packet analysis {"connection_id":188998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:56:38] local.INFO: Extracted packet for processing {"connection_id":188998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756596352,"raw_latitude":119734920,"longitude_deg":75.6596352,"latitude_deg":11.973492,"altitude":101,"angle":52,"satellites":45,"speed":33,"hex_longitude":"2d18be80","hex_latitude":"07230288","is_valid_coordinates":true} 
[2026-09-18 18:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172905216001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21531341069746176,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781666264486090752,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:38] 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-09-18 18:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789737913000,"timestamp_ms":1789737913000,"timestamp_seconds":1789737913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b14aa8"} 
[2026-09-18 18:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-18 18:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172905216001,"66":13037,"137":206,"83":42752,"24":33,"16":21531341069746176,"45":1781666264486090752},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172905216001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:56:38] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21531341069746176,"km_value":21531341069746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781666264486090752,"description":"Unknown IO ID 45"} 
[2026-09-18 18:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172905216001,"power":13037,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1781666264486090752}} 
[2026-09-18 18:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":188998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:56:39] local.INFO: GPS data processed {"connection_id":188998,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:56:39] local.INFO: Acknowledgment sent {"connection_id":188998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:56:53] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:53] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:56:53] local.INFO: Packet analysis {"connection_id":186405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:56:53] local.INFO: Extracted packet for processing {"connection_id":186405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":186405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:56:53] local.INFO: GPS data processed {"connection_id":186405,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:56:53] local.INFO: Acknowledgment sent {"connection_id":186405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:57:02] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:57:02] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:57:02] local.INFO: IMEI packet received {"connection_id":186245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":186245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:57:04] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:57:04] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:57:04] local.INFO: IMEI packet received {"connection_id":186245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":186245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:57:05] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b1eeb8012d194c4007235970004e002126..."} 
[2026-09-18 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b1eeb8012d194c4007235970004e002126..."} 
[2026-09-18 18:57:05] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b1eeb8012d194c4007235970004e002126..."} 
[2026-09-18 18:57:05] local.INFO: Packet analysis {"connection_id":186245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:57:05] local.INFO: Extracted packet for processing {"connection_id":186245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b1"} 
[2026-09-18 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756632640,"raw_latitude":119757168,"longitude_deg":75.663264,"latitude_deg":11.9757168,"altitude":78,"angle":33,"satellites":38,"speed":53,"hex_longitude":"2d194c40","hex_latitude":"07235970","is_valid_coordinates":true} 
[2026-09-18 18:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172914688001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21533647467184128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816358055369756672,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789737955000,"timestamp_ms":1789737955000,"timestamp_seconds":1789737955,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b1eeb8"} 
[2026-09-18 18:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3031523864,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-5667138011203581056,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503928172118016,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4207411294,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6595804015427518488,"corrected_to":0} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040101,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2523783807702687021,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612106161697197,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195064320,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84751214189159174,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":28429321295110656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:05] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,186,83,24,241,157,16,128,160,180,45,64,31,89,35,10,66,127,148,192,2,93,40,144,1,240,150,227,34,4,113,205,39,129,56,43,239,51,76,7,100,36,50,167,222,69,96,80],"length":625,"final_offset":755,"validated_count":48,"validation_warnings":[{"io_id":205,"original":6595804015427518488,"validated":0}]} 
[2026-09-18 18:57:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980826643553714176,"timestamp_seconds":5980826643553714.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 18:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172914688001,"66":12711,"186":206,"83":42752,"24":53,"16":21533647467184128,"45":1816358055369756672},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-18 18:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172914688001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:57:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-18 18:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21533647467184128,"km_value":21533647467184.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816358055369756672,"description":"Unknown IO ID 45"} 
[2026-09-18 18:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172914688001,"power":12711,"unknown_186":206,"unknown_83":42752,"ignition":53,"odometer":null,"unknown_45":1816358055369756672}} 
[2026-09-18 18:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":186245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:57:05] local.INFO: GPS data processed {"connection_id":186245,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:57:05] local.INFO: Acknowledgment sent {"connection_id":186245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:57:12] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:57:12] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:57:12] local.INFO: IMEI packet received {"connection_id":186406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":186406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:57:17] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:57:17] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:57:17] local.INFO: IMEI packet received {"connection_id":186406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":186406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:57:18] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:57:18] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:57:18] local.INFO: Packet analysis {"connection_id":186406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:57:18] local.INFO: Extracted packet for processing {"connection_id":186406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":186406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:57:18] local.INFO: GPS data processed {"connection_id":186406,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:57:18] local.INFO: Acknowledgment sent {"connection_id":186406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:57:36] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b20df8012d195ec0072379500048001d20..."} 
[2026-09-18 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b20df8012d195ec0072379500048001d20..."} 
[2026-09-18 18:57:36] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b20df8012d195ec0072379500048001d20..."} 
[2026-09-18 18:57:36] local.INFO: Packet analysis {"connection_id":186245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b2"} 
[2026-09-18 18:57:36] local.INFO: Extracted packet for processing {"connection_id":186245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b2"} 
[2026-09-18 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119765328,"longitude_deg":75.6637376,"latitude_deg":11.9765328,"altitude":72,"angle":29,"satellites":32,"speed":42,"hex_longitude":"2d195ec0","hex_latitude":"07237950","is_valid_coordinates":true} 
[2026-09-18 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172916480001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21534102733717504,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822902348580220928,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57: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-09-18 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789737963000,"timestamp_ms":1789737963000,"timestamp_seconds":1789737963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b20df8"} 
[2026-09-18 18:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 18:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172916480001,"66":13515,"177":206,"83":42752,"24":42,"16":21534102733717504,"45":1822902348580220928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-18 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172916480001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:57:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-18 18:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21534102733717504,"km_value":21534102733717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822902348580220928,"description":"Unknown IO ID 45"} 
[2026-09-18 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172916480001,"power":13515,"unknown_177":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1822902348580220928}} 
[2026-09-18 18:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":186245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:57:36] local.INFO: GPS data processed {"connection_id":186245,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:57:36] local.INFO: Acknowledgment sent {"connection_id":186245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:57:40] local.INFO: TCP Data received {"connection_id":188996,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:57:40] local.INFO: Processing buffer {"connection_id":188996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:57:40] local.INFO: IMEI packet received {"connection_id":188996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":188996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:57:51] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:57:51] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:57:51] local.INFO: Packet analysis {"connection_id":186406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:57:51] local.INFO: Extracted packet for processing {"connection_id":186406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 18:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 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-09-18 18:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 18:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":186406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:57:51] local.INFO: GPS data processed {"connection_id":186406,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:57:51] local.INFO: Acknowledgment sent {"connection_id":186406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:58:02] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:02] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:02] local.INFO: IMEI packet received {"connection_id":187664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":187664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:58:03] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:03] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:03] local.INFO: IMEI packet received {"connection_id":187664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":187664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:58:07] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:07] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:58:07] local.INFO: IMEI packet received {"connection_id":187664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":187664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:58:08] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b30be0012d1a43c00723d480002d00202a..."} 
[2026-09-18 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b30be0012d1a43c00723d480002d00202a..."} 
[2026-09-18 18:58:08] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b30be0012d1a43c00723d480002d00202a..."} 
[2026-09-18 18:58:08] local.INFO: Packet analysis {"connection_id":187664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:58:08] local.INFO: Extracted packet for processing {"connection_id":187664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756696000,"raw_latitude":119788672,"longitude_deg":75.6696,"latitude_deg":11.9788672,"altitude":45,"angle":32,"satellites":42,"speed":40,"hex_longitude":"2d1a43c0","hex_latitude":"0723d480","is_valid_coordinates":true} 
[2026-09-18 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172933632001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21537268124614656,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888908230625785856,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738028000,"timestamp_ms":1789738028000,"timestamp_seconds":1789738028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b30be0"} 
[2026-09-18 18:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 18:58:08] 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-09-18 18:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172933632001,"66":13352,"43":206,"83":42752,"24":40,"16":21537268124614656,"45":1888908230625785856},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172933632001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:58:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21537268124614656,"km_value":21537268124614.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888908230625785856,"description":"Unknown IO ID 45"} 
[2026-09-18 18:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172933632001,"power":13352,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1888908230625785856}} 
[2026-09-18 18:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":187664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:58:08] local.INFO: GPS data processed {"connection_id":187664,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:58:08] local.INFO: Acknowledgment sent {"connection_id":187664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:58:10] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:58:10] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 18:58:10] local.INFO: IMEI packet received {"connection_id":188999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":188999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:58:11] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b332f0012d1a58c00723f498002d002629..."} 
[2026-09-18 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b332f0012d1a58c00723f498002d002629..."} 
[2026-09-18 18:58:11] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b332f0012d1a58c00723f498002d002629..."} 
[2026-09-18 18:58:11] local.INFO: Packet analysis {"connection_id":187664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:58:11] local.INFO: Extracted packet for processing {"connection_id":187664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756701376,"raw_latitude":119796888,"longitude_deg":75.6701376,"latitude_deg":11.9796888,"altitude":45,"angle":38,"satellites":41,"speed":39,"hex_longitude":"2d1a58c0","hex_latitude":"0723f498","is_valid_coordinates":true} 
[2026-09-18 18: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-09-18 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172935168001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21537740571017216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892567405324173312,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58: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-09-18 18:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789738038000,"timestamp_ms":1789738038000,"timestamp_seconds":1789738038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b332f0"} 
[2026-09-18 18:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-18 18:58: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-09-18 18: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-09-18 18:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172935168001,"66":13559,"43":206,"83":42752,"24":39,"16":21537740571017216,"45":1892567405324173312},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172935168001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21537740571017216,"km_value":21537740571017.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892567405324173312,"description":"Unknown IO ID 45"} 
[2026-09-18 18:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172935168001,"power":13559,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1892567405324173312}} 
[2026-09-18 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":187664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:58:11] local.INFO: GPS data processed {"connection_id":187664,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:58:11] local.INFO: Acknowledgment sent {"connection_id":187664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:58:11] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:58:11] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:58:11] local.INFO: IMEI packet received {"connection_id":186246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":186246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:58:17] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:58:17] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:58:17] local.INFO: IMEI packet received {"connection_id":186246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":186246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:58:19] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:58:19] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:58:19] local.INFO: Packet analysis {"connection_id":186246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:58:19] local.INFO: Extracted packet for processing {"connection_id":186246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:58: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-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:58:19] 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-09-18 18:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":186246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:58:19] local.INFO: GPS data processed {"connection_id":186246,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:58:19] local.INFO: Acknowledgment sent {"connection_id":186246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:58:45] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b34e48012d1a68c007240658002e00322a..."} 
[2026-09-18 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b34e48012d1a68c007240658002e00322a..."} 
[2026-09-18 18:58:45] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b34e48012d1a68c007240658002e00322a..."} 
[2026-09-18 18:58:45] local.INFO: Packet analysis {"connection_id":187664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:58:45] local.INFO: Extracted packet for processing {"connection_id":187664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119801432,"longitude_deg":75.6705472,"latitude_deg":11.9801432,"altitude":46,"angle":50,"satellites":42,"speed":32,"hex_longitude":"2d1a68c0","hex_latitude":"07240658","is_valid_coordinates":true} 
[2026-09-18 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172937728001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21538032628793344,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898478379837200384,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789738045000,"timestamp_ms":1789738045000,"timestamp_seconds":1789738045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b34e48"} 
[2026-09-18 18:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 18:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172937728001,"66":12689,"43":206,"83":42752,"24":32,"16":21538032628793344,"45":1898478379837200384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172937728001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:58:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21538032628793344,"km_value":21538032628793.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898478379837200384,"description":"Unknown IO ID 45"} 
[2026-09-18 18:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172937728001,"power":12689,"unknown_43":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1898478379837200384}} 
[2026-09-18 18:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":187664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:58:45] local.INFO: GPS data processed {"connection_id":187664,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:58:45] local.INFO: Acknowledgment sent {"connection_id":187664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:58:50] local.INFO: TCP Data received {"connection_id":186246,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:58:50] local.INFO: Processing buffer {"connection_id":186246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:58:50] local.INFO: Packet analysis {"connection_id":186246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:58:50] local.INFO: Extracted packet for processing {"connection_id":186246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:58:50] 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-09-18 18:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":186246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:58:50] local.INFO: GPS data processed {"connection_id":186246,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:58:50] local.INFO: Acknowledgment sent {"connection_id":186246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:59:03] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:59:03] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:59:03] local.INFO: IMEI packet received {"connection_id":186247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 18:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":186247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:59:08] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:59:08] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 18:59:08] local.INFO: IMEI packet received {"connection_id":186247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":186247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:59:08] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b369a0012d1a7980072410c8002e003f29..."} 
[2026-09-18 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b369a0012d1a7980072410c8002e003f29..."} 
[2026-09-18 18:59:08] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b369a0012d1a7980072410c8002e003f29..."} 
[2026-09-18 18:59:08] local.INFO: Packet analysis {"connection_id":186247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:59:08] local.INFO: Extracted packet for processing {"connection_id":186247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756709760,"raw_latitude":119804104,"longitude_deg":75.670976,"latitude_deg":11.9804104,"altitude":46,"angle":63,"satellites":41,"speed":26,"hex_longitude":"2d1a7980","hex_latitude":"072410c8","is_valid_coordinates":true} 
[2026-09-18 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172939520001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21538277441929216,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902981979465734144,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738052000,"timestamp_ms":1789738052000,"timestamp_seconds":1789738052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b369a0"} 
[2026-09-18 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 18:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172939520001,"66":13004,"43":206,"83":42752,"24":26,"16":21538277441929216,"45":1902981979465734144},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-18 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172939520001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:59:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-18 18:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21538277441929216,"km_value":21538277441929.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902981979465734144,"description":"Unknown IO ID 45"} 
[2026-09-18 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172939520001,"power":13004,"unknown_43":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1902981979465734144}} 
[2026-09-18 18:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":186247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:59:08] local.INFO: GPS data processed {"connection_id":186247,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:59:08] local.INFO: Acknowledgment sent {"connection_id":186247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:59:11] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:59:11] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:59:11] local.INFO: IMEI packet received {"connection_id":186407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 18:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":186407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 18:59:17] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:59:17] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 18:59:17] local.INFO: IMEI packet received {"connection_id":186407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 18:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":186407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 18:59:18] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:59:18] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:59:18] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:59:18] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:59:18] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:59:18] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:59:39] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b39498012d1a9b8007242010002b004026..."} 
[2026-09-18 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b39498012d1a9b8007242010002b004026..."} 
[2026-09-18 18:59:39] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b39498012d1a9b8007242010002b004026..."} 
[2026-09-18 18:59:39] local.INFO: Packet analysis {"connection_id":186247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:59:39] local.INFO: Extracted packet for processing {"connection_id":186247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b3"} 
[2026-09-18 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756718464,"raw_latitude":119808016,"longitude_deg":75.6718464,"latitude_deg":11.9808016,"altitude":43,"angle":64,"satellites":38,"speed":38,"hex_longitude":"2d1a9b80","hex_latitude":"07242010","is_valid_coordinates":true} 
[2026-09-18 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172941312001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21538728413495296,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907696685326321664,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738063000,"timestamp_ms":1789738063000,"timestamp_seconds":1789738063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b39498"} 
[2026-09-18 18:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 18:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 18:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 18:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 18:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 18:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172941312001,"66":12798,"137":206,"83":42752,"24":38,"16":21538728413495296,"45":1907696685326321664},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 18:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 18:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172941312001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 18:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21538728413495296,"km_value":21538728413495.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907696685326321664,"description":"Unknown IO ID 45"} 
[2026-09-18 18:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172941312001,"power":12798,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1907696685326321664}} 
[2026-09-18 18:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":186247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:59:39] local.INFO: GPS data processed {"connection_id":186247,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:59:39] local.INFO: Acknowledgment sent {"connection_id":186247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 18:59:50] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:59:50] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b0c5d8012d34c58006aa4030000801172b..."} 
[2026-09-18 18:59:50] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:59:50] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b0"} 
[2026-09-18 18:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 18:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 18:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172818944001,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940523008,"note":"Value kept but may cause issues"} 
[2026-09-18 18:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 18:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789737879000,"timestamp_ms":1789737879000,"timestamp_seconds":1789737879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b0c5d8"} 
[2026-09-18 18:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 18:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-18 18:59:50] 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-09-18 18:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 18:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 18:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 18:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 18:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 18:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 18:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 18:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 18:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172818944001,"66":26517,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803289913940523008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 18:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 18:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 18:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172818944001,"description":"Unknown IO ID 0"} 
[2026-09-18 18:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 18:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 18:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 18:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940523008,"description":"Unknown IO ID 45"} 
[2026-09-18 18:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172818944001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940523008}} 
[2026-09-18 18:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 18:59:50] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-18 18:59:50] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:00:02] local.INFO: TCP Data received {"connection_id":187665,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:02] local.INFO: Processing buffer {"connection_id":187665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:02] local.INFO: IMEI packet received {"connection_id":187665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":187665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:00:03] local.INFO: TCP Data received {"connection_id":187665,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:03] local.INFO: Processing buffer {"connection_id":187665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:03] local.INFO: IMEI packet received {"connection_id":187665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":187665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:00:07] local.INFO: TCP Data received {"connection_id":187665,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:07] local.INFO: Processing buffer {"connection_id":187665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:00:07] local.INFO: IMEI packet received {"connection_id":187665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":187665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:00:09] local.INFO: TCP Data received {"connection_id":187665,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b507b0012d1b4f400724b700002700292c..."} 
[2026-09-18 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b507b0012d1b4f400724b700002700292c..."} 
[2026-09-18 19:00:09] local.INFO: Processing buffer {"connection_id":187665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b507b0012d1b4f400724b700002700292c..."} 
[2026-09-18 19:00:09] local.INFO: Packet analysis {"connection_id":187665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:09] local.INFO: Extracted packet for processing {"connection_id":187665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:09] local.INFO: GPS Element Parsed {"raw_longitude":756764480,"raw_latitude":119846656,"longitude_deg":75.676448,"latitude_deg":11.9846656,"altitude":39,"angle":41,"satellites":44,"speed":30,"hex_longitude":"2d1b4f40","hex_latitude":"0724b700","is_valid_coordinates":true} 
[2026-09-18 19:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172967168001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21541661876158464,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964484261887934464,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00: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-09-18 19:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789738158000,"timestamp_ms":1789738158000,"timestamp_seconds":1789738158,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b507b0"} 
[2026-09-18 19:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 19:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172967168001,"66":13493,"136":206,"83":42752,"24":30,"16":21541661876158464,"45":1964484261887934464},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 19:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172967168001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:00:09] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 19:00:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21541661876158464,"km_value":21541661876158.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964484261887934464,"description":"Unknown IO ID 45"} 
[2026-09-18 19:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172967168001,"power":13493,"unknown_136":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1964484261887934464}} 
[2026-09-18 19:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":187665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:00:09] local.INFO: GPS data processed {"connection_id":187665,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:00:09] local.INFO: Acknowledgment sent {"connection_id":187665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:00:17] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:00:17] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:00:17] local.INFO: IMEI packet received {"connection_id":189000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":189000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:00:18] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:00:18] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:00:18] local.INFO: IMEI packet received {"connection_id":189000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":189000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:00:19] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:19] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:19] local.INFO: Packet analysis {"connection_id":189000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:19] local.INFO: Extracted packet for processing {"connection_id":189000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":189000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:00:19] local.INFO: GPS data processed {"connection_id":189000,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:00:19] local.INFO: Acknowledgment sent {"connection_id":189000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:00:22] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:22] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:22] local.INFO: Packet analysis {"connection_id":189000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:22] local.INFO: Extracted packet for processing {"connection_id":189000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 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-09-18 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 19:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":189000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:00:22] local.INFO: GPS data processed {"connection_id":189000,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:00:22] local.INFO: Acknowledgment sent {"connection_id":189000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:00:54] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:54] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:00:54] local.INFO: Packet analysis {"connection_id":189000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:54] local.INFO: Extracted packet for processing {"connection_id":189000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:00:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":189000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:00:54] local.INFO: GPS data processed {"connection_id":189000,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:00:54] local.INFO: Acknowledgment sent {"connection_id":189000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:00:57] local.INFO: TCP Data received {"connection_id":187665,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b51368012d1b54800724be000028001d2b..."} 
[2026-09-18 19:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b51368012d1b54800724be000028001d2b..."} 
[2026-09-18 19:00:57] local.INFO: Processing buffer {"connection_id":187665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b51368012d1b54800724be000028001d2b..."} 
[2026-09-18 19:00:57] local.INFO: Packet analysis {"connection_id":187665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:57] local.INFO: Extracted packet for processing {"connection_id":187665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756765824,"raw_latitude":119848448,"longitude_deg":75.6765824,"latitude_deg":11.9848448,"altitude":40,"angle":29,"satellites":43,"speed":27,"hex_longitude":"2d1b5480","hex_latitude":"0724be00","is_valid_coordinates":true} 
[2026-09-18 19:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172968448001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21541769250340864,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967861961609117696,"note":"Value kept but may cause issues"} 
[2026-09-18 19:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789738161000,"timestamp_ms":1789738161000,"timestamp_seconds":1789738161,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b51368"} 
[2026-09-18 19:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 19:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172968448001,"66":13493,"136":206,"83":42752,"24":27,"16":21541769250340864,"45":1967861961609117696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 19:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172968448001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:00:57] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 19:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21541769250340864,"km_value":21541769250340.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967861961609117696,"description":"Unknown IO ID 45"} 
[2026-09-18 19:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172968448001,"power":13493,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1967861961609117696}} 
[2026-09-18 19:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":187665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:00:57] local.INFO: GPS data processed {"connection_id":187665,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:00:57] local.INFO: Acknowledgment sent {"connection_id":187665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:01:02] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:02] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:02] local.INFO: IMEI packet received {"connection_id":187666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":187666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:01:06] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:06] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:06] local.INFO: IMEI packet received {"connection_id":187666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":187666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:01:12] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:01:12] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:01:12] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:01:13] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:13] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:01:13] local.INFO: IMEI packet received {"connection_id":187666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":187666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:01:15] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b52308012d1b58000724c6b80029000e2a..."} 
[2026-09-18 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b52308012d1b58000724c6b80029000e2a..."} 
[2026-09-18 19:01:15] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b52308012d1b58000724c6b80029000e2a..."} 
[2026-09-18 19:01:15] local.INFO: Packet analysis {"connection_id":187666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:15] local.INFO: Extracted packet for processing {"connection_id":187666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119850680,"longitude_deg":75.676672,"latitude_deg":11.985068,"altitude":41,"angle":14,"satellites":42,"speed":20,"hex_longitude":"2d1b5800","hex_latitude":"0724c6b8","is_valid_coordinates":true} 
[2026-09-18 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172969216001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21541889509425152,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705237307392,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789738165000,"timestamp_ms":1789738165000,"timestamp_seconds":1789738165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b52308"} 
[2026-09-18 19:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:01: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-09-18 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 19:01:15] 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-09-18 19:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172969216001,"66":13417,"44":206,"83":41984,"24":20,"16":21541889509425152,"45":1969339705237307392},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-18 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172969216001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 19:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21541889509425152,"km_value":21541889509425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705237307392,"description":"Unknown IO ID 45"} 
[2026-09-18 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172969216001,"power":13417,"unknown_44":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1969339705237307392}} 
[2026-09-18 19:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":187666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:01:15] local.INFO: GPS data processed {"connection_id":187666,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:01:15] local.INFO: Acknowledgment sent {"connection_id":187666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:01:17] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:01:17] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:01:17] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:01:19] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:19] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:19] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:19] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:01:19] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:01:19] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:01:22] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:22] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:22] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:22] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:01:22] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:01:22] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:01:46] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b551e8012d1b5a800724dbd8002a00022a..."} 
[2026-09-18 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b551e8012d1b5a800724dbd8002a00022a..."} 
[2026-09-18 19:01:46] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b551e8012d1b5a800724dbd8002a00022a..."} 
[2026-09-18 19:01:46] local.INFO: Packet analysis {"connection_id":187666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:46] local.INFO: Extracted packet for processing {"connection_id":187666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119856088,"longitude_deg":75.676736,"latitude_deg":11.9856088,"altitude":42,"angle":2,"satellites":42,"speed":20,"hex_longitude":"2d1b5a80","hex_latitude":"0724dbd8","is_valid_coordinates":true} 
[2026-09-18 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172970240001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21542151502430208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867656366080,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789738177000,"timestamp_ms":1789738177000,"timestamp_seconds":1789738177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b551e8"} 
[2026-09-18 19:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 19:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172970240001,"66":13428,"44":206,"83":41984,"24":20,"16":21542151502430208,"45":1970324867656366080},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-18 19:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172970240001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-18 19:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21542151502430208,"km_value":21542151502430.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867656366080,"description":"Unknown IO ID 45"} 
[2026-09-18 19:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172970240001,"power":13428,"unknown_44":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1970324867656366080}} 
[2026-09-18 19:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":187666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:01:47] local.INFO: GPS data processed {"connection_id":187666,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:01:47] local.INFO: Acknowledgment sent {"connection_id":187666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:01:54] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:54] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:01:54] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:54] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:01:54] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:01:54] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:02:03] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:03] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:03] local.INFO: IMEI packet received {"connection_id":186408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":186408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:02:03] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:03] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:03] local.INFO: IMEI packet received {"connection_id":186408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":186408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:02:07] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:07] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:02:07] local.INFO: IMEI packet received {"connection_id":186408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":186408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:02:08] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b6a9a8012d1b35c00725a5100030015a2a..."} 
[2026-09-18 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b6a9a8012d1b35c00725a5100030015a2a..."} 
[2026-09-18 19:02:08] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b6a9a8012d1b35c00725a5100030015a2a..."} 
[2026-09-18 19:02:08] local.INFO: Packet analysis {"connection_id":186408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b6"} 
[2026-09-18 19:02:08] local.INFO: Extracted packet for processing {"connection_id":186408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b6"} 
[2026-09-18 19:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119907600,"longitude_deg":75.6757952,"latitude_deg":11.99076,"altitude":48,"angle":346,"satellites":42,"speed":5,"hex_longitude":"2d1b35c0","hex_latitude":"0725a510","is_valid_coordinates":true} 
[2026-09-18 19:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172993536001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21544848741892096,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962373199577978880,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:08] 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-09-18 19:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738265000,"timestamp_ms":1789738265000,"timestamp_seconds":1789738265,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b6a9a8"} 
[2026-09-18 19:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-18 19:02: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-09-18 19:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172993536001,"66":14189,"217":206,"83":42752,"24":5,"16":21544848741892096,"45":1962373199577978880},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172993536001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:02:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21544848741892096,"km_value":21544848741892.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962373199577978880,"description":"Unknown IO ID 45"} 
[2026-09-18 19:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172993536001,"power":14189,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1962373199577978880}} 
[2026-09-18 19:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":186408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:02:08] local.INFO: GPS data processed {"connection_id":186408,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:02:08] local.INFO: Acknowledgment sent {"connection_id":186408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:02:12] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:02:12] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:02:12] local.INFO: IMEI packet received {"connection_id":187667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":187667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:02:17] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:02:17] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:02:17] local.INFO: IMEI packet received {"connection_id":187667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":187667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:02:18] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:02:18] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:02:18] local.INFO: Packet analysis {"connection_id":187667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:02:18] local.INFO: Extracted packet for processing {"connection_id":187667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":187667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:02:18] local.INFO: GPS data processed {"connection_id":187667,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:02:18] local.INFO: Acknowledgment sent {"connection_id":187667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:02:39] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b6d4a0012d1b35c00725a8a0002f00202e..."} 
[2026-09-18 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b6d4a0012d1b35c00725a8a0002f00202e..."} 
[2026-09-18 19:02:39] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b6d4a0012d1b35c00725a8a0002f00202e..."} 
[2026-09-18 19:02:39] local.INFO: Packet analysis {"connection_id":186408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b6"} 
[2026-09-18 19:02:39] local.INFO: Extracted packet for processing {"connection_id":186408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b6"} 
[2026-09-18 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119908512,"longitude_deg":75.6757952,"latitude_deg":11.9908512,"altitude":47,"angle":32,"satellites":46,"speed":6,"hex_longitude":"2d1b35c0","hex_latitude":"0725a8a0","is_valid_coordinates":true} 
[2026-09-18 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172995840001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21544895986532352,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349718597632,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:39] 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-09-18 19:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738276000,"timestamp_ms":1789738276000,"timestamp_seconds":1789738276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b6d4a0"} 
[2026-09-18 19:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-18 19:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172995840001,"66":13972,"217":206,"83":42752,"24":6,"16":21544895986532352,"45":1960684349718597632},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172995840001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21544895986532352,"km_value":21544895986532.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349718597632,"description":"Unknown IO ID 45"} 
[2026-09-18 19:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172995840001,"power":13972,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1960684349718597632}} 
[2026-09-18 19:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":186408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:02:40] local.INFO: GPS data processed {"connection_id":186408,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:02:40] local.INFO: Acknowledgment sent {"connection_id":186408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:02:50] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:02:50] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:02:50] local.INFO: Packet analysis {"connection_id":187667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:02:50] local.INFO: Extracted packet for processing {"connection_id":187667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:02:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":187667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:02:50] local.INFO: GPS data processed {"connection_id":187667,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:02:50] local.INFO: Acknowledgment sent {"connection_id":187667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:03:07] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:03:07] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:03:07] local.INFO: IMEI packet received {"connection_id":186249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":186249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:03:12] local.INFO: TCP Data received {"connection_id":187668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:03:12] local.INFO: Processing buffer {"connection_id":187668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:03:12] local.INFO: IMEI packet received {"connection_id":187668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":187668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:03:12] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:03:12] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:03:12] local.INFO: IMEI packet received {"connection_id":186249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":186249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:03:13] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b348012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b348012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:03:13] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b348012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:03:13] local.INFO: Packet analysis {"connection_id":186249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:03:13] local.INFO: Extracted packet for processing {"connection_id":186249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:03: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-09-18 19:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173011456001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963147255764297728,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:13] 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-09-18 19:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789738333000,"timestamp_ms":1789738333000,"timestamp_seconds":1789738333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b348"} 
[2026-09-18 19:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:03: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-09-18 19:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 19:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173011456001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963147255764297728},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173011456001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:03:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963147255764297728,"description":"Unknown IO ID 45"} 
[2026-09-18 19:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173011456001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963147255764297728}} 
[2026-09-18 19:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":186249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:03:13] local.INFO: GPS data processed {"connection_id":186249,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:03:13] local.INFO: Acknowledgment sent {"connection_id":186249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:03:18] local.INFO: TCP Data received {"connection_id":187668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:03:18] local.INFO: Processing buffer {"connection_id":187668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:03:18] local.INFO: IMEI packet received {"connection_id":187668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":187668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:03:18] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:03:18] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:03:18] local.INFO: Packet analysis {"connection_id":186249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:03:18] local.INFO: Extracted packet for processing {"connection_id":186249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:18] 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-09-18 19:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013248001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:03:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013248001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":186249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:03:18] local.INFO: GPS data processed {"connection_id":186249,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:03:18] local.INFO: Acknowledgment sent {"connection_id":186249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:03:19] local.INFO: TCP Data received {"connection_id":187668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:03:19] local.INFO: Processing buffer {"connection_id":187668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:03:19] local.INFO: Packet analysis {"connection_id":187668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:03:19] local.INFO: Extracted packet for processing {"connection_id":187668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":187668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:03:19] local.INFO: GPS data processed {"connection_id":187668,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:03:19] local.INFO: Acknowledgment sent {"connection_id":187668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:03:35] local.INFO: TCP Data received {"connection_id":186250,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:03:35] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:03:35] local.INFO: IMEI packet received {"connection_id":186250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":186250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:03:51] local.INFO: TCP Data received {"connection_id":187668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:03:51] local.INFO: Processing buffer {"connection_id":187668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:03:51] local.INFO: Packet analysis {"connection_id":187668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:03:51] local.INFO: Extracted packet for processing {"connection_id":187668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":187668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:03:51] local.INFO: GPS data processed {"connection_id":187668,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:03:51] local.INFO: Acknowledgment sent {"connection_id":187668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:04:02] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:04:02] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:04:02] local.INFO: IMEI packet received {"connection_id":187669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":187669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:04:07] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:04:07] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:04:07] local.INFO: IMEI packet received {"connection_id":187669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":187669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:04:08] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:04:08] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:04:08] local.INFO: Packet analysis {"connection_id":187669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:04:08] local.INFO: Extracted packet for processing {"connection_id":187669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:04: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-09-18 19:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:08] 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-09-18 19:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:04:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":187669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:04:08] local.INFO: GPS data processed {"connection_id":187669,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:04:08] local.INFO: Acknowledgment sent {"connection_id":187669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:04:11] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:04:11] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:04:11] local.INFO: IMEI packet received {"connection_id":186251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":186251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:04:17] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:04:17] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:04:17] local.INFO: IMEI packet received {"connection_id":186251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":186251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:04:18] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:04:18] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:04:18] local.INFO: Packet analysis {"connection_id":186251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:04:18] local.INFO: Extracted packet for processing {"connection_id":186251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":186251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:04:18] local.INFO: GPS data processed {"connection_id":186251,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:04:18] local.INFO: Acknowledgment sent {"connection_id":186251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:04:39] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:04:39] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:04:39] local.INFO: Packet analysis {"connection_id":187669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:04:39] local.INFO: Extracted packet for processing {"connection_id":187669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:39] 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-09-18 19:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":187669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:04:40] local.INFO: GPS data processed {"connection_id":187669,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:04:40] local.INFO: Acknowledgment sent {"connection_id":187669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:04:50] local.INFO: TCP Data received {"connection_id":186251,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:04:50] local.INFO: Processing buffer {"connection_id":186251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b55da0012d34c58006aa40300008011729..."} 
[2026-09-18 19:04:50] local.INFO: Packet analysis {"connection_id":186251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:04:50] local.INFO: Extracted packet for processing {"connection_id":186251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b5"} 
[2026-09-18 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172897024001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789738180000,"timestamp_ms":1789738180000,"timestamp_seconds":1789738180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b55da0"} 
[2026-09-18 19:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-18 19:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172897024001,"66":26267,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172897024001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172897024001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":186251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:04:50] local.INFO: GPS data processed {"connection_id":186251,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:04:50] local.INFO: Acknowledgment sent {"connection_id":186251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:05:02] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:05:02] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:05:02] local.INFO: IMEI packet received {"connection_id":187670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:05:07] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:05:07] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:05:07] local.INFO: IMEI packet received {"connection_id":187670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":187670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:05:08] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:05:08] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:05:08] local.INFO: Packet analysis {"connection_id":187670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:05:08] local.INFO: Extracted packet for processing {"connection_id":187670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:05: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-09-18 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:08] 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-09-18 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:05:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":187670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:05:08] local.INFO: GPS data processed {"connection_id":187670,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:05:08] local.INFO: Acknowledgment sent {"connection_id":187670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:05:16] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:05:16] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:05:16] local.INFO: IMEI packet received {"connection_id":186409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:05:22] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:05:22] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:05:22] local.INFO: IMEI packet received {"connection_id":186409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":186409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:05:24] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:05:24] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:05:24] local.INFO: Packet analysis {"connection_id":186409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:05:24] local.INFO: Extracted packet for processing {"connection_id":186409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:05:24] 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-09-18 19:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":186409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:05:24] local.INFO: GPS data processed {"connection_id":186409,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:05:24] local.INFO: Acknowledgment sent {"connection_id":186409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:05:39] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:05:39] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:05:39] local.INFO: Packet analysis {"connection_id":187670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:05:39] local.INFO: Extracted packet for processing {"connection_id":187670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:39] 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-09-18 19:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:05:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":187670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:05:40] local.INFO: GPS data processed {"connection_id":187670,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:05:40] local.INFO: Acknowledgment sent {"connection_id":187670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:05:56] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:05:56] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:05:56] local.INFO: Packet analysis {"connection_id":186409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:05:56] local.INFO: Extracted packet for processing {"connection_id":186409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:05:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:05:56] 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-09-18 19:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:05:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":186409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:05:56] local.INFO: GPS data processed {"connection_id":186409,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:05:56] local.INFO: Acknowledgment sent {"connection_id":186409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:06:02] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:06:02] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:06:02] local.INFO: IMEI packet received {"connection_id":189001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":189001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:06:07] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:06:07] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:06:07] local.INFO: IMEI packet received {"connection_id":189001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":189001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:06:08] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:06:08] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:06:08] local.INFO: Packet analysis {"connection_id":189001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:06:08] local.INFO: Extracted packet for processing {"connection_id":189001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:06: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-09-18 19:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:08] 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-09-18 19:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:06:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":189001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:06:08] local.INFO: GPS data processed {"connection_id":189001,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:06:08] local.INFO: Acknowledgment sent {"connection_id":189001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:06:11] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:06:11] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:06:11] local.INFO: IMEI packet received {"connection_id":186252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":186252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:06:17] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:06:17] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:06:17] local.INFO: IMEI packet received {"connection_id":186252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":186252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:06:18] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:06:18] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:06:18] local.INFO: Packet analysis {"connection_id":186252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:06:18] local.INFO: Extracted packet for processing {"connection_id":186252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:06:18] 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-09-18 19:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":186252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:06:18] local.INFO: GPS data processed {"connection_id":186252,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:06:18] local.INFO: Acknowledgment sent {"connection_id":186252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:06:39] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:06:39] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:06:39] local.INFO: Packet analysis {"connection_id":189001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:06:39] local.INFO: Extracted packet for processing {"connection_id":189001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:39] 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-09-18 19:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:06:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":189001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:06:40] local.INFO: GPS data processed {"connection_id":189001,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:06:40] local.INFO: Acknowledgment sent {"connection_id":189001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:06:51] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:06:51] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:06:51] local.INFO: Packet analysis {"connection_id":186252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:06:51] local.INFO: Extracted packet for processing {"connection_id":186252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 19:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 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-09-18 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:06:51] 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-09-18 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-09-18 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-09-18 19:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":186252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:06:51] local.INFO: GPS data processed {"connection_id":186252,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:06:51] local.INFO: Acknowledgment sent {"connection_id":186252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:07:02] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:07:02] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:07:02] local.INFO: IMEI packet received {"connection_id":186410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":186410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:07:07] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:07:07] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:07:07] local.INFO: IMEI packet received {"connection_id":186410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":186410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:07:08] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:07:08] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:07:08] local.INFO: Packet analysis {"connection_id":186410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:07:08] local.INFO: Extracted packet for processing {"connection_id":186410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:07: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-09-18 19:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:08] 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-09-18 19:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:07:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":186410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:07:08] local.INFO: GPS data processed {"connection_id":186410,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:07:08] local.INFO: Acknowledgment sent {"connection_id":186410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:07:11] local.INFO: TCP Data received {"connection_id":186253,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:07:11] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:07:11] local.INFO: IMEI packet received {"connection_id":186253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":186253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:07:17] local.INFO: TCP Data received {"connection_id":186253,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:07:17] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:07:17] local.INFO: IMEI packet received {"connection_id":186253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":186253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:07:19] local.INFO: TCP Data received {"connection_id":186253,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:07:19] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:07:19] local.INFO: Packet analysis {"connection_id":186253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:07:19] local.INFO: Extracted packet for processing {"connection_id":186253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:07:19] 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-09-18 19:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":186253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:07:19] local.INFO: GPS data processed {"connection_id":186253,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:07:19] local.INFO: Acknowledgment sent {"connection_id":186253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:07:39] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:07:39] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b7b730012d1b3f4007259c50003200a42c..."} 
[2026-09-18 19:07:39] local.INFO: Packet analysis {"connection_id":186410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:07:39] local.INFO: Extracted packet for processing {"connection_id":186410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b7"} 
[2026-09-18 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119905360,"longitude_deg":75.6760384,"latitude_deg":11.990536,"altitude":50,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"07259c50","is_valid_coordinates":true} 
[2026-09-18 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:39] 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-09-18 19:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738334000,"timestamp_ms":1789738334000,"timestamp_seconds":1789738334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b7b730"} 
[2026-09-18 19:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":13091,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":186410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:07:40] local.INFO: GPS data processed {"connection_id":186410,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:07:40] local.INFO: Acknowledgment sent {"connection_id":186410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:07:52] local.INFO: TCP Data received {"connection_id":186253,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:07:52] local.INFO: Processing buffer {"connection_id":186253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:07:52] local.INFO: Packet analysis {"connection_id":186253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:07:52] local.INFO: Extracted packet for processing {"connection_id":186253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:07:52] 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-09-18 19:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":186253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:07:52] local.INFO: GPS data processed {"connection_id":186253,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:07:52] local.INFO: Acknowledgment sent {"connection_id":186253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:08:07] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:08:07] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:08:07] local.INFO: IMEI packet received {"connection_id":187671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":187671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:08:11] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:08:11] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:08:11] local.INFO: IMEI packet received {"connection_id":186411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":186411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:08:12] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:08:12] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:08:12] local.INFO: IMEI packet received {"connection_id":187671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":187671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:08:13] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:08:13] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:08:13] local.INFO: Packet analysis {"connection_id":187671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:08:13] local.INFO: Extracted packet for processing {"connection_id":187671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:13] 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-09-18 19:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:08: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-09-18 19:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:08:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":187671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:08:13] local.INFO: GPS data processed {"connection_id":187671,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:08:13] local.INFO: Acknowledgment sent {"connection_id":187671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:08:16] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:08:16] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:08:16] local.INFO: IMEI packet received {"connection_id":186411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":186411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:08:18] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:08:18] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:08:18] local.INFO: Packet analysis {"connection_id":186411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:08:18] local.INFO: Extracted packet for processing {"connection_id":186411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:08:18] 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-09-18 19:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":186411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:08:18] local.INFO: GPS data processed {"connection_id":186411,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:08:18] local.INFO: Acknowledgment sent {"connection_id":186411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:08:44] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:08:44] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:08:44] local.INFO: Packet analysis {"connection_id":187671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:08:44] local.INFO: Extracted packet for processing {"connection_id":187671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:44] 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-09-18 19:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:08: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-09-18 19:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:08:44] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":187671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:08:44] local.INFO: GPS data processed {"connection_id":187671,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:08:44] local.INFO: Acknowledgment sent {"connection_id":187671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:08:49] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:08:49] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:08:49] local.INFO: Packet analysis {"connection_id":186411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:08:49] local.INFO: Extracted packet for processing {"connection_id":186411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:08:49] 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-09-18 19:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":186411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:08:49] local.INFO: GPS data processed {"connection_id":186411,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:08:49] local.INFO: Acknowledgment sent {"connection_id":186411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:09:02] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:09:02] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:09:02] local.INFO: IMEI packet received {"connection_id":186254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":186254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:09:07] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:09:07] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:09:07] local.INFO: IMEI packet received {"connection_id":186254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":186254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:09:08] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:09:08] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:09:08] local.INFO: Packet analysis {"connection_id":186254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:09:08] local.INFO: Extracted packet for processing {"connection_id":186254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:08] 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-09-18 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:09: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-09-18 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:09:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":186254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:09:08] local.INFO: GPS data processed {"connection_id":186254,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:09:08] local.INFO: Acknowledgment sent {"connection_id":186254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:09:15] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:09:15] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:09:15] local.INFO: IMEI packet received {"connection_id":186412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":186412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:09:17] local.INFO: TCP Data received {"connection_id":186255,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:09:17] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:09:17] local.INFO: IMEI packet received {"connection_id":186255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":186255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:09:22] local.INFO: TCP Data received {"connection_id":186255,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:09:22] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:09:22] local.INFO: IMEI packet received {"connection_id":186255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":186255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:09:23] local.INFO: TCP Data received {"connection_id":186255,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:09:23] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:09:23] local.INFO: Packet analysis {"connection_id":186255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:09:23] local.INFO: Extracted packet for processing {"connection_id":186255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:09:23] 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-09-18 19:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":186255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:09:23] local.INFO: GPS data processed {"connection_id":186255,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:09:23] local.INFO: Acknowledgment sent {"connection_id":186255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:09:27] local.INFO: TCP Data received {"connection_id":186255,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:09:27] local.INFO: Processing buffer {"connection_id":186255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:09:27] local.INFO: Packet analysis {"connection_id":186255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:09:27] local.INFO: Extracted packet for processing {"connection_id":186255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:09: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-09-18 19:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:09:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:09:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":186255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:09:27] local.INFO: GPS data processed {"connection_id":186255,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:09:27] local.INFO: Acknowledgment sent {"connection_id":186255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:09:39] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:09:39] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:09:39] local.INFO: Packet analysis {"connection_id":186254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:09:39] local.INFO: Extracted packet for processing {"connection_id":186254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:09:39] 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-09-18 19:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":186254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:09:39] local.INFO: GPS data processed {"connection_id":186254,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:09:39] local.INFO: Acknowledgment sent {"connection_id":186254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:10:02] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:10:02] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:10:02] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:10:07] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:10:07] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:10:07] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:10:08] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:10:08] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:10:08] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:10:08] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:08] 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-09-18 19:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:10:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:10:08] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:10:08] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:10:12] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:10:12] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:10:12] local.INFO: IMEI packet received {"connection_id":189002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":189002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:10:17] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:10:17] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:10:17] local.INFO: IMEI packet received {"connection_id":189002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":189002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:10:19] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:10:19] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4b9f568012d34c58006aa40300008011729..."} 
[2026-09-18 19:10:19] local.INFO: Packet analysis {"connection_id":189002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:10:19] local.INFO: Extracted packet for processing {"connection_id":189002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4b9"} 
[2026-09-18 19:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458172974080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738481000,"timestamp_ms":1789738481000,"timestamp_seconds":1789738481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4b9f568"} 
[2026-09-18 19:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-18 19:10:19] 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-09-18 19:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458172974080001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458172974080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458172974080001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":189002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:10:19] local.INFO: GPS data processed {"connection_id":189002,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:10:19] local.INFO: Acknowledgment sent {"connection_id":189002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:10:39] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:10:39] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:10:39] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:10:39] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:39] 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-09-18 19:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:10:39] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:10:39] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:10:50] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:10:50] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:10:50] local.INFO: Packet analysis {"connection_id":189002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:10:50] local.INFO: Extracted packet for processing {"connection_id":189002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:10:50] 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-09-18 19:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":189002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:10:50] local.INFO: GPS data processed {"connection_id":189002,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:10:50] local.INFO: Acknowledgment sent {"connection_id":189002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:11:02] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:11:02] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:11:02] local.INFO: IMEI packet received {"connection_id":187672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":187672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:11:07] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:11:07] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:11:07] local.INFO: IMEI packet received {"connection_id":187672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":187672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:11:08] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:11:08] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:11:08] local.INFO: Packet analysis {"connection_id":187672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:11:08] local.INFO: Extracted packet for processing {"connection_id":187672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:08] 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-09-18 19:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:11: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-09-18 19:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:11:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":187672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:11:08] local.INFO: GPS data processed {"connection_id":187672,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:11:08] local.INFO: Acknowledgment sent {"connection_id":187672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:11:11] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:11:11] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:11:11] local.INFO: IMEI packet received {"connection_id":186257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":186257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:11:17] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:11:17] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:11:17] local.INFO: IMEI packet received {"connection_id":186257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":186257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:11:19] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:11:19] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:11:19] local.INFO: Packet analysis {"connection_id":186257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:11:19] local.INFO: Extracted packet for processing {"connection_id":186257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:11: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-09-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:11:19] 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-09-18 19:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":186257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:11:19] local.INFO: GPS data processed {"connection_id":186257,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:11:19] local.INFO: Acknowledgment sent {"connection_id":186257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:11:39] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:11:39] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:11:39] local.INFO: Packet analysis {"connection_id":187672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:11:39] local.INFO: Extracted packet for processing {"connection_id":187672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:39] 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-09-18 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:11:39] 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-09-18 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":187672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:11:40] local.INFO: GPS data processed {"connection_id":187672,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:11:40] local.INFO: Acknowledgment sent {"connection_id":187672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:11:51] local.INFO: TCP Data received {"connection_id":186257,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:11:51] local.INFO: Processing buffer {"connection_id":186257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:11:51] local.INFO: Packet analysis {"connection_id":186257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:11:51] local.INFO: Extracted packet for processing {"connection_id":186257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 19:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 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-09-18 19:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:11:51] 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-09-18 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-09-18 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-09-18 19:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:11:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":186257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:11:51] local.INFO: GPS data processed {"connection_id":186257,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:11:51] local.INFO: Acknowledgment sent {"connection_id":186257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:12:02] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:12:02] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:12:02] local.INFO: IMEI packet received {"connection_id":189003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":189003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:12:07] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:12:07] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:12:07] local.INFO: IMEI packet received {"connection_id":189003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":189003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:12:08] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:12:08] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4bc4ef8012d1b46c007258a98002c00a430..."} 
[2026-09-18 19:12:08] local.INFO: Packet analysis {"connection_id":189003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:12:08] local.INFO: Extracted packet for processing {"connection_id":189003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4bc"} 
[2026-09-18 19:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173013504001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361996775424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:08] 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-09-18 19:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738635000,"timestamp_ms":1789738635000,"timestamp_seconds":1789738635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4bc4ef8"} 
[2026-09-18 19:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 19:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:12: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-09-18 19:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173013504001,"66":2144,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1963358361996775424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173013504001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:12:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361996775424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173013504001,"power":2144,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963358361996775424}} 
[2026-09-18 19:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":189003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:12:08] local.INFO: GPS data processed {"connection_id":189003,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:12:08] local.INFO: Acknowledgment sent {"connection_id":189003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:12:17] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:12:17] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:12:17] local.INFO: IMEI packet received {"connection_id":186258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:12:21] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:12:21] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:12:21] local.INFO: IMEI packet received {"connection_id":186258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":186258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:12:23] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:12:23] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:12:23] local.INFO: Packet analysis {"connection_id":186258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:12:23] local.INFO: Extracted packet for processing {"connection_id":186258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:12:23] 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-09-18 19:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":186258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:12:23] local.INFO: GPS data processed {"connection_id":186258,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:12:23] local.INFO: Acknowledgment sent {"connection_id":186258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:12:27] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:12:27] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:12:27] local.INFO: Packet analysis {"connection_id":186258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:12:27] local.INFO: Extracted packet for processing {"connection_id":186258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:12: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-09-18 19:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:12:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:12:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":186258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:12:27] local.INFO: GPS data processed {"connection_id":186258,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:12:27] local.INFO: Acknowledgment sent {"connection_id":186258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:12:39] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:12:39] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:12:39] local.INFO: Packet analysis {"connection_id":189003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c0"} 
[2026-09-18 19:12:39] local.INFO: Extracted packet for processing {"connection_id":189003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c0"} 
[2026-09-18 19:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":45,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173090560001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965469424320944128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:12:39] 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-09-18 19:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738915000,"timestamp_ms":1789738915000,"timestamp_seconds":1789738915,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c094b8"} 
[2026-09-18 19:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:12:39] 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-09-18 19:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173090560001,"66":2155,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1965469424320944128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173090560001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965469424320944128,"description":"Unknown IO ID 45"} 
[2026-09-18 19:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173090560001,"power":2155,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1965469424320944128}} 
[2026-09-18 19:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":189003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:12:39] local.INFO: GPS data processed {"connection_id":189003,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:12:39] local.INFO: Acknowledgment sent {"connection_id":189003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:13:07] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:13:07] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:13:07] local.INFO: IMEI packet received {"connection_id":186259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":186259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:13:12] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:13:12] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:13:12] local.INFO: IMEI packet received {"connection_id":186260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":186260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:13:14] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:13:14] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:13:14] local.INFO: IMEI packet received {"connection_id":186259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:13:15] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:13:15] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:13:15] local.INFO: Packet analysis {"connection_id":186259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c0"} 
[2026-09-18 19:13:15] local.INFO: Extracted packet for processing {"connection_id":186259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c0"} 
[2026-09-18 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":45,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173162240001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965469424320944128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:15] 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-09-18 19:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789738915000,"timestamp_ms":1789738915000,"timestamp_seconds":1789738915,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c094b8"} 
[2026-09-18 19:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 19:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:13:15] 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-09-18 19:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173162240001,"66":2155,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1965469424320944128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173162240001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:13:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965469424320944128,"description":"Unknown IO ID 45"} 
[2026-09-18 19:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173162240001,"power":2155,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1965469424320944128}} 
[2026-09-18 19:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":186259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:13:15] local.INFO: GPS data processed {"connection_id":186259,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:13:15] local.INFO: Acknowledgment sent {"connection_id":186259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:13:17] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:13:17] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:13:17] local.INFO: IMEI packet received {"connection_id":186260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":186260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:13:18] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:13:18] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c094b8012d1b46c007258a98002c00a42d..."} 
[2026-09-18 19:13:18] local.INFO: Packet analysis {"connection_id":186259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c0"} 
[2026-09-18 19:13:18] local.INFO: Extracted packet for processing {"connection_id":186259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c0"} 
[2026-09-18 19:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756762304,"raw_latitude":119900824,"longitude_deg":75.6762304,"latitude_deg":11.9900824,"altitude":44,"angle":164,"satellites":45,"speed":0,"hex_longitude":"2d1b46c0","hex_latitude":"07258a98","is_valid_coordinates":true} 
[2026-09-18 19:13: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-09-18 19:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173162240001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545136504700928,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965469424320944128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:18] 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-09-18 19:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738915000,"timestamp_ms":1789738915000,"timestamp_seconds":1789738915,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c094b8"} 
[2026-09-18 19:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 19:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:13:18] 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-09-18 19:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173162240001,"66":2155,"217":206,"83":42752,"24":0,"16":21545136504700928,"45":1965469424320944128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173162240001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:13:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545136504700928,"km_value":21545136504700.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965469424320944128,"description":"Unknown IO ID 45"} 
[2026-09-18 19:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173162240001,"power":2155,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1965469424320944128}} 
[2026-09-18 19:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":186259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:13:18] local.INFO: GPS data processed {"connection_id":186259,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:13:18] local.INFO: Acknowledgment sent {"connection_id":186259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:13:19] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:13:19] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:13:19] local.INFO: Packet analysis {"connection_id":186260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:13:19] local.INFO: Extracted packet for processing {"connection_id":186260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:13: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-09-18 19:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:13:19] 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-09-18 19:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":186260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:13:19] local.INFO: GPS data processed {"connection_id":186260,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:13:19] local.INFO: Acknowledgment sent {"connection_id":186260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:13:50] local.INFO: TCP Data received {"connection_id":186260,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:13:50] local.INFO: Processing buffer {"connection_id":186260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:13:50] local.INFO: Packet analysis {"connection_id":186260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:13:50] local.INFO: Extracted packet for processing {"connection_id":186260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:13:50] 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-09-18 19:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":186260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:13:50] local.INFO: GPS data processed {"connection_id":186260,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:13:50] local.INFO: Acknowledgment sent {"connection_id":186260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:14:02] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:14:02] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:14:02] local.INFO: IMEI packet received {"connection_id":187674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":187674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:14:07] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:14:07] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:14:07] local.INFO: IMEI packet received {"connection_id":187674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":187674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:14:08] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c1b5c8012d1b4dc007257d88003000df30..."} 
[2026-09-18 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c1b5c8012d1b4dc007257d88003000df30..."} 
[2026-09-18 19:14:08] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c1b5c8012d1b4dc007257d88003000df30..."} 
[2026-09-18 19:14:08] local.INFO: Packet analysis {"connection_id":187674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:14:08] local.INFO: Extracted packet for processing {"connection_id":187674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756764096,"raw_latitude":119897480,"longitude_deg":75.6764096,"latitude_deg":11.989748,"altitude":48,"angle":223,"satellites":48,"speed":3,"hex_longitude":"2d1b4dc0","hex_latitude":"07257d88","is_valid_coordinates":true} 
[2026-09-18 19:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173180672001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545248173850624,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967510117901271040,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:08] 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-09-18 19:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738989000,"timestamp_ms":1789738989000,"timestamp_seconds":1789738989,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c1b5c8"} 
[2026-09-18 19:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 19:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:14: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-09-18 19:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173180672001,"66":12841,"217":206,"83":42752,"24":3,"16":21545248173850624,"45":1967510117901271040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173180672001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:14:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545248173850624,"km_value":21545248173850.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967510117901271040,"description":"Unknown IO ID 45"} 
[2026-09-18 19:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173180672001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1967510117901271040}} 
[2026-09-18 19:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":187674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:14:08] local.INFO: GPS data processed {"connection_id":187674,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:14:08] local.INFO: Acknowledgment sent {"connection_id":187674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:14:12] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:14:12] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:14:12] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:14:16] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:14:16] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:14:16] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:14:18] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:14:18] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:14:18] local.INFO: Packet analysis {"connection_id":186261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:14:18] local.INFO: Extracted packet for processing {"connection_id":186261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:14:18] 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-09-18 19:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":186261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:14:18] local.INFO: GPS data processed {"connection_id":186261,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:14:18] local.INFO: Acknowledgment sent {"connection_id":186261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:14:39] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c1b9b0012d1b4d4007257d58003000f330..."} 
[2026-09-18 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c1b9b0012d1b4d4007257d58003000f330..."} 
[2026-09-18 19:14:39] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c1b9b0012d1b4d4007257d58003000f330..."} 
[2026-09-18 19:14:39] local.INFO: Packet analysis {"connection_id":187674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:14:39] local.INFO: Extracted packet for processing {"connection_id":187674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756763968,"raw_latitude":119897432,"longitude_deg":75.6763968,"latitude_deg":11.9897432,"altitude":48,"angle":243,"satellites":48,"speed":3,"hex_longitude":"2d1b4d40","hex_latitude":"07257d58","is_valid_coordinates":true} 
[2026-09-18 19:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173181184001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545252468817920,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967439749157062656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:39] 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-09-18 19:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738990000,"timestamp_ms":1789738990000,"timestamp_seconds":1789738990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c1b9b0"} 
[2026-09-18 19:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 19:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:14:39] 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-09-18 19:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173181184001,"66":12841,"217":206,"83":42752,"24":3,"16":21545252468817920,"45":1967439749157062656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173181184001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:14:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545252468817920,"km_value":21545252468817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967439749157062656,"description":"Unknown IO ID 45"} 
[2026-09-18 19:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173181184001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1967439749157062656}} 
[2026-09-18 19:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":187674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:14:40] local.INFO: GPS data processed {"connection_id":187674,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:14:40] local.INFO: Acknowledgment sent {"connection_id":187674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:14:46] local.INFO: TCP Data received {"connection_id":187673,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:14:46] local.INFO: Processing buffer {"connection_id":187673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:14:46] local.INFO: IMEI packet received {"connection_id":187673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":187673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:14:49] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:14:49] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:14:49] local.INFO: Packet analysis {"connection_id":186261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:14:49] local.INFO: Extracted packet for processing {"connection_id":186261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:14:49] 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-09-18 19:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":186261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:14:49] local.INFO: GPS data processed {"connection_id":186261,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:14:49] local.INFO: Acknowledgment sent {"connection_id":186261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:15:02] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:15:02] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:15:02] local.INFO: IMEI packet received {"connection_id":186413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":186413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:15:07] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:15:07] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:15:07] local.INFO: IMEI packet received {"connection_id":186413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":186413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:15:08] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c1bd98012d1b4cc007257d500030011230..."} 
[2026-09-18 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c1bd98012d1b4cc007257d500030011230..."} 
[2026-09-18 19:15:08] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c1bd98012d1b4cc007257d500030011230..."} 
[2026-09-18 19:15:08] local.INFO: Packet analysis {"connection_id":186413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:15:08] local.INFO: Extracted packet for processing {"connection_id":186413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756763840,"raw_latitude":119897424,"longitude_deg":75.676384,"latitude_deg":11.9897424,"altitude":48,"angle":274,"satellites":48,"speed":5,"hex_longitude":"2d1b4cc0","hex_latitude":"07257d50","is_valid_coordinates":true} 
[2026-09-18 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173181440001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545256763785216,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011668695040,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:08] 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-09-18 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738991000,"timestamp_ms":1789738991000,"timestamp_seconds":1789738991,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c1bd98"} 
[2026-09-18 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:15: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-09-18 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173181440001,"66":12809,"217":206,"83":42752,"24":5,"16":21545256763785216,"45":1967299011668695040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173181440001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:15:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545256763785216,"km_value":21545256763785.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011668695040,"description":"Unknown IO ID 45"} 
[2026-09-18 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173181440001,"power":12809,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1967299011668695040}} 
[2026-09-18 19:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":186413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:15:09] local.INFO: GPS data processed {"connection_id":186413,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:15:09] local.INFO: Acknowledgment sent {"connection_id":186413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:15:11] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:15:11] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:15:11] local.INFO: IMEI packet received {"connection_id":187675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":187675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:15:17] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:15:17] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:15:17] local.INFO: IMEI packet received {"connection_id":187675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":187675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:15:18] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:15:18] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4be8d30012d34c58006aa4030000801172a..."} 
[2026-09-18 19:15:18] local.INFO: Packet analysis {"connection_id":187675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:15:18] local.INFO: Extracted packet for processing {"connection_id":187675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4be"} 
[2026-09-18 19:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173051136001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789738782000,"timestamp_ms":1789738782000,"timestamp_seconds":1789738782,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4be8d30"} 
[2026-09-18 19:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 19:15:18] 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-09-18 19:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173051136001,"66":26082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173051136001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173051136001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":187675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:15:18] local.INFO: GPS data processed {"connection_id":187675,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:15:18] local.INFO: Acknowledgment sent {"connection_id":187675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:15:39] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c1c950012d1b4b8007257d20003000ff2f..."} 
[2026-09-18 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c1c950012d1b4b8007257d20003000ff2f..."} 
[2026-09-18 19:15:39] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c1c950012d1b4b8007257d20003000ff2f..."} 
[2026-09-18 19:15:39] local.INFO: Packet analysis {"connection_id":186413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:15:39] local.INFO: Extracted packet for processing {"connection_id":186413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756763520,"raw_latitude":119897376,"longitude_deg":75.676352,"latitude_deg":11.9897376,"altitude":48,"angle":255,"satellites":47,"speed":4,"hex_longitude":"2d1b4b80","hex_latitude":"07257d20","is_valid_coordinates":true} 
[2026-09-18 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173181696001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545273943654400,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967158274180337664,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] 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-09-18 19:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789738994000,"timestamp_ms":1789738994000,"timestamp_seconds":1789738994,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c1c950"} 
[2026-09-18 19:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3032571864,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-4513750313666392960,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2198339628,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2335637504,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587214345981523,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2703276880991140654,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,217,83,24,241,157,16,139,160,185,45,64,125,48,10,66,181,192,173,1,240,52,227,180,37,4,113,205,3,99,76,104,47,239,50,2,7,44,167,54],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-18 19:15:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459065986165309440,"timestamp_seconds":3459065986165309.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:15:39] 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-09-18 19:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173181696001,"66":12841,"217":206,"83":42752,"24":4,"16":21545273943654400,"45":1967158274180337664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173181696001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:15:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545273943654400,"km_value":21545273943654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967158274180337664,"description":"Unknown IO ID 45"} 
[2026-09-18 19:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173181696001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1967158274180337664}} 
[2026-09-18 19:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":186413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:15:39] local.INFO: GPS data processed {"connection_id":186413,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:15:39] local.INFO: Acknowledgment sent {"connection_id":186413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:15:50] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:15:50] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:15:50] local.INFO: Packet analysis {"connection_id":187675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:15:50] local.INFO: Extracted packet for processing {"connection_id":187675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:15:50] 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-09-18 19:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:15:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":187675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:15:50] local.INFO: GPS data processed {"connection_id":187675,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:15:50] local.INFO: Acknowledgment sent {"connection_id":187675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:16:02] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:16:02] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:16:02] local.INFO: IMEI packet received {"connection_id":189004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":189004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:16:07] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:16:07] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:16:07] local.INFO: IMEI packet received {"connection_id":189004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":189004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:16:08] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c1cd38012d1b4b0007257cf8003000f12f..."} 
[2026-09-18 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c1cd38012d1b4b0007257cf8003000f12f..."} 
[2026-09-18 19:16:08] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c1cd38012d1b4b0007257cf8003000f12f..."} 
[2026-09-18 19:16:08] local.INFO: Packet analysis {"connection_id":189004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:16:08] local.INFO: Extracted packet for processing {"connection_id":189004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c1"} 
[2026-09-18 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756763392,"raw_latitude":119897336,"longitude_deg":75.6763392,"latitude_deg":11.9897336,"altitude":48,"angle":241,"satellites":47,"speed":2,"hex_longitude":"2d1b4b00","hex_latitude":"07257cf8","is_valid_coordinates":true} 
[2026-09-18 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173182464001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545278238621696,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966806430459437056,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:08] 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-09-18 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789738995000,"timestamp_ms":1789738995000,"timestamp_seconds":1789738995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c1cd38"} 
[2026-09-18 19:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 19:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:16: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-09-18 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173182464001,"66":12841,"217":206,"83":42752,"24":2,"16":21545278238621696,"45":1966806430459437056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173182464001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:16:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545278238621696,"km_value":21545278238621.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966806430459437056,"description":"Unknown IO ID 45"} 
[2026-09-18 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173182464001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1966806430459437056}} 
[2026-09-18 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":189004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:16:08] local.INFO: GPS data processed {"connection_id":189004,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:16:08] local.INFO: Acknowledgment sent {"connection_id":189004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:16:16] local.INFO: TCP Data received {"connection_id":187676,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:16:16] local.INFO: Processing buffer {"connection_id":187676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:16:16] local.INFO: IMEI packet received {"connection_id":187676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":187676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:16:21] local.INFO: TCP Data received {"connection_id":187676,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:16:21] local.INFO: Processing buffer {"connection_id":187676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:16:21] local.INFO: IMEI packet received {"connection_id":187676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":187676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:16:22] local.INFO: TCP Data received {"connection_id":187676,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:16:22] local.INFO: Processing buffer {"connection_id":187676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:16:22] local.INFO: Packet analysis {"connection_id":187676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:16:22] local.INFO: Extracted packet for processing {"connection_id":187676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 19:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 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-09-18 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 19:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":187676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:16:22] local.INFO: GPS data processed {"connection_id":187676,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:16:22] local.INFO: Acknowledgment sent {"connection_id":187676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:16:27] local.INFO: TCP Data received {"connection_id":187676,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:16:27] local.INFO: Processing buffer {"connection_id":187676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:16:27] local.INFO: Packet analysis {"connection_id":187676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:16:27] local.INFO: Extracted packet for processing {"connection_id":187676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:16:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:16:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":187676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:16:27] local.INFO: GPS data processed {"connection_id":187676,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:16:27] local.INFO: Acknowledgment sent {"connection_id":187676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:16:40] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c21f40012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c21f40012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:16:40] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c21f40012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:16:40] local.INFO: Packet analysis {"connection_id":189004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c2"} 
[2026-09-18 19:16:40] local.INFO: Extracted packet for processing {"connection_id":189004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c2"} 
[2026-09-18 19:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":46,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173182720001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966665692971071488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:16:40] 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-09-18 19:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789739016000,"timestamp_ms":1789739016000,"timestamp_seconds":1789739016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c21f40"} 
[2026-09-18 19:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 19:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:16:40] 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-09-18 19:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173182720001,"66":12798,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966665692971071488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173182720001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:16:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966665692971071488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173182720001,"power":12798,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966665692971071488}} 
[2026-09-18 19:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":189004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:16:40] local.INFO: GPS data processed {"connection_id":189004,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:16:40] local.INFO: Acknowledgment sent {"connection_id":189004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:17:03] local.INFO: TCP Data received {"connection_id":187677,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:03] local.INFO: Processing buffer {"connection_id":187677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:03] local.INFO: IMEI packet received {"connection_id":187677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":187677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:17:04] local.INFO: TCP Data received {"connection_id":187677,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:04] local.INFO: Processing buffer {"connection_id":187677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:04] local.INFO: IMEI packet received {"connection_id":187677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":187677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:17:07] local.INFO: TCP Data received {"connection_id":187677,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:07] local.INFO: Processing buffer {"connection_id":187677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:17:07] local.INFO: IMEI packet received {"connection_id":187677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":187677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:17:08] local.INFO: TCP Data received {"connection_id":187677,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c27148012d1b4ac007257cc0003000f02d..."} 
[2026-09-18 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c27148012d1b4ac007257cc0003000f02d..."} 
[2026-09-18 19:17:08] local.INFO: Processing buffer {"connection_id":187677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c27148012d1b4ac007257cc0003000f02d..."} 
[2026-09-18 19:17:08] local.INFO: Packet analysis {"connection_id":187677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c2"} 
[2026-09-18 19:17:08] local.INFO: Extracted packet for processing {"connection_id":187677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c2"} 
[2026-09-18 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":45,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173188096001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:08] 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-09-18 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739037000,"timestamp_ms":1789739037000,"timestamp_seconds":1789739037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c27148"} 
[2026-09-18 19:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 19:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:17: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-09-18 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173188096001,"66":12722,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173188096001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:17:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173188096001,"power":12722,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":187677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:17:08] local.INFO: GPS data processed {"connection_id":187677,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:17:08] local.INFO: Acknowledgment sent {"connection_id":187677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:17:11] local.INFO: TCP Data received {"connection_id":186414,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:17:11] local.INFO: Processing buffer {"connection_id":186414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:17:11] local.INFO: IMEI packet received {"connection_id":186414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:17:17] local.INFO: TCP Data received {"connection_id":186414,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:17:17] local.INFO: Processing buffer {"connection_id":186414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:17:17] local.INFO: IMEI packet received {"connection_id":186414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":186414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:17:18] local.INFO: TCP Data received {"connection_id":186414,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:17:18] local.INFO: Processing buffer {"connection_id":186414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:17:18] local.INFO: Packet analysis {"connection_id":186414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:17:18] local.INFO: Extracted packet for processing {"connection_id":186414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:17:18] 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-09-18 19:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":186414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:17:18] local.INFO: GPS data processed {"connection_id":186414,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:17:18] local.INFO: Acknowledgment sent {"connection_id":186414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:17:39] local.INFO: TCP Data received {"connection_id":187677,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c2c350012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c2c350012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:17:39] local.INFO: Processing buffer {"connection_id":187677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c2c350012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:17:39] local.INFO: Packet analysis {"connection_id":187677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c2"} 
[2026-09-18 19:17:39] local.INFO: Extracted packet for processing {"connection_id":187677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c2"} 
[2026-09-18 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":46,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173193472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:39] 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-09-18 19:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789739058000,"timestamp_ms":1789739058000,"timestamp_seconds":1789739058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c2c350"} 
[2026-09-18 19:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 19:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:17:39] 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-09-18 19:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173193472001,"66":12689,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173193472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173193472001,"power":12689,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":187677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:17:39] local.INFO: GPS data processed {"connection_id":187677,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:17:39] local.INFO: Acknowledgment sent {"connection_id":187677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:17:50] local.INFO: TCP Data received {"connection_id":186414,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:17:50] local.INFO: Processing buffer {"connection_id":186414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:17:50] local.INFO: Packet analysis {"connection_id":186414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:17:50] local.INFO: Extracted packet for processing {"connection_id":186414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:17:50] 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-09-18 19:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:17:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":186414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:17:50] local.INFO: GPS data processed {"connection_id":186414,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:17:50] local.INFO: Acknowledgment sent {"connection_id":186414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:18:02] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:02] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:02] local.INFO: IMEI packet received {"connection_id":186415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":186415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:18:06] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:06] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:06] local.INFO: IMEI packet received {"connection_id":186415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":186415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:18:07] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:07] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:18:07] local.INFO: IMEI packet received {"connection_id":186415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":186415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:18:08] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c31558012d1b4ac007257cc0003000f02f..."} 
[2026-09-18 19:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c31558012d1b4ac007257cc0003000f02f..."} 
[2026-09-18 19:18:08] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c31558012d1b4ac007257cc0003000f02f..."} 
[2026-09-18 19:18:08] local.INFO: Packet analysis {"connection_id":186415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:08] local.INFO: Extracted packet for processing {"connection_id":186415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":47,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173198848001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:08] 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-09-18 19:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739079000,"timestamp_ms":1789739079000,"timestamp_seconds":1789739079,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c31558"} 
[2026-09-18 19:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 19:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:18: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-09-18 19:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173198848001,"66":12678,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173198848001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:18:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173198848001,"power":12678,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":186415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:18:08] local.INFO: GPS data processed {"connection_id":186415,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:18:08] local.INFO: Acknowledgment sent {"connection_id":186415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:18:12] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:18:12] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:18:12] local.INFO: IMEI packet received {"connection_id":186416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":186416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:18:17] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:18:17] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:18:17] local.INFO: IMEI packet received {"connection_id":186416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":186416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:18:19] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:18:19] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:18:19] local.INFO: Packet analysis {"connection_id":186416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:19] local.INFO: Extracted packet for processing {"connection_id":186416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:18: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-09-18 19: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":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:18:19] 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-09-18 19:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":186416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:18:19] local.INFO: GPS data processed {"connection_id":186416,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:18:19] local.INFO: Acknowledgment sent {"connection_id":186416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:18:39] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c36760012d1b4ac007257cc0003000f030..."} 
[2026-09-18 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c36760012d1b4ac007257cc0003000f030..."} 
[2026-09-18 19:18:39] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c36760012d1b4ac007257cc0003000f030..."} 
[2026-09-18 19:18:39] local.INFO: Packet analysis {"connection_id":186415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:39] local.INFO: Extracted packet for processing {"connection_id":186415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":48,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173204224001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:39] 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-09-18 19:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789739100000,"timestamp_ms":1789739100000,"timestamp_seconds":1789739100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c36760"} 
[2026-09-18 19:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 19:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:18:39] 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-09-18 19:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173204224001,"66":12645,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173204224001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:18:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173204224001,"power":12645,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":186415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:18:39] local.INFO: GPS data processed {"connection_id":186415,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:18:39] local.INFO: Acknowledgment sent {"connection_id":186415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:18:50] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:18:50] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:18:50] local.INFO: Packet analysis {"connection_id":186416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:50] local.INFO: Extracted packet for processing {"connection_id":186416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:18:50] 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-09-18 19:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":186416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:18:50] local.INFO: GPS data processed {"connection_id":186416,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:18:50] local.INFO: Acknowledgment sent {"connection_id":186416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:19:07] local.INFO: TCP Data received {"connection_id":187678,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:19:07] local.INFO: Processing buffer {"connection_id":187678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:19:07] local.INFO: IMEI packet received {"connection_id":187678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":187678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:19:08] local.INFO: TCP Data received {"connection_id":187678,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:19:08] local.INFO: Processing buffer {"connection_id":187678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:19:08] local.INFO: IMEI packet received {"connection_id":187678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:19:09] local.INFO: TCP Data received {"connection_id":187678,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c3b968012d1b4ac007257cc0003000f030..."} 
[2026-09-18 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c3b968012d1b4ac007257cc0003000f030..."} 
[2026-09-18 19:19:09] local.INFO: Processing buffer {"connection_id":187678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c3b968012d1b4ac007257cc0003000f030..."} 
[2026-09-18 19:19:09] local.INFO: Packet analysis {"connection_id":187678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:19:09] local.INFO: Extracted packet for processing {"connection_id":187678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":48,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173209600001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:09] 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-09-18 19:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789739121000,"timestamp_ms":1789739121000,"timestamp_seconds":1789739121,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c3b968"} 
[2026-09-18 19:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-18 19:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:19:09] 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-09-18 19:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173209600001,"66":12602,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173209600001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:19:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173209600001,"power":12602,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":187678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:19:09] local.INFO: GPS data processed {"connection_id":187678,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:19:09] local.INFO: Acknowledgment sent {"connection_id":187678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:19:11] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:19:11] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:19:11] local.INFO: IMEI packet received {"connection_id":186263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":186263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:19:13] local.INFO: TCP Data received {"connection_id":187678,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c40b70012d1b4ac007257cc0003000f031..."} 
[2026-09-18 19:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c40b70012d1b4ac007257cc0003000f031..."} 
[2026-09-18 19:19:13] local.INFO: Processing buffer {"connection_id":187678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c40b70012d1b4ac007257cc0003000f031..."} 
[2026-09-18 19:19:13] local.INFO: Packet analysis {"connection_id":187678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c4"} 
[2026-09-18 19:19:13] local.INFO: Extracted packet for processing {"connection_id":187678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c4"} 
[2026-09-18 19:19:13] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":49,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173214976001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:13] 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-09-18 19:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789739142000,"timestamp_ms":1789739142000,"timestamp_seconds":1789739142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c40b70"} 
[2026-09-18 19:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-18 19:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:19:13] 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-09-18 19:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173214976001,"66":12558,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173214976001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:19:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173214976001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":187678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:19:13] local.INFO: GPS data processed {"connection_id":187678,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:19:13] local.INFO: Acknowledgment sent {"connection_id":187678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:19:16] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:19:16] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:19:16] local.INFO: IMEI packet received {"connection_id":186263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":186263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:19:18] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:19:18] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:19:18] local.INFO: Packet analysis {"connection_id":186263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:19:18] local.INFO: Extracted packet for processing {"connection_id":186263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:19:18] 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-09-18 19:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":186263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:19:18] local.INFO: GPS data processed {"connection_id":186263,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:19:18] local.INFO: Acknowledgment sent {"connection_id":186263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:19:44] local.INFO: TCP Data received {"connection_id":187678,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c45d78012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c45d78012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:19:44] local.INFO: Processing buffer {"connection_id":187678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c45d78012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:19:44] local.INFO: Packet analysis {"connection_id":187678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c4"} 
[2026-09-18 19:19:44] local.INFO: Extracted packet for processing {"connection_id":187678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c4"} 
[2026-09-18 19:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":46,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173220352001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] 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-09-18 19:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789739163000,"timestamp_ms":1789739163000,"timestamp_seconds":1789739163,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c45d78"} 
[2026-09-18 19:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3032620864,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250274019569925368,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3267579905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3221693820,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2337472512,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729338044418,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,83,24,241,157,16,139,160,185,45,192,124,48,10,66,103,21,1,240,134,227,180,37,4,113,205,74,239,49,2,76,7,106,87,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-18 19:19:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459028607064604672,"timestamp_seconds":3459028607064604.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:19:44] 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-09-18 19:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173220352001,"66":12504,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173220352001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:19:44] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173220352001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":187678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:19:44] local.INFO: GPS data processed {"connection_id":187678,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:19:44] local.INFO: Acknowledgment sent {"connection_id":187678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:19:49] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:19:49] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:19:49] local.INFO: Packet analysis {"connection_id":186263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:19:49] local.INFO: Extracted packet for processing {"connection_id":186263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:19:49] 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-09-18 19:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":186263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:19:49] local.INFO: GPS data processed {"connection_id":186263,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:19:49] local.INFO: Acknowledgment sent {"connection_id":186263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:20:04] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:20:04] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:20:04] local.INFO: IMEI packet received {"connection_id":186417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":186417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:20:08] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:20:08] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:20:08] local.INFO: IMEI packet received {"connection_id":186417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":186417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:20:09] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c4af80012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c4af80012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:20:09] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c4af80012d1b4ac007257cc0003000f02e..."} 
[2026-09-18 19:20:09] local.INFO: Packet analysis {"connection_id":186417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c4"} 
[2026-09-18 19:20:09] local.INFO: Extracted packet for processing {"connection_id":186417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c4"} 
[2026-09-18 19:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":46,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173225728001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:10] 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-09-18 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789739184000,"timestamp_ms":1789739184000,"timestamp_seconds":1789739184,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c4af80"} 
[2026-09-18 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-09-18 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 19:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:20:10] 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-09-18 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173225728001,"66":12461,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173225728001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173225728001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":186417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:20:10] local.INFO: GPS data processed {"connection_id":186417,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:20:10] local.INFO: Acknowledgment sent {"connection_id":186417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:20:10] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c50188012d1b4ac007257cc0003000f02d..."} 
[2026-09-18 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c50188012d1b4ac007257cc0003000f02d..."} 
[2026-09-18 19:20:10] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c50188012d1b4ac007257cc0003000f02d..."} 
[2026-09-18 19:20:10] local.INFO: Packet analysis {"connection_id":186417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c5"} 
[2026-09-18 19:20:10] local.INFO: Extracted packet for processing {"connection_id":186417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c5"} 
[2026-09-18 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":45,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 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-09-18 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173231104001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:10] 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-09-18 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789739205000,"timestamp_ms":1789739205000,"timestamp_seconds":1789739205,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c50188"} 
[2026-09-18 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-09-18 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 19:20: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-09-18 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-09-18 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-09-18 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:20:10] 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-09-18 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173231104001,"66":12504,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173231104001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173231104001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":186417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:20:11] local.INFO: GPS data processed {"connection_id":186417,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:20:11] local.INFO: Acknowledgment sent {"connection_id":186417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:20:11] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:20:11] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:20:11] local.INFO: IMEI packet received {"connection_id":189005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":189005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:20:16] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:20:16] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:20:16] local.INFO: IMEI packet received {"connection_id":189005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":189005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:20:17] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:20:17] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c324f8012d34c58006aa4030000801172a..."} 
[2026-09-18 19:20:17] local.INFO: Packet analysis {"connection_id":189005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:20:17] local.INFO: Extracted packet for processing {"connection_id":189005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c3"} 
[2026-09-18 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173128192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789739083000,"timestamp_ms":1789739083000,"timestamp_seconds":1789739083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c324f8"} 
[2026-09-18 19:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-18 19:20:17] 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-09-18 19:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173128192001,"66":26039,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173128192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173128192001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":189005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:20:17] local.INFO: GPS data processed {"connection_id":189005,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:20:17] local.INFO: Acknowledgment sent {"connection_id":189005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:20:20] local.INFO: TCP Data received {"connection_id":186262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:20:20] local.INFO: Processing buffer {"connection_id":186262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:20:20] local.INFO: IMEI packet received {"connection_id":186262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":186262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:20:42] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c55390012d1b4ac007257cc0003000f02c..."} 
[2026-09-18 19:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c55390012d1b4ac007257cc0003000f02c..."} 
[2026-09-18 19:20:42] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c55390012d1b4ac007257cc0003000f02c..."} 
[2026-09-18 19:20:42] local.INFO: Packet analysis {"connection_id":186417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c5"} 
[2026-09-18 19:20:42] local.INFO: Extracted packet for processing {"connection_id":186417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c5"} 
[2026-09-18 19:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756763328,"raw_latitude":119897280,"longitude_deg":75.6763328,"latitude_deg":11.989728,"altitude":48,"angle":240,"satellites":44,"speed":0,"hex_longitude":"2d1b4ac0","hex_latitude":"07257cc0","is_valid_coordinates":true} 
[2026-09-18 19:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173236480001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545286828556288,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324226879488,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:42] 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-09-18 19:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789739226000,"timestamp_ms":1789739226000,"timestamp_seconds":1789739226,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c55390"} 
[2026-09-18 19:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 19:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:20:42] 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-09-18 19:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173236480001,"66":12461,"217":206,"83":42752,"24":0,"16":21545286828556288,"45":1966595324226879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173236480001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:20:42] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545286828556288,"km_value":21545286828556.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324226879488,"description":"Unknown IO ID 45"} 
[2026-09-18 19:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173236480001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966595324226879488}} 
[2026-09-18 19:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":186417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:20:42] local.INFO: GPS data processed {"connection_id":186417,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:20:42] local.INFO: Acknowledgment sent {"connection_id":186417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:20:48] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:20:48] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:20:48] local.INFO: Packet analysis {"connection_id":189005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:20:48] local.INFO: Extracted packet for processing {"connection_id":189005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:20: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-09-18 19:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":189005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:20:48] local.INFO: GPS data processed {"connection_id":189005,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:20:48] local.INFO: Acknowledgment sent {"connection_id":189005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:21:07] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:21:07] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:21:07] local.INFO: IMEI packet received {"connection_id":186264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:21:11] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:21:11] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:21:11] local.INFO: IMEI packet received {"connection_id":187679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":187679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:21:14] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:21:14] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:21:14] local.INFO: IMEI packet received {"connection_id":186264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":186264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:21:15] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c83da8012d1b4b8007257e18002f005e2f..."} 
[2026-09-18 19:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c83da8012d1b4b8007257e18002f005e2f..."} 
[2026-09-18 19:21:15] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c83da8012d1b4b8007257e18002f005e2f..."} 
[2026-09-18 19:21:15] local.INFO: Packet analysis {"connection_id":186264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c8"} 
[2026-09-18 19:21:15] local.INFO: Extracted packet for processing {"connection_id":186264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c8"} 
[2026-09-18 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756763520,"raw_latitude":119897624,"longitude_deg":75.676352,"latitude_deg":11.9897624,"altitude":47,"angle":94,"satellites":47,"speed":7,"hex_longitude":"2d1b4b80","hex_latitude":"07257e18","is_valid_coordinates":true} 
[2026-09-18 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173290496001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545316893327360,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966665692971139072,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:15] 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-09-18 19:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789739417000,"timestamp_ms":1789739417000,"timestamp_seconds":1789739417,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c83da8"} 
[2026-09-18 19:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 19:21:15] 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-09-18 19:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:21:15] 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-09-18 19:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173290496001,"66":13428,"217":206,"83":42752,"24":7,"16":21545316893327360,"45":1966665692971139072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173290496001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:21:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545316893327360,"km_value":21545316893327.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966665692971139072,"description":"Unknown IO ID 45"} 
[2026-09-18 19:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173290496001,"power":13428,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1966665692971139072}} 
[2026-09-18 19:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":186264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:21:15] local.INFO: GPS data processed {"connection_id":186264,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:21:15] local.INFO: Acknowledgment sent {"connection_id":186264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:21:16] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:21:16] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:21:16] local.INFO: IMEI packet received {"connection_id":187679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":187679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:21:17] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:21:17] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:21:17] local.INFO: Packet analysis {"connection_id":187679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:21:17] local.INFO: Extracted packet for processing {"connection_id":187679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":187679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:21:17] local.INFO: GPS data processed {"connection_id":187679,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:21:17] local.INFO: Acknowledgment sent {"connection_id":187679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:21:46] local.INFO: TCP Data received {"connection_id":186264,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c84578012d1b4cc007257df8002f006c2f..."} 
[2026-09-18 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c84578012d1b4cc007257df8002f006c2f..."} 
[2026-09-18 19:21:46] local.INFO: Processing buffer {"connection_id":186264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c84578012d1b4cc007257df8002f006c2f..."} 
[2026-09-18 19:21:46] local.INFO: Packet analysis {"connection_id":186264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c8"} 
[2026-09-18 19:21:46] local.INFO: Extracted packet for processing {"connection_id":186264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c8"} 
[2026-09-18 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756763840,"raw_latitude":119897592,"longitude_deg":75.676384,"latitude_deg":11.9897592,"altitude":47,"angle":108,"satellites":47,"speed":5,"hex_longitude":"2d1b4cc0","hex_latitude":"07257df8","is_valid_coordinates":true} 
[2026-09-18 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173290752001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545329778229248,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966806430459500544,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:46] 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-09-18 19:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789739419000,"timestamp_ms":1789739419000,"timestamp_seconds":1789739419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c84578"} 
[2026-09-18 19:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 19:21: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-09-18 19:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:21:46] 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-09-18 19:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173290752001,"66":13396,"217":206,"83":42752,"24":5,"16":21545329778229248,"45":1966806430459500544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173290752001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:21:46] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545329778229248,"km_value":21545329778229.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966806430459500544,"description":"Unknown IO ID 45"} 
[2026-09-18 19:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173290752001,"power":13396,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1966806430459500544}} 
[2026-09-18 19:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":186264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:21:46] local.INFO: GPS data processed {"connection_id":186264,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:21:46] local.INFO: Acknowledgment sent {"connection_id":186264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:21:49] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:21:49] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:21:49] local.INFO: Packet analysis {"connection_id":187679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:21:49] local.INFO: Extracted packet for processing {"connection_id":187679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":187679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:21:49] local.INFO: GPS data processed {"connection_id":187679,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:21:49] local.INFO: Acknowledgment sent {"connection_id":187679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:22:02] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:02] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:02] local.INFO: IMEI packet received {"connection_id":186418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":186418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:22:02] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:02] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:02] local.INFO: IMEI packet received {"connection_id":186418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":186418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:22:07] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:07] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:22:07] local.INFO: IMEI packet received {"connection_id":186418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":186418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:22:08] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c84d48012d1b4dc007257db0002f00792d..."} 
[2026-09-18 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c84d48012d1b4dc007257db0002f00792d..."} 
[2026-09-18 19:22:08] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c84d48012d1b4dc007257db0002f00792d..."} 
[2026-09-18 19:22:08] local.INFO: Packet analysis {"connection_id":186418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c8"} 
[2026-09-18 19:22:08] local.INFO: Extracted packet for processing {"connection_id":186418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c8"} 
[2026-09-18 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756764096,"raw_latitude":119897520,"longitude_deg":75.6764096,"latitude_deg":11.989752,"altitude":47,"angle":121,"satellites":45,"speed":4,"hex_longitude":"2d1b4dc0","hex_latitude":"07257db0","is_valid_coordinates":true} 
[2026-09-18 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173291264001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21545342663131136,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967158274180380672,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:08] 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-09-18 19:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739421000,"timestamp_ms":1789739421000,"timestamp_seconds":1789739421,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c84d48"} 
[2026-09-18 19:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-18 19:22:08] 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-09-18 19:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:22: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-09-18 19:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173291264001,"66":13515,"217":206,"83":42752,"24":4,"16":21545342663131136,"45":1967158274180380672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-18 19:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173291264001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:22:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-18 19:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21545342663131136,"km_value":21545342663131.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967158274180380672,"description":"Unknown IO ID 45"} 
[2026-09-18 19:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173291264001,"power":13515,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1967158274180380672}} 
[2026-09-18 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":186418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:22:08] local.INFO: GPS data processed {"connection_id":186418,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:22:08] local.INFO: Acknowledgment sent {"connection_id":186418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:22:15] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:22:15] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:22:15] local.INFO: IMEI packet received {"connection_id":189006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":189006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:22:16] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:22:16] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:22:16] local.INFO: IMEI packet received {"connection_id":189006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":189006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:22:17] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:17] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:17] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:22:17] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:22:17] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:22:17] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:22:23] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:23] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:23] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:22:23] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:22:23] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:22:23] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:22:39] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c9acd8012d1b5a400724df880023010e30..."} 
[2026-09-18 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c9acd8012d1b5a400724df880023010e30..."} 
[2026-09-18 19:22:39] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c9acd8012d1b5a400724df880023010e30..."} 
[2026-09-18 19:22:39] local.INFO: Packet analysis {"connection_id":186418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c9"} 
[2026-09-18 19:22:39] local.INFO: Extracted packet for processing {"connection_id":186418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c9"} 
[2026-09-18 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756767296,"raw_latitude":119857032,"longitude_deg":75.6767296,"latitude_deg":11.9857032,"altitude":35,"angle":270,"satellites":48,"speed":8,"hex_longitude":"2d1b5a40","hex_latitude":"0724df88","is_valid_coordinates":true} 
[2026-09-18 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173314560001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547472966909952,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923843952640,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789739511000,"timestamp_ms":1789739511000,"timestamp_seconds":1789739511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c9acd8"} 
[2026-09-18 19:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533195,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3033049864,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":28672,"corrected_to":0} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3371003905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786496729,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535574222,"corrected_to":0} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629017056431699,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2347827200,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":27,"raw_value":7475983238519324711,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:39] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,135,83,24,241,157,16,141,160,90,45,246,38,42,10,66,63,128,2,36,44,140,1,240,214,227,180,37,4,113,205,26,178,105,136,48,239,52,217,76,7,18,27,167],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":246,"original":28672,"validated":0},{"io_id":205,"original":1535574222,"validated":0}]} 
[2026-09-18 19:22:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522296368656482304,"timestamp_seconds":2522296368656482.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:22:39] 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-09-18 19:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173314560001,"66":13689,"135":206,"83":42752,"24":8,"16":21547472966909952,"45":1971098923843952640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-18 19:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173314560001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547472966909952,"km_value":21547472966909.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923843952640,"description":"Unknown IO ID 45"} 
[2026-09-18 19:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173314560001,"power":13689,"unknown_135":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1971098923843952640}} 
[2026-09-18 19:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":186418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:22:39] local.INFO: GPS data processed {"connection_id":186418,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:22:39] local.INFO: Acknowledgment sent {"connection_id":186418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:22:54] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:54] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:22:54] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:22:54] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:22:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:22:54] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:22:54] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:23:00] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:00] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:00] local.INFO: IMEI packet received {"connection_id":186265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":186265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:23:03] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:03] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:03] local.INFO: IMEI packet received {"connection_id":186265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":186265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:23:03] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:03] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:03] local.INFO: IMEI packet received {"connection_id":186265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":186265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:23:06] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:07] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:23:07] local.INFO: IMEI packet received {"connection_id":186265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":186265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:23:07] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c9b0c0012d1b59400724dfa00023011931..."} 
[2026-09-18 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c9b0c0012d1b59400724dfa00023011931..."} 
[2026-09-18 19:23:07] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c9b0c0012d1b59400724dfa00023011931..."} 
[2026-09-18 19:23:07] local.INFO: Packet analysis {"connection_id":186265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c9"} 
[2026-09-18 19:23:07] local.INFO: Extracted packet for processing {"connection_id":186265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c9"} 
[2026-09-18 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119857056,"longitude_deg":75.676704,"latitude_deg":11.9857056,"altitude":35,"angle":281,"satellites":49,"speed":8,"hex_longitude":"2d1b5940","hex_latitude":"0724dfa0","is_valid_coordinates":true} 
[2026-09-18 19:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173314816001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547481556844544,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186355591168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789739512000,"timestamp_ms":1789739512000,"timestamp_seconds":1789739512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c9b0c0"} 
[2026-09-18 19:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 19:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:23:07] 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-09-18 19:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173314816001,"66":13689,"135":206,"83":42752,"24":8,"16":21547481556844544,"45":1970958186355591168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-18 19:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173314816001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:23:07] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-18 19:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547481556844544,"km_value":21547481556844.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186355591168,"description":"Unknown IO ID 45"} 
[2026-09-18 19:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173314816001,"power":13689,"unknown_135":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1970958186355591168}} 
[2026-09-18 19:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":186265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:23:07] local.INFO: GPS data processed {"connection_id":186265,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:23:07] local.INFO: Acknowledgment sent {"connection_id":186265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:23:11] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:23:11] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:23:11] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:23:17] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:23:17] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:23:17] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:23:19] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:23:19] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:23:19] local.INFO: Packet analysis {"connection_id":189008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:23:19] local.INFO: Extracted packet for processing {"connection_id":189008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:23: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-09-18 19:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":189008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:23:19] local.INFO: GPS data processed {"connection_id":189008,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:23:19] local.INFO: Acknowledgment sent {"connection_id":189008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:23:38] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c9c448012d1b54c00724dff00024010e30..."} 
[2026-09-18 19:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c9c448012d1b54c00724dff00024010e30..."} 
[2026-09-18 19:23:38] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c9c448012d1b54c00724dff00024010e30..."} 
[2026-09-18 19:23:38] local.INFO: Packet analysis {"connection_id":186265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c9"} 
[2026-09-18 19:23:38] local.INFO: Extracted packet for processing {"connection_id":186265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c9"} 
[2026-09-18 19:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756765888,"raw_latitude":119857136,"longitude_deg":75.6765888,"latitude_deg":11.9857136,"altitude":36,"angle":270,"satellites":48,"speed":13,"hex_longitude":"2d1b54c0","hex_latitude":"0724dff0","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173315072001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547537391419392,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711378886656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789739517000,"timestamp_ms":1789739517000,"timestamp_seconds":1789739517,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c9c448"} 
[2026-09-18 19:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 19:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:23:38] 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-09-18 19:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173315072001,"66":13689,"135":206,"83":42752,"24":13,"16":21547537391419392,"45":1970676711378886656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-18 19:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173315072001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:23:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-18 19:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547537391419392,"km_value":21547537391419.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711378886656,"description":"Unknown IO ID 45"} 
[2026-09-18 19:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173315072001,"power":13689,"unknown_135":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1970676711378886656}} 
[2026-09-18 19:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":186265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:23:38] local.INFO: GPS data processed {"connection_id":186265,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:23:38] local.INFO: Acknowledgment sent {"connection_id":186265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:23:51] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:23:51] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:23:51] local.INFO: Packet analysis {"connection_id":189008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:23:51] local.INFO: Extracted packet for processing {"connection_id":189008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":189008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:23:51] local.INFO: GPS data processed {"connection_id":189008,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:23:51] local.INFO: Acknowledgment sent {"connection_id":189008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:24:03] local.INFO: TCP Data received {"connection_id":187680,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:24:03] local.INFO: Processing buffer {"connection_id":187680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:24:03] local.INFO: IMEI packet received {"connection_id":187680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":187680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:24:07] local.INFO: TCP Data received {"connection_id":187680,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:24:07] local.INFO: Processing buffer {"connection_id":187680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:24:07] local.INFO: IMEI packet received {"connection_id":187680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":187680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:24:08] local.INFO: TCP Data received {"connection_id":187680,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ca0a98012d1b4fc00724e018002501252b..."} 
[2026-09-18 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ca0a98012d1b4fc00724e018002501252b..."} 
[2026-09-18 19:24:08] local.INFO: Processing buffer {"connection_id":187680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ca0a98012d1b4fc00724e018002501252b..."} 
[2026-09-18 19:24:08] local.INFO: Packet analysis {"connection_id":187680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:24:08] local.INFO: Extracted packet for processing {"connection_id":187680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119857176,"longitude_deg":75.6764608,"latitude_deg":11.9857176,"altitude":37,"angle":293,"satellites":43,"speed":8,"hex_longitude":"2d1b4fc0","hex_latitude":"0724e018","is_valid_coordinates":true} 
[2026-09-18 19:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173316352001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969410073983709184,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547601815928832,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739535000,"timestamp_ms":1789739535000,"timestamp_seconds":1789739535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ca0a98"} 
[2026-09-18 19:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 19:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:24: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-09-18 19:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173316352001,"66":13722,"45":1969410073983709184,"83":41984,"24":8,"16":21547601815928832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173316352001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969410073983709184,"description":"Unknown IO ID 45"} 
[2026-09-18 19:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547601815928832,"km_value":21547601815928.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:24:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173316352001,"power":13722,"unknown_45":1969410073983709184,"unknown_83":41984,"ignition":8,"odometer":null}} 
[2026-09-18 19:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":187680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:24:08] local.INFO: GPS data processed {"connection_id":187680,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:24:08] local.INFO: Acknowledgment sent {"connection_id":187680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:24:11] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:24:11] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:24:11] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:24:16] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:24:16] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:24:16] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:24:18] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:24:18] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:24:18] local.INFO: Packet analysis {"connection_id":186266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:24:18] local.INFO: Extracted packet for processing {"connection_id":186266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":186266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:24:18] local.INFO: GPS data processed {"connection_id":186266,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:24:18] local.INFO: Acknowledgment sent {"connection_id":186266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:24:39] local.INFO: TCP Data received {"connection_id":187680,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ca1650012d1b4c800724e0b0002501172e..."} 
[2026-09-18 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ca1650012d1b4c800724e0b0002501172e..."} 
[2026-09-18 19:24:39] local.INFO: Processing buffer {"connection_id":187680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ca1650012d1b4c800724e0b0002501172e..."} 
[2026-09-18 19:24:39] local.INFO: Packet analysis {"connection_id":187680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:24:39] local.INFO: Extracted packet for processing {"connection_id":187680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756763776,"raw_latitude":119857328,"longitude_deg":75.6763776,"latitude_deg":11.9857328,"altitude":37,"angle":279,"satellites":46,"speed":12,"hex_longitude":"2d1b4c80","hex_latitude":"0724e0b0","is_valid_coordinates":true} 
[2026-09-18 19:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173320960001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699100166144,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547640470634496,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789739538000,"timestamp_ms":1789739538000,"timestamp_seconds":1789739538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ca1650"} 
[2026-09-18 19:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 19:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:24:39] 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-09-18 19:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173320960001,"66":13798,"45":1968002699100166144,"83":41984,"24":12,"16":21547640470634496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173320960001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699100166144,"description":"Unknown IO ID 45"} 
[2026-09-18 19:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547640470634496,"km_value":21547640470634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:24:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173320960001,"power":13798,"unknown_45":1968002699100166144,"unknown_83":41984,"ignition":12,"odometer":null}} 
[2026-09-18 19:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":187680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:24:39] local.INFO: GPS data processed {"connection_id":187680,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:24:39] local.INFO: Acknowledgment sent {"connection_id":187680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:24:51] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:24:51] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:24:51] local.INFO: Packet analysis {"connection_id":186266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:24:51] local.INFO: Extracted packet for processing {"connection_id":186266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":186266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:24:51] local.INFO: GPS data processed {"connection_id":186266,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:24:51] local.INFO: Acknowledgment sent {"connection_id":186266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:25:02] local.INFO: TCP Data received {"connection_id":187681,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:25:02] local.INFO: Processing buffer {"connection_id":187681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:25:02] local.INFO: IMEI packet received {"connection_id":187681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":187681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:25:07] local.INFO: TCP Data received {"connection_id":187681,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:25:07] local.INFO: Processing buffer {"connection_id":187681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:25:07] local.INFO: IMEI packet received {"connection_id":187681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":187681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:25:08] local.INFO: TCP Data received {"connection_id":187681,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ca25f0012d1b46000724e188002401242d..."} 
[2026-09-18 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ca25f0012d1b46000724e188002401242d..."} 
[2026-09-18 19:25:08] local.INFO: Processing buffer {"connection_id":187681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ca25f0012d1b46000724e188002401242d..."} 
[2026-09-18 19:25:08] local.INFO: Packet analysis {"connection_id":187681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:25:08] local.INFO: Extracted packet for processing {"connection_id":187681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119857544,"longitude_deg":75.6762112,"latitude_deg":11.9857544,"altitude":36,"angle":292,"satellites":45,"speed":18,"hex_longitude":"2d1b4600","hex_latitude":"0724e188","is_valid_coordinates":true} 
[2026-09-18 19:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173321728001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967087905425895424,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547722075013120,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739542000,"timestamp_ms":1789739542000,"timestamp_seconds":1789739542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ca25f0"} 
[2026-09-18 19:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-18 19:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:25: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-09-18 19:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173321728001,"66":13678,"45":1967087905425895424,"83":41984,"24":18,"16":21547722075013120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173321728001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967087905425895424,"description":"Unknown IO ID 45"} 
[2026-09-18 19:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547722075013120,"km_value":21547722075013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:25:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173321728001,"power":13678,"unknown_45":1967087905425895424,"unknown_83":41984,"ignition":18,"odometer":null}} 
[2026-09-18 19:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":187681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:25:08] local.INFO: GPS data processed {"connection_id":187681,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:25:08] local.INFO: Acknowledgment sent {"connection_id":187681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:25:11] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:25:11] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:25:11] local.INFO: IMEI packet received {"connection_id":189009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":189009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:25:17] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:25:17] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:25:17] local.INFO: IMEI packet received {"connection_id":189009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":189009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:25:18] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:25:18] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4c7bcc0012d34c58006aa40300008011723..."} 
[2026-09-18 19:25:18] local.INFO: Packet analysis {"connection_id":189009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:25:18] local.INFO: Extracted packet for processing {"connection_id":189009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4c7"} 
[2026-09-18 19:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173205248001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739384000,"timestamp_ms":1789739384000,"timestamp_seconds":1789739384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4c7bcc0"} 
[2026-09-18 19:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 19:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173205248001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173205248001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173205248001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":189009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:25:18] local.INFO: GPS data processed {"connection_id":189009,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:25:18] local.INFO: Acknowledgment sent {"connection_id":189009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:25:39] local.INFO: TCP Data received {"connection_id":187681,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ca2dc0012d1b42800724e298002501182c..."} 
[2026-09-18 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ca2dc0012d1b42800724e298002501182c..."} 
[2026-09-18 19:25:39] local.INFO: Processing buffer {"connection_id":187681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ca2dc0012d1b42800724e298002501182c..."} 
[2026-09-18 19:25:39] local.INFO: Packet analysis {"connection_id":187681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:25:39] local.INFO: Extracted packet for processing {"connection_id":187681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756761216,"raw_latitude":119857816,"longitude_deg":75.6761216,"latitude_deg":11.9857816,"altitude":37,"angle":280,"satellites":44,"speed":16,"hex_longitude":"2d1b4280","hex_latitude":"0724e298","is_valid_coordinates":true} 
[2026-09-18 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173322752001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258318077331456,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547765024686080,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789739544000,"timestamp_ms":1789739544000,"timestamp_seconds":1789739544,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ca2dc0"} 
[2026-09-18 19:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-18 19:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:25:39] 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-09-18 19:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173322752001,"66":13559,"45":1965258318077331456,"83":41984,"24":16,"16":21547765024686080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173322752001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258318077331456,"description":"Unknown IO ID 45"} 
[2026-09-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547765024686080,"km_value":21547765024686.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:25:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173322752001,"power":13559,"unknown_45":1965258318077331456,"unknown_83":41984,"ignition":16,"odometer":null}} 
[2026-09-18 19:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":187681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:25:40] local.INFO: GPS data processed {"connection_id":187681,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:25:40] local.INFO: Acknowledgment sent {"connection_id":187681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:25:49] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:25:49] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:25:49] local.INFO: Packet analysis {"connection_id":189009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:25:49] local.INFO: Extracted packet for processing {"connection_id":189009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":189009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:25:50] local.INFO: GPS data processed {"connection_id":189009,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:25:50] local.INFO: Acknowledgment sent {"connection_id":189009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:25:55] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:25:55] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:25:55] local.INFO: IMEI packet received {"connection_id":189007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":189007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:26:02] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:26:02] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:26:02] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:26:07] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:26:07] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:26:07] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:26:08] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ca3d60012d1b3d800724e2e80025010c2f..."} 
[2026-09-18 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ca3d60012d1b3d800724e2e80025010c2f..."} 
[2026-09-18 19:26:08] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ca3d60012d1b3d800724e2e80025010c2f..."} 
[2026-09-18 19:26:08] local.INFO: Packet analysis {"connection_id":186267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:26:08] local.INFO: Extracted packet for processing {"connection_id":186267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756759936,"raw_latitude":119857896,"longitude_deg":75.6759936,"latitude_deg":11.9857896,"altitude":37,"angle":268,"satellites":47,"speed":8,"hex_longitude":"2d1b3d80","hex_latitude":"0724e2e8","is_valid_coordinates":true} 
[2026-09-18 19:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173323264001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964273155658913792,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547829449195520,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739548000,"timestamp_ms":1789739548000,"timestamp_seconds":1789739548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ca3d60"} 
[2026-09-18 19:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 19:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:26: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-09-18 19:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173323264001,"66":12950,"45":1964273155658913792,"83":41984,"24":8,"16":21547829449195520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173323264001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964273155658913792,"description":"Unknown IO ID 45"} 
[2026-09-18 19:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547829449195520,"km_value":21547829449195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:26:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173323264001,"power":12950,"unknown_45":1964273155658913792,"unknown_83":41984,"ignition":8,"odometer":null}} 
[2026-09-18 19:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":186267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:26:08] local.INFO: GPS data processed {"connection_id":186267,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:26:08] local.INFO: Acknowledgment sent {"connection_id":186267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:26:12] local.INFO: TCP Data received {"connection_id":187682,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:26:12] local.INFO: Processing buffer {"connection_id":187682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:26:12] local.INFO: IMEI packet received {"connection_id":187682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":187682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:26:17] local.INFO: TCP Data received {"connection_id":187682,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:26:17] local.INFO: Processing buffer {"connection_id":187682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:26:17] local.INFO: IMEI packet received {"connection_id":187682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":187682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:26:18] local.INFO: TCP Data received {"connection_id":187682,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:26:18] local.INFO: Processing buffer {"connection_id":187682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:26:18] local.INFO: Packet analysis {"connection_id":187682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:26:18] local.INFO: Extracted packet for processing {"connection_id":187682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:26:18] 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-09-18 19:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":187682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:26:18] local.INFO: GPS data processed {"connection_id":187682,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:26:18] local.INFO: Acknowledgment sent {"connection_id":187682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:26:40] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ca8f68012d1b39000724e5400027011430..."} 
[2026-09-18 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ca8f68012d1b39000724e5400027011430..."} 
[2026-09-18 19:26:40] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ca8f68012d1b39000724e5400027011430..."} 
[2026-09-18 19:26:40] local.INFO: Packet analysis {"connection_id":186267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:26:40] local.INFO: Extracted packet for processing {"connection_id":186267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119858496,"longitude_deg":75.6758784,"latitude_deg":11.9858496,"altitude":39,"angle":276,"satellites":48,"speed":3,"hex_longitude":"2d1b3900","hex_latitude":"0724e540","is_valid_coordinates":true} 
[2026-09-18 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173324288001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962865780775380992,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547902463639552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789739569000,"timestamp_ms":1789739569000,"timestamp_seconds":1789739569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ca8f68"} 
[2026-09-18 19:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:26:40] 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-09-18 19:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173324288001,"66":12743,"45":1962865780775380992,"83":41984,"24":3,"16":21547902463639552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173324288001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962865780775380992,"description":"Unknown IO ID 45"} 
[2026-09-18 19:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547902463639552,"km_value":21547902463639.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:26:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173324288001,"power":12743,"unknown_45":1962865780775380992,"unknown_83":41984,"ignition":3,"odometer":null}} 
[2026-09-18 19:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":186267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:26:40] local.INFO: GPS data processed {"connection_id":186267,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:26:40] local.INFO: Acknowledgment sent {"connection_id":186267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:26:50] local.INFO: TCP Data received {"connection_id":187682,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:26:50] local.INFO: Processing buffer {"connection_id":187682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:26:50] local.INFO: Packet analysis {"connection_id":187682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:26:50] local.INFO: Extracted packet for processing {"connection_id":187682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:26:50] 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-09-18 19:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":187682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:26:50] local.INFO: GPS data processed {"connection_id":187682,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:26:50] local.INFO: Acknowledgment sent {"connection_id":187682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:27:07] local.INFO: TCP Data received {"connection_id":186268,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:27:07] local.INFO: Processing buffer {"connection_id":186268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:27:07] local.INFO: IMEI packet received {"connection_id":186268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":186268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:27:11] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:27:11] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:27:11] local.INFO: IMEI packet received {"connection_id":189010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":189010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:27:12] local.INFO: TCP Data received {"connection_id":186268,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:27:12] local.INFO: Processing buffer {"connection_id":186268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:27:12] local.INFO: IMEI packet received {"connection_id":186268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":186268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:27:13] local.INFO: TCP Data received {"connection_id":186268,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cae170012d1b39800724e550002801141f..."} 
[2026-09-18 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cae170012d1b39800724e550002801141f..."} 
[2026-09-18 19:27:13] local.INFO: Processing buffer {"connection_id":186268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cae170012d1b39800724e550002801141f..."} 
[2026-09-18 19:27:13] local.INFO: Packet analysis {"connection_id":186268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:27:13] local.INFO: Extracted packet for processing {"connection_id":186268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ca"} 
[2026-09-18 19:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173329664001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143380336640,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789739590000,"timestamp_ms":1789739590000,"timestamp_seconds":1789739590,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cae170"} 
[2026-09-18 19:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 19:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:27:13] 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-09-18 19:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173329664001,"66":12591,"45":1961599143380336640,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173329664001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143380336640,"description":"Unknown IO ID 45"} 
[2026-09-18 19:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:27:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173329664001,"power":12591,"unknown_45":1961599143380336640,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":186268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:27:13] local.INFO: GPS data processed {"connection_id":186268,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:27:13] local.INFO: Acknowledgment sent {"connection_id":186268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:27:16] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:27:16] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:27:16] local.INFO: IMEI packet received {"connection_id":189010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":189010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:27:17] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:27:17] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:27:17] local.INFO: Packet analysis {"connection_id":189010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:27:17] local.INFO: Extracted packet for processing {"connection_id":189010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":189010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:27:17] local.INFO: GPS data processed {"connection_id":189010,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:27:17] local.INFO: Acknowledgment sent {"connection_id":189010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:27:18] local.INFO: TCP Data received {"connection_id":186268,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cb3378012d1b39800724e5500028011426..."} 
[2026-09-18 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cb3378012d1b39800724e5500028011426..."} 
[2026-09-18 19:27:18] local.INFO: Processing buffer {"connection_id":186268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cb3378012d1b39800724e5500028011426..."} 
[2026-09-18 19:27:18] local.INFO: Packet analysis {"connection_id":186268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cb"} 
[2026-09-18 19:27:18] local.INFO: Extracted packet for processing {"connection_id":186268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cb"} 
[2026-09-18 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173335040001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880868696064,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739611000,"timestamp_ms":1789739611000,"timestamp_seconds":1789739611,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cb3378"} 
[2026-09-18 19:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 19:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:27:18] 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-09-18 19:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173335040001,"66":12232,"45":1961739880868696064,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173335040001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880868696064,"description":"Unknown IO ID 45"} 
[2026-09-18 19:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:27:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173335040001,"power":12232,"unknown_45":1961739880868696064,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":186268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:27:18] local.INFO: GPS data processed {"connection_id":186268,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:27:18] local.INFO: Acknowledgment sent {"connection_id":186268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:27:49] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:27:49] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:27:49] local.INFO: Packet analysis {"connection_id":189010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:27:49] local.INFO: Extracted packet for processing {"connection_id":189010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":189010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:27:49] local.INFO: GPS data processed {"connection_id":189010,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:27:49] local.INFO: Acknowledgment sent {"connection_id":189010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:28:01] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:01] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:01] local.INFO: IMEI packet received {"connection_id":187683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":187683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:28:02] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:02] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:02] local.INFO: IMEI packet received {"connection_id":187683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":187683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:28:07] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:07] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:28:07] local.INFO: IMEI packet received {"connection_id":187683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":187683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:28:08] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cb8580012d1b39800724e5500028011427..."} 
[2026-09-18 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cb8580012d1b39800724e5500028011427..."} 
[2026-09-18 19:28:08] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cb8580012d1b39800724e5500028011427..."} 
[2026-09-18 19:28:08] local.INFO: Packet analysis {"connection_id":187683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cb"} 
[2026-09-18 19:28:08] local.INFO: Extracted packet for processing {"connection_id":187683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cb"} 
[2026-09-18 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173340416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880868696064,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789739632000,"timestamp_ms":1789739632000,"timestamp_seconds":1789739632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cb8580"} 
[2026-09-18 19:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-18 19:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:28: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-09-18 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173340416001,"66":12548,"45":1961739880868696064,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173340416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880868696064,"description":"Unknown IO ID 45"} 
[2026-09-18 19:28:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173340416001,"power":12548,"unknown_45":1961739880868696064,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":187683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:28:08] local.INFO: GPS data processed {"connection_id":187683,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:28:08] local.INFO: Acknowledgment sent {"connection_id":187683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:28:11] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:28:11] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:28:11] local.INFO: IMEI packet received {"connection_id":189011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":189011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:28:16] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:28:16] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:28:16] local.INFO: IMEI packet received {"connection_id":189011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":189011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:28:18] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:28:18] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:28:18] local.INFO: Packet analysis {"connection_id":189011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:28:18] local.INFO: Extracted packet for processing {"connection_id":189011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:28:18] 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-09-18 19:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":189011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:28:18] local.INFO: GPS data processed {"connection_id":189011,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:28:18] local.INFO: Acknowledgment sent {"connection_id":189011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:28:39] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cbd788012d1b39800724e5500028011422..."} 
[2026-09-18 19:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cbd788012d1b39800724e5500028011422..."} 
[2026-09-18 19:28:39] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cbd788012d1b39800724e5500028011422..."} 
[2026-09-18 19:28:39] local.INFO: Packet analysis {"connection_id":187683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cb"} 
[2026-09-18 19:28:39] local.INFO: Extracted packet for processing {"connection_id":187683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cb"} 
[2026-09-18 19:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173345792001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880868696064,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789739653000,"timestamp_ms":1789739653000,"timestamp_seconds":1789739653,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cbd788"} 
[2026-09-18 19:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3033146864,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147951842,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184271085773,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3393019905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724369614,"corrected_to":0} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024875,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2375286784,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":18,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3242818590335834112,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,45,83,24,241,157,16,141,160,51,128,229,40,38,10,66,225,31,143,1,240,199,227,180,36,4,113,205,8,152,44,239,52,2,76,7,18,43],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":724369614,"validated":0}]} 
[2026-09-18 19:28:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882607394230108160,"timestamp_seconds":2882607394230108.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:28:39] 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-09-18 19:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173345792001,"66":11754,"45":1961739880868696064,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173345792001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880868696064,"description":"Unknown IO ID 45"} 
[2026-09-18 19:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:28:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173345792001,"power":11754,"unknown_45":1961739880868696064,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":187683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:28:40] local.INFO: GPS data processed {"connection_id":187683,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:28:40] local.INFO: Acknowledgment sent {"connection_id":187683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:28:49] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:28:49] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:28:49] local.INFO: Packet analysis {"connection_id":189011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:28:49] local.INFO: Extracted packet for processing {"connection_id":189011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":189011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:28:49] local.INFO: GPS data processed {"connection_id":189011,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:28:49] local.INFO: Acknowledgment sent {"connection_id":189011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:29:02] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:02] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:02] local.INFO: IMEI packet received {"connection_id":189013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":189013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:29:03] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:03] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:03] local.INFO: IMEI packet received {"connection_id":189013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":189013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:29:08] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:08] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:29:08] local.INFO: IMEI packet received {"connection_id":189013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":189013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:29:09] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc2990012d1b39800724e550002801142a..."} 
[2026-09-18 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc2990012d1b39800724e550002801142a..."} 
[2026-09-18 19:29:09] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc2990012d1b39800724e550002801142a..."} 
[2026-09-18 19:29:09] local.INFO: Packet analysis {"connection_id":189013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:29:09] local.INFO: Extracted packet for processing {"connection_id":189013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173351168001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880868696064,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789739674000,"timestamp_ms":1789739674000,"timestamp_seconds":1789739674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc2990"} 
[2026-09-18 19:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-18 19:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:29:09] 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-09-18 19:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173351168001,"66":12287,"45":1961739880868696064,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173351168001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880868696064,"description":"Unknown IO ID 45"} 
[2026-09-18 19:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:29:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173351168001,"power":12287,"unknown_45":1961739880868696064,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":189013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:29:09] local.INFO: GPS data processed {"connection_id":189013,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:29:09] local.INFO: Acknowledgment sent {"connection_id":189013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:29:11] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:29:11] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:29:11] local.INFO: IMEI packet received {"connection_id":189014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":189014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:29:16] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:29:16] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:29:16] local.INFO: IMEI packet received {"connection_id":189014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":189014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:29:17] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:29:17] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:29:17] local.INFO: Packet analysis {"connection_id":189014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:29:17] local.INFO: Extracted packet for processing {"connection_id":189014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":189014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:29:17] local.INFO: GPS data processed {"connection_id":189014,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:29:17] local.INFO: Acknowledgment sent {"connection_id":189014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:29:40] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cfafe8012d1b39800724e550002801141f..."} 
[2026-09-18 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cfafe8012d1b39800724e550002801141f..."} 
[2026-09-18 19:29:40] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cfafe8012d1b39800724e550002801141f..."} 
[2026-09-18 19:29:40] local.INFO: Packet analysis {"connection_id":189013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cf"} 
[2026-09-18 19:29:40] local.INFO: Extracted packet for processing {"connection_id":189013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cf"} 
[2026-09-18 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173410304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880868696064,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789739905000,"timestamp_ms":1789739905000,"timestamp_seconds":1789739905,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cfafe8"} 
[2026-09-18 19:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:29: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-09-18 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-18 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:29:40] 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-09-18 19:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173410304001,"66":13102,"45":1961739880868696064,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173410304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880868696064,"description":"Unknown IO ID 45"} 
[2026-09-18 19:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:29:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173410304001,"power":13102,"unknown_45":1961739880868696064,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":189013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:29:40] local.INFO: GPS data processed {"connection_id":189013,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:29:40] local.INFO: Acknowledgment sent {"connection_id":189013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:29:49] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:29:49] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:29:49] local.INFO: Packet analysis {"connection_id":189014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:29:49] local.INFO: Extracted packet for processing {"connection_id":189014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":189014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:29:49] local.INFO: GPS data processed {"connection_id":189014,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:29:49] local.INFO: Acknowledgment sent {"connection_id":189014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:30:03] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:03] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:03] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:30:03] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:03] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:03] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:30:06] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:06] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:30:06] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:30:08] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d001f0012d1b39800724e5500028011426..."} 
[2026-09-18 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d001f0012d1b39800724e5500028011426..."} 
[2026-09-18 19:30:08] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d001f0012d1b39800724e5500028011426..."} 
[2026-09-18 19:30:08] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:30:08] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119858512,"longitude_deg":75.6758912,"latitude_deg":11.9858512,"altitude":40,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"0724e550","is_valid_coordinates":true} 
[2026-09-18 19:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173415680001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880868696064,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21547919643508736,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-18 19:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789739926000,"timestamp_ms":1789739926000,"timestamp_seconds":1789739926,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d001f0"} 
[2026-09-18 19:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-18 19:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:30:09] 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-09-18 19:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173415680001,"66":14004,"45":1961739880868696064,"83":41984,"24":0,"16":21547919643508736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-18 19:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173415680001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880868696064,"description":"Unknown IO ID 45"} 
[2026-09-18 19:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 19:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21547919643508736,"km_value":21547919643508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:30:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458173415680001,"power":14004,"unknown_45":1961739880868696064,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-18 19:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:30:09] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:30:09] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:30:11] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:30:11] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:30:11] local.INFO: IMEI packet received {"connection_id":186269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":186269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:30:17] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:30:17] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:30:17] local.INFO: IMEI packet received {"connection_id":186269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":186269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:30:19] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:30:19] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4cc5488012d34c58006aa40300008011724..."} 
[2026-09-18 19:30:19] local.INFO: Packet analysis {"connection_id":186269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:30:19] local.INFO: Extracted packet for processing {"connection_id":186269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4cc"} 
[2026-09-18 19:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173282304001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789739685000,"timestamp_ms":1789739685000,"timestamp_seconds":1789739685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4cc5488"} 
[2026-09-18 19:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:30:19] 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-09-18 19:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173282304001,"66":26006,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173282304001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173282304001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":186269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:30:19] local.INFO: GPS data processed {"connection_id":186269,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:30:19] local.INFO: Acknowledgment sent {"connection_id":186269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:30:40] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0d4e0012d1b43000724e210002800792c..."} 
[2026-09-18 19:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0d4e0012d1b43000724e210002800792c..."} 
[2026-09-18 19:30:40] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0d4e0012d1b43000724e210002800792c..."} 
[2026-09-18 19:30:40] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:30:40] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756761344,"raw_latitude":119857680,"longitude_deg":75.6761344,"latitude_deg":11.985768,"altitude":40,"angle":121,"satellites":44,"speed":12,"hex_longitude":"2d1b4300","hex_latitude":"0724e210","is_valid_coordinates":true} 
[2026-09-18 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173434368001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21548117212004352,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205705527296,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789739980000,"timestamp_ms":1789739980000,"timestamp_seconds":1789739980,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0d4e0"} 
[2026-09-18 19:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 19:30:40] 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-09-18 19:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:30:40] 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-09-18 19:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173434368001,"66":13417,"136":206,"83":42752,"24":12,"16":21548117212004352,"45":1963710205705527296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-18 19:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173434368001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:30:40] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-18 19:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21548117212004352,"km_value":21548117212004.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205705527296,"description":"Unknown IO ID 45"} 
[2026-09-18 19:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173434368001,"power":13417,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1963710205705527296}} 
[2026-09-18 19:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:30:40] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:30:40] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:30:51] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:30:51] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:30:51] local.INFO: Packet analysis {"connection_id":186269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:30:51] local.INFO: Extracted packet for processing {"connection_id":186269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":186269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:30:51] local.INFO: GPS data processed {"connection_id":186269,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:30:51] local.INFO: Acknowledgment sent {"connection_id":186269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:31:02] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:31:02] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:31:02] local.INFO: IMEI packet received {"connection_id":187684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":187684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:31:11] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:31:11] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:31:11] local.INFO: IMEI packet received {"connection_id":186420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:31:11] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:31:11] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:31:11] local.INFO: IMEI packet received {"connection_id":187684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":187684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:31:17] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:31:17] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:31:17] local.INFO: IMEI packet received {"connection_id":186420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":186420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:31:18] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:31:18] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:31:18] local.INFO: Packet analysis {"connection_id":186420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:31:18] local.INFO: Extracted packet for processing {"connection_id":186420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:31:18] 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-09-18 19:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":186420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:31:18] local.INFO: GPS data processed {"connection_id":186420,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:31:18] local.INFO: Acknowledgment sent {"connection_id":186420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:31:20] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 19:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 19:31:20] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-18 19:31:20] local.INFO: IMEI packet received {"connection_id":187684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":187684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:31:45] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:31:45] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:31:45] local.INFO: IMEI packet received {"connection_id":186421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":186421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:31:51] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:31:51] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:31:51] local.INFO: Packet analysis {"connection_id":186420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:31:51] local.INFO: Extracted packet for processing {"connection_id":186420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":186420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:31:51] local.INFO: GPS data processed {"connection_id":186420,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:31:51] local.INFO: Acknowledgment sent {"connection_id":186420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:32:11] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:32:11] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:32:11] local.INFO: IMEI packet received {"connection_id":186270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":186270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:32:16] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:32:16] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:32:16] local.INFO: IMEI packet received {"connection_id":186270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":186270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:32:17] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:32:17] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:32:17] local.INFO: Packet analysis {"connection_id":186270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:32:17] local.INFO: Extracted packet for processing {"connection_id":186270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":186270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:32:17] local.INFO: GPS data processed {"connection_id":186270,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:32:17] local.INFO: Acknowledgment sent {"connection_id":186270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:32:48] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:32:48] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:32:48] local.INFO: Packet analysis {"connection_id":186270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:32:48] local.INFO: Extracted packet for processing {"connection_id":186270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:32: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-09-18 19:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":186270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:32:48] local.INFO: GPS data processed {"connection_id":186270,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:32:48] local.INFO: Acknowledgment sent {"connection_id":186270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:33:11] local.INFO: TCP Data received {"connection_id":186423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:33:11] local.INFO: Processing buffer {"connection_id":186423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:33:11] local.INFO: IMEI packet received {"connection_id":186423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:33:17] local.INFO: TCP Data received {"connection_id":186423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:33:17] local.INFO: Processing buffer {"connection_id":186423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:33:17] local.INFO: IMEI packet received {"connection_id":186423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":186423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:33:18] local.INFO: TCP Data received {"connection_id":186423,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:33:18] local.INFO: Processing buffer {"connection_id":186423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:33:18] local.INFO: Packet analysis {"connection_id":186423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:33:18] local.INFO: Extracted packet for processing {"connection_id":186423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:33:18] 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-09-18 19:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:33:18] local.INFO: GPS data processed {"connection_id":186423,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:33:18] local.INFO: Acknowledgment sent {"connection_id":186423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:33:50] local.INFO: TCP Data received {"connection_id":186423,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:33:50] local.INFO: Processing buffer {"connection_id":186423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:33:50] local.INFO: Packet analysis {"connection_id":186423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:33:50] local.INFO: Extracted packet for processing {"connection_id":186423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:33:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:33:50] 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-09-18 19:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:33:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":186423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:33:50] local.INFO: GPS data processed {"connection_id":186423,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:33:50] local.INFO: Acknowledgment sent {"connection_id":186423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:34:16] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:34:16] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:34:16] local.INFO: IMEI packet received {"connection_id":186424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":186424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:34:21] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:34:21] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:34:21] local.INFO: IMEI packet received {"connection_id":186424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":186424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:34:23] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:34:23] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:34:23] local.INFO: Packet analysis {"connection_id":186424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:34:23] local.INFO: Extracted packet for processing {"connection_id":186424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:34:23] 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-09-18 19:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":186424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:34:23] local.INFO: GPS data processed {"connection_id":186424,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:34:23] local.INFO: Acknowledgment sent {"connection_id":186424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:34:27] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:34:27] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:34:27] local.INFO: Packet analysis {"connection_id":186424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:34:27] local.INFO: Extracted packet for processing {"connection_id":186424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:34:27] 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-09-18 19:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:34:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:34:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":186424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:34:27] local.INFO: GPS data processed {"connection_id":186424,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:34:27] local.INFO: Acknowledgment sent {"connection_id":186424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:35:11] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:35:11] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:35:11] local.INFO: IMEI packet received {"connection_id":187686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":187686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:35:16] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:35:16] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:35:16] local.INFO: IMEI packet received {"connection_id":187686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":187686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:35:19] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:35:19] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d0ec50012d34c58006aa40300008011728..."} 
[2026-09-18 19:35:19] local.INFO: Packet analysis {"connection_id":187686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:35:19] local.INFO: Extracted packet for processing {"connection_id":187686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d0"} 
[2026-09-18 19:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173359360001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789739986000,"timestamp_ms":1789739986000,"timestamp_seconds":1789739986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d0ec50"} 
[2026-09-18 19:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:35: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-09-18 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-18 19:35:19] 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-09-18 19:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173359360001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173359360001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173359360001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":187686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:35:19] local.INFO: GPS data processed {"connection_id":187686,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:35:19] local.INFO: Acknowledgment sent {"connection_id":187686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:35:52] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:35:52] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:35:52] local.INFO: Packet analysis {"connection_id":187686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:35:52] local.INFO: Extracted packet for processing {"connection_id":187686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:35:52] 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-09-18 19:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":187686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:35:52] local.INFO: GPS data processed {"connection_id":187686,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:35:52] local.INFO: Acknowledgment sent {"connection_id":187686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:36:11] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:36:11] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:36:11] local.INFO: IMEI packet received {"connection_id":189017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":189017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:36:12] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:36:12] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:36:12] local.INFO: IMEI packet received {"connection_id":186272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":186272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:36:13] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d5a358012d18a2800722c0080069008c2d..."} 
[2026-09-18 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d5a358012d18a2800722c0080069008c2d..."} 
[2026-09-18 19:36:13] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d5a358012d18a2800722c0080069008c2d..."} 
[2026-09-18 19:36:13] local.INFO: Packet analysis {"connection_id":186272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:13] local.INFO: Extracted packet for processing {"connection_id":186272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119717896,"longitude_deg":75.6589184,"latitude_deg":11.9717896,"altitude":105,"angle":140,"satellites":45,"speed":7,"hex_longitude":"2d18a280","hex_latitude":"0722c008","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173515264001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560211839909888,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602529400832,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789740295000,"timestamp_ms":1789740295000,"timestamp_seconds":1789740295,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d5a358"} 
[2026-09-18 19:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 19:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:36:13] 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-09-18 19:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173515264001,"66":12461,"137":206,"83":42752,"24":7,"16":21560211839909888,"45":1775051602529400832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173515264001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:36:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560211839909888,"km_value":21560211839909.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602529400832,"description":"Unknown IO ID 45"} 
[2026-09-18 19:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173515264001,"power":12461,"unknown_137":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1775051602529400832}} 
[2026-09-18 19:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":186272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:36:13] local.INFO: GPS data processed {"connection_id":186272,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:36:13] local.INFO: Acknowledgment sent {"connection_id":186272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:36:17] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:36:17] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:36:17] local.INFO: IMEI packet received {"connection_id":189017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":189017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:36:21] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:36:21] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:36:21] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:21] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:36:21] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:36:21] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:36:44] local.INFO: TCP Data received {"connection_id":186272,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d5a740012d18a3400722bfa0006900752d..."} 
[2026-09-18 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d5a740012d18a3400722bfa0006900752d..."} 
[2026-09-18 19:36:44] local.INFO: Processing buffer {"connection_id":186272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d5a740012d18a3400722bfa0006900752d..."} 
[2026-09-18 19:36:44] local.INFO: Packet analysis {"connection_id":186272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:44] local.INFO: Extracted packet for processing {"connection_id":186272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119717792,"longitude_deg":75.6589376,"latitude_deg":11.9717792,"altitude":105,"angle":117,"satellites":45,"speed":5,"hex_longitude":"2d18a340","hex_latitude":"0722bfa0","is_valid_coordinates":true} 
[2026-09-18 19:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173515520001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560220429844480,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273533440,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789740296000,"timestamp_ms":1789740296000,"timestamp_seconds":1789740296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d5a740"} 
[2026-09-18 19:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:36: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-09-18 19:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 19:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:36:44] 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-09-18 19:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173515520001,"66":12461,"137":206,"83":42752,"24":5,"16":21560220429844480,"45":1775121971273533440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173515520001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:36:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560220429844480,"km_value":21560220429844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273533440,"description":"Unknown IO ID 45"} 
[2026-09-18 19:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173515520001,"power":12461,"unknown_137":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1775121971273533440}} 
[2026-09-18 19:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":186272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:36:44] local.INFO: GPS data processed {"connection_id":186272,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:36:44] local.INFO: Acknowledgment sent {"connection_id":186272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:36:52] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:36:52] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:36:52] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:52] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:36:52] 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-09-18 19: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-09-18 19:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:36:52] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:36:52] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:37:02] local.INFO: TCP Data received {"connection_id":187687,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:37:02] local.INFO: Processing buffer {"connection_id":187687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:37:02] local.INFO: IMEI packet received {"connection_id":187687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":187687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:37:07] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:37:07] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:37:07] local.INFO: IMEI packet received {"connection_id":186422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":186422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:37:07] local.INFO: TCP Data received {"connection_id":187687,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:37:07] local.INFO: Processing buffer {"connection_id":187687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:37:07] local.INFO: IMEI packet received {"connection_id":187687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":187687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:37:08] local.INFO: TCP Data received {"connection_id":187687,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d5ab28012d18a3c00722bf78006900642c..."} 
[2026-09-18 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d5ab28012d18a3c00722bf78006900642c..."} 
[2026-09-18 19:37:08] local.INFO: Processing buffer {"connection_id":187687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d5ab28012d18a3c00722bf78006900642c..."} 
[2026-09-18 19:37:08] local.INFO: Packet analysis {"connection_id":187687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:08] local.INFO: Extracted packet for processing {"connection_id":187687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119717752,"longitude_deg":75.6589504,"latitude_deg":11.9717752,"altitude":105,"angle":100,"satellites":44,"speed":6,"hex_longitude":"2d18a3c0","hex_latitude":"0722bf78","is_valid_coordinates":true} 
[2026-09-18 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173515776001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560229019779072,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077506039808,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:08] 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-09-18 19:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740297000,"timestamp_ms":1789740297000,"timestamp_seconds":1789740297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d5ab28"} 
[2026-09-18 19:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 19:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:37: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-09-18 19:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173515776001,"66":12428,"137":206,"83":42752,"24":6,"16":21560229019779072,"45":1775333077506039808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173515776001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:37:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:37:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560229019779072,"km_value":21560229019779.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077506039808,"description":"Unknown IO ID 45"} 
[2026-09-18 19:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173515776001,"power":12428,"unknown_137":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1775333077506039808}} 
[2026-09-18 19:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":187687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:37:08] local.INFO: GPS data processed {"connection_id":187687,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:37:08] local.INFO: Acknowledgment sent {"connection_id":187687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:37:11] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:37:11] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:37:11] local.INFO: IMEI packet received {"connection_id":189018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":189018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:37:16] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:37:16] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:37:16] local.INFO: IMEI packet received {"connection_id":189018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":189018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:37:18] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:37:18] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:37:18] local.INFO: Packet analysis {"connection_id":189018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:18] local.INFO: Extracted packet for processing {"connection_id":189018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:37:18] 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-09-18 19:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":189018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:37:18] local.INFO: GPS data processed {"connection_id":189018,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:37:18] local.INFO: Acknowledgment sent {"connection_id":189018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:37:39] local.INFO: TCP Data received {"connection_id":187687,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d5fd30012d18a5800722bf400069005f26..."} 
[2026-09-18 19:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d5fd30012d18a5800722bf400069005f26..."} 
[2026-09-18 19:37:39] local.INFO: Processing buffer {"connection_id":187687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d5fd30012d18a5800722bf400069005f26..."} 
[2026-09-18 19:37:39] local.INFO: Packet analysis {"connection_id":187687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:39] local.INFO: Extracted packet for processing {"connection_id":187687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":38,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173516032001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814994384896,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789740318000,"timestamp_ms":1789740318000,"timestamp_seconds":1789740318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d5fd30"} 
[2026-09-18 19:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-18 19:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:37:39] 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-09-18 19:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173516032001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775473814994384896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173516032001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814994384896,"description":"Unknown IO ID 45"} 
[2026-09-18 19:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173516032001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775473814994384896}} 
[2026-09-18 19:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":187687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:37:39] local.INFO: GPS data processed {"connection_id":187687,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:37:39] local.INFO: Acknowledgment sent {"connection_id":187687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:37:49] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:37:49] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:37:49] local.INFO: Packet analysis {"connection_id":189018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:49] local.INFO: Extracted packet for processing {"connection_id":189018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":189018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:37:49] local.INFO: GPS data processed {"connection_id":189018,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:37:49] local.INFO: Acknowledgment sent {"connection_id":189018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:38:07] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:38:07] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:38:07] local.INFO: IMEI packet received {"connection_id":186425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":186425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:38:12] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:38:12] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:38:12] local.INFO: IMEI packet received {"connection_id":186425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":186425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:38:13] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d64f38012d18a5800722bf400069005f28..."} 
[2026-09-18 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d64f38012d18a5800722bf400069005f28..."} 
[2026-09-18 19:38:13] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d64f38012d18a5800722bf400069005f28..."} 
[2026-09-18 19:38:13] local.INFO: Packet analysis {"connection_id":186425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d6"} 
[2026-09-18 19:38:13] local.INFO: Extracted packet for processing {"connection_id":186425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d6"} 
[2026-09-18 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173521408001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789740339000,"timestamp_ms":1789740339000,"timestamp_seconds":1789740339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d64f38"} 
[2026-09-18 19:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:38:13] 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-09-18 19:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173521408001,"66":12232,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173521408001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:38:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173521408001,"power":12232,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":186425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:38:13] local.INFO: GPS data processed {"connection_id":186425,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:38:13] local.INFO: Acknowledgment sent {"connection_id":186425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:38:17] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:38:17] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:38:17] local.INFO: IMEI packet received {"connection_id":186273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":186273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:38:18] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d6a140012d18a5800722bf400069005f20..."} 
[2026-09-18 19:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d6a140012d18a5800722bf400069005f20..."} 
[2026-09-18 19:38:18] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d6a140012d18a5800722bf400069005f20..."} 
[2026-09-18 19:38:18] local.INFO: Packet analysis {"connection_id":186425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d6"} 
[2026-09-18 19:38:18] local.INFO: Extracted packet for processing {"connection_id":186425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d6"} 
[2026-09-18 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":32,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173526784001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740360000,"timestamp_ms":1789740360000,"timestamp_seconds":1789740360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d6a140"} 
[2026-09-18 19:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-18 19:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:38:18] 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-09-18 19:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173526784001,"66":12178,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173526784001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:38:18] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173526784001,"power":12178,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":186425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:38:18] local.INFO: GPS data processed {"connection_id":186425,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:38:18] local.INFO: Acknowledgment sent {"connection_id":186425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:38:21] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:38:21] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:38:21] local.INFO: IMEI packet received {"connection_id":186273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":186273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:38:22] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:38:22] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:38:22] local.INFO: Packet analysis {"connection_id":186273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:38:22] local.INFO: Extracted packet for processing {"connection_id":186273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:38:22] 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-09-18 19:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:38:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":186273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:38:22] local.INFO: GPS data processed {"connection_id":186273,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:38:22] local.INFO: Acknowledgment sent {"connection_id":186273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:38:27] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:38:27] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:38:27] local.INFO: Packet analysis {"connection_id":186273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:38:27] local.INFO: Extracted packet for processing {"connection_id":186273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:38:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:38: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-09-18 19:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:38:27] 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-09-18 19:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:38:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:38:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":186273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:38:27] local.INFO: GPS data processed {"connection_id":186273,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:38:27] local.INFO: Acknowledgment sent {"connection_id":186273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:39:02] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:39:02] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:39:02] local.INFO: IMEI packet received {"connection_id":189019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":189019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:39:05] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:39:05] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:39:05] local.INFO: IMEI packet received {"connection_id":189019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":189019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:39:06] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d6f348012d18a5800722bf400069005f28..."} 
[2026-09-18 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d6f348012d18a5800722bf400069005f28..."} 
[2026-09-18 19:39:06] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d6f348012d18a5800722bf400069005f28..."} 
[2026-09-18 19:39:06] local.INFO: Packet analysis {"connection_id":189019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d6"} 
[2026-09-18 19:39:06] local.INFO: Extracted packet for processing {"connection_id":189019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d6"} 
[2026-09-18 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173532160001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:06] 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-09-18 19:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789740381000,"timestamp_ms":1789740381000,"timestamp_seconds":1789740381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d6f348"} 
[2026-09-18 19:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-18 19:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":189019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":189019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":189019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:39:06] 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-09-18 19:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173532160001,"66":12113,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173532160001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173532160001,"power":12113,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":189019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:39:06] local.INFO: GPS data processed {"connection_id":189019,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:39:06] local.INFO: Acknowledgment sent {"connection_id":189019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:39:11] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:39:11] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:39:11] local.INFO: IMEI packet received {"connection_id":186426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":186426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:39:16] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:39:16] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:39:16] local.INFO: IMEI packet received {"connection_id":186426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":186426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:39:17] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:39:17] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:39:17] local.INFO: Packet analysis {"connection_id":186426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:39:17] local.INFO: Extracted packet for processing {"connection_id":186426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":186426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:39:17] local.INFO: GPS data processed {"connection_id":186426,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:39:17] local.INFO: Acknowledgment sent {"connection_id":186426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:39:37] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d74550012d18a5800722bf400069005f25..."} 
[2026-09-18 19:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d74550012d18a5800722bf400069005f25..."} 
[2026-09-18 19:39:37] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d74550012d18a5800722bf400069005f25..."} 
[2026-09-18 19:39:37] local.INFO: Packet analysis {"connection_id":189019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d7"} 
[2026-09-18 19:39:37] local.INFO: Extracted packet for processing {"connection_id":189019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d7"} 
[2026-09-18 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173537536001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39: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-09-18 19:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789740402000,"timestamp_ms":1789740402000,"timestamp_seconds":1789740402,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d74550"} 
[2026-09-18 19:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 19:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":189019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":189019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":189019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:39: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-09-18 19:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173537536001,"66":12113,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173537536001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:39:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173537536001,"power":12113,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":189019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:39:37] local.INFO: GPS data processed {"connection_id":189019,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:39:37] local.INFO: Acknowledgment sent {"connection_id":189019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:39:49] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:39:49] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:39:49] local.INFO: Packet analysis {"connection_id":186426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:39:49] local.INFO: Extracted packet for processing {"connection_id":186426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":186426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:39:49] local.INFO: GPS data processed {"connection_id":186426,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:39:49] local.INFO: Acknowledgment sent {"connection_id":186426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:40:02] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:40:02] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:40:02] local.INFO: IMEI packet received {"connection_id":186275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":186275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:40:07] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:40:07] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:40:07] local.INFO: IMEI packet received {"connection_id":186275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":186275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:40:08] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d79758012d18a5800722bf400069005f28..."} 
[2026-09-18 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d79758012d18a5800722bf400069005f28..."} 
[2026-09-18 19:40:08] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d79758012d18a5800722bf400069005f28..."} 
[2026-09-18 19:40:08] local.INFO: Packet analysis {"connection_id":186275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d7"} 
[2026-09-18 19:40:08] local.INFO: Extracted packet for processing {"connection_id":186275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d7"} 
[2026-09-18 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173542912001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:08] 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-09-18 19:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740423000,"timestamp_ms":1789740423000,"timestamp_seconds":1789740423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d79758"} 
[2026-09-18 19:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 19:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:40: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-09-18 19:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173542912001,"66":12113,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173542912001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173542912001,"power":12113,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":186275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:40:08] local.INFO: GPS data processed {"connection_id":186275,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:40:08] local.INFO: Acknowledgment sent {"connection_id":186275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:40:11] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:40:11] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:40:11] local.INFO: IMEI packet received {"connection_id":186427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":186427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:40:16] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:40:16] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:40:16] local.INFO: IMEI packet received {"connection_id":186427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":186427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:40:18] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:40:18] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d58418012d34c58006aa4030000d011725..."} 
[2026-09-18 19:40:18] local.INFO: Packet analysis {"connection_id":186427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:40:18] local.INFO: Extracted packet for processing {"connection_id":186427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d5"} 
[2026-09-18 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173436416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740287000,"timestamp_ms":1789740287000,"timestamp_seconds":1789740287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d58418"} 
[2026-09-18 19:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:40:18] 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-09-18 19:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173436416001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173436416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173436416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":186427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:40:18] local.INFO: GPS data processed {"connection_id":186427,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:40:18] local.INFO: Acknowledgment sent {"connection_id":186427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:40:39] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d7e960012d18a5800722bf400069005f26..."} 
[2026-09-18 19:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d7e960012d18a5800722bf400069005f26..."} 
[2026-09-18 19:40:39] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d7e960012d18a5800722bf400069005f26..."} 
[2026-09-18 19:40:39] local.INFO: Packet analysis {"connection_id":186275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d7"} 
[2026-09-18 19:40:39] local.INFO: Extracted packet for processing {"connection_id":186275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d7"} 
[2026-09-18 19:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":38,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173548288001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789740444000,"timestamp_ms":1789740444000,"timestamp_seconds":1789740444,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d7e960"} 
[2026-09-18 19:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-18 19:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:40:39] 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-09-18 19:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173548288001,"66":12265,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173548288001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:40:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173548288001,"power":12265,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":186275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:40:39] local.INFO: GPS data processed {"connection_id":186275,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:40:39] local.INFO: Acknowledgment sent {"connection_id":186275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:40:53] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:40:53] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:40:53] local.INFO: Packet analysis {"connection_id":186427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:40:53] local.INFO: Extracted packet for processing {"connection_id":186427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":186427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:40:53] local.INFO: GPS data processed {"connection_id":186427,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:40:53] local.INFO: Acknowledgment sent {"connection_id":186427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:41:02] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:41:02] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:41:02] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:41:07] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:41:07] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:41:07] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:41:08] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d83b68012d18a5800722bf400069005f29..."} 
[2026-09-18 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d83b68012d18a5800722bf400069005f29..."} 
[2026-09-18 19:41:08] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d83b68012d18a5800722bf400069005f29..."} 
[2026-09-18 19:41:08] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d8"} 
[2026-09-18 19:41:08] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d8"} 
[2026-09-18 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173553664001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:08] 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-09-18 19:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740465000,"timestamp_ms":1789740465000,"timestamp_seconds":1789740465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d83b68"} 
[2026-09-18 19:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-18 19:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:41: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-09-18 19:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173553664001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173553664001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:41:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173553664001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:41:08] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:41:08] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:41:11] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:41:11] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:41:11] local.INFO: IMEI packet received {"connection_id":189020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":189020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:41:12] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d88d70012d18a5800722bf400069005f28..."} 
[2026-09-18 19:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d88d70012d18a5800722bf400069005f28..."} 
[2026-09-18 19:41:12] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d88d70012d18a5800722bf400069005f28..."} 
[2026-09-18 19:41:12] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d8"} 
[2026-09-18 19:41:12] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d8"} 
[2026-09-18 19:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173559040001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41: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-09-18 19:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789740486000,"timestamp_ms":1789740486000,"timestamp_seconds":1789740486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d88d70"} 
[2026-09-18 19:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:41:12] 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-09-18 19:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173559040001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173559040001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:41:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173559040001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:41:12] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:41:12] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:41:17] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:41:17] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:41:17] local.INFO: IMEI packet received {"connection_id":189020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":189020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:41:18] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:41:18] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:41:18] local.INFO: Packet analysis {"connection_id":189020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:41:18] local.INFO: Extracted packet for processing {"connection_id":189020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:41:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":189020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:41:18] local.INFO: GPS data processed {"connection_id":189020,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:41:18] local.INFO: Acknowledgment sent {"connection_id":189020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:41:43] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d8df78012d18a5800722bf400069005f27..."} 
[2026-09-18 19:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d8df78012d18a5800722bf400069005f27..."} 
[2026-09-18 19:41:43] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d8df78012d18a5800722bf400069005f27..."} 
[2026-09-18 19:41:43] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d8"} 
[2026-09-18 19:41:43] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d8"} 
[2026-09-18 19:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173564416001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789740507000,"timestamp_ms":1789740507000,"timestamp_seconds":1789740507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d8df78"} 
[2026-09-18 19:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5416054399909947227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26775307159601152,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3427803148386369742,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3611643905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,59,45,128,191,105,41,10,66,233,38,151,1,240,81,227,180,34,4,113,205,243,165,64,40,239,47,2,76,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:41:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566151999385763840,"timestamp_seconds":7566151999385764.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:41:43] 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-09-18 19:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173564416001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173564416001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:41:43] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173564416001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:41:43] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:41:43] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:41:50] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:41:50] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:41:50] local.INFO: Packet analysis {"connection_id":189020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:41:50] local.INFO: Extracted packet for processing {"connection_id":189020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":189020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:41:50] local.INFO: GPS data processed {"connection_id":189020,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:41:50] local.INFO: Acknowledgment sent {"connection_id":189020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:42:02] local.INFO: TCP Data received {"connection_id":186277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:42:02] local.INFO: Processing buffer {"connection_id":186277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:42:02] local.INFO: IMEI packet received {"connection_id":186277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":186277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:42:07] local.INFO: TCP Data received {"connection_id":186277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:42:07] local.INFO: Processing buffer {"connection_id":186277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:42:07] local.INFO: IMEI packet received {"connection_id":186277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":186277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:42:08] local.INFO: TCP Data received {"connection_id":186277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d93180012d18a5800722bf400069005f26..."} 
[2026-09-18 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d93180012d18a5800722bf400069005f26..."} 
[2026-09-18 19:42:08] local.INFO: Processing buffer {"connection_id":186277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d93180012d18a5800722bf400069005f26..."} 
[2026-09-18 19:42:08] local.INFO: Packet analysis {"connection_id":186277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d9"} 
[2026-09-18 19:42:08] local.INFO: Extracted packet for processing {"connection_id":186277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d9"} 
[2026-09-18 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":38,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173569792001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] 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-09-18 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740528000,"timestamp_ms":1789740528000,"timestamp_seconds":1789740528,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d93180"} 
[2026-09-18 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5415964205596731227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26784103252623360,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507274900177102,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3617019905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,141,45,128,191,105,40,10,66,59,41,233,1,240,227,180,34,4,113,205,69,165,64,37,239,47,2,76,7,32],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:42:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566151995090796544,"timestamp_seconds":7566151995090797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:42: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-09-18 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173569792001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173569792001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:42:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173569792001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":186277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:42:08] local.INFO: GPS data processed {"connection_id":186277,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:42:08] local.INFO: Acknowledgment sent {"connection_id":186277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:42:12] local.INFO: TCP Data received {"connection_id":189021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:42:12] local.INFO: Processing buffer {"connection_id":189021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:42:12] local.INFO: IMEI packet received {"connection_id":189021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":189021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:42:16] local.INFO: TCP Data received {"connection_id":189021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:42:16] local.INFO: Processing buffer {"connection_id":189021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:42:16] local.INFO: IMEI packet received {"connection_id":189021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":189021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:42:18] local.INFO: TCP Data received {"connection_id":189021,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:42:18] local.INFO: Processing buffer {"connection_id":189021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:42:18] local.INFO: Packet analysis {"connection_id":189021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:42:18] local.INFO: Extracted packet for processing {"connection_id":189021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":189021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:42:18] local.INFO: GPS data processed {"connection_id":189021,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:42:18] local.INFO: Acknowledgment sent {"connection_id":189021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:42:39] local.INFO: TCP Data received {"connection_id":186277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d98388012d18a5800722bf400069005f29..."} 
[2026-09-18 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d98388012d18a5800722bf400069005f29..."} 
[2026-09-18 19:42:39] local.INFO: Processing buffer {"connection_id":186277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d98388012d18a5800722bf400069005f29..."} 
[2026-09-18 19:42:39] local.INFO: Packet analysis {"connection_id":186277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d9"} 
[2026-09-18 19:42:39] local.INFO: Extracted packet for processing {"connection_id":186277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d9"} 
[2026-09-18 19:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173575168001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789740549000,"timestamp_ms":1789740549000,"timestamp_seconds":1789740549,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d98388"} 
[2026-09-18 19:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5415874011283515227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26780804717740032,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507274900177102,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3622395905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,137,83,24,241,157,16,152,160,223,45,128,191,105,39,10,66,141,40,59,1,240,255,227,180,34,4,113,205,151,165,64,239,47,2,76,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:42:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566151990795829248,"timestamp_seconds":7566151990795829.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:42:39] 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-09-18 19:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173575168001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173575168001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173575168001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":186277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:42:39] local.INFO: GPS data processed {"connection_id":186277,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:42:39] local.INFO: Acknowledgment sent {"connection_id":186277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:42:41] local.INFO: TCP Data received {"connection_id":186428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:42:41] local.INFO: Processing buffer {"connection_id":186428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:42:41] local.INFO: IMEI packet received {"connection_id":186428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":186428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:42:49] local.INFO: TCP Data received {"connection_id":189021,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:42:49] local.INFO: Processing buffer {"connection_id":189021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:42:49] local.INFO: Packet analysis {"connection_id":189021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:42:49] local.INFO: Extracted packet for processing {"connection_id":189021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":189021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:42:49] local.INFO: GPS data processed {"connection_id":189021,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:42:49] local.INFO: Acknowledgment sent {"connection_id":189021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:43:02] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:43:02] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:43:02] local.INFO: IMEI packet received {"connection_id":187688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":187688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:43:09] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:43:09] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:43:09] local.INFO: IMEI packet received {"connection_id":187688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:43:11] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4d9d590012d18a5800722bf400069005f2c..."} 
[2026-09-18 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4d9d590012d18a5800722bf400069005f2c..."} 
[2026-09-18 19:43:11] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4d9d590012d18a5800722bf400069005f2c..."} 
[2026-09-18 19:43:11] local.INFO: Packet analysis {"connection_id":187688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4d9"} 
[2026-09-18 19:43:11] local.INFO: Extracted packet for processing {"connection_id":187688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4d9"} 
[2026-09-18 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173580544001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:11] 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-09-18 19:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789740570000,"timestamp_ms":1789740570000,"timestamp_seconds":1789740570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4d9d590"} 
[2026-09-18 19:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:43:11] 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-09-18 19:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173580544001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173580544001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173580544001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":187688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:43:11] local.INFO: GPS data processed {"connection_id":187688,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:43:11] local.INFO: Acknowledgment sent {"connection_id":187688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:43:11] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:43:11] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:43:11] local.INFO: IMEI packet received {"connection_id":186278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":186278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:43:14] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:43:14] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:43:14] local.INFO: IMEI packet received {"connection_id":189022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":189022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:43:16] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:43:16] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:43:16] local.INFO: IMEI packet received {"connection_id":186278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":186278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:43:18] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:43:18] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:43:18] local.INFO: Packet analysis {"connection_id":186278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:43:18] local.INFO: Extracted packet for processing {"connection_id":186278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":186278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:43:18] local.INFO: GPS data processed {"connection_id":186278,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:43:18] local.INFO: Acknowledgment sent {"connection_id":186278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:43:42] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da2798012d18a5800722bf400069005f28..."} 
[2026-09-18 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da2798012d18a5800722bf400069005f28..."} 
[2026-09-18 19:43:42] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da2798012d18a5800722bf400069005f28..."} 
[2026-09-18 19:43:42] local.INFO: Packet analysis {"connection_id":187688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:43:42] local.INFO: Extracted packet for processing {"connection_id":187688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173585920001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:42] 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-09-18 19:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789740591000,"timestamp_ms":1789740591000,"timestamp_seconds":1789740591,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da2798"} 
[2026-09-18 19:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:43:42] 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-09-18 19:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:43:42] 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-09-18 19:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173585920001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173585920001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:43:42] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173585920001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":187688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:43:42] local.INFO: GPS data processed {"connection_id":187688,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:43:42] local.INFO: Acknowledgment sent {"connection_id":187688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:43:49] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:43:49] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:43:49] local.INFO: Packet analysis {"connection_id":186278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:43:49] local.INFO: Extracted packet for processing {"connection_id":186278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":186278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:43:49] local.INFO: GPS data processed {"connection_id":186278,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:43:49] local.INFO: Acknowledgment sent {"connection_id":186278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:44:02] local.INFO: TCP Data received {"connection_id":189023,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:44:02] local.INFO: Processing buffer {"connection_id":189023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:44:02] local.INFO: IMEI packet received {"connection_id":189023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":189023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:44:07] local.INFO: TCP Data received {"connection_id":189023,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:44:07] local.INFO: Processing buffer {"connection_id":189023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:44:07] local.INFO: IMEI packet received {"connection_id":189023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":189023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:44:08] local.INFO: TCP Data received {"connection_id":189023,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da79a0012d18a5800722bf400069005f29..."} 
[2026-09-18 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da79a0012d18a5800722bf400069005f29..."} 
[2026-09-18 19:44:08] local.INFO: Processing buffer {"connection_id":189023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da79a0012d18a5800722bf400069005f29..."} 
[2026-09-18 19:44:08] local.INFO: Packet analysis {"connection_id":189023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:08] local.INFO: Extracted packet for processing {"connection_id":189023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173591296001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:08] 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-09-18 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740612000,"timestamp_ms":1789740612000,"timestamp_seconds":1789740612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da79a0"} 
[2026-09-18 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:44: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-09-18 19:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:44: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-09-18 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173591296001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173591296001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:44:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173591296001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":189023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:44:08] local.INFO: GPS data processed {"connection_id":189023,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:44:08] local.INFO: Acknowledgment sent {"connection_id":189023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:44:11] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:44:11] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:44:11] local.INFO: IMEI packet received {"connection_id":187689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":187689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:44:16] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:44:16] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:44:16] local.INFO: IMEI packet received {"connection_id":187689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:44:17] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:44:17] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:44:17] local.INFO: Packet analysis {"connection_id":187689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:17] local.INFO: Extracted packet for processing {"connection_id":187689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":187689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:44:17] local.INFO: GPS data processed {"connection_id":187689,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:44:17] local.INFO: Acknowledgment sent {"connection_id":187689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:44:39] local.INFO: TCP Data received {"connection_id":189023,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4dacba8012d18a5800722bf400069005f28..."} 
[2026-09-18 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4dacba8012d18a5800722bf400069005f28..."} 
[2026-09-18 19:44:39] local.INFO: Processing buffer {"connection_id":189023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4dacba8012d18a5800722bf400069005f28..."} 
[2026-09-18 19:44:39] local.INFO: Packet analysis {"connection_id":189023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:39] local.INFO: Extracted packet for processing {"connection_id":189023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173596672001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789740633000,"timestamp_ms":1789740633000,"timestamp_seconds":1789740633,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4dacba8"} 
[2026-09-18 19:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:44:39] 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-09-18 19:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173596672001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173596672001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:44:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173596672001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":189023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:44:39] local.INFO: GPS data processed {"connection_id":189023,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:44:39] local.INFO: Acknowledgment sent {"connection_id":189023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:44:49] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:44:49] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:44:49] local.INFO: Packet analysis {"connection_id":187689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:49] local.INFO: Extracted packet for processing {"connection_id":187689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":187689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:44:49] local.INFO: GPS data processed {"connection_id":187689,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:44:49] local.INFO: Acknowledgment sent {"connection_id":187689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:45:02] local.INFO: TCP Data received {"connection_id":187690,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:02] local.INFO: Processing buffer {"connection_id":187690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:02] local.INFO: IMEI packet received {"connection_id":187690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":187690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:45:02] local.INFO: TCP Data received {"connection_id":187690,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:02] local.INFO: Processing buffer {"connection_id":187690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:02] local.INFO: IMEI packet received {"connection_id":187690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":187690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:45:07] local.INFO: TCP Data received {"connection_id":187690,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:07] local.INFO: Processing buffer {"connection_id":187690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:45:07] local.INFO: IMEI packet received {"connection_id":187690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":187690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:45:08] local.INFO: TCP Data received {"connection_id":187690,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4db1db0012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4db1db0012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:45:08] local.INFO: Processing buffer {"connection_id":187690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4db1db0012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:45:08] local.INFO: Packet analysis {"connection_id":187690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4db"} 
[2026-09-18 19:45:08] local.INFO: Extracted packet for processing {"connection_id":187690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4db"} 
[2026-09-18 19:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173602048001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:08] 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-09-18 19:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740654000,"timestamp_ms":1789740654000,"timestamp_seconds":1789740654,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4db1db0"} 
[2026-09-18 19:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:45:08] 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-09-18 19:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:45: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-09-18 19:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173602048001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173602048001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:45:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173602048001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":187690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:45:08] local.INFO: GPS data processed {"connection_id":187690,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:45:08] local.INFO: Acknowledgment sent {"connection_id":187690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:45:11] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:45:11] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:45:11] local.INFO: IMEI packet received {"connection_id":189024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":189024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:45:17] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:45:17] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:45:17] local.INFO: IMEI packet received {"connection_id":189024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":189024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:45:18] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:45:18] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4da1be0012d34c58006aa4030000d011729..."} 
[2026-09-18 19:45:18] local.INFO: Packet analysis {"connection_id":189024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:45:18] local.INFO: Extracted packet for processing {"connection_id":189024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4da"} 
[2026-09-18 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173513472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740588000,"timestamp_ms":1789740588000,"timestamp_seconds":1789740588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4da1be0"} 
[2026-09-18 19:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 19:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173513472001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173513472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173513472001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":189024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:45:18] local.INFO: GPS data processed {"connection_id":189024,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:45:18] local.INFO: Acknowledgment sent {"connection_id":189024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:45:39] local.INFO: TCP Data received {"connection_id":187690,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4db6fb8012d18a5800722bf400069005f28..."} 
[2026-09-18 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4db6fb8012d18a5800722bf400069005f28..."} 
[2026-09-18 19:45:39] local.INFO: Processing buffer {"connection_id":187690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4db6fb8012d18a5800722bf400069005f28..."} 
[2026-09-18 19:45:39] local.INFO: Packet analysis {"connection_id":187690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4db"} 
[2026-09-18 19:45:39] local.INFO: Extracted packet for processing {"connection_id":187690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4db"} 
[2026-09-18 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173607424001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789740675000,"timestamp_ms":1789740675000,"timestamp_seconds":1789740675,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4db6fb8"} 
[2026-09-18 19:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:45:39] 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-09-18 19:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173607424001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173607424001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:45:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:45:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173607424001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":187690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:45:39] local.INFO: GPS data processed {"connection_id":187690,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:45:39] local.INFO: Acknowledgment sent {"connection_id":187690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:45:50] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:45:50] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:45:50] local.INFO: Packet analysis {"connection_id":189024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:45:50] local.INFO: Extracted packet for processing {"connection_id":189024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:45:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:45:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":189024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:45:50] local.INFO: GPS data processed {"connection_id":189024,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:45:50] local.INFO: Acknowledgment sent {"connection_id":189024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:46:05] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:05] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:05] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:46:07] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:07] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:07] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:46:11] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:46:11] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:46:11] local.INFO: IMEI packet received {"connection_id":187691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:46:12] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:12] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:46:12] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:46:13] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4dbc1c0012d18a5800722bf400069005f26..."} 
[2026-09-18 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4dbc1c0012d18a5800722bf400069005f26..."} 
[2026-09-18 19:46:13] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4dbc1c0012d18a5800722bf400069005f26..."} 
[2026-09-18 19:46:13] local.INFO: Packet analysis {"connection_id":186279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4db"} 
[2026-09-18 19:46:13] local.INFO: Extracted packet for processing {"connection_id":186279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4db"} 
[2026-09-18 19:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":38,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173612800001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789740696000,"timestamp_ms":1789740696000,"timestamp_seconds":1789740696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4dbc1c0"} 
[2026-09-18 19:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:46:13] 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-09-18 19:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173612800001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173612800001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:46:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173612800001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":186279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:46:13] local.INFO: GPS data processed {"connection_id":186279,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:46:13] local.INFO: Acknowledgment sent {"connection_id":186279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:46:17] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:46:17] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:46:17] local.INFO: IMEI packet received {"connection_id":187691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":187691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:46:17] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4dc13c8012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4dc13c8012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:46:17] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4dc13c8012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:46:17] local.INFO: Packet analysis {"connection_id":186279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4dc"} 
[2026-09-18 19:46:17] local.INFO: Extracted packet for processing {"connection_id":186279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4dc"} 
[2026-09-18 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173618176001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:17] 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-09-18 19:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789740717000,"timestamp_ms":1789740717000,"timestamp_seconds":1789740717,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4dc13c8"} 
[2026-09-18 19:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:46:17] 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-09-18 19:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173618176001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173618176001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:46:17] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173618176001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":186279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:46:18] local.INFO: GPS data processed {"connection_id":186279,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:46:18] local.INFO: Acknowledgment sent {"connection_id":186279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:46:18] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:46:18] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:46:18] local.INFO: Packet analysis {"connection_id":187691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:46:18] local.INFO: Extracted packet for processing {"connection_id":187691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:46:18] 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-09-18 19:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:46:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":187691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:46:18] local.INFO: GPS data processed {"connection_id":187691,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:46:18] local.INFO: Acknowledgment sent {"connection_id":187691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:46:49] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:46:49] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:46:49] local.INFO: Packet analysis {"connection_id":187691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:46:49] local.INFO: Extracted packet for processing {"connection_id":187691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":187691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:46:49] local.INFO: GPS data processed {"connection_id":187691,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:46:49] local.INFO: Acknowledgment sent {"connection_id":187691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:47:02] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:47:02] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:47:02] local.INFO: IMEI packet received {"connection_id":186429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":186429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:47:07] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:47:07] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:47:07] local.INFO: IMEI packet received {"connection_id":186429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":186429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:47:08] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4dc65d0012d18a5800722bf400069005f27..."} 
[2026-09-18 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4dc65d0012d18a5800722bf400069005f27..."} 
[2026-09-18 19:47:08] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4dc65d0012d18a5800722bf400069005f27..."} 
[2026-09-18 19:47:08] local.INFO: Packet analysis {"connection_id":186429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4dc"} 
[2026-09-18 19:47:08] local.INFO: Extracted packet for processing {"connection_id":186429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4dc"} 
[2026-09-18 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173623552001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:08] 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-09-18 19:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740738000,"timestamp_ms":1789740738000,"timestamp_seconds":1789740738,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4dc65d0"} 
[2026-09-18 19:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:47: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-09-18 19:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:47: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-09-18 19:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173623552001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173623552001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:47:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173623552001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":186429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:47:08] local.INFO: GPS data processed {"connection_id":186429,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:47:08] local.INFO: Acknowledgment sent {"connection_id":186429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:47:12] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:47:12] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:47:12] local.INFO: IMEI packet received {"connection_id":189025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":189025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:47:17] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:47:17] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:47:17] local.INFO: IMEI packet received {"connection_id":189025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":189025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:47:19] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:47:19] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:47:19] local.INFO: Packet analysis {"connection_id":189025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:47:19] local.INFO: Extracted packet for processing {"connection_id":189025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:47:19] 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-09-18 19:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":189025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:47:19] local.INFO: GPS data processed {"connection_id":189025,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:47:19] local.INFO: Acknowledgment sent {"connection_id":189025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:47:39] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4dfec28012d18a5800722bf400069005f25..."} 
[2026-09-18 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4dfec28012d18a5800722bf400069005f25..."} 
[2026-09-18 19:47:39] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4dfec28012d18a5800722bf400069005f25..."} 
[2026-09-18 19:47:39] local.INFO: Packet analysis {"connection_id":186429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4df"} 
[2026-09-18 19:47:39] local.INFO: Extracted packet for processing {"connection_id":186429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4df"} 
[2026-09-18 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173682688001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789740969000,"timestamp_ms":1789740969000,"timestamp_seconds":1789740969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4dfec28"} 
[2026-09-18 19:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:47:39] 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-09-18 19:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173682688001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173682688001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173682688001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":186429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:47:39] local.INFO: GPS data processed {"connection_id":186429,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:47:39] local.INFO: Acknowledgment sent {"connection_id":186429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:47:50] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:47:50] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:47:50] local.INFO: Packet analysis {"connection_id":189025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:47:50] local.INFO: Extracted packet for processing {"connection_id":189025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:47:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":189025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:47:50] local.INFO: GPS data processed {"connection_id":189025,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:47:50] local.INFO: Acknowledgment sent {"connection_id":189025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:48:04] local.INFO: TCP Data received {"connection_id":187692,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:48:04] local.INFO: Processing buffer {"connection_id":187692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:48:04] local.INFO: IMEI packet received {"connection_id":187692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":187692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:48:07] local.INFO: TCP Data received {"connection_id":187692,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:48:07] local.INFO: Processing buffer {"connection_id":187692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:48:07] local.INFO: IMEI packet received {"connection_id":187692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":187692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:48:08] local.INFO: TCP Data received {"connection_id":187692,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e03e30012d18a5800722bf400069005f27..."} 
[2026-09-18 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e03e30012d18a5800722bf400069005f27..."} 
[2026-09-18 19:48:08] local.INFO: Processing buffer {"connection_id":187692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e03e30012d18a5800722bf400069005f27..."} 
[2026-09-18 19:48:08] local.INFO: Packet analysis {"connection_id":187692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e0"} 
[2026-09-18 19:48:08] local.INFO: Extracted packet for processing {"connection_id":187692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e0"} 
[2026-09-18 19:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173688064001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] 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-09-18 19:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789740990000,"timestamp_ms":1789740990000,"timestamp_seconds":1789740990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e03e30"} 
[2026-09-18 19:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5413979930705979227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26783003740995584,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145591648462,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":4097,"corrected_to":0} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3735291905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,154,45,128,191,105,39,10,66,72,38,246,1,240,255,227,180,34,4,113,205,82,165,64,239,48,2,76,7,36],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":246,"original":4097,"validated":0},{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:48:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566151986500861952,"timestamp_seconds":7566151986500862.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:48: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-09-18 19:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173688064001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173688064001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:48:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173688064001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":187692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:48:08] local.INFO: GPS data processed {"connection_id":187692,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:48:08] local.INFO: Acknowledgment sent {"connection_id":187692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:48:11] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:48:11] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:48:11] local.INFO: IMEI packet received {"connection_id":189027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":189027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:48:12] local.INFO: TCP Data received {"connection_id":187692,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e09038012d18a5800722bf400069005f25..."} 
[2026-09-18 19:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e09038012d18a5800722bf400069005f25..."} 
[2026-09-18 19:48:12] local.INFO: Processing buffer {"connection_id":187692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e09038012d18a5800722bf400069005f25..."} 
[2026-09-18 19:48:12] local.INFO: Packet analysis {"connection_id":187692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e0"} 
[2026-09-18 19:48:12] local.INFO: Extracted packet for processing {"connection_id":187692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e0"} 
[2026-09-18 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173693440001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48: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-09-18 19:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789741011000,"timestamp_ms":1789741011000,"timestamp_seconds":1789741011,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e09038"} 
[2026-09-18 19:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5413889736392763227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26783003740995584,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120102572238,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3740667905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:12] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,236,45,128,191,105,37,10,66,154,39,72,1,240,31,227,180,34,4,113,205,164,165,64,42,239,48,2,76,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:48:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566151995090796544,"timestamp_seconds":7566151995090797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:48:12] 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-09-18 19:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173693440001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173693440001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:48:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173693440001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":187692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:48:12] local.INFO: GPS data processed {"connection_id":187692,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:48:12] local.INFO: Acknowledgment sent {"connection_id":187692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:48:16] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:48:16] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:48:16] local.INFO: IMEI packet received {"connection_id":189027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":189027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:48:18] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:48:18] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:48:18] local.INFO: Packet analysis {"connection_id":189027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:48:18] local.INFO: Extracted packet for processing {"connection_id":189027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:48:18] 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-09-18 19:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":189027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:48:18] local.INFO: GPS data processed {"connection_id":189027,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:48:18] local.INFO: Acknowledgment sent {"connection_id":189027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:48:32] local.INFO: TCP Data received {"connection_id":189026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:48:32] local.INFO: Processing buffer {"connection_id":189026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:48:32] local.INFO: IMEI packet received {"connection_id":189026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":189026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:48:45] local.INFO: TCP Data received {"connection_id":187692,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e0e240012d18a5800722bf400069005f29..."} 
[2026-09-18 19:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e0e240012d18a5800722bf400069005f29..."} 
[2026-09-18 19:48:45] local.INFO: Processing buffer {"connection_id":187692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e0e240012d18a5800722bf400069005f29..."} 
[2026-09-18 19:48:45] local.INFO: Packet analysis {"connection_id":187692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e0"} 
[2026-09-18 19:48:45] local.INFO: Extracted packet for processing {"connection_id":187692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e0"} 
[2026-09-18 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173698816001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789741032000,"timestamp_ms":1789741032000,"timestamp_seconds":1789741032,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e0e240"} 
[2026-09-18 19:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:48:45] 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-09-18 19:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:48:45] 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-09-18 19:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173698816001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173698816001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:48:45] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173698816001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":187692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:48:45] local.INFO: GPS data processed {"connection_id":187692,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:48:45] local.INFO: Acknowledgment sent {"connection_id":187692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:48:49] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:48:49] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:48:49] local.INFO: Packet analysis {"connection_id":189027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:48:49] local.INFO: Extracted packet for processing {"connection_id":189027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":189027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:48:49] local.INFO: GPS data processed {"connection_id":189027,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:48:49] local.INFO: Acknowledgment sent {"connection_id":189027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:49:05] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:49:05] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:49:05] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:49:07] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:49:07] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:49:07] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:49:08] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e13448012d18a5800722bf400069005f29..."} 
[2026-09-18 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e13448012d18a5800722bf400069005f29..."} 
[2026-09-18 19:49:08] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e13448012d18a5800722bf400069005f29..."} 
[2026-09-18 19:49:08] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e1"} 
[2026-09-18 19:49:08] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e1"} 
[2026-09-18 19:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173704192001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] 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-09-18 19:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741053000,"timestamp_ms":1789741053000,"timestamp_seconds":1789741053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e13448"} 
[2026-09-18 19:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5413709347766331227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26783003740995584,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920847831246,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3751419905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,144,45,128,191,105,37,10,66,62,39,236,1,240,227,180,34,4,113,205,72,165,64,38,239,48,2,76,7,42],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:49:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566152003680731136,"timestamp_seconds":7566152003680731.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:49: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-09-18 19:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173704192001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173704192001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:49:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173704192001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:49:08] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:49:08] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:49:11] local.INFO: TCP Data received {"connection_id":189028,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:49:11] local.INFO: Processing buffer {"connection_id":189028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:49:11] local.INFO: IMEI packet received {"connection_id":189028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":189028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:49:13] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e18650012d18a5800722bf400069005f28..."} 
[2026-09-18 19:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e18650012d18a5800722bf400069005f28..."} 
[2026-09-18 19:49:13] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e18650012d18a5800722bf400069005f28..."} 
[2026-09-18 19:49:13] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e1"} 
[2026-09-18 19:49:13] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e1"} 
[2026-09-18 19:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173709568001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789741074000,"timestamp_ms":1789741074000,"timestamp_seconds":1789741074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e18650"} 
[2026-09-18 19:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:49:13] 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-09-18 19:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173709568001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173709568001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:49:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173709568001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:49:13] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:49:13] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:49:16] local.INFO: TCP Data received {"connection_id":189028,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:49:16] local.INFO: Processing buffer {"connection_id":189028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:49:16] local.INFO: IMEI packet received {"connection_id":189028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":189028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:49:18] local.INFO: TCP Data received {"connection_id":189028,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:49:18] local.INFO: Processing buffer {"connection_id":189028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:49:18] local.INFO: Packet analysis {"connection_id":189028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:49:18] local.INFO: Extracted packet for processing {"connection_id":189028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:49:18] 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-09-18 19:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":189028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:49:18] local.INFO: GPS data processed {"connection_id":189028,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:49:18] local.INFO: Acknowledgment sent {"connection_id":189028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:49:49] local.INFO: TCP Data received {"connection_id":189028,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:49:49] local.INFO: Processing buffer {"connection_id":189028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:49:49] local.INFO: Packet analysis {"connection_id":189028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:49:49] local.INFO: Extracted packet for processing {"connection_id":189028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":189028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:49:49] local.INFO: GPS data processed {"connection_id":189028,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:49:49] local.INFO: Acknowledgment sent {"connection_id":189028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:50:12] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:12] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:12] local.INFO: IMEI packet received {"connection_id":186430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":186430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:50:16] local.INFO: TCP Data received {"connection_id":186281,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:50:16] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:50:16] local.INFO: IMEI packet received {"connection_id":186281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":186281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:50:17] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:17] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:17] local.INFO: IMEI packet received {"connection_id":186430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":186430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:50:18] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e1d858012d18a5800722bf400069005f27..."} 
[2026-09-18 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e1d858012d18a5800722bf400069005f27..."} 
[2026-09-18 19:50:18] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e1d858012d18a5800722bf400069005f27..."} 
[2026-09-18 19:50:18] local.INFO: Packet analysis {"connection_id":186430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e1"} 
[2026-09-18 19:50:18] local.INFO: Extracted packet for processing {"connection_id":186430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e1"} 
[2026-09-18 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173714944001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741095000,"timestamp_ms":1789741095000,"timestamp_seconds":1789741095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e1d858"} 
[2026-09-18 19:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:50:18] 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-09-18 19:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:50:18] 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-09-18 19:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173714944001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173714944001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:50:18] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173714944001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":186430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:50:18] local.INFO: GPS data processed {"connection_id":186430,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:50:18] local.INFO: Acknowledgment sent {"connection_id":186430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:50:21] local.INFO: TCP Data received {"connection_id":186281,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:50:21] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:50:21] local.INFO: IMEI packet received {"connection_id":186281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":186281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:50:22] local.INFO: TCP Data received {"connection_id":186281,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:50:22] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:50:22] local.INFO: Packet analysis {"connection_id":186281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:50:22] local.INFO: Extracted packet for processing {"connection_id":186281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:50:22] 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-09-18 19:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":186281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:50:22] local.INFO: GPS data processed {"connection_id":186281,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:50:22] local.INFO: Acknowledgment sent {"connection_id":186281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:50:27] local.INFO: TCP Data received {"connection_id":186281,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:50:27] local.INFO: Processing buffer {"connection_id":186281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4deb3a8012d34c58006aa4030000d01172b..."} 
[2026-09-18 19:50:27] local.INFO: Packet analysis {"connection_id":186281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:50:27] local.INFO: Extracted packet for processing {"connection_id":186281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4de"} 
[2026-09-18 19:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173590528001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789740889000,"timestamp_ms":1789740889000,"timestamp_seconds":1789740889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4deb3a8"} 
[2026-09-18 19:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:50: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-09-18 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:50:27] 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-09-18 19: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-09-18 19:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173590528001,"66":25995,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173590528001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:50:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:50:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173590528001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":186281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:50:27] local.INFO: GPS data processed {"connection_id":186281,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:50:27] local.INFO: Acknowledgment sent {"connection_id":186281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:50:59] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:59] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:50:59] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:51:02] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:51:02] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:51:02] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:51:07] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:51:07] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:51:07] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:51:08] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e22a60012d18a5800722bf400069005f29..."} 
[2026-09-18 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e22a60012d18a5800722bf400069005f29..."} 
[2026-09-18 19:51:08] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e22a60012d18a5800722bf400069005f29..."} 
[2026-09-18 19:51:08] local.INFO: Packet analysis {"connection_id":189029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e2"} 
[2026-09-18 19:51:08] local.INFO: Extracted packet for processing {"connection_id":189029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e2"} 
[2026-09-18 19:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173720320001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] 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-09-18 19:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741116000,"timestamp_ms":1789741116000,"timestamp_seconds":1789741116,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e22a60"} 
[2026-09-18 19:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5413438764826683227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26780804717740032,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145591648462,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3767547905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,137,83,24,241,157,16,152,160,134,45,128,191,105,40,10,66,52,41,226,1,240,227,180,34,4,113,205,62,165,64,39,239,48,2,76,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:51:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566151995090796544,"timestamp_seconds":7566151995090797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:51: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-09-18 19:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173720320001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173720320001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:51:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173720320001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":189029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:51:08] local.INFO: GPS data processed {"connection_id":189029,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:51:08] local.INFO: Acknowledgment sent {"connection_id":189029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:51:11] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:51:11] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:51:11] local.INFO: IMEI packet received {"connection_id":187693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":187693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:51:16] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:51:16] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:51:16] local.INFO: IMEI packet received {"connection_id":187693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":187693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:51:18] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:51:18] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:51:18] local.INFO: Packet analysis {"connection_id":187693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:51:18] local.INFO: Extracted packet for processing {"connection_id":187693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:51:18] 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-09-18 19:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":187693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:51:18] local.INFO: GPS data processed {"connection_id":187693,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:51:18] local.INFO: Acknowledgment sent {"connection_id":187693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:51:39] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e27c68012d18a5800722bf400069005f29..."} 
[2026-09-18 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e27c68012d18a5800722bf400069005f29..."} 
[2026-09-18 19:51:39] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e27c68012d18a5800722bf400069005f29..."} 
[2026-09-18 19:51:39] local.INFO: Packet analysis {"connection_id":189029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e2"} 
[2026-09-18 19:51:39] local.INFO: Extracted packet for processing {"connection_id":189029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e2"} 
[2026-09-18 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173725696001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741137000,"timestamp_ms":1789741137000,"timestamp_seconds":1789741137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e27c68"} 
[2026-09-18 19:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5413348570513467227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26783003740995584,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145591648462,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3772923905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,216,45,128,191,105,39,10,66,134,40,52,1,240,255,227,180,34,4,113,205,144,165,64,37,239,48,2,76,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:51:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566152003680731136,"timestamp_seconds":7566152003680731.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:51:39] 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-09-18 19:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173725696001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173725696001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173725696001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":189029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:51:39] local.INFO: GPS data processed {"connection_id":189029,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:51:39] local.INFO: Acknowledgment sent {"connection_id":189029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:51:50] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:51:50] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:51:50] local.INFO: Packet analysis {"connection_id":187693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:51:50] local.INFO: Extracted packet for processing {"connection_id":187693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":187693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:51:50] local.INFO: GPS data processed {"connection_id":187693,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:51:50] local.INFO: Acknowledgment sent {"connection_id":187693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:52:02] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:02] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:02] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:52:03] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:03] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:03] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:52:07] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:07] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:52:07] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:52:08] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e2ce70012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e2ce70012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:52:08] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e2ce70012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:52:08] local.INFO: Packet analysis {"connection_id":186282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e2"} 
[2026-09-18 19:52:08] local.INFO: Extracted packet for processing {"connection_id":186282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e2"} 
[2026-09-18 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173731072001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:08] 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-09-18 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741158000,"timestamp_ms":1789741158000,"timestamp_seconds":1789741158,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e2ce70"} 
[2026-09-18 19:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:52: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-09-18 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173731072001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173731072001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:52:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173731072001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":186282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:52:08] local.INFO: GPS data processed {"connection_id":186282,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:52:08] local.INFO: Acknowledgment sent {"connection_id":186282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:52:11] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:52:11] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:52:11] local.INFO: IMEI packet received {"connection_id":187694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":187694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:52:16] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:52:16] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:52:16] local.INFO: IMEI packet received {"connection_id":187694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":187694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:52:17] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:52:17] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:52:17] local.INFO: Packet analysis {"connection_id":187694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:52:17] local.INFO: Extracted packet for processing {"connection_id":187694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":187694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:52:17] local.INFO: GPS data processed {"connection_id":187694,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:52:17] local.INFO: Acknowledgment sent {"connection_id":187694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:52:39] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e32078012d18a5800722bf400069005f27..."} 
[2026-09-18 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e32078012d18a5800722bf400069005f27..."} 
[2026-09-18 19:52:39] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e32078012d18a5800722bf400069005f27..."} 
[2026-09-18 19:52:39] local.INFO: Packet analysis {"connection_id":186282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:52:39] local.INFO: Extracted packet for processing {"connection_id":186282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173736448001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741179000,"timestamp_ms":1789741179000,"timestamp_seconds":1789741179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e32078"} 
[2026-09-18 19:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:52:39] 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-09-18 19:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173736448001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173736448001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:52:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173736448001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":186282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:52:39] local.INFO: GPS data processed {"connection_id":186282,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:52:39] local.INFO: Acknowledgment sent {"connection_id":186282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:52:51] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:52:51] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:52:51] local.INFO: Packet analysis {"connection_id":187694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:52:51] local.INFO: Extracted packet for processing {"connection_id":187694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:52:51] 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-09-18 19:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":187694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:52:51] local.INFO: GPS data processed {"connection_id":187694,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:52:51] local.INFO: Acknowledgment sent {"connection_id":187694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:53:02] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:53:02] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:53:02] local.INFO: IMEI packet received {"connection_id":186283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":186283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:53:06] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:53:06] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:53:06] local.INFO: IMEI packet received {"connection_id":186283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":186283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:53:07] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e37280012d18a5800722bf400069005f29..."} 
[2026-09-18 19:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e37280012d18a5800722bf400069005f29..."} 
[2026-09-18 19:53:07] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e37280012d18a5800722bf400069005f29..."} 
[2026-09-18 19:53:07] local.INFO: Packet analysis {"connection_id":186283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:07] local.INFO: Extracted packet for processing {"connection_id":186283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173741824001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:07] 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-09-18 19:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789741200000,"timestamp_ms":1789741200000,"timestamp_seconds":1789741200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e37280"} 
[2026-09-18 19:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:53:07] 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-09-18 19:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173741824001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173741824001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:53:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173741824001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":186283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:53:07] local.INFO: GPS data processed {"connection_id":186283,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:53:07] local.INFO: Acknowledgment sent {"connection_id":186283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:53:16] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:53:16] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:53:16] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:53:21] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:53:21] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:53:21] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:53:22] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:53:22] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:53:22] local.INFO: Packet analysis {"connection_id":186284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:22] local.INFO: Extracted packet for processing {"connection_id":186284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:53:22] 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-09-18 19:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:53:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:53:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":186284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:53:22] local.INFO: GPS data processed {"connection_id":186284,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:53:22] local.INFO: Acknowledgment sent {"connection_id":186284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:53:27] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:53:27] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:53:27] local.INFO: Packet analysis {"connection_id":186284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:27] local.INFO: Extracted packet for processing {"connection_id":186284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:53:27] 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-09-18 19:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:53:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:53:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":186284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:53:27] local.INFO: GPS data processed {"connection_id":186284,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:53:27] local.INFO: Acknowledgment sent {"connection_id":186284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:53:37] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e3c488012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e3c488012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:53:37] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e3c488012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:53:37] local.INFO: Packet analysis {"connection_id":186283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:37] local.INFO: Extracted packet for processing {"connection_id":186283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173747200001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:53: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-09-18 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789741221000,"timestamp_ms":1789741221000,"timestamp_seconds":1789741221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e3c488"} 
[2026-09-18 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19: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-09-18 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173747200001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173747200001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173747200001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":186283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:53:37] local.INFO: GPS data processed {"connection_id":186283,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:53:37] local.INFO: Acknowledgment sent {"connection_id":186283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:54:02] local.INFO: TCP Data received {"connection_id":186431,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:54:02] local.INFO: Processing buffer {"connection_id":186431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:54:02] local.INFO: IMEI packet received {"connection_id":186431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":186431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:54:05] local.INFO: TCP Data received {"connection_id":186285,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:54:05] local.INFO: Processing buffer {"connection_id":186285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:54:05] local.INFO: IMEI packet received {"connection_id":186285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":186285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:54:07] local.INFO: TCP Data received {"connection_id":186431,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:54:07] local.INFO: Processing buffer {"connection_id":186431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:54:07] local.INFO: IMEI packet received {"connection_id":186431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":186431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:54:08] local.INFO: TCP Data received {"connection_id":186431,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e41690012d18a5800722bf400069005f29..."} 
[2026-09-18 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e41690012d18a5800722bf400069005f29..."} 
[2026-09-18 19:54:08] local.INFO: Processing buffer {"connection_id":186431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e41690012d18a5800722bf400069005f29..."} 
[2026-09-18 19:54:08] local.INFO: Packet analysis {"connection_id":186431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e4"} 
[2026-09-18 19:54:08] local.INFO: Extracted packet for processing {"connection_id":186431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e4"} 
[2026-09-18 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173752576001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] 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-09-18 19:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741242000,"timestamp_ms":1789741242000,"timestamp_seconds":1789741242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e41690"} 
[2026-09-18 19:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5412897598947387227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26783003740995584,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145591648462,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3799803905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,114,45,128,191,105,41,10,66,32,39,206,1,240,31,227,180,34,4,113,205,42,165,64,239,48,2,76,7,40],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:54:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566152012270665728,"timestamp_seconds":7566152012270666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19: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-09-18 19:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173752576001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173752576001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:54:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173752576001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":186431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:54:08] local.INFO: GPS data processed {"connection_id":186431,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:54:08] local.INFO: Acknowledgment sent {"connection_id":186431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:54:12] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:54:12] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:54:12] local.INFO: IMEI packet received {"connection_id":187695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":187695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:54:16] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:54:16] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:54:16] local.INFO: IMEI packet received {"connection_id":187695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":187695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:54:18] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:18] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:18] local.INFO: Packet analysis {"connection_id":187695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:54:18] local.INFO: Extracted packet for processing {"connection_id":187695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:54:18] 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-09-18 19:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":187695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:54:18] local.INFO: GPS data processed {"connection_id":187695,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:54:18] local.INFO: Acknowledgment sent {"connection_id":187695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:54:22] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:22] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:22] local.INFO: Packet analysis {"connection_id":187695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:54:22] local.INFO: Extracted packet for processing {"connection_id":187695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:54:22] 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-09-18 19:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":187695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:54:22] local.INFO: GPS data processed {"connection_id":187695,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:54:22] local.INFO: Acknowledgment sent {"connection_id":187695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:54:39] local.INFO: TCP Data received {"connection_id":186431,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e46898012d18a5800722bf400069005f29..."} 
[2026-09-18 19:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e46898012d18a5800722bf400069005f29..."} 
[2026-09-18 19:54:39] local.INFO: Processing buffer {"connection_id":186431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e46898012d18a5800722bf400069005f29..."} 
[2026-09-18 19:54:39] local.INFO: Packet analysis {"connection_id":186431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e4"} 
[2026-09-18 19:54:39] local.INFO: Extracted packet for processing {"connection_id":186431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e4"} 
[2026-09-18 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173757952001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741263000,"timestamp_ms":1789741263000,"timestamp_seconds":1789741263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e46898"} 
[2026-09-18 19:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5412807404634171227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26785202764251136,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145591648462,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3805179905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242651,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,196,45,128,191,105,43,10,66,114,41,32,1,240,255,227,180,34,4,113,205,124,165,64,239,47,2,76,7,39],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:54:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566152003680731136,"timestamp_seconds":7566152003680731.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:54:39] 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-09-18 19:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173757952001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173757952001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173757952001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":186431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:54:39] local.INFO: GPS data processed {"connection_id":186431,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:54:39] local.INFO: Acknowledgment sent {"connection_id":186431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:54:54] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:54] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:54:54] local.INFO: Packet analysis {"connection_id":187695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:54:54] local.INFO: Extracted packet for processing {"connection_id":187695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:54:54] 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-09-18 19:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":187695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:54:54] local.INFO: GPS data processed {"connection_id":187695,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:54:54] local.INFO: Acknowledgment sent {"connection_id":187695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:55:02] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:55:02] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:55:02] local.INFO: IMEI packet received {"connection_id":186432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":186432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:55:07] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:55:07] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:55:07] local.INFO: IMEI packet received {"connection_id":186432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":186432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:55:08] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e4baa0012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e4baa0012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:55:08] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e4baa0012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:55:08] local.INFO: Packet analysis {"connection_id":186432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e4"} 
[2026-09-18 19:55:08] local.INFO: Extracted packet for processing {"connection_id":186432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e4"} 
[2026-09-18 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173763328001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] 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-09-18 19:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741284000,"timestamp_ms":1789741284000,"timestamp_seconds":1789741284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e4baa0"} 
[2026-09-18 19:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5412717210320955227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26785202764251136,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920847831246,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3810555905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,137,83,24,241,157,16,152,160,22,45,128,191,105,41,10,66,196,43,114,1,240,255,227,180,34,4,113,205,206,165,64,42,239,48,2,76,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:55:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566152003680731136,"timestamp_seconds":7566152003680731.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:55: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-09-18 19:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173763328001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173763328001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:55:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173763328001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":186432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:55:08] local.INFO: GPS data processed {"connection_id":186432,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:55:08] local.INFO: Acknowledgment sent {"connection_id":186432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:55:12] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:55:12] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:55:12] local.INFO: IMEI packet received {"connection_id":189030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":189030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:55:16] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:55:16] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:55:16] local.INFO: IMEI packet received {"connection_id":189030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":189030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:55:17] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:55:17] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e34b70012d34c58006aa4030000d011726..."} 
[2026-09-18 19:55:17] local.INFO: Packet analysis {"connection_id":189030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:55:17] local.INFO: Extracted packet for processing {"connection_id":189030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e3"} 
[2026-09-18 19:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":13,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173667584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789741190000,"timestamp_ms":1789741190000,"timestamp_seconds":1789741190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e34b70"} 
[2026-09-18 19:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 19:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173667584001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173667584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173667584001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":189030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:55:17] local.INFO: GPS data processed {"connection_id":189030,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:55:17] local.INFO: Acknowledgment sent {"connection_id":189030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:55:39] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e50ca8012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e50ca8012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:55:39] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e50ca8012d18a5800722bf400069005f2b..."} 
[2026-09-18 19:55:39] local.INFO: Packet analysis {"connection_id":186432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e5"} 
[2026-09-18 19:55:39] local.INFO: Extracted packet for processing {"connection_id":186432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e5"} 
[2026-09-18 19:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173768704001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741305000,"timestamp_ms":1789741305000,"timestamp_seconds":1789741305,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e50ca8"} 
[2026-09-18 19:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:55:39] 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-09-18 19:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173768704001,"66":12298,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173768704001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:55:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173768704001,"power":12298,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":186432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:55:39] local.INFO: GPS data processed {"connection_id":186432,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:55:39] local.INFO: Acknowledgment sent {"connection_id":186432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:55:49] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:55:49] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:55:49] local.INFO: Packet analysis {"connection_id":189030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:55:49] local.INFO: Extracted packet for processing {"connection_id":189030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:55:49] 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-09-18 19:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":189030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:55:49] local.INFO: GPS data processed {"connection_id":189030,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:55:49] local.INFO: Acknowledgment sent {"connection_id":189030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:56:02] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:56:02] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:56:02] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:56:07] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:56:07] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:56:07] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:56:08] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e55eb0012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e55eb0012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:56:08] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e55eb0012d18a5800722bf400069005f2a..."} 
[2026-09-18 19:56:08] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e5"} 
[2026-09-18 19:56:08] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e5"} 
[2026-09-18 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173774080001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] 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-09-18 19:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741326000,"timestamp_ms":1789741326000,"timestamp_seconds":1789741326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e55eb0"} 
[2026-09-18 19:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-1224979098644774911,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5412536821694523227,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514183589079351391,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":26783003740995584,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920847831246,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3821307905,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3208642665,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147951295,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242651,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2565799936,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,137,83,24,241,157,16,152,160,186,45,128,191,105,43,10,66,104,41,22,1,240,227,180,34,4,113,205,114,165,64,239,47,2,76,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-18 19:56:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566152012270665728,"timestamp_seconds":7566152012270666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 19:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:56: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-09-18 19:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173774080001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173774080001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:56:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173774080001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:56:08] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:56:08] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:56:16] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:56:16] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:56:16] local.INFO: IMEI packet received {"connection_id":186433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":186433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:56:21] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:56:21] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:56:21] local.INFO: IMEI packet received {"connection_id":186433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":186433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:56:23] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:56:23] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:56:23] local.INFO: Packet analysis {"connection_id":186433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:56:23] local.INFO: Extracted packet for processing {"connection_id":186433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:56:23] 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-09-18 19: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-09-18 19:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":186433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:56:23] local.INFO: GPS data processed {"connection_id":186433,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:56:23] local.INFO: Acknowledgment sent {"connection_id":186433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:56:27] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:56:27] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:56:27] local.INFO: Packet analysis {"connection_id":186433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:56:27] local.INFO: Extracted packet for processing {"connection_id":186433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:56:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:56:27] 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-09-18 19:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:56:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:56:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":186433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:56:27] local.INFO: GPS data processed {"connection_id":186433,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:56:27] local.INFO: Acknowledgment sent {"connection_id":186433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:56:39] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e5b0b8012d18a5800722bf400069005f27..."} 
[2026-09-18 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e5b0b8012d18a5800722bf400069005f27..."} 
[2026-09-18 19:56:39] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e5b0b8012d18a5800722bf400069005f27..."} 
[2026-09-18 19:56:39] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e5"} 
[2026-09-18 19:56:39] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e5"} 
[2026-09-18 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173779456001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741347000,"timestamp_ms":1789741347000,"timestamp_seconds":1789741347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e5b0b8"} 
[2026-09-18 19:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:56:39] 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-09-18 19:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173779456001,"66":12287,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173779456001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173779456001,"power":12287,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:56:39] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:56:39] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:57:02] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:57:02] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:57:02] local.INFO: IMEI packet received {"connection_id":186434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":186434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:57:07] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:57:07] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:57:07] local.INFO: IMEI packet received {"connection_id":186434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":186434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:57:08] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e602c0012d18a5800722bf400069005f29..."} 
[2026-09-18 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e602c0012d18a5800722bf400069005f29..."} 
[2026-09-18 19:57:08] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e602c0012d18a5800722bf400069005f29..."} 
[2026-09-18 19:57:08] local.INFO: Packet analysis {"connection_id":186434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:57:08] local.INFO: Extracted packet for processing {"connection_id":186434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173784832001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:08] 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-09-18 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741368000,"timestamp_ms":1789741368000,"timestamp_seconds":1789741368,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e602c0"} 
[2026-09-18 19:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 19:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:57: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-09-18 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173784832001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173784832001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:57:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173784832001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":186434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:57:09] local.INFO: GPS data processed {"connection_id":186434,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:57:09] local.INFO: Acknowledgment sent {"connection_id":186434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:57:11] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:57:11] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:57:11] local.INFO: IMEI packet received {"connection_id":187696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":187696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:57:17] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:57:17] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:57:17] local.INFO: IMEI packet received {"connection_id":187696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":187696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:57:19] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:57:19] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:57:19] local.INFO: Packet analysis {"connection_id":187696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:57:19] local.INFO: Extracted packet for processing {"connection_id":187696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":187696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:57:19] local.INFO: GPS data processed {"connection_id":187696,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:57:19] local.INFO: Acknowledgment sent {"connection_id":187696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:57:40] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e654c8012d18a5800722bf400069005f29..."} 
[2026-09-18 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e654c8012d18a5800722bf400069005f29..."} 
[2026-09-18 19:57:40] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e654c8012d18a5800722bf400069005f29..."} 
[2026-09-18 19:57:40] local.INFO: Packet analysis {"connection_id":186434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:57:40] local.INFO: Extracted packet for processing {"connection_id":186434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173790208001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:40] 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-09-18 19:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789741389000,"timestamp_ms":1789741389000,"timestamp_seconds":1789741389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e654c8"} 
[2026-09-18 19:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:57: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-09-18 19:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:57:40] 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-09-18 19:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173790208001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173790208001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:57:40] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173790208001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":186434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:57:40] local.INFO: GPS data processed {"connection_id":186434,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:57:40] local.INFO: Acknowledgment sent {"connection_id":186434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:57:50] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:57:50] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:57:50] local.INFO: Packet analysis {"connection_id":187696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:57:50] local.INFO: Extracted packet for processing {"connection_id":187696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:57:50] 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-09-18 19:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":187696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:57:50] local.INFO: GPS data processed {"connection_id":187696,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:57:50] local.INFO: Acknowledgment sent {"connection_id":187696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:58:07] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:58:07] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:58:07] local.INFO: IMEI packet received {"connection_id":189031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":189031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:58:11] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:58:11] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:58:11] local.INFO: IMEI packet received {"connection_id":189032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":189032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:58:12] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:58:12] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:58:12] local.INFO: IMEI packet received {"connection_id":189031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":189031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:58:13] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e6a6d0012d18a5800722bf400069005f28..."} 
[2026-09-18 19:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e6a6d0012d18a5800722bf400069005f28..."} 
[2026-09-18 19:58:13] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e6a6d0012d18a5800722bf400069005f28..."} 
[2026-09-18 19:58:13] local.INFO: Packet analysis {"connection_id":189031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:58:13] local.INFO: Extracted packet for processing {"connection_id":189031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173795584001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789741410000,"timestamp_ms":1789741410000,"timestamp_seconds":1789741410,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e6a6d0"} 
[2026-09-18 19:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-18 19:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:58:13] 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-09-18 19:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173795584001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173795584001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:58:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173795584001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":189031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:58:13] local.INFO: GPS data processed {"connection_id":189031,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:58:13] local.INFO: Acknowledgment sent {"connection_id":189031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:58:17] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:58:17] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:58:17] local.INFO: IMEI packet received {"connection_id":189032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":189032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:58:17] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e6f8d8012d18a5800722bf400069005f27..."} 
[2026-09-18 19:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e6f8d8012d18a5800722bf400069005f27..."} 
[2026-09-18 19:58:17] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e6f8d8012d18a5800722bf400069005f27..."} 
[2026-09-18 19:58:17] local.INFO: Packet analysis {"connection_id":189031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:58:17] local.INFO: Extracted packet for processing {"connection_id":189031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e6"} 
[2026-09-18 19:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173800960001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:17] 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-09-18 19:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789741431000,"timestamp_ms":1789741431000,"timestamp_seconds":1789741431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e6f8d8"} 
[2026-09-18 19:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:58:17] 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-09-18 19:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173800960001,"66":12319,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173800960001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:58:17] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173800960001,"power":12319,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":189031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:58:17] local.INFO: GPS data processed {"connection_id":189031,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:58:17] local.INFO: Acknowledgment sent {"connection_id":189031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:58:18] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:58:18] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:58:18] local.INFO: Packet analysis {"connection_id":189032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:58:18] local.INFO: Extracted packet for processing {"connection_id":189032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:58:18] 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-09-18 19:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":189032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:58:18] local.INFO: GPS data processed {"connection_id":189032,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:58:18] local.INFO: Acknowledgment sent {"connection_id":189032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:58:51] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:58:51] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:58:51] local.INFO: Packet analysis {"connection_id":189032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:58:51] local.INFO: Extracted packet for processing {"connection_id":189032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19: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-09-18 19:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19: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-09-18 19:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":189032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:58:51] local.INFO: GPS data processed {"connection_id":189032,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:58:51] local.INFO: Acknowledgment sent {"connection_id":189032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:59:09] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:09] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:09] local.INFO: IMEI packet received {"connection_id":186435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:59:11] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:59:11] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:59:11] local.INFO: IMEI packet received {"connection_id":186287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 19:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":186287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:59:12] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:12] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:12] local.INFO: IMEI packet received {"connection_id":186435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 19:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":186435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:59:13] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ea7f30012d18a5800722bf400069005f2c..."} 
[2026-09-18 19:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ea7f30012d18a5800722bf400069005f2c..."} 
[2026-09-18 19:59:13] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ea7f30012d18a5800722bf400069005f2c..."} 
[2026-09-18 19:59:13] local.INFO: Packet analysis {"connection_id":186435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ea"} 
[2026-09-18 19:59:13] local.INFO: Extracted packet for processing {"connection_id":186435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ea"} 
[2026-09-18 19:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173860096001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789741662000,"timestamp_ms":1789741662000,"timestamp_seconds":1789741662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ea7f30"} 
[2026-09-18 19:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:59: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-09-18 19:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:59:13] 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-09-18 19:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173860096001,"66":12341,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173860096001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:59:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173860096001,"power":12341,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":186435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:59:13] local.INFO: GPS data processed {"connection_id":186435,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:59:13] local.INFO: Acknowledgment sent {"connection_id":186435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:59:16] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:59:16] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 19:59:16] local.INFO: IMEI packet received {"connection_id":186287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 19:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":186287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 19:59:17] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:59:17] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:59:17] local.INFO: Packet analysis {"connection_id":186287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:59:17] local.INFO: Extracted packet for processing {"connection_id":186287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:59:17] 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-09-18 19:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":186287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:59:17] local.INFO: GPS data processed {"connection_id":186287,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:59:17] local.INFO: Acknowledgment sent {"connection_id":186287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:59:17] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ead138012d18a5800722bf400069005f28..."} 
[2026-09-18 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ead138012d18a5800722bf400069005f28..."} 
[2026-09-18 19:59:17] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ead138012d18a5800722bf400069005f28..."} 
[2026-09-18 19:59:17] local.INFO: Packet analysis {"connection_id":186435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ea"} 
[2026-09-18 19:59:17] local.INFO: Extracted packet for processing {"connection_id":186435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ea"} 
[2026-09-18 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173865472001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:17] 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-09-18 19:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789741683000,"timestamp_ms":1789741683000,"timestamp_seconds":1789741683,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ead138"} 
[2026-09-18 19:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-18 19:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 19:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 19:59:17] 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-09-18 19:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173865472001,"66":12406,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 19:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 19:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173865472001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 19:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 19:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173865472001,"power":12406,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 19:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":186435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:59:17] local.INFO: GPS data processed {"connection_id":186435,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:59:17] local.INFO: Acknowledgment sent {"connection_id":186435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:59:41] local.INFO: TCP Data received {"connection_id":187697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:59:41] local.INFO: Processing buffer {"connection_id":187697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 19:59:41] local.INFO: IMEI packet received {"connection_id":187697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":187697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 19:59:49] local.INFO: TCP Data received {"connection_id":186287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:59:49] local.INFO: Processing buffer {"connection_id":186287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 19:59:49] local.INFO: Packet analysis {"connection_id":186287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:59:49] local.INFO: Extracted packet for processing {"connection_id":186287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 19:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 19:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 19:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 19:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 19:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 19:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 19:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 19:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 19:59:49] 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-09-18 19:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 19:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 19:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 19:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 19:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 19:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 19:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 19:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 19:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 19:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 19:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 19:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 19:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 19:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 19:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 19:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 19:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 19:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":186287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 19:59:49] local.INFO: GPS data processed {"connection_id":186287,"processed":1,"errors":0,"total":1} 
[2026-09-18 19:59:49] local.INFO: Acknowledgment sent {"connection_id":186287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 19:59:59] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:59] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 19:59:59] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:00:01] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:01] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:01] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:00:02] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:02] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:02] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:00:07] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:07] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:00:07] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:00:08] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4eb2340012d18a5800722bf400069005f29..."} 
[2026-09-18 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4eb2340012d18a5800722bf400069005f29..."} 
[2026-09-18 20:00:08] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4eb2340012d18a5800722bf400069005f29..."} 
[2026-09-18 20:00:08] local.INFO: Packet analysis {"connection_id":186436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:00:08] local.INFO: Extracted packet for processing {"connection_id":186436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173870848001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:08] 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-09-18 20:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741704000,"timestamp_ms":1789741704000,"timestamp_seconds":1789741704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4eb2340"} 
[2026-09-18 20:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:00: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-09-18 20:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173870848001,"66":12145,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 20:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173870848001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:00:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 20:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 20:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 20:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173870848001,"power":12145,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 20:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":186436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:00:08] local.INFO: GPS data processed {"connection_id":186436,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:00:08] local.INFO: Acknowledgment sent {"connection_id":186436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:00:11] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:00:11] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:00:11] local.INFO: IMEI packet received {"connection_id":187698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":187698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:00:16] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:00:16] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:00:16] local.INFO: IMEI packet received {"connection_id":187698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":187698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:00:17] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 20:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 20:00:17] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4e7e338012d34c58006aa40300007011726..."} 
[2026-09-18 20:00:17] local.INFO: Packet analysis {"connection_id":187698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 20:00:17] local.INFO: Extracted packet for processing {"connection_id":187698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4e7"} 
[2026-09-18 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173744640001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789741491000,"timestamp_ms":1789741491000,"timestamp_seconds":1789741491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4e7e338"} 
[2026-09-18 20:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:00:17] 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-09-18 20:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173744640001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173744640001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173744640001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":187698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:00:17] local.INFO: GPS data processed {"connection_id":187698,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:00:17] local.INFO: Acknowledgment sent {"connection_id":187698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:00:39] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4eb7548012d18a5800722bf400069005f28..."} 
[2026-09-18 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4eb7548012d18a5800722bf400069005f28..."} 
[2026-09-18 20:00:39] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4eb7548012d18a5800722bf400069005f28..."} 
[2026-09-18 20:00:39] local.INFO: Packet analysis {"connection_id":186436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:00:39] local.INFO: Extracted packet for processing {"connection_id":186436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119717696,"longitude_deg":75.6589952,"latitude_deg":11.9717696,"altitude":105,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d18a580","hex_latitude":"0722bf40","is_valid_coordinates":true} 
[2026-09-18 20:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173876224001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560250494615552,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741725000,"timestamp_ms":1789741725000,"timestamp_seconds":1789741725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4eb7548"} 
[2026-09-18 20:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-18 20:00:39] 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-09-18 20:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:00:39] 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-09-18 20:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173876224001,"66":12852,"137":206,"83":42752,"24":0,"16":21560250494615552,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 20:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173876224001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:00:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 20:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 20:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560250494615552,"km_value":21560250494615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 20:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173876224001,"power":12852,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 20:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":186436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:00:39] local.INFO: GPS data processed {"connection_id":186436,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:00:39] local.INFO: Acknowledgment sent {"connection_id":186436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:00:49] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:00:49] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:00:49] local.INFO: Packet analysis {"connection_id":187698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:00:49] local.INFO: Extracted packet for processing {"connection_id":187698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":187698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:00:49] local.INFO: GPS data processed {"connection_id":187698,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:00:49] local.INFO: Acknowledgment sent {"connection_id":187698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:01:02] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:01:02] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:01:02] local.INFO: IMEI packet received {"connection_id":189033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":189033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:01:06] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:01:06] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:01:06] local.INFO: IMEI packet received {"connection_id":189033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":189033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:01:07] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ebbf80012d18a4c00722c0b8006d011e2a..."} 
[2026-09-18 20:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ebbf80012d18a4c00722c0b8006d011e2a..."} 
[2026-09-18 20:01:07] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ebbf80012d18a4c00722c0b8006d011e2a..."} 
[2026-09-18 20:01:07] local.INFO: Packet analysis {"connection_id":189033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:01:07] local.INFO: Extracted packet for processing {"connection_id":189033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119718072,"longitude_deg":75.658976,"latitude_deg":11.9718072,"altitude":109,"angle":286,"satellites":42,"speed":2,"hex_longitude":"2d18a4c0","hex_latitude":"0722c0b8","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173881600001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560271969452032,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396203614208,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:07] 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-09-18 20:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789741744000,"timestamp_ms":1789741744000,"timestamp_seconds":1789741744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ebbf80"} 
[2026-09-18 20:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:01:07] 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-09-18 20:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173881600001,"66":13450,"137":206,"83":42752,"24":2,"16":21560271969452032,"45":1775966396203614208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-18 20:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173881600001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:01:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-18 20:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-18 20:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560271969452032,"km_value":21560271969452.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396203614208,"description":"Unknown IO ID 45"} 
[2026-09-18 20:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173881600001,"power":13450,"unknown_137":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1775966396203614208}} 
[2026-09-18 20:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":189033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:01:07] local.INFO: GPS data processed {"connection_id":189033,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:01:07] local.INFO: Acknowledgment sent {"connection_id":189033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:01:11] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:01:11] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:01:11] local.INFO: IMEI packet received {"connection_id":189034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":189034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:01:16] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:01:16] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:01:16] local.INFO: IMEI packet received {"connection_id":189034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":189034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:01:18] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:01:18] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:01:18] local.INFO: Packet analysis {"connection_id":189034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:01:18] local.INFO: Extracted packet for processing {"connection_id":189034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":189034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:01:18] local.INFO: GPS data processed {"connection_id":189034,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:01:18] local.INFO: Acknowledgment sent {"connection_id":189034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:01:38] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ebdec0012d18a3800722c100006d01322b..."} 
[2026-09-18 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ebdec0012d18a3800722c100006d01322b..."} 
[2026-09-18 20:01:38] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ebdec0012d18a3800722c100006d01322b..."} 
[2026-09-18 20:01:38] local.INFO: Packet analysis {"connection_id":189033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:01:38] local.INFO: Extracted packet for processing {"connection_id":189033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119718144,"longitude_deg":75.658944,"latitude_deg":11.9718144,"altitude":109,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d18a380","hex_latitude":"0722c100","is_valid_coordinates":true} 
[2026-09-18 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173886464001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560289149321216,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775755289971177472,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01: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-09-18 20:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789741752000,"timestamp_ms":1789741752000,"timestamp_seconds":1789741752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ebdec0"} 
[2026-09-18 20:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 20:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":189033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:01:38] 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-09-18 20:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173886464001,"66":13428,"105":206,"83":41984,"24":0,"16":21560289149321216,"45":1775755289971177472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 20:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173886464001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 20:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560289149321216,"km_value":21560289149321.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775755289971177472,"description":"Unknown IO ID 45"} 
[2026-09-18 20:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173886464001,"power":13428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775755289971177472}} 
[2026-09-18 20:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":189033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:01:38] local.INFO: GPS data processed {"connection_id":189033,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:01:38] local.INFO: Acknowledgment sent {"connection_id":189033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:01:50] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:01:50] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:01:50] local.INFO: Packet analysis {"connection_id":189034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:01:50] local.INFO: Extracted packet for processing {"connection_id":189034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":189034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:01:50] local.INFO: GPS data processed {"connection_id":189034,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:01:50] local.INFO: Acknowledgment sent {"connection_id":189034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:02:03] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:02:03] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:02:03] local.INFO: IMEI packet received {"connection_id":187699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":187699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:02:07] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:02:07] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:02:07] local.INFO: IMEI packet received {"connection_id":187699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":187699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:02:08] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ebfe00012d18a3400722c088006d00d02e..."} 
[2026-09-18 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ebfe00012d18a3400722c088006d00d02e..."} 
[2026-09-18 20:02:08] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ebfe00012d18a3400722c088006d00d02e..."} 
[2026-09-18 20:02:08] local.INFO: Packet analysis {"connection_id":187699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:02:08] local.INFO: Extracted packet for processing {"connection_id":187699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4eb"} 
[2026-09-18 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119718024,"longitude_deg":75.6589376,"latitude_deg":11.9718024,"altitude":109,"angle":208,"satellites":46,"speed":3,"hex_longitude":"2d18a340","hex_latitude":"0722c088","is_valid_coordinates":true} 
[2026-09-18 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173888512001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21560302034223104,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446250307584,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02: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-09-18 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741760000,"timestamp_ms":1789741760000,"timestamp_seconds":1789741760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ebfe00"} 
[2026-09-18 20:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 20:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:02: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-09-18 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173888512001,"66":13461,"105":206,"83":41984,"24":3,"16":21560302034223104,"45":1775403446250307584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173888512001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:02:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 20:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21560302034223104,"km_value":21560302034223.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446250307584,"description":"Unknown IO ID 45"} 
[2026-09-18 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173888512001,"power":13461,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1775403446250307584}} 
[2026-09-18 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":187699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:02:08] local.INFO: GPS data processed {"connection_id":187699,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:02:08] local.INFO: Acknowledgment sent {"connection_id":187699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:02:12] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:02:12] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:02:12] local.INFO: IMEI packet received {"connection_id":186437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":186437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:02:16] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:02:16] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:02:16] local.INFO: IMEI packet received {"connection_id":186437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":186437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:02:18] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:18] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:18] local.INFO: Packet analysis {"connection_id":186437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:02:18] local.INFO: Extracted packet for processing {"connection_id":186437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":186437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:02:18] local.INFO: GPS data processed {"connection_id":186437,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:02:18] local.INFO: Acknowledgment sent {"connection_id":186437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:02:23] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:23] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:23] local.INFO: Packet analysis {"connection_id":186437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:02:23] local.INFO: Extracted packet for processing {"connection_id":186437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":186437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:02:23] local.INFO: GPS data processed {"connection_id":186437,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:02:23] local.INFO: Acknowledgment sent {"connection_id":186437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:02:39] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4edabb0012d18594007220048005100bc2b..."} 
[2026-09-18 20:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4edabb0012d18594007220048005100bc2b..."} 
[2026-09-18 20:02:39] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4edabb0012d18594007220048005100bc2b..."} 
[2026-09-18 20:02:39] local.INFO: Packet analysis {"connection_id":187699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ed"} 
[2026-09-18 20:02:39] local.INFO: Extracted packet for processing {"connection_id":187699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ed"} 
[2026-09-18 20:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668808,"longitude_deg":75.6570432,"latitude_deg":11.9668808,"altitude":81,"angle":188,"satellites":43,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220048","is_valid_coordinates":true} 
[2026-09-18 20:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173913344001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21562973503881216,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216911360,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741870000,"timestamp_ms":1789741870000,"timestamp_seconds":1789741870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4edabb0"} 
[2026-09-18 20:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 20:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:02:39] 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-09-18 20:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173913344001,"66":12939,"105":206,"83":41984,"24":0,"16":21562973503881216,"45":1754503929216911360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 20:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173913344001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:02:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 20:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21562973503881216,"km_value":21562973503881.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216911360,"description":"Unknown IO ID 45"} 
[2026-09-18 20:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173913344001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754503929216911360}} 
[2026-09-18 20:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":187699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:02:39] local.INFO: GPS data processed {"connection_id":187699,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:02:39] local.INFO: Acknowledgment sent {"connection_id":187699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:02:54] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:54] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:02:54] local.INFO: Packet analysis {"connection_id":186437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:02:54] local.INFO: Extracted packet for processing {"connection_id":186437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":186437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:02:54] local.INFO: GPS data processed {"connection_id":186437,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:02:54] local.INFO: Acknowledgment sent {"connection_id":186437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:03:02] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:03:02] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:03:02] local.INFO: IMEI packet received {"connection_id":186288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":186288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:03:07] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:03:07] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:03:07] local.INFO: IMEI packet received {"connection_id":186288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":186288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:03:08] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4edfdb8012d18594007220048005100bc2c..."} 
[2026-09-18 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4edfdb8012d18594007220048005100bc2c..."} 
[2026-09-18 20:03:08] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4edfdb8012d18594007220048005100bc2c..."} 
[2026-09-18 20:03:08] local.INFO: Packet analysis {"connection_id":186288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ed"} 
[2026-09-18 20:03:08] local.INFO: Extracted packet for processing {"connection_id":186288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ed"} 
[2026-09-18 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668808,"longitude_deg":75.6570432,"latitude_deg":11.9668808,"altitude":81,"angle":188,"satellites":44,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220048","is_valid_coordinates":true} 
[2026-09-18 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173918720001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21562973503881216,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216911360,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03: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-09-18 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789741891000,"timestamp_ms":1789741891000,"timestamp_seconds":1789741891,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4edfdb8"} 
[2026-09-18 20:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-18 20:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:03: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-09-18 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173918720001,"66":12852,"105":206,"83":41984,"24":0,"16":21562973503881216,"45":1754503929216911360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173918720001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:03:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 20:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21562973503881216,"km_value":21562973503881.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216911360,"description":"Unknown IO ID 45"} 
[2026-09-18 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173918720001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754503929216911360}} 
[2026-09-18 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":186288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:03:08] local.INFO: GPS data processed {"connection_id":186288,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:03:08] local.INFO: Acknowledgment sent {"connection_id":186288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:03:11] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:03:11] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:03:11] local.INFO: IMEI packet received {"connection_id":189035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":189035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:03:17] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:03:17] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:03:17] local.INFO: IMEI packet received {"connection_id":189035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":189035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:03:18] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:03:18] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:03:18] local.INFO: Packet analysis {"connection_id":189035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:03:18] local.INFO: Extracted packet for processing {"connection_id":189035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":189035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:03:18] local.INFO: GPS data processed {"connection_id":189035,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:03:18] local.INFO: Acknowledgment sent {"connection_id":189035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:03:39] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ee4fc0012d18594007220048005100bc2c..."} 
[2026-09-18 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ee4fc0012d18594007220048005100bc2c..."} 
[2026-09-18 20:03:39] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ee4fc0012d18594007220048005100bc2c..."} 
[2026-09-18 20:03:39] local.INFO: Packet analysis {"connection_id":186288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ee"} 
[2026-09-18 20:03:39] local.INFO: Extracted packet for processing {"connection_id":186288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ee"} 
[2026-09-18 20:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668808,"longitude_deg":75.6570432,"latitude_deg":11.9668808,"altitude":81,"angle":188,"satellites":44,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220048","is_valid_coordinates":true} 
[2026-09-18 20:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173924096001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21562973503881216,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216911360,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789741912000,"timestamp_ms":1789741912000,"timestamp_seconds":1789741912,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ee4fc0"} 
[2026-09-18 20:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:03:39] 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-09-18 20:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173924096001,"66":12798,"105":206,"83":41984,"24":0,"16":21562973503881216,"45":1754503929216911360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-18 20:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173924096001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:03:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-18 20:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21562973503881216,"km_value":21562973503881.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216911360,"description":"Unknown IO ID 45"} 
[2026-09-18 20:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173924096001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754503929216911360}} 
[2026-09-18 20:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":186288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:03:39] local.INFO: GPS data processed {"connection_id":186288,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:03:39] local.INFO: Acknowledgment sent {"connection_id":186288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:03:50] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:03:50] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:03:50] local.INFO: Packet analysis {"connection_id":189035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:03:50] local.INFO: Extracted packet for processing {"connection_id":189035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":189035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:03:50] local.INFO: GPS data processed {"connection_id":189035,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:03:50] local.INFO: Acknowledgment sent {"connection_id":189035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:04:04] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:04] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:04] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:04:05] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:05] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:05] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:04:06] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:06] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:06] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:04:07] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:07] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:04:07] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:04:16] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:04:16] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:04:16] local.INFO: IMEI packet received {"connection_id":189037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":189037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:04:21] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:04:21] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:04:21] local.INFO: IMEI packet received {"connection_id":189037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":189037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:04:22] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:04:22] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:04:22] local.INFO: Packet analysis {"connection_id":189037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:04:22] local.INFO: Extracted packet for processing {"connection_id":189037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":189037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:04:22] local.INFO: GPS data processed {"connection_id":189037,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:04:22] local.INFO: Acknowledgment sent {"connection_id":189037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:04:28] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:04:28] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:04:28] local.INFO: Packet analysis {"connection_id":189037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:04:28] local.INFO: Extracted packet for processing {"connection_id":189037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:04:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:04:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":189037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:04:28] local.INFO: GPS data processed {"connection_id":189037,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:04:28] local.INFO: Acknowledgment sent {"connection_id":189037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:05:11] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:05:11] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:05:11] local.INFO: IMEI packet received {"connection_id":186439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":186439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:05:16] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:05:16] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:05:16] local.INFO: IMEI packet received {"connection_id":186439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:05:18] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:05:18] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:05:18] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:05:18] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:05:18] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:05:18] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:05:23] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:05:23] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ec7b00012d34c58006aa40300000011725..."} 
[2026-09-18 20:05:23] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:05:23] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ec"} 
[2026-09-18 20:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173821696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789741792000,"timestamp_ms":1789741792000,"timestamp_seconds":1789741792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ec7b00"} 
[2026-09-18 20:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173821696001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173821696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173821696001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:05:23] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:05:23] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:05:26] local.INFO: TCP Data received {"connection_id":189036,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:05:26] local.INFO: Processing buffer {"connection_id":189036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:05:26] local.INFO: IMEI packet received {"connection_id":189036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":189036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:05:54] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:05:54] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:05:54] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:05:54] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:05:54] 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-09-18 20: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-09-18 20:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:05:54] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:05:54] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:06:11] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:06:11] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:06:11] local.INFO: IMEI packet received {"connection_id":186290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":186290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:06:16] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:06:16] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:06:16] local.INFO: IMEI packet received {"connection_id":186290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":186290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:06:18] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:06:18] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:06:18] local.INFO: Packet analysis {"connection_id":186290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:06:18] local.INFO: Extracted packet for processing {"connection_id":186290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:06:18] 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-09-18 20:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":186290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:06:18] local.INFO: GPS data processed {"connection_id":186290,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:06:18] local.INFO: Acknowledgment sent {"connection_id":186290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:06:50] local.INFO: TCP Data received {"connection_id":186290,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:06:50] local.INFO: Processing buffer {"connection_id":186290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:06:50] local.INFO: Packet analysis {"connection_id":186290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:06:50] local.INFO: Extracted packet for processing {"connection_id":186290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:06:50] 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-09-18 20:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":186290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:06:50] local.INFO: GPS data processed {"connection_id":186290,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:06:50] local.INFO: Acknowledgment sent {"connection_id":186290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:07:11] local.INFO: TCP Data received {"connection_id":189039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:07:11] local.INFO: Processing buffer {"connection_id":189039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:07:11] local.INFO: IMEI packet received {"connection_id":189039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":189039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:07:16] local.INFO: TCP Data received {"connection_id":189039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:07:16] local.INFO: Processing buffer {"connection_id":189039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:07:16] local.INFO: IMEI packet received {"connection_id":189039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":189039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:07:18] local.INFO: TCP Data received {"connection_id":189039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:07:18] local.INFO: Processing buffer {"connection_id":189039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:07:18] local.INFO: Packet analysis {"connection_id":189039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:07:18] local.INFO: Extracted packet for processing {"connection_id":189039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:07:18] 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-09-18 20:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":189039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:07:18] local.INFO: GPS data processed {"connection_id":189039,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:07:18] local.INFO: Acknowledgment sent {"connection_id":189039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:07:49] local.INFO: TCP Data received {"connection_id":189039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:07:49] local.INFO: Processing buffer {"connection_id":189039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:07:49] local.INFO: Packet analysis {"connection_id":189039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:07:49] local.INFO: Extracted packet for processing {"connection_id":189039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:07:49] 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-09-18 20:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":189039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:07:49] local.INFO: GPS data processed {"connection_id":189039,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:07:49] local.INFO: Acknowledgment sent {"connection_id":189039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:08:11] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:08:11] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:08:11] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:08:17] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:08:17] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:08:17] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:08:18] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:08:18] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:08:18] local.INFO: Packet analysis {"connection_id":186293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:08:18] local.INFO: Extracted packet for processing {"connection_id":186293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:08:18] 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-09-18 20:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":186293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:08:18] local.INFO: GPS data processed {"connection_id":186293,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:08:18] local.INFO: Acknowledgment sent {"connection_id":186293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:08:49] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:08:49] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:08:49] local.INFO: Packet analysis {"connection_id":186293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:08:49] local.INFO: Extracted packet for processing {"connection_id":186293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:08:49] 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-09-18 20:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":186293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:08:49] local.INFO: GPS data processed {"connection_id":186293,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:08:49] local.INFO: Acknowledgment sent {"connection_id":186293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:09:09] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:09:09] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:09:09] local.INFO: IMEI packet received {"connection_id":186440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":186440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:09:10] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f36c58012d1a1f40071ff2080028006b2c..."} 
[2026-09-18 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f36c58012d1a1f40071ff2080028006b2c..."} 
[2026-09-18 20:09:10] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f36c58012d1a1f40071ff2080028006b2c..."} 
[2026-09-18 20:09:10] local.INFO: Packet analysis {"connection_id":186440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f3"} 
[2026-09-18 20:09:10] local.INFO: Extracted packet for processing {"connection_id":186440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f3"} 
[2026-09-18 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119534088,"longitude_deg":75.6686656,"latitude_deg":11.9534088,"altitude":40,"angle":107,"satellites":44,"speed":36,"hex_longitude":"2d1a1f40","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-09-18 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174012416001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21574041634603008,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872019731959803904,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789742247000,"timestamp_ms":1789742247000,"timestamp_seconds":1789742247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f36c58"} 
[2026-09-18 20:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 20:09:10] 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-09-18 20:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:09:10] 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-09-18 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174012416001,"66":13059,"101":206,"83":41984,"24":36,"16":21574041634603008,"45":1872019731959803904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174012416001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:09:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21574041634603008,"km_value":21574041634603.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872019731959803904,"description":"Unknown IO ID 45"} 
[2026-09-18 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174012416001,"power":13059,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1872019731959803904}} 
[2026-09-18 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":186440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:09:10] local.INFO: GPS data processed {"connection_id":186440,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:09:10] local.INFO: Acknowledgment sent {"connection_id":186440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:09:16] local.INFO: TCP Data received {"connection_id":187703,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:09:16] local.INFO: Processing buffer {"connection_id":187703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:09:16] local.INFO: IMEI packet received {"connection_id":187703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":187703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:09:22] local.INFO: TCP Data received {"connection_id":187703,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:09:22] local.INFO: Processing buffer {"connection_id":187703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:09:22] local.INFO: IMEI packet received {"connection_id":187703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":187703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:09:23] local.INFO: TCP Data received {"connection_id":187703,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:09:23] local.INFO: Processing buffer {"connection_id":187703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:09:23] local.INFO: Packet analysis {"connection_id":187703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:09:23] local.INFO: Extracted packet for processing {"connection_id":187703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:09:23] 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-09-18 20:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":187703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:09:23] local.INFO: GPS data processed {"connection_id":187703,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:09:23] local.INFO: Acknowledgment sent {"connection_id":187703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:09:27] local.INFO: TCP Data received {"connection_id":187703,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:09:27] local.INFO: Processing buffer {"connection_id":187703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:09:27] local.INFO: Packet analysis {"connection_id":187703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:09:27] local.INFO: Extracted packet for processing {"connection_id":187703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:09: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-09-18 20:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:09:27] 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-09-18 20:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:09:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:09:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":187703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:09:27] local.INFO: GPS data processed {"connection_id":187703,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:09:27] local.INFO: Acknowledgment sent {"connection_id":187703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:09:41] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f39368012d1a4340071fe890002700692c..."} 
[2026-09-18 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f39368012d1a4340071fe890002700692c..."} 
[2026-09-18 20:09:41] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f39368012d1a4340071fe890002700692c..."} 
[2026-09-18 20:09:41] local.INFO: Packet analysis {"connection_id":186440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f3"} 
[2026-09-18 20:09:41] local.INFO: Extracted packet for processing {"connection_id":186440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f3"} 
[2026-09-18 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756695872,"raw_latitude":119531664,"longitude_deg":75.6695872,"latitude_deg":11.9531664,"altitude":39,"angle":105,"satellites":44,"speed":37,"hex_longitude":"2d1a4340","hex_latitude":"071fe890","is_valid_coordinates":true} 
[2026-09-18 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174015232001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21574496901136384,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568609060864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789742257000,"timestamp_ms":1789742257000,"timestamp_seconds":1789742257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f39368"} 
[2026-09-18 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171401469304,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":101,"raw_value":58075809043709979,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3035830864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4079867905,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4232577061,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147950589,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024952,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2766340096,"note":"Value kept but may cause issues"} 
[2026-09-18 20:09:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,165,160,65,45,192,252,37,10,66,53,64,36,44,164,49,1,240,181,227,180,31,4,113,205,22,41,235,88,239,52,2,76,7,38,27],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 20:09:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882421598242209792,"timestamp_seconds":2882421598242210.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:09: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-09-18 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174015232001,"66":14070,"101":206,"83":41984,"24":37,"16":21574496901136384,"45":1882293568609060864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174015232001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:09:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21574496901136384,"km_value":21574496901136.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568609060864,"description":"Unknown IO ID 45"} 
[2026-09-18 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174015232001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1882293568609060864}} 
[2026-09-18 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":186440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:09:41] local.INFO: GPS data processed {"connection_id":186440,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:09:41] local.INFO: Acknowledgment sent {"connection_id":186440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:10:02] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:10:02] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:10:02] local.INFO: IMEI packet received {"connection_id":186294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":186294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:10:07] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:10:07] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:10:07] local.INFO: IMEI packet received {"connection_id":186294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":186294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:10:08] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f39f20012d1a4d40071fe4c0002700752c..."} 
[2026-09-18 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f39f20012d1a4d40071fe4c0002700752c..."} 
[2026-09-18 20:10:08] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f39f20012d1a4d40071fe4c0002700752c..."} 
[2026-09-18 20:10:08] local.INFO: Packet analysis {"connection_id":186294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f3"} 
[2026-09-18 20:10:08] local.INFO: Extracted packet for processing {"connection_id":186294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f3"} 
[2026-09-18 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756698432,"raw_latitude":119530688,"longitude_deg":75.6698432,"latitude_deg":11.9530688,"altitude":39,"angle":117,"satellites":44,"speed":35,"hex_longitude":"2d1a4d40","hex_latitude":"071fe4c0","is_valid_coordinates":true} 
[2026-09-18 20:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174017792001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21574625750155264,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892426667770023936,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10: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-09-18 20:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742260000,"timestamp_ms":1789742260000,"timestamp_seconds":1789742260,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f39f20"} 
[2026-09-18 20:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-18 20:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:10: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-09-18 20:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174017792001,"66":13787,"101":206,"83":41984,"24":35,"16":21574625750155264,"45":1892426667770023936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174017792001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:10:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21574625750155264,"km_value":21574625750155.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892426667770023936,"description":"Unknown IO ID 45"} 
[2026-09-18 20:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174017792001,"power":13787,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1892426667770023936}} 
[2026-09-18 20:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:10:08] local.INFO: GPS data processed {"connection_id":186294,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:10:08] local.INFO: Acknowledgment sent {"connection_id":186294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:10:12] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:10:12] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:10:12] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:10:16] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:10:16] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:10:16] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:10:17] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:10:17] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:10:17] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:10:17] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:10:17] 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-09-18 20:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:10:17] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:10:17] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:10:23] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:10:23] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f112c8012d34c58006aa40300000011728..."} 
[2026-09-18 20:10:23] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:10:23] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f1"} 
[2026-09-18 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173898752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789742093000,"timestamp_ms":1789742093000,"timestamp_seconds":1789742093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f112c8"} 
[2026-09-18 20:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:10:23] 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-09-18 20: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-09-18 20:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173898752001,"66":25973,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173898752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173898752001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:10:23] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:10:23] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:10:39] local.INFO: TCP Data received {"connection_id":186294,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f50a68012d1a8e40071fabb0002b009f21..."} 
[2026-09-18 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f50a68012d1a8e40071fabb0002b009f21..."} 
[2026-09-18 20:10:39] local.INFO: Processing buffer {"connection_id":186294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f50a68012d1a8e40071fabb0002b009f21..."} 
[2026-09-18 20:10:39] local.INFO: Packet analysis {"connection_id":186294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:10:39] local.INFO: Extracted packet for processing {"connection_id":186294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":33,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174036992001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789742353000,"timestamp_ms":1789742353000,"timestamp_seconds":1789742353,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f50a68"} 
[2026-09-18 20:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-18 20:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:10:39] 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-09-18 20:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174036992001,"66":12982,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174036992001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174036992001,"power":12982,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":186294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:10:39] local.INFO: GPS data processed {"connection_id":186294,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:10:39] local.INFO: Acknowledgment sent {"connection_id":186294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:10:49] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:10:49] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:10:49] local.INFO: IMEI packet received {"connection_id":186292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":186292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:10:54] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:10:54] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:10:54] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:10:54] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:10:54] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:10:54] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:11:02] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:11:02] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:11:02] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:11:07] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:11:07] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:11:07] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:11:11] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:11:11] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:11:11] local.INFO: IMEI packet received {"connection_id":189040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":189040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:11:16] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:11:16] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:11:16] local.INFO: IMEI packet received {"connection_id":189040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":189040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:11:18] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:11:18] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:11:18] local.INFO: Packet analysis {"connection_id":189040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:11:18] local.INFO: Extracted packet for processing {"connection_id":189040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:11:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":189040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:11:18] local.INFO: GPS data processed {"connection_id":189040,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:11:18] local.INFO: Acknowledgment sent {"connection_id":189040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:11:34] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f55c70012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f55c70012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:11:34] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f55c70012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:11:34] local.INFO: Packet analysis {"connection_id":186296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:11:34] local.INFO: Extracted packet for processing {"connection_id":186296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174042368001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789742374000,"timestamp_ms":1789742374000,"timestamp_seconds":1789742374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f55c70"} 
[2026-09-18 20:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-18 20:11:34] 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-09-18 20: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-09-18 20:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:11:34] 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-09-18 20:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174042368001,"66":12885,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174042368001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:11:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174042368001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":186296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:11:34] local.INFO: GPS data processed {"connection_id":186296,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:11:34] local.INFO: Acknowledgment sent {"connection_id":186296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:11:50] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:11:50] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:11:50] local.INFO: Packet analysis {"connection_id":189040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:11:50] local.INFO: Extracted packet for processing {"connection_id":189040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":189040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:11:50] local.INFO: GPS data processed {"connection_id":189040,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:11:50] local.INFO: Acknowledgment sent {"connection_id":189040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:12:07] local.INFO: TCP Data received {"connection_id":187704,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:12:07] local.INFO: Processing buffer {"connection_id":187704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:12:07] local.INFO: IMEI packet received {"connection_id":187704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":187704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:12:11] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:12:11] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:12:11] local.INFO: IMEI packet received {"connection_id":189041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":189041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:12:12] local.INFO: TCP Data received {"connection_id":187704,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:12:12] local.INFO: Processing buffer {"connection_id":187704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:12:12] local.INFO: IMEI packet received {"connection_id":187704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":187704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:12:13] local.INFO: TCP Data received {"connection_id":187704,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5ae78012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5ae78012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:12:13] local.INFO: Processing buffer {"connection_id":187704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5ae78012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:12:13] local.INFO: Packet analysis {"connection_id":187704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:12:13] local.INFO: Extracted packet for processing {"connection_id":187704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":37,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174047744001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789742395000,"timestamp_ms":1789742395000,"timestamp_seconds":1789742395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5ae78"} 
[2026-09-18 20:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:12: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-09-18 20: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:12:13] 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-09-18 20:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174047744001,"66":12863,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174047744001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:12:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174047744001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":187704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:12:13] local.INFO: GPS data processed {"connection_id":187704,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:12:13] local.INFO: Acknowledgment sent {"connection_id":187704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:12:16] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:12:16] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:12:16] local.INFO: IMEI packet received {"connection_id":189041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":189041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:12:18] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:12:18] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:12:18] local.INFO: Packet analysis {"connection_id":189041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:12:18] local.INFO: Extracted packet for processing {"connection_id":189041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":189041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:12:18] local.INFO: GPS data processed {"connection_id":189041,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:12:18] local.INFO: Acknowledgment sent {"connection_id":189041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:12:18] local.INFO: TCP Data received {"connection_id":187704,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f60080012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f60080012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:12:18] local.INFO: Processing buffer {"connection_id":187704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f60080012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:12:18] local.INFO: Packet analysis {"connection_id":187704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:12:18] local.INFO: Extracted packet for processing {"connection_id":187704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174053120001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742416000,"timestamp_ms":1789742416000,"timestamp_seconds":1789742416,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f60080"} 
[2026-09-18 20:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:12:18] 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-09-18 20:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174053120001,"66":12809,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174053120001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174053120001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":187704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:12:18] local.INFO: GPS data processed {"connection_id":187704,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:12:18] local.INFO: Acknowledgment sent {"connection_id":187704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:12:49] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:12:49] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:12:49] local.INFO: Packet analysis {"connection_id":189041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:12:49] local.INFO: Extracted packet for processing {"connection_id":189041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":189041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:12:49] local.INFO: GPS data processed {"connection_id":189041,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:12:49] local.INFO: Acknowledgment sent {"connection_id":189041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:13:01] local.INFO: TCP Data received {"connection_id":186297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:01] local.INFO: Processing buffer {"connection_id":186297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:01] local.INFO: IMEI packet received {"connection_id":186297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":186297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:13:02] local.INFO: TCP Data received {"connection_id":186297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:02] local.INFO: Processing buffer {"connection_id":186297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:02] local.INFO: IMEI packet received {"connection_id":186297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":186297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:13:07] local.INFO: TCP Data received {"connection_id":186297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:07] local.INFO: Processing buffer {"connection_id":186297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:13:07] local.INFO: IMEI packet received {"connection_id":186297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":186297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:13:08] local.INFO: TCP Data received {"connection_id":186297,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f65288012d1a8e40071fabb0002b009f2a..."} 
[2026-09-18 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f65288012d1a8e40071fabb0002b009f2a..."} 
[2026-09-18 20:13:08] local.INFO: Processing buffer {"connection_id":186297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f65288012d1a8e40071fabb0002b009f2a..."} 
[2026-09-18 20:13:08] local.INFO: Packet analysis {"connection_id":186297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:13:08] local.INFO: Extracted packet for processing {"connection_id":186297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174058496001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13: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-09-18 20:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742437000,"timestamp_ms":1789742437000,"timestamp_seconds":1789742437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f65288"} 
[2026-09-18 20:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1513209474964259840,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3035894864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-862272197822346496,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2880438315,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2802515968,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2284292582047516968,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6989812538653331027,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,167,160,174,45,64,171,43,37,10,66,92,40,1,240,182,227,180,31,4,113,205,102,142,176,36,239,51,2,76,7,42,12,48,164,255],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 20:13:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098651537778409472,"timestamp_seconds":3098651537778409.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:13: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-09-18 20:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174058496001,"66":12776,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174058496001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:13:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174058496001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":186297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:13:08] local.INFO: GPS data processed {"connection_id":186297,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:13:08] local.INFO: Acknowledgment sent {"connection_id":186297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:13:16] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:13:16] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:13:16] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:13:21] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:13:21] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:13:21] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:13:23] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:13:23] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:13:23] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:13:23] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:13:23] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:13:23] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:13:27] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:13:27] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:13:27] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:13:27] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:13:27] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:13:27] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:13:39] local.INFO: TCP Data received {"connection_id":186297,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f6a490012d1a8e40071fabb0002b009f29..."} 
[2026-09-18 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f6a490012d1a8e40071fabb0002b009f29..."} 
[2026-09-18 20:13:39] local.INFO: Processing buffer {"connection_id":186297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f6a490012d1a8e40071fabb0002b009f29..."} 
[2026-09-18 20:13:39] local.INFO: Packet analysis {"connection_id":186297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:13:39] local.INFO: Extracted packet for processing {"connection_id":186297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174063872001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789742458000,"timestamp_ms":1789742458000,"timestamp_seconds":1789742458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f6a490"} 
[2026-09-18 20:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 20:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:13:39] 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-09-18 20:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174063872001,"66":12613,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174063872001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:13:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174063872001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":186297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:13:39] local.INFO: GPS data processed {"connection_id":186297,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:13:39] local.INFO: Acknowledgment sent {"connection_id":186297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:14:02] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:02] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:02] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:14:03] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:03] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:03] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:14:07] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:07] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:14:07] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:14:08] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f6f698012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f6f698012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:14:08] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f6f698012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:14:08] local.INFO: Packet analysis {"connection_id":189043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:14:08] local.INFO: Extracted packet for processing {"connection_id":189043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f6"} 
[2026-09-18 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":35,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174069248001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14: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-09-18 20:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742479000,"timestamp_ms":1789742479000,"timestamp_seconds":1789742479,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f6f698"} 
[2026-09-18 20:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 20:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:14: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-09-18 20:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174069248001,"66":12689,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174069248001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:14:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174069248001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":189043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:14:08] local.INFO: GPS data processed {"connection_id":189043,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:14:08] local.INFO: Acknowledgment sent {"connection_id":189043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:14:11] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:14:11] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:14:11] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:14:16] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:14:16] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:14:16] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:14:18] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:14:18] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:14:18] local.INFO: Packet analysis {"connection_id":186442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:14:18] local.INFO: Extracted packet for processing {"connection_id":186442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":186442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:14:18] local.INFO: GPS data processed {"connection_id":186442,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:14:18] local.INFO: Acknowledgment sent {"connection_id":186442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:14:39] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f748a0012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f748a0012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:14:39] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f748a0012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:14:39] local.INFO: Packet analysis {"connection_id":189043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f7"} 
[2026-09-18 20:14:39] local.INFO: Extracted packet for processing {"connection_id":189043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f7"} 
[2026-09-18 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":32,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174074624001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789742500000,"timestamp_ms":1789742500000,"timestamp_seconds":1789742500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f748a0"} 
[2026-09-18 20:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 20:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:14:39] 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-09-18 20:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174074624001,"66":12689,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174074624001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174074624001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":189043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:14:39] local.INFO: GPS data processed {"connection_id":189043,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:14:39] local.INFO: Acknowledgment sent {"connection_id":189043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:14:50] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:14:50] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:14:50] local.INFO: Packet analysis {"connection_id":186442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:14:50] local.INFO: Extracted packet for processing {"connection_id":186442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:14: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-09-18 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":186442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:14:50] local.INFO: GPS data processed {"connection_id":186442,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:14:50] local.INFO: Acknowledgment sent {"connection_id":186442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:15:02] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:15:02] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:15:02] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:15:06] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:15:06] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:15:06] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:15:07] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f79aa8012d1a8e40071fabb0002b009f27..."} 
[2026-09-18 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f79aa8012d1a8e40071fabb0002b009f27..."} 
[2026-09-18 20:15:07] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f79aa8012d1a8e40071fabb0002b009f27..."} 
[2026-09-18 20:15:07] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f7"} 
[2026-09-18 20:15:07] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f7"} 
[2026-09-18 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174080000001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789742521000,"timestamp_ms":1789742521000,"timestamp_seconds":1789742521,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f79aa8"} 
[2026-09-18 20:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-18 20:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:15:07] 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-09-18 20:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174080000001,"66":12667,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174080000001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:15:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174080000001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:15:07] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:15:07] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:15:11] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:15:11] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:15:11] local.INFO: IMEI packet received {"connection_id":187705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":187705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:15:16] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:15:16] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:15:16] local.INFO: IMEI packet received {"connection_id":187705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":187705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:15:18] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:15:18] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f5aa90012d34c58006aa40300000011722..."} 
[2026-09-18 20:15:18] local.INFO: Packet analysis {"connection_id":187705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:15:18] local.INFO: Extracted packet for processing {"connection_id":187705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f5"} 
[2026-09-18 20:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458173975808001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742394000,"timestamp_ms":1789742394000,"timestamp_seconds":1789742394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f5aa90"} 
[2026-09-18 20:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458173975808001,"66":25941,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458173975808001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458173975808001,"power":25941,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":187705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:15:18] local.INFO: GPS data processed {"connection_id":187705,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:15:18] local.INFO: Acknowledgment sent {"connection_id":187705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:15:38] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f7ecb0012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f7ecb0012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:15:38] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f7ecb0012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:15:38] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f7"} 
[2026-09-18 20:15:38] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f7"} 
[2026-09-18 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":32,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174085376001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789742542000,"timestamp_ms":1789742542000,"timestamp_seconds":1789742542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f7ecb0"} 
[2026-09-18 20:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 20:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:15:38] 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-09-18 20:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174085376001,"66":12591,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174085376001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:15:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174085376001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:15:38] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:15:38] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:15:49] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:15:49] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:15:49] local.INFO: Packet analysis {"connection_id":187705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:15:49] local.INFO: Extracted packet for processing {"connection_id":187705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:15:49] 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-09-18 20:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":187705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:15:49] local.INFO: GPS data processed {"connection_id":187705,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:15:49] local.INFO: Acknowledgment sent {"connection_id":187705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:16:02] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:16:02] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:16:02] local.INFO: IMEI packet received {"connection_id":187706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":187706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:16:07] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:16:07] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:16:07] local.INFO: IMEI packet received {"connection_id":187706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":187706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:16:08] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f83eb8012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f83eb8012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:16:08] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f83eb8012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:16:08] local.INFO: Packet analysis {"connection_id":187706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f8"} 
[2026-09-18 20:16:08] local.INFO: Extracted packet for processing {"connection_id":187706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f8"} 
[2026-09-18 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174090752001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16: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-09-18 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742563000,"timestamp_ms":1789742563000,"timestamp_seconds":1789742563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f83eb8"} 
[2026-09-18 20:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-18 20:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:16: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-09-18 20:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174090752001,"66":12635,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174090752001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174090752001,"power":12635,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":187706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:16:08] local.INFO: GPS data processed {"connection_id":187706,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:16:08] local.INFO: Acknowledgment sent {"connection_id":187706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:16:11] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:16:11] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:16:11] local.INFO: IMEI packet received {"connection_id":187707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":187707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:16:16] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:16:16] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:16:16] local.INFO: IMEI packet received {"connection_id":187707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":187707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:16:18] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:16:18] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:16:18] local.INFO: Packet analysis {"connection_id":187707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:16:18] local.INFO: Extracted packet for processing {"connection_id":187707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:16:18] 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-09-18 20:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":187707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:16:18] local.INFO: GPS data processed {"connection_id":187707,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:16:18] local.INFO: Acknowledgment sent {"connection_id":187707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:16:25] local.INFO: TCP Data received {"connection_id":189042,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:16:25] local.INFO: Processing buffer {"connection_id":189042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:16:25] local.INFO: IMEI packet received {"connection_id":189042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":189042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:16:39] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f890c0012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f890c0012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:16:39] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f890c0012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:16:39] local.INFO: Packet analysis {"connection_id":187706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f8"} 
[2026-09-18 20:16:39] local.INFO: Extracted packet for processing {"connection_id":187706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f8"} 
[2026-09-18 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":35,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174096128001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789742584000,"timestamp_ms":1789742584000,"timestamp_seconds":1789742584,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f890c0"} 
[2026-09-18 20:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-18 20:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:16:39] 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-09-18 20:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174096128001,"66":12558,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174096128001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174096128001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":187706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:16:40] local.INFO: GPS data processed {"connection_id":187706,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:16:40] local.INFO: Acknowledgment sent {"connection_id":187706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:16:49] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:16:49] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:16:49] local.INFO: Packet analysis {"connection_id":187707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:16:49] local.INFO: Extracted packet for processing {"connection_id":187707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:16:49] 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-09-18 20:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":187707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:16:50] local.INFO: GPS data processed {"connection_id":187707,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:16:50] local.INFO: Acknowledgment sent {"connection_id":187707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:17:02] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:17:02] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:17:02] local.INFO: IMEI packet received {"connection_id":186443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":186443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:17:07] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:17:07] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:17:07] local.INFO: IMEI packet received {"connection_id":186443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":186443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:17:08] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f8e2c8012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f8e2c8012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:17:08] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f8e2c8012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:17:08] local.INFO: Packet analysis {"connection_id":186443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f8"} 
[2026-09-18 20:17:08] local.INFO: Extracted packet for processing {"connection_id":186443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f8"} 
[2026-09-18 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174101504001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17: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-09-18 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742605000,"timestamp_ms":1789742605000,"timestamp_seconds":1789742605,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f8e2c8"} 
[2026-09-18 20:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3036062864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250066486749801392,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4148731905,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2880438315,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:17:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2550213914,"corrected_to":0} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2802515968,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,167,160,62,45,64,171,43,36,10,66,236,32,154,1,240,123,227,180,31,4,113,205,246,142,176,35,239,49,2,76,7,120,92,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":246,"original":2550213914,"validated":0}]} 
[2026-09-18 20:17:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098651516303572992,"timestamp_seconds":3098651516303573.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:17: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-09-18 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174101504001,"66":12211,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174101504001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174101504001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":186443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:17:08] local.INFO: GPS data processed {"connection_id":186443,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:17:08] local.INFO: Acknowledgment sent {"connection_id":186443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:17:16] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:17:16] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:17:16] local.INFO: IMEI packet received {"connection_id":189044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":189044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:17:21] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:17:21] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:17:21] local.INFO: IMEI packet received {"connection_id":189044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":189044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:17:24] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:17:24] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:17:24] local.INFO: Packet analysis {"connection_id":189044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:17:24] local.INFO: Extracted packet for processing {"connection_id":189044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":189044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:17:24] local.INFO: GPS data processed {"connection_id":189044,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:17:24] local.INFO: Acknowledgment sent {"connection_id":189044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:17:27] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:17:27] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:17:27] local.INFO: Packet analysis {"connection_id":189044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:17:27] local.INFO: Extracted packet for processing {"connection_id":189044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:17:27] 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-09-18 20:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":189044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:17:27] local.INFO: GPS data processed {"connection_id":189044,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:17:27] local.INFO: Acknowledgment sent {"connection_id":189044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:17:39] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f934d0012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f934d0012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:17:39] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f934d0012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:17:39] local.INFO: Packet analysis {"connection_id":186443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f9"} 
[2026-09-18 20:17:39] local.INFO: Extracted packet for processing {"connection_id":186443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f9"} 
[2026-09-18 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":37,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174106880001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789742626000,"timestamp_ms":1789742626000,"timestamp_seconds":1789742626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f934d0"} 
[2026-09-18 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-18 20:17:39] 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-09-18 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:17:39] 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-09-18 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174106880001,"66":12548,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174106880001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174106880001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":186443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:17:40] local.INFO: GPS data processed {"connection_id":186443,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:17:40] local.INFO: Acknowledgment sent {"connection_id":186443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:18:07] local.INFO: TCP Data received {"connection_id":187708,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:18:07] local.INFO: Processing buffer {"connection_id":187708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:18:07] local.INFO: IMEI packet received {"connection_id":187708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":187708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:18:12] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:18:12] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:18:12] local.INFO: IMEI packet received {"connection_id":187709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":187709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:18:12] local.INFO: TCP Data received {"connection_id":187708,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:18:12] local.INFO: Processing buffer {"connection_id":187708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:18:12] local.INFO: IMEI packet received {"connection_id":187708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":187708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:18:13] local.INFO: TCP Data received {"connection_id":187708,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f986d8012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f986d8012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:18:13] local.INFO: Processing buffer {"connection_id":187708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f986d8012d1a8e40071fabb0002b009f20..."} 
[2026-09-18 20:18:13] local.INFO: Packet analysis {"connection_id":187708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f9"} 
[2026-09-18 20:18:13] local.INFO: Extracted packet for processing {"connection_id":187708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f9"} 
[2026-09-18 20:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":32,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174112256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789742647000,"timestamp_ms":1789742647000,"timestamp_seconds":1789742647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f986d8"} 
[2026-09-18 20:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:18: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-09-18 20: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3036104864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4159483905,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2880438315,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2802515968,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,167,160,226,45,64,171,43,36,10,66,144,35,62,1,240,91,227,180,31,4,113,205,154,142,176,39,239,49,2,76,7,120],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 20:18:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098651524893507584,"timestamp_seconds":3098651524893507.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:18:13] 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-09-18 20:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174112256001,"66":12548,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174112256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:18:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174112256001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":187708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:18:13] local.INFO: GPS data processed {"connection_id":187708,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:18:13] local.INFO: Acknowledgment sent {"connection_id":187708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:18:15] local.INFO: TCP Data received {"connection_id":187708,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4f9d8e0012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4f9d8e0012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:18:15] local.INFO: Processing buffer {"connection_id":187708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4f9d8e0012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:18:15] local.INFO: Packet analysis {"connection_id":187708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4f9"} 
[2026-09-18 20:18:15] local.INFO: Extracted packet for processing {"connection_id":187708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4f9"} 
[2026-09-18 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":37,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174117632001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789742668000,"timestamp_ms":1789742668000,"timestamp_seconds":1789742668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4f9d8e0"} 
[2026-09-18 20:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3036125864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4164859905,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2880438315,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2952867098,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2802515968,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,167,160,52,45,64,171,43,37,10,66,226,36,144,1,240,14,227,180,31,4,113,205,236,142,176,32,239,49,2,76,7,120],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 20:18:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098651503418671104,"timestamp_seconds":3098651503418671.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:18:15] 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-09-18 20:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174117632001,"66":12515,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174117632001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:18:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174117632001,"power":12515,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":187708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:18:16] local.INFO: GPS data processed {"connection_id":187708,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:18:16] local.INFO: Acknowledgment sent {"connection_id":187708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:18:16] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:18:16] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:18:16] local.INFO: IMEI packet received {"connection_id":187709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":187709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:18:18] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:18] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:18] local.INFO: Packet analysis {"connection_id":187709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:18] local.INFO: Extracted packet for processing {"connection_id":187709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:18:18] 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-09-18 20:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":187709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:18:18] local.INFO: GPS data processed {"connection_id":187709,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:18:18] local.INFO: Acknowledgment sent {"connection_id":187709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:18:23] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:23] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:23] local.INFO: Packet analysis {"connection_id":187709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:23] local.INFO: Extracted packet for processing {"connection_id":187709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:18:23] 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-09-18 20:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":187709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:18:23] local.INFO: GPS data processed {"connection_id":187709,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:18:23] local.INFO: Acknowledgment sent {"connection_id":187709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:18:47] local.INFO: TCP Data received {"connection_id":187708,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa2ae8012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa2ae8012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:18:47] local.INFO: Processing buffer {"connection_id":187708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa2ae8012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:18:47] local.INFO: Packet analysis {"connection_id":187708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:47] local.INFO: Extracted packet for processing {"connection_id":187708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":35,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174123008001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789742689000,"timestamp_ms":1789742689000,"timestamp_seconds":1789742689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa2ae8"} 
[2026-09-18 20:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 20:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:18:47] 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-09-18 20:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174123008001,"66":12537,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174123008001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:18:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174123008001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":187708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:18:47] local.INFO: GPS data processed {"connection_id":187708,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:18:47] local.INFO: Acknowledgment sent {"connection_id":187708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:18:56] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:56] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:18:56] local.INFO: Packet analysis {"connection_id":187709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:56] local.INFO: Extracted packet for processing {"connection_id":187709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 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-09-18 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 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-09-18 20:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":187709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:18:56] local.INFO: GPS data processed {"connection_id":187709,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:18:56] local.INFO: Acknowledgment sent {"connection_id":187709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:19:02] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:19:02] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:19:02] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:19:07] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:19:07] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:19:07] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:19:08] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa7cf0012d1a8e40071fabb0002b009f26..."} 
[2026-09-18 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa7cf0012d1a8e40071fabb0002b009f26..."} 
[2026-09-18 20:19:08] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa7cf0012d1a8e40071fabb0002b009f26..."} 
[2026-09-18 20:19:08] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:08] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174128384001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19: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-09-18 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742710000,"timestamp_ms":1789742710000,"timestamp_seconds":1789742710,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa7cf0"} 
[2026-09-18 20:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-18 20:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:19: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-09-18 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174128384001,"66":12526,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174128384001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:19:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174128384001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:19:08] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:19:08] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:19:11] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:19:11] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:19:11] local.INFO: IMEI packet received {"connection_id":186444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":186444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:19:12] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4facef8012d1a8e40071fabb0002b009f26..."} 
[2026-09-18 20:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4facef8012d1a8e40071fabb0002b009f26..."} 
[2026-09-18 20:19:12] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4facef8012d1a8e40071fabb0002b009f26..."} 
[2026-09-18 20:19:12] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:12] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174133760001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789742731000,"timestamp_ms":1789742731000,"timestamp_seconds":1789742731,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4facef8"} 
[2026-09-18 20:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 20:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:19:12] 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-09-18 20:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174133760001,"66":11721,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174133760001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:19:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174133760001,"power":11721,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:19:12] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:19:12] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:19:16] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:19:16] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:19:16] local.INFO: IMEI packet received {"connection_id":186444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":186444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:19:18] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:19:18] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:19:18] local.INFO: Packet analysis {"connection_id":186444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:18] local.INFO: Extracted packet for processing {"connection_id":186444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:19:18] 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-09-18 20:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":186444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:19:18] local.INFO: GPS data processed {"connection_id":186444,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:19:18] local.INFO: Acknowledgment sent {"connection_id":186444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:19:43] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fb2100012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fb2100012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:19:43] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fb2100012d1a8e40071fabb0002b009f25..."} 
[2026-09-18 20:19:43] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fb"} 
[2026-09-18 20:19:43] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fb"} 
[2026-09-18 20:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":37,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174139136001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789742752000,"timestamp_ms":1789742752000,"timestamp_seconds":1789742752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fb2100"} 
[2026-09-18 20:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-18 20:19: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-09-18 20:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:19:43] 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-09-18 20:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174139136001,"66":12515,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174139136001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:19:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174139136001,"power":12515,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:19:43] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:19:43] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:19:50] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:19:50] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:19:50] local.INFO: Packet analysis {"connection_id":186444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:50] local.INFO: Extracted packet for processing {"connection_id":186444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:19:50] 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-09-18 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":186444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:19:50] local.INFO: GPS data processed {"connection_id":186444,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:19:50] local.INFO: Acknowledgment sent {"connection_id":186444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:20:00] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:00] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:00] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:20:03] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:03] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:03] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:20:07] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:07] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:20:07] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:20:08] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fb7308012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fb7308012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:20:08] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fb7308012d1a8e40071fabb0002b009f28..."} 
[2026-09-18 20:20:08] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fb"} 
[2026-09-18 20:20:08] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fb"} 
[2026-09-18 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174144512001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20: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-09-18 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742773000,"timestamp_ms":1789742773000,"timestamp_seconds":1789742773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fb7308"} 
[2026-09-18 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 20:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:20: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-09-18 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174144512001,"66":12461,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174144512001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:20:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174144512001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:20:08] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:20:08] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:20:11] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:20:11] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:20:11] local.INFO: IMEI packet received {"connection_id":186300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":186300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:20:16] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:20:16] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:20:16] local.INFO: IMEI packet received {"connection_id":186300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":186300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:20:18] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:20:18] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fa4258012d34c58006aa40300000011724..."} 
[2026-09-18 20:20:18] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:20:18] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fa"} 
[2026-09-18 20:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174052864001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742695000,"timestamp_ms":1789742695000,"timestamp_seconds":1789742695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fa4258"} 
[2026-09-18 20:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-18 20:20:18] 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-09-18 20:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174052864001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174052864001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:20:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174052864001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:20:18] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:20:18] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:20:39] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fbc510012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fbc510012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:20:39] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fbc510012d1a8e40071fabb0002b009f23..."} 
[2026-09-18 20:20:39] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fb"} 
[2026-09-18 20:20:39] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fb"} 
[2026-09-18 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":35,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174149888001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789742794000,"timestamp_ms":1789742794000,"timestamp_seconds":1789742794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fbc510"} 
[2026-09-18 20:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-18 20:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:20:39] 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-09-18 20:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174149888001,"66":12504,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174149888001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174149888001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:20:39] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:20:39] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:20:50] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:20:50] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:20:50] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:20:50] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:20:50] 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-09-18 20:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:20:50] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:20:50] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:21:02] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:02] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:02] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:21:03] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:03] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:03] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:21:07] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:07] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:21:07] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:21:08] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4fc1718012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4fc1718012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:21:08] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4fc1718012d1a8e40071fabb0002b009f24..."} 
[2026-09-18 20:21:08] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fc"} 
[2026-09-18 20:21:08] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fc"} 
[2026-09-18 20:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174155264001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21: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-09-18 20:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789742815000,"timestamp_ms":1789742815000,"timestamp_seconds":1789742815,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4fc1718"} 
[2026-09-18 20:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 20:21: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-09-18 20:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:21: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-09-18 20:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174155264001,"66":12504,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174155264001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:21:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174155264001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:21:08] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:21:08] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:21:16] local.INFO: TCP Data received {"connection_id":186302,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:21:16] local.INFO: Processing buffer {"connection_id":186302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:21:16] local.INFO: IMEI packet received {"connection_id":186302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":186302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:21:21] local.INFO: TCP Data received {"connection_id":186302,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:21:21] local.INFO: Processing buffer {"connection_id":186302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:21:21] local.INFO: IMEI packet received {"connection_id":186302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":186302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:21:22] local.INFO: TCP Data received {"connection_id":186302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:21:22] local.INFO: Processing buffer {"connection_id":186302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:21:22] local.INFO: Packet analysis {"connection_id":186302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:21:22] local.INFO: Extracted packet for processing {"connection_id":186302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:21:22] 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-09-18 20: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-09-18 20:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":186302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:21:22] local.INFO: GPS data processed {"connection_id":186302,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:21:22] local.INFO: Acknowledgment sent {"connection_id":186302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:21:27] local.INFO: TCP Data received {"connection_id":186302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:21:27] local.INFO: Processing buffer {"connection_id":186302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:21:27] local.INFO: Packet analysis {"connection_id":186302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:21:27] local.INFO: Extracted packet for processing {"connection_id":186302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:21:27] 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-09-18 20:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:21:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:21:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":186302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:21:27] local.INFO: GPS data processed {"connection_id":186302,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:21:27] local.INFO: Acknowledgment sent {"connection_id":186302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:21:39] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ff9d70012d1a8e40071fabb0002b009f22..."} 
[2026-09-18 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ff9d70012d1a8e40071fabb0002b009f22..."} 
[2026-09-18 20:21:39] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ff9d70012d1a8e40071fabb0002b009f22..."} 
[2026-09-18 20:21:39] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ff"} 
[2026-09-18 20:21:39] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ff"} 
[2026-09-18 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119516080,"longitude_deg":75.6715072,"latitude_deg":11.951608,"altitude":43,"angle":159,"satellites":34,"speed":0,"hex_longitude":"2d1a8e40","hex_latitude":"071fabb0","is_valid_coordinates":true} 
[2026-09-18 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174214400001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575763916488704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743046000,"timestamp_ms":1789743046000,"timestamp_seconds":1789743046,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ff9d70"} 
[2026-09-18 20:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-18 20:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:21:39] 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-09-18 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174214400001,"66":13537,"101":206,"83":41984,"24":0,"16":21575763916488704,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174214400001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575763916488704,"km_value":21575763916488.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174214400001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:21:39] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:21:39] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:22:00] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:22:00] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:22:00] local.INFO: IMEI packet received {"connection_id":187710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":187710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:22:02] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:22:02] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:22:02] local.INFO: IMEI packet received {"connection_id":189045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":189045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:22:07] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:22:07] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:22:07] local.INFO: IMEI packet received {"connection_id":189045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":189045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:22:08] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4ffa540012d1a8f80071fac100034008021..."} 
[2026-09-18 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4ffa540012d1a8f80071fac100034008021..."} 
[2026-09-18 20:22:08] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4ffa540012d1a8f80071fac100034008021..."} 
[2026-09-18 20:22:08] local.INFO: Packet analysis {"connection_id":189045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4ff"} 
[2026-09-18 20:22:08] local.INFO: Extracted packet for processing {"connection_id":189045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4ff"} 
[2026-09-18 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756715392,"raw_latitude":119516176,"longitude_deg":75.6715392,"latitude_deg":11.9516176,"altitude":52,"angle":128,"satellites":33,"speed":7,"hex_longitude":"2d1a8f80","hex_latitude":"071fac10","is_valid_coordinates":true} 
[2026-09-18 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174219776001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21575781096357888,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291019333632,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22: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-09-18 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743048000,"timestamp_ms":1789743048000,"timestamp_seconds":1789743048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4ffa540"} 
[2026-09-18 20:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 20:22:08] 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-09-18 20:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:22: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-09-18 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174219776001,"66":13493,"101":206,"83":41984,"24":7,"16":21575781096357888,"45":1913537291019333632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174219776001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:22:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21575781096357888,"km_value":21575781096357.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291019333632,"description":"Unknown IO ID 45"} 
[2026-09-18 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174219776001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1913537291019333632}} 
[2026-09-18 20:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":189045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:22:09] local.INFO: GPS data processed {"connection_id":189045,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:22:09] local.INFO: Acknowledgment sent {"connection_id":189045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:22:11] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:22:11] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:22:11] local.INFO: IMEI packet received {"connection_id":186446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":186446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:22:16] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:22:16] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:22:16] local.INFO: IMEI packet received {"connection_id":186446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:22:17] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:22:17] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:22:17] local.INFO: Packet analysis {"connection_id":186446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:22:17] local.INFO: Extracted packet for processing {"connection_id":186446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:22:17] 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-09-18 20:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":186446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:22:17] local.INFO: GPS data processed {"connection_id":186446,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:22:17] local.INFO: Acknowledgment sent {"connection_id":186446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:22:40] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5002a10012d1ac980071f85880032005728..."} 
[2026-09-18 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5002a10012d1ac980071f85880032005728..."} 
[2026-09-18 20:22:40] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5002a10012d1ac980071f85880032005728..."} 
[2026-09-18 20:22:40] local.INFO: Packet analysis {"connection_id":189045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b500"} 
[2026-09-18 20:22:40] local.INFO: Extracted packet for processing {"connection_id":189045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b500"} 
[2026-09-18 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756730240,"raw_latitude":119506312,"longitude_deg":75.673024,"latitude_deg":11.9506312,"altitude":50,"angle":87,"satellites":40,"speed":12,"hex_longitude":"2d1ac980","hex_latitude":"071f8588","is_valid_coordinates":true} 
[2026-09-18 20:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174228480001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21576713104261120,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929722102177697792,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789743082000,"timestamp_ms":1789743082000,"timestamp_seconds":1789743082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5002a10"} 
[2026-09-18 20:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-18 20:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:22:40] 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-09-18 20:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174228480001,"66":13537,"101":206,"83":41984,"24":12,"16":21576713104261120,"45":1929722102177697792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174228480001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:22:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21576713104261120,"km_value":21576713104261.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929722102177697792,"description":"Unknown IO ID 45"} 
[2026-09-18 20:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174228480001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1929722102177697792}} 
[2026-09-18 20:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":189045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:22:40] local.INFO: GPS data processed {"connection_id":189045,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:22:40] local.INFO: Acknowledgment sent {"connection_id":189045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:22:49] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:22:49] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:22:49] local.INFO: Packet analysis {"connection_id":186446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:22:49] local.INFO: Extracted packet for processing {"connection_id":186446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:22:49] 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-09-18 20:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":186446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:22:49] local.INFO: GPS data processed {"connection_id":186446,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:22:49] local.INFO: Acknowledgment sent {"connection_id":186446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:23:02] local.INFO: TCP Data received {"connection_id":186303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:02] local.INFO: Processing buffer {"connection_id":186303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:02] local.INFO: IMEI packet received {"connection_id":186303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":186303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:23:06] local.INFO: TCP Data received {"connection_id":186303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:06] local.INFO: Processing buffer {"connection_id":186303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:06] local.INFO: IMEI packet received {"connection_id":186303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":186303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:23:07] local.INFO: TCP Data received {"connection_id":186303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:07] local.INFO: Processing buffer {"connection_id":186303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:23:07] local.INFO: IMEI packet received {"connection_id":186303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":186303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:23:08] local.INFO: TCP Data received {"connection_id":186303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5007c18012d1ae680071f86100031005c27..."} 
[2026-09-18 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5007c18012d1ae680071f86100031005c27..."} 
[2026-09-18 20:23:08] local.INFO: Processing buffer {"connection_id":186303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5007c18012d1ae680071f86100031005c27..."} 
[2026-09-18 20:23:08] local.INFO: Packet analysis {"connection_id":186303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b500"} 
[2026-09-18 20:23:08] local.INFO: Extracted packet for processing {"connection_id":186303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b500"} 
[2026-09-18 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756737664,"raw_latitude":119506448,"longitude_deg":75.6737664,"latitude_deg":11.9506448,"altitude":49,"angle":92,"satellites":39,"speed":9,"hex_longitude":"2d1ae680","hex_latitude":"071f8610","is_valid_coordinates":true} 
[2026-09-18 20:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174228992001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21577065291579392,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930214683386939392,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23: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-09-18 20:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743103000,"timestamp_ms":1789743103000,"timestamp_seconds":1789743103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5007c18"} 
[2026-09-18 20:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-18 20:23:08] 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-09-18 20:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:23: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-09-18 20:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174228992001,"66":13526,"101":206,"83":41984,"24":9,"16":21577065291579392,"45":1930214683386939392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174228992001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:23:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21577065291579392,"km_value":21577065291579.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930214683386939392,"description":"Unknown IO ID 45"} 
[2026-09-18 20:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174228992001,"power":13526,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1930214683386939392}} 
[2026-09-18 20:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":186303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:23:08] local.INFO: GPS data processed {"connection_id":186303,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:23:08] local.INFO: Acknowledgment sent {"connection_id":186303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:23:12] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:23:12] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:23:12] local.INFO: IMEI packet received {"connection_id":189046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":189046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:23:13] local.INFO: TCP Data received {"connection_id":186303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5009388012d1aeac0071f86900033004827..."} 
[2026-09-18 20:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5009388012d1aeac0071f86900033004827..."} 
[2026-09-18 20:23:13] local.INFO: Processing buffer {"connection_id":186303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5009388012d1aeac0071f86900033004827..."} 
[2026-09-18 20:23:13] local.INFO: Packet analysis {"connection_id":186303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b500"} 
[2026-09-18 20:23:13] local.INFO: Extracted packet for processing {"connection_id":186303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b500"} 
[2026-09-18 20:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756738752,"raw_latitude":119506576,"longitude_deg":75.6738752,"latitude_deg":11.9506576,"altitude":51,"angle":72,"satellites":39,"speed":6,"hex_longitude":"2d1aeac0","hex_latitude":"071f8690","is_valid_coordinates":true} 
[2026-09-18 20:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174234368001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21577116831186944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938377457711583232,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789743109000,"timestamp_ms":1789743109000,"timestamp_seconds":1789743109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5009388"} 
[2026-09-18 20:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:23: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-09-18 20: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-18 20:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:23:13] 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-09-18 20:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174234368001,"66":13472,"101":206,"83":41984,"24":6,"16":21577116831186944,"45":1938377457711583232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174234368001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:23:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21577116831186944,"km_value":21577116831186.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938377457711583232,"description":"Unknown IO ID 45"} 
[2026-09-18 20:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174234368001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1938377457711583232}} 
[2026-09-18 20:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":186303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:23:13] local.INFO: GPS data processed {"connection_id":186303,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:23:13] local.INFO: Acknowledgment sent {"connection_id":186303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:23:16] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:23:16] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:23:16] local.INFO: IMEI packet received {"connection_id":189046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":189046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:23:18] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:23:18] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:23:18] local.INFO: Packet analysis {"connection_id":189046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:23:18] local.INFO: Extracted packet for processing {"connection_id":189046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:23:18] 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-09-18 20:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":189046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:23:18] local.INFO: GPS data processed {"connection_id":189046,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:23:18] local.INFO: Acknowledgment sent {"connection_id":189046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:23:44] local.INFO: TCP Data received {"connection_id":186303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5019940012d1b4b40071f7d30003b008229..."} 
[2026-09-18 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5019940012d1b4b40071f7d30003b008229..."} 
[2026-09-18 20:23:44] local.INFO: Processing buffer {"connection_id":186303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5019940012d1b4b40071f7d30003b008229..."} 
[2026-09-18 20:23:44] local.INFO: Packet analysis {"connection_id":186303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:23:44] local.INFO: Extracted packet for processing {"connection_id":186303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756763456,"raw_latitude":119504176,"longitude_deg":75.6763456,"latitude_deg":11.9504176,"altitude":59,"angle":130,"satellites":41,"speed":14,"hex_longitude":"2d1b4b40","hex_latitude":"071f7d30","is_valid_coordinates":true} 
[2026-09-18 20:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174252800001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21578409616343040,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966384217893767168,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789743176000,"timestamp_ms":1789743176000,"timestamp_seconds":1789743176,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5019940"} 
[2026-09-18 20:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:23: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-09-18 20:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 20:23: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-09-18 20:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:23:44] 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-09-18 20:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174252800001,"66":13472,"101":206,"83":41984,"24":14,"16":21578409616343040,"45":1966384217893767168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174252800001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:23:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21578409616343040,"km_value":21578409616343.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966384217893767168,"description":"Unknown IO ID 45"} 
[2026-09-18 20:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174252800001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1966384217893767168}} 
[2026-09-18 20:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":186303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:23:44] local.INFO: GPS data processed {"connection_id":186303,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:23:44] local.INFO: Acknowledgment sent {"connection_id":186303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:23:50] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:23:50] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:23:50] local.INFO: Packet analysis {"connection_id":189046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:23:50] local.INFO: Extracted packet for processing {"connection_id":189046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:23:50] 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-09-18 20:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":189046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:23:50] local.INFO: GPS data processed {"connection_id":189046,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:23:50] local.INFO: Acknowledgment sent {"connection_id":189046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:24:02] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:24:02] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:24:02] local.INFO: IMEI packet received {"connection_id":187711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":187711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:24:07] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:24:07] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:24:07] local.INFO: IMEI packet received {"connection_id":187711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":187711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:24:08] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b501a4f8012d1b4e80071f7910003b008e2b..."} 
[2026-09-18 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b501a4f8012d1b4e80071f7910003b008e2b..."} 
[2026-09-18 20:24:08] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b501a4f8012d1b4e80071f7910003b008e2b..."} 
[2026-09-18 20:24:08] local.INFO: Packet analysis {"connection_id":187711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:24:08] local.INFO: Extracted packet for processing {"connection_id":187711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756764288,"raw_latitude":119503120,"longitude_deg":75.6764288,"latitude_deg":11.950312,"altitude":59,"angle":142,"satellites":43,"speed":17,"hex_longitude":"2d1b4e80","hex_latitude":"071f7910","is_valid_coordinates":true} 
[2026-09-18 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174253056001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21578474040852480,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966736061614600192,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24: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-09-18 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743179000,"timestamp_ms":1789743179000,"timestamp_seconds":1789743179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b501a4f8"} 
[2026-09-18 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-18 20:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:24: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-09-18 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174253056001,"66":12809,"101":206,"83":41984,"24":17,"16":21578474040852480,"45":1966736061614600192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174253056001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:24:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21578474040852480,"km_value":21578474040852.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966736061614600192,"description":"Unknown IO ID 45"} 
[2026-09-18 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174253056001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1966736061614600192}} 
[2026-09-18 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":187711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:24:08] local.INFO: GPS data processed {"connection_id":187711,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:24:08] local.INFO: Acknowledgment sent {"connection_id":187711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:24:11] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:24:11] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:24:11] local.INFO: IMEI packet received {"connection_id":189047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":189047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:24:16] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:24:16] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:24:16] local.INFO: IMEI packet received {"connection_id":189047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":189047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:24:18] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:24:18] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:24:18] local.INFO: Packet analysis {"connection_id":189047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:24:18] local.INFO: Extracted packet for processing {"connection_id":189047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:24:18] 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-09-18 20:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":189047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:24:18] local.INFO: GPS data processed {"connection_id":189047,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:24:18] local.INFO: Acknowledgment sent {"connection_id":189047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:24:39] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b501b880012d1b5340071f7190003b009c29..."} 
[2026-09-18 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b501b880012d1b5340071f7190003b009c29..."} 
[2026-09-18 20:24:39] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b501b880012d1b5340071f7190003b009c29..."} 
[2026-09-18 20:24:39] local.INFO: Packet analysis {"connection_id":187711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:24:39] local.INFO: Extracted packet for processing {"connection_id":187711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756765504,"raw_latitude":119501200,"longitude_deg":75.6765504,"latitude_deg":11.95012,"altitude":59,"angle":156,"satellites":41,"speed":14,"hex_longitude":"2d1b5340","hex_latitude":"071f7190","is_valid_coordinates":true} 
[2026-09-18 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174253824001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21578585710002176,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967650855288639488,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743184000,"timestamp_ms":1789743184000,"timestamp_seconds":1789743184,"priority":1,"record_length":96,"hex_timestamp":"000001a0b501b880"} 
[2026-09-18 20:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1224979098812548096,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3036771864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":181,"raw_value":103099011365026816,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3489738011,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2147950458,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407160,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2841116672,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2266920298529965608,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-8790800555652886957,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:39] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,169,160,153,45,64,125,59,41,10,66,149,126,145,192,1,240,181,227,31,4,113,205,15,129,67,128,239,52,2,76,7,57,18,49,164,73],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 20:24:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251554363573600256,"timestamp_seconds":4251554363573600.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:24:39] 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-09-18 20:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174253824001,"66":13580,"101":206,"83":41984,"24":14,"16":21578585710002176,"45":1967650855288639488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174253824001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21578585710002176,"km_value":21578585710002.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967650855288639488,"description":"Unknown IO ID 45"} 
[2026-09-18 20:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174253824001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1967650855288639488}} 
[2026-09-18 20:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":187711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:24:39] local.INFO: GPS data processed {"connection_id":187711,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:24:39] local.INFO: Acknowledgment sent {"connection_id":187711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:24:49] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:24:49] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:24:49] local.INFO: Packet analysis {"connection_id":189047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:24:49] local.INFO: Extracted packet for processing {"connection_id":189047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:24:49] 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-09-18 20:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":189047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:24:49] local.INFO: GPS data processed {"connection_id":189047,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:24:49] local.INFO: Acknowledgment sent {"connection_id":189047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:25:04] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:04] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:04] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:25:07] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:07] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:07] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:25:11] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:25:11] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:25:11] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:25:12] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:12] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:12] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:25:13] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b501c820012d1b5580071f6da0003b008627..."} 
[2026-09-18 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b501c820012d1b5580071f6da0003b008627..."} 
[2026-09-18 20:25:13] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b501c820012d1b5580071f6da0003b008627..."} 
[2026-09-18 20:25:13] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:25:13] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756766080,"raw_latitude":119500192,"longitude_deg":75.676608,"latitude_deg":11.9500192,"altitude":59,"angle":134,"satellites":39,"speed":8,"hex_longitude":"2d1b5580","hex_latitude":"071f6da0","is_valid_coordinates":true} 
[2026-09-18 20:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174255104001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21578641544577024,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968987861427523584,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789743188000,"timestamp_ms":1789743188000,"timestamp_seconds":1789743188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b501c820"} 
[2026-09-18 20:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:25: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-09-18 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533225,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3036774864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275780709,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147950461,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2842099712,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4557650654626054201,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-8790800555652886957,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,169,160,164,45,128,121,59,43,10,66,153,64,125,41,149,1,240,227,181,31,4,113,205,14,141,71,40,239,52,2,76,7,57,17,27,49],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-18 20:25:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251569748146257920,"timestamp_seconds":4251569748146258.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:25:13] 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-09-18 20:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174255104001,"66":13493,"101":206,"83":41984,"24":8,"16":21578641544577024,"45":1968987861427523584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174255104001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21578641544577024,"km_value":21578641544577.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968987861427523584,"description":"Unknown IO ID 45"} 
[2026-09-18 20:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174255104001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1968987861427523584}} 
[2026-09-18 20:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:25:13] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:25:13] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:25:13] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b501cc08012d1b5640071f6d40003b006a26..."} 
[2026-09-18 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b501cc08012d1b5640071f6d40003b006a26..."} 
[2026-09-18 20:25:13] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b501cc08012d1b5640071f6d40003b006a26..."} 
[2026-09-18 20:25:13] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:25:13] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b501"} 
[2026-09-18 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119500096,"longitude_deg":75.6766272,"latitude_deg":11.9500096,"altitude":59,"angle":106,"satellites":38,"speed":8,"hex_longitude":"2d1b5640","hex_latitude":"071f6d40","is_valid_coordinates":true} 
[2026-09-18 20:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174256128001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21578654429478912,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180124864512,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789743189000,"timestamp_ms":1789743189000,"timestamp_seconds":1789743189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b501cc08"} 
[2026-09-18 20:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 20:25:13] 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-09-18 20:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:25:13] 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-09-18 20:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174256128001,"66":13450,"101":206,"83":41984,"24":8,"16":21578654429478912,"45":1969621180124864512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174256128001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21578654429478912,"km_value":21578654429478.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180124864512,"description":"Unknown IO ID 45"} 
[2026-09-18 20:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174256128001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1969621180124864512}} 
[2026-09-18 20:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:25:13] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:25:13] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:25:16] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:25:16] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:25:16] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:25:18] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:25:18] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b4feda20012d34c58006aa4030000e011726..."} 
[2026-09-18 20:25:18] local.INFO: Packet analysis {"connection_id":186304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:25:18] local.INFO: Extracted packet for processing {"connection_id":186304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b4fe"} 
[2026-09-18 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174129920001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789742996000,"timestamp_ms":1789742996000,"timestamp_seconds":1789742996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b4feda20"} 
[2026-09-18 20:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:25:18] 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-09-18 20:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174129920001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174129920001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174129920001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":186304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:25:18] local.INFO: GPS data processed {"connection_id":186304,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:25:18] local.INFO: Acknowledgment sent {"connection_id":186304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:25:44] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5033f20012d1b77c0071f6ec8003a00e128..."} 
[2026-09-18 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5033f20012d1b77c0071f6ec8003a00e128..."} 
[2026-09-18 20:25:44] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5033f20012d1b77c0071f6ec8003a00e128..."} 
[2026-09-18 20:25:44] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:25:44] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756774848,"raw_latitude":119500488,"longitude_deg":75.6774848,"latitude_deg":11.9500488,"altitude":58,"angle":225,"satellites":40,"speed":1,"hex_longitude":"2d1b77c0","hex_latitude":"071f6ec8","is_valid_coordinates":true} 
[2026-09-18 20:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174280192001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21579109696012288,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979332066821478400,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789743284000,"timestamp_ms":1789743284000,"timestamp_seconds":1789743284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5033f20"} 
[2026-09-18 20:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-18 20:25:44] 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-09-18 20:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:25:44] 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-09-18 20:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174280192001,"66":13015,"101":206,"83":41984,"24":1,"16":21579109696012288,"45":1979332066821478400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174280192001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:25:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21579109696012288,"km_value":21579109696012.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979332066821478400,"description":"Unknown IO ID 45"} 
[2026-09-18 20:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174280192001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1979332066821478400}} 
[2026-09-18 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:25:45] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:25:45] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:25:50] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:25:50] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:25:50] local.INFO: Packet analysis {"connection_id":186304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:25:50] local.INFO: Extracted packet for processing {"connection_id":186304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:25:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":186304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:25:50] local.INFO: GPS data processed {"connection_id":186304,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:25:50] local.INFO: Acknowledgment sent {"connection_id":186304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:25:59] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:59] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:25:59] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:26:02] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:26:02] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:26:02] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:26:07] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:26:07] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:26:07] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:26:08] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50375d0012d1b7680071f6ed0003a010829..."} 
[2026-09-18 20:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50375d0012d1b7680071f6ed0003a010829..."} 
[2026-09-18 20:26:08] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50375d0012d1b7680071f6ed0003a010829..."} 
[2026-09-18 20:26:08] local.INFO: Packet analysis {"connection_id":186305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:26:08] local.INFO: Extracted packet for processing {"connection_id":186305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119500496,"longitude_deg":75.6774528,"latitude_deg":11.9500496,"altitude":58,"angle":264,"satellites":41,"speed":2,"hex_longitude":"2d1b7680","hex_latitude":"071f6ed0","is_valid_coordinates":true} 
[2026-09-18 20:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174280704001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21579122580914176,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979261698077280256,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26: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-09-18 20:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743298000,"timestamp_ms":1789743298000,"timestamp_seconds":1789743298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50375d0"} 
[2026-09-18 20:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 20:26: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-09-18 20:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:26: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-09-18 20:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174280704001,"66":13526,"101":206,"83":41984,"24":2,"16":21579122580914176,"45":1979261698077280256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174280704001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:26:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21579122580914176,"km_value":21579122580914.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979261698077280256,"description":"Unknown IO ID 45"} 
[2026-09-18 20:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174280704001,"power":13526,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1979261698077280256}} 
[2026-09-18 20:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":186305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:26:08] local.INFO: GPS data processed {"connection_id":186305,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:26:08] local.INFO: Acknowledgment sent {"connection_id":186305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:26:11] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:26:11] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:26:11] local.INFO: IMEI packet received {"connection_id":189048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":189048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:26:16] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:26:16] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:26:16] local.INFO: IMEI packet received {"connection_id":189048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":189048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:26:17] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:26:17] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:26:17] local.INFO: Packet analysis {"connection_id":189048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:26:17] local.INFO: Extracted packet for processing {"connection_id":189048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":189048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:26:17] local.INFO: GPS data processed {"connection_id":189048,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:26:17] local.INFO: Acknowledgment sent {"connection_id":189048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:26:39] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5045478012d1b3d40071f75d8004000f72e..."} 
[2026-09-18 20:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5045478012d1b3d40071f75d8004000f72e..."} 
[2026-09-18 20:26:39] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5045478012d1b3d40071f75d8004000f72e..."} 
[2026-09-18 20:26:39] local.INFO: Packet analysis {"connection_id":186305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b504"} 
[2026-09-18 20:26:39] local.INFO: Extracted packet for processing {"connection_id":186305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b504"} 
[2026-09-18 20:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756759872,"raw_latitude":119502296,"longitude_deg":75.6759872,"latitude_deg":11.9502296,"altitude":64,"angle":247,"satellites":46,"speed":23,"hex_longitude":"2d1b3d40","hex_latitude":"071f75d8","is_valid_coordinates":true} 
[2026-09-18 20:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174297600001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21579960099536896,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965328686731001856,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743355000,"timestamp_ms":1789743355000,"timestamp_seconds":1789743355,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5045478"} 
[2026-09-18 20:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-18 20:26:39] 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-09-18 20:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:26:39] 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-09-18 20:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174297600001,"66":13417,"101":206,"83":41984,"24":23,"16":21579960099536896,"45":1965328686731001856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174297600001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21579960099536896,"km_value":21579960099536.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965328686731001856,"description":"Unknown IO ID 45"} 
[2026-09-18 20:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174297600001,"power":13417,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1965328686731001856}} 
[2026-09-18 20:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":186305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:26:39] local.INFO: GPS data processed {"connection_id":186305,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:26:39] local.INFO: Acknowledgment sent {"connection_id":186305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:26:49] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:26:49] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:26:49] local.INFO: Packet analysis {"connection_id":189048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:26:49] local.INFO: Extracted packet for processing {"connection_id":189048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":189048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:26:49] local.INFO: GPS data processed {"connection_id":189048,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:26:49] local.INFO: Acknowledgment sent {"connection_id":189048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:27:00] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:00] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:00] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:27:03] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:03] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:03] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:27:03] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:03] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:03] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:27:04] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:04] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:27:04] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:27:05] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5045c48012d1b38c0071f74c00040010a2e..."} 
[2026-09-18 20:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5045c48012d1b38c0071f74c00040010a2e..."} 
[2026-09-18 20:27:05] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5045c48012d1b38c0071f74c00040010a2e..."} 
[2026-09-18 20:27:05] local.INFO: Packet analysis {"connection_id":186306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b504"} 
[2026-09-18 20:27:05] local.INFO: Extracted packet for processing {"connection_id":186306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b504"} 
[2026-09-18 20:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756758720,"raw_latitude":119502016,"longitude_deg":75.675872,"latitude_deg":11.9502016,"altitude":64,"angle":266,"satellites":46,"speed":21,"hex_longitude":"2d1b38c0","hex_latitude":"071f74c0","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174298880001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21580020229079040,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962795411940169728,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789743357000,"timestamp_ms":1789743357000,"timestamp_seconds":1789743357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5045c48"} 
[2026-09-18 20:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-18 20:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:27:05] 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-09-18 20:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174298880001,"66":12841,"101":206,"83":41984,"24":21,"16":21580020229079040,"45":1962795411940169728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174298880001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:27:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21580020229079040,"km_value":21580020229079.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962795411940169728,"description":"Unknown IO ID 45"} 
[2026-09-18 20:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174298880001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1962795411940169728}} 
[2026-09-18 20:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":186306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:27:05] local.INFO: GPS data processed {"connection_id":186306,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:27:05] local.INFO: Acknowledgment sent {"connection_id":186306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:27:11] local.INFO: TCP Data received {"connection_id":189049,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:27:11] local.INFO: Processing buffer {"connection_id":189049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:27:11] local.INFO: IMEI packet received {"connection_id":189049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":189049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:27:17] local.INFO: TCP Data received {"connection_id":189049,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:27:17] local.INFO: Processing buffer {"connection_id":189049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:27:17] local.INFO: IMEI packet received {"connection_id":189049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":189049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:27:18] local.INFO: TCP Data received {"connection_id":189049,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:27:18] local.INFO: Processing buffer {"connection_id":189049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:27:18] local.INFO: Packet analysis {"connection_id":189049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:27:18] local.INFO: Extracted packet for processing {"connection_id":189049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":189049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:27:18] local.INFO: GPS data processed {"connection_id":189049,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:27:18] local.INFO: Acknowledgment sent {"connection_id":189049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:27:35] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:27:35] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:27:35] local.INFO: IMEI packet received {"connection_id":186447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":186447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:27:35] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5046800012d1b3240071f74d8004001152e..."} 
[2026-09-18 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5046800012d1b3240071f74d8004001152e..."} 
[2026-09-18 20:27:35] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5046800012d1b3240071f74d8004001152e..."} 
[2026-09-18 20:27:35] local.INFO: Packet analysis {"connection_id":186306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b504"} 
[2026-09-18 20:27:35] local.INFO: Extracted packet for processing {"connection_id":186306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b504"} 
[2026-09-18 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756757056,"raw_latitude":119502040,"longitude_deg":75.6757056,"latitude_deg":11.950204,"altitude":64,"angle":277,"satellites":46,"speed":23,"hex_longitude":"2d1b3240","hex_latitude":"071f74d8","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174299392001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21580097538490368,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961528774544900096,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789743360000,"timestamp_ms":1789743360000,"timestamp_seconds":1789743360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5046800"} 
[2026-09-18 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:27:35] 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-09-18 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174299392001,"66":13461,"101":206,"83":41984,"24":23,"16":21580097538490368,"45":1961528774544900096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174299392001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:27:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21580097538490368,"km_value":21580097538490.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961528774544900096,"description":"Unknown IO ID 45"} 
[2026-09-18 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174299392001,"power":13461,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1961528774544900096}} 
[2026-09-18 20:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":186306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:27:36] local.INFO: GPS data processed {"connection_id":186306,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:27:36] local.INFO: Acknowledgment sent {"connection_id":186306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:27:50] local.INFO: TCP Data received {"connection_id":189049,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:27:50] local.INFO: Processing buffer {"connection_id":189049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:27:50] local.INFO: Packet analysis {"connection_id":189049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:27:50] local.INFO: Extracted packet for processing {"connection_id":189049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":189049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:27:50] local.INFO: GPS data processed {"connection_id":189049,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:27:50] local.INFO: Acknowledgment sent {"connection_id":189049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:28:02] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:28:02] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:28:02] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:28:06] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:28:06] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:28:06] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:28:07] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50569d0012d1ac440071f8fe0003a014a2a..."} 
[2026-09-18 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50569d0012d1ac440071f8fe0003a014a2a..."} 
[2026-09-18 20:28:07] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50569d0012d1ac440071f8fe0003a014a2a..."} 
[2026-09-18 20:28:07] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b505"} 
[2026-09-18 20:28:07] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b505"} 
[2026-09-18 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119508960,"longitude_deg":75.6728896,"latitude_deg":11.950896,"altitude":58,"angle":330,"satellites":42,"speed":22,"hex_longitude":"2d1ac440","hex_latitude":"071f8fe0","is_valid_coordinates":true} 
[2026-09-18 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174316032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21581630841815040,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480289280,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789743426000,"timestamp_ms":1789743426000,"timestamp_seconds":1789743426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50569d0"} 
[2026-09-18 20:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-18 20:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:28:07] 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-09-18 20:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174316032001,"66":13559,"101":206,"83":41984,"24":22,"16":21581630841815040,"45":1929088783480289280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174316032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:28:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21581630841815040,"km_value":21581630841815.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480289280,"description":"Unknown IO ID 45"} 
[2026-09-18 20:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174316032001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1929088783480289280}} 
[2026-09-18 20:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:28:07] local.INFO: GPS data processed {"connection_id":186307,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:28:07] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:28:11] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:28:11] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:28:11] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:28:15] local.INFO: TCP Data received {"connection_id":186449,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:28:15] local.INFO: Processing buffer {"connection_id":186449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:28:15] local.INFO: IMEI packet received {"connection_id":186449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:28:16] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:28:16] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:28:16] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:28:17] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:28:17] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:28:17] local.INFO: Packet analysis {"connection_id":186450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:28:17] local.INFO: Extracted packet for processing {"connection_id":186450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":186450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:28:17] local.INFO: GPS data processed {"connection_id":186450,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:28:17] local.INFO: Acknowledgment sent {"connection_id":186450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:28:38] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5056db8012d1ac2c0071f9198003a01352a..."} 
[2026-09-18 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5056db8012d1ac2c0071f9198003a01352a..."} 
[2026-09-18 20:28:38] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5056db8012d1ac2c0071f9198003a01352a..."} 
[2026-09-18 20:28:38] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b505"} 
[2026-09-18 20:28:38] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b505"} 
[2026-09-18 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756728512,"raw_latitude":119509400,"longitude_deg":75.6728512,"latitude_deg":11.95094,"altitude":58,"angle":309,"satellites":42,"speed":24,"hex_longitude":"2d1ac2c0","hex_latitude":"071f9198","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174317056001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21581660906586112,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759886336,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789743427000,"timestamp_ms":1789743427000,"timestamp_seconds":1789743427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5056db8"} 
[2026-09-18 20:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-18 20:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:28:38] 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-09-18 20:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174317056001,"66":12841,"101":206,"83":41984,"24":24,"16":21581660906586112,"45":1928736939759886336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174317056001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:28:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21581660906586112,"km_value":21581660906586.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759886336,"description":"Unknown IO ID 45"} 
[2026-09-18 20:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174317056001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928736939759886336}} 
[2026-09-18 20:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:28:38] local.INFO: GPS data processed {"connection_id":186307,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:28:38] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:28:49] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:28:49] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:28:49] local.INFO: Packet analysis {"connection_id":186450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:28:49] local.INFO: Extracted packet for processing {"connection_id":186450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":186450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:28:49] local.INFO: GPS data processed {"connection_id":186450,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:28:49] local.INFO: Acknowledgment sent {"connection_id":186450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:29:02] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:02] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:02] local.INFO: IMEI packet received {"connection_id":187712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":187712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:29:05] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:05] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:05] local.INFO: IMEI packet received {"connection_id":187712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":187712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:29:07] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:07] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:29:07] local.INFO: IMEI packet received {"connection_id":187712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":187712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:29:08] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5063cc0012d1a2040071ff218002e011f2b..."} 
[2026-09-18 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5063cc0012d1a2040071ff218002e011f2b..."} 
[2026-09-18 20:29:08] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5063cc0012d1a2040071ff218002e011f2b..."} 
[2026-09-18 20:29:08] local.INFO: Packet analysis {"connection_id":187712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:29:08] local.INFO: Extracted packet for processing {"connection_id":187712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756686912,"raw_latitude":119534104,"longitude_deg":75.6686912,"latitude_deg":11.9534104,"altitude":46,"angle":287,"satellites":43,"speed":43,"hex_longitude":"2d1a2040","hex_latitude":"071ff218","is_valid_coordinates":true} 
[2026-09-18 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174328832001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584074678206464,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892356299025829888,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29: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-09-18 20:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743480000,"timestamp_ms":1789743480000,"timestamp_seconds":1789743480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5063cc0"} 
[2026-09-18 20:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 20:29: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-09-18 20:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:29: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-09-18 20:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174328832001,"66":13689,"101":206,"83":41984,"24":43,"16":21584074678206464,"45":1892356299025829888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174328832001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:29:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584074678206464,"km_value":21584074678206.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892356299025829888,"description":"Unknown IO ID 45"} 
[2026-09-18 20:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174328832001,"power":13689,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1892356299025829888}} 
[2026-09-18 20:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":187712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:29:08] local.INFO: GPS data processed {"connection_id":187712,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:29:08] local.INFO: Acknowledgment sent {"connection_id":187712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:29:11] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:29:11] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:29:11] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:29:13] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50667b8012d19fe00071ffbd0002d011f2c..."} 
[2026-09-18 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50667b8012d19fe00071ffbd0002d011f2c..."} 
[2026-09-18 20:29:13] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50667b8012d19fe00071ffbd0002d011f2c..."} 
[2026-09-18 20:29:13] local.INFO: Packet analysis {"connection_id":187712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:29:13] local.INFO: Extracted packet for processing {"connection_id":187712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756678144,"raw_latitude":119536592,"longitude_deg":75.6678144,"latitude_deg":11.9536592,"altitude":45,"angle":287,"satellites":44,"speed":33,"hex_longitude":"2d19fe00","hex_latitude":"071ffbd0","is_valid_coordinates":true} 
[2026-09-18 20:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174330880001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584508469903360,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882575043585775616,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789743491000,"timestamp_ms":1789743491000,"timestamp_seconds":1789743491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50667b8"} 
[2026-09-18 20:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:29: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-09-18 20:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-18 20:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:29:13] 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-09-18 20:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174330880001,"66":12993,"101":206,"83":41984,"24":33,"16":21584508469903360,"45":1882575043585775616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174330880001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:29:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584508469903360,"km_value":21584508469903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882575043585775616,"description":"Unknown IO ID 45"} 
[2026-09-18 20:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174330880001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1882575043585775616}} 
[2026-09-18 20:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":187712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:29:13] local.INFO: GPS data processed {"connection_id":187712,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:29:13] local.INFO: Acknowledgment sent {"connection_id":187712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:29:16] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:29:16] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:29:16] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:29:17] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:29:17] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:29:17] local.INFO: Packet analysis {"connection_id":186308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:29:17] local.INFO: Extracted packet for processing {"connection_id":186308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":186308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:29:17] local.INFO: GPS data processed {"connection_id":186308,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:29:17] local.INFO: Acknowledgment sent {"connection_id":186308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:29:44] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5066f88012d19f780071ffcf8002d010f28..."} 
[2026-09-18 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5066f88012d19f780071ffcf8002d010f28..."} 
[2026-09-18 20:29:44] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5066f88012d19f780071ffcf8002d010f28..."} 
[2026-09-18 20:29:44] local.INFO: Packet analysis {"connection_id":187712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:29:44] local.INFO: Extracted packet for processing {"connection_id":187712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756676480,"raw_latitude":119536888,"longitude_deg":75.667648,"latitude_deg":11.9536888,"altitude":45,"angle":271,"satellites":40,"speed":32,"hex_longitude":"2d19f780","hex_latitude":"071ffcf8","is_valid_coordinates":true} 
[2026-09-18 20:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174333696001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584590074281984,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872934525634072576,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789743493000,"timestamp_ms":1789743493000,"timestamp_seconds":1789743493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5066f88"} 
[2026-09-18 20:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 20:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:29:44] 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-09-18 20:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174333696001,"66":13048,"101":206,"83":41984,"24":32,"16":21584590074281984,"45":1872934525634072576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174333696001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:29:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584590074281984,"km_value":21584590074281.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872934525634072576,"description":"Unknown IO ID 45"} 
[2026-09-18 20:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174333696001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1872934525634072576}} 
[2026-09-18 20:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":187712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:29:44] local.INFO: GPS data processed {"connection_id":187712,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:29:44] local.INFO: Acknowledgment sent {"connection_id":187712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:29:48] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:29:48] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:29:48] local.INFO: Packet analysis {"connection_id":186308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:29:48] local.INFO: Extracted packet for processing {"connection_id":186308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:29: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-09-18 20: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":186308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:29:48] local.INFO: GPS data processed {"connection_id":186308,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:29:48] local.INFO: Acknowledgment sent {"connection_id":186308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:30:02] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:30:02] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:30:02] local.INFO: IMEI packet received {"connection_id":186451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":186451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:30:07] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:30:07] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:30:07] local.INFO: IMEI packet received {"connection_id":186451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":186451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:30:08] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5067758012d19f180071ffc58002d01032b..."} 
[2026-09-18 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5067758012d19f180071ffc58002d01032b..."} 
[2026-09-18 20:30:08] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5067758012d19f180071ffc58002d01032b..."} 
[2026-09-18 20:30:08] local.INFO: Packet analysis {"connection_id":186451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:30:08] local.INFO: Extracted packet for processing {"connection_id":186451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756674944,"raw_latitude":119536728,"longitude_deg":75.6674944,"latitude_deg":11.9536728,"altitude":45,"angle":259,"satellites":43,"speed":29,"hex_longitude":"2d19f180","hex_latitude":"071ffc58","is_valid_coordinates":true} 
[2026-09-18 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174334208001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584663088726016,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871104938285529088,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30: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-09-18 20:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743495000,"timestamp_ms":1789743495000,"timestamp_seconds":1789743495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5067758"} 
[2026-09-18 20:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 20:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:30: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-09-18 20:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174334208001,"66":12287,"101":206,"83":41984,"24":29,"16":21584663088726016,"45":1871104938285529088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174334208001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:30:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584663088726016,"km_value":21584663088726.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871104938285529088,"description":"Unknown IO ID 45"} 
[2026-09-18 20:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174334208001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1871104938285529088}} 
[2026-09-18 20:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":186451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:30:08] local.INFO: GPS data processed {"connection_id":186451,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:30:08] local.INFO: Acknowledgment sent {"connection_id":186451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:30:16] local.INFO: TCP Data received {"connection_id":189050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:30:16] local.INFO: Processing buffer {"connection_id":189050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:30:16] local.INFO: IMEI packet received {"connection_id":189050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":189050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:30:21] local.INFO: TCP Data received {"connection_id":189050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:30:21] local.INFO: Processing buffer {"connection_id":189050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:30:21] local.INFO: IMEI packet received {"connection_id":189050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":189050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:30:22] local.INFO: TCP Data received {"connection_id":189050,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:30:22] local.INFO: Processing buffer {"connection_id":189050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:30:22] local.INFO: Packet analysis {"connection_id":189050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:30:22] local.INFO: Extracted packet for processing {"connection_id":189050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:30:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":189050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:30:22] local.INFO: GPS data processed {"connection_id":189050,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:30:22] local.INFO: Acknowledgment sent {"connection_id":189050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:30:27] local.INFO: TCP Data received {"connection_id":189050,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:30:27] local.INFO: Processing buffer {"connection_id":189050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50371e8012d34c58006aa4030000e011726..."} 
[2026-09-18 20:30:27] local.INFO: Packet analysis {"connection_id":189050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:30:27] local.INFO: Extracted packet for processing {"connection_id":189050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b503"} 
[2026-09-18 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174206976001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789743297000,"timestamp_ms":1789743297000,"timestamp_seconds":1789743297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50371e8"} 
[2026-09-18 20:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174206976001,"66":25952,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174206976001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:30:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:30:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174206976001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":189050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:30:27] local.INFO: GPS data processed {"connection_id":189050,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:30:27] local.INFO: Acknowledgment sent {"connection_id":189050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:30:39] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5067f28012d19ec00071ffc40002d01192e..."} 
[2026-09-18 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5067f28012d19ec00071ffc40002d01192e..."} 
[2026-09-18 20:30:39] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5067f28012d19ec00071ffc40002d01192e..."} 
[2026-09-18 20:30:39] local.INFO: Packet analysis {"connection_id":186451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:30:39] local.INFO: Extracted packet for processing {"connection_id":186451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119536704,"longitude_deg":75.6673536,"latitude_deg":11.9536704,"altitude":45,"angle":281,"satellites":46,"speed":26,"hex_longitude":"2d19ec00","hex_latitude":"071ffc40","is_valid_coordinates":true} 
[2026-09-18 20:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174334720001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584731808202752,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869416088425224192,"note":"Value kept but may cause issues"} 
[2026-09-18 20:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743497000,"timestamp_ms":1789743497000,"timestamp_seconds":1789743497,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5067f28"} 
[2026-09-18 20:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-18 20:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:30:39] 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-09-18 20:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174334720001,"66":13091,"101":206,"83":41984,"24":26,"16":21584731808202752,"45":1869416088425224192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174334720001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:30:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584731808202752,"km_value":21584731808202.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869416088425224192,"description":"Unknown IO ID 45"} 
[2026-09-18 20:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174334720001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1869416088425224192}} 
[2026-09-18 20:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":186451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:30:39] local.INFO: GPS data processed {"connection_id":186451,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:30:39] local.INFO: Acknowledgment sent {"connection_id":186451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:31:02] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:02] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:02] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:31:03] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:03] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:03] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:31:07] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:07] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:31:07] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:31:08] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5068310012d19e980071ffd30002d01282e..."} 
[2026-09-18 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5068310012d19e980071ffd30002d01282e..."} 
[2026-09-18 20:31:08] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5068310012d19e980071ffd30002d01282e..."} 
[2026-09-18 20:31:08] local.INFO: Packet analysis {"connection_id":189051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:31:08] local.INFO: Extracted packet for processing {"connection_id":189051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756672896,"raw_latitude":119536944,"longitude_deg":75.6672896,"latitude_deg":11.9536944,"altitude":45,"angle":296,"satellites":46,"speed":24,"hex_longitude":"2d19e980","hex_latitude":"071ffd30","is_valid_coordinates":true} 
[2026-09-18 20:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174335232001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584761872973824,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976053309440,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31: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-09-18 20:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743498000,"timestamp_ms":1789743498000,"timestamp_seconds":1789743498,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5068310"} 
[2026-09-18 20:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 20:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:31: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-09-18 20:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174335232001,"66":13091,"101":206,"83":41984,"24":24,"16":21584761872973824,"45":1867867976053309440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174335232001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:31:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584761872973824,"km_value":21584761872973.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976053309440,"description":"Unknown IO ID 45"} 
[2026-09-18 20:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174335232001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1867867976053309440}} 
[2026-09-18 20:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":189051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:31:09] local.INFO: GPS data processed {"connection_id":189051,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:31:09] local.INFO: Acknowledgment sent {"connection_id":189051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:31:11] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:31:11] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:31:11] local.INFO: IMEI packet received {"connection_id":186309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:31:16] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:31:16] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:31:16] local.INFO: IMEI packet received {"connection_id":186309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:31:17] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:31:17] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:31:17] local.INFO: Packet analysis {"connection_id":186309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:31:17] local.INFO: Extracted packet for processing {"connection_id":186309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:31:17] 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-09-18 20:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:31:17] local.INFO: GPS data processed {"connection_id":186309,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:31:17] local.INFO: Acknowledgment sent {"connection_id":186309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:31:39] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50686f8012d19e7c0071ffeb8002d01392f..."} 
[2026-09-18 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50686f8012d19e7c0071ffeb8002d01392f..."} 
[2026-09-18 20:31:39] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50686f8012d19e7c0071ffeb8002d01392f..."} 
[2026-09-18 20:31:39] local.INFO: Packet analysis {"connection_id":189051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:31:39] local.INFO: Extracted packet for processing {"connection_id":189051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756672448,"raw_latitude":119537336,"longitude_deg":75.6672448,"latitude_deg":11.9537336,"altitude":45,"angle":313,"satellites":47,"speed":23,"hex_longitude":"2d19e7c0","hex_latitude":"071ffeb8","is_valid_coordinates":true} 
[2026-09-18 20:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174335488001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584791937744896,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867164288611594240,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743499000,"timestamp_ms":1789743499000,"timestamp_seconds":1789743499,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50686f8"} 
[2026-09-18 20:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-18 20:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:31:39] 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-09-18 20:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174335488001,"66":13048,"101":206,"83":41984,"24":23,"16":21584791937744896,"45":1867164288611594240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174335488001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584791937744896,"km_value":21584791937744.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867164288611594240,"description":"Unknown IO ID 45"} 
[2026-09-18 20:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174335488001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1867164288611594240}} 
[2026-09-18 20:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":189051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:31:39] local.INFO: GPS data processed {"connection_id":189051,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:31:39] local.INFO: Acknowledgment sent {"connection_id":189051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:31:49] local.INFO: TCP Data received {"connection_id":186309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:31:49] local.INFO: Processing buffer {"connection_id":186309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:31:49] local.INFO: Packet analysis {"connection_id":186309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:31:49] local.INFO: Extracted packet for processing {"connection_id":186309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:31:49] 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-09-18 20:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:31:49] local.INFO: GPS data processed {"connection_id":186309,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:31:49] local.INFO: Acknowledgment sent {"connection_id":186309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:32:06] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:06] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:06] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:32:07] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:07] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:07] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:32:11] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:32:11] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:32:11] local.INFO: IMEI packet received {"connection_id":187713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":187713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:32:12] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:12] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:32:12] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:32:13] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5068ae0012d19e64007200090002e01452f..."} 
[2026-09-18 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5068ae0012d19e64007200090002e01452f..."} 
[2026-09-18 20:32:13] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5068ae0012d19e64007200090002e01452f..."} 
[2026-09-18 20:32:13] local.INFO: Packet analysis {"connection_id":186452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:32:13] local.INFO: Extracted packet for processing {"connection_id":186452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756672064,"raw_latitude":119537808,"longitude_deg":75.6672064,"latitude_deg":11.9537808,"altitude":46,"angle":325,"satellites":47,"speed":23,"hex_longitude":"2d19e640","hex_latitude":"07200090","is_valid_coordinates":true} 
[2026-09-18 20:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174335744001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584822002515968,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707402450944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789743500000,"timestamp_ms":1789743500000,"timestamp_seconds":1789743500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5068ae0"} 
[2026-09-18 20:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:32: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-09-18 20: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 20:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:32:13] 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-09-18 20:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174335744001,"66":13048,"103":206,"83":41984,"24":23,"16":21584822002515968,"45":1866671707402450944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174335744001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:32:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584822002515968,"km_value":21584822002515.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707402450944,"description":"Unknown IO ID 45"} 
[2026-09-18 20:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174335744001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1866671707402450944}} 
[2026-09-18 20:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":186452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:32:13] local.INFO: GPS data processed {"connection_id":186452,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:32:13] local.INFO: Acknowledgment sent {"connection_id":186452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:32:16] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:32:16] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:32:16] local.INFO: IMEI packet received {"connection_id":187713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":187713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:32:17] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:32:17] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:32:17] local.INFO: Packet analysis {"connection_id":187713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:32:17] local.INFO: Extracted packet for processing {"connection_id":187713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:32:17] 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-09-18 20:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":187713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:32:17] local.INFO: GPS data processed {"connection_id":187713,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:32:17] local.INFO: Acknowledgment sent {"connection_id":187713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:32:17] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b506a250012d19e04007200918002e012e2d..."} 
[2026-09-18 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b506a250012d19e04007200918002e012e2d..."} 
[2026-09-18 20:32:17] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b506a250012d19e04007200918002e012e2d..."} 
[2026-09-18 20:32:17] local.INFO: Packet analysis {"connection_id":186452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:32:17] local.INFO: Extracted packet for processing {"connection_id":186452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756670528,"raw_latitude":119539992,"longitude_deg":75.6670528,"latitude_deg":11.9539992,"altitude":46,"angle":302,"satellites":45,"speed":8,"hex_longitude":"2d19e040","hex_latitude":"07200918","is_valid_coordinates":true} 
[2026-09-18 20:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174336000001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21584950851534848,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866249494937505792,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743506000,"timestamp_ms":1789743506000,"timestamp_seconds":1789743506,"priority":1,"record_length":96,"hex_timestamp":"000001a0b506a250"} 
[2026-09-18 20:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-18 20:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:32:17] 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-09-18 20:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174336000001,"66":13015,"103":206,"83":41984,"24":8,"16":21584950851534848,"45":1866249494937505792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174336000001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21584950851534848,"km_value":21584950851534.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866249494937505792,"description":"Unknown IO ID 45"} 
[2026-09-18 20:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174336000001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1866249494937505792}} 
[2026-09-18 20:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":186452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:32:18] local.INFO: GPS data processed {"connection_id":186452,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:32:18] local.INFO: Acknowledgment sent {"connection_id":186452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:32:49] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:32:49] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:32:49] local.INFO: Packet analysis {"connection_id":187713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:32:49] local.INFO: Extracted packet for processing {"connection_id":187713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:32:49] 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-09-18 20:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":187713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:32:49] local.INFO: GPS data processed {"connection_id":187713,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:32:49] local.INFO: Acknowledgment sent {"connection_id":187713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:33:02] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:33:02] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:33:02] local.INFO: IMEI packet received {"connection_id":186310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":186310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:33:07] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:33:07] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:33:07] local.INFO: IMEI packet received {"connection_id":186310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":186310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:33:08] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b506d130012d19d24007201228002e013c2c..."} 
[2026-09-18 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b506d130012d19d24007201228002e013c2c..."} 
[2026-09-18 20:33:08] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b506d130012d19d24007201228002e013c2c..."} 
[2026-09-18 20:33:08] local.INFO: Packet analysis {"connection_id":186310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:33:08] local.INFO: Extracted packet for processing {"connection_id":186310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b506"} 
[2026-09-18 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119542312,"longitude_deg":75.6666944,"latitude_deg":11.9542312,"altitude":46,"angle":316,"satellites":44,"speed":17,"hex_longitude":"2d19d240","hex_latitude":"07201228","is_valid_coordinates":true} 
[2026-09-18 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174337536001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585152714997760,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864560645077800960,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33: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-09-18 20:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743518000,"timestamp_ms":1789743518000,"timestamp_seconds":1789743518,"priority":1,"record_length":96,"hex_timestamp":"000001a0b506d130"} 
[2026-09-18 20:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-18 20:33: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-09-18 20:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:33: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-09-18 20:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174337536001,"66":13015,"103":206,"83":41984,"24":17,"16":21585152714997760,"45":1864560645077800960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174337536001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:33:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:33:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585152714997760,"km_value":21585152714997.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864560645077800960,"description":"Unknown IO ID 45"} 
[2026-09-18 20:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174337536001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1864560645077800960}} 
[2026-09-18 20:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":186310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:33:08] local.INFO: GPS data processed {"connection_id":186310,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:33:08] local.INFO: Acknowledgment sent {"connection_id":186310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:33:11] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:33:11] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:33:11] local.INFO: IMEI packet received {"connection_id":186453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:33:16] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:33:16] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:33:16] local.INFO: IMEI packet received {"connection_id":186453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":186453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:33:18] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:33:18] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:33:18] local.INFO: Packet analysis {"connection_id":186453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:33:18] local.INFO: Extracted packet for processing {"connection_id":186453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:33:18] 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-09-18 20:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:33:18] local.INFO: GPS data processed {"connection_id":186453,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:33:18] local.INFO: Acknowledgment sent {"connection_id":186453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:33:39] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50a0d50012d19cf0007201838002e014626..."} 
[2026-09-18 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50a0d50012d19cf0007201838002e014626..."} 
[2026-09-18 20:33:39] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50a0d50012d19cf0007201838002e014626..."} 
[2026-09-18 20:33:39] local.INFO: Packet analysis {"connection_id":186310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50a"} 
[2026-09-18 20:33:39] local.INFO: Extracted packet for processing {"connection_id":186310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50a"} 
[2026-09-18 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174389504001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743730000,"timestamp_ms":1789743730000,"timestamp_seconds":1789743730,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50a0d50"} 
[2026-09-18 20:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-18 20:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:33:39] 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-09-18 20:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174389504001,"66":12613,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174389504001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174389504001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":186310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:33:39] local.INFO: GPS data processed {"connection_id":186310,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:33:39] local.INFO: Acknowledgment sent {"connection_id":186310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:33:49] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:33:49] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:33:49] local.INFO: IMEI packet received {"connection_id":186454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":186454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:33:49] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:33:49] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:33:49] local.INFO: Packet analysis {"connection_id":186453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:33:49] local.INFO: Extracted packet for processing {"connection_id":186453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:33:49] 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-09-18 20:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":186453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:33:49] local.INFO: GPS data processed {"connection_id":186453,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:33:49] local.INFO: Acknowledgment sent {"connection_id":186453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:34:02] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:34:02] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:34:02] local.INFO: IMEI packet received {"connection_id":189052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":189052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:34:07] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:34:07] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:34:07] local.INFO: IMEI packet received {"connection_id":189052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":189052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:34:08] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50a5f58012d19cf0007201838002e014627..."} 
[2026-09-18 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50a5f58012d19cf0007201838002e014627..."} 
[2026-09-18 20:34:08] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50a5f58012d19cf0007201838002e014627..."} 
[2026-09-18 20:34:08] local.INFO: Packet analysis {"connection_id":189052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50a"} 
[2026-09-18 20:34:08] local.INFO: Extracted packet for processing {"connection_id":189052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50a"} 
[2026-09-18 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174394880001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34: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-09-18 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743751000,"timestamp_ms":1789743751000,"timestamp_seconds":1789743751,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50a5f58"} 
[2026-09-18 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-18 20:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:34: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-09-18 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174394880001,"66":12548,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174394880001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:34:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174394880001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":189052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:34:08] local.INFO: GPS data processed {"connection_id":189052,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:34:08] local.INFO: Acknowledgment sent {"connection_id":189052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:34:14] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:34:14] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:34:14] local.INFO: IMEI packet received {"connection_id":186455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":186455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:34:17] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:34:17] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:34:17] local.INFO: IMEI packet received {"connection_id":186455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":186455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:34:18] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:34:18] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:34:18] local.INFO: Packet analysis {"connection_id":186455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:34:18] local.INFO: Extracted packet for processing {"connection_id":186455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:34:18] 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-09-18 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:34:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":186455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:34:18] local.INFO: GPS data processed {"connection_id":186455,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:34:18] local.INFO: Acknowledgment sent {"connection_id":186455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:34:39] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ab160012d19cf0007201838002e014624..."} 
[2026-09-18 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ab160012d19cf0007201838002e014624..."} 
[2026-09-18 20:34:39] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ab160012d19cf0007201838002e014624..."} 
[2026-09-18 20:34:39] local.INFO: Packet analysis {"connection_id":189052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50a"} 
[2026-09-18 20:34:39] local.INFO: Extracted packet for processing {"connection_id":189052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50a"} 
[2026-09-18 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174400256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743772000,"timestamp_ms":1789743772000,"timestamp_seconds":1789743772,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ab160"} 
[2026-09-18 20:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3037229864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817336,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2947153920,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:39] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,175,160,13,45,46,38,10,66,187,39,105,1,240,145,227,181,32,4,113,205,197,207,56,239,49,2,76,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 20:34:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315007934039064576,"timestamp_seconds":3315007934039064.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:34:39] 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-09-18 20:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174400256001,"66":12558,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174400256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:34:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174400256001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":189052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:34:39] local.INFO: GPS data processed {"connection_id":189052,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:34:39] local.INFO: Acknowledgment sent {"connection_id":189052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:34:49] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:34:49] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:34:49] local.INFO: Packet analysis {"connection_id":186455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:34:49] local.INFO: Extracted packet for processing {"connection_id":186455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:34:49] 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-09-18 20:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":186455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:34:49] local.INFO: GPS data processed {"connection_id":186455,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:34:49] local.INFO: Acknowledgment sent {"connection_id":186455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:35:02] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:35:02] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:35:02] local.INFO: IMEI packet received {"connection_id":187714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":187714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:35:07] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:35:07] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:35:07] local.INFO: IMEI packet received {"connection_id":187714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":187714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:35:08] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50b0368012d19cf0007201838002e014625..."} 
[2026-09-18 20:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50b0368012d19cf0007201838002e014625..."} 
[2026-09-18 20:35:08] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50b0368012d19cf0007201838002e014625..."} 
[2026-09-18 20:35:08] local.INFO: Packet analysis {"connection_id":187714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:35:08] local.INFO: Extracted packet for processing {"connection_id":187714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174405632001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35: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-09-18 20:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743793000,"timestamp_ms":1789743793000,"timestamp_seconds":1789743793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50b0368"} 
[2026-09-18 20:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3037250864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249856205151017016,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2947153920,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,175,160,95,45,46,39,10,66,13,38,187,1,240,123,227,181,32,4,113,205,23,207,56,239,49,2,76,7,120,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 20:35:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315007921154162688,"timestamp_seconds":3315007921154162.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:35: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-09-18 20:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174405632001,"66":12548,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174405632001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:35:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174405632001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":187714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:35:08] local.INFO: GPS data processed {"connection_id":187714,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:35:08] local.INFO: Acknowledgment sent {"connection_id":187714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:35:16] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:35:16] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:35:16] local.INFO: IMEI packet received {"connection_id":186456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:35:21] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:35:21] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:35:21] local.INFO: IMEI packet received {"connection_id":186456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":186456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:35:22] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:35:22] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:35:22] local.INFO: Packet analysis {"connection_id":186456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:35:22] local.INFO: Extracted packet for processing {"connection_id":186456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 20:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:35:22] 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-09-18 20:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:35:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":186456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:35:22] local.INFO: GPS data processed {"connection_id":186456,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:35:22] local.INFO: Acknowledgment sent {"connection_id":186456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:35:27] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:35:27] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50809b0012d34c58006aa4030000e011723..."} 
[2026-09-18 20:35:27] local.INFO: Packet analysis {"connection_id":186456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:35:27] local.INFO: Extracted packet for processing {"connection_id":186456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b508"} 
[2026-09-18 20:35:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":14,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 20:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174284032001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789743598000,"timestamp_ms":1789743598000,"timestamp_seconds":1789743598,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50809b0"} 
[2026-09-18 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-09-18 20:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 20:35:27] 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-09-18 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-09-18 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-09-18 20:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174284032001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174284032001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174284032001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":186456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:35:27] local.INFO: GPS data processed {"connection_id":186456,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:35:27] local.INFO: Acknowledgment sent {"connection_id":186456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:35:39] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50b5570012d19cf0007201838002e014627..."} 
[2026-09-18 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50b5570012d19cf0007201838002e014627..."} 
[2026-09-18 20:35:39] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50b5570012d19cf0007201838002e014627..."} 
[2026-09-18 20:35:39] local.INFO: Packet analysis {"connection_id":187714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:35:39] local.INFO: Extracted packet for processing {"connection_id":187714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174411008001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743814000,"timestamp_ms":1789743814000,"timestamp_seconds":1789743814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50b5570"} 
[2026-09-18 20:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3037271864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2947153920,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-18 20:35:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,175,160,177,45,46,36,10,66,95,39,13,1,240,69,227,181,32,4,113,205,105,207,56,40,239,49,2,76,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 20:35:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315007925449129984,"timestamp_seconds":3315007925449130.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:35:39] 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-09-18 20:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174411008001,"66":12548,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174411008001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:35:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174411008001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":187714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:35:39] local.INFO: GPS data processed {"connection_id":187714,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:35:39] local.INFO: Acknowledgment sent {"connection_id":187714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:36:02] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:36:02] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:36:02] local.INFO: IMEI packet received {"connection_id":186311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":186311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:36:07] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:36:07] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:36:07] local.INFO: IMEI packet received {"connection_id":186311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":186311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:36:08] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ba778012d19cf0007201838002e014626..."} 
[2026-09-18 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ba778012d19cf0007201838002e014626..."} 
[2026-09-18 20:36:08] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ba778012d19cf0007201838002e014626..."} 
[2026-09-18 20:36:08] local.INFO: Packet analysis {"connection_id":186311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:36:08] local.INFO: Extracted packet for processing {"connection_id":186311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174416384001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36: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-09-18 20:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743835000,"timestamp_ms":1789743835000,"timestamp_seconds":1789743835,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ba778"} 
[2026-09-18 20:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3037292864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2947153920,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,175,160,3,45,46,37,10,66,177,36,95,1,240,4,227,181,32,113,205,187,207,56,39,239,49,2,76,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-18 20:36:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315007934039064576,"timestamp_seconds":3315007934039064.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:36: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-09-18 20:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174416384001,"66":12526,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174416384001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:36:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174416384001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":186311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:36:09] local.INFO: GPS data processed {"connection_id":186311,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:36:09] local.INFO: Acknowledgment sent {"connection_id":186311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:36:11] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:36:11] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:36:11] local.INFO: IMEI packet received {"connection_id":186312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":186312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:36:16] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:36:16] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:36:16] local.INFO: IMEI packet received {"connection_id":186312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":186312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:36:18] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:36:18] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:36:18] local.INFO: Packet analysis {"connection_id":186312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:36:18] local.INFO: Extracted packet for processing {"connection_id":186312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:36:18] 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-09-18 20:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":186312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:36:18] local.INFO: GPS data processed {"connection_id":186312,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:36:18] local.INFO: Acknowledgment sent {"connection_id":186312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:36:39] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50bf980012d19cf0007201838002e014625..."} 
[2026-09-18 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50bf980012d19cf0007201838002e014625..."} 
[2026-09-18 20:36:39] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50bf980012d19cf0007201838002e014625..."} 
[2026-09-18 20:36:39] local.INFO: Packet analysis {"connection_id":186311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:36:39] local.INFO: Extracted packet for processing {"connection_id":186311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50b"} 
[2026-09-18 20:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174421760001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743856000,"timestamp_ms":1789743856000,"timestamp_seconds":1789743856,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50bf980"} 
[2026-09-18 20:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-18 20:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:36:39] 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-09-18 20:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174421760001,"66":12515,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174421760001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:36:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174421760001,"power":12515,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":186311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:36:39] local.INFO: GPS data processed {"connection_id":186311,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:36:39] local.INFO: Acknowledgment sent {"connection_id":186311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:36:49] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:36:49] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:36:49] local.INFO: Packet analysis {"connection_id":186312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:36:49] local.INFO: Extracted packet for processing {"connection_id":186312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:36:49] 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-09-18 20:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":186312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:36:49] local.INFO: GPS data processed {"connection_id":186312,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:36:49] local.INFO: Acknowledgment sent {"connection_id":186312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:37:00] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:00] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:00] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:37:02] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:02] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:02] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:37:07] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:07] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:37:07] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:37:08] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50c4b88012d19cf0007201838002e014624..."} 
[2026-09-18 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50c4b88012d19cf0007201838002e014624..."} 
[2026-09-18 20:37:08] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50c4b88012d19cf0007201838002e014624..."} 
[2026-09-18 20:37:08] local.INFO: Packet analysis {"connection_id":186457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:08] local.INFO: Extracted packet for processing {"connection_id":186457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174427136001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37: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-09-18 20:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743877000,"timestamp_ms":1789743877000,"timestamp_seconds":1789743877,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50c4b88"} 
[2026-09-18 20:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-18 20:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:37: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-09-18 20:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174427136001,"66":12504,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174427136001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:37:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:37:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174427136001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":186457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:37:08] local.INFO: GPS data processed {"connection_id":186457,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:37:08] local.INFO: Acknowledgment sent {"connection_id":186457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:37:11] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:37:11] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:37:11] local.INFO: IMEI packet received {"connection_id":186313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":186313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:37:16] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:37:16] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:37:16] local.INFO: IMEI packet received {"connection_id":186313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":186313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:37:17] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:37:17] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:37:17] local.INFO: Packet analysis {"connection_id":186313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:17] local.INFO: Extracted packet for processing {"connection_id":186313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:37:17] 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-09-18 20:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:37:17] local.INFO: GPS data processed {"connection_id":186313,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:37:17] local.INFO: Acknowledgment sent {"connection_id":186313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:37:39] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50c9d90012d19cf0007201838002e014624..."} 
[2026-09-18 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50c9d90012d19cf0007201838002e014624..."} 
[2026-09-18 20:37:39] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50c9d90012d19cf0007201838002e014624..."} 
[2026-09-18 20:37:39] local.INFO: Packet analysis {"connection_id":186457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:39] local.INFO: Extracted packet for processing {"connection_id":186457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174432512001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743898000,"timestamp_ms":1789743898000,"timestamp_seconds":1789743898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50c9d90"} 
[2026-09-18 20:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 20:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:37:39] 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-09-18 20:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174432512001,"66":12504,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174432512001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174432512001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":186457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:37:39] local.INFO: GPS data processed {"connection_id":186457,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:37:39] local.INFO: Acknowledgment sent {"connection_id":186457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:37:48] local.INFO: TCP Data received {"connection_id":186313,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:37:48] local.INFO: Processing buffer {"connection_id":186313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:37:48] local.INFO: Packet analysis {"connection_id":186313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:48] local.INFO: Extracted packet for processing {"connection_id":186313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:37: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-09-18 20:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":186313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:37:48] local.INFO: GPS data processed {"connection_id":186313,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:37:48] local.INFO: Acknowledgment sent {"connection_id":186313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:38:02] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:02] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:02] local.INFO: IMEI packet received {"connection_id":187715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":187715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:38:03] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:03] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:03] local.INFO: IMEI packet received {"connection_id":187715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":187715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:38:07] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:07] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:38:07] local.INFO: IMEI packet received {"connection_id":187715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":187715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:38:08] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50cef98012d19cf0007201838002e014626..."} 
[2026-09-18 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50cef98012d19cf0007201838002e014626..."} 
[2026-09-18 20:38:08] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50cef98012d19cf0007201838002e014626..."} 
[2026-09-18 20:38:08] local.INFO: Packet analysis {"connection_id":187715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:38:08] local.INFO: Extracted packet for processing {"connection_id":187715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174437888001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38: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-09-18 20:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789743919000,"timestamp_ms":1789743919000,"timestamp_seconds":1789743919,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50cef98"} 
[2026-09-18 20:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 20:38: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-09-18 20:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:38: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-09-18 20:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174437888001,"66":12504,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174437888001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:38:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174437888001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":187715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:38:08] local.INFO: GPS data processed {"connection_id":187715,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:38:08] local.INFO: Acknowledgment sent {"connection_id":187715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:38:11] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:38:11] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:38:11] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:38:16] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:38:16] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:38:16] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:38:17] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:38:17] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:38:17] local.INFO: Packet analysis {"connection_id":186458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:38:17] local.INFO: Extracted packet for processing {"connection_id":186458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:38:17] 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-09-18 20:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":186458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:38:17] local.INFO: GPS data processed {"connection_id":186458,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:38:17] local.INFO: Acknowledgment sent {"connection_id":186458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:38:39] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50d41a0012d19cf0007201838002e014629..."} 
[2026-09-18 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50d41a0012d19cf0007201838002e014629..."} 
[2026-09-18 20:38:39] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50d41a0012d19cf0007201838002e014629..."} 
[2026-09-18 20:38:39] local.INFO: Packet analysis {"connection_id":187715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50d"} 
[2026-09-18 20:38:39] local.INFO: Extracted packet for processing {"connection_id":187715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50d"} 
[2026-09-18 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543864,"longitude_deg":75.6666112,"latitude_deg":11.9543864,"altitude":46,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201838","is_valid_coordinates":true} 
[2026-09-18 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174443264001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585242909310976,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730533376,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789743940000,"timestamp_ms":1789743940000,"timestamp_seconds":1789743940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50d41a0"} 
[2026-09-18 20:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-18 20:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:38:39] 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-09-18 20:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174443264001,"66":12504,"103":206,"83":41984,"24":0,"16":21585242909310976,"45":1859705201730533376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-18 20:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174443264001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:38:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-18 20:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585242909310976,"km_value":21585242909310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730533376,"description":"Unknown IO ID 45"} 
[2026-09-18 20:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174443264001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730533376}} 
[2026-09-18 20:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":187715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:38:39] local.INFO: GPS data processed {"connection_id":187715,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:38:39] local.INFO: Acknowledgment sent {"connection_id":187715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:38:48] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:38:48] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:38:48] local.INFO: Packet analysis {"connection_id":186458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:38:48] local.INFO: Extracted packet for processing {"connection_id":186458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:38: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-09-18 20:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":186458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:38:48] local.INFO: GPS data processed {"connection_id":186458,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:38:48] local.INFO: Acknowledgment sent {"connection_id":186458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:39:05] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:05] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:05] local.INFO: IMEI packet received {"connection_id":187716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":187716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:39:06] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:06] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:06] local.INFO: IMEI packet received {"connection_id":187716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":187716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:39:07] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:07] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:07] local.INFO: IMEI packet received {"connection_id":187716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":187716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:39:09] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:09] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:09] local.INFO: IMEI packet received {"connection_id":187716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":187716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:39:10] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50fcdf8012d19cd80072018f8002d006328..."} 
[2026-09-18 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50fcdf8012d19cd80072018f8002d006328..."} 
[2026-09-18 20:39:10] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50fcdf8012d19cd80072018f8002d006328..."} 
[2026-09-18 20:39:10] local.INFO: Packet analysis {"connection_id":187716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50f"} 
[2026-09-18 20:39:10] local.INFO: Extracted packet for processing {"connection_id":187716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50f"} 
[2026-09-18 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544056,"longitude_deg":75.6665728,"latitude_deg":11.9544056,"altitude":45,"angle":99,"satellites":40,"speed":2,"hex_longitude":"2d19cd80","hex_latitude":"072018f8","is_valid_coordinates":true} 
[2026-09-18 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174489600001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585281564016640,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777159168,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789744107000,"timestamp_ms":1789744107000,"timestamp_seconds":1789744107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50fcdf8"} 
[2026-09-18 20:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-18 20:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:39:10] 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-09-18 20:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174489600001,"66":13820,"101":206,"83":41984,"24":2,"16":21585281564016640,"45":1859142251777159168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174489600001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:39:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585281564016640,"km_value":21585281564016.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777159168,"description":"Unknown IO ID 45"} 
[2026-09-18 20:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174489600001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1859142251777159168}} 
[2026-09-18 20:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":187716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:39:10] local.INFO: GPS data processed {"connection_id":187716,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:39:10] local.INFO: Acknowledgment sent {"connection_id":187716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:39:11] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50fd1e0012d19cd8007201900002d005627..."} 
[2026-09-18 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50fd1e0012d19cd8007201900002d005627..."} 
[2026-09-18 20:39:11] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50fd1e0012d19cd8007201900002d005627..."} 
[2026-09-18 20:39:11] local.INFO: Packet analysis {"connection_id":187716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50f"} 
[2026-09-18 20:39:11] local.INFO: Extracted packet for processing {"connection_id":187716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50f"} 
[2026-09-18 20:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544064,"longitude_deg":75.6665728,"latitude_deg":11.9544064,"altitude":45,"angle":86,"satellites":39,"speed":1,"hex_longitude":"2d19cd80","hex_latitude":"07201900","is_valid_coordinates":true} 
[2026-09-18 20:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174491392001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585281564016640,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265516544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789744108000,"timestamp_ms":1789744108000,"timestamp_seconds":1789744108,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50fd1e0"} 
[2026-09-18 20:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 20:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:39:11] 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-09-18 20:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174491392001,"66":13820,"101":206,"83":41984,"24":1,"16":21585281564016640,"45":1859282989265516544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174491392001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:39:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585281564016640,"km_value":21585281564016.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265516544,"description":"Unknown IO ID 45"} 
[2026-09-18 20:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174491392001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1859282989265516544}} 
[2026-09-18 20:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":187716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:39:11] local.INFO: GPS data processed {"connection_id":187716,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:39:11] local.INFO: Acknowledgment sent {"connection_id":187716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:39:11] local.INFO: TCP Data received {"connection_id":189054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:39:11] local.INFO: Processing buffer {"connection_id":189054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:39:11] local.INFO: IMEI packet received {"connection_id":189054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":189054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:39:16] local.INFO: TCP Data received {"connection_id":189054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:39:16] local.INFO: Processing buffer {"connection_id":189054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:39:16] local.INFO: IMEI packet received {"connection_id":189054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":189054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:39:17] local.INFO: TCP Data received {"connection_id":189054,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:39:17] local.INFO: Processing buffer {"connection_id":189054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:39:17] local.INFO: Packet analysis {"connection_id":189054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:39:17] local.INFO: Extracted packet for processing {"connection_id":189054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:39:17] 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-09-18 20:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":189054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:39:17] local.INFO: GPS data processed {"connection_id":189054,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:39:17] local.INFO: Acknowledgment sent {"connection_id":189054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:39:25] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:39:25] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:39:25] local.INFO: IMEI packet received {"connection_id":189053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":189053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:39:42] local.INFO: TCP Data received {"connection_id":187716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5104ee0012d19cd80071ffa10003000d726..."} 
[2026-09-18 20:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5104ee0012d19cd80071ffa10003000d726..."} 
[2026-09-18 20:39:42] local.INFO: Processing buffer {"connection_id":187716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5104ee0012d19cd80071ffa10003000d726..."} 
[2026-09-18 20:39:42] local.INFO: Packet analysis {"connection_id":187716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:39:42] local.INFO: Extracted packet for processing {"connection_id":187716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119536144,"longitude_deg":75.6665728,"latitude_deg":11.9536144,"altitude":48,"angle":215,"satellites":38,"speed":18,"hex_longitude":"2d19cd80","hex_latitude":"071ffa10","is_valid_coordinates":true} 
[2026-09-18 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174499584001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21585874269503488,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201728649216,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789744140000,"timestamp_ms":1789744140000,"timestamp_seconds":1789744140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5104ee0"} 
[2026-09-18 20:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:39: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-09-18 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-18 20:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:39:42] 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-09-18 20:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174499584001,"66":13820,"101":206,"83":41984,"24":18,"16":21585874269503488,"45":1859705201728649216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174499584001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21585874269503488,"km_value":21585874269503.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201728649216,"description":"Unknown IO ID 45"} 
[2026-09-18 20:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174499584001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1859705201728649216}} 
[2026-09-18 20:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":187716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:39:42] local.INFO: GPS data processed {"connection_id":187716,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:39:42] local.INFO: Acknowledgment sent {"connection_id":187716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:39:49] local.INFO: TCP Data received {"connection_id":189054,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:39:49] local.INFO: Processing buffer {"connection_id":189054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:39:49] local.INFO: Packet analysis {"connection_id":189054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:39:49] local.INFO: Extracted packet for processing {"connection_id":189054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:39:49] 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-09-18 20:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":189054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:39:49] local.INFO: GPS data processed {"connection_id":189054,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:39:49] local.INFO: Acknowledgment sent {"connection_id":189054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:39:58] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:58] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:39:58] local.INFO: IMEI packet received {"connection_id":189055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":189055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:40:00] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:00] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:00] local.INFO: IMEI packet received {"connection_id":189055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":189055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:40:02] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:02] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:02] local.INFO: IMEI packet received {"connection_id":189055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":189055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:40:02] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:02] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:40:02] local.INFO: IMEI packet received {"connection_id":189055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":189055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:40:16] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:40:16] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:40:16] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:40:21] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:40:21] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:40:21] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:40:22] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:40:22] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:40:22] local.INFO: Packet analysis {"connection_id":186314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:40:22] local.INFO: Extracted packet for processing {"connection_id":186314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:40:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":186314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:40:22] local.INFO: GPS data processed {"connection_id":186314,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:40:22] local.INFO: Acknowledgment sent {"connection_id":186314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:40:27] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:40:27] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b50ca178012d34c58006aa4030000301171d..."} 
[2026-09-18 20:40:27] local.INFO: Packet analysis {"connection_id":186314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:40:27] local.INFO: Extracted packet for processing {"connection_id":186314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b50c"} 
[2026-09-18 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174361088001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789743899000,"timestamp_ms":1789743899000,"timestamp_seconds":1789743899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b50ca178"} 
[2026-09-18 20:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:40:27] 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-09-18 20:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174361088001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174361088001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:40:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:40:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174361088001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":186314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:40:27] local.INFO: GPS data processed {"connection_id":186314,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:40:27] local.INFO: Acknowledgment sent {"connection_id":186314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:41:11] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:41:11] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:41:11] local.INFO: IMEI packet received {"connection_id":189057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":189057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:41:20] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:41:20] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:41:20] local.INFO: IMEI packet received {"connection_id":189057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":189057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:41:21] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:41:21] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:41:21] local.INFO: Packet analysis {"connection_id":189057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:41:21] local.INFO: Extracted packet for processing {"connection_id":189057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":189057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:41:21] local.INFO: GPS data processed {"connection_id":189057,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:41:21] local.INFO: Acknowledgment sent {"connection_id":189057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:41:52] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:41:52] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:41:52] local.INFO: Packet analysis {"connection_id":189057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:41:52] local.INFO: Extracted packet for processing {"connection_id":189057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:41: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-09-18 20:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":189057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:41:52] local.INFO: GPS data processed {"connection_id":189057,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:41:52] local.INFO: Acknowledgment sent {"connection_id":189057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:42:11] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:42:11] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:42:11] local.INFO: IMEI packet received {"connection_id":187717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:42:16] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:42:16] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:42:16] local.INFO: IMEI packet received {"connection_id":187717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:42:17] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:42:17] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:42:17] local.INFO: Packet analysis {"connection_id":187717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:42:17] local.INFO: Extracted packet for processing {"connection_id":187717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":187717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:42:17] local.INFO: GPS data processed {"connection_id":187717,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:42:17] local.INFO: Acknowledgment sent {"connection_id":187717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:42:49] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:42:49] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:42:49] local.INFO: Packet analysis {"connection_id":187717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:42:49] local.INFO: Extracted packet for processing {"connection_id":187717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":187717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:42:49] local.INFO: GPS data processed {"connection_id":187717,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:42:49] local.INFO: Acknowledgment sent {"connection_id":187717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:43:11] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:43:11] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:43:11] local.INFO: IMEI packet received {"connection_id":189059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":189059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:43:16] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:43:16] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:43:16] local.INFO: IMEI packet received {"connection_id":189059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":189059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:43:17] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:43:17] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:43:17] local.INFO: Packet analysis {"connection_id":189059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:43:17] local.INFO: Extracted packet for processing {"connection_id":189059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":189059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:43:17] local.INFO: GPS data processed {"connection_id":189059,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:43:17] local.INFO: Acknowledgment sent {"connection_id":189059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:43:48] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:43:48] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:43:48] local.INFO: Packet analysis {"connection_id":189059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:43:48] local.INFO: Extracted packet for processing {"connection_id":189059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:43: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-09-18 20:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":189059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:43:48] local.INFO: GPS data processed {"connection_id":189059,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:43:48] local.INFO: Acknowledgment sent {"connection_id":189059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:44:11] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:44:11] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:44:11] local.INFO: IMEI packet received {"connection_id":187719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":187719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:44:16] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:44:16] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:44:16] local.INFO: IMEI packet received {"connection_id":187719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:44:17] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:44:17] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:44:17] local.INFO: Packet analysis {"connection_id":187719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:44:17] local.INFO: Extracted packet for processing {"connection_id":187719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":187719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:44:17] local.INFO: GPS data processed {"connection_id":187719,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:44:17] local.INFO: Acknowledgment sent {"connection_id":187719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:44:48] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:44:48] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:44:48] local.INFO: Packet analysis {"connection_id":187719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:44:48] local.INFO: Extracted packet for processing {"connection_id":187719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:44: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-09-18 20: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":187719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:44:48] local.INFO: GPS data processed {"connection_id":187719,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:44:48] local.INFO: Acknowledgment sent {"connection_id":187719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:45:00] local.INFO: TCP Data received {"connection_id":189058,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:45:00] local.INFO: Processing buffer {"connection_id":189058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:45:00] local.INFO: IMEI packet received {"connection_id":189058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":189058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:45:07] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:45:07] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:45:07] local.INFO: IMEI packet received {"connection_id":189060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":189060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:45:08] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b510bc40012d199f80071ff0480039010127..."} 
[2026-09-18 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b510bc40012d199f80071ff0480039010127..."} 
[2026-09-18 20:45:08] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b510bc40012d199f80071ff0480039010127..."} 
[2026-09-18 20:45:08] local.INFO: Packet analysis {"connection_id":189060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:45:08] local.INFO: Extracted packet for processing {"connection_id":189060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756653952,"raw_latitude":119533640,"longitude_deg":75.6653952,"latitude_deg":11.953364,"altitude":57,"angle":257,"satellites":39,"speed":13,"hex_longitude":"2d199f80","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-09-18 20:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174506240001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21586501334728704,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264402432,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45: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-09-18 20:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744168000,"timestamp_ms":1789744168000,"timestamp_seconds":1789744168,"priority":1,"record_length":96,"hex_timestamp":"000001a0b510bc40"} 
[2026-09-18 20:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-18 20:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174506240001,"66":13167,"101":206,"83":41984,"24":13,"16":21586501334728704,"45":1847179565264402432},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174506240001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:45:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21586501334728704,"km_value":21586501334728.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264402432,"description":"Unknown IO ID 45"} 
[2026-09-18 20:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174506240001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1847179565264402432}} 
[2026-09-18 20:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":189060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:45:08] local.INFO: GPS data processed {"connection_id":189060,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:45:08] local.INFO: Acknowledgment sent {"connection_id":189060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:45:16] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:45:16] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:45:16] local.INFO: IMEI packet received {"connection_id":187720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":187720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:45:21] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:45:21] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:45:21] local.INFO: IMEI packet received {"connection_id":187720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":187720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:45:22] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:45:22] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113940012d34c58006aa4030000301171f..."} 
[2026-09-18 20:45:22] local.INFO: Packet analysis {"connection_id":187720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:45:22] local.INFO: Extracted packet for processing {"connection_id":187720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20: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-09-18 20:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174438144001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789744200000,"timestamp_ms":1789744200000,"timestamp_seconds":1789744200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113940"} 
[2026-09-18 20:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20: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-09-18 20:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:45: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-09-18 20:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174438144001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174438144001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174438144001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":187720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:45:22] local.INFO: GPS data processed {"connection_id":187720,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:45:22] local.INFO: Acknowledgment sent {"connection_id":187720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:45:39] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b510c028012d199e00071ff030003a011027..."} 
[2026-09-18 20:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b510c028012d199e00071ff030003a011027..."} 
[2026-09-18 20:45:39] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b510c028012d199e00071ff030003a011027..."} 
[2026-09-18 20:45:39] local.INFO: Packet analysis {"connection_id":189060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:45:39] local.INFO: Extracted packet for processing {"connection_id":189060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756653568,"raw_latitude":119533616,"longitude_deg":75.6653568,"latitude_deg":11.9533616,"altitude":58,"angle":272,"satellites":39,"speed":15,"hex_longitude":"2d199e00","hex_latitude":"071ff030","is_valid_coordinates":true} 
[2026-09-18 20:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174507008001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21586518514597888,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846335140334159872,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744169000,"timestamp_ms":1789744169000,"timestamp_seconds":1789744169,"priority":1,"record_length":96,"hex_timestamp":"000001a0b510c028"} 
[2026-09-18 20:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-18 20:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174507008001,"66":13515,"101":206,"83":41984,"24":15,"16":21586518514597888,"45":1846335140334159872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-18 20:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174507008001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:45:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-18 20:45:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21586518514597888,"km_value":21586518514597.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846335140334159872,"description":"Unknown IO ID 45"} 
[2026-09-18 20:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174507008001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846335140334159872}} 
[2026-09-18 20:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":189060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:45:39] local.INFO: GPS data processed {"connection_id":189060,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:45:39] local.INFO: Acknowledgment sent {"connection_id":189060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:45:53] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:45:53] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:45:53] local.INFO: Packet analysis {"connection_id":187720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:45:53] local.INFO: Extracted packet for processing {"connection_id":187720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:45:53] 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-09-18 20:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":187720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:45:53] local.INFO: GPS data processed {"connection_id":187720,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:45:53] local.INFO: Acknowledgment sent {"connection_id":187720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:46:03] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:46:03] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:46:03] local.INFO: IMEI packet received {"connection_id":186459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":186459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:46:07] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:46:07] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:46:07] local.INFO: IMEI packet received {"connection_id":186459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":186459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:46:08] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b510f2f0012d198680071ff1080041010429..."} 
[2026-09-18 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b510f2f0012d198680071ff1080041010429..."} 
[2026-09-18 20:46:08] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b510f2f0012d198680071ff1080041010429..."} 
[2026-09-18 20:46:08] local.INFO: Packet analysis {"connection_id":186459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:46:08] local.INFO: Extracted packet for processing {"connection_id":186459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119533832,"longitude_deg":75.6647552,"latitude_deg":11.9533832,"altitude":65,"angle":260,"satellites":41,"speed":22,"hex_longitude":"2d198680","hex_latitude":"071ff108","is_valid_coordinates":true} 
[2026-09-18 20:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174507264001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21586806277406720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845912927869087744,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46: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-09-18 20:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744182000,"timestamp_ms":1789744182000,"timestamp_seconds":1789744182,"priority":1,"record_length":96,"hex_timestamp":"000001a0b510f2f0"} 
[2026-09-18 20:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-18 20:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:46:08] 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-09-18 20:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174507264001,"66":13428,"102":206,"83":41984,"24":22,"16":21586806277406720,"45":1845912927869087744},"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-09-18 20:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174507264001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:46:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21586806277406720,"km_value":21586806277406.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845912927869087744,"description":"Unknown IO ID 45"} 
[2026-09-18 20:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174507264001,"power":13428,"unknown_102":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1845912927869087744}} 
[2026-09-18 20:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":186459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:46:08] local.INFO: GPS data processed {"connection_id":186459,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:46:08] local.INFO: Acknowledgment sent {"connection_id":186459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:46:11] local.INFO: TCP Data received {"connection_id":187721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:46:11] local.INFO: Processing buffer {"connection_id":187721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:46:11] local.INFO: IMEI packet received {"connection_id":187721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:46:16] local.INFO: TCP Data received {"connection_id":187721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:46:16] local.INFO: Processing buffer {"connection_id":187721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:46:16] local.INFO: IMEI packet received {"connection_id":187721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:46:17] local.INFO: TCP Data received {"connection_id":187721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:46:17] local.INFO: Processing buffer {"connection_id":187721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:46:17] local.INFO: Packet analysis {"connection_id":187721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:46:17] local.INFO: Extracted packet for processing {"connection_id":187721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:46: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-09-18 20:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":187721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:46:17] local.INFO: GPS data processed {"connection_id":187721,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:46:17] local.INFO: Acknowledgment sent {"connection_id":187721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:46:39] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b510fac0012d198280071fef78004000eb28..."} 
[2026-09-18 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b510fac0012d198280071fef78004000eb28..."} 
[2026-09-18 20:46:39] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b510fac0012d198280071fef78004000eb28..."} 
[2026-09-18 20:46:39] local.INFO: Packet analysis {"connection_id":186459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:46:39] local.INFO: Extracted packet for processing {"connection_id":186459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b510"} 
[2026-09-18 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119533432,"longitude_deg":75.6646528,"latitude_deg":11.9533432,"altitude":64,"angle":235,"satellites":40,"speed":21,"hex_longitude":"2d198280","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-18 20:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174510592001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21586857817014272,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839298265916442624,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744184000,"timestamp_ms":1789744184000,"timestamp_seconds":1789744184,"priority":1,"record_length":96,"hex_timestamp":"000001a0b510fac0"} 
[2026-09-18 20:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-18 20:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:46:39] 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-09-18 20:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174510592001,"66":12993,"102":206,"83":41984,"24":21,"16":21586857817014272,"45":1839298265916442624},"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-09-18 20:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174510592001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:46:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21586857817014272,"km_value":21586857817014.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839298265916442624,"description":"Unknown IO ID 45"} 
[2026-09-18 20:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174510592001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1839298265916442624}} 
[2026-09-18 20:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":186459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:46:39] local.INFO: GPS data processed {"connection_id":186459,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:46:39] local.INFO: Acknowledgment sent {"connection_id":186459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:46:49] local.INFO: TCP Data received {"connection_id":187721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:46:49] local.INFO: Processing buffer {"connection_id":187721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:46:49] local.INFO: Packet analysis {"connection_id":187721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:46:49] local.INFO: Extracted packet for processing {"connection_id":187721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":187721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:46:49] local.INFO: GPS data processed {"connection_id":187721,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:46:49] local.INFO: Acknowledgment sent {"connection_id":187721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:47:02] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:47:02] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:47:02] local.INFO: IMEI packet received {"connection_id":186460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":186460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:47:07] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:47:07] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:47:07] local.INFO: IMEI packet received {"connection_id":186460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":186460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:47:08] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5110678012d197cc0071fec78004000ff29..."} 
[2026-09-18 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5110678012d197cc0071fec78004000ff29..."} 
[2026-09-18 20:47:08] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5110678012d197cc0071fec78004000ff29..."} 
[2026-09-18 20:47:08] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:47:08] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532664,"longitude_deg":75.6645056,"latitude_deg":11.9532664,"altitude":64,"angle":255,"satellites":41,"speed":21,"hex_longitude":"2d197cc0","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-09-18 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174511104001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21586939421392896,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366009497600,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47: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-09-18 20:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744187000,"timestamp_ms":1789744187000,"timestamp_seconds":1789744187,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5110678"} 
[2026-09-18 20:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-18 20:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:47:08] 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-09-18 20:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174511104001,"66":13493,"102":206,"83":41984,"24":21,"16":21586939421392896,"45":1838172366009497600},"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-09-18 20:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174511104001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:47:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21586939421392896,"km_value":21586939421392.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366009497600,"description":"Unknown IO ID 45"} 
[2026-09-18 20:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174511104001,"power":13493,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1838172366009497600}} 
[2026-09-18 20:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:47:08] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:47:08] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:47:11] local.INFO: TCP Data received {"connection_id":189061,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:47:11] local.INFO: Processing buffer {"connection_id":189061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:47:11] local.INFO: IMEI packet received {"connection_id":189061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":189061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:47:16] local.INFO: TCP Data received {"connection_id":189061,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:47:16] local.INFO: Processing buffer {"connection_id":189061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:47:16] local.INFO: IMEI packet received {"connection_id":189061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":189061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:47:18] local.INFO: TCP Data received {"connection_id":189061,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:47:18] local.INFO: Processing buffer {"connection_id":189061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:47:18] local.INFO: Packet analysis {"connection_id":189061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:47:18] local.INFO: Extracted packet for processing {"connection_id":189061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:47:18] 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-09-18 20:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":189061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:47:18] local.INFO: GPS data processed {"connection_id":189061,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:47:18] local.INFO: Acknowledgment sent {"connection_id":189061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:47:39] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5111230012d197680071febf00040010e29..."} 
[2026-09-18 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5111230012d197680071febf00040010e29..."} 
[2026-09-18 20:47:39] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5111230012d197680071febf00040010e29..."} 
[2026-09-18 20:47:39] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:47:39] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119532528,"longitude_deg":75.6643456,"latitude_deg":11.9532528,"altitude":64,"angle":270,"satellites":41,"speed":19,"hex_longitude":"2d197680","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-09-18 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174511872001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587016730804224,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893214720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744190000,"timestamp_ms":1789744190000,"timestamp_seconds":1789744190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5111230"} 
[2026-09-18 20:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 20:47:39] 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-09-18 20:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:47:39] 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-09-18 20:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174511872001,"66":13493,"102":206,"83":41984,"24":19,"16":21587016730804224,"45":1836553884893214720},"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-09-18 20:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174511872001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587016730804224,"km_value":21587016730804.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893214720,"description":"Unknown IO ID 45"} 
[2026-09-18 20:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174511872001,"power":13493,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1836553884893214720}} 
[2026-09-18 20:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:47:39] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:47:39] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:47:49] local.INFO: TCP Data received {"connection_id":189061,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:47:49] local.INFO: Processing buffer {"connection_id":189061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:47:49] local.INFO: Packet analysis {"connection_id":189061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:47:49] local.INFO: Extracted packet for processing {"connection_id":189061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":189061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:47:49] local.INFO: GPS data processed {"connection_id":189061,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:47:49] local.INFO: Acknowledgment sent {"connection_id":189061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:48:02] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:48:02] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:48:02] local.INFO: IMEI packet received {"connection_id":186461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":186461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:48:07] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:48:07] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:48:07] local.INFO: IMEI packet received {"connection_id":186461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":186461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:48:08] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5113d28012d196880071fed500040012027..."} 
[2026-09-18 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5113d28012d196880071fed500040012027..."} 
[2026-09-18 20:48:08] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5113d28012d196880071fed500040012027..."} 
[2026-09-18 20:48:08] local.INFO: Packet analysis {"connection_id":186461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:48:08] local.INFO: Extracted packet for processing {"connection_id":186461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":64,"angle":288,"satellites":39,"speed":6,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-18 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174512640001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587188529496064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288738304,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48: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-09-18 20:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744201000,"timestamp_ms":1789744201000,"timestamp_seconds":1789744201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5113d28"} 
[2026-09-18 20:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-18 20:48:08] 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-09-18 20:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:48:08] 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-09-18 20:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174512640001,"66":12558,"102":206,"83":41984,"24":6,"16":21587188529496064,"45":1834794666288738304},"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-09-18 20:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174512640001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:48:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587188529496064,"km_value":21587188529496.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288738304,"description":"Unknown IO ID 45"} 
[2026-09-18 20:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174512640001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1834794666288738304}} 
[2026-09-18 20:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":186461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:48:08] local.INFO: GPS data processed {"connection_id":186461,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:48:08] local.INFO: Acknowledgment sent {"connection_id":186461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:48:11] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:48:11] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:48:11] local.INFO: IMEI packet received {"connection_id":189062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":189062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:48:16] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:48:16] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:48:16] local.INFO: IMEI packet received {"connection_id":189062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":189062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:48:18] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:48:18] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:48:18] local.INFO: Packet analysis {"connection_id":189062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:48:18] local.INFO: Extracted packet for processing {"connection_id":189062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:48:18] 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-09-18 20:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":189062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:48:18] local.INFO: GPS data processed {"connection_id":189062,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:48:18] local.INFO: Acknowledgment sent {"connection_id":189062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:48:39] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5114110012d1967c0071feda00041013427..."} 
[2026-09-18 20:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5114110012d1967c0071feda00041013427..."} 
[2026-09-18 20:48:39] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5114110012d1967c0071feda00041013427..."} 
[2026-09-18 20:48:39] local.INFO: Packet analysis {"connection_id":186461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:48:39] local.INFO: Extracted packet for processing {"connection_id":186461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532960,"longitude_deg":75.663968,"latitude_deg":11.953296,"altitude":65,"angle":308,"satellites":39,"speed":5,"hex_longitude":"2d1967c0","hex_latitude":"071feda0","is_valid_coordinates":true} 
[2026-09-18 20:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515456001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587192824463360,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744202000,"timestamp_ms":1789744202000,"timestamp_seconds":1789744202,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5114110"} 
[2026-09-18 20:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3037772864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249807276883571192,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043833409,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827448,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2966618112,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408436738,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,102,83,24,241,157,16,177,160,18,45,128,235,64,41,10,66,6,192,236,250,1,240,193,227,181,31,4,113,205,22,158,48,39,239,52,101,2,76,7,57,13,120,92,206],"length":575,"final_offset":705,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-18 20:48:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612002845280305152,"timestamp_seconds":4612002845280305.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:48:39] 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-09-18 20:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515456001,"66":12558,"102":206,"83":41984,"24":5,"16":21587192824463360,"45":1830854016614879232},"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-09-18 20:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515456001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587192824463360,"km_value":21587192824463.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-18 20:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515456001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-18 20:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":186461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:48:39] local.INFO: GPS data processed {"connection_id":186461,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:48:39] local.INFO: Acknowledgment sent {"connection_id":186461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:48:49] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:48:49] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:48:49] local.INFO: Packet analysis {"connection_id":189062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:48:49] local.INFO: Extracted packet for processing {"connection_id":189062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":189062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:48:49] local.INFO: GPS data processed {"connection_id":189062,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:48:49] local.INFO: Acknowledgment sent {"connection_id":189062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:49:07] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:49:07] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:49:07] local.INFO: IMEI packet received {"connection_id":187722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":187722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:49:11] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:49:11] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:49:11] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:49:12] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:49:12] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:49:12] local.INFO: IMEI packet received {"connection_id":187722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":187722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:49:13] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51144f8012d196780071fee100041015427..."} 
[2026-09-18 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51144f8012d196780071fee100041015427..."} 
[2026-09-18 20:49:13] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51144f8012d196780071fee100041015427..."} 
[2026-09-18 20:49:13] local.INFO: Packet analysis {"connection_id":187722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:49:13] local.INFO: Extracted packet for processing {"connection_id":187722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":65,"angle":340,"satellites":39,"speed":5,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-18 20:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515712001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587201414397952,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382366720,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789744203000,"timestamp_ms":1789744203000,"timestamp_seconds":1789744203,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51144f8"} 
[2026-09-18 20:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 20:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3037773864,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249803978348687432,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619008,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2971009024,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":15,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408633346,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:13] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,102,83,24,241,157,16,177,160,61,45,128,237,64,39,10,66,18,235,41,6,192,1,240,181,227,31,4,113,205,21,242,134,8,239,52,2,76,7,58,15,120,92,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-18 20:49:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684082429550723072,"timestamp_seconds":4684082429550723.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-18 20:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515712001,"66":12961,"102":206,"83":41984,"24":5,"16":21587201414397952,"45":1830642910382366720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515712001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:49:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587201414397952,"km_value":21587201414397.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382366720,"description":"Unknown IO ID 45"} 
[2026-09-18 20:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515712001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830642910382366720}} 
[2026-09-18 20:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":187722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:49:13] local.INFO: GPS data processed {"connection_id":187722,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:49:13] local.INFO: Acknowledgment sent {"connection_id":187722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:49:16] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:49:16] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:49:16] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:49:17] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:49:17] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:49:17] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:49:17] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:49: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-09-18 20:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:49:17] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:49:17] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:49:44] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:49:44] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:49:44] local.INFO: Packet analysis {"connection_id":187722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:49:44] local.INFO: Extracted packet for processing {"connection_id":187722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533168,"longitude_deg":75.6639616,"latitude_deg":11.9533168,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-18 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515968001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789744213000,"timestamp_ms":1789744213000,"timestamp_seconds":1789744213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5116c08"} 
[2026-09-18 20:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:49: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-09-18 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-18 20:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515968001,"66":12917,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1830572541638217728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515968001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-09-18 20:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515968001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-09-18 20:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":187722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:49:44] local.INFO: GPS data processed {"connection_id":187722,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:49:44] local.INFO: Acknowledgment sent {"connection_id":187722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:49:49] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:49:49] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:49:49] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:49:49] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:49:49] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:49:49] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:50:02] local.INFO: TCP Data received {"connection_id":189063,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:50:02] local.INFO: Processing buffer {"connection_id":189063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:50:02] local.INFO: IMEI packet received {"connection_id":189063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":189063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:50:07] local.INFO: TCP Data received {"connection_id":189063,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:50:07] local.INFO: Processing buffer {"connection_id":189063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:50:07] local.INFO: IMEI packet received {"connection_id":189063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":189063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:50:08] local.INFO: TCP Data received {"connection_id":189063,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:50:08] local.INFO: Processing buffer {"connection_id":189063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:50:08] local.INFO: Packet analysis {"connection_id":189063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:50:08] local.INFO: Extracted packet for processing {"connection_id":189063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533168,"longitude_deg":75.6639616,"latitude_deg":11.9533168,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-18 20:50: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-09-18 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174518528001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638242304,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50: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-09-18 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744213000,"timestamp_ms":1789744213000,"timestamp_seconds":1789744213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5116c08"} 
[2026-09-18 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:50: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-09-18 20:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174518528001,"66":12917,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1830572541638242304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174518528001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:50:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638242304,"description":"Unknown IO ID 45"} 
[2026-09-18 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174518528001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638242304}} 
[2026-09-18 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":189063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:50:08] local.INFO: GPS data processed {"connection_id":189063,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:50:08] local.INFO: Acknowledgment sent {"connection_id":189063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:50:16] local.INFO: TCP Data received {"connection_id":189064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:50:16] local.INFO: Processing buffer {"connection_id":189064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:50:16] local.INFO: IMEI packet received {"connection_id":189064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":189064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:50:21] local.INFO: TCP Data received {"connection_id":189064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:50:21] local.INFO: Processing buffer {"connection_id":189064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:50:21] local.INFO: IMEI packet received {"connection_id":189064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":189064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:50:22] local.INFO: TCP Data received {"connection_id":189064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:50:22] local.INFO: Processing buffer {"connection_id":189064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:50:22] local.INFO: Packet analysis {"connection_id":189064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:50:22] local.INFO: Extracted packet for processing {"connection_id":189064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 20:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:50: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-09-18 20:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":189064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:50:22] local.INFO: GPS data processed {"connection_id":189064,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:50:22] local.INFO: Acknowledgment sent {"connection_id":189064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:50:27] local.INFO: TCP Data received {"connection_id":189064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:50:27] local.INFO: Processing buffer {"connection_id":189064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b515d108012d34c58006aa40300003011722..."} 
[2026-09-18 20:50:27] local.INFO: Packet analysis {"connection_id":189064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:50:27] local.INFO: Extracted packet for processing {"connection_id":189064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b515"} 
[2026-09-18 20:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 20:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174515200001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789744501000,"timestamp_ms":1789744501000,"timestamp_seconds":1789744501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b515d108"} 
[2026-09-18 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-09-18 20:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 20:50:27] 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-09-18 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-09-18 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-09-18 20:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174515200001,"66":25919,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174515200001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:50:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:50:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174515200001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":189064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:50:27] local.INFO: GPS data processed {"connection_id":189064,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:50:27] local.INFO: Acknowledgment sent {"connection_id":189064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:50:36] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:50:36] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:50:36] local.INFO: IMEI packet received {"connection_id":186462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":186462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:50:39] local.INFO: TCP Data received {"connection_id":189063,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:50:39] local.INFO: Processing buffer {"connection_id":189063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5116c08012d196780071fee700040015429..."} 
[2026-09-18 20:50:39] local.INFO: Packet analysis {"connection_id":189063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:50:39] local.INFO: Extracted packet for processing {"connection_id":189063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b511"} 
[2026-09-18 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533168,"longitude_deg":75.6639616,"latitude_deg":11.9533168,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-18 20:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174518528001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638242304,"note":"Value kept but may cause issues"} 
[2026-09-18 20:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744213000,"timestamp_ms":1789744213000,"timestamp_seconds":1789744213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5116c08"} 
[2026-09-18 20:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174518528001,"66":12917,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1830572541638242304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174518528001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638242304,"description":"Unknown IO ID 45"} 
[2026-09-18 20:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174518528001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638242304}} 
[2026-09-18 20:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":189063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:50:39] local.INFO: GPS data processed {"connection_id":189063,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:50:39] local.INFO: Acknowledgment sent {"connection_id":189063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:51:02] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:51:02] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:51:02] local.INFO: IMEI packet received {"connection_id":186464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":186464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:51:07] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:51:07] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:51:07] local.INFO: IMEI packet received {"connection_id":186464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":186464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:51:08] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51607b8012d196540071ff0380040015426..."} 
[2026-09-18 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51607b8012d196540071ff0380040015426..."} 
[2026-09-18 20:51:08] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51607b8012d196540071ff0380040015426..."} 
[2026-09-18 20:51:08] local.INFO: Packet analysis {"connection_id":186464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b516"} 
[2026-09-18 20:51:08] local.INFO: Extracted packet for processing {"connection_id":186464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b516"} 
[2026-09-18 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174518528001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638242304,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51: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-09-18 20:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744515000,"timestamp_ms":1789744515000,"timestamp_seconds":1789744515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51607b8"} 
[2026-09-18 20:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-18 20:51: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-09-18 20:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174518528001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1830572541638242304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174518528001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:51:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638242304,"description":"Unknown IO ID 45"} 
[2026-09-18 20:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174518528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638242304}} 
[2026-09-18 20:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":186464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:51:08] local.INFO: GPS data processed {"connection_id":186464,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:51:08] local.INFO: Acknowledgment sent {"connection_id":186464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:51:11] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:51:11] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:51:11] local.INFO: IMEI packet received {"connection_id":186317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":186317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:51:16] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:51:16] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:51:16] local.INFO: IMEI packet received {"connection_id":186317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":186317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:51:17] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:51:17] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:51:17] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:51:17] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:51:17] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:51:17] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:51:39] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:51:39] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:51:39] local.INFO: Packet analysis {"connection_id":186464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:51:39] local.INFO: Extracted packet for processing {"connection_id":186464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":186464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:51:40] local.INFO: GPS data processed {"connection_id":186464,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:51:40] local.INFO: Acknowledgment sent {"connection_id":186464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:51:48] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:51:48] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:51:48] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:51:48] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:51:48] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:51:48] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:52:02] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:52:02] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:52:02] local.INFO: IMEI packet received {"connection_id":189065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":189065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:52:07] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:52:07] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:52:07] local.INFO: IMEI packet received {"connection_id":189065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":189065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:52:08] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:52:08] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:52:08] local.INFO: Packet analysis {"connection_id":189065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:08] local.INFO: Extracted packet for processing {"connection_id":189065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52: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-09-18 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:52: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-09-18 20:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:52: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-09-18 20:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:52:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":189065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:52:08] local.INFO: GPS data processed {"connection_id":189065,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:52:08] local.INFO: Acknowledgment sent {"connection_id":189065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:52:11] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:52:11] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:52:11] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:52:16] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:52:16] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:52:16] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:52:17] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:52:17] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:52:17] local.INFO: Packet analysis {"connection_id":186318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:17] local.INFO: Extracted packet for processing {"connection_id":186318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:52:17] local.INFO: GPS data processed {"connection_id":186318,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:52:17] local.INFO: Acknowledgment sent {"connection_id":186318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:52:39] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:52:39] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:52:39] local.INFO: Packet analysis {"connection_id":189065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:39] local.INFO: Extracted packet for processing {"connection_id":189065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":189065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:52:39] local.INFO: GPS data processed {"connection_id":189065,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:52:39] local.INFO: Acknowledgment sent {"connection_id":189065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:52:49] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:52:49] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:52:49] local.INFO: Packet analysis {"connection_id":186318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:49] local.INFO: Extracted packet for processing {"connection_id":186318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":186318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:52:49] local.INFO: GPS data processed {"connection_id":186318,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:52:49] local.INFO: Acknowledgment sent {"connection_id":186318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:53:02] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:53:02] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:53:02] local.INFO: IMEI packet received {"connection_id":189066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":189066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:53:08] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:53:08] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:53:08] local.INFO: IMEI packet received {"connection_id":189066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":189066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:53:09] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:53:09] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:53:09] local.INFO: Packet analysis {"connection_id":189066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:09] local.INFO: Extracted packet for processing {"connection_id":189066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53: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-09-18 20:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:53: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-09-18 20:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:53:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":189066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:53:09] local.INFO: GPS data processed {"connection_id":189066,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:53:09] local.INFO: Acknowledgment sent {"connection_id":189066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:53:11] local.INFO: TCP Data received {"connection_id":189067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:53:11] local.INFO: Processing buffer {"connection_id":189067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:53:11] local.INFO: IMEI packet received {"connection_id":189067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":189067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:53:16] local.INFO: TCP Data received {"connection_id":189067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:53:16] local.INFO: Processing buffer {"connection_id":189067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:53:16] local.INFO: IMEI packet received {"connection_id":189067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":189067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:53:17] local.INFO: TCP Data received {"connection_id":189067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:53:17] local.INFO: Processing buffer {"connection_id":189067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:53:17] local.INFO: Packet analysis {"connection_id":189067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:17] local.INFO: Extracted packet for processing {"connection_id":189067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":189067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:53:17] local.INFO: GPS data processed {"connection_id":189067,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:53:17] local.INFO: Acknowledgment sent {"connection_id":189067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:53:40] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:53:40] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:53:40] local.INFO: Packet analysis {"connection_id":189066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:40] local.INFO: Extracted packet for processing {"connection_id":189066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:53:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":189066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:53:40] local.INFO: GPS data processed {"connection_id":189066,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:53:40] local.INFO: Acknowledgment sent {"connection_id":189066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:53:48] local.INFO: TCP Data received {"connection_id":189067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:53:48] local.INFO: Processing buffer {"connection_id":189067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:53:48] local.INFO: Packet analysis {"connection_id":189067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:48] local.INFO: Extracted packet for processing {"connection_id":189067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:53: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-09-18 20:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":189067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:53:48] local.INFO: GPS data processed {"connection_id":189067,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:53:48] local.INFO: Acknowledgment sent {"connection_id":189067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:54:07] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:54:07] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:54:07] local.INFO: IMEI packet received {"connection_id":187723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":187723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:54:12] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:54:12] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:54:12] local.INFO: IMEI packet received {"connection_id":187723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":187723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:54:13] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:54:13] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:54:13] local.INFO: Packet analysis {"connection_id":187723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:13] local.INFO: Extracted packet for processing {"connection_id":187723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":187723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:54:13] local.INFO: GPS data processed {"connection_id":187723,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:54:13] local.INFO: Acknowledgment sent {"connection_id":187723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:54:16] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:54:16] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:54:16] local.INFO: IMEI packet received {"connection_id":187724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":187724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:54:18] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:54:18] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:54:18] local.INFO: Packet analysis {"connection_id":187723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:18] local.INFO: Extracted packet for processing {"connection_id":187723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":187723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:54:18] local.INFO: GPS data processed {"connection_id":187723,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:54:18] local.INFO: Acknowledgment sent {"connection_id":187723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:54:21] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:54:21] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:54:21] local.INFO: IMEI packet received {"connection_id":187724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":187724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:54:22] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:54:22] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:54:22] local.INFO: Packet analysis {"connection_id":187724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:22] local.INFO: Extracted packet for processing {"connection_id":187724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":187724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:54:22] local.INFO: GPS data processed {"connection_id":187724,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:54:22] local.INFO: Acknowledgment sent {"connection_id":187724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:54:27] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:54:27] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:54:27] local.INFO: Packet analysis {"connection_id":187724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:27] local.INFO: Extracted packet for processing {"connection_id":187724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 20:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 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-09-18 20:54: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-09-18 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 20:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:54:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:54:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":187724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:54:27] local.INFO: GPS data processed {"connection_id":187724,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:54:27] local.INFO: Acknowledgment sent {"connection_id":187724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:55:02] local.INFO: TCP Data received {"connection_id":187725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:55:02] local.INFO: Processing buffer {"connection_id":187725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:55:02] local.INFO: IMEI packet received {"connection_id":187725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":187725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:55:07] local.INFO: TCP Data received {"connection_id":187725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:55:07] local.INFO: Processing buffer {"connection_id":187725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:55:07] local.INFO: IMEI packet received {"connection_id":187725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":187725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:55:08] local.INFO: TCP Data received {"connection_id":187725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:55:08] local.INFO: Processing buffer {"connection_id":187725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:55:08] local.INFO: Packet analysis {"connection_id":187725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:55:08] local.INFO: Extracted packet for processing {"connection_id":187725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55: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-09-18 20:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:55: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-09-18 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:55: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-09-18 20:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:55:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":187725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:55:08] local.INFO: GPS data processed {"connection_id":187725,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:55:08] local.INFO: Acknowledgment sent {"connection_id":187725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:55:12] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:55:12] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:55:12] local.INFO: IMEI packet received {"connection_id":189068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":189068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:55:16] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:55:16] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:55:16] local.INFO: IMEI packet received {"connection_id":189068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":189068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:55:17] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:55:17] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a68d0012d34c58006aa40300003011721..."} 
[2026-09-18 20:55:17] local.INFO: Packet analysis {"connection_id":189068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:55:17] local.INFO: Extracted packet for processing {"connection_id":189068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174592256001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789744802000,"timestamp_ms":1789744802000,"timestamp_seconds":1789744802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a68d0"} 
[2026-09-18 20:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-18 20:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174592256001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174592256001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174592256001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":189068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:55:17] local.INFO: GPS data processed {"connection_id":189068,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:55:17] local.INFO: Acknowledgment sent {"connection_id":189068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:55:39] local.INFO: TCP Data received {"connection_id":187725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:55:39] local.INFO: Processing buffer {"connection_id":187725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51a9f80012d196540071ff0380040015429..."} 
[2026-09-18 20:55:39] local.INFO: Packet analysis {"connection_id":187725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:55:39] local.INFO: Extracted packet for processing {"connection_id":187725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51a"} 
[2026-09-18 20:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174595840001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789744816000,"timestamp_ms":1789744816000,"timestamp_seconds":1789744816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51a9f80"} 
[2026-09-18 20:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 20:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174595840001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174595840001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:55:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174595840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":187725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:55:39] local.INFO: GPS data processed {"connection_id":187725,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:55:39] local.INFO: Acknowledgment sent {"connection_id":187725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:55:48] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:55:48] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:55:48] local.INFO: Packet analysis {"connection_id":189068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:55:48] local.INFO: Extracted packet for processing {"connection_id":189068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":189068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:55:48] local.INFO: GPS data processed {"connection_id":189068,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:55:48] local.INFO: Acknowledgment sent {"connection_id":189068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:56:02] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:56:02] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:56:02] local.INFO: IMEI packet received {"connection_id":186466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":186466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:56:07] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:56:07] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:56:07] local.INFO: IMEI packet received {"connection_id":186466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":186466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:56:08] local.INFO: TCP Data received {"connection_id":186465,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:56:08] local.INFO: Processing buffer {"connection_id":186465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 20:56:08] local.INFO: IMEI packet received {"connection_id":186465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":186465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:56:08] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:56:08] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:56:08] local.INFO: Packet analysis {"connection_id":186466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:08] local.INFO: Extracted packet for processing {"connection_id":186466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56: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-09-18 20:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:56: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-09-18 20:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:56:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":186466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:56:08] local.INFO: GPS data processed {"connection_id":186466,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:56:08] local.INFO: Acknowledgment sent {"connection_id":186466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:56:11] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:56:11] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:56:11] local.INFO: IMEI packet received {"connection_id":189069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":189069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:56:16] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:56:16] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:56:16] local.INFO: IMEI packet received {"connection_id":189069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":189069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:56:17] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:56:17] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:56:17] local.INFO: Packet analysis {"connection_id":189069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:17] local.INFO: Extracted packet for processing {"connection_id":189069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:56:17] 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-09-18 20:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":189069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:56:17] local.INFO: GPS data processed {"connection_id":189069,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:56:17] local.INFO: Acknowledgment sent {"connection_id":189069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:56:39] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:56:39] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:56:39] local.INFO: Packet analysis {"connection_id":186466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:39] local.INFO: Extracted packet for processing {"connection_id":186466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":186466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:56:40] local.INFO: GPS data processed {"connection_id":186466,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:56:40] local.INFO: Acknowledgment sent {"connection_id":186466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:56:48] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:56:48] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:56:48] local.INFO: Packet analysis {"connection_id":189069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:48] local.INFO: Extracted packet for processing {"connection_id":189069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":189069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:56:48] local.INFO: GPS data processed {"connection_id":189069,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:56:48] local.INFO: Acknowledgment sent {"connection_id":189069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:57:02] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:57:02] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:57:02] local.INFO: IMEI packet received {"connection_id":186467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":186467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:57:07] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:57:07] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:57:07] local.INFO: IMEI packet received {"connection_id":186467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":186467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:57:08] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:57:08] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:57:08] local.INFO: Packet analysis {"connection_id":186467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:08] local.INFO: Extracted packet for processing {"connection_id":186467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57: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-09-18 20:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:57: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-09-18 20:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:57:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":186467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:57:08] local.INFO: GPS data processed {"connection_id":186467,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:57:08] local.INFO: Acknowledgment sent {"connection_id":186467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:57:11] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:57:11] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:57:11] local.INFO: IMEI packet received {"connection_id":189070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":189070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:57:16] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:57:16] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:57:16] local.INFO: IMEI packet received {"connection_id":189070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":189070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:57:17] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:57:17] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:57:17] local.INFO: Packet analysis {"connection_id":189070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:17] local.INFO: Extracted packet for processing {"connection_id":189070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:57:17] 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-09-18 20:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":189070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:57:17] local.INFO: GPS data processed {"connection_id":189070,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:57:17] local.INFO: Acknowledgment sent {"connection_id":189070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:57:39] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:57:39] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:57:39] local.INFO: Packet analysis {"connection_id":186467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:39] local.INFO: Extracted packet for processing {"connection_id":186467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":186467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:57:39] local.INFO: GPS data processed {"connection_id":186467,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:57:39] local.INFO: Acknowledgment sent {"connection_id":186467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:57:49] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:57:49] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:57:49] local.INFO: Packet analysis {"connection_id":189070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:49] local.INFO: Extracted packet for processing {"connection_id":189070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:57:49] 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-09-18 20:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":189070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:57:49] local.INFO: GPS data processed {"connection_id":189070,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:57:49] local.INFO: Acknowledgment sent {"connection_id":189070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:58:02] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:58:02] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:58:02] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:58:07] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:58:07] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:58:07] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:58:08] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:58:08] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:58:08] local.INFO: Packet analysis {"connection_id":186468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:08] local.INFO: Extracted packet for processing {"connection_id":186468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58: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-09-18 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:58: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-09-18 20:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:58:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":186468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:58:08] local.INFO: GPS data processed {"connection_id":186468,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:58:08] local.INFO: Acknowledgment sent {"connection_id":186468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:58:11] local.INFO: TCP Data received {"connection_id":187726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:58:11] local.INFO: Processing buffer {"connection_id":187726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:58:11] local.INFO: IMEI packet received {"connection_id":187726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":187726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:58:16] local.INFO: TCP Data received {"connection_id":187726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:58:16] local.INFO: Processing buffer {"connection_id":187726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:58:16] local.INFO: IMEI packet received {"connection_id":187726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":187726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:58:18] local.INFO: TCP Data received {"connection_id":187726,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:58:18] local.INFO: Processing buffer {"connection_id":187726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:58:18] local.INFO: Packet analysis {"connection_id":187726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:18] local.INFO: Extracted packet for processing {"connection_id":187726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:58:18] 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-09-18 20:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":187726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:58:18] local.INFO: GPS data processed {"connection_id":187726,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:58:18] local.INFO: Acknowledgment sent {"connection_id":187726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:58:39] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:58:39] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:58:39] local.INFO: Packet analysis {"connection_id":186468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:39] local.INFO: Extracted packet for processing {"connection_id":186468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":186468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:58:39] local.INFO: GPS data processed {"connection_id":186468,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:58:39] local.INFO: Acknowledgment sent {"connection_id":186468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:58:49] local.INFO: TCP Data received {"connection_id":187726,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:58:49] local.INFO: Processing buffer {"connection_id":187726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:58:49] local.INFO: Packet analysis {"connection_id":187726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:49] local.INFO: Extracted packet for processing {"connection_id":187726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:58:49] 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-09-18 20:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":187726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:58:49] local.INFO: GPS data processed {"connection_id":187726,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:58:49] local.INFO: Acknowledgment sent {"connection_id":187726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:59:07] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:59:07] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:59:07] local.INFO: IMEI packet received {"connection_id":189071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 20:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":189071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:59:12] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:59:12] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 20:59:12] local.INFO: IMEI packet received {"connection_id":189071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 20:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":189071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:59:13] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:59:13] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:59:13] local.INFO: Packet analysis {"connection_id":189071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:13] local.INFO: Extracted packet for processing {"connection_id":189071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":189071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:59:13] local.INFO: GPS data processed {"connection_id":189071,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:59:13] local.INFO: Acknowledgment sent {"connection_id":189071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:59:16] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:59:16] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:59:16] local.INFO: IMEI packet received {"connection_id":186469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 20:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":186469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 20:59:17] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:59:17] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 20:59:17] local.INFO: Packet analysis {"connection_id":189071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:17] local.INFO: Extracted packet for processing {"connection_id":189071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 20:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 20:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 20:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 20:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 20:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 20:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 20:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 20:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 20:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:59:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 20:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 20:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 20:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 20:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":189071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:59:18] local.INFO: GPS data processed {"connection_id":189071,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:59:18] local.INFO: Acknowledgment sent {"connection_id":189071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:59:21] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:59:21] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 20:59:21] local.INFO: IMEI packet received {"connection_id":186469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 20:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":186469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 20:59:22] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:59:22] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:59:22] local.INFO: Packet analysis {"connection_id":186469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:22] local.INFO: Extracted packet for processing {"connection_id":186469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 20:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:59: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-09-18 20:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":186469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:59:22] local.INFO: GPS data processed {"connection_id":186469,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:59:22] local.INFO: Acknowledgment sent {"connection_id":186469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 20:59:27] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:59:27] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 20:59:27] local.INFO: Packet analysis {"connection_id":186469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:27] local.INFO: Extracted packet for processing {"connection_id":186469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 20:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 20:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 20:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 20:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 20:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 20:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 20:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 20:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 20:59:27] 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-09-18 20:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 20:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 20:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 20:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 20:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 20:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 20:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 20:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 20:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 20:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 20:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 20:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 20:59:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 20:59:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 20:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 20:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 20:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 20:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":186469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 20:59:27] local.INFO: GPS data processed {"connection_id":186469,"processed":1,"errors":0,"total":1} 
[2026-09-18 20:59:27] local.INFO: Acknowledgment sent {"connection_id":186469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:00:02] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:00:02] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:00:02] local.INFO: IMEI packet received {"connection_id":186470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":186470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:00:07] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:00:07] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:00:07] local.INFO: IMEI packet received {"connection_id":186470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":186470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:00:08] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 21:00:08] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 21:00:08] local.INFO: Packet analysis {"connection_id":186470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 21:00:08] local.INFO: Extracted packet for processing {"connection_id":186470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00: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-09-18 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 21:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:00: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-09-18 21:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:00:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":186470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:00:08] local.INFO: GPS data processed {"connection_id":186470,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:00:08] local.INFO: Acknowledgment sent {"connection_id":186470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:00:11] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:00:11] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:00:11] local.INFO: IMEI packet received {"connection_id":187727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":187727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:00:16] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:00:16] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:00:16] local.INFO: IMEI packet received {"connection_id":187727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":187727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:00:17] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 21:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 21:00:17] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f0098012d34c58006aa40300003011723..."} 
[2026-09-18 21:00:17] local.INFO: Packet analysis {"connection_id":187727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 21:00:17] local.INFO: Extracted packet for processing {"connection_id":187727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 21:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174669312001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745103000,"timestamp_ms":1789745103000,"timestamp_seconds":1789745103,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f0098"} 
[2026-09-18 21:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:00:17] 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-09-18 21:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174669312001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174669312001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174669312001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":187727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:00:17] local.INFO: GPS data processed {"connection_id":187727,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:00:17] local.INFO: Acknowledgment sent {"connection_id":187727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:00:39] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 21:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 21:00:39] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b51f3748012d196540071ff0380040015426..."} 
[2026-09-18 21:00:39] local.INFO: Packet analysis {"connection_id":186470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 21:00:39] local.INFO: Extracted packet for processing {"connection_id":186470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b51f"} 
[2026-09-18 21:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174672896001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745117000,"timestamp_ms":1789745117000,"timestamp_seconds":1789745117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b51f3748"} 
[2026-09-18 21:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174672896001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174672896001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:00:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174672896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":186470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:00:40] local.INFO: GPS data processed {"connection_id":186470,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:00:40] local.INFO: Acknowledgment sent {"connection_id":186470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:00:49] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:00:49] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:00:49] local.INFO: Packet analysis {"connection_id":187727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:00:49] local.INFO: Extracted packet for processing {"connection_id":187727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:00:49] 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-09-18 21:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":187727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:00:49] local.INFO: GPS data processed {"connection_id":187727,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:00:49] local.INFO: Acknowledgment sent {"connection_id":187727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:01:02] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:02] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:02] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:01:07] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:07] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:07] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:01:08] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:01:08] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:01:08] local.INFO: Packet analysis {"connection_id":186471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:01:08] local.INFO: Extracted packet for processing {"connection_id":186471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21: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-09-18 21:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:01: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-09-18 21:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"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-09-18 21:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:01:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":186471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:01:08] local.INFO: GPS data processed {"connection_id":186471,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:01:08] local.INFO: Acknowledgment sent {"connection_id":186471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:01:11] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:01:11] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:01:11] local.INFO: IMEI packet received {"connection_id":186472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:01:16] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:01:16] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:01:16] local.INFO: IMEI packet received {"connection_id":186472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":186472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:01:18] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:01:18] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:01:18] local.INFO: Packet analysis {"connection_id":186472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:01:18] local.INFO: Extracted packet for processing {"connection_id":186472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:01:18] 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-09-18 21:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":186472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:01:18] local.INFO: GPS data processed {"connection_id":186472,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:01:18] local.INFO: Acknowledgment sent {"connection_id":186472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:01:39] local.INFO: TCP Data received {"connection_id":186319,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:01:39] local.INFO: Processing buffer {"connection_id":186319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:01:39] local.INFO: IMEI packet received {"connection_id":186319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":186319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:01:42] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:42] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:42] local.INFO: IMEI packet received {"connection_id":186320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":186320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:01:49] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:01:49] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:01:49] local.INFO: Packet analysis {"connection_id":186472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:01:49] local.INFO: Extracted packet for processing {"connection_id":186472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:01:49] 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-09-18 21:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:01:49] local.INFO: GPS data processed {"connection_id":186472,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:01:49] local.INFO: Acknowledgment sent {"connection_id":186472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:01:57] local.INFO: TCP Data received {"connection_id":187728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:57] local.INFO: Processing buffer {"connection_id":187728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:01:57] local.INFO: IMEI packet received {"connection_id":187728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":187728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:02:02] local.INFO: TCP Data received {"connection_id":187728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:02:02] local.INFO: Processing buffer {"connection_id":187728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:02:02] local.INFO: IMEI packet received {"connection_id":187728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":187728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:02:03] local.INFO: TCP Data received {"connection_id":187728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:02:03] local.INFO: Processing buffer {"connection_id":187728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:02:03] local.INFO: Packet analysis {"connection_id":187728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:03] local.INFO: Extracted packet for processing {"connection_id":187728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 21:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 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-09-18 21:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 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-09-18 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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-09-18 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-09-18 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-09-18 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-09-18 21:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:02:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":187728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:02:03] local.INFO: GPS data processed {"connection_id":187728,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:02:03] local.INFO: Acknowledgment sent {"connection_id":187728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:02:11] local.INFO: TCP Data received {"connection_id":189072,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:02:11] local.INFO: Processing buffer {"connection_id":189072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:02:11] local.INFO: IMEI packet received {"connection_id":189072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":189072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:02:16] local.INFO: TCP Data received {"connection_id":189072,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:02:16] local.INFO: Processing buffer {"connection_id":189072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:02:16] local.INFO: IMEI packet received {"connection_id":189072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":189072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:02:17] local.INFO: TCP Data received {"connection_id":189072,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:02:17] local.INFO: Processing buffer {"connection_id":189072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:02:17] local.INFO: Packet analysis {"connection_id":189072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:17] local.INFO: Extracted packet for processing {"connection_id":189072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:02:17] 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-09-18 21:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":189072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:02:17] local.INFO: GPS data processed {"connection_id":189072,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:02:17] local.INFO: Acknowledgment sent {"connection_id":189072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:02:34] local.INFO: TCP Data received {"connection_id":187728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:02:34] local.INFO: Processing buffer {"connection_id":187728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:02:34] local.INFO: Packet analysis {"connection_id":187728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:34] local.INFO: Extracted packet for processing {"connection_id":187728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02: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-09-18 21:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:02: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-09-18 21: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-09-18 21:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:02:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":187728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:02:34] local.INFO: GPS data processed {"connection_id":187728,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:02:34] local.INFO: Acknowledgment sent {"connection_id":187728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:02:49] local.INFO: TCP Data received {"connection_id":189072,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:02:49] local.INFO: Processing buffer {"connection_id":189072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:02:49] local.INFO: Packet analysis {"connection_id":189072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:49] local.INFO: Extracted packet for processing {"connection_id":189072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:02:49] 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-09-18 21:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":189072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:02:49] local.INFO: GPS data processed {"connection_id":189072,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:02:49] local.INFO: Acknowledgment sent {"connection_id":189072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:03:07] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:03:07] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:03:07] local.INFO: IMEI packet received {"connection_id":186321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":186321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:03:11] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:03:11] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:03:11] local.INFO: IMEI packet received {"connection_id":189073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":189073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:03:12] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:03:12] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:03:12] local.INFO: IMEI packet received {"connection_id":186321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":186321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:03:13] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:03:13] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:03:13] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:13] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:03:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:03:13] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:03:13] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:03:16] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:03:16] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:03:16] local.INFO: IMEI packet received {"connection_id":189073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":189073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:03:18] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:03:18] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:03:18] local.INFO: Packet analysis {"connection_id":189073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:18] local.INFO: Extracted packet for processing {"connection_id":189073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:03:18] 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-09-18 21:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":189073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:03:18] local.INFO: GPS data processed {"connection_id":189073,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:03:18] local.INFO: Acknowledgment sent {"connection_id":189073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:03:44] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:03:44] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:03:44] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:44] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:03:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:03:44] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:03:44] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:03:49] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:03:49] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:03:49] local.INFO: Packet analysis {"connection_id":189073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:49] local.INFO: Extracted packet for processing {"connection_id":189073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:03:49] 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-09-18 21:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":189073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:03:49] local.INFO: GPS data processed {"connection_id":189073,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:03:49] local.INFO: Acknowledgment sent {"connection_id":189073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:04:02] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:04:02] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:04:02] local.INFO: IMEI packet received {"connection_id":186322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":186322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:04:07] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:04:07] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:04:07] local.INFO: IMEI packet received {"connection_id":186322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":186322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:04:08] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:04:08] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:04:08] local.INFO: Packet analysis {"connection_id":186322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:08] local.INFO: Extracted packet for processing {"connection_id":186322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:04:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":186322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:04:08] local.INFO: GPS data processed {"connection_id":186322,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:04:08] local.INFO: Acknowledgment sent {"connection_id":186322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:04:16] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:04:16] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:04:16] local.INFO: IMEI packet received {"connection_id":186323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":186323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:04:21] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:04:21] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:04:21] local.INFO: IMEI packet received {"connection_id":186323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":186323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:04:22] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:04:22] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:04:22] local.INFO: Packet analysis {"connection_id":186323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:22] local.INFO: Extracted packet for processing {"connection_id":186323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:04:22] 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-09-18 21:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":186323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:04:22] local.INFO: GPS data processed {"connection_id":186323,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:04:22] local.INFO: Acknowledgment sent {"connection_id":186323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:04:27] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:04:27] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:04:27] local.INFO: Packet analysis {"connection_id":186323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:27] local.INFO: Extracted packet for processing {"connection_id":186323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:04:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":186323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:04:27] local.INFO: GPS data processed {"connection_id":186323,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:04:27] local.INFO: Acknowledgment sent {"connection_id":186323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:04:39] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:04:39] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:04:39] local.INFO: Packet analysis {"connection_id":186322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:39] local.INFO: Extracted packet for processing {"connection_id":186322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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":795,"current_offset":40} 
[2026-09-18 21:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":186322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:04:39] local.INFO: GPS data processed {"connection_id":186322,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:04:39] local.INFO: Acknowledgment sent {"connection_id":186322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:05:02] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:05:02] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:05:02] local.INFO: IMEI packet received {"connection_id":187729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:05:07] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:05:07] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:05:07] local.INFO: IMEI packet received {"connection_id":187729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":187729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:05:08] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:05:08] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:05:08] local.INFO: Packet analysis {"connection_id":187729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:05:08] local.INFO: Extracted packet for processing {"connection_id":187729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05: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-09-18 21:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:05: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-09-18 21:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":187729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:05:08] local.INFO: GPS data processed {"connection_id":187729,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:05:08] local.INFO: Acknowledgment sent {"connection_id":187729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:05:11] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:05:11] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:05:11] local.INFO: IMEI packet received {"connection_id":187730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":187730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:05:16] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:05:16] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:05:16] local.INFO: IMEI packet received {"connection_id":187730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":187730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:05:17] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:05:17] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5239860012d34c58006aa40300003011721..."} 
[2026-09-18 21:05:17] local.INFO: Packet analysis {"connection_id":187730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:05:17] local.INFO: Extracted packet for processing {"connection_id":187730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174746368001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745404000,"timestamp_ms":1789745404000,"timestamp_seconds":1789745404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5239860"} 
[2026-09-18 21:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:05:17] 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-09-18 21:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174746368001,"66":25897,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174746368001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174746368001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":187730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:05:17] local.INFO: GPS data processed {"connection_id":187730,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:05:17] local.INFO: Acknowledgment sent {"connection_id":187730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:05:39] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:05:39] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b523cf10012d196540071ff0380040015425..."} 
[2026-09-18 21:05:39] local.INFO: Packet analysis {"connection_id":187729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:05:39] local.INFO: Extracted packet for processing {"connection_id":187729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b523"} 
[2026-09-18 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174749952001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745418000,"timestamp_ms":1789745418000,"timestamp_seconds":1789745418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b523cf10"} 
[2026-09-18 21:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174749952001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174749952001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174749952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":187729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:05:39] local.INFO: GPS data processed {"connection_id":187729,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:05:39] local.INFO: Acknowledgment sent {"connection_id":187729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:05:48] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:05:48] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:05:48] local.INFO: Packet analysis {"connection_id":187730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:05:48] local.INFO: Extracted packet for processing {"connection_id":187730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:05: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-09-18 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":187730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:05:48] local.INFO: GPS data processed {"connection_id":187730,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:05:48] local.INFO: Acknowledgment sent {"connection_id":187730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:06:02] local.INFO: TCP Data received {"connection_id":189074,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:06:02] local.INFO: Processing buffer {"connection_id":189074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:06:02] local.INFO: IMEI packet received {"connection_id":189074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":189074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:06:07] local.INFO: TCP Data received {"connection_id":189074,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:06:07] local.INFO: Processing buffer {"connection_id":189074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:06:07] local.INFO: IMEI packet received {"connection_id":189074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":189074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:06:08] local.INFO: TCP Data received {"connection_id":189074,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:06:08] local.INFO: Processing buffer {"connection_id":189074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:06:08] local.INFO: Packet analysis {"connection_id":189074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:08] local.INFO: Extracted packet for processing {"connection_id":189074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06: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-09-18 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:06: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-09-18 21:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:06:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":189074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:06:08] local.INFO: GPS data processed {"connection_id":189074,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:06:08] local.INFO: Acknowledgment sent {"connection_id":189074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:06:11] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:06:11] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:06:11] local.INFO: IMEI packet received {"connection_id":189075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":189075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:06:16] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:06:16] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:06:16] local.INFO: IMEI packet received {"connection_id":189075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":189075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:06:17] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:06:17] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:06:17] local.INFO: Packet analysis {"connection_id":189075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:17] local.INFO: Extracted packet for processing {"connection_id":189075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:06:17] 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-09-18 21:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":189075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:06:17] local.INFO: GPS data processed {"connection_id":189075,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:06:17] local.INFO: Acknowledgment sent {"connection_id":189075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:06:39] local.INFO: TCP Data received {"connection_id":189074,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:06:39] local.INFO: Processing buffer {"connection_id":189074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:06:39] local.INFO: Packet analysis {"connection_id":189074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:39] local.INFO: Extracted packet for processing {"connection_id":189074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:06:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":189074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:06:39] local.INFO: GPS data processed {"connection_id":189074,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:06:39] local.INFO: Acknowledgment sent {"connection_id":189074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:06:52] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:06:52] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:06:52] local.INFO: Packet analysis {"connection_id":189075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:52] local.INFO: Extracted packet for processing {"connection_id":189075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:06: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-09-18 21:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:06:52] 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-09-18 21:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":189075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:06:52] local.INFO: GPS data processed {"connection_id":189075,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:06:52] local.INFO: Acknowledgment sent {"connection_id":189075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:07:02] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:07:02] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:07:02] local.INFO: IMEI packet received {"connection_id":189076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":189076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:07:07] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:07:07] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:07:07] local.INFO: IMEI packet received {"connection_id":189076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":189076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:07:08] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:07:08] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:07:08] local.INFO: Packet analysis {"connection_id":189076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:08] local.INFO: Extracted packet for processing {"connection_id":189076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07: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-09-18 21:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:07:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":189076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:07:08] local.INFO: GPS data processed {"connection_id":189076,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:07:08] local.INFO: Acknowledgment sent {"connection_id":189076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:07:11] local.INFO: TCP Data received {"connection_id":187731,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:07:11] local.INFO: Processing buffer {"connection_id":187731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:07:11] local.INFO: IMEI packet received {"connection_id":187731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":187731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:07:15] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:07:15] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:07:15] local.INFO: IMEI packet received {"connection_id":186473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":186473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:07:16] local.INFO: TCP Data received {"connection_id":187731,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:07:16] local.INFO: Processing buffer {"connection_id":187731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:07:16] local.INFO: IMEI packet received {"connection_id":187731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":187731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:07:17] local.INFO: TCP Data received {"connection_id":187731,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:07:17] local.INFO: Processing buffer {"connection_id":187731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:07:17] local.INFO: Packet analysis {"connection_id":187731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:17] local.INFO: Extracted packet for processing {"connection_id":187731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:07:17] 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-09-18 21:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":187731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:07:17] local.INFO: GPS data processed {"connection_id":187731,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:07:17] local.INFO: Acknowledgment sent {"connection_id":187731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:07:39] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:07:39] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:07:39] local.INFO: Packet analysis {"connection_id":189076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:39] local.INFO: Extracted packet for processing {"connection_id":189076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:07:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":189076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:07:39] local.INFO: GPS data processed {"connection_id":189076,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:07:39] local.INFO: Acknowledgment sent {"connection_id":189076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:07:49] local.INFO: TCP Data received {"connection_id":187731,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:07:49] local.INFO: Processing buffer {"connection_id":187731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:07:49] local.INFO: Packet analysis {"connection_id":187731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:49] local.INFO: Extracted packet for processing {"connection_id":187731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:07:49] 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-09-18 21:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":187731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:07:49] local.INFO: GPS data processed {"connection_id":187731,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:07:49] local.INFO: Acknowledgment sent {"connection_id":187731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:08:02] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:08:02] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:08:02] local.INFO: IMEI packet received {"connection_id":186324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":186324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:08:07] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:08:07] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:08:07] local.INFO: IMEI packet received {"connection_id":186324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":186324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:08:08] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:08:08] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:08:08] local.INFO: Packet analysis {"connection_id":186324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:08] local.INFO: Extracted packet for processing {"connection_id":186324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08: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-09-18 21:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:08: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-09-18 21:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:08:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":186324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:08:08] local.INFO: GPS data processed {"connection_id":186324,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:08:08] local.INFO: Acknowledgment sent {"connection_id":186324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:08:11] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:08:11] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:08:11] local.INFO: IMEI packet received {"connection_id":187732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":187732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:08:16] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:08:16] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:08:16] local.INFO: IMEI packet received {"connection_id":187732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":187732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:08:17] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:08:17] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:08:17] local.INFO: Packet analysis {"connection_id":187732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:17] local.INFO: Extracted packet for processing {"connection_id":187732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:08:17] 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-09-18 21:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":187732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:08:17] local.INFO: GPS data processed {"connection_id":187732,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:08:17] local.INFO: Acknowledgment sent {"connection_id":187732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:08:39] local.INFO: TCP Data received {"connection_id":186324,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:08:39] local.INFO: Processing buffer {"connection_id":186324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:08:39] local.INFO: Packet analysis {"connection_id":186324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:39] local.INFO: Extracted packet for processing {"connection_id":186324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:08:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":186324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:08:39] local.INFO: GPS data processed {"connection_id":186324,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:08:39] local.INFO: Acknowledgment sent {"connection_id":186324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:08:49] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:08:49] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:08:49] local.INFO: Packet analysis {"connection_id":187732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:49] local.INFO: Extracted packet for processing {"connection_id":187732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:08:49] 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-09-18 21:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":187732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:08:49] local.INFO: GPS data processed {"connection_id":187732,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:08:49] local.INFO: Acknowledgment sent {"connection_id":187732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:09:03] local.INFO: TCP Data received {"connection_id":189077,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:09:03] local.INFO: Processing buffer {"connection_id":189077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:09:03] local.INFO: IMEI packet received {"connection_id":189077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":189077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:09:07] local.INFO: TCP Data received {"connection_id":189077,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:09:07] local.INFO: Processing buffer {"connection_id":189077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:09:07] local.INFO: IMEI packet received {"connection_id":189077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":189077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:09:08] local.INFO: TCP Data received {"connection_id":189077,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:09:08] local.INFO: Processing buffer {"connection_id":189077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:09:08] local.INFO: Packet analysis {"connection_id":189077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:08] local.INFO: Extracted packet for processing {"connection_id":189077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:09: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-09-18 21:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:09:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":189077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:09:08] local.INFO: GPS data processed {"connection_id":189077,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:09:08] local.INFO: Acknowledgment sent {"connection_id":189077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:09:16] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:09:16] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:09:16] local.INFO: IMEI packet received {"connection_id":187733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":187733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:09:21] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:09:21] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:09:21] local.INFO: IMEI packet received {"connection_id":187733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":187733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:09:22] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:09:22] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:09:22] local.INFO: Packet analysis {"connection_id":187733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:22] local.INFO: Extracted packet for processing {"connection_id":187733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 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-09-18 21:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 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-09-18 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:09:22] 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-09-18 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-09-18 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-09-18 21:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:09: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-09-18 21:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":187733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:09:22] local.INFO: GPS data processed {"connection_id":187733,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:09:22] local.INFO: Acknowledgment sent {"connection_id":187733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:09:27] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:09:27] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:09:27] local.INFO: Packet analysis {"connection_id":187733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:27] local.INFO: Extracted packet for processing {"connection_id":187733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:09: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-09-18 21:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:09:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:09:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":187733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:09:27] local.INFO: GPS data processed {"connection_id":187733,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:09:27] local.INFO: Acknowledgment sent {"connection_id":187733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:09:39] local.INFO: TCP Data received {"connection_id":189077,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:09:39] local.INFO: Processing buffer {"connection_id":189077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:09:39] local.INFO: Packet analysis {"connection_id":189077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:39] local.INFO: Extracted packet for processing {"connection_id":189077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":189077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:09:39] local.INFO: GPS data processed {"connection_id":189077,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:09:39] local.INFO: Acknowledgment sent {"connection_id":189077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:10:02] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:10:02] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:10:02] local.INFO: IMEI packet received {"connection_id":186325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":186325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:10:07] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:10:07] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:10:07] local.INFO: IMEI packet received {"connection_id":186325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":186325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:10:08] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:10:08] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:10:08] local.INFO: Packet analysis {"connection_id":186325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:10:08] local.INFO: Extracted packet for processing {"connection_id":186325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10: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-09-18 21:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:10: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-09-18 21:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:10:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:10:08] local.INFO: GPS data processed {"connection_id":186325,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:10:08] local.INFO: Acknowledgment sent {"connection_id":186325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:10:11] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:10:11] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:10:11] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:10:16] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:10:16] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:10:16] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:10:17] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:10:17] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5283028012d34c58006aa40300003011721..."} 
[2026-09-18 21:10:17] local.INFO: Packet analysis {"connection_id":186475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:10:17] local.INFO: Extracted packet for processing {"connection_id":186475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":3,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174823424001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789745705000,"timestamp_ms":1789745705000,"timestamp_seconds":1789745705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5283028"} 
[2026-09-18 21:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-18 21:10:17] 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-09-18 21:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174823424001,"66":25908,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174823424001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174823424001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":186475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:10:17] local.INFO: GPS data processed {"connection_id":186475,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:10:17] local.INFO: Acknowledgment sent {"connection_id":186475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:10:39] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:10:39] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52866d8012d196540071ff0380040015426..."} 
[2026-09-18 21:10:39] local.INFO: Packet analysis {"connection_id":186325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:10:39] local.INFO: Extracted packet for processing {"connection_id":186325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b528"} 
[2026-09-18 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174827008001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789745719000,"timestamp_ms":1789745719000,"timestamp_seconds":1789745719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52866d8"} 
[2026-09-18 21:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174827008001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174827008001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174827008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":186325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:10:39] local.INFO: GPS data processed {"connection_id":186325,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:10:39] local.INFO: Acknowledgment sent {"connection_id":186325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:10:48] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:10:48] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:10:48] local.INFO: Packet analysis {"connection_id":186475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:10:48] local.INFO: Extracted packet for processing {"connection_id":186475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:10: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-09-18 21:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":186475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:10:48] local.INFO: GPS data processed {"connection_id":186475,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:10:48] local.INFO: Acknowledgment sent {"connection_id":186475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:11:02] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:11:02] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:11:02] local.INFO: IMEI packet received {"connection_id":187734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":187734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:11:07] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:11:07] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:11:07] local.INFO: IMEI packet received {"connection_id":187734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":187734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:11:07] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:11:07] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:11:07] local.INFO: Packet analysis {"connection_id":187734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:07] local.INFO: Extracted packet for processing {"connection_id":187734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11: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-09-18 21:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:11: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-09-18 21:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":187734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:11:08] local.INFO: GPS data processed {"connection_id":187734,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:11:08] local.INFO: Acknowledgment sent {"connection_id":187734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:11:12] local.INFO: TCP Data received {"connection_id":189078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:11:12] local.INFO: Processing buffer {"connection_id":189078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:11:12] local.INFO: IMEI packet received {"connection_id":189078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":189078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:11:16] local.INFO: TCP Data received {"connection_id":189078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:11:16] local.INFO: Processing buffer {"connection_id":189078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:11:16] local.INFO: IMEI packet received {"connection_id":189078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":189078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:11:17] local.INFO: TCP Data received {"connection_id":189078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:11:17] local.INFO: Processing buffer {"connection_id":189078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:11:17] local.INFO: Packet analysis {"connection_id":189078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:17] local.INFO: Extracted packet for processing {"connection_id":189078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:11:17] 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-09-18 21:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":189078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:11:17] local.INFO: GPS data processed {"connection_id":189078,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:11:17] local.INFO: Acknowledgment sent {"connection_id":189078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:11:39] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:11:39] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:11:39] local.INFO: Packet analysis {"connection_id":187734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:39] local.INFO: Extracted packet for processing {"connection_id":187734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":187734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:11:39] local.INFO: GPS data processed {"connection_id":187734,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:11:39] local.INFO: Acknowledgment sent {"connection_id":187734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:11:48] local.INFO: TCP Data received {"connection_id":189078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:11:48] local.INFO: Processing buffer {"connection_id":189078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:11:48] local.INFO: Packet analysis {"connection_id":189078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:48] local.INFO: Extracted packet for processing {"connection_id":189078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:11: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-09-18 21:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":189078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:11:48] local.INFO: GPS data processed {"connection_id":189078,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:11:48] local.INFO: Acknowledgment sent {"connection_id":189078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:12:02] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:12:02] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:12:02] local.INFO: IMEI packet received {"connection_id":187735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":187735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:12:07] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:12:07] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:12:07] local.INFO: IMEI packet received {"connection_id":187735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":187735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:12:08] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:12:08] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:12:08] local.INFO: Packet analysis {"connection_id":187735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:08] local.INFO: Extracted packet for processing {"connection_id":187735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:12:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":187735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:12:08] local.INFO: GPS data processed {"connection_id":187735,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:12:08] local.INFO: Acknowledgment sent {"connection_id":187735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:12:11] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:12:11] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:12:11] local.INFO: IMEI packet received {"connection_id":186326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":186326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:12:16] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:12:16] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:12:16] local.INFO: IMEI packet received {"connection_id":186326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":186326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:12:17] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:12:17] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:12:17] local.INFO: Packet analysis {"connection_id":186326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:17] local.INFO: Extracted packet for processing {"connection_id":186326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:12:17] 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-09-18 21:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":186326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:12:17] local.INFO: GPS data processed {"connection_id":186326,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:12:17] local.INFO: Acknowledgment sent {"connection_id":186326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:12:39] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:12:39] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:12:39] local.INFO: Packet analysis {"connection_id":187735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:39] local.INFO: Extracted packet for processing {"connection_id":187735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:12:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":187735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:12:39] local.INFO: GPS data processed {"connection_id":187735,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:12:39] local.INFO: Acknowledgment sent {"connection_id":187735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:12:48] local.INFO: TCP Data received {"connection_id":186326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:12:48] local.INFO: Processing buffer {"connection_id":186326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:12:48] local.INFO: Packet analysis {"connection_id":186326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:48] local.INFO: Extracted packet for processing {"connection_id":186326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21: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-09-18 21: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":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":186326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:12:48] local.INFO: GPS data processed {"connection_id":186326,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:12:48] local.INFO: Acknowledgment sent {"connection_id":186326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:12:50] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:12:50] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:12:50] local.INFO: IMEI packet received {"connection_id":186474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":186474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:13:02] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:13:02] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:13:02] local.INFO: IMEI packet received {"connection_id":186327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":186327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:13:07] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:13:07] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:13:07] local.INFO: IMEI packet received {"connection_id":186327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":186327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:13:08] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:13:08] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:13:08] local.INFO: Packet analysis {"connection_id":186327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:08] local.INFO: Extracted packet for processing {"connection_id":186327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13: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-09-18 21:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:13: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-09-18 21:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:13:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":186327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:13:08] local.INFO: GPS data processed {"connection_id":186327,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:13:08] local.INFO: Acknowledgment sent {"connection_id":186327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:13:09] local.INFO: TCP Data received {"connection_id":189079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:13:09] local.INFO: Processing buffer {"connection_id":189079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:13:09] local.INFO: IMEI packet received {"connection_id":189079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":189079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:13:11] local.INFO: TCP Data received {"connection_id":189080,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:13:11] local.INFO: Processing buffer {"connection_id":189080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:13:11] local.INFO: IMEI packet received {"connection_id":189080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":189080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:13:16] local.INFO: TCP Data received {"connection_id":189080,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:13:16] local.INFO: Processing buffer {"connection_id":189080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:13:16] local.INFO: IMEI packet received {"connection_id":189080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":189080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:13:18] local.INFO: TCP Data received {"connection_id":189080,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:13:18] local.INFO: Processing buffer {"connection_id":189080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:13:18] local.INFO: Packet analysis {"connection_id":189080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:18] local.INFO: Extracted packet for processing {"connection_id":189080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:13:18] 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-09-18 21:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":189080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:13:18] local.INFO: GPS data processed {"connection_id":189080,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:13:18] local.INFO: Acknowledgment sent {"connection_id":189080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:13:39] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:13:39] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:13:39] local.INFO: Packet analysis {"connection_id":186327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:39] local.INFO: Extracted packet for processing {"connection_id":186327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":186327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:13:40] local.INFO: GPS data processed {"connection_id":186327,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:13:40] local.INFO: Acknowledgment sent {"connection_id":186327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:13:49] local.INFO: TCP Data received {"connection_id":189080,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:13:49] local.INFO: Processing buffer {"connection_id":189080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:13:49] local.INFO: Packet analysis {"connection_id":189080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:49] local.INFO: Extracted packet for processing {"connection_id":189080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:13:49] 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-09-18 21:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":189080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:13:49] local.INFO: GPS data processed {"connection_id":189080,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:13:49] local.INFO: Acknowledgment sent {"connection_id":189080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:14:02] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:14:02] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:14:02] local.INFO: IMEI packet received {"connection_id":186476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":186476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:14:07] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:14:07] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:14:07] local.INFO: IMEI packet received {"connection_id":186476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":186476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:14:08] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:14:08] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:14:08] local.INFO: Packet analysis {"connection_id":186476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:08] local.INFO: Extracted packet for processing {"connection_id":186476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14: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-09-18 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:14: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-09-18 21:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:14:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":186476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:14:08] local.INFO: GPS data processed {"connection_id":186476,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:14:08] local.INFO: Acknowledgment sent {"connection_id":186476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:14:16] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:14:16] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:14:16] local.INFO: IMEI packet received {"connection_id":186328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":186328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:14:21] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:14:21] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:14:21] local.INFO: IMEI packet received {"connection_id":186328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":186328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:14:23] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:14:23] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:14:23] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:23] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:14:23] 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-09-18 21: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-09-18 21:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:14:23] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:14:23] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:14:27] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:14:27] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:14:27] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:27] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:14: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-09-18 21:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:14:27] 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-09-18 21:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:14:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:14:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:14:27] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:14:27] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:14:39] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:14:39] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:14:39] local.INFO: Packet analysis {"connection_id":186476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:39] local.INFO: Extracted packet for processing {"connection_id":186476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":186476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:14:39] local.INFO: GPS data processed {"connection_id":186476,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:14:39] local.INFO: Acknowledgment sent {"connection_id":186476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:15:02] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:15:02] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:15:02] local.INFO: IMEI packet received {"connection_id":189081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":189081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:15:07] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:15:07] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:15:07] local.INFO: IMEI packet received {"connection_id":189081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":189081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:15:08] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:15:08] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:15:08] local.INFO: Packet analysis {"connection_id":189081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:15:08] local.INFO: Extracted packet for processing {"connection_id":189081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21: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-09-18 21:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:15: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-09-18 21:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":189081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:15:08] local.INFO: GPS data processed {"connection_id":189081,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:15:08] local.INFO: Acknowledgment sent {"connection_id":189081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:15:11] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:15:11] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:15:11] local.INFO: IMEI packet received {"connection_id":189082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":189082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:15:16] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:15:16] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:15:16] local.INFO: IMEI packet received {"connection_id":189082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":189082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:15:17] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:15:17] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cc7f0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:15:17] local.INFO: Packet analysis {"connection_id":189082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:15:17] local.INFO: Extracted packet for processing {"connection_id":189082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174900480001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746006000,"timestamp_ms":1789746006000,"timestamp_seconds":1789746006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cc7f0"} 
[2026-09-18 21:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":52,"data_length":795,"current_offset":136} 
[2026-09-18 21:15:17] 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-09-18 21:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174900480001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174900480001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174900480001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":189082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:15:17] local.INFO: GPS data processed {"connection_id":189082,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:15:17] local.INFO: Acknowledgment sent {"connection_id":189082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:15:40] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:15:40] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b52cfea0012d196540071ff0380040015427..."} 
[2026-09-18 21:15:40] local.INFO: Packet analysis {"connection_id":189081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:15:40] local.INFO: Extracted packet for processing {"connection_id":189081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b52c"} 
[2026-09-18 21:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174904064001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789746020000,"timestamp_ms":1789746020000,"timestamp_seconds":1789746020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b52cfea0"} 
[2026-09-18 21:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174904064001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174904064001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:15:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174904064001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":189081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:15:40] local.INFO: GPS data processed {"connection_id":189081,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:15:40] local.INFO: Acknowledgment sent {"connection_id":189081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:15:49] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:15:49] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:15:49] local.INFO: Packet analysis {"connection_id":189082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:15:49] local.INFO: Extracted packet for processing {"connection_id":189082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":189082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:15:49] local.INFO: GPS data processed {"connection_id":189082,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:15:49] local.INFO: Acknowledgment sent {"connection_id":189082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:16:07] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:16:07] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:16:07] local.INFO: IMEI packet received {"connection_id":187736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":187736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:16:11] local.INFO: TCP Data received {"connection_id":189083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:16:11] local.INFO: Processing buffer {"connection_id":189083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:16:11] local.INFO: IMEI packet received {"connection_id":189083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":189083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:16:12] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:16:12] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:16:12] local.INFO: IMEI packet received {"connection_id":187736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":187736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:16:13] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:16:13] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:16:13] local.INFO: Packet analysis {"connection_id":187736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:13] local.INFO: Extracted packet for processing {"connection_id":187736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:16:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":187736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:16:13] local.INFO: GPS data processed {"connection_id":187736,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:16:13] local.INFO: Acknowledgment sent {"connection_id":187736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:16:16] local.INFO: TCP Data received {"connection_id":189083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:16:16] local.INFO: Processing buffer {"connection_id":189083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:16:16] local.INFO: IMEI packet received {"connection_id":189083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":189083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:16:17] local.INFO: TCP Data received {"connection_id":189083,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:16:17] local.INFO: Processing buffer {"connection_id":189083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:16:17] local.INFO: Packet analysis {"connection_id":189083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:17] local.INFO: Extracted packet for processing {"connection_id":189083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:16: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-09-18 21:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:16:17] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:16:17] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:16:17] local.INFO: Packet analysis {"connection_id":187736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:17] local.INFO: Extracted packet for processing {"connection_id":187736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":189083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:16:17] local.INFO: GPS data processed {"connection_id":189083,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:16:17] local.INFO: Acknowledgment sent {"connection_id":189083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":187736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:16:17] local.INFO: GPS data processed {"connection_id":187736,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:16:17] local.INFO: Acknowledgment sent {"connection_id":187736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:16:49] local.INFO: TCP Data received {"connection_id":189083,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:16:49] local.INFO: Processing buffer {"connection_id":189083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:16:49] local.INFO: Packet analysis {"connection_id":189083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:49] local.INFO: Extracted packet for processing {"connection_id":189083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":189083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:16:49] local.INFO: GPS data processed {"connection_id":189083,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:16:49] local.INFO: Acknowledgment sent {"connection_id":189083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:17:02] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:17:02] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:17:02] local.INFO: IMEI packet received {"connection_id":187737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":187737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:17:08] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:17:08] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:17:08] local.INFO: IMEI packet received {"connection_id":187737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":187737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:17:09] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:17:09] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:17:09] local.INFO: Packet analysis {"connection_id":187737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:09] local.INFO: Extracted packet for processing {"connection_id":187737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17: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-09-18 21:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:17: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-09-18 21:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:17:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":187737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:17:09] local.INFO: GPS data processed {"connection_id":187737,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:17:09] local.INFO: Acknowledgment sent {"connection_id":187737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:17:11] local.INFO: TCP Data received {"connection_id":189084,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:17:11] local.INFO: Processing buffer {"connection_id":189084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:17:11] local.INFO: IMEI packet received {"connection_id":189084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":189084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:17:16] local.INFO: TCP Data received {"connection_id":189084,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:17:16] local.INFO: Processing buffer {"connection_id":189084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:17:16] local.INFO: IMEI packet received {"connection_id":189084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":189084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:17:17] local.INFO: TCP Data received {"connection_id":189084,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:17:17] local.INFO: Processing buffer {"connection_id":189084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:17:17] local.INFO: Packet analysis {"connection_id":189084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:17] local.INFO: Extracted packet for processing {"connection_id":189084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":189084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:17:17] local.INFO: GPS data processed {"connection_id":189084,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:17:17] local.INFO: Acknowledgment sent {"connection_id":189084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:17:40] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:17:40] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:17:40] local.INFO: Packet analysis {"connection_id":187737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:40] local.INFO: Extracted packet for processing {"connection_id":187737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":187737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:17:40] local.INFO: GPS data processed {"connection_id":187737,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:17:40] local.INFO: Acknowledgment sent {"connection_id":187737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:17:48] local.INFO: TCP Data received {"connection_id":189084,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:17:48] local.INFO: Processing buffer {"connection_id":189084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:17:48] local.INFO: Packet analysis {"connection_id":189084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:48] local.INFO: Extracted packet for processing {"connection_id":189084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:17: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-09-18 21: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-09-18 21: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-09-18 21:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":189084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:17:48] local.INFO: GPS data processed {"connection_id":189084,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:17:48] local.INFO: Acknowledgment sent {"connection_id":189084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:18:03] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:18:03] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:18:03] local.INFO: IMEI packet received {"connection_id":189085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":189085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:18:07] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:18:07] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:18:07] local.INFO: IMEI packet received {"connection_id":189085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":189085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:18:08] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:18:08] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:18:08] local.INFO: Packet analysis {"connection_id":189085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:08] local.INFO: Extracted packet for processing {"connection_id":189085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18: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-09-18 21:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:18: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-09-18 21:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:18:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":189085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:18:08] local.INFO: GPS data processed {"connection_id":189085,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:18:08] local.INFO: Acknowledgment sent {"connection_id":189085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:18:11] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:18:11] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:18:11] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:18:16] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:18:16] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:18:16] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:18:17] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:18:17] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:18:17] local.INFO: Packet analysis {"connection_id":186329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:17] local.INFO: Extracted packet for processing {"connection_id":186329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:18: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-09-18 21:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":186329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:18:17] local.INFO: GPS data processed {"connection_id":186329,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:18:17] local.INFO: Acknowledgment sent {"connection_id":186329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:18:30] local.INFO: TCP Data received {"connection_id":187738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:18:30] local.INFO: Processing buffer {"connection_id":187738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:18:30] local.INFO: IMEI packet received {"connection_id":187738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":187738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:18:39] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:18:39] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:18:39] local.INFO: Packet analysis {"connection_id":189085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:39] local.INFO: Extracted packet for processing {"connection_id":189085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:18: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-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":189085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:18:40] local.INFO: GPS data processed {"connection_id":189085,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:18:40] local.INFO: Acknowledgment sent {"connection_id":189085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:18:48] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:18:48] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:18:48] local.INFO: Packet analysis {"connection_id":186329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:48] local.INFO: Extracted packet for processing {"connection_id":186329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:18: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-09-18 21:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:18: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-09-18 21:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":186329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:18:48] local.INFO: GPS data processed {"connection_id":186329,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:18:48] local.INFO: Acknowledgment sent {"connection_id":186329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:19:02] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:19:02] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:19:02] local.INFO: IMEI packet received {"connection_id":187739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":187739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:19:07] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:19:07] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:19:07] local.INFO: IMEI packet received {"connection_id":187739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":187739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:19:08] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:19:08] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:19:08] local.INFO: Packet analysis {"connection_id":187739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:08] local.INFO: Extracted packet for processing {"connection_id":187739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19: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-09-18 21:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:19: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-09-18 21:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:19: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-09-18 21:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:19:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":187739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:19:08] local.INFO: GPS data processed {"connection_id":187739,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:19:08] local.INFO: Acknowledgment sent {"connection_id":187739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:19:11] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:19:11] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:19:11] local.INFO: IMEI packet received {"connection_id":187740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":187740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:19:16] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:19:16] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:19:16] local.INFO: IMEI packet received {"connection_id":187740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":187740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:19:17] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:19:17] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:19:17] local.INFO: Packet analysis {"connection_id":187740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:17] local.INFO: Extracted packet for processing {"connection_id":187740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:19: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-09-18 21:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":187740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:19:17] local.INFO: GPS data processed {"connection_id":187740,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:19:17] local.INFO: Acknowledgment sent {"connection_id":187740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:19:39] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:19:39] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:19:39] local.INFO: Packet analysis {"connection_id":187739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:39] local.INFO: Extracted packet for processing {"connection_id":187739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:19: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-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:19:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":187739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:19:39] local.INFO: GPS data processed {"connection_id":187739,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:19:39] local.INFO: Acknowledgment sent {"connection_id":187739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:19:48] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:19:48] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:19:48] local.INFO: Packet analysis {"connection_id":187740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:48] local.INFO: Extracted packet for processing {"connection_id":187740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:19: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-09-18 21:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:19: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-09-18 21:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":187740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:19:48] local.INFO: GPS data processed {"connection_id":187740,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:19:48] local.INFO: Acknowledgment sent {"connection_id":187740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:20:07] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:20:07] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:20:07] local.INFO: IMEI packet received {"connection_id":186477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":186477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:20:12] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:20:12] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:20:12] local.INFO: IMEI packet received {"connection_id":186477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:20:13] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:20:13] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:20:13] local.INFO: Packet analysis {"connection_id":186477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:13] local.INFO: Extracted packet for processing {"connection_id":186477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:20:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":186477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:20:13] local.INFO: GPS data processed {"connection_id":186477,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:20:13] local.INFO: Acknowledgment sent {"connection_id":186477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:20:16] local.INFO: TCP Data received {"connection_id":189086,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:20:16] local.INFO: Processing buffer {"connection_id":189086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:20:16] local.INFO: IMEI packet received {"connection_id":189086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":189086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:20:17] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:20:17] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5319668012d196540071ff0380040015428..."} 
[2026-09-18 21:20:17] local.INFO: Packet analysis {"connection_id":186477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:17] local.INFO: Extracted packet for processing {"connection_id":186477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174981120001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746321000,"timestamp_ms":1789746321000,"timestamp_seconds":1789746321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5319668"} 
[2026-09-18 21:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174981120001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174981120001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174981120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":186477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:20:18] local.INFO: GPS data processed {"connection_id":186477,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:20:18] local.INFO: Acknowledgment sent {"connection_id":186477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:20:21] local.INFO: TCP Data received {"connection_id":189086,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:20:21] local.INFO: Processing buffer {"connection_id":189086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:20:21] local.INFO: IMEI packet received {"connection_id":189086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":189086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:20:22] local.INFO: TCP Data received {"connection_id":189086,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:20:22] local.INFO: Processing buffer {"connection_id":189086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:20:22] local.INFO: Packet analysis {"connection_id":189086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:22] local.INFO: Extracted packet for processing {"connection_id":189086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:20:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:20:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":189086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:20:22] local.INFO: GPS data processed {"connection_id":189086,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:20:22] local.INFO: Acknowledgment sent {"connection_id":189086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:20:27] local.INFO: TCP Data received {"connection_id":189086,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:20:27] local.INFO: Processing buffer {"connection_id":189086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5315fb8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:20:27] local.INFO: Packet analysis {"connection_id":189086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:27] local.INFO: Extracted packet for processing {"connection_id":189086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b531"} 
[2026-09-18 21:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458174977536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789746307000,"timestamp_ms":1789746307000,"timestamp_seconds":1789746307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5315fb8"} 
[2026-09-18 21:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:20: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-09-18 21:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:20:27] 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-09-18 21:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458174977536001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458174977536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:20:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:20:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458174977536001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":189086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:20:27] local.INFO: GPS data processed {"connection_id":189086,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:20:27] local.INFO: Acknowledgment sent {"connection_id":189086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:21:00] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:00] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:00] local.INFO: IMEI packet received {"connection_id":186478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":186478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:21:02] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:02] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:02] local.INFO: IMEI packet received {"connection_id":186478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":186478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:21:07] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:07] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:21:07] local.INFO: IMEI packet received {"connection_id":186478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:21:08] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:21:08] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:21:08] local.INFO: Packet analysis {"connection_id":186478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:21:08] local.INFO: Extracted packet for processing {"connection_id":186478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21: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-09-18 21:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:21: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-09-18 21:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:21: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-09-18 21:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:21:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":186478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:21:08] local.INFO: GPS data processed {"connection_id":186478,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:21:08] local.INFO: Acknowledgment sent {"connection_id":186478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:21:12] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:21:12] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:21:12] local.INFO: IMEI packet received {"connection_id":186330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":186330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:21:16] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:21:16] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:21:16] local.INFO: IMEI packet received {"connection_id":186330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":186330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:21:17] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:21:17] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:21:17] local.INFO: Packet analysis {"connection_id":186330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:21:17] local.INFO: Extracted packet for processing {"connection_id":186330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:21: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-09-18 21:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":186330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:21:17] local.INFO: GPS data processed {"connection_id":186330,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:21:17] local.INFO: Acknowledgment sent {"connection_id":186330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:21:39] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:21:39] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:21:39] local.INFO: Packet analysis {"connection_id":186478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:21:39] local.INFO: Extracted packet for processing {"connection_id":186478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:21:39] 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-09-18 21:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:21:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":186478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:21:39] local.INFO: GPS data processed {"connection_id":186478,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:21:39] local.INFO: Acknowledgment sent {"connection_id":186478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:21:49] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:21:49] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:21:49] local.INFO: Packet analysis {"connection_id":186330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:21:49] local.INFO: Extracted packet for processing {"connection_id":186330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":186330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:21:49] local.INFO: GPS data processed {"connection_id":186330,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:21:49] local.INFO: Acknowledgment sent {"connection_id":186330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:22:03] local.INFO: TCP Data received {"connection_id":187741,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:22:03] local.INFO: Processing buffer {"connection_id":187741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:22:03] local.INFO: IMEI packet received {"connection_id":187741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":187741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:22:07] local.INFO: TCP Data received {"connection_id":187741,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:22:07] local.INFO: Processing buffer {"connection_id":187741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:22:07] local.INFO: IMEI packet received {"connection_id":187741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":187741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:22:08] local.INFO: TCP Data received {"connection_id":187741,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:22:08] local.INFO: Processing buffer {"connection_id":187741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:22:08] local.INFO: Packet analysis {"connection_id":187741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:22:08] local.INFO: Extracted packet for processing {"connection_id":187741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21: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-09-18 21:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21: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-09-18 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:22: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-09-18 21:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:22:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":187741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:22:08] local.INFO: GPS data processed {"connection_id":187741,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:22:08] local.INFO: Acknowledgment sent {"connection_id":187741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:22:11] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:22:11] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:22:11] local.INFO: IMEI packet received {"connection_id":186331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":186331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:22:16] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:22:16] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:22:16] local.INFO: IMEI packet received {"connection_id":186331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:22:17] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:22:17] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:22:17] local.INFO: Packet analysis {"connection_id":186331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:22:17] local.INFO: Extracted packet for processing {"connection_id":186331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:22: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-09-18 21:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":186331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:22:17] local.INFO: GPS data processed {"connection_id":186331,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:22:17] local.INFO: Acknowledgment sent {"connection_id":186331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:22:40] local.INFO: TCP Data received {"connection_id":187741,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:22:40] local.INFO: Processing buffer {"connection_id":187741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:22:40] local.INFO: Packet analysis {"connection_id":187741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:22:40] local.INFO: Extracted packet for processing {"connection_id":187741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:22:40] 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-09-18 21:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:22:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":187741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:22:40] local.INFO: GPS data processed {"connection_id":187741,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:22:40] local.INFO: Acknowledgment sent {"connection_id":187741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:22:48] local.INFO: TCP Data received {"connection_id":186331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:22:48] local.INFO: Processing buffer {"connection_id":186331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:22:48] local.INFO: Packet analysis {"connection_id":186331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:22:48] local.INFO: Extracted packet for processing {"connection_id":186331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:22: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-09-18 21:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:22:48] local.INFO: GPS data processed {"connection_id":186331,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:22:48] local.INFO: Acknowledgment sent {"connection_id":186331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:23:02] local.INFO: TCP Data received {"connection_id":189087,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:23:02] local.INFO: Processing buffer {"connection_id":189087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:23:02] local.INFO: IMEI packet received {"connection_id":189087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":189087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:23:07] local.INFO: TCP Data received {"connection_id":189087,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:23:07] local.INFO: Processing buffer {"connection_id":189087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:23:07] local.INFO: IMEI packet received {"connection_id":189087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":189087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:23:08] local.INFO: TCP Data received {"connection_id":189087,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:23:08] local.INFO: Processing buffer {"connection_id":189087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:23:08] local.INFO: Packet analysis {"connection_id":189087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:23:08] local.INFO: Extracted packet for processing {"connection_id":189087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23: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-09-18 21:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:23: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-09-18 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:23: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-09-18 21:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:23:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":189087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:23:08] local.INFO: GPS data processed {"connection_id":189087,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:23:08] local.INFO: Acknowledgment sent {"connection_id":189087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:23:11] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:23:11] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:23:11] local.INFO: IMEI packet received {"connection_id":189089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":189089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:23:16] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:23:16] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:23:16] local.INFO: IMEI packet received {"connection_id":189089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":189089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:23:17] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:23:17] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:23:17] local.INFO: Packet analysis {"connection_id":189089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:23:17] local.INFO: Extracted packet for processing {"connection_id":189089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:23: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-09-18 21:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":189089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:23:17] local.INFO: GPS data processed {"connection_id":189089,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:23:17] local.INFO: Acknowledgment sent {"connection_id":189089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:23:39] local.INFO: TCP Data received {"connection_id":189087,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:23:39] local.INFO: Processing buffer {"connection_id":189087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:23:39] local.INFO: Packet analysis {"connection_id":189087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:23:39] local.INFO: Extracted packet for processing {"connection_id":189087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:23:39] 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-09-18 21:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:23:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":189087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:23:39] local.INFO: GPS data processed {"connection_id":189087,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:23:39] local.INFO: Acknowledgment sent {"connection_id":189087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:23:48] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:23:48] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:23:48] local.INFO: Packet analysis {"connection_id":189089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:23:48] local.INFO: Extracted packet for processing {"connection_id":189089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:23: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-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:23: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-09-18 21:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":189089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:23:48] local.INFO: GPS data processed {"connection_id":189089,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:23:48] local.INFO: Acknowledgment sent {"connection_id":189089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:24:05] local.INFO: TCP Data received {"connection_id":189088,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:24:05] local.INFO: Processing buffer {"connection_id":189088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:24:05] local.INFO: IMEI packet received {"connection_id":189088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":189088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:24:07] local.INFO: TCP Data received {"connection_id":189090,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:24:07] local.INFO: Processing buffer {"connection_id":189090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:24:07] local.INFO: IMEI packet received {"connection_id":189090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":189090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:24:11] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:24:11] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:24:11] local.INFO: IMEI packet received {"connection_id":186332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":186332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:24:12] local.INFO: TCP Data received {"connection_id":189090,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:24:12] local.INFO: Processing buffer {"connection_id":189090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:24:12] local.INFO: IMEI packet received {"connection_id":189090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":189090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:24:13] local.INFO: TCP Data received {"connection_id":189090,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:24:13] local.INFO: Processing buffer {"connection_id":189090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:24:13] local.INFO: Packet analysis {"connection_id":189090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:24:13] local.INFO: Extracted packet for processing {"connection_id":189090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:24:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":189090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:24:13] local.INFO: GPS data processed {"connection_id":189090,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:24:13] local.INFO: Acknowledgment sent {"connection_id":189090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:24:16] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:24:16] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:24:16] local.INFO: IMEI packet received {"connection_id":186332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":186332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:24:17] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:24:17] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:24:17] local.INFO: Packet analysis {"connection_id":186332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:24:17] local.INFO: Extracted packet for processing {"connection_id":186332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:24: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-09-18 21:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":186332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:24:17] local.INFO: GPS data processed {"connection_id":186332,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:24:17] local.INFO: Acknowledgment sent {"connection_id":186332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:24:17] local.INFO: TCP Data received {"connection_id":189090,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:24:17] local.INFO: Processing buffer {"connection_id":189090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:24:17] local.INFO: Packet analysis {"connection_id":189090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:24:17] local.INFO: Extracted packet for processing {"connection_id":189090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:24:17] 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-09-18 21:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":189090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:24:18] local.INFO: GPS data processed {"connection_id":189090,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:24:18] local.INFO: Acknowledgment sent {"connection_id":189090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:24:48] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:24:48] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:24:48] local.INFO: Packet analysis {"connection_id":186332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:24:48] local.INFO: Extracted packet for processing {"connection_id":186332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:24: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-09-18 21:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:24: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-09-18 21:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":186332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:24:48] local.INFO: GPS data processed {"connection_id":186332,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:24:48] local.INFO: Acknowledgment sent {"connection_id":186332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:25:02] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:25:02] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:25:02] local.INFO: IMEI packet received {"connection_id":189091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":189091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:25:07] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:25:07] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:25:07] local.INFO: IMEI packet received {"connection_id":189091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":189091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:25:07] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:25:07] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:25:07] local.INFO: Packet analysis {"connection_id":189091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:25:07] local.INFO: Extracted packet for processing {"connection_id":189091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25: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-09-18 21:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:25: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-09-18 21: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-09-18 21:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":189091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:25:08] local.INFO: GPS data processed {"connection_id":189091,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:25:08] local.INFO: Acknowledgment sent {"connection_id":189091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:25:16] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:25:16] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:25:16] local.INFO: IMEI packet received {"connection_id":189092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":189092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:25:21] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:25:21] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:25:21] local.INFO: IMEI packet received {"connection_id":189092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":189092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:25:22] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:25:22] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:25:22] local.INFO: Packet analysis {"connection_id":189092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:25:22] local.INFO: Extracted packet for processing {"connection_id":189092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:25:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:25:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:25:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":189092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:25:22] local.INFO: GPS data processed {"connection_id":189092,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:25:22] local.INFO: Acknowledgment sent {"connection_id":189092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:25:26] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:25:26] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b535f780012d34c58006aa4030000a011720..."} 
[2026-09-18 21:25:26] local.INFO: Packet analysis {"connection_id":189092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:25:26] local.INFO: Extracted packet for processing {"connection_id":189092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b535"} 
[2026-09-18 21:25:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175054592001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789746608000,"timestamp_ms":1789746608000,"timestamp_seconds":1789746608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b535f780"} 
[2026-09-18 21:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:25: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-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:25:26] 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-09-18 21: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-09-18 21:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:25: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-09-18 21:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175054592001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175054592001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:25:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:25:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175054592001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":189092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:25:27] local.INFO: GPS data processed {"connection_id":189092,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:25:27] local.INFO: Acknowledgment sent {"connection_id":189092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:25:39] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:25:39] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5362e30012d196540071ff0380040015429..."} 
[2026-09-18 21:25:39] local.INFO: Packet analysis {"connection_id":189091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:25:39] local.INFO: Extracted packet for processing {"connection_id":189091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b536"} 
[2026-09-18 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175058176001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746622000,"timestamp_ms":1789746622000,"timestamp_seconds":1789746622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5362e30"} 
[2026-09-18 21:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:25:39] 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-09-18 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175058176001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175058176001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175058176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":189091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:25:39] local.INFO: GPS data processed {"connection_id":189091,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:25:39] local.INFO: Acknowledgment sent {"connection_id":189091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:26:01] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:01] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:01] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:26:02] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:02] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:02] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:26:07] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:07] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:26:07] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:26:08] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:26:08] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:26:08] local.INFO: Packet analysis {"connection_id":186333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:08] local.INFO: Extracted packet for processing {"connection_id":186333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26: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-09-18 21:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:26: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-09-18 21:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:26: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-09-18 21:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:26:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":186333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:26:08] local.INFO: GPS data processed {"connection_id":186333,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:26:08] local.INFO: Acknowledgment sent {"connection_id":186333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:26:11] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:26:11] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:26:11] local.INFO: IMEI packet received {"connection_id":186479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":186479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:26:16] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:26:16] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:26:16] local.INFO: IMEI packet received {"connection_id":186479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":186479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:26:17] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:26:17] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:26:17] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:17] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:26: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-09-18 21:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:26:17] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:26:17] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:26:39] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:26:39] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:26:39] local.INFO: Packet analysis {"connection_id":186333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:39] local.INFO: Extracted packet for processing {"connection_id":186333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:26:39] 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-09-18 21:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:26:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":186333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:26:39] local.INFO: GPS data processed {"connection_id":186333,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:26:39] local.INFO: Acknowledgment sent {"connection_id":186333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:26:48] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:26:48] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:26:48] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:48] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:26: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-09-18 21:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:26: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-09-18 21:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:26:48] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:26:48] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:27:02] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:27:02] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:27:02] local.INFO: IMEI packet received {"connection_id":187742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":187742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:27:07] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:27:07] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:27:07] local.INFO: IMEI packet received {"connection_id":187742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":187742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:27:08] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:27:08] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:27:08] local.INFO: Packet analysis {"connection_id":187742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:08] local.INFO: Extracted packet for processing {"connection_id":187742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27: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-09-18 21:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:27: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-09-18 21:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:27: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-09-18 21:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:27:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":187742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:27:08] local.INFO: GPS data processed {"connection_id":187742,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:27:08] local.INFO: Acknowledgment sent {"connection_id":187742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:27:11] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:27:11] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:27:11] local.INFO: IMEI packet received {"connection_id":186334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":186334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:27:16] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:27:16] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:27:16] local.INFO: IMEI packet received {"connection_id":186334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":186334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:27:18] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:27:18] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:27:18] local.INFO: Packet analysis {"connection_id":186334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:18] local.INFO: Extracted packet for processing {"connection_id":186334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:27:18] 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-09-18 21:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":186334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:27:18] local.INFO: GPS data processed {"connection_id":186334,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:27:18] local.INFO: Acknowledgment sent {"connection_id":186334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:27:39] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:27:39] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:27:39] local.INFO: Packet analysis {"connection_id":187742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:39] local.INFO: Extracted packet for processing {"connection_id":187742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:27:39] 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-09-18 21:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":187742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:27:40] local.INFO: GPS data processed {"connection_id":187742,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:27:40] local.INFO: Acknowledgment sent {"connection_id":187742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:27:50] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:27:50] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:27:50] local.INFO: Packet analysis {"connection_id":186334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:50] local.INFO: Extracted packet for processing {"connection_id":186334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:27:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:27:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":186334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:27:50] local.INFO: GPS data processed {"connection_id":186334,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:27:50] local.INFO: Acknowledgment sent {"connection_id":186334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:28:07] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:28:07] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:28:07] local.INFO: IMEI packet received {"connection_id":189093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":189093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:28:11] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:28:11] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:28:11] local.INFO: IMEI packet received {"connection_id":186480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":186480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:28:12] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:28:12] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:28:12] local.INFO: IMEI packet received {"connection_id":189093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":189093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:28:13] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:28:13] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:28:13] local.INFO: Packet analysis {"connection_id":189093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:13] local.INFO: Extracted packet for processing {"connection_id":189093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:28:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":189093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:28:13] local.INFO: GPS data processed {"connection_id":189093,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:28:13] local.INFO: Acknowledgment sent {"connection_id":189093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:28:16] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:28:16] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:28:16] local.INFO: IMEI packet received {"connection_id":186480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:28:18] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:28:18] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:28:18] local.INFO: Packet analysis {"connection_id":189093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:18] local.INFO: Extracted packet for processing {"connection_id":189093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":189093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:28:18] local.INFO: GPS data processed {"connection_id":189093,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:28:18] local.INFO: Acknowledgment sent {"connection_id":189093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:28:19] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:28:19] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:28:19] local.INFO: Packet analysis {"connection_id":186480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:19] local.INFO: Extracted packet for processing {"connection_id":186480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:28: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-09-18 21:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":186480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:28:19] local.INFO: GPS data processed {"connection_id":186480,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:28:19] local.INFO: Acknowledgment sent {"connection_id":186480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:28:51] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:28:51] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:28:51] local.INFO: Packet analysis {"connection_id":186480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:51] local.INFO: Extracted packet for processing {"connection_id":186480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:28:51] 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-09-18 21:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":186480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:28:51] local.INFO: GPS data processed {"connection_id":186480,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:28:51] local.INFO: Acknowledgment sent {"connection_id":186480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:29:02] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:29:02] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:29:02] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:29:07] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:29:07] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:29:07] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:29:08] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:29:08] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:29:08] local.INFO: Packet analysis {"connection_id":186335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:08] local.INFO: Extracted packet for processing {"connection_id":186335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29: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-09-18 21:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:29: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-09-18 21:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:29: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-09-18 21:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:29:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":186335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:29:09] local.INFO: GPS data processed {"connection_id":186335,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:29:09] local.INFO: Acknowledgment sent {"connection_id":186335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:29:11] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:29:11] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:29:11] local.INFO: IMEI packet received {"connection_id":186481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":186481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:29:16] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:29:16] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:29:16] local.INFO: IMEI packet received {"connection_id":186481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:29:17] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:29:17] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:29:17] local.INFO: Packet analysis {"connection_id":186481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:17] local.INFO: Extracted packet for processing {"connection_id":186481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:29: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-09-18 21:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":186481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:29:17] local.INFO: GPS data processed {"connection_id":186481,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:29:17] local.INFO: Acknowledgment sent {"connection_id":186481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:29:39] local.INFO: TCP Data received {"connection_id":187743,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:29:39] local.INFO: Processing buffer {"connection_id":187743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:29:39] local.INFO: IMEI packet received {"connection_id":187743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":187743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:29:40] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:29:40] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:29:40] local.INFO: Packet analysis {"connection_id":186335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:40] local.INFO: Extracted packet for processing {"connection_id":186335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:29:40] 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-09-18 21:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":186335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:29:40] local.INFO: GPS data processed {"connection_id":186335,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:29:40] local.INFO: Acknowledgment sent {"connection_id":186335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:29:50] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:29:50] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:29:50] local.INFO: Packet analysis {"connection_id":186481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:50] local.INFO: Extracted packet for processing {"connection_id":186481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:29: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-09-18 21:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":186481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:29:50] local.INFO: GPS data processed {"connection_id":186481,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:29:50] local.INFO: Acknowledgment sent {"connection_id":186481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:30:02] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:30:02] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:30:02] local.INFO: IMEI packet received {"connection_id":186482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":186482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:30:07] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:30:07] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:30:07] local.INFO: IMEI packet received {"connection_id":186482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":186482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:30:08] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:30:08] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:30:08] local.INFO: Packet analysis {"connection_id":186482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:30:08] local.INFO: Extracted packet for processing {"connection_id":186482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30: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-09-18 21:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:30: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-09-18 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:30: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-09-18 21:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:30:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":186482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:30:08] local.INFO: GPS data processed {"connection_id":186482,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:30:08] local.INFO: Acknowledgment sent {"connection_id":186482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:30:11] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:30:11] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:30:11] local.INFO: IMEI packet received {"connection_id":186336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":186336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:30:16] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:30:16] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:30:16] local.INFO: IMEI packet received {"connection_id":186336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":186336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:30:18] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:30:18] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53a8f48012d34c58006aa4030000a011721..."} 
[2026-09-18 21:30:18] local.INFO: Packet analysis {"connection_id":186336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:30:18] local.INFO: Extracted packet for processing {"connection_id":186336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175131648001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789746909000,"timestamp_ms":1789746909000,"timestamp_seconds":1789746909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53a8f48"} 
[2026-09-18 21:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:30:18] 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-09-18 21:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175131648001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175131648001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175131648001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":186336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:30:18] local.INFO: GPS data processed {"connection_id":186336,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:30:18] local.INFO: Acknowledgment sent {"connection_id":186336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:30:39] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:30:39] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53ac5f8012d196540071ff0380040015426..."} 
[2026-09-18 21:30:39] local.INFO: Packet analysis {"connection_id":186482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:30:39] local.INFO: Extracted packet for processing {"connection_id":186482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53a"} 
[2026-09-18 21:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175135232001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789746923000,"timestamp_ms":1789746923000,"timestamp_seconds":1789746923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53ac5f8"} 
[2026-09-18 21:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:30:39] 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-09-18 21:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175135232001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175135232001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175135232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":186482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:30:40] local.INFO: GPS data processed {"connection_id":186482,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:30:40] local.INFO: Acknowledgment sent {"connection_id":186482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:30:49] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:30:49] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:30:49] local.INFO: Packet analysis {"connection_id":186336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:30:49] local.INFO: Extracted packet for processing {"connection_id":186336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:30:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":186336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:30:49] local.INFO: GPS data processed {"connection_id":186336,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:30:49] local.INFO: Acknowledgment sent {"connection_id":186336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:31:02] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:02] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:02] local.INFO: IMEI packet received {"connection_id":187744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":187744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:31:03] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:03] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:03] local.INFO: IMEI packet received {"connection_id":187744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":187744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:31:07] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:07] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:31:07] local.INFO: IMEI packet received {"connection_id":187744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":187744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:31:08] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:31:08] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:31:08] local.INFO: Packet analysis {"connection_id":187744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:08] local.INFO: Extracted packet for processing {"connection_id":187744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 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-09-18 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:31: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-09-18 21:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":187744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:31:08] local.INFO: GPS data processed {"connection_id":187744,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:31:08] local.INFO: Acknowledgment sent {"connection_id":187744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:31:16] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:31:16] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:31:16] local.INFO: IMEI packet received {"connection_id":187745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":187745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:31:21] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:31:21] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:31:21] local.INFO: IMEI packet received {"connection_id":187745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":187745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:31:22] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:31:22] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:31:22] local.INFO: Packet analysis {"connection_id":187745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:22] local.INFO: Extracted packet for processing {"connection_id":187745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":187745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:31:22] local.INFO: GPS data processed {"connection_id":187745,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:31:22] local.INFO: Acknowledgment sent {"connection_id":187745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:31:39] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:31:39] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:31:39] local.INFO: Packet analysis {"connection_id":187744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:39] local.INFO: Extracted packet for processing {"connection_id":187744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:31:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":187744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:31:40] local.INFO: GPS data processed {"connection_id":187744,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:31:40] local.INFO: Acknowledgment sent {"connection_id":187744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:31:54] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:31:54] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:31:54] local.INFO: Packet analysis {"connection_id":187745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:54] local.INFO: Extracted packet for processing {"connection_id":187745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":187745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:31:54] local.INFO: GPS data processed {"connection_id":187745,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:31:54] local.INFO: Acknowledgment sent {"connection_id":187745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:32:02] local.INFO: TCP Data received {"connection_id":189094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:32:02] local.INFO: Processing buffer {"connection_id":189094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:32:02] local.INFO: IMEI packet received {"connection_id":189094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":189094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:32:07] local.INFO: TCP Data received {"connection_id":189094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:32:07] local.INFO: Processing buffer {"connection_id":189094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:32:07] local.INFO: IMEI packet received {"connection_id":189094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":189094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:32:08] local.INFO: TCP Data received {"connection_id":189094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:32:08] local.INFO: Processing buffer {"connection_id":189094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:32:08] local.INFO: Packet analysis {"connection_id":189094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:08] local.INFO: Extracted packet for processing {"connection_id":189094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32: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-09-18 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:32: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-09-18 21:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:32:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":189094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:32:08] local.INFO: GPS data processed {"connection_id":189094,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:32:08] local.INFO: Acknowledgment sent {"connection_id":189094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:32:11] local.INFO: TCP Data received {"connection_id":187746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:32:11] local.INFO: Processing buffer {"connection_id":187746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:32:11] local.INFO: IMEI packet received {"connection_id":187746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":187746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:32:16] local.INFO: TCP Data received {"connection_id":187746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:32:16] local.INFO: Processing buffer {"connection_id":187746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:32:16] local.INFO: IMEI packet received {"connection_id":187746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":187746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:32:20] local.INFO: TCP Data received {"connection_id":187746,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:32:20] local.INFO: Processing buffer {"connection_id":187746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:32:20] local.INFO: Packet analysis {"connection_id":187746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:20] local.INFO: Extracted packet for processing {"connection_id":187746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:32:20] 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-09-18 21:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":187746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:32:20] local.INFO: GPS data processed {"connection_id":187746,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:32:20] local.INFO: Acknowledgment sent {"connection_id":187746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:32:39] local.INFO: TCP Data received {"connection_id":189094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:32:39] local.INFO: Processing buffer {"connection_id":189094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:32:39] local.INFO: Packet analysis {"connection_id":189094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:39] local.INFO: Extracted packet for processing {"connection_id":189094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:32:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":189094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:32:39] local.INFO: GPS data processed {"connection_id":189094,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:32:39] local.INFO: Acknowledgment sent {"connection_id":189094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:32:51] local.INFO: TCP Data received {"connection_id":187746,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:32:51] local.INFO: Processing buffer {"connection_id":187746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:32:51] local.INFO: Packet analysis {"connection_id":187746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:51] local.INFO: Extracted packet for processing {"connection_id":187746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:32:51] 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-09-18 21: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-09-18 21:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":187746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:32:51] local.INFO: GPS data processed {"connection_id":187746,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:32:51] local.INFO: Acknowledgment sent {"connection_id":187746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:33:07] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:33:07] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:33:07] local.INFO: IMEI packet received {"connection_id":189095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":189095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:33:11] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:33:11] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:33:11] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:33:12] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:33:12] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:33:12] local.INFO: IMEI packet received {"connection_id":189095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":189095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:33:13] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:33:13] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:33:13] local.INFO: Packet analysis {"connection_id":189095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:13] local.INFO: Extracted packet for processing {"connection_id":189095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":189095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:33:13] local.INFO: GPS data processed {"connection_id":189095,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:33:13] local.INFO: Acknowledgment sent {"connection_id":189095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:33:16] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:33:16] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:33:16] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:33:17] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:33:17] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:33:17] local.INFO: Packet analysis {"connection_id":189095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:17] local.INFO: Extracted packet for processing {"connection_id":189095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:33:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":189095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:33:18] local.INFO: GPS data processed {"connection_id":189095,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:33:18] local.INFO: Acknowledgment sent {"connection_id":189095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:33:18] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:33:18] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:33:18] local.INFO: Packet analysis {"connection_id":186483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:18] local.INFO: Extracted packet for processing {"connection_id":186483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:33:18] 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-09-18 21:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:33:18] local.INFO: GPS data processed {"connection_id":186483,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:33:18] local.INFO: Acknowledgment sent {"connection_id":186483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:33:49] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:33:49] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:33:49] local.INFO: Packet analysis {"connection_id":186483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:49] local.INFO: Extracted packet for processing {"connection_id":186483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":186483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:33:49] local.INFO: GPS data processed {"connection_id":186483,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:33:49] local.INFO: Acknowledgment sent {"connection_id":186483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:34:02] local.INFO: TCP Data received {"connection_id":187748,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:34:02] local.INFO: Processing buffer {"connection_id":187748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:34:02] local.INFO: IMEI packet received {"connection_id":187748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":187748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:34:07] local.INFO: TCP Data received {"connection_id":187748,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:34:07] local.INFO: Processing buffer {"connection_id":187748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:34:07] local.INFO: IMEI packet received {"connection_id":187748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":187748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:34:08] local.INFO: TCP Data received {"connection_id":187748,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:34:08] local.INFO: Processing buffer {"connection_id":187748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:34:08] local.INFO: Packet analysis {"connection_id":187748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:08] local.INFO: Extracted packet for processing {"connection_id":187748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34: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-09-18 21:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:34: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-09-18 21:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:34:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":187748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:34:08] local.INFO: GPS data processed {"connection_id":187748,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:34:08] local.INFO: Acknowledgment sent {"connection_id":187748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:34:16] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:34:16] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:34:16] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:34:21] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:34:21] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:34:21] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:34:22] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:34:22] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:34:22] local.INFO: Packet analysis {"connection_id":186337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:22] local.INFO: Extracted packet for processing {"connection_id":186337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:34:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":186337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:34:22] local.INFO: GPS data processed {"connection_id":186337,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:34:22] local.INFO: Acknowledgment sent {"connection_id":186337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:34:27] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:34:27] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:34:27] local.INFO: Packet analysis {"connection_id":186337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:27] local.INFO: Extracted packet for processing {"connection_id":186337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:34:27] 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-09-18 21:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:34:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:34:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":186337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:34:27] local.INFO: GPS data processed {"connection_id":186337,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:34:27] local.INFO: Acknowledgment sent {"connection_id":186337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:34:39] local.INFO: TCP Data received {"connection_id":187748,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:34:39] local.INFO: Processing buffer {"connection_id":187748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:34:39] local.INFO: Packet analysis {"connection_id":187748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:39] local.INFO: Extracted packet for processing {"connection_id":187748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":187748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:34:39] local.INFO: GPS data processed {"connection_id":187748,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:34:39] local.INFO: Acknowledgment sent {"connection_id":187748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:35:02] local.INFO: TCP Data received {"connection_id":187749,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:35:02] local.INFO: Processing buffer {"connection_id":187749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:35:02] local.INFO: IMEI packet received {"connection_id":187749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":187749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:35:08] local.INFO: TCP Data received {"connection_id":187749,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:35:08] local.INFO: Processing buffer {"connection_id":187749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:35:08] local.INFO: IMEI packet received {"connection_id":187749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":187749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:35:08] local.INFO: TCP Data received {"connection_id":187749,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:35:08] local.INFO: Processing buffer {"connection_id":187749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:35:08] local.INFO: Packet analysis {"connection_id":187749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:08] local.INFO: Extracted packet for processing {"connection_id":187749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35: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-09-18 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:35: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-09-18 21:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:35:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":187749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:35:08] local.INFO: GPS data processed {"connection_id":187749,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:35:08] local.INFO: Acknowledgment sent {"connection_id":187749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:35:11] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:35:11] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:35:11] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:35:15] local.INFO: TCP Data received {"connection_id":187747,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:35:15] local.INFO: Processing buffer {"connection_id":187747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:35:15] local.INFO: IMEI packet received {"connection_id":187747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":187747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:35:16] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:35:16] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:35:16] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:35:17] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:35:17] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:35:17] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:17] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:35: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-09-18 21:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:35: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-09-18 21:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:35:17] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:35:17] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:35:39] local.INFO: TCP Data received {"connection_id":187749,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:35:39] local.INFO: Processing buffer {"connection_id":187749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f5dc0012d196540071ff0380040015427..."} 
[2026-09-18 21:35:39] local.INFO: Packet analysis {"connection_id":187749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:39] local.INFO: Extracted packet for processing {"connection_id":187749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175212288001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747224000,"timestamp_ms":1789747224000,"timestamp_seconds":1789747224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f5dc0"} 
[2026-09-18 21:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 21:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175212288001,"66":2122,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175212288001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:35:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175212288001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":187749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:35:39] local.INFO: GPS data processed {"connection_id":187749,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:35:39] local.INFO: Acknowledgment sent {"connection_id":187749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:35:48] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:35:48] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b53f2710012d34c58006aa4030000a011723..."} 
[2026-09-18 21:35:48] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:48] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b53f"} 
[2026-09-18 21:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175208704001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789747210000,"timestamp_ms":1789747210000,"timestamp_seconds":1789747210,"priority":1,"record_length":96,"hex_timestamp":"000001a0b53f2710"} 
[2026-09-18 21:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:35: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-09-18 21:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:35: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-09-18 21:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175208704001,"66":25875,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175208704001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175208704001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:35:48] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:35:48] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:36:02] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:02] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:02] local.INFO: IMEI packet received {"connection_id":189096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":189096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:36:03] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:03] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:03] local.INFO: IMEI packet received {"connection_id":189096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":189096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:36:07] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:07] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:36:07] local.INFO: IMEI packet received {"connection_id":189096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":189096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:36:08] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:36:08] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:36:08] local.INFO: Packet analysis {"connection_id":189096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:08] local.INFO: Extracted packet for processing {"connection_id":189096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 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-09-18 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:36: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-09-18 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":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:36:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":189096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:36:08] local.INFO: GPS data processed {"connection_id":189096,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:36:08] local.INFO: Acknowledgment sent {"connection_id":189096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:36:11] local.INFO: TCP Data received {"connection_id":189097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:36:11] local.INFO: Processing buffer {"connection_id":189097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:36:11] local.INFO: IMEI packet received {"connection_id":189097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":189097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:36:16] local.INFO: TCP Data received {"connection_id":189097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:36:16] local.INFO: Processing buffer {"connection_id":189097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:36:16] local.INFO: IMEI packet received {"connection_id":189097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":189097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:36:18] local.INFO: TCP Data received {"connection_id":189097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:36:18] local.INFO: Processing buffer {"connection_id":189097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:36:18] local.INFO: Packet analysis {"connection_id":189097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:18] local.INFO: Extracted packet for processing {"connection_id":189097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:36:18] 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-09-18 21:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":189097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:36:18] local.INFO: GPS data processed {"connection_id":189097,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:36:18] local.INFO: Acknowledgment sent {"connection_id":189097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:36:39] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:36:39] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:36:39] local.INFO: Packet analysis {"connection_id":189096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:39] local.INFO: Extracted packet for processing {"connection_id":189096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":189096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:36:39] local.INFO: GPS data processed {"connection_id":189096,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:36:39] local.INFO: Acknowledgment sent {"connection_id":189096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:36:49] local.INFO: TCP Data received {"connection_id":189097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:36:49] local.INFO: Processing buffer {"connection_id":189097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:36:49] local.INFO: Packet analysis {"connection_id":189097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:49] local.INFO: Extracted packet for processing {"connection_id":189097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":189097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:36:49] local.INFO: GPS data processed {"connection_id":189097,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:36:49] local.INFO: Acknowledgment sent {"connection_id":189097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:37:08] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:37:08] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:37:08] local.INFO: IMEI packet received {"connection_id":186484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":186484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:37:11] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:37:11] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:37:11] local.INFO: IMEI packet received {"connection_id":186339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":186339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:37:12] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:37:12] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:37:12] local.INFO: IMEI packet received {"connection_id":186484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":186484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:37:13] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:37:13] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:37:13] local.INFO: Packet analysis {"connection_id":186484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:13] local.INFO: Extracted packet for processing {"connection_id":186484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:37:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":186484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:37:13] local.INFO: GPS data processed {"connection_id":186484,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:37:13] local.INFO: Acknowledgment sent {"connection_id":186484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:37:16] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:37:16] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:37:16] local.INFO: IMEI packet received {"connection_id":186339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":186339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:37:17] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:37:17] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:37:17] local.INFO: Packet analysis {"connection_id":186339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:17] local.INFO: Extracted packet for processing {"connection_id":186339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:37: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-09-18 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:37: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-09-18 21:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:37:17] local.INFO: GPS data processed {"connection_id":186339,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:37:17] local.INFO: Acknowledgment sent {"connection_id":186339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:37:17] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:37:17] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:37:17] local.INFO: Packet analysis {"connection_id":186484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:17] local.INFO: Extracted packet for processing {"connection_id":186484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:37:17] local.INFO: GPS data processed {"connection_id":186484,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:37:17] local.INFO: Acknowledgment sent {"connection_id":186484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:37:49] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:37:49] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:37:49] local.INFO: Packet analysis {"connection_id":186339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:49] local.INFO: Extracted packet for processing {"connection_id":186339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":186339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:37:49] local.INFO: GPS data processed {"connection_id":186339,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:37:49] local.INFO: Acknowledgment sent {"connection_id":186339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:38:02] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:38:02] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:38:02] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:38:07] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:38:07] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:38:07] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:38:08] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:38:08] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:38:08] local.INFO: Packet analysis {"connection_id":186340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:08] local.INFO: Extracted packet for processing {"connection_id":186340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38: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-09-18 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:38: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-09-18 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:38:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":186340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:38:08] local.INFO: GPS data processed {"connection_id":186340,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:38:08] local.INFO: Acknowledgment sent {"connection_id":186340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:38:11] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:38:11] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:38:11] local.INFO: IMEI packet received {"connection_id":189098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":189098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:38:16] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:38:16] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:38:16] local.INFO: IMEI packet received {"connection_id":189098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":189098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:38:18] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:38:18] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:38:18] local.INFO: Packet analysis {"connection_id":189098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:18] local.INFO: Extracted packet for processing {"connection_id":189098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:38:18] 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-09-18 21:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:38:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":189098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:38:18] local.INFO: GPS data processed {"connection_id":189098,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:38:18] local.INFO: Acknowledgment sent {"connection_id":189098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:38:39] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:38:39] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:38:39] local.INFO: Packet analysis {"connection_id":186340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:39] local.INFO: Extracted packet for processing {"connection_id":186340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:38:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":186340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:38:39] local.INFO: GPS data processed {"connection_id":186340,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:38:39] local.INFO: Acknowledgment sent {"connection_id":186340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:38:49] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:38:49] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:38:49] local.INFO: Packet analysis {"connection_id":189098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:49] local.INFO: Extracted packet for processing {"connection_id":189098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":189098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:38:49] local.INFO: GPS data processed {"connection_id":189098,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:38:49] local.INFO: Acknowledgment sent {"connection_id":189098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:39:02] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:39:02] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:39:02] local.INFO: IMEI packet received {"connection_id":186486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":186486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:39:07] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:39:07] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:39:07] local.INFO: IMEI packet received {"connection_id":186486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":186486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:39:08] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:39:08] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:39:08] local.INFO: Packet analysis {"connection_id":186486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:08] local.INFO: Extracted packet for processing {"connection_id":186486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39: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-09-18 21:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:39: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-09-18 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:39:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":186486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:39:08] local.INFO: GPS data processed {"connection_id":186486,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:39:08] local.INFO: Acknowledgment sent {"connection_id":186486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:39:16] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:39:16] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:39:16] local.INFO: IMEI packet received {"connection_id":186341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":186341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:39:21] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:39:21] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:39:21] local.INFO: IMEI packet received {"connection_id":186341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":186341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:39:23] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:39:23] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:39:23] local.INFO: Packet analysis {"connection_id":186341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:23] local.INFO: Extracted packet for processing {"connection_id":186341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:39:23] local.INFO: GPS data processed {"connection_id":186341,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:39:23] local.INFO: Acknowledgment sent {"connection_id":186341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:39:27] local.INFO: TCP Data received {"connection_id":186341,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:39:27] local.INFO: Processing buffer {"connection_id":186341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:39:27] local.INFO: Packet analysis {"connection_id":186341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:27] local.INFO: Extracted packet for processing {"connection_id":186341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:39:27] 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-09-18 21: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-09-18 21:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:39:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:39:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":186341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:39:27] local.INFO: GPS data processed {"connection_id":186341,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:39:27] local.INFO: Acknowledgment sent {"connection_id":186341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:39:39] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:39:39] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:39:39] local.INFO: Packet analysis {"connection_id":186486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:39] local.INFO: Extracted packet for processing {"connection_id":186486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":186486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:39:39] local.INFO: GPS data processed {"connection_id":186486,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:39:39] local.INFO: Acknowledgment sent {"connection_id":186486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:40:02] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:40:02] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:40:02] local.INFO: IMEI packet received {"connection_id":187750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":187750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:40:07] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:40:07] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:40:07] local.INFO: IMEI packet received {"connection_id":187750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":187750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:40:08] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:40:08] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:40:08] local.INFO: Packet analysis {"connection_id":187750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:08] local.INFO: Extracted packet for processing {"connection_id":187750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40: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-09-18 21:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:40: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-09-18 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:40:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":187750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:40:08] local.INFO: GPS data processed {"connection_id":187750,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:40:08] local.INFO: Acknowledgment sent {"connection_id":187750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:40:11] local.INFO: TCP Data received {"connection_id":187751,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:40:11] local.INFO: Processing buffer {"connection_id":187751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:40:11] local.INFO: IMEI packet received {"connection_id":187751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":187751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:40:16] local.INFO: TCP Data received {"connection_id":187751,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:40:16] local.INFO: Processing buffer {"connection_id":187751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:40:16] local.INFO: IMEI packet received {"connection_id":187751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":187751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:40:17] local.INFO: TCP Data received {"connection_id":187751,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:40:17] local.INFO: Processing buffer {"connection_id":187751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:40:17] local.INFO: Packet analysis {"connection_id":187751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:17] local.INFO: Extracted packet for processing {"connection_id":187751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:40: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-09-18 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:40: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-09-18 21:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":187751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:40:17] local.INFO: GPS data processed {"connection_id":187751,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:40:17] local.INFO: Acknowledgment sent {"connection_id":187751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:40:39] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:40:39] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543f588012d196540071ff0380040015428..."} 
[2026-09-18 21:40:39] local.INFO: Packet analysis {"connection_id":187750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:39] local.INFO: Extracted packet for processing {"connection_id":187750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175289344001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747525000,"timestamp_ms":1789747525000,"timestamp_seconds":1789747525,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543f588"} 
[2026-09-18 21:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-18 21:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175289344001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175289344001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:40:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175289344001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":187750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:40:39] local.INFO: GPS data processed {"connection_id":187750,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:40:39] local.INFO: Acknowledgment sent {"connection_id":187750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:40:49] local.INFO: TCP Data received {"connection_id":187751,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:40:49] local.INFO: Processing buffer {"connection_id":187751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b543bed8012d34c58006aa4030000a011724..."} 
[2026-09-18 21:40:49] local.INFO: Packet analysis {"connection_id":187751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:49] local.INFO: Extracted packet for processing {"connection_id":187751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b543"} 
[2026-09-18 21:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175285760001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747511000,"timestamp_ms":1789747511000,"timestamp_seconds":1789747511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b543bed8"} 
[2026-09-18 21:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 21:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175285760001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175285760001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175285760001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":187751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:40:49] local.INFO: GPS data processed {"connection_id":187751,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:40:49] local.INFO: Acknowledgment sent {"connection_id":187751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:40:50] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:40:50] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:40:50] local.INFO: IMEI packet received {"connection_id":186485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":186485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:41:02] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:02] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:02] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:41:04] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:04] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:04] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:41:07] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:07] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:41:07] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:41:08] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:41:08] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:41:08] local.INFO: Packet analysis {"connection_id":186342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:08] local.INFO: Extracted packet for processing {"connection_id":186342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41: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-09-18 21:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:41: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-09-18 21:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:41:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":186342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:41:08] local.INFO: GPS data processed {"connection_id":186342,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:41:08] local.INFO: Acknowledgment sent {"connection_id":186342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:41:11] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:41:11] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:41:11] local.INFO: IMEI packet received {"connection_id":189099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":189099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:41:16] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:41:16] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:41:16] local.INFO: IMEI packet received {"connection_id":189099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":189099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:41:18] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:41:18] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:41:18] local.INFO: Packet analysis {"connection_id":189099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:18] local.INFO: Extracted packet for processing {"connection_id":189099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:41:18] 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-09-18 21:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:41: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-09-18 21:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:41:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":189099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:41:18] local.INFO: GPS data processed {"connection_id":189099,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:41:18] local.INFO: Acknowledgment sent {"connection_id":189099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:41:39] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:41:39] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:41:39] local.INFO: Packet analysis {"connection_id":186342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:39] local.INFO: Extracted packet for processing {"connection_id":186342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:41:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":186342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:41:39] local.INFO: GPS data processed {"connection_id":186342,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:41:39] local.INFO: Acknowledgment sent {"connection_id":186342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:41:49] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:41:49] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:41:49] local.INFO: Packet analysis {"connection_id":189099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:49] local.INFO: Extracted packet for processing {"connection_id":189099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:41:49] 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-09-18 21:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:41:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":189099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:41:49] local.INFO: GPS data processed {"connection_id":189099,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:41:49] local.INFO: Acknowledgment sent {"connection_id":189099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:42:07] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:42:07] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:42:07] local.INFO: IMEI packet received {"connection_id":187752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":187752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:42:11] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:42:11] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:42:11] local.INFO: IMEI packet received {"connection_id":187753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:42:12] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:42:12] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:42:12] local.INFO: IMEI packet received {"connection_id":187752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":187752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:42:13] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:42:13] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:42:13] local.INFO: Packet analysis {"connection_id":187752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:13] local.INFO: Extracted packet for processing {"connection_id":187752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:42:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":187752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:42:13] local.INFO: GPS data processed {"connection_id":187752,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:42:13] local.INFO: Acknowledgment sent {"connection_id":187752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:42:16] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:42:16] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:42:16] local.INFO: IMEI packet received {"connection_id":187753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:42:17] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:42:17] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:42:17] local.INFO: Packet analysis {"connection_id":187753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:17] local.INFO: Extracted packet for processing {"connection_id":187753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:42: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-09-18 21:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:42:17] 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-09-18 21:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":187753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:42:17] local.INFO: GPS data processed {"connection_id":187753,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:42:17] local.INFO: Acknowledgment sent {"connection_id":187753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:42:17] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:42:17] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:42:17] local.INFO: Packet analysis {"connection_id":187752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:17] local.INFO: Extracted packet for processing {"connection_id":187752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":187752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:42:17] local.INFO: GPS data processed {"connection_id":187752,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:42:17] local.INFO: Acknowledgment sent {"connection_id":187752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:42:49] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:42:49] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:42:49] local.INFO: Packet analysis {"connection_id":187753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:49] local.INFO: Extracted packet for processing {"connection_id":187753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:42:49] 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-09-18 21:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":187753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:42:49] local.INFO: GPS data processed {"connection_id":187753,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:42:49] local.INFO: Acknowledgment sent {"connection_id":187753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:43:02] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:43:02] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:43:02] local.INFO: IMEI packet received {"connection_id":186487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":186487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:43:07] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:43:07] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:43:07] local.INFO: IMEI packet received {"connection_id":186487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":186487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:43:08] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:43:08] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:43:08] local.INFO: Packet analysis {"connection_id":186487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:08] local.INFO: Extracted packet for processing {"connection_id":186487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43: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-09-18 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:43: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-09-18 21:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:43:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":186487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:43:08] local.INFO: GPS data processed {"connection_id":186487,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:43:08] local.INFO: Acknowledgment sent {"connection_id":186487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:43:16] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:43:16] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:43:16] local.INFO: IMEI packet received {"connection_id":189100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":189100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:43:21] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:43:21] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:43:21] local.INFO: IMEI packet received {"connection_id":189100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":189100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:43:22] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:43:22] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:43:22] local.INFO: Packet analysis {"connection_id":189100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:22] local.INFO: Extracted packet for processing {"connection_id":189100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:43:22] 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-09-18 21:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":189100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:43:22] local.INFO: GPS data processed {"connection_id":189100,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:43:22] local.INFO: Acknowledgment sent {"connection_id":189100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:43:27] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:43:27] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:43:27] local.INFO: Packet analysis {"connection_id":189100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:27] local.INFO: Extracted packet for processing {"connection_id":189100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:43:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:43:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":189100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:43:27] local.INFO: GPS data processed {"connection_id":189100,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:43:27] local.INFO: Acknowledgment sent {"connection_id":189100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:43:39] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:43:39] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:43:39] local.INFO: Packet analysis {"connection_id":186487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:39] local.INFO: Extracted packet for processing {"connection_id":186487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:43:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":186487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:43:39] local.INFO: GPS data processed {"connection_id":186487,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:43:39] local.INFO: Acknowledgment sent {"connection_id":186487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:44:02] local.INFO: TCP Data received {"connection_id":189101,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:44:02] local.INFO: Processing buffer {"connection_id":189101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:44:02] local.INFO: IMEI packet received {"connection_id":189101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":189101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:44:07] local.INFO: TCP Data received {"connection_id":189101,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:44:07] local.INFO: Processing buffer {"connection_id":189101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:44:07] local.INFO: IMEI packet received {"connection_id":189101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":189101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:44:08] local.INFO: TCP Data received {"connection_id":189101,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:44:08] local.INFO: Processing buffer {"connection_id":189101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:44:08] local.INFO: Packet analysis {"connection_id":189101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:08] local.INFO: Extracted packet for processing {"connection_id":189101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44: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-09-18 21:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:44: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-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:44:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":189101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:44:08] local.INFO: GPS data processed {"connection_id":189101,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:44:08] local.INFO: Acknowledgment sent {"connection_id":189101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:44:11] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:44:11] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:44:11] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:44:16] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:44:16] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:44:16] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:44:17] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:44:17] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:44:17] local.INFO: Packet analysis {"connection_id":186344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:17] local.INFO: Extracted packet for processing {"connection_id":186344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:44: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-09-18 21:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:44:17] 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-09-18 21:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:44:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":186344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:44:18] local.INFO: GPS data processed {"connection_id":186344,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:44:18] local.INFO: Acknowledgment sent {"connection_id":186344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:44:39] local.INFO: TCP Data received {"connection_id":189101,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:44:39] local.INFO: Processing buffer {"connection_id":189101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:44:39] local.INFO: Packet analysis {"connection_id":189101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:39] local.INFO: Extracted packet for processing {"connection_id":189101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":189101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:44:39] local.INFO: GPS data processed {"connection_id":189101,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:44:39] local.INFO: Acknowledgment sent {"connection_id":189101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:44:49] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:44:49] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:44:49] local.INFO: Packet analysis {"connection_id":186344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:49] local.INFO: Extracted packet for processing {"connection_id":186344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:44:49] 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-09-18 21:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":186344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:44:49] local.INFO: GPS data processed {"connection_id":186344,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:44:49] local.INFO: Acknowledgment sent {"connection_id":186344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:45:03] local.INFO: TCP Data received {"connection_id":189102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:45:03] local.INFO: Processing buffer {"connection_id":189102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:45:03] local.INFO: IMEI packet received {"connection_id":189102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":189102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:45:07] local.INFO: TCP Data received {"connection_id":189102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:45:07] local.INFO: Processing buffer {"connection_id":189102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:45:07] local.INFO: IMEI packet received {"connection_id":189102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":189102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:45:08] local.INFO: TCP Data received {"connection_id":189102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:45:08] local.INFO: Processing buffer {"connection_id":189102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:45:08] local.INFO: Packet analysis {"connection_id":189102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:08] local.INFO: Extracted packet for processing {"connection_id":189102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45: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-09-18 21:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:45: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-09-18 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:45:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":189102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:45:08] local.INFO: GPS data processed {"connection_id":189102,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:45:08] local.INFO: Acknowledgment sent {"connection_id":189102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:45:11] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:45:11] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:45:11] local.INFO: IMEI packet received {"connection_id":187754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":187754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:45:16] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:45:16] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:45:16] local.INFO: IMEI packet received {"connection_id":187754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":187754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:45:18] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:45:18] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:45:18] local.INFO: Packet analysis {"connection_id":187754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:18] local.INFO: Extracted packet for processing {"connection_id":187754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:45:18] 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-09-18 21:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":187754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:45:18] local.INFO: GPS data processed {"connection_id":187754,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:45:18] local.INFO: Acknowledgment sent {"connection_id":187754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:45:39] local.INFO: TCP Data received {"connection_id":189102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:45:39] local.INFO: Processing buffer {"connection_id":189102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5488d50012d196540071ff0380040015427..."} 
[2026-09-18 21:45:39] local.INFO: Packet analysis {"connection_id":189102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:39] local.INFO: Extracted packet for processing {"connection_id":189102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175366400001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789747826000,"timestamp_ms":1789747826000,"timestamp_seconds":1789747826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5488d50"} 
[2026-09-18 21:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175366400001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175366400001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:45:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:45:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175366400001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":189102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:45:40] local.INFO: GPS data processed {"connection_id":189102,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:45:40] local.INFO: Acknowledgment sent {"connection_id":189102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:45:49] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:45:49] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54856a0012d34c58006aa4030000a011723..."} 
[2026-09-18 21:45:49] local.INFO: Packet analysis {"connection_id":187754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:49] local.INFO: Extracted packet for processing {"connection_id":187754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b548"} 
[2026-09-18 21:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175362816001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789747812000,"timestamp_ms":1789747812000,"timestamp_seconds":1789747812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54856a0"} 
[2026-09-18 21:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:45:49] 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-09-18 21:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175362816001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175362816001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175362816001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":187754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:45:49] local.INFO: GPS data processed {"connection_id":187754,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:45:49] local.INFO: Acknowledgment sent {"connection_id":187754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:46:02] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:02] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:02] local.INFO: IMEI packet received {"connection_id":189103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":189103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:46:05] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:05] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:05] local.INFO: IMEI packet received {"connection_id":189103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":189103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:46:07] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:07] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:46:07] local.INFO: IMEI packet received {"connection_id":189103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":189103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:46:08] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:46:08] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:46:08] local.INFO: Packet analysis {"connection_id":189103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:46:08] local.INFO: Extracted packet for processing {"connection_id":189103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46: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-09-18 21:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:46:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":189103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:46:08] local.INFO: GPS data processed {"connection_id":189103,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:46:08] local.INFO: Acknowledgment sent {"connection_id":189103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:46:11] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:46:11] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:46:11] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:46:16] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:46:16] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:46:16] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:46:17] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:46:17] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:46:17] local.INFO: Packet analysis {"connection_id":186345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:46:17] local.INFO: Extracted packet for processing {"connection_id":186345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 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-09-18 21:46: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-09-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:46:17] 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-09-18 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-09-18 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-09-18 21:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":186345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:46:17] local.INFO: GPS data processed {"connection_id":186345,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:46:17] local.INFO: Acknowledgment sent {"connection_id":186345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:46:25] local.INFO: TCP Data received {"connection_id":186343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:46:25] local.INFO: Processing buffer {"connection_id":186343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:46:25] local.INFO: IMEI packet received {"connection_id":186343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":186343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:46:39] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:46:39] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:46:39] local.INFO: Packet analysis {"connection_id":189103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:46:39] local.INFO: Extracted packet for processing {"connection_id":189103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:46:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":189103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:46:39] local.INFO: GPS data processed {"connection_id":189103,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:46:39] local.INFO: Acknowledgment sent {"connection_id":189103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:46:48] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:46:48] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:46:48] local.INFO: Packet analysis {"connection_id":186345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:46:48] local.INFO: Extracted packet for processing {"connection_id":186345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:46: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-09-18 21:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:46: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-09-18 21:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":186345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:46:48] local.INFO: GPS data processed {"connection_id":186345,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:46:48] local.INFO: Acknowledgment sent {"connection_id":186345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:47:02] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:47:02] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:47:02] local.INFO: IMEI packet received {"connection_id":186488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":186488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:47:07] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:47:07] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:47:07] local.INFO: IMEI packet received {"connection_id":186488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":186488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:47:08] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:47:08] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:47:08] local.INFO: Packet analysis {"connection_id":186488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:47:08] local.INFO: Extracted packet for processing {"connection_id":186488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47: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-09-18 21:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:47:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":186488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:47:08] local.INFO: GPS data processed {"connection_id":186488,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:47:08] local.INFO: Acknowledgment sent {"connection_id":186488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:47:11] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:47:11] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:47:11] local.INFO: IMEI packet received {"connection_id":189104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":189104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:47:16] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:47:16] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:47:16] local.INFO: IMEI packet received {"connection_id":189104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":189104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:47:17] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:47:17] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:47:17] local.INFO: Packet analysis {"connection_id":189104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:47:17] local.INFO: Extracted packet for processing {"connection_id":189104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:47: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-09-18 21:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:47:17] 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-09-18 21:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":189104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:47:18] local.INFO: GPS data processed {"connection_id":189104,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:47:18] local.INFO: Acknowledgment sent {"connection_id":189104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:47:39] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:47:39] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:47:39] local.INFO: Packet analysis {"connection_id":186488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:47:39] local.INFO: Extracted packet for processing {"connection_id":186488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":186488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:47:39] local.INFO: GPS data processed {"connection_id":186488,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:47:39] local.INFO: Acknowledgment sent {"connection_id":186488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:47:49] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:47:49] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:47:49] local.INFO: Packet analysis {"connection_id":189104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:47:49] local.INFO: Extracted packet for processing {"connection_id":189104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:47:49] 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-09-18 21:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":189104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:47:49] local.INFO: GPS data processed {"connection_id":189104,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:47:49] local.INFO: Acknowledgment sent {"connection_id":189104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:48:02] local.INFO: TCP Data received {"connection_id":187755,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:48:02] local.INFO: Processing buffer {"connection_id":187755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:48:02] local.INFO: IMEI packet received {"connection_id":187755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":187755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:48:07] local.INFO: TCP Data received {"connection_id":187755,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:48:07] local.INFO: Processing buffer {"connection_id":187755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:48:07] local.INFO: IMEI packet received {"connection_id":187755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":187755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:48:08] local.INFO: TCP Data received {"connection_id":187755,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:48:08] local.INFO: Processing buffer {"connection_id":187755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:48:08] local.INFO: Packet analysis {"connection_id":187755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:48:08] local.INFO: Extracted packet for processing {"connection_id":187755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48: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-09-18 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:48:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":187755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:48:08] local.INFO: GPS data processed {"connection_id":187755,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:48:08] local.INFO: Acknowledgment sent {"connection_id":187755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:48:16] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:48:16] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:48:16] local.INFO: IMEI packet received {"connection_id":186490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":186490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:48:21] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:48:21] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:48:21] local.INFO: IMEI packet received {"connection_id":186490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":186490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:48:22] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:48:22] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:48:22] local.INFO: Packet analysis {"connection_id":186490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:48:22] local.INFO: Extracted packet for processing {"connection_id":186490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:48:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":186490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:48:22] local.INFO: GPS data processed {"connection_id":186490,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:48:22] local.INFO: Acknowledgment sent {"connection_id":186490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:48:39] local.INFO: TCP Data received {"connection_id":187755,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:48:39] local.INFO: Processing buffer {"connection_id":187755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:48:39] local.INFO: Packet analysis {"connection_id":187755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:48:39] local.INFO: Extracted packet for processing {"connection_id":187755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:48:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":187755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:48:39] local.INFO: GPS data processed {"connection_id":187755,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:48:39] local.INFO: Acknowledgment sent {"connection_id":187755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:48:53] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:48:53] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:48:53] local.INFO: Packet analysis {"connection_id":186490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:48:53] local.INFO: Extracted packet for processing {"connection_id":186490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":186490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:48:53] local.INFO: GPS data processed {"connection_id":186490,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:48:53] local.INFO: Acknowledgment sent {"connection_id":186490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:49:02] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:49:02] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:49:02] local.INFO: IMEI packet received {"connection_id":186346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":186346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:49:07] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:49:07] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:49:07] local.INFO: IMEI packet received {"connection_id":186346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:49:08] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:49:08] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:49:08] local.INFO: Packet analysis {"connection_id":186346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:49:08] local.INFO: Extracted packet for processing {"connection_id":186346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49: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-09-18 21:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:49:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":186346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:49:08] local.INFO: GPS data processed {"connection_id":186346,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:49:08] local.INFO: Acknowledgment sent {"connection_id":186346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:49:11] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:49:11] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:49:11] local.INFO: IMEI packet received {"connection_id":186491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":186491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:49:16] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:49:16] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:49:16] local.INFO: IMEI packet received {"connection_id":186491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":186491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:49:18] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:49:18] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:49:18] local.INFO: Packet analysis {"connection_id":186491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:49:18] local.INFO: Extracted packet for processing {"connection_id":186491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:49:18] 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-09-18 21:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":186491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:49:18] local.INFO: GPS data processed {"connection_id":186491,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:49:18] local.INFO: Acknowledgment sent {"connection_id":186491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:49:39] local.INFO: TCP Data received {"connection_id":186346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:49:39] local.INFO: Processing buffer {"connection_id":186346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:49:39] local.INFO: Packet analysis {"connection_id":186346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:49:39] local.INFO: Extracted packet for processing {"connection_id":186346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":186346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:49:39] local.INFO: GPS data processed {"connection_id":186346,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:49:39] local.INFO: Acknowledgment sent {"connection_id":186346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:49:49] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:49:49] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:49:49] local.INFO: Packet analysis {"connection_id":186491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:49:49] local.INFO: Extracted packet for processing {"connection_id":186491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:49:49] 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-09-18 21:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":186491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:49:49] local.INFO: GPS data processed {"connection_id":186491,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:49:49] local.INFO: Acknowledgment sent {"connection_id":186491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:50:02] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:50:02] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:50:02] local.INFO: IMEI packet received {"connection_id":186347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":186347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:50:07] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:50:07] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:50:07] local.INFO: IMEI packet received {"connection_id":186347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":186347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:50:08] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:50:08] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:50:08] local.INFO: Packet analysis {"connection_id":186347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:50:08] local.INFO: Extracted packet for processing {"connection_id":186347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50: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-09-18 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:50:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":186347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:50:08] local.INFO: GPS data processed {"connection_id":186347,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:50:08] local.INFO: Acknowledgment sent {"connection_id":186347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:50:11] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:50:11] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:50:11] local.INFO: IMEI packet received {"connection_id":189105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":189105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:50:16] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:50:16] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:50:16] local.INFO: IMEI packet received {"connection_id":189105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":189105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:50:17] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:50:17] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:50:17] local.INFO: Packet analysis {"connection_id":189105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:50:17] local.INFO: Extracted packet for processing {"connection_id":189105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:50: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-09-18 21:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:50:17] 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-09-18 21:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":189105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:50:17] local.INFO: GPS data processed {"connection_id":189105,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:50:17] local.INFO: Acknowledgment sent {"connection_id":189105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:50:39] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:50:39] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54d2518012d196540071ff0380040015426..."} 
[2026-09-18 21:50:39] local.INFO: Packet analysis {"connection_id":186347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:50:39] local.INFO: Extracted packet for processing {"connection_id":186347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54d"} 
[2026-09-18 21:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175443456001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748127000,"timestamp_ms":1789748127000,"timestamp_seconds":1789748127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54d2518"} 
[2026-09-18 21:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175443456001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175443456001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175443456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":186347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:50:39] local.INFO: GPS data processed {"connection_id":186347,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:50:39] local.INFO: Acknowledgment sent {"connection_id":186347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:50:48] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:50:48] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b54cee68012d34c58006aa4030000a011721..."} 
[2026-09-18 21:50:48] local.INFO: Packet analysis {"connection_id":189105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:50:48] local.INFO: Extracted packet for processing {"connection_id":189105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b54c"} 
[2026-09-18 21:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175439872001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789748113000,"timestamp_ms":1789748113000,"timestamp_seconds":1789748113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b54cee68"} 
[2026-09-18 21:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:50: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-09-18 21:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 21:50: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-09-18 21:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175439872001,"66":25778,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175439872001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175439872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":189105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:50:48] local.INFO: GPS data processed {"connection_id":189105,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:50:48] local.INFO: Acknowledgment sent {"connection_id":189105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:51:02] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:02] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:02] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:51:06] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:06] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:06] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:51:07] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:07] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:51:07] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:51:07] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:51:07] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:51:07] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:07] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51: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-09-18 21:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:51:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:51:07] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:51:07] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:51:16] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:51:16] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:51:16] local.INFO: IMEI packet received {"connection_id":187756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":187756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:51:17] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:51:17] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:51:17] local.INFO: IMEI packet received {"connection_id":187756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":187756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:51:18] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5518630012d34c58006aa4030000a01171e..."} 
[2026-09-18 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5518630012d34c58006aa4030000a01171e..."} 
[2026-09-18 21:51:18] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5518630012d34c58006aa4030000a01171e..."} 
[2026-09-18 21:51:18] local.INFO: Packet analysis {"connection_id":187756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:18] local.INFO: Extracted packet for processing {"connection_id":187756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175516928001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789748414000,"timestamp_ms":1789748414000,"timestamp_seconds":1789748414,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5518630"} 
[2026-09-18 21:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175516928001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175516928001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175516928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":187756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:51:18] local.INFO: GPS data processed {"connection_id":187756,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:51:18] local.INFO: Acknowledgment sent {"connection_id":187756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:51:21] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551e7d8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551e7d8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:51:21] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551e7d8012d34c58006aa4030000a011720..."} 
[2026-09-18 21:51:21] local.INFO: Packet analysis {"connection_id":187756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:21] local.INFO: Extracted packet for processing {"connection_id":187756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820848,"longitude_deg":75.8433152,"latitude_deg":11.1820848,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-09-18 21:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175593984001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789748439000,"timestamp_ms":1789748439000,"timestamp_seconds":1789748439,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551e7d8"} 
[2026-09-18 21:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:51:21] 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-09-18 21:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175593984001,"66":25843,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175593984001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175593984001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":187756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:51:21] local.INFO: GPS data processed {"connection_id":187756,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:51:21] local.INFO: Acknowledgment sent {"connection_id":187756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:51:38] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:51:38] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:51:38] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:38] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:51:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:51:39] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:51:39] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:51:52] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5524980012d34c78006aa4200000a011720..."} 
[2026-09-18 21:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5524980012d34c78006aa4200000a011720..."} 
[2026-09-18 21:51:52] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5524980012d34c78006aa4200000a011720..."} 
[2026-09-18 21:51:52] local.INFO: Packet analysis {"connection_id":187756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:51:52] local.INFO: Extracted packet for processing {"connection_id":187756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175600384001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498744320,"note":"Value kept but may cause issues"} 
[2026-09-18 21:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789748464000,"timestamp_ms":1789748464000,"timestamp_seconds":1789748464,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5524980"} 
[2026-09-18 21:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 21: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-18 21:51:52] 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-09-18 21: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-09-18 21:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175600384001,"66":27658,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3802586226498744320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175600384001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498744320,"description":"Unknown IO ID 45"} 
[2026-09-18 21:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175600384001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498744320}} 
[2026-09-18 21:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":187756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:51:52] local.INFO: GPS data processed {"connection_id":187756,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:51:52] local.INFO: Acknowledgment sent {"connection_id":187756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:51:59] local.INFO: TCP Data received {"connection_id":186489,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:51:59] local.INFO: Processing buffer {"connection_id":186489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:51:59] local.INFO: IMEI packet received {"connection_id":186489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":186489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:52:02] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:52:02] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:52:02] local.INFO: IMEI packet received {"connection_id":186493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":186493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:52:07] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:52:07] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:52:07] local.INFO: IMEI packet received {"connection_id":186493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":186493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:52:08] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:52:08] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:52:08] local.INFO: Packet analysis {"connection_id":186493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:52:08] local.INFO: Extracted packet for processing {"connection_id":186493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52: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-09-18 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:52:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":186493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:52:08] local.INFO: GPS data processed {"connection_id":186493,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:52:08] local.INFO: Acknowledgment sent {"connection_id":186493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:52:11] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:52:11] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:52:11] local.INFO: IMEI packet received {"connection_id":186348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:52:16] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:52:16] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:52:16] local.INFO: IMEI packet received {"connection_id":186348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":186348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:52:19] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5529b88012d34c78006aa4200000a011721..."} 
[2026-09-18 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5529b88012d34c78006aa4200000a011721..."} 
[2026-09-18 21:52:19] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5529b88012d34c78006aa4200000a011721..."} 
[2026-09-18 21:52:19] local.INFO: Packet analysis {"connection_id":186348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:52:19] local.INFO: Extracted packet for processing {"connection_id":186348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175606784001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789748485000,"timestamp_ms":1789748485000,"timestamp_seconds":1789748485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5529b88"} 
[2026-09-18 21:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 21:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 21:52:19] 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-09-18 21:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:52: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-09-18 21:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175606784001,"66":27984,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175606784001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175606784001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":186348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:52:19] local.INFO: GPS data processed {"connection_id":186348,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:52:19] local.INFO: Acknowledgment sent {"connection_id":186348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:52:21] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5529b88012d34c78006aa4200000a011721..."} 
[2026-09-18 21:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5529b88012d34c78006aa4200000a011721..."} 
[2026-09-18 21:52:21] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5529b88012d34c78006aa4200000a011721..."} 
[2026-09-18 21:52:21] local.INFO: Packet analysis {"connection_id":186348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:52:21] local.INFO: Extracted packet for processing {"connection_id":186348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175606784001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789748485000,"timestamp_ms":1789748485000,"timestamp_seconds":1789748485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5529b88"} 
[2026-09-18 21:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 21:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-18 21:52:21] 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-09-18 21:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175606784001,"66":27984,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175606784001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:52:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175606784001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":186348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:52:21] local.INFO: GPS data processed {"connection_id":186348,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:52:21] local.INFO: Acknowledgment sent {"connection_id":186348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:52:39] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:52:39] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:52:39] local.INFO: Packet analysis {"connection_id":186493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:52:39] local.INFO: Extracted packet for processing {"connection_id":186493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":186493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:52:39] local.INFO: GPS data processed {"connection_id":186493,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:52:39] local.INFO: Acknowledgment sent {"connection_id":186493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:52:52] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b552ed90012d34c78006aa4200000a011724..."} 
[2026-09-18 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b552ed90012d34c78006aa4200000a011724..."} 
[2026-09-18 21:52:52] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b552ed90012d34c78006aa4200000a011724..."} 
[2026-09-18 21:52:52] local.INFO: Packet analysis {"connection_id":186348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:52:52] local.INFO: Extracted packet for processing {"connection_id":186348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b552"} 
[2026-09-18 21:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175612160001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789748506000,"timestamp_ms":1789748506000,"timestamp_seconds":1789748506,"priority":1,"record_length":96,"hex_timestamp":"000001a0b552ed90"} 
[2026-09-18 21:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-18 21:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175612160001,"66":27974,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175612160001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175612160001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":186348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:52:52] local.INFO: GPS data processed {"connection_id":186348,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:52:52] local.INFO: Acknowledgment sent {"connection_id":186348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:53:02] local.INFO: TCP Data received {"connection_id":187757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:53:02] local.INFO: Processing buffer {"connection_id":187757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:53:02] local.INFO: IMEI packet received {"connection_id":187757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":187757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:53:07] local.INFO: TCP Data received {"connection_id":187757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:53:07] local.INFO: Processing buffer {"connection_id":187757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:53:07] local.INFO: IMEI packet received {"connection_id":187757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":187757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:53:08] local.INFO: TCP Data received {"connection_id":187757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:53:08] local.INFO: Processing buffer {"connection_id":187757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:53:08] local.INFO: Packet analysis {"connection_id":187757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:53:08] local.INFO: Extracted packet for processing {"connection_id":187757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53: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-09-18 21:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:53:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":187757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:53:08] local.INFO: GPS data processed {"connection_id":187757,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:53:08] local.INFO: Acknowledgment sent {"connection_id":187757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:53:11] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:53:11] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:53:11] local.INFO: IMEI packet received {"connection_id":189106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":189106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:53:16] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:53:16] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:53:16] local.INFO: IMEI packet received {"connection_id":189106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":189106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:53:17] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5532ff8012d34c78006aa4200000a01171e..."} 
[2026-09-18 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5532ff8012d34c78006aa4200000a01171e..."} 
[2026-09-18 21:53:17] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5532ff8012d34c78006aa4200000a01171e..."} 
[2026-09-18 21:53:17] local.INFO: Packet analysis {"connection_id":189106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:53:17] local.INFO: Extracted packet for processing {"connection_id":189106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:53: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-09-18 21:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175617536001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748523000,"timestamp_ms":1789748523000,"timestamp_seconds":1789748523,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5532ff8"} 
[2026-09-18 21:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-18 21:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-18 21:53:17] 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-09-18 21:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175617536001,"66":27745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175617536001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175617536001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":189106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:53:17] local.INFO: GPS data processed {"connection_id":189106,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:53:17] local.INFO: Acknowledgment sent {"connection_id":189106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:53:40] local.INFO: TCP Data received {"connection_id":187757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:53:40] local.INFO: Processing buffer {"connection_id":187757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:53:40] local.INFO: Packet analysis {"connection_id":187757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:53:40] local.INFO: Extracted packet for processing {"connection_id":187757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:53:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":187757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:53:40] local.INFO: GPS data processed {"connection_id":187757,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:53:40] local.INFO: Acknowledgment sent {"connection_id":187757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:53:48] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:53:48] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:53:48] local.INFO: Packet analysis {"connection_id":189106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:53:48] local.INFO: Extracted packet for processing {"connection_id":189106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:53: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-09-18 21:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:53:48] 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-09-18 21:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":189106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:53:48] local.INFO: GPS data processed {"connection_id":189106,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:53:48] local.INFO: Acknowledgment sent {"connection_id":189106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:54:02] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:54:02] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:54:02] local.INFO: IMEI packet received {"connection_id":186494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":186494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:54:07] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:54:07] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:54:07] local.INFO: IMEI packet received {"connection_id":186494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":186494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:54:08] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:54:08] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:54:08] local.INFO: Packet analysis {"connection_id":186494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:54:08] local.INFO: Extracted packet for processing {"connection_id":186494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21: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-09-18 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:54:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":186494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:54:08] local.INFO: GPS data processed {"connection_id":186494,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:54:08] local.INFO: Acknowledgment sent {"connection_id":186494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:54:11] local.INFO: TCP Data received {"connection_id":187758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:54:11] local.INFO: Processing buffer {"connection_id":187758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:54:11] local.INFO: IMEI packet received {"connection_id":187758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":187758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:54:16] local.INFO: TCP Data received {"connection_id":187758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:54:16] local.INFO: Processing buffer {"connection_id":187758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:54:16] local.INFO: IMEI packet received {"connection_id":187758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":187758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:54:17] local.INFO: TCP Data received {"connection_id":187758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:54:17] local.INFO: Processing buffer {"connection_id":187758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:54:17] local.INFO: Packet analysis {"connection_id":187758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:54:17] local.INFO: Extracted packet for processing {"connection_id":187758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:54: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-09-18 21:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":187758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:54:17] local.INFO: GPS data processed {"connection_id":187758,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:54:17] local.INFO: Acknowledgment sent {"connection_id":187758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:54:39] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:54:39] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:54:39] local.INFO: Packet analysis {"connection_id":186494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:54:39] local.INFO: Extracted packet for processing {"connection_id":186494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":186494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:54:39] local.INFO: GPS data processed {"connection_id":186494,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:54:39] local.INFO: Acknowledgment sent {"connection_id":186494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:54:49] local.INFO: TCP Data received {"connection_id":187758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:54:49] local.INFO: Processing buffer {"connection_id":187758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:54:49] local.INFO: Packet analysis {"connection_id":187758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:54:49] local.INFO: Extracted packet for processing {"connection_id":187758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:54:49] 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-09-18 21:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":187758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:54:49] local.INFO: GPS data processed {"connection_id":187758,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:54:49] local.INFO: Acknowledgment sent {"connection_id":187758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:55:02] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:55:02] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:55:02] local.INFO: IMEI packet received {"connection_id":189107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":189107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:55:07] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:55:07] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:55:07] local.INFO: IMEI packet received {"connection_id":189107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":189107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:55:08] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:55:08] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:55:08] local.INFO: Packet analysis {"connection_id":189107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:55:08] local.INFO: Extracted packet for processing {"connection_id":189107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55: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-09-18 21:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:55:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":189107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:55:08] local.INFO: GPS data processed {"connection_id":189107,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:55:08] local.INFO: Acknowledgment sent {"connection_id":189107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:55:11] local.INFO: TCP Data received {"connection_id":186350,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:55:11] local.INFO: Processing buffer {"connection_id":186350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:55:11] local.INFO: IMEI packet received {"connection_id":186350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":186350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:55:16] local.INFO: TCP Data received {"connection_id":186350,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:55:16] local.INFO: Processing buffer {"connection_id":186350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:55:16] local.INFO: IMEI packet received {"connection_id":186350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":186350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:55:17] local.INFO: TCP Data received {"connection_id":186350,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:55:17] local.INFO: Processing buffer {"connection_id":186350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:55:17] local.INFO: Packet analysis {"connection_id":186350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:55:17] local.INFO: Extracted packet for processing {"connection_id":186350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:55: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-09-18 21:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":186350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:55:17] local.INFO: GPS data processed {"connection_id":186350,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:55:17] local.INFO: Acknowledgment sent {"connection_id":186350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:55:39] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:55:39] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b551bce0012d196540071ff038004001542b..."} 
[2026-09-18 21:55:39] local.INFO: Packet analysis {"connection_id":189107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:55:39] local.INFO: Extracted packet for processing {"connection_id":189107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b551"} 
[2026-09-18 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":64,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175520512001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748428000,"timestamp_ms":1789748428000,"timestamp_seconds":1789748428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b551bce0"} 
[2026-09-18 21:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 21:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175520512001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175520512001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175520512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":189107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:55:39] local.INFO: GPS data processed {"connection_id":189107,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:55:39] local.INFO: Acknowledgment sent {"connection_id":189107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:55:48] local.INFO: TCP Data received {"connection_id":186350,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:55:48] local.INFO: Processing buffer {"connection_id":186350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:55:48] local.INFO: Packet analysis {"connection_id":186350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:55:48] local.INFO: Extracted packet for processing {"connection_id":186350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:55: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-09-18 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:55:48] 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-09-18 21:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":186350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:55:48] local.INFO: GPS data processed {"connection_id":186350,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:55:48] local.INFO: Acknowledgment sent {"connection_id":186350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:56:07] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:07] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:07] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:56:08] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:08] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:08] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:56:11] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:56:11] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:56:11] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:56:12] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:12] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:56:12] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:56:13] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:56:13] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:56:13] local.INFO: Packet analysis {"connection_id":186495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:56:13] local.INFO: Extracted packet for processing {"connection_id":186495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21: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-09-18 21:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21: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-09-18 21:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:56:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":186495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:56:13] local.INFO: GPS data processed {"connection_id":186495,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:56:13] local.INFO: Acknowledgment sent {"connection_id":186495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:56:16] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:56:16] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:56:16] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:56:17] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:56:17] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:56:17] local.INFO: Packet analysis {"connection_id":186351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:56:17] local.INFO: Extracted packet for processing {"connection_id":186351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:56: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-09-18 21:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":186351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:56:17] local.INFO: GPS data processed {"connection_id":186351,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:56:17] local.INFO: Acknowledgment sent {"connection_id":186351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:56:17] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:56:17] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:56:17] local.INFO: Packet analysis {"connection_id":186495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:56:17] local.INFO: Extracted packet for processing {"connection_id":186495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":186495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:56:18] local.INFO: GPS data processed {"connection_id":186495,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:56:18] local.INFO: Acknowledgment sent {"connection_id":186495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:56:48] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:56:48] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:56:48] local.INFO: Packet analysis {"connection_id":186351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:56:48] local.INFO: Extracted packet for processing {"connection_id":186351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:56:48] 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-09-18 21:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":186351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:56:48] local.INFO: GPS data processed {"connection_id":186351,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:56:48] local.INFO: Acknowledgment sent {"connection_id":186351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:57:02] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:57:02] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:57:02] local.INFO: IMEI packet received {"connection_id":187759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":187759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:57:07] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:57:07] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:57:07] local.INFO: IMEI packet received {"connection_id":187759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":187759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:57:08] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:57:08] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:57:08] local.INFO: Packet analysis {"connection_id":187759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:57:08] local.INFO: Extracted packet for processing {"connection_id":187759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57: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-09-18 21:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:57: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-09-18 21:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:57:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":187759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:57:08] local.INFO: GPS data processed {"connection_id":187759,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:57:08] local.INFO: Acknowledgment sent {"connection_id":187759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:57:16] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:57:16] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:57:16] local.INFO: IMEI packet received {"connection_id":186496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":186496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:57:21] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:57:21] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:57:21] local.INFO: IMEI packet received {"connection_id":186496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":186496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:57:22] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:57:22] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:57:22] local.INFO: Packet analysis {"connection_id":186496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:57:22] local.INFO: Extracted packet for processing {"connection_id":186496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:57:22] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:57: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-09-18 21:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:57:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:57:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":186496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:57:22] local.INFO: GPS data processed {"connection_id":186496,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:57:22] local.INFO: Acknowledgment sent {"connection_id":186496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:57:27] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:57:27] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5533f98012d34c78006aa4200000a011720..."} 
[2026-09-18 21:57:27] local.INFO: Packet analysis {"connection_id":186496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:57:27] local.INFO: Extracted packet for processing {"connection_id":186496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b553"} 
[2026-09-18 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821312,"longitude_deg":75.8433664,"latitude_deg":11.1821312,"altitude":10,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-18 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175621888001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789748527000,"timestamp_ms":1789748527000,"timestamp_seconds":1789748527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5533f98"} 
[2026-09-18 21:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-18 21:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175621888001,"66":27082,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175621888001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:57:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:57:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175621888001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":186496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:57:27] local.INFO: GPS data processed {"connection_id":186496,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:57:27] local.INFO: Acknowledgment sent {"connection_id":186496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:57:36] local.INFO: TCP Data received {"connection_id":186349,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:57:36] local.INFO: Processing buffer {"connection_id":186349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:57:36] local.INFO: IMEI packet received {"connection_id":186349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":186349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:57:40] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:57:40] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:57:40] local.INFO: Packet analysis {"connection_id":187759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:57:40] local.INFO: Extracted packet for processing {"connection_id":187759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:57:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":187759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:57:40] local.INFO: GPS data processed {"connection_id":187759,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:57:40] local.INFO: Acknowledgment sent {"connection_id":187759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:58:02] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:58:02] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:58:02] local.INFO: IMEI packet received {"connection_id":189108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":189108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:58:07] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:58:07] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:58:07] local.INFO: IMEI packet received {"connection_id":189108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":189108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:58:08] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:58:08] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:58:08] local.INFO: Packet analysis {"connection_id":189108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:58:08] local.INFO: Extracted packet for processing {"connection_id":189108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58: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-09-18 21:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:58: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-09-18 21:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:58:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":189108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:58:08] local.INFO: GPS data processed {"connection_id":189108,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:58:08] local.INFO: Acknowledgment sent {"connection_id":189108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:58:11] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:58:11] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:58:11] local.INFO: IMEI packet received {"connection_id":186352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":186352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:58:12] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:58:12] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 21:58:12] local.INFO: IMEI packet received {"connection_id":186497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 21:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:58:16] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:58:16] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:58:16] local.INFO: IMEI packet received {"connection_id":186352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":186352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:58:18] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:58:18] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:58:18] local.INFO: Packet analysis {"connection_id":186352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:58:18] local.INFO: Extracted packet for processing {"connection_id":186352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 21:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 21:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 21:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":186352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:58:18] local.INFO: GPS data processed {"connection_id":186352,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:58:18] local.INFO: Acknowledgment sent {"connection_id":186352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:58:39] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:58:39] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:58:39] local.INFO: Packet analysis {"connection_id":189108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:58:39] local.INFO: Extracted packet for processing {"connection_id":189108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":189108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:58:39] local.INFO: GPS data processed {"connection_id":189108,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:58:39] local.INFO: Acknowledgment sent {"connection_id":189108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:58:49] local.INFO: TCP Data received {"connection_id":186352,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:58:49] local.INFO: Processing buffer {"connection_id":186352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:58:49] local.INFO: Packet analysis {"connection_id":186352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:58:49] local.INFO: Extracted packet for processing {"connection_id":186352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 21:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 21:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 21:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":186352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:58:49] local.INFO: GPS data processed {"connection_id":186352,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:58:49] local.INFO: Acknowledgment sent {"connection_id":186352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:59:02] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:59:02] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:59:02] local.INFO: IMEI packet received {"connection_id":186353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 21:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":186353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:59:07] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:59:07] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 21:59:07] local.INFO: IMEI packet received {"connection_id":186353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 21:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":186353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:59:08] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:59:08] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:59:08] local.INFO: Packet analysis {"connection_id":186353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:59:08] local.INFO: Extracted packet for processing {"connection_id":186353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59: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-09-18 21:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:59: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-09-18 21:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:59:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":186353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:59:08] local.INFO: GPS data processed {"connection_id":186353,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:59:08] local.INFO: Acknowledgment sent {"connection_id":186353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:59:11] local.INFO: TCP Data received {"connection_id":187760,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:59:11] local.INFO: Processing buffer {"connection_id":187760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:59:11] local.INFO: IMEI packet received {"connection_id":187760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 21:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":187760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 21:59:16] local.INFO: TCP Data received {"connection_id":187760,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:59:16] local.INFO: Processing buffer {"connection_id":187760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 21:59:16] local.INFO: IMEI packet received {"connection_id":187760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 21:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":187760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 21:59:18] local.INFO: TCP Data received {"connection_id":187760,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:59:18] local.INFO: Processing buffer {"connection_id":187760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:59:18] local.INFO: Packet analysis {"connection_id":187760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:59:18] local.INFO: Extracted packet for processing {"connection_id":187760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 21:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 21:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 21:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":187760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:59:18] local.INFO: GPS data processed {"connection_id":187760,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:59:18] local.INFO: Acknowledgment sent {"connection_id":187760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:59:39] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:59:39] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 21:59:39] local.INFO: Packet analysis {"connection_id":186353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:59:39] local.INFO: Extracted packet for processing {"connection_id":186353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 21:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 21:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 21:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 21:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 21:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 21:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 21:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 21:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 21:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 21:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":186353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:59:39] local.INFO: GPS data processed {"connection_id":186353,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:59:39] local.INFO: Acknowledgment sent {"connection_id":186353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 21:59:49] local.INFO: TCP Data received {"connection_id":187760,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:59:49] local.INFO: Processing buffer {"connection_id":187760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 21:59:49] local.INFO: Packet analysis {"connection_id":187760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:59:49] local.INFO: Extracted packet for processing {"connection_id":187760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 21:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 21:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 21:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 21:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 21:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 21:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 21:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 21:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 21:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 21:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 21:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 21:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 21:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 21:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 21:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 21:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 21:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 21:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 21:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 21:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 21:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 21:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 21:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 21:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 21:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":187760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 21:59:49] local.INFO: GPS data processed {"connection_id":187760,"processed":1,"errors":0,"total":1} 
[2026-09-18 21:59:49] local.INFO: Acknowledgment sent {"connection_id":187760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:00:07] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:00:07] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:00:07] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:00:11] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:00:11] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:00:11] local.INFO: IMEI packet received {"connection_id":189109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":189109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:00:12] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:00:12] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:00:12] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:00:13] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:00:13] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:00:13] local.INFO: Packet analysis {"connection_id":186354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 22:00:13] local.INFO: Extracted packet for processing {"connection_id":186354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 22:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 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-09-18 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 22:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:00:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":186354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:00:13] local.INFO: GPS data processed {"connection_id":186354,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:00:13] local.INFO: Acknowledgment sent {"connection_id":186354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:00:16] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:00:16] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:00:16] local.INFO: IMEI packet received {"connection_id":189109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":189109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:00:17] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:00:17] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:00:17] local.INFO: Packet analysis {"connection_id":189109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:00:17] local.INFO: Extracted packet for processing {"connection_id":189109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 22:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 22:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 22:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 22:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":189109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:00:17] local.INFO: GPS data processed {"connection_id":189109,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:00:17] local.INFO: Acknowledgment sent {"connection_id":189109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:00:17] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:00:17] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:00:17] local.INFO: Packet analysis {"connection_id":186354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 22:00:17] local.INFO: Extracted packet for processing {"connection_id":186354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 22:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 22:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":186354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:00:17] local.INFO: GPS data processed {"connection_id":186354,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:00:17] local.INFO: Acknowledgment sent {"connection_id":186354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:00:49] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:00:49] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:00:49] local.INFO: Packet analysis {"connection_id":189109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:00:49] local.INFO: Extracted packet for processing {"connection_id":189109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 22:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 22:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 22:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 22:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 22:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":189109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:00:49] local.INFO: GPS data processed {"connection_id":189109,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:00:49] local.INFO: Acknowledgment sent {"connection_id":189109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:01:02] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:01:02] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:01:02] local.INFO: IMEI packet received {"connection_id":186498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":186498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:01:07] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:01:07] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:01:07] local.INFO: IMEI packet received {"connection_id":186498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":186498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:01:08] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:01:08] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55654a8012d196540071ff038004301542c..."} 
[2026-09-18 22:01:08] local.INFO: Packet analysis {"connection_id":186498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 22:01:08] local.INFO: Extracted packet for processing {"connection_id":186498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b556"} 
[2026-09-18 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":67,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175597568001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 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-09-18 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789748729000,"timestamp_ms":1789748729000,"timestamp_seconds":1789748729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55654a8"} 
[2026-09-18 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-09-18 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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-09-18 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-09-18 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-09-18 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-09-18 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175597568001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175597568001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:01:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175597568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":186498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:01:08] local.INFO: GPS data processed {"connection_id":186498,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:01:08] local.INFO: Acknowledgment sent {"connection_id":186498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:01:11] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:01:11] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:01:11] local.INFO: IMEI packet received {"connection_id":186499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:01:16] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:01:16] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:01:16] local.INFO: IMEI packet received {"connection_id":186499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":186499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:01:18] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:01:18] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:01:18] local.INFO: Packet analysis {"connection_id":186499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:01:18] local.INFO: Extracted packet for processing {"connection_id":186499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 22:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 22:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:01: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-09-18 22:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 22:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 22:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":186499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:01:18] local.INFO: GPS data processed {"connection_id":186499,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:01:18] local.INFO: Acknowledgment sent {"connection_id":186499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:01:39] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:01:39] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:01:39] local.INFO: Packet analysis {"connection_id":186498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:01:39] local.INFO: Extracted packet for processing {"connection_id":186498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:01:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":186498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:01:39] local.INFO: GPS data processed {"connection_id":186498,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:01:39] local.INFO: Acknowledgment sent {"connection_id":186498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:01:49] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:01:49] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:01:49] local.INFO: Packet analysis {"connection_id":186499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:01:49] local.INFO: Extracted packet for processing {"connection_id":186499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 22:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 22:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 22:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 22:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 22:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:01:49] local.INFO: GPS data processed {"connection_id":186499,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:01:49] local.INFO: Acknowledgment sent {"connection_id":186499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:02:02] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:02:02] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:02:02] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:02:07] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:02:07] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:02:07] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:02:08] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:02:08] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:02:08] local.INFO: Packet analysis {"connection_id":186355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:02:08] local.INFO: Extracted packet for processing {"connection_id":186355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02: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-09-18 22:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:02: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-09-18 22:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:02:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":186355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:02:08] local.INFO: GPS data processed {"connection_id":186355,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:02:08] local.INFO: Acknowledgment sent {"connection_id":186355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:02:16] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:02:16] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:02:16] local.INFO: IMEI packet received {"connection_id":187761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":187761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:02:21] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:02:21] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:02:21] local.INFO: IMEI packet received {"connection_id":187761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":187761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:02:22] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:02:22] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:02:22] local.INFO: Packet analysis {"connection_id":187761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:02:22] local.INFO: Extracted packet for processing {"connection_id":187761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 22:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 22:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:02: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-09-18 22:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:02:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 22:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 22:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":187761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:02:22] local.INFO: GPS data processed {"connection_id":187761,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:02:22] local.INFO: Acknowledgment sent {"connection_id":187761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:02:27] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:02:27] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b557db48012d34c24006aa41400008011529..."} 
[2026-09-18 22:02:27] local.INFO: Packet analysis {"connection_id":187761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:02:27] local.INFO: Extracted packet for processing {"connection_id":187761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b557"} 
[2026-09-18 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175622912001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452284416,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789748829000,"timestamp_ms":1789748829000,"timestamp_seconds":1789748829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b557db48"} 
[2026-09-18 22:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-18 22:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175622912001,"66":26310,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3803149176452284416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175622912001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:02:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:02:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452284416,"description":"Unknown IO ID 45"} 
[2026-09-18 22:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175622912001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452284416}} 
[2026-09-18 22:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":187761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:02:27] local.INFO: GPS data processed {"connection_id":187761,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:02:27] local.INFO: Acknowledgment sent {"connection_id":187761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:02:39] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:02:39] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:02:39] local.INFO: Packet analysis {"connection_id":186355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:02:39] local.INFO: Extracted packet for processing {"connection_id":186355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:02:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":186355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:02:39] local.INFO: GPS data processed {"connection_id":186355,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:02:39] local.INFO: Acknowledgment sent {"connection_id":186355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:03:02] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:03:02] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:03:02] local.INFO: IMEI packet received {"connection_id":187762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":187762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:03:07] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:03:07] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:03:07] local.INFO: IMEI packet received {"connection_id":187762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":187762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:03:08] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:03:08] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:03:08] local.INFO: Packet analysis {"connection_id":187762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:03:08] local.INFO: Extracted packet for processing {"connection_id":187762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03: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-09-18 22:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:03: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-09-18 22:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:03:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":187762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:03:08] local.INFO: GPS data processed {"connection_id":187762,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:03:08] local.INFO: Acknowledgment sent {"connection_id":187762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:03:11] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:03:11] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:03:11] local.INFO: IMEI packet received {"connection_id":186500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":186500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:03:16] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:03:16] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:03:16] local.INFO: IMEI packet received {"connection_id":186500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":186500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:03:17] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:03:17] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:03:17] local.INFO: Packet analysis {"connection_id":186500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:03:17] local.INFO: Extracted packet for processing {"connection_id":186500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:03:17] 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-09-18 22:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":186500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:03:17] local.INFO: GPS data processed {"connection_id":186500,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:03:17] local.INFO: Acknowledgment sent {"connection_id":186500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:03:39] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:03:39] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:03:39] local.INFO: Packet analysis {"connection_id":187762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:03:39] local.INFO: Extracted packet for processing {"connection_id":187762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":187762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:03:39] local.INFO: GPS data processed {"connection_id":187762,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:03:39] local.INFO: Acknowledgment sent {"connection_id":187762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:03:39] local.INFO: TCP Data received {"connection_id":186501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:03:39] local.INFO: Processing buffer {"connection_id":186501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:03:39] local.INFO: IMEI packet received {"connection_id":186501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":186501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:03:48] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:03:48] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:03:48] local.INFO: Packet analysis {"connection_id":186500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:03:48] local.INFO: Extracted packet for processing {"connection_id":186500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:03: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-09-18 22:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:03:48] 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-09-18 22:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":186500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:03:48] local.INFO: GPS data processed {"connection_id":186500,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:03:48] local.INFO: Acknowledgment sent {"connection_id":186500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:04:07] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:04:07] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:04:07] local.INFO: IMEI packet received {"connection_id":189110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":189110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:04:11] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:04:11] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:04:11] local.INFO: IMEI packet received {"connection_id":186356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":186356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:04:12] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:04:12] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:04:12] local.INFO: IMEI packet received {"connection_id":189110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":189110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:04:13] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:04:13] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:04:13] local.INFO: Packet analysis {"connection_id":189110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:04:13] local.INFO: Extracted packet for processing {"connection_id":189110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:04:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":189110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:04:13] local.INFO: GPS data processed {"connection_id":189110,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:04:13] local.INFO: Acknowledgment sent {"connection_id":189110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:04:16] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:04:16] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:04:16] local.INFO: IMEI packet received {"connection_id":186356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":186356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:04:17] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:04:17] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:04:17] local.INFO: Packet analysis {"connection_id":189110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:04:17] local.INFO: Extracted packet for processing {"connection_id":189110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:04:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":189110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:04:17] local.INFO: GPS data processed {"connection_id":189110,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:04:17] local.INFO: Acknowledgment sent {"connection_id":189110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:04:18] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:04:18] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:04:18] local.INFO: Packet analysis {"connection_id":186356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:04:18] local.INFO: Extracted packet for processing {"connection_id":186356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:04:18] 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-09-18 22:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:04: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-09-18 22:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":186356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:04:18] local.INFO: GPS data processed {"connection_id":186356,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:04:18] local.INFO: Acknowledgment sent {"connection_id":186356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:04:50] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:04:50] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:04:50] local.INFO: Packet analysis {"connection_id":186356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:04:50] local.INFO: Extracted packet for processing {"connection_id":186356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:04:50] 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-09-18 22:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":186356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:04:50] local.INFO: GPS data processed {"connection_id":186356,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:04:50] local.INFO: Acknowledgment sent {"connection_id":186356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:05:02] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:05:02] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:05:02] local.INFO: IMEI packet received {"connection_id":187763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:05:07] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:05:07] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:05:07] local.INFO: IMEI packet received {"connection_id":187763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":187763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:05:08] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:05:08] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:05:08] local.INFO: Packet analysis {"connection_id":187763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:05:08] local.INFO: Extracted packet for processing {"connection_id":187763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05: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-09-18 22:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:05: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-09-18 22:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":187763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:05:08] local.INFO: GPS data processed {"connection_id":187763,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:05:08] local.INFO: Acknowledgment sent {"connection_id":187763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:05:11] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:05:11] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:05:11] local.INFO: IMEI packet received {"connection_id":186502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":186502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:05:16] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:05:16] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:05:16] local.INFO: IMEI packet received {"connection_id":186502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:05:18] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:05:18] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:05:18] local.INFO: Packet analysis {"connection_id":186502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:05:18] local.INFO: Extracted packet for processing {"connection_id":186502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:05:18] 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-09-18 22:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:05: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-09-18 22:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":186502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:05:18] local.INFO: GPS data processed {"connection_id":186502,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:05:18] local.INFO: Acknowledgment sent {"connection_id":186502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:05:39] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:05:39] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:05:39] local.INFO: Packet analysis {"connection_id":187763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:05:39] local.INFO: Extracted packet for processing {"connection_id":187763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:05:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":187763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:05:39] local.INFO: GPS data processed {"connection_id":187763,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:05:39] local.INFO: Acknowledgment sent {"connection_id":187763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:05:50] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:05:50] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:05:50] local.INFO: Packet analysis {"connection_id":186502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:05:50] local.INFO: Extracted packet for processing {"connection_id":186502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:05:50] 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-09-18 22:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":186502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:05:50] local.INFO: GPS data processed {"connection_id":186502,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:05:50] local.INFO: Acknowledgment sent {"connection_id":186502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:06:02] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:06:02] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:06:02] local.INFO: IMEI packet received {"connection_id":186357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":186357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:06:07] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:06:07] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:06:07] local.INFO: IMEI packet received {"connection_id":186357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":186357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:06:08] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:06:08] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55aec70012d196540071ff038004401542b..."} 
[2026-09-18 22:06:08] local.INFO: Packet analysis {"connection_id":186357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:06:08] local.INFO: Extracted packet for processing {"connection_id":186357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55a"} 
[2026-09-18 22:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175674624001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06: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-09-18 22:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749030000,"timestamp_ms":1789749030000,"timestamp_seconds":1789749030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55aec70"} 
[2026-09-18 22:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:06: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-09-18 22:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175674624001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175674624001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:06:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175674624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":186357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:06:08] local.INFO: GPS data processed {"connection_id":186357,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:06:08] local.INFO: Acknowledgment sent {"connection_id":186357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:06:11] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:06:11] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:06:11] local.INFO: IMEI packet received {"connection_id":186503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":186503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:06:16] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:06:16] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:06:16] local.INFO: IMEI packet received {"connection_id":186503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":186503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:06:17] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:06:17] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:06:17] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:06:17] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:06:17] 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-09-18 22:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:06:17] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:06:17] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:06:39] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:06:39] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:06:39] local.INFO: Packet analysis {"connection_id":186357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:06:39] local.INFO: Extracted packet for processing {"connection_id":186357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":186357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:06:39] local.INFO: GPS data processed {"connection_id":186357,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:06:39] local.INFO: Acknowledgment sent {"connection_id":186357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:06:49] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:06:49] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:06:49] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:06:49] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:06:49] 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-09-18 22:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:06:49] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:06:49] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:07:16] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:07:16] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:07:16] local.INFO: IMEI packet received {"connection_id":189111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":189111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:07:17] local.INFO: TCP Data received {"connection_id":189112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:07:17] local.INFO: Processing buffer {"connection_id":189112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:07:17] local.INFO: IMEI packet received {"connection_id":189112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":189112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:07:21] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:07:21] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:07:21] local.INFO: IMEI packet received {"connection_id":189111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":189111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:07:22] local.INFO: TCP Data received {"connection_id":189112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:07:22] local.INFO: Processing buffer {"connection_id":189112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:07:22] local.INFO: IMEI packet received {"connection_id":189112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":189112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:07:23] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:07:23] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:07:23] local.INFO: Packet analysis {"connection_id":189111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:07:23] local.INFO: Extracted packet for processing {"connection_id":189111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:07:23] 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-09-18 22:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":189111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:07:23] local.INFO: GPS data processed {"connection_id":189111,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:07:23] local.INFO: Acknowledgment sent {"connection_id":189111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:07:23] local.INFO: TCP Data received {"connection_id":189112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:07:23] local.INFO: Processing buffer {"connection_id":189112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:07:23] local.INFO: Packet analysis {"connection_id":189112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:07:23] local.INFO: Extracted packet for processing {"connection_id":189112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":189112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:07:23] local.INFO: GPS data processed {"connection_id":189112,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:07:23] local.INFO: Acknowledgment sent {"connection_id":189112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:07:27] local.INFO: TCP Data received {"connection_id":189112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:07:27] local.INFO: Processing buffer {"connection_id":189112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:07:27] local.INFO: Packet analysis {"connection_id":189112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:07:27] local.INFO: Extracted packet for processing {"connection_id":189112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":189112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:07:27] local.INFO: GPS data processed {"connection_id":189112,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:07:27] local.INFO: Acknowledgment sent {"connection_id":189112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:07:27] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:07:27] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55c7310012d34c24006aa4140000801152a..."} 
[2026-09-18 22:07:27] local.INFO: Packet analysis {"connection_id":189111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:07:27] local.INFO: Extracted packet for processing {"connection_id":189111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55c"} 
[2026-09-18 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175700224001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789749130000,"timestamp_ms":1789749130000,"timestamp_seconds":1789749130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55c7310"} 
[2026-09-18 22:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-18 22:07:27] 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-09-18 22:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175700224001,"66":26136,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-18 22:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175700224001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175700224001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":189111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:07:27] local.INFO: GPS data processed {"connection_id":189111,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:07:27] local.INFO: Acknowledgment sent {"connection_id":189111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:08:02] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:08:02] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:08:02] local.INFO: IMEI packet received {"connection_id":189113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":189113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:08:07] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:08:07] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:08:07] local.INFO: IMEI packet received {"connection_id":189113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":189113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:08:08] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:08:08] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:08:08] local.INFO: Packet analysis {"connection_id":189113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:08:08] local.INFO: Extracted packet for processing {"connection_id":189113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08: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-09-18 22:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:08: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-09-18 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:08: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-09-18 22:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:08:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":189113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:08:08] local.INFO: GPS data processed {"connection_id":189113,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:08:08] local.INFO: Acknowledgment sent {"connection_id":189113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:08:11] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:08:11] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:08:11] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:08:16] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:08:16] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:08:16] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:08:17] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:08:17] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:08:17] local.INFO: Packet analysis {"connection_id":186505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:08:17] local.INFO: Extracted packet for processing {"connection_id":186505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:08:17] 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-09-18 22:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":186505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:08:17] local.INFO: GPS data processed {"connection_id":186505,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:08:17] local.INFO: Acknowledgment sent {"connection_id":186505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:08:39] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:08:39] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:08:39] local.INFO: Packet analysis {"connection_id":189113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:08:39] local.INFO: Extracted packet for processing {"connection_id":189113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:08:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":189113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:08:39] local.INFO: GPS data processed {"connection_id":189113,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:08:39] local.INFO: Acknowledgment sent {"connection_id":189113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:08:48] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:08:48] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:08:48] local.INFO: Packet analysis {"connection_id":186505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:08:48] local.INFO: Extracted packet for processing {"connection_id":186505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:08: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-09-18 22:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:08:48] 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-09-18 22:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":186505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:08:48] local.INFO: GPS data processed {"connection_id":186505,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:08:48] local.INFO: Acknowledgment sent {"connection_id":186505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:09:02] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:09:02] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:09:02] local.INFO: IMEI packet received {"connection_id":186358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":186358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:09:07] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:09:07] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:09:07] local.INFO: IMEI packet received {"connection_id":186358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":186358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:09:08] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:09:08] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:09:08] local.INFO: Packet analysis {"connection_id":186358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:09:08] local.INFO: Extracted packet for processing {"connection_id":186358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:09: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-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:09: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-09-18 22:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:09:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":186358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:09:08] local.INFO: GPS data processed {"connection_id":186358,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:09:08] local.INFO: Acknowledgment sent {"connection_id":186358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:09:11] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:09:11] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:09:11] local.INFO: IMEI packet received {"connection_id":189114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":189114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:09:14] local.INFO: TCP Data received {"connection_id":186504,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:09:14] local.INFO: Processing buffer {"connection_id":186504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:09:14] local.INFO: IMEI packet received {"connection_id":186504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:09:16] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:09:16] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:09:16] local.INFO: IMEI packet received {"connection_id":189114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":189114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:09:17] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:09:17] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:09:17] local.INFO: Packet analysis {"connection_id":189114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:09:17] local.INFO: Extracted packet for processing {"connection_id":189114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:09:17] 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-09-18 22:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":189114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:09:17] local.INFO: GPS data processed {"connection_id":189114,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:09:17] local.INFO: Acknowledgment sent {"connection_id":189114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:09:39] local.INFO: TCP Data received {"connection_id":186358,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:09:39] local.INFO: Processing buffer {"connection_id":186358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:09:39] local.INFO: Packet analysis {"connection_id":186358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:09:39] local.INFO: Extracted packet for processing {"connection_id":186358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22: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-09-18 22:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":186358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:09:39] local.INFO: GPS data processed {"connection_id":186358,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:09:39] local.INFO: Acknowledgment sent {"connection_id":186358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:09:48] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:09:48] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:09:48] local.INFO: Packet analysis {"connection_id":189114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:09:48] local.INFO: Extracted packet for processing {"connection_id":189114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:09: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-09-18 22:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:09:48] 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-09-18 22:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":189114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:09:48] local.INFO: GPS data processed {"connection_id":189114,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:09:48] local.INFO: Acknowledgment sent {"connection_id":189114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:10:02] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:10:02] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:10:02] local.INFO: IMEI packet received {"connection_id":186506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":186506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:10:07] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:10:07] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:10:07] local.INFO: IMEI packet received {"connection_id":186506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":186506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:10:08] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:10:08] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:10:08] local.INFO: Packet analysis {"connection_id":186506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:10:08] local.INFO: Extracted packet for processing {"connection_id":186506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10: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-09-18 22:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:10: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-09-18 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:10: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-09-18 22:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:10:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":186506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:10:08] local.INFO: GPS data processed {"connection_id":186506,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:10:08] local.INFO: Acknowledgment sent {"connection_id":186506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:10:11] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:10:11] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:10:11] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:10:16] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:10:16] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:10:16] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:10:17] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:10:17] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:10:17] local.INFO: Packet analysis {"connection_id":186359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:10:17] local.INFO: Extracted packet for processing {"connection_id":186359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:10:17] 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-09-18 22:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":186359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:10:17] local.INFO: GPS data processed {"connection_id":186359,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:10:17] local.INFO: Acknowledgment sent {"connection_id":186359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:10:39] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:10:39] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:10:39] local.INFO: Packet analysis {"connection_id":186506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:10:39] local.INFO: Extracted packet for processing {"connection_id":186506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":186506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:10:39] local.INFO: GPS data processed {"connection_id":186506,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:10:39] local.INFO: Acknowledgment sent {"connection_id":186506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:10:48] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:10:48] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:10:48] local.INFO: Packet analysis {"connection_id":186359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:10:48] local.INFO: Extracted packet for processing {"connection_id":186359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:10:48] 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-09-18 22:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":186359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:10:48] local.INFO: GPS data processed {"connection_id":186359,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:10:48] local.INFO: Acknowledgment sent {"connection_id":186359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:11:03] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:11:03] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:11:03] local.INFO: IMEI packet received {"connection_id":189115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":189115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:11:07] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:11:07] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:11:07] local.INFO: IMEI packet received {"connection_id":189115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":189115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:11:08] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:11:08] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b55f8438012d196540071ff038004401542c..."} 
[2026-09-18 22:11:08] local.INFO: Packet analysis {"connection_id":189115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:11:08] local.INFO: Extracted packet for processing {"connection_id":189115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b55f"} 
[2026-09-18 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175751680001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11: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-09-18 22:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749331000,"timestamp_ms":1789749331000,"timestamp_seconds":1789749331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b55f8438"} 
[2026-09-18 22:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:11: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-09-18 22:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:11: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-09-18 22:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175751680001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175751680001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:11:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175751680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":189115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:11:08] local.INFO: GPS data processed {"connection_id":189115,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:11:08] local.INFO: Acknowledgment sent {"connection_id":189115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:11:11] local.INFO: TCP Data received {"connection_id":187764,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:11:11] local.INFO: Processing buffer {"connection_id":187764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:11:11] local.INFO: IMEI packet received {"connection_id":187764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":187764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:11:16] local.INFO: TCP Data received {"connection_id":187764,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:11:16] local.INFO: Processing buffer {"connection_id":187764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:11:16] local.INFO: IMEI packet received {"connection_id":187764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":187764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:11:17] local.INFO: TCP Data received {"connection_id":187764,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:11:17] local.INFO: Processing buffer {"connection_id":187764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:11:17] local.INFO: Packet analysis {"connection_id":187764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:11:17] local.INFO: Extracted packet for processing {"connection_id":187764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:11:17] 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-09-18 22:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":187764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:11:17] local.INFO: GPS data processed {"connection_id":187764,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:11:17] local.INFO: Acknowledgment sent {"connection_id":187764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:11:39] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:11:39] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:11:39] local.INFO: Packet analysis {"connection_id":189115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:11:39] local.INFO: Extracted packet for processing {"connection_id":189115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:11:39] 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-09-18 22:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:11:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":189115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:11:39] local.INFO: GPS data processed {"connection_id":189115,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:11:39] local.INFO: Acknowledgment sent {"connection_id":189115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:11:49] local.INFO: TCP Data received {"connection_id":187764,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:11:49] local.INFO: Processing buffer {"connection_id":187764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:11:49] local.INFO: Packet analysis {"connection_id":187764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:11:49] local.INFO: Extracted packet for processing {"connection_id":187764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:11:49] 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-09-18 22:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":187764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:11:49] local.INFO: GPS data processed {"connection_id":187764,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:11:49] local.INFO: Acknowledgment sent {"connection_id":187764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:12:07] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:07] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:07] local.INFO: IMEI packet received {"connection_id":186360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":186360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:12:11] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:12:11] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:12:11] local.INFO: IMEI packet received {"connection_id":186507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":186507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:12:12] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:12] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:12] local.INFO: IMEI packet received {"connection_id":186360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":186360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:12:16] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:12:16] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:12:16] local.INFO: IMEI packet received {"connection_id":186507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":186507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:12:17] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:12:17] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:12:17] local.INFO: Packet analysis {"connection_id":186507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:12:17] local.INFO: Extracted packet for processing {"connection_id":186507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:12:17] 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-09-18 22:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":186507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:12:17] local.INFO: GPS data processed {"connection_id":186507,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:12:17] local.INFO: Acknowledgment sent {"connection_id":186507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:12:17] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:17] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:12:17] local.INFO: IMEI packet received {"connection_id":186360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:12:18] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:12:18] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:12:18] local.INFO: Packet analysis {"connection_id":186360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:12:18] local.INFO: Extracted packet for processing {"connection_id":186360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:12:18] 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-09-18 22:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":186360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:12:18] local.INFO: GPS data processed {"connection_id":186360,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:12:18] local.INFO: Acknowledgment sent {"connection_id":186360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:12:22] local.INFO: TCP Data received {"connection_id":186360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:12:22] local.INFO: Processing buffer {"connection_id":186360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:12:22] local.INFO: Packet analysis {"connection_id":186360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:12:22] local.INFO: Extracted packet for processing {"connection_id":186360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:12:22] 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-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22: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-09-18 22:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:12:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":186360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:12:22] local.INFO: GPS data processed {"connection_id":186360,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:12:22] local.INFO: Acknowledgment sent {"connection_id":186360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:12:48] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:12:48] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5610ad8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:12:48] local.INFO: Packet analysis {"connection_id":186507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:12:48] local.INFO: Extracted packet for processing {"connection_id":186507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b561"} 
[2026-09-18 22:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175777280001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749431000,"timestamp_ms":1789749431000,"timestamp_seconds":1789749431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5610ad8"} 
[2026-09-18 22:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-18 22:12:48] 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-09-18 22:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175777280001,"66":26039,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175777280001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175777280001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":186507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:12:48] local.INFO: GPS data processed {"connection_id":186507,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:12:48] local.INFO: Acknowledgment sent {"connection_id":186507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:13:02] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:13:02] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:13:02] local.INFO: IMEI packet received {"connection_id":186361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":186361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:13:07] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:13:07] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:13:07] local.INFO: IMEI packet received {"connection_id":186361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":186361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:13:10] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:13:10] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:13:10] local.INFO: Packet analysis {"connection_id":186361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:13:10] local.INFO: Extracted packet for processing {"connection_id":186361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13: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-09-18 22:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:13:10] 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-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":186361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:13:10] local.INFO: GPS data processed {"connection_id":186361,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:13:10] local.INFO: Acknowledgment sent {"connection_id":186361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:13:11] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:13:11] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:13:11] local.INFO: IMEI packet received {"connection_id":189116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":189116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:13:16] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:13:16] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:13:16] local.INFO: IMEI packet received {"connection_id":189116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":189116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:13:17] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:13:17] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:13:17] local.INFO: Packet analysis {"connection_id":189116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:13:17] local.INFO: Extracted packet for processing {"connection_id":189116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":189116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:13:17] local.INFO: GPS data processed {"connection_id":189116,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:13:17] local.INFO: Acknowledgment sent {"connection_id":189116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:13:41] local.INFO: TCP Data received {"connection_id":186361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:13:41] local.INFO: Processing buffer {"connection_id":186361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:13:41] local.INFO: Packet analysis {"connection_id":186361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:13:41] local.INFO: Extracted packet for processing {"connection_id":186361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22: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-09-18 22:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:13:41] 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-09-18 22: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-09-18 22: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-09-18 22:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":186361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:13:41] local.INFO: GPS data processed {"connection_id":186361,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:13:41] local.INFO: Acknowledgment sent {"connection_id":186361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:13:49] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:13:49] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:13:49] local.INFO: Packet analysis {"connection_id":189116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:13:49] local.INFO: Extracted packet for processing {"connection_id":189116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":189116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:13:49] local.INFO: GPS data processed {"connection_id":189116,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:13:49] local.INFO: Acknowledgment sent {"connection_id":189116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:14:02] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:14:02] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:14:02] local.INFO: IMEI packet received {"connection_id":186362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":186362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:14:07] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:14:07] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:14:07] local.INFO: IMEI packet received {"connection_id":186362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":186362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:14:08] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:14:08] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:14:08] local.INFO: Packet analysis {"connection_id":186362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:14:08] local.INFO: Extracted packet for processing {"connection_id":186362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14: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-09-18 22:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:14:08] 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-09-18 22:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:14: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-09-18 22:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:14:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":186362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:14:08] local.INFO: GPS data processed {"connection_id":186362,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:14:08] local.INFO: Acknowledgment sent {"connection_id":186362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:14:12] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:14:12] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:14:12] local.INFO: IMEI packet received {"connection_id":186509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":186509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:14:16] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:14:16] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:14:16] local.INFO: IMEI packet received {"connection_id":186509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":186509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:14:17] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:14:17] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:14:17] local.INFO: Packet analysis {"connection_id":186509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:14:17] local.INFO: Extracted packet for processing {"connection_id":186509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":186509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:14:17] local.INFO: GPS data processed {"connection_id":186509,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:14:17] local.INFO: Acknowledgment sent {"connection_id":186509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:14:39] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:14:39] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:14:39] local.INFO: Packet analysis {"connection_id":186362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:14:39] local.INFO: Extracted packet for processing {"connection_id":186362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:14:39] 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-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:14:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":186362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:14:39] local.INFO: GPS data processed {"connection_id":186362,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:14:39] local.INFO: Acknowledgment sent {"connection_id":186362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:14:48] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:14:48] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:14:48] local.INFO: Packet analysis {"connection_id":186509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:14:48] local.INFO: Extracted packet for processing {"connection_id":186509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:14: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-09-18 22:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":186509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:14:48] local.INFO: GPS data processed {"connection_id":186509,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:14:48] local.INFO: Acknowledgment sent {"connection_id":186509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:14:49] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:14:49] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:14:49] local.INFO: IMEI packet received {"connection_id":186508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":186508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:15:02] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:15:02] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:15:02] local.INFO: IMEI packet received {"connection_id":189117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":189117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:15:07] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:15:07] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:15:07] local.INFO: IMEI packet received {"connection_id":189117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":189117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:15:07] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:15:07] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:15:07] local.INFO: Packet analysis {"connection_id":189117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:15:07] local.INFO: Extracted packet for processing {"connection_id":189117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15: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-09-18 22:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:15:07] 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-09-18 22:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:15: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-09-18 22:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":189117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:15:08] local.INFO: GPS data processed {"connection_id":189117,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:15:08] local.INFO: Acknowledgment sent {"connection_id":189117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:15:11] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:15:11] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:15:11] local.INFO: IMEI packet received {"connection_id":187765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":187765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:15:16] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:15:16] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:15:16] local.INFO: IMEI packet received {"connection_id":187765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":187765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:15:17] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:15:17] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:15:17] local.INFO: Packet analysis {"connection_id":187765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:15:17] local.INFO: Extracted packet for processing {"connection_id":187765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":187765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:15:17] local.INFO: GPS data processed {"connection_id":187765,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:15:17] local.INFO: Acknowledgment sent {"connection_id":187765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:15:39] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:15:39] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:15:39] local.INFO: Packet analysis {"connection_id":189117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:15:39] local.INFO: Extracted packet for processing {"connection_id":189117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:15:39] 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-09-18 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":189117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:15:39] local.INFO: GPS data processed {"connection_id":189117,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:15:39] local.INFO: Acknowledgment sent {"connection_id":189117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:15:49] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:15:49] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:15:49] local.INFO: Packet analysis {"connection_id":187765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:15:49] local.INFO: Extracted packet for processing {"connection_id":187765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":187765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:15:49] local.INFO: GPS data processed {"connection_id":187765,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:15:49] local.INFO: Acknowledgment sent {"connection_id":187765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:16:02] local.INFO: TCP Data received {"connection_id":189118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:16:02] local.INFO: Processing buffer {"connection_id":189118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:16:02] local.INFO: IMEI packet received {"connection_id":189118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":189118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:16:07] local.INFO: TCP Data received {"connection_id":189118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:16:07] local.INFO: Processing buffer {"connection_id":189118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:16:07] local.INFO: IMEI packet received {"connection_id":189118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":189118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:16:08] local.INFO: TCP Data received {"connection_id":189118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:16:08] local.INFO: Processing buffer {"connection_id":189118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5641c00012d196540071ff038004401542b..."} 
[2026-09-18 22:16:08] local.INFO: Packet analysis {"connection_id":189118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:16:08] local.INFO: Extracted packet for processing {"connection_id":189118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b564"} 
[2026-09-18 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175828736001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749632000,"timestamp_ms":1789749632000,"timestamp_seconds":1789749632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5641c00"} 
[2026-09-18 22:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:16:08] 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-09-18 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:16: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-09-18 22:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175828736001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175828736001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:16:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175828736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":189118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:16:08] local.INFO: GPS data processed {"connection_id":189118,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:16:08] local.INFO: Acknowledgment sent {"connection_id":189118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:16:11] local.INFO: TCP Data received {"connection_id":187766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:16:11] local.INFO: Processing buffer {"connection_id":187766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:16:11] local.INFO: IMEI packet received {"connection_id":187766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":187766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:16:16] local.INFO: TCP Data received {"connection_id":187766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:16:16] local.INFO: Processing buffer {"connection_id":187766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:16:16] local.INFO: IMEI packet received {"connection_id":187766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":187766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:16:17] local.INFO: TCP Data received {"connection_id":187766,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:16:17] local.INFO: Processing buffer {"connection_id":187766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:16:17] local.INFO: Packet analysis {"connection_id":187766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:16:17] local.INFO: Extracted packet for processing {"connection_id":187766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":187766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:16:17] local.INFO: GPS data processed {"connection_id":187766,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:16:17] local.INFO: Acknowledgment sent {"connection_id":187766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:16:39] local.INFO: TCP Data received {"connection_id":189118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:16:39] local.INFO: Processing buffer {"connection_id":189118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:16:39] local.INFO: Packet analysis {"connection_id":189118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:16:39] local.INFO: Extracted packet for processing {"connection_id":189118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:16:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":189118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:16:40] local.INFO: GPS data processed {"connection_id":189118,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:16:40] local.INFO: Acknowledgment sent {"connection_id":189118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:16:48] local.INFO: TCP Data received {"connection_id":187766,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:16:48] local.INFO: Processing buffer {"connection_id":187766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:16:48] local.INFO: Packet analysis {"connection_id":187766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:16:48] local.INFO: Extracted packet for processing {"connection_id":187766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":187766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:16:48] local.INFO: GPS data processed {"connection_id":187766,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:16:48] local.INFO: Acknowledgment sent {"connection_id":187766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:17:02] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:17:02] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:17:02] local.INFO: IMEI packet received {"connection_id":186363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":186363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:17:07] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:17:07] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:17:07] local.INFO: IMEI packet received {"connection_id":186363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":186363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:17:07] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:17:07] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:17:07] local.INFO: Packet analysis {"connection_id":186363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:17:07] local.INFO: Extracted packet for processing {"connection_id":186363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17: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-09-18 22:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:17:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":186363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:17:08] local.INFO: GPS data processed {"connection_id":186363,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:17:08] local.INFO: Acknowledgment sent {"connection_id":186363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:17:11] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:17:11] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:17:11] local.INFO: IMEI packet received {"connection_id":186364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:17:16] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:17:16] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:17:16] local.INFO: IMEI packet received {"connection_id":186364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":186364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:17:17] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:17:17] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:17:17] local.INFO: Packet analysis {"connection_id":186364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:17:17] local.INFO: Extracted packet for processing {"connection_id":186364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":186364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:17:17] local.INFO: GPS data processed {"connection_id":186364,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:17:17] local.INFO: Acknowledgment sent {"connection_id":186364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:17:39] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:17:39] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:17:39] local.INFO: Packet analysis {"connection_id":186363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:17:39] local.INFO: Extracted packet for processing {"connection_id":186363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:17:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":186363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:17:39] local.INFO: GPS data processed {"connection_id":186363,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:17:39] local.INFO: Acknowledgment sent {"connection_id":186363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:17:50] local.INFO: TCP Data received {"connection_id":186364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:17:50] local.INFO: Processing buffer {"connection_id":186364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b565a2a0012d34c24006aa41400008011529..."} 
[2026-09-18 22:17:50] local.INFO: Packet analysis {"connection_id":186364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:17:50] local.INFO: Extracted packet for processing {"connection_id":186364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b565"} 
[2026-09-18 22:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175854336001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789749732000,"timestamp_ms":1789749732000,"timestamp_seconds":1789749732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b565a2a0"} 
[2026-09-18 22:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-18 22:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175854336001,"66":25908,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175854336001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175854336001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":186364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:17:50] local.INFO: GPS data processed {"connection_id":186364,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:17:50] local.INFO: Acknowledgment sent {"connection_id":186364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:18:02] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:18:02] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:18:02] local.INFO: IMEI packet received {"connection_id":186510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":186510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:18:07] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:18:07] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:18:07] local.INFO: IMEI packet received {"connection_id":186510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":186510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:18:08] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:18:08] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:18:08] local.INFO: Packet analysis {"connection_id":186510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:18:08] local.INFO: Extracted packet for processing {"connection_id":186510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18: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-09-18 22:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:18: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-09-18 22:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:18: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-09-18 22:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:18:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":186510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:18:08] local.INFO: GPS data processed {"connection_id":186510,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:18:08] local.INFO: Acknowledgment sent {"connection_id":186510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:18:16] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:18:16] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:18:16] local.INFO: IMEI packet received {"connection_id":187767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":187767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:18:21] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:18:21] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:18:21] local.INFO: IMEI packet received {"connection_id":187767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":187767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:18:23] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:18:23] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:18:23] local.INFO: Packet analysis {"connection_id":187767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:18:23] local.INFO: Extracted packet for processing {"connection_id":187767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:18:23] 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-09-18 22:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":187767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:18:23] local.INFO: GPS data processed {"connection_id":187767,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:18:23] local.INFO: Acknowledgment sent {"connection_id":187767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:18:39] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:18:39] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:18:39] local.INFO: Packet analysis {"connection_id":186510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:18:39] local.INFO: Extracted packet for processing {"connection_id":186510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":186510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:18:39] local.INFO: GPS data processed {"connection_id":186510,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:18:39] local.INFO: Acknowledgment sent {"connection_id":186510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:19:02] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:19:02] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:19:02] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:19:06] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:19:06] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:19:06] local.INFO: IMEI packet received {"connection_id":186512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":186512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:19:07] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:19:07] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:19:07] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:19:08] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:19:08] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:19:08] local.INFO: Packet analysis {"connection_id":186365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:19:08] local.INFO: Extracted packet for processing {"connection_id":186365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19: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-09-18 22:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:19: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-09-18 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:19: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-09-18 22:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:19:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":186365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:19:08] local.INFO: GPS data processed {"connection_id":186365,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:19:08] local.INFO: Acknowledgment sent {"connection_id":186365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:19:11] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:19:11] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:19:11] local.INFO: IMEI packet received {"connection_id":186512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":186512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:19:13] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:19:13] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:19:13] local.INFO: Packet analysis {"connection_id":186512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:19:13] local.INFO: Extracted packet for processing {"connection_id":186512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:19:13] 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-09-18 22:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":186512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:19:13] local.INFO: GPS data processed {"connection_id":186512,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:19:13] local.INFO: Acknowledgment sent {"connection_id":186512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:19:40] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:19:40] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:19:40] local.INFO: Packet analysis {"connection_id":186365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:19:40] local.INFO: Extracted packet for processing {"connection_id":186365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":186365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:19:40] local.INFO: GPS data processed {"connection_id":186365,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:19:40] local.INFO: Acknowledgment sent {"connection_id":186365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:19:44] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:19:44] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:19:44] local.INFO: Packet analysis {"connection_id":186512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:19:44] local.INFO: Extracted packet for processing {"connection_id":186512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:19:44] 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-09-18 22:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":186512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:19:44] local.INFO: GPS data processed {"connection_id":186512,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:19:44] local.INFO: Acknowledgment sent {"connection_id":186512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:20:02] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:20:02] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:20:02] local.INFO: IMEI packet received {"connection_id":187769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":187769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:20:07] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:20:07] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:20:07] local.INFO: IMEI packet received {"connection_id":187769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":187769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:20:08] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:20:08] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:20:08] local.INFO: Packet analysis {"connection_id":187769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:20:08] local.INFO: Extracted packet for processing {"connection_id":187769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20: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-09-18 22:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:20: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-09-18 22:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:20: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-09-18 22:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:20:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":187769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:20:08] local.INFO: GPS data processed {"connection_id":187769,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:20:08] local.INFO: Acknowledgment sent {"connection_id":187769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:20:16] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:20:16] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:20:16] local.INFO: IMEI packet received {"connection_id":186513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":186513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:20:21] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:20:21] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:20:21] local.INFO: IMEI packet received {"connection_id":186513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":186513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:20:22] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:20:22] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:20:22] local.INFO: Packet analysis {"connection_id":186513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:20:22] local.INFO: Extracted packet for processing {"connection_id":186513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:20:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:20:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":186513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:20:22] local.INFO: GPS data processed {"connection_id":186513,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:20:22] local.INFO: Acknowledgment sent {"connection_id":186513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:20:27] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:20:27] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:20:27] local.INFO: Packet analysis {"connection_id":186513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:20:27] local.INFO: Extracted packet for processing {"connection_id":186513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:20:27] 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-09-18 22:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:20:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":186513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:20:27] local.INFO: GPS data processed {"connection_id":186513,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:20:27] local.INFO: Acknowledgment sent {"connection_id":186513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:20:27] local.INFO: TCP Data received {"connection_id":186511,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:20:27] local.INFO: Processing buffer {"connection_id":186511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:20:27] local.INFO: IMEI packet received {"connection_id":186511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":186511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:20:39] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:20:39] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b568b3c8012d196540071ff038004401542c..."} 
[2026-09-18 22:20:39] local.INFO: Packet analysis {"connection_id":187769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:20:39] local.INFO: Extracted packet for processing {"connection_id":187769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b568"} 
[2026-09-18 22:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175905792001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789749933000,"timestamp_ms":1789749933000,"timestamp_seconds":1789749933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b568b3c8"} 
[2026-09-18 22:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175905792001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175905792001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:20:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175905792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":187769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:20:39] local.INFO: GPS data processed {"connection_id":187769,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:20:39] local.INFO: Acknowledgment sent {"connection_id":187769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:21:07] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:21:07] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:21:07] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:21:11] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:21:11] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:21:11] local.INFO: IMEI packet received {"connection_id":189119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":189119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:21:12] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:21:12] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:21:12] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:21:13] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:13] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:13] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:21:13] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:21:13] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:21:13] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:21:13] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:13] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:13] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:21:13] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:21:14] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:21:14] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:21:16] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:21:16] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:21:16] local.INFO: IMEI packet received {"connection_id":189119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":189119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:21:17] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:21:17] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:21:17] local.INFO: Packet analysis {"connection_id":189119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:21:17] local.INFO: Extracted packet for processing {"connection_id":189119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:21:17] 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-09-18 22:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":189119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:21:17] local.INFO: GPS data processed {"connection_id":189119,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:21:17] local.INFO: Acknowledgment sent {"connection_id":189119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:21:45] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:45] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:21:45] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:21:45] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:21:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:21:45] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:21:45] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:21:48] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:21:48] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:21:48] local.INFO: Packet analysis {"connection_id":189119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:21:48] local.INFO: Extracted packet for processing {"connection_id":189119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:21: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-09-18 22:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":189119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:21:49] local.INFO: GPS data processed {"connection_id":189119,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:21:49] local.INFO: Acknowledgment sent {"connection_id":189119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:22:02] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:22:02] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:22:02] local.INFO: IMEI packet received {"connection_id":186514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":186514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:22:07] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:22:07] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:22:07] local.INFO: IMEI packet received {"connection_id":186514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":186514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:22:08] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:22:08] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:22:08] local.INFO: Packet analysis {"connection_id":186514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:22:08] local.INFO: Extracted packet for processing {"connection_id":186514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22: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-09-18 22:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:22: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-09-18 22:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:22:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":186514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:22:08] local.INFO: GPS data processed {"connection_id":186514,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:22:08] local.INFO: Acknowledgment sent {"connection_id":186514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:22:11] local.INFO: TCP Data received {"connection_id":189120,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:22:11] local.INFO: Processing buffer {"connection_id":189120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:22:11] local.INFO: IMEI packet received {"connection_id":189120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":189120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:22:16] local.INFO: TCP Data received {"connection_id":189120,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:22:16] local.INFO: Processing buffer {"connection_id":189120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:22:16] local.INFO: IMEI packet received {"connection_id":189120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":189120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:22:17] local.INFO: TCP Data received {"connection_id":189120,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:22:17] local.INFO: Processing buffer {"connection_id":189120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:22:17] local.INFO: Packet analysis {"connection_id":189120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:22:17] local.INFO: Extracted packet for processing {"connection_id":189120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:22:17] 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-09-18 22:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":189120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:22:17] local.INFO: GPS data processed {"connection_id":189120,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:22:17] local.INFO: Acknowledgment sent {"connection_id":189120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:22:39] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:22:39] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:22:39] local.INFO: Packet analysis {"connection_id":186514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:22:39] local.INFO: Extracted packet for processing {"connection_id":186514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":186514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:22:39] local.INFO: GPS data processed {"connection_id":186514,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:22:39] local.INFO: Acknowledgment sent {"connection_id":186514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:22:48] local.INFO: TCP Data received {"connection_id":189120,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:22:48] local.INFO: Processing buffer {"connection_id":189120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56a3a68012d34c24006aa4140000801152c..."} 
[2026-09-18 22:22:48] local.INFO: Packet analysis {"connection_id":189120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:22:48] local.INFO: Extracted packet for processing {"connection_id":189120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56a"} 
[2026-09-18 22:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175931392001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750033000,"timestamp_ms":1789750033000,"timestamp_seconds":1789750033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56a3a68"} 
[2026-09-18 22:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:22: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-09-18 22:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-18 22:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175931392001,"66":25952,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175931392001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175931392001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":189120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:22:48] local.INFO: GPS data processed {"connection_id":189120,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:22:48] local.INFO: Acknowledgment sent {"connection_id":189120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:23:02] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:23:02] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:23:02] local.INFO: IMEI packet received {"connection_id":186367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":186367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:23:07] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:23:07] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:23:07] local.INFO: IMEI packet received {"connection_id":186367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":186367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:23:08] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:23:08] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:23:08] local.INFO: Packet analysis {"connection_id":186367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:23:08] local.INFO: Extracted packet for processing {"connection_id":186367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23: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-09-18 22:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:23: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-09-18 22:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:23:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":186367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:23:08] local.INFO: GPS data processed {"connection_id":186367,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:23:08] local.INFO: Acknowledgment sent {"connection_id":186367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:23:11] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:23:11] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:23:11] local.INFO: IMEI packet received {"connection_id":186368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":186368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:23:16] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:23:16] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:23:16] local.INFO: IMEI packet received {"connection_id":186368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":186368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:23:17] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:23:17] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:23:17] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:23:17] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:23:17] 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-09-18 22:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:23:17] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:23:17] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:23:39] local.INFO: TCP Data received {"connection_id":186367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:23:39] local.INFO: Processing buffer {"connection_id":186367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:23:39] local.INFO: Packet analysis {"connection_id":186367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:23:39] local.INFO: Extracted packet for processing {"connection_id":186367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:23:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":186367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:23:40] local.INFO: GPS data processed {"connection_id":186367,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:23:40] local.INFO: Acknowledgment sent {"connection_id":186367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:23:48] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:23:48] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:23:48] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:23:48] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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":795,"current_offset":40} 
[2026-09-18 22:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:23: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-09-18 22:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:23: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-09-18 22:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:23:48] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:23:48] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:24:03] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:24:03] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:24:03] local.INFO: IMEI packet received {"connection_id":189121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":189121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:24:07] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:24:07] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:24:07] local.INFO: IMEI packet received {"connection_id":189121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":189121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:24:08] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:24:08] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:24:08] local.INFO: Packet analysis {"connection_id":189121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:24:08] local.INFO: Extracted packet for processing {"connection_id":189121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:24:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":189121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:24:08] local.INFO: GPS data processed {"connection_id":189121,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:24:08] local.INFO: Acknowledgment sent {"connection_id":189121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:24:11] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:24:11] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:24:11] local.INFO: IMEI packet received {"connection_id":186516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":186516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:24:16] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:24:16] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:24:16] local.INFO: IMEI packet received {"connection_id":186516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":186516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:24:17] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:24:17] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:24:17] local.INFO: Packet analysis {"connection_id":186516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:24:17] local.INFO: Extracted packet for processing {"connection_id":186516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:24:17] 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-09-18 22:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":186516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:24:17] local.INFO: GPS data processed {"connection_id":186516,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:24:17] local.INFO: Acknowledgment sent {"connection_id":186516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:24:39] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:24:39] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:24:39] local.INFO: Packet analysis {"connection_id":189121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:24:39] local.INFO: Extracted packet for processing {"connection_id":189121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:24:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":189121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:24:39] local.INFO: GPS data processed {"connection_id":189121,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:24:39] local.INFO: Acknowledgment sent {"connection_id":189121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:24:48] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:24:48] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:24:48] local.INFO: Packet analysis {"connection_id":186516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:24:48] local.INFO: Extracted packet for processing {"connection_id":186516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:24: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-09-18 22:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:24: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-09-18 22:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":186516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:24:48] local.INFO: GPS data processed {"connection_id":186516,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:24:48] local.INFO: Acknowledgment sent {"connection_id":186516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:25:02] local.INFO: TCP Data received {"connection_id":187770,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:25:02] local.INFO: Processing buffer {"connection_id":187770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:25:02] local.INFO: IMEI packet received {"connection_id":187770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":187770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:25:07] local.INFO: TCP Data received {"connection_id":187770,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:25:07] local.INFO: Processing buffer {"connection_id":187770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:25:07] local.INFO: IMEI packet received {"connection_id":187770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":187770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:25:07] local.INFO: TCP Data received {"connection_id":187770,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:25:07] local.INFO: Processing buffer {"connection_id":187770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:25:07] local.INFO: Packet analysis {"connection_id":187770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:25:07] local.INFO: Extracted packet for processing {"connection_id":187770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25: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-09-18 22:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":187770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:25:08] local.INFO: GPS data processed {"connection_id":187770,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:25:08] local.INFO: Acknowledgment sent {"connection_id":187770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:25:11] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:25:11] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:25:11] local.INFO: IMEI packet received {"connection_id":186517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":186517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:25:16] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:25:16] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:25:16] local.INFO: IMEI packet received {"connection_id":186517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":186517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:25:17] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:25:17] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:25:17] local.INFO: Packet analysis {"connection_id":186517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:25:17] local.INFO: Extracted packet for processing {"connection_id":186517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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":795,"current_offset":40} 
[2026-09-18 22:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:25:17] 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-09-18 22:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":186517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:25:17] local.INFO: GPS data processed {"connection_id":186517,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:25:17] local.INFO: Acknowledgment sent {"connection_id":186517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:25:39] local.INFO: TCP Data received {"connection_id":187770,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:25:39] local.INFO: Processing buffer {"connection_id":187770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:25:39] local.INFO: Packet analysis {"connection_id":187770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:25:39] local.INFO: Extracted packet for processing {"connection_id":187770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:25:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":187770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:25:39] local.INFO: GPS data processed {"connection_id":187770,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:25:39] local.INFO: Acknowledgment sent {"connection_id":187770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:25:49] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:25:49] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:25:49] local.INFO: Packet analysis {"connection_id":186517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:25:49] local.INFO: Extracted packet for processing {"connection_id":186517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:25:49] 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-09-18 22:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":186517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:25:49] local.INFO: GPS data processed {"connection_id":186517,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:25:49] local.INFO: Acknowledgment sent {"connection_id":186517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:26:05] local.INFO: TCP Data received {"connection_id":186515,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:26:05] local.INFO: Processing buffer {"connection_id":186515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:26:05] local.INFO: IMEI packet received {"connection_id":186515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":186515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:26:07] local.INFO: TCP Data received {"connection_id":189122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:26:07] local.INFO: Processing buffer {"connection_id":189122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:26:07] local.INFO: IMEI packet received {"connection_id":189122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":189122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:26:12] local.INFO: TCP Data received {"connection_id":189122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:26:12] local.INFO: Processing buffer {"connection_id":189122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:26:12] local.INFO: IMEI packet received {"connection_id":189122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":189122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:26:13] local.INFO: TCP Data received {"connection_id":189122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:26:13] local.INFO: Processing buffer {"connection_id":189122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56d4b90012d196540071ff038004401542b..."} 
[2026-09-18 22:26:13] local.INFO: Packet analysis {"connection_id":189122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:26:13] local.INFO: Extracted packet for processing {"connection_id":189122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56d"} 
[2026-09-18 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458175982848001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750234000,"timestamp_ms":1789750234000,"timestamp_seconds":1789750234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56d4b90"} 
[2026-09-18 22:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458175982848001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458175982848001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458175982848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":189122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:26:13] local.INFO: GPS data processed {"connection_id":189122,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:26:13] local.INFO: Acknowledgment sent {"connection_id":189122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:26:13] local.INFO: TCP Data received {"connection_id":189122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:26:13] local.INFO: Processing buffer {"connection_id":189122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:26:13] local.INFO: Packet analysis {"connection_id":189122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:26:13] local.INFO: Extracted packet for processing {"connection_id":189122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":189122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:26:13] local.INFO: GPS data processed {"connection_id":189122,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:26:13] local.INFO: Acknowledgment sent {"connection_id":189122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:26:16] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:26:16] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:26:16] local.INFO: IMEI packet received {"connection_id":187771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":187771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:26:21] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:26:21] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:26:21] local.INFO: IMEI packet received {"connection_id":187771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":187771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:26:22] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:26:22] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:26:22] local.INFO: Packet analysis {"connection_id":187771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:26:22] local.INFO: Extracted packet for processing {"connection_id":187771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:26:22] 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-09-18 22:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":187771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:26:22] local.INFO: GPS data processed {"connection_id":187771,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:26:22] local.INFO: Acknowledgment sent {"connection_id":187771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:26:44] local.INFO: TCP Data received {"connection_id":189122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:26:44] local.INFO: Processing buffer {"connection_id":189122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:26:44] local.INFO: Packet analysis {"connection_id":189122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:26:44] local.INFO: Extracted packet for processing {"connection_id":189122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":189122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:26:45] local.INFO: GPS data processed {"connection_id":189122,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:26:45] local.INFO: Acknowledgment sent {"connection_id":189122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:26:53] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:26:53] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:26:53] local.INFO: Packet analysis {"connection_id":187771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:26:53] local.INFO: Extracted packet for processing {"connection_id":187771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":187771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:26:53] local.INFO: GPS data processed {"connection_id":187771,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:26:53] local.INFO: Acknowledgment sent {"connection_id":187771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:27:02] local.INFO: TCP Data received {"connection_id":189123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:27:02] local.INFO: Processing buffer {"connection_id":189123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:27:02] local.INFO: IMEI packet received {"connection_id":189123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":189123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:27:07] local.INFO: TCP Data received {"connection_id":189123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:27:07] local.INFO: Processing buffer {"connection_id":189123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:27:07] local.INFO: IMEI packet received {"connection_id":189123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":189123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:27:08] local.INFO: TCP Data received {"connection_id":189123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:27:08] local.INFO: Processing buffer {"connection_id":189123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:27:08] local.INFO: Packet analysis {"connection_id":189123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:27:08] local.INFO: Extracted packet for processing {"connection_id":189123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27: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-09-18 22:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:27: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-09-18 22:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:27: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-09-18 22:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:27:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":189123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:27:08] local.INFO: GPS data processed {"connection_id":189123,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:27:08] local.INFO: Acknowledgment sent {"connection_id":189123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:27:11] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:27:11] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:27:11] local.INFO: IMEI packet received {"connection_id":186369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":186369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:27:16] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:27:16] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:27:16] local.INFO: IMEI packet received {"connection_id":186369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":186369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:27:18] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:27:18] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:27:18] local.INFO: Packet analysis {"connection_id":186369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:27:18] local.INFO: Extracted packet for processing {"connection_id":186369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:27:18] 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-09-18 22:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":186369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:27:18] local.INFO: GPS data processed {"connection_id":186369,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:27:18] local.INFO: Acknowledgment sent {"connection_id":186369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:27:39] local.INFO: TCP Data received {"connection_id":189123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:27:39] local.INFO: Processing buffer {"connection_id":189123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:27:39] local.INFO: Packet analysis {"connection_id":189123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:27:39] local.INFO: Extracted packet for processing {"connection_id":189123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":189123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:27:39] local.INFO: GPS data processed {"connection_id":189123,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:27:39] local.INFO: Acknowledgment sent {"connection_id":189123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:27:50] local.INFO: TCP Data received {"connection_id":186369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:27:50] local.INFO: Processing buffer {"connection_id":186369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b56ed230012d34c24006aa4140000801152c..."} 
[2026-09-18 22:27:50] local.INFO: Packet analysis {"connection_id":186369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:27:50] local.INFO: Extracted packet for processing {"connection_id":186369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b56e"} 
[2026-09-18 22:27:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176008448001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789750334000,"timestamp_ms":1789750334000,"timestamp_seconds":1789750334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b56ed230"} 
[2026-09-18 22:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:27:50] 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-09-18 22:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176008448001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176008448001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:27:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176008448001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":186369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:27:50] local.INFO: GPS data processed {"connection_id":186369,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:27:50] local.INFO: Acknowledgment sent {"connection_id":186369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:28:02] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:28:02] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:28:02] local.INFO: IMEI packet received {"connection_id":186518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:28:07] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:28:07] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:28:07] local.INFO: IMEI packet received {"connection_id":186518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":186518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:28:08] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:28:08] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:28:08] local.INFO: Packet analysis {"connection_id":186518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:28:08] local.INFO: Extracted packet for processing {"connection_id":186518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28: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-09-18 22:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:28: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-09-18 22:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:28: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-09-18 22:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:28:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:28:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":186518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:28:08] local.INFO: GPS data processed {"connection_id":186518,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:28:08] local.INFO: Acknowledgment sent {"connection_id":186518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:28:11] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:28:11] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:28:11] local.INFO: IMEI packet received {"connection_id":186519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":186519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:28:16] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:28:16] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:28:16] local.INFO: IMEI packet received {"connection_id":186519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:28:17] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:28:17] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:28:17] local.INFO: Packet analysis {"connection_id":186519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:28:17] local.INFO: Extracted packet for processing {"connection_id":186519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:28: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-09-18 22:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":186519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:28:17] local.INFO: GPS data processed {"connection_id":186519,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:28:17] local.INFO: Acknowledgment sent {"connection_id":186519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:28:39] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:28:39] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:28:39] local.INFO: Packet analysis {"connection_id":186518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:28:39] local.INFO: Extracted packet for processing {"connection_id":186518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":186518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:28:39] local.INFO: GPS data processed {"connection_id":186518,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:28:39] local.INFO: Acknowledgment sent {"connection_id":186518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:28:49] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:28:49] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:28:49] local.INFO: Packet analysis {"connection_id":186519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:28:49] local.INFO: Extracted packet for processing {"connection_id":186519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":186519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:28:49] local.INFO: GPS data processed {"connection_id":186519,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:28:49] local.INFO: Acknowledgment sent {"connection_id":186519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:29:02] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:29:02] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:29:02] local.INFO: IMEI packet received {"connection_id":189124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":189124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:29:07] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:29:07] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:29:07] local.INFO: IMEI packet received {"connection_id":189124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":189124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:29:07] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:29:07] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:29:07] local.INFO: Packet analysis {"connection_id":189124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:29:07] local.INFO: Extracted packet for processing {"connection_id":189124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29: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-09-18 22:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22: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-09-18 22:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":189124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:29:07] local.INFO: GPS data processed {"connection_id":189124,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:29:07] local.INFO: Acknowledgment sent {"connection_id":189124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:29:11] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:29:11] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:29:11] local.INFO: IMEI packet received {"connection_id":186370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":186370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:29:16] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:29:16] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:29:16] local.INFO: IMEI packet received {"connection_id":186370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:29:17] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:29:17] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:29:17] local.INFO: Packet analysis {"connection_id":186370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:29:17] local.INFO: Extracted packet for processing {"connection_id":186370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:29: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-09-18 22:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":186370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:29:17] local.INFO: GPS data processed {"connection_id":186370,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:29:17] local.INFO: Acknowledgment sent {"connection_id":186370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:29:39] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:29:39] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:29:39] local.INFO: Packet analysis {"connection_id":189124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:29:39] local.INFO: Extracted packet for processing {"connection_id":189124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":189124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:29:39] local.INFO: GPS data processed {"connection_id":189124,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:29:39] local.INFO: Acknowledgment sent {"connection_id":189124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:29:49] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:29:49] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:29:49] local.INFO: Packet analysis {"connection_id":186370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:29:49] local.INFO: Extracted packet for processing {"connection_id":186370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":186370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:29:49] local.INFO: GPS data processed {"connection_id":186370,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:29:49] local.INFO: Acknowledgment sent {"connection_id":186370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:30:02] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:30:02] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:30:02] local.INFO: IMEI packet received {"connection_id":187773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":187773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:30:07] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:30:07] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:30:07] local.INFO: IMEI packet received {"connection_id":187773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":187773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:30:08] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:30:08] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:30:08] local.INFO: Packet analysis {"connection_id":187773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:30:08] local.INFO: Extracted packet for processing {"connection_id":187773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30: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-09-18 22:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:30: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-09-18 22:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:30: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-09-18 22:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:30:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":187773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:30:08] local.INFO: GPS data processed {"connection_id":187773,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:30:08] local.INFO: Acknowledgment sent {"connection_id":187773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:30:11] local.INFO: TCP Data received {"connection_id":187774,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:30:11] local.INFO: Processing buffer {"connection_id":187774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:30:11] local.INFO: IMEI packet received {"connection_id":187774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":187774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:30:16] local.INFO: TCP Data received {"connection_id":187774,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:30:16] local.INFO: Processing buffer {"connection_id":187774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:30:16] local.INFO: IMEI packet received {"connection_id":187774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":187774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:30:17] local.INFO: TCP Data received {"connection_id":187774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:30:17] local.INFO: Processing buffer {"connection_id":187774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:30:17] local.INFO: Packet analysis {"connection_id":187774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:30:17] local.INFO: Extracted packet for processing {"connection_id":187774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:30: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-09-18 22:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":187774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:30:17] local.INFO: GPS data processed {"connection_id":187774,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:30:17] local.INFO: Acknowledgment sent {"connection_id":187774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:30:39] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:30:39] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:30:39] local.INFO: Packet analysis {"connection_id":187773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:30:39] local.INFO: Extracted packet for processing {"connection_id":187773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":187773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:30:39] local.INFO: GPS data processed {"connection_id":187773,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:30:39] local.INFO: Acknowledgment sent {"connection_id":187773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:30:49] local.INFO: TCP Data received {"connection_id":187774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:30:49] local.INFO: Processing buffer {"connection_id":187774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:30:49] local.INFO: Packet analysis {"connection_id":187774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:30:49] local.INFO: Extracted packet for processing {"connection_id":187774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":187774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:30:49] local.INFO: GPS data processed {"connection_id":187774,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:30:49] local.INFO: Acknowledgment sent {"connection_id":187774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:31:07] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:31:07] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:31:07] local.INFO: IMEI packet received {"connection_id":186371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":186371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:31:11] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:31:11] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:31:11] local.INFO: IMEI packet received {"connection_id":186520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:31:12] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:31:12] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:31:12] local.INFO: IMEI packet received {"connection_id":186371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":186371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:31:13] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:31:13] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b571e358012d196540071ff038004401542b..."} 
[2026-09-18 22:31:13] local.INFO: Packet analysis {"connection_id":186371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:31:13] local.INFO: Extracted packet for processing {"connection_id":186371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b571"} 
[2026-09-18 22:31:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176059904001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750535000,"timestamp_ms":1789750535000,"timestamp_seconds":1789750535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b571e358"} 
[2026-09-18 22:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176059904001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176059904001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:31:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176059904001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":186371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:31:13] local.INFO: GPS data processed {"connection_id":186371,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:31:13] local.INFO: Acknowledgment sent {"connection_id":186371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:31:14] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:31:14] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:31:14] local.INFO: Packet analysis {"connection_id":186371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:31:14] local.INFO: Extracted packet for processing {"connection_id":186371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:31:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":186371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:31:14] local.INFO: GPS data processed {"connection_id":186371,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:31:14] local.INFO: Acknowledgment sent {"connection_id":186371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:31:16] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:31:16] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:31:16] local.INFO: IMEI packet received {"connection_id":186520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:31:17] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:31:17] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:31:17] local.INFO: Packet analysis {"connection_id":186520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:31:17] local.INFO: Extracted packet for processing {"connection_id":186520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:31: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-09-18 22:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:31:17] local.INFO: GPS data processed {"connection_id":186520,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:31:17] local.INFO: Acknowledgment sent {"connection_id":186520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:31:39] local.INFO: TCP Data received {"connection_id":187772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:31:39] local.INFO: Processing buffer {"connection_id":187772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:31:39] local.INFO: IMEI packet received {"connection_id":187772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":187772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:31:45] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:31:45] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:31:45] local.INFO: Packet analysis {"connection_id":186371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:31:45] local.INFO: Extracted packet for processing {"connection_id":186371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":186371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:31:45] local.INFO: GPS data processed {"connection_id":186371,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:31:45] local.INFO: Acknowledgment sent {"connection_id":186371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:31:49] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:31:49] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:31:49] local.INFO: Packet analysis {"connection_id":186520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:31:49] local.INFO: Extracted packet for processing {"connection_id":186520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:31:49] local.INFO: GPS data processed {"connection_id":186520,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:31:49] local.INFO: Acknowledgment sent {"connection_id":186520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:32:02] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:32:02] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:32:02] local.INFO: IMEI packet received {"connection_id":187775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":187775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:32:07] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:32:07] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:32:07] local.INFO: IMEI packet received {"connection_id":187775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":187775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:32:08] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:32:08] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:32:08] local.INFO: Packet analysis {"connection_id":187775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:32:08] local.INFO: Extracted packet for processing {"connection_id":187775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32: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-09-18 22:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:32: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-09-18 22:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:32:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":187775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:32:08] local.INFO: GPS data processed {"connection_id":187775,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:32:08] local.INFO: Acknowledgment sent {"connection_id":187775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:32:18] local.INFO: TCP Data received {"connection_id":189125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:32:18] local.INFO: Processing buffer {"connection_id":189125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:32:18] local.INFO: IMEI packet received {"connection_id":189125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":189125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:32:22] local.INFO: TCP Data received {"connection_id":189125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:32:22] local.INFO: Processing buffer {"connection_id":189125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:32:22] local.INFO: IMEI packet received {"connection_id":189125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":189125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:32:23] local.INFO: TCP Data received {"connection_id":189125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:32:23] local.INFO: Processing buffer {"connection_id":189125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:32:23] local.INFO: Packet analysis {"connection_id":189125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:32:23] local.INFO: Extracted packet for processing {"connection_id":189125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 22:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22: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-09-18 22:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":189125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:32:23] local.INFO: GPS data processed {"connection_id":189125,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:32:23] local.INFO: Acknowledgment sent {"connection_id":189125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:32:27] local.INFO: TCP Data received {"connection_id":189125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:32:27] local.INFO: Processing buffer {"connection_id":189125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57369f8012d34c24006aa41400008011529..."} 
[2026-09-18 22:32:27] local.INFO: Packet analysis {"connection_id":189125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:32:27] local.INFO: Extracted packet for processing {"connection_id":189125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b573"} 
[2026-09-18 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176085504001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789750635000,"timestamp_ms":1789750635000,"timestamp_seconds":1789750635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57369f8"} 
[2026-09-18 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-09-18 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:32:27] 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-09-18 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-09-18 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-09-18 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:32: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-09-18 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176085504001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176085504001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:32:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176085504001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":189125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:32:27] local.INFO: GPS data processed {"connection_id":189125,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:32:27] local.INFO: Acknowledgment sent {"connection_id":189125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:32:39] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:32:39] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:32:39] local.INFO: Packet analysis {"connection_id":187775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:32:39] local.INFO: Extracted packet for processing {"connection_id":187775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":187775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:32:39] local.INFO: GPS data processed {"connection_id":187775,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:32:39] local.INFO: Acknowledgment sent {"connection_id":187775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:33:02] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:33:02] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:33:02] local.INFO: IMEI packet received {"connection_id":186521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":186521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:33:07] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:33:07] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:33:07] local.INFO: IMEI packet received {"connection_id":186521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":186521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:33:08] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:33:08] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:33:08] local.INFO: Packet analysis {"connection_id":186521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:33:08] local.INFO: Extracted packet for processing {"connection_id":186521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33: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-09-18 22:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:33: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-09-18 22:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:33:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:33:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":186521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:33:08] local.INFO: GPS data processed {"connection_id":186521,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:33:08] local.INFO: Acknowledgment sent {"connection_id":186521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:33:11] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:33:11] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:33:11] local.INFO: IMEI packet received {"connection_id":187776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":187776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:33:16] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:33:16] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:33:16] local.INFO: IMEI packet received {"connection_id":187776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":187776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:33:16] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:33:16] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:33:16] local.INFO: Packet analysis {"connection_id":187776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:33:16] local.INFO: Extracted packet for processing {"connection_id":187776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:33: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-09-18 22:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":187776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:33:17] local.INFO: GPS data processed {"connection_id":187776,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:33:17] local.INFO: Acknowledgment sent {"connection_id":187776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:33:40] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:33:40] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:33:40] local.INFO: Packet analysis {"connection_id":186521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:33:40] local.INFO: Extracted packet for processing {"connection_id":186521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:33:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":186521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:33:40] local.INFO: GPS data processed {"connection_id":186521,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:33:40] local.INFO: Acknowledgment sent {"connection_id":186521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:33:48] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:33:48] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:33:48] local.INFO: Packet analysis {"connection_id":187776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:33:48] local.INFO: Extracted packet for processing {"connection_id":187776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:33: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-09-18 22:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:33: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-09-18 22:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:33: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-09-18 22:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":187776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:33:48] local.INFO: GPS data processed {"connection_id":187776,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:33:48] local.INFO: Acknowledgment sent {"connection_id":187776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:34:02] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:34:02] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:34:02] local.INFO: IMEI packet received {"connection_id":186372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":186372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:34:07] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:34:07] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:34:07] local.INFO: IMEI packet received {"connection_id":186372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":186372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:34:08] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:34:08] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:34:08] local.INFO: Packet analysis {"connection_id":186372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:34:08] local.INFO: Extracted packet for processing {"connection_id":186372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34: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-09-18 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:34: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-09-18 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:34:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":186372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:34:08] local.INFO: GPS data processed {"connection_id":186372,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:34:08] local.INFO: Acknowledgment sent {"connection_id":186372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:34:11] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:34:11] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:34:11] local.INFO: IMEI packet received {"connection_id":186522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":186522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:34:16] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:34:16] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:34:16] local.INFO: IMEI packet received {"connection_id":186522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":186522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:34:17] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:34:17] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:34:17] local.INFO: Packet analysis {"connection_id":186522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:34:17] local.INFO: Extracted packet for processing {"connection_id":186522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:34: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-09-18 22:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":186522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:34:17] local.INFO: GPS data processed {"connection_id":186522,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:34:17] local.INFO: Acknowledgment sent {"connection_id":186522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:34:39] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:34:39] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:34:39] local.INFO: Packet analysis {"connection_id":186372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:34:39] local.INFO: Extracted packet for processing {"connection_id":186372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":186372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:34:39] local.INFO: GPS data processed {"connection_id":186372,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:34:39] local.INFO: Acknowledgment sent {"connection_id":186372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:34:49] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:34:49] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:34:49] local.INFO: Packet analysis {"connection_id":186522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:34:49] local.INFO: Extracted packet for processing {"connection_id":186522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":186522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:34:49] local.INFO: GPS data processed {"connection_id":186522,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:34:49] local.INFO: Acknowledgment sent {"connection_id":186522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:35:02] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:35:02] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:35:02] local.INFO: IMEI packet received {"connection_id":189127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":189127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:35:07] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:35:07] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:35:07] local.INFO: IMEI packet received {"connection_id":189127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":189127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:35:08] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:35:08] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:35:08] local.INFO: Packet analysis {"connection_id":189127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:35:08] local.INFO: Extracted packet for processing {"connection_id":189127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35: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-09-18 22:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:35: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-09-18 22:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:35:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":189127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:35:08] local.INFO: GPS data processed {"connection_id":189127,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:35:08] local.INFO: Acknowledgment sent {"connection_id":189127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:35:11] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:35:11] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:35:11] local.INFO: IMEI packet received {"connection_id":186373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":186373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:35:16] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:35:16] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:35:16] local.INFO: IMEI packet received {"connection_id":186373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:35:17] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:35:17] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:35:17] local.INFO: Packet analysis {"connection_id":186373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:35:17] local.INFO: Extracted packet for processing {"connection_id":186373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:35: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-09-18 22:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":186373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:35:17] local.INFO: GPS data processed {"connection_id":186373,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:35:17] local.INFO: Acknowledgment sent {"connection_id":186373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:35:39] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:35:39] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:35:39] local.INFO: Packet analysis {"connection_id":189127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:35:39] local.INFO: Extracted packet for processing {"connection_id":189127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":189127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:35:39] local.INFO: GPS data processed {"connection_id":189127,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:35:39] local.INFO: Acknowledgment sent {"connection_id":189127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:35:48] local.INFO: TCP Data received {"connection_id":186373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:35:48] local.INFO: Processing buffer {"connection_id":186373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:35:48] local.INFO: Packet analysis {"connection_id":186373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:35:48] local.INFO: Extracted packet for processing {"connection_id":186373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:35: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-09-18 22:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:35: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-09-18 22:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:35:48] local.INFO: GPS data processed {"connection_id":186373,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:35:48] local.INFO: Acknowledgment sent {"connection_id":186373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:36:07] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:36:07] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:36:07] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:36:11] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:36:11] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:36:11] local.INFO: IMEI packet received {"connection_id":187777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":187777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:36:12] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:36:12] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:36:12] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:36:13] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:36:13] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5767b20012d196540071ff038004401542a..."} 
[2026-09-18 22:36:13] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:36:13] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b576"} 
[2026-09-18 22:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176136960001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789750836000,"timestamp_ms":1789750836000,"timestamp_seconds":1789750836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5767b20"} 
[2026-09-18 22:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 22:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22: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-09-18 22:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176136960001,"66":2177,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176136960001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:36:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176136960001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:36:13] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:36:13] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:36:16] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:36:16] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:36:16] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:36:16] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:36:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:36:16] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:36:16] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:36:16] local.INFO: IMEI packet received {"connection_id":187777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":187777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:36:16] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:36:16] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:36:18] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:36:18] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:36:18] local.INFO: Packet analysis {"connection_id":187777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:36:18] local.INFO: Extracted packet for processing {"connection_id":187777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:36:18] 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-09-18 22:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":187777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:36:18] local.INFO: GPS data processed {"connection_id":187777,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:36:18] local.INFO: Acknowledgment sent {"connection_id":187777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:36:47] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:36:47] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:36:47] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:36:47] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:36:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:36:47] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:36:47] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:36:49] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:36:49] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:36:49] local.INFO: Packet analysis {"connection_id":187777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:36:49] local.INFO: Extracted packet for processing {"connection_id":187777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":187777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:36:49] local.INFO: GPS data processed {"connection_id":187777,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:36:49] local.INFO: Acknowledgment sent {"connection_id":187777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:37:03] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:37:03] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:37:03] local.INFO: IMEI packet received {"connection_id":186523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":186523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:37:07] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:37:07] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:37:07] local.INFO: IMEI packet received {"connection_id":186523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":186523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:37:08] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:37:08] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:37:08] local.INFO: Packet analysis {"connection_id":186523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:37:08] local.INFO: Extracted packet for processing {"connection_id":186523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37: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-09-18 22:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:37:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:37:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":186523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:37:08] local.INFO: GPS data processed {"connection_id":186523,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:37:08] local.INFO: Acknowledgment sent {"connection_id":186523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:37:11] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:37:11] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:37:11] local.INFO: IMEI packet received {"connection_id":189128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":189128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:37:15] local.INFO: TCP Data received {"connection_id":189126,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:37:15] local.INFO: Processing buffer {"connection_id":189126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:37:15] local.INFO: IMEI packet received {"connection_id":189126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":189126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:37:16] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:37:16] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:37:16] local.INFO: IMEI packet received {"connection_id":189128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":189128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:37:17] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:37:17] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:37:17] local.INFO: Packet analysis {"connection_id":189128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:37:17] local.INFO: Extracted packet for processing {"connection_id":189128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:37: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-09-18 22:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":189128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:37:17] local.INFO: GPS data processed {"connection_id":189128,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:37:17] local.INFO: Acknowledgment sent {"connection_id":189128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:37:39] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:37:39] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:37:39] local.INFO: Packet analysis {"connection_id":186523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:37:39] local.INFO: Extracted packet for processing {"connection_id":186523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:37:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:37:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":186523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:37:39] local.INFO: GPS data processed {"connection_id":186523,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:37:39] local.INFO: Acknowledgment sent {"connection_id":186523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:37:48] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:37:48] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57801c0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:37:48] local.INFO: Packet analysis {"connection_id":189128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:37:48] local.INFO: Extracted packet for processing {"connection_id":189128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b578"} 
[2026-09-18 22:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176162560001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789750936000,"timestamp_ms":1789750936000,"timestamp_seconds":1789750936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57801c0"} 
[2026-09-18 22:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:37: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-09-18 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:37: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-09-18 22: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-09-18 22:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:37: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-09-18 22:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176162560001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176162560001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176162560001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":189128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:37:48] local.INFO: GPS data processed {"connection_id":189128,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:37:48] local.INFO: Acknowledgment sent {"connection_id":189128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:38:02] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:38:02] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:38:02] local.INFO: IMEI packet received {"connection_id":189129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":189129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:38:07] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:38:07] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:38:07] local.INFO: IMEI packet received {"connection_id":189129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":189129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:38:08] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:38:08] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:38:08] local.INFO: Packet analysis {"connection_id":189129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:38:08] local.INFO: Extracted packet for processing {"connection_id":189129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38: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-09-18 22:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:38:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":189129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:38:08] local.INFO: GPS data processed {"connection_id":189129,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:38:08] local.INFO: Acknowledgment sent {"connection_id":189129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:38:16] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:38:16] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:38:16] local.INFO: IMEI packet received {"connection_id":186375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:38:21] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:38:21] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:38:21] local.INFO: IMEI packet received {"connection_id":186375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":186375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:38:22] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:38:22] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:38:22] local.INFO: Packet analysis {"connection_id":186375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:38:22] local.INFO: Extracted packet for processing {"connection_id":186375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":186375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:38:22] local.INFO: GPS data processed {"connection_id":186375,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:38:22] local.INFO: Acknowledgment sent {"connection_id":186375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:38:39] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:38:39] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:38:39] local.INFO: Packet analysis {"connection_id":189129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:38:39] local.INFO: Extracted packet for processing {"connection_id":189129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":189129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:38:39] local.INFO: GPS data processed {"connection_id":189129,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:38:39] local.INFO: Acknowledgment sent {"connection_id":189129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:38:53] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:38:53] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:38:53] local.INFO: Packet analysis {"connection_id":186375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:38:53] local.INFO: Extracted packet for processing {"connection_id":186375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:38:53] 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-09-18 22:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":186375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:38:53] local.INFO: GPS data processed {"connection_id":186375,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:38:53] local.INFO: Acknowledgment sent {"connection_id":186375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:39:07] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:39:07] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:39:07] local.INFO: IMEI packet received {"connection_id":186376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":186376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:39:11] local.INFO: TCP Data received {"connection_id":186377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:39:11] local.INFO: Processing buffer {"connection_id":186377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:39:11] local.INFO: IMEI packet received {"connection_id":186377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":186377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:39:12] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:39:12] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:39:12] local.INFO: IMEI packet received {"connection_id":186376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":186376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:39:13] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:39:13] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:39:13] local.INFO: Packet analysis {"connection_id":186376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:39:13] local.INFO: Extracted packet for processing {"connection_id":186376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:39:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":186376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:39:13] local.INFO: GPS data processed {"connection_id":186376,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:39:13] local.INFO: Acknowledgment sent {"connection_id":186376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:39:16] local.INFO: TCP Data received {"connection_id":186377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:39:16] local.INFO: Processing buffer {"connection_id":186377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:39:16] local.INFO: IMEI packet received {"connection_id":186377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":186377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:39:17] local.INFO: TCP Data received {"connection_id":186377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:39:17] local.INFO: Processing buffer {"connection_id":186377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:39:17] local.INFO: Packet analysis {"connection_id":186377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:39:17] local.INFO: Extracted packet for processing {"connection_id":186377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:39: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-09-18 22:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":186377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:39:17] local.INFO: GPS data processed {"connection_id":186377,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:39:17] local.INFO: Acknowledgment sent {"connection_id":186377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:39:17] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:39:17] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:39:17] local.INFO: Packet analysis {"connection_id":186376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:39:17] local.INFO: Extracted packet for processing {"connection_id":186376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":186376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:39:17] local.INFO: GPS data processed {"connection_id":186376,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:39:17] local.INFO: Acknowledgment sent {"connection_id":186376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:39:49] local.INFO: TCP Data received {"connection_id":186377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:39:49] local.INFO: Processing buffer {"connection_id":186377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:39:49] local.INFO: Packet analysis {"connection_id":186377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:39:49] local.INFO: Extracted packet for processing {"connection_id":186377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":186377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:39:49] local.INFO: GPS data processed {"connection_id":186377,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:39:49] local.INFO: Acknowledgment sent {"connection_id":186377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:40:02] local.INFO: TCP Data received {"connection_id":186524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:40:02] local.INFO: Processing buffer {"connection_id":186524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:40:02] local.INFO: IMEI packet received {"connection_id":186524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":186524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:40:07] local.INFO: TCP Data received {"connection_id":186524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:40:07] local.INFO: Processing buffer {"connection_id":186524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:40:07] local.INFO: IMEI packet received {"connection_id":186524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":186524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:40:08] local.INFO: TCP Data received {"connection_id":186524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:40:08] local.INFO: Processing buffer {"connection_id":186524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:40:08] local.INFO: Packet analysis {"connection_id":186524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:40:08] local.INFO: Extracted packet for processing {"connection_id":186524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40: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-09-18 22:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:40:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":186524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:40:08] local.INFO: GPS data processed {"connection_id":186524,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:40:08] local.INFO: Acknowledgment sent {"connection_id":186524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:40:11] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:40:11] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:40:11] local.INFO: IMEI packet received {"connection_id":189130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":189130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:40:16] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:40:16] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:40:16] local.INFO: IMEI packet received {"connection_id":189130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":189130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:40:17] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:40:17] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:40:17] local.INFO: Packet analysis {"connection_id":189130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:40:17] local.INFO: Extracted packet for processing {"connection_id":189130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:40: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-09-18 22:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":189130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:40:17] local.INFO: GPS data processed {"connection_id":189130,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:40:17] local.INFO: Acknowledgment sent {"connection_id":189130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:40:41] local.INFO: TCP Data received {"connection_id":186524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:40:41] local.INFO: Processing buffer {"connection_id":186524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:40:41] local.INFO: Packet analysis {"connection_id":186524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:40:41] local.INFO: Extracted packet for processing {"connection_id":186524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40: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-09-18 22:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:40: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-09-18 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:40: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-09-18 22:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:40: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-09-18 22:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:40:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":186524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:40:41] local.INFO: GPS data processed {"connection_id":186524,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:40:41] local.INFO: Acknowledgment sent {"connection_id":186524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:40:49] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:40:49] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:40:49] local.INFO: Packet analysis {"connection_id":189130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:40:49] local.INFO: Extracted packet for processing {"connection_id":189130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":189130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:40:49] local.INFO: GPS data processed {"connection_id":189130,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:40:49] local.INFO: Acknowledgment sent {"connection_id":189130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:41:02] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:41:02] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:41:02] local.INFO: IMEI packet received {"connection_id":186378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":186378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:41:07] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:41:07] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:41:07] local.INFO: IMEI packet received {"connection_id":186378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":186378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:41:11] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:41:11] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:41:11] local.INFO: IMEI packet received {"connection_id":187779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":187779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:41:13] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:41:13] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57b12e8012d196540071ff0380044015429..."} 
[2026-09-18 22:41:13] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:41:13] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57b"} 
[2026-09-18 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176214016001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789751137000,"timestamp_ms":1789751137000,"timestamp_seconds":1789751137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57b12e8"} 
[2026-09-18 22:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-18 22:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176214016001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176214016001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:41:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176214016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:41:13] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:41:13] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:41:16] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:41:16] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:41:16] local.INFO: IMEI packet received {"connection_id":187779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":187779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:41:23] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:41:23] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:41:23] local.INFO: Packet analysis {"connection_id":187779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:41:23] local.INFO: Extracted packet for processing {"connection_id":187779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":187779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:41:23] local.INFO: GPS data processed {"connection_id":187779,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:41:23] local.INFO: Acknowledgment sent {"connection_id":187779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:41:44] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:41:44] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:41:44] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:41:44] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:41:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:41:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:41:44] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:41:44] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:41:54] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:41:54] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:41:54] local.INFO: Packet analysis {"connection_id":187779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:41:54] local.INFO: Extracted packet for processing {"connection_id":187779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":187779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:41:54] local.INFO: GPS data processed {"connection_id":187779,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:41:54] local.INFO: Acknowledgment sent {"connection_id":187779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:42:02] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:42:02] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:42:02] local.INFO: IMEI packet received {"connection_id":186525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":186525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:42:07] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:42:07] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:42:07] local.INFO: IMEI packet received {"connection_id":186525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":186525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:42:08] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:42:08] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:42:08] local.INFO: Packet analysis {"connection_id":186525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:42:08] local.INFO: Extracted packet for processing {"connection_id":186525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42: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-09-18 22:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:42: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-09-18 22:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:42: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-09-18 22:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:42:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":186525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:42:08] local.INFO: GPS data processed {"connection_id":186525,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:42:08] local.INFO: Acknowledgment sent {"connection_id":186525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:42:11] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:42:11] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:42:11] local.INFO: IMEI packet received {"connection_id":186379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":186379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:42:17] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:42:17] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:42:17] local.INFO: IMEI packet received {"connection_id":186379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":186379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:42:17] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:42:17] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:42:17] local.INFO: Packet analysis {"connection_id":186379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:42:17] local.INFO: Extracted packet for processing {"connection_id":186379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:42: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-09-18 22:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":186379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:42:18] local.INFO: GPS data processed {"connection_id":186379,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:42:18] local.INFO: Acknowledgment sent {"connection_id":186379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:42:39] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:42:39] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:42:39] local.INFO: Packet analysis {"connection_id":186525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:42:39] local.INFO: Extracted packet for processing {"connection_id":186525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:42:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:42:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":186525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:42:39] local.INFO: GPS data processed {"connection_id":186525,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:42:39] local.INFO: Acknowledgment sent {"connection_id":186525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:42:49] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:42:49] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57c9988012d34c24006aa4140000801152a..."} 
[2026-09-18 22:42:49] local.INFO: Packet analysis {"connection_id":186379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:42:49] local.INFO: Extracted packet for processing {"connection_id":186379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57c"} 
[2026-09-18 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176239616001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789751237000,"timestamp_ms":1789751237000,"timestamp_seconds":1789751237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57c9988"} 
[2026-09-18 22:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176239616001,"66":25875,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176239616001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176239616001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":186379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:42:49] local.INFO: GPS data processed {"connection_id":186379,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:42:49] local.INFO: Acknowledgment sent {"connection_id":186379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:42:49] local.INFO: TCP Data received {"connection_id":187778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:42:49] local.INFO: Processing buffer {"connection_id":187778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:42:49] local.INFO: IMEI packet received {"connection_id":187778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":187778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:43:02] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:43:02] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:43:02] local.INFO: IMEI packet received {"connection_id":186380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":186380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:43:07] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:43:07] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:43:07] local.INFO: IMEI packet received {"connection_id":186380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":186380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:43:08] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:43:08] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:43:08] local.INFO: Packet analysis {"connection_id":186380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:43:08] local.INFO: Extracted packet for processing {"connection_id":186380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43: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-09-18 22:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:43: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-09-18 22:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:43: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-09-18 22:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:43:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":186380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:43:09] local.INFO: GPS data processed {"connection_id":186380,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:43:09] local.INFO: Acknowledgment sent {"connection_id":186380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:43:09] local.INFO: TCP Data received {"connection_id":187780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:43:09] local.INFO: Processing buffer {"connection_id":187780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:43:09] local.INFO: IMEI packet received {"connection_id":187780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:43:11] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:43:11] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:43:11] local.INFO: IMEI packet received {"connection_id":186381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":186381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:43:16] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:43:16] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:43:16] local.INFO: IMEI packet received {"connection_id":186381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":186381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:43:17] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:43:17] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:43:17] local.INFO: Packet analysis {"connection_id":186381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:43:17] local.INFO: Extracted packet for processing {"connection_id":186381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:43: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-09-18 22:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":186381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:43:17] local.INFO: GPS data processed {"connection_id":186381,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:43:17] local.INFO: Acknowledgment sent {"connection_id":186381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:43:40] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:43:40] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:43:40] local.INFO: Packet analysis {"connection_id":186380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:43:40] local.INFO: Extracted packet for processing {"connection_id":186380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:43:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:43:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":186380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:43:40] local.INFO: GPS data processed {"connection_id":186380,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:43:40] local.INFO: Acknowledgment sent {"connection_id":186380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:43:48] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:43:48] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:43:48] local.INFO: Packet analysis {"connection_id":186381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:43:48] local.INFO: Extracted packet for processing {"connection_id":186381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:43: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-09-18 22:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:43: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-09-18 22:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:43: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-09-18 22:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:43:48] local.INFO: GPS data processed {"connection_id":186381,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:43:48] local.INFO: Acknowledgment sent {"connection_id":186381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:44:07] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:44:07] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:44:07] local.INFO: IMEI packet received {"connection_id":189131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":189131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:44:11] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:44:11] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:44:11] local.INFO: IMEI packet received {"connection_id":187781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":187781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:44:12] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:44:12] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:44:12] local.INFO: IMEI packet received {"connection_id":189131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":189131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:44:13] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:44:13] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:44:13] local.INFO: Packet analysis {"connection_id":189131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:44:13] local.INFO: Extracted packet for processing {"connection_id":189131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:44: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-09-18 22:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:44:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":189131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:44:13] local.INFO: GPS data processed {"connection_id":189131,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:44:13] local.INFO: Acknowledgment sent {"connection_id":189131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:44:16] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:44:16] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:44:16] local.INFO: IMEI packet received {"connection_id":187781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:44:17] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:44:17] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:44:17] local.INFO: Packet analysis {"connection_id":187781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:44:17] local.INFO: Extracted packet for processing {"connection_id":187781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:44: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-09-18 22:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":187781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:44:17] local.INFO: GPS data processed {"connection_id":187781,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:44:17] local.INFO: Acknowledgment sent {"connection_id":187781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:44:17] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:44:17] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:44:17] local.INFO: Packet analysis {"connection_id":189131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:44:17] local.INFO: Extracted packet for processing {"connection_id":189131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":189131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:44:17] local.INFO: GPS data processed {"connection_id":189131,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:44:17] local.INFO: Acknowledgment sent {"connection_id":189131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:44:48] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:44:48] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:44:48] local.INFO: Packet analysis {"connection_id":187781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:44:48] local.INFO: Extracted packet for processing {"connection_id":187781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 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-09-18 22:44: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-09-18 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:44: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-09-18 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-09-18 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-09-18 22:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":187781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:44:48] local.INFO: GPS data processed {"connection_id":187781,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:44:48] local.INFO: Acknowledgment sent {"connection_id":187781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:45:02] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:45:02] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:45:02] local.INFO: IMEI packet received {"connection_id":187782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":187782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:45:07] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:45:07] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:45:07] local.INFO: IMEI packet received {"connection_id":187782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":187782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:45:08] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:45:08] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:45:08] local.INFO: Packet analysis {"connection_id":187782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:45:08] local.INFO: Extracted packet for processing {"connection_id":187782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45: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-09-18 22:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:45: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-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:45: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-09-18 22:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:45:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":187782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:45:08] local.INFO: GPS data processed {"connection_id":187782,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:45:08] local.INFO: Acknowledgment sent {"connection_id":187782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:45:11] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:45:11] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:45:11] local.INFO: IMEI packet received {"connection_id":189132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":189132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:45:16] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:45:16] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:45:16] local.INFO: IMEI packet received {"connection_id":189132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":189132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:45:17] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:45:17] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:45:17] local.INFO: Packet analysis {"connection_id":189132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:45:17] local.INFO: Extracted packet for processing {"connection_id":189132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:45: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-09-18 22:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":189132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:45:17] local.INFO: GPS data processed {"connection_id":189132,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:45:17] local.INFO: Acknowledgment sent {"connection_id":189132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:45:41] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:45:41] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:45:41] local.INFO: Packet analysis {"connection_id":187782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:45:41] local.INFO: Extracted packet for processing {"connection_id":187782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22: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-09-18 22:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:45: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-09-18 22:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":187782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:45:41] local.INFO: GPS data processed {"connection_id":187782,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:45:41] local.INFO: Acknowledgment sent {"connection_id":187782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:45:48] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:45:48] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:45:48] local.INFO: Packet analysis {"connection_id":189132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:45:48] local.INFO: Extracted packet for processing {"connection_id":189132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:45: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-09-18 22:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:45: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-09-18 22:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:45: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-09-18 22:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":189132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:45:48] local.INFO: GPS data processed {"connection_id":189132,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:45:48] local.INFO: Acknowledgment sent {"connection_id":189132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:46:02] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:46:02] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:46:02] local.INFO: IMEI packet received {"connection_id":187783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":187783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:46:07] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:46:07] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:46:07] local.INFO: IMEI packet received {"connection_id":187783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":187783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:46:08] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:46:08] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b57faab0012d196540071ff0380044015429..."} 
[2026-09-18 22:46:08] local.INFO: Packet analysis {"connection_id":187783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:46:08] local.INFO: Extracted packet for processing {"connection_id":187783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b57f"} 
[2026-09-18 22:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176291072001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46: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-09-18 22:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751438000,"timestamp_ms":1789751438000,"timestamp_seconds":1789751438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b57faab0"} 
[2026-09-18 22:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:46: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-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:46: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-09-18 22:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176291072001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176291072001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:46:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176291072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":187783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:46:08] local.INFO: GPS data processed {"connection_id":187783,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:46:08] local.INFO: Acknowledgment sent {"connection_id":187783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:46:11] local.INFO: TCP Data received {"connection_id":187784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:46:11] local.INFO: Processing buffer {"connection_id":187784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:46:11] local.INFO: IMEI packet received {"connection_id":187784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:46:16] local.INFO: TCP Data received {"connection_id":187784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:46:16] local.INFO: Processing buffer {"connection_id":187784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:46:16] local.INFO: IMEI packet received {"connection_id":187784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:46:17] local.INFO: TCP Data received {"connection_id":187784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:46:17] local.INFO: Processing buffer {"connection_id":187784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:46:17] local.INFO: Packet analysis {"connection_id":187784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:46:17] local.INFO: Extracted packet for processing {"connection_id":187784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:46: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-09-18 22:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":187784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:46:17] local.INFO: GPS data processed {"connection_id":187784,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:46:17] local.INFO: Acknowledgment sent {"connection_id":187784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:46:38] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:46:38] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:46:38] local.INFO: Packet analysis {"connection_id":187783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:46:38] local.INFO: Extracted packet for processing {"connection_id":187783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:46:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":187783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:46:39] local.INFO: GPS data processed {"connection_id":187783,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:46:39] local.INFO: Acknowledgment sent {"connection_id":187783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:46:48] local.INFO: TCP Data received {"connection_id":187784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:46:48] local.INFO: Processing buffer {"connection_id":187784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:46:48] local.INFO: Packet analysis {"connection_id":187784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:46:48] local.INFO: Extracted packet for processing {"connection_id":187784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:46: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-09-18 22:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:46: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-09-18 22:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":187784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:46:48] local.INFO: GPS data processed {"connection_id":187784,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:46:48] local.INFO: Acknowledgment sent {"connection_id":187784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:47:02] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:47:02] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:47:02] local.INFO: IMEI packet received {"connection_id":186526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":186526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:47:07] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:47:07] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:47:07] local.INFO: IMEI packet received {"connection_id":186526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":186526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:47:08] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:08] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:08] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:47:08] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47: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-09-18 22:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:47: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-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:47: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-09-18 22:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:47:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:47:08] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:47:08] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:47:11] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:47:11] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:47:11] local.INFO: IMEI packet received {"connection_id":186382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":186382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:47:12] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:12] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:12] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:47:12] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22: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-09-18 22:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:47: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-09-18 22:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:47:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:47:12] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:47:12] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:47:16] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:47:16] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:47:16] local.INFO: IMEI packet received {"connection_id":186382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":186382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:47:17] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:47:17] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:47:17] local.INFO: Packet analysis {"connection_id":186382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:47:17] local.INFO: Extracted packet for processing {"connection_id":186382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:47: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-09-18 22:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":186382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:47:17] local.INFO: GPS data processed {"connection_id":186382,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:47:17] local.INFO: Acknowledgment sent {"connection_id":186382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:47:43] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:43] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:47:43] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:47:43] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:47:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:47:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:47:44] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:47:44] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:47:48] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:47:48] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5813150012d34c24006aa4140000801152a..."} 
[2026-09-18 22:47:48] local.INFO: Packet analysis {"connection_id":186382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:47:48] local.INFO: Extracted packet for processing {"connection_id":186382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b581"} 
[2026-09-18 22:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176316672001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789751538000,"timestamp_ms":1789751538000,"timestamp_seconds":1789751538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5813150"} 
[2026-09-18 22:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:47: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-09-18 22:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-18 22:47: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-09-18 22:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:47: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-09-18 22:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176316672001,"66":25854,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176316672001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176316672001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":186382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:47:48] local.INFO: GPS data processed {"connection_id":186382,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:47:48] local.INFO: Acknowledgment sent {"connection_id":186382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:48:02] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:48:02] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:48:02] local.INFO: IMEI packet received {"connection_id":189133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":189133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:48:07] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:48:07] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:48:07] local.INFO: IMEI packet received {"connection_id":189133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":189133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:48:08] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:48:08] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:48:08] local.INFO: Packet analysis {"connection_id":189133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:48:08] local.INFO: Extracted packet for processing {"connection_id":189133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48: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-09-18 22:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:48: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-09-18 22:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:48: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-09-18 22:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:48:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":189133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:48:08] local.INFO: GPS data processed {"connection_id":189133,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:48:08] local.INFO: Acknowledgment sent {"connection_id":189133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:48:11] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:48:11] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:48:11] local.INFO: IMEI packet received {"connection_id":187786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":187786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:48:16] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:48:16] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:48:16] local.INFO: IMEI packet received {"connection_id":187786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":187786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:48:17] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:48:17] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:48:17] local.INFO: Packet analysis {"connection_id":187786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:48:17] local.INFO: Extracted packet for processing {"connection_id":187786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:48:17] 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-09-18 22:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":187786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:48:17] local.INFO: GPS data processed {"connection_id":187786,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:48:17] local.INFO: Acknowledgment sent {"connection_id":187786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:48:34] local.INFO: TCP Data received {"connection_id":187785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:48:34] local.INFO: Processing buffer {"connection_id":187785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:48:34] local.INFO: IMEI packet received {"connection_id":187785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":187785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:48:39] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:48:39] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:48:39] local.INFO: Packet analysis {"connection_id":189133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:48:39] local.INFO: Extracted packet for processing {"connection_id":189133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":189133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:48:39] local.INFO: GPS data processed {"connection_id":189133,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:48:39] local.INFO: Acknowledgment sent {"connection_id":189133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:48:48] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:48:48] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:48:48] local.INFO: Packet analysis {"connection_id":187786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:48:48] local.INFO: Extracted packet for processing {"connection_id":187786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:48: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-09-18 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:48:48] 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-09-18 22:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:48: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-09-18 22:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":187786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:48:48] local.INFO: GPS data processed {"connection_id":187786,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:48:48] local.INFO: Acknowledgment sent {"connection_id":187786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:49:02] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:49:02] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:49:02] local.INFO: IMEI packet received {"connection_id":186527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":186527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:49:07] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:49:07] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:49:07] local.INFO: IMEI packet received {"connection_id":186527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:49:08] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:49:08] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:49:08] local.INFO: Packet analysis {"connection_id":186527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:49:08] local.INFO: Extracted packet for processing {"connection_id":186527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49: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-09-18 22:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:49: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-09-18 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:49: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-09-18 22:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:49:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":186527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:49:08] local.INFO: GPS data processed {"connection_id":186527,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:49:08] local.INFO: Acknowledgment sent {"connection_id":186527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:49:11] local.INFO: TCP Data received {"connection_id":187787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:49:11] local.INFO: Processing buffer {"connection_id":187787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:49:11] local.INFO: IMEI packet received {"connection_id":187787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":187787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:49:16] local.INFO: TCP Data received {"connection_id":187787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:49:16] local.INFO: Processing buffer {"connection_id":187787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:49:16] local.INFO: IMEI packet received {"connection_id":187787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":187787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:49:17] local.INFO: TCP Data received {"connection_id":187787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:49:17] local.INFO: Processing buffer {"connection_id":187787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:49:17] local.INFO: Packet analysis {"connection_id":187787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:49:17] local.INFO: Extracted packet for processing {"connection_id":187787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:49:17] 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-09-18 22:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":187787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:49:17] local.INFO: GPS data processed {"connection_id":187787,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:49:17] local.INFO: Acknowledgment sent {"connection_id":187787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:49:39] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:49:39] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:49:39] local.INFO: Packet analysis {"connection_id":186527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:49:39] local.INFO: Extracted packet for processing {"connection_id":186527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":186527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:49:39] local.INFO: GPS data processed {"connection_id":186527,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:49:39] local.INFO: Acknowledgment sent {"connection_id":186527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:49:53] local.INFO: TCP Data received {"connection_id":187787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:49:53] local.INFO: Processing buffer {"connection_id":187787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:49:53] local.INFO: Packet analysis {"connection_id":187787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:49:53] local.INFO: Extracted packet for processing {"connection_id":187787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:49:53] 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-09-18 22:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":187787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:49:53] local.INFO: GPS data processed {"connection_id":187787,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:49:53] local.INFO: Acknowledgment sent {"connection_id":187787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:50:02] local.INFO: TCP Data received {"connection_id":186383,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:50:02] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:50:02] local.INFO: IMEI packet received {"connection_id":186383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":186383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:50:07] local.INFO: TCP Data received {"connection_id":186383,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:50:07] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:50:07] local.INFO: IMEI packet received {"connection_id":186383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":186383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:50:08] local.INFO: TCP Data received {"connection_id":186383,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:50:08] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:50:08] local.INFO: Packet analysis {"connection_id":186383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:50:08] local.INFO: Extracted packet for processing {"connection_id":186383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50: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-09-18 22:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:50: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-09-18 22:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:50: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-09-18 22:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:50:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":186383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:50:08] local.INFO: GPS data processed {"connection_id":186383,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:50:08] local.INFO: Acknowledgment sent {"connection_id":186383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:50:16] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:50:16] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:50:16] local.INFO: IMEI packet received {"connection_id":186528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":186528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:50:21] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:50:21] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:50:21] local.INFO: IMEI packet received {"connection_id":186528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":186528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:50:22] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:50:22] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:50:22] local.INFO: Packet analysis {"connection_id":186528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:50:22] local.INFO: Extracted packet for processing {"connection_id":186528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":186528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:50:22] local.INFO: GPS data processed {"connection_id":186528,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:50:22] local.INFO: Acknowledgment sent {"connection_id":186528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:50:26] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:50:26] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:50:26] local.INFO: Packet analysis {"connection_id":186528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:50:26] local.INFO: Extracted packet for processing {"connection_id":186528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 22:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 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-09-18 22:50: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-09-18 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:50: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-09-18 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-09-18 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-09-18 22:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":186528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:50:26] local.INFO: GPS data processed {"connection_id":186528,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:50:26] local.INFO: Acknowledgment sent {"connection_id":186528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:50:39] local.INFO: TCP Data received {"connection_id":186383,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:50:39] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:50:39] local.INFO: Packet analysis {"connection_id":186383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:50:39] local.INFO: Extracted packet for processing {"connection_id":186383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:50:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":186383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:50:39] local.INFO: GPS data processed {"connection_id":186383,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:50:39] local.INFO: Acknowledgment sent {"connection_id":186383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:51:02] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:51:02] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:51:02] local.INFO: IMEI packet received {"connection_id":187789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":187789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:51:07] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:51:07] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:51:07] local.INFO: IMEI packet received {"connection_id":187789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":187789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:51:08] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:51:08] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5844278012d196540071ff038004401542a..."} 
[2026-09-18 22:51:08] local.INFO: Packet analysis {"connection_id":187789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:51:08] local.INFO: Extracted packet for processing {"connection_id":187789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b584"} 
[2026-09-18 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176368128001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51: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-09-18 22:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789751739000,"timestamp_ms":1789751739000,"timestamp_seconds":1789751739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5844278"} 
[2026-09-18 22:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:51: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-09-18 22:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:51: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-09-18 22:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176368128001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176368128001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176368128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":187789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:51:08] local.INFO: GPS data processed {"connection_id":187789,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:51:08] local.INFO: Acknowledgment sent {"connection_id":187789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:51:11] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:51:11] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:51:11] local.INFO: IMEI packet received {"connection_id":186529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":186529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:51:16] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:51:16] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:51:16] local.INFO: IMEI packet received {"connection_id":186529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":186529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:51:17] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:51:17] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:51:17] local.INFO: Packet analysis {"connection_id":186529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:51:17] local.INFO: Extracted packet for processing {"connection_id":186529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:51:17] 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-09-18 22:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":186529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:51:17] local.INFO: GPS data processed {"connection_id":186529,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:51:17] local.INFO: Acknowledgment sent {"connection_id":186529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:51:40] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:51:40] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:51:40] local.INFO: Packet analysis {"connection_id":187789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:51:40] local.INFO: Extracted packet for processing {"connection_id":187789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:51:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":187789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:51:40] local.INFO: GPS data processed {"connection_id":187789,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:51:40] local.INFO: Acknowledgment sent {"connection_id":187789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:51:49] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:51:49] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:51:49] local.INFO: Packet analysis {"connection_id":186529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:51:49] local.INFO: Extracted packet for processing {"connection_id":186529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:51:49] 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-09-18 22:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":186529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:51:49] local.INFO: GPS data processed {"connection_id":186529,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:51:49] local.INFO: Acknowledgment sent {"connection_id":186529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:52:02] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:52:02] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:52:02] local.INFO: IMEI packet received {"connection_id":186384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":186384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:52:07] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:52:07] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:52:07] local.INFO: IMEI packet received {"connection_id":186384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":186384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:52:08] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:52:08] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:52:08] local.INFO: Packet analysis {"connection_id":186384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:52:08] local.INFO: Extracted packet for processing {"connection_id":186384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52: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-09-18 22:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22: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-09-18 22:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:52: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-09-18 22:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:52:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":186384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:52:08] local.INFO: GPS data processed {"connection_id":186384,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:52:08] local.INFO: Acknowledgment sent {"connection_id":186384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:52:12] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:52:12] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:52:12] local.INFO: IMEI packet received {"connection_id":186530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":186530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:52:16] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:52:16] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:52:16] local.INFO: IMEI packet received {"connection_id":186530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":186530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:52:17] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:52:17] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:52:17] local.INFO: Packet analysis {"connection_id":186530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:52:17] local.INFO: Extracted packet for processing {"connection_id":186530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:52:17] 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-09-18 22:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:52:17] local.INFO: GPS data processed {"connection_id":186530,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:52:17] local.INFO: Acknowledgment sent {"connection_id":186530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:52:39] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:52:39] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:52:39] local.INFO: Packet analysis {"connection_id":186384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:52:39] local.INFO: Extracted packet for processing {"connection_id":186384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":186384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:52:39] local.INFO: GPS data processed {"connection_id":186384,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:52:39] local.INFO: Acknowledgment sent {"connection_id":186384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:52:49] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:52:49] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b585c918012d34c24006aa41400008011529..."} 
[2026-09-18 22:52:49] local.INFO: Packet analysis {"connection_id":186530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:52:49] local.INFO: Extracted packet for processing {"connection_id":186530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b585"} 
[2026-09-18 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176393728001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789751839000,"timestamp_ms":1789751839000,"timestamp_seconds":1789751839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b585c918"} 
[2026-09-18 22:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-18 22:52:49] 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-09-18 22:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176393728001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176393728001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176393728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":186530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:52:49] local.INFO: GPS data processed {"connection_id":186530,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:52:49] local.INFO: Acknowledgment sent {"connection_id":186530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:53:02] local.INFO: TCP Data received {"connection_id":189134,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:53:02] local.INFO: Processing buffer {"connection_id":189134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:53:02] local.INFO: IMEI packet received {"connection_id":189134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":189134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:53:07] local.INFO: TCP Data received {"connection_id":189134,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:53:07] local.INFO: Processing buffer {"connection_id":189134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:53:07] local.INFO: IMEI packet received {"connection_id":189134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":189134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:53:09] local.INFO: TCP Data received {"connection_id":189134,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:53:09] local.INFO: Processing buffer {"connection_id":189134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:53:09] local.INFO: Packet analysis {"connection_id":189134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:53:09] local.INFO: Extracted packet for processing {"connection_id":189134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53: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-09-18 22:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:53: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-09-18 22:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:53:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":189134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:53:09] local.INFO: GPS data processed {"connection_id":189134,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:53:09] local.INFO: Acknowledgment sent {"connection_id":189134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:53:11] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:53:11] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:53:11] local.INFO: IMEI packet received {"connection_id":189135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":189135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:53:16] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:53:16] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:53:16] local.INFO: IMEI packet received {"connection_id":189135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":189135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:53:16] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:53:16] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:53:16] local.INFO: Packet analysis {"connection_id":189135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:53:16] local.INFO: Extracted packet for processing {"connection_id":189135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:53: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-09-18 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":189135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:53:16] local.INFO: GPS data processed {"connection_id":189135,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:53:16] local.INFO: Acknowledgment sent {"connection_id":189135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:53:40] local.INFO: TCP Data received {"connection_id":189134,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:53:40] local.INFO: Processing buffer {"connection_id":189134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:53:40] local.INFO: Packet analysis {"connection_id":189134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:53:40] local.INFO: Extracted packet for processing {"connection_id":189134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":189134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:53:40] local.INFO: GPS data processed {"connection_id":189134,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:53:40] local.INFO: Acknowledgment sent {"connection_id":189134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:53:48] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:53:48] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:53:48] local.INFO: Packet analysis {"connection_id":189135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:53:48] local.INFO: Extracted packet for processing {"connection_id":189135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:53: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-09-18 22:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:53: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-09-18 22:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":189135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:53:48] local.INFO: GPS data processed {"connection_id":189135,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:53:48] local.INFO: Acknowledgment sent {"connection_id":189135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:54:02] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:02] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:02] local.INFO: IMEI packet received {"connection_id":186531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":186531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:54:07] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:07] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:07] local.INFO: IMEI packet received {"connection_id":186531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":186531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:54:09] local.INFO: TCP Data received {"connection_id":187790,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:54:09] local.INFO: Processing buffer {"connection_id":187790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:54:09] local.INFO: IMEI packet received {"connection_id":187790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":187790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:54:12] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:12] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:54:12] local.INFO: IMEI packet received {"connection_id":186531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":186531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:54:13] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:54:13] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:54:13] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:54:13] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:54:13] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:54:13] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:54:16] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:54:16] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:54:16] local.INFO: IMEI packet received {"connection_id":186385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":186385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:54:21] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:54:21] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:54:21] local.INFO: IMEI packet received {"connection_id":186385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":186385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:54:22] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:54:22] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:54:22] local.INFO: Packet analysis {"connection_id":186385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:54:22] local.INFO: Extracted packet for processing {"connection_id":186385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":186385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:54:22] local.INFO: GPS data processed {"connection_id":186385,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:54:22] local.INFO: Acknowledgment sent {"connection_id":186385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:54:27] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:54:27] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:54:27] local.INFO: Packet analysis {"connection_id":186385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:54:27] local.INFO: Extracted packet for processing {"connection_id":186385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:54: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-09-18 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:54:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":186385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:54:27] local.INFO: GPS data processed {"connection_id":186385,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:54:27] local.INFO: Acknowledgment sent {"connection_id":186385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:54:44] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:54:44] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:54:44] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:54:44] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:54:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22: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-09-18 22:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:54:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:54:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:54:44] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:54:44] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:55:02] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:55:02] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:55:02] local.INFO: IMEI packet received {"connection_id":189136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":189136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:55:07] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:55:07] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:55:07] local.INFO: IMEI packet received {"connection_id":189136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":189136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:55:10] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:55:10] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:55:10] local.INFO: Packet analysis {"connection_id":189136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:55:10] local.INFO: Extracted packet for processing {"connection_id":189136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55: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-09-18 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:55: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-09-18 22:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":189136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:55:10] local.INFO: GPS data processed {"connection_id":189136,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:55:10] local.INFO: Acknowledgment sent {"connection_id":189136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:55:11] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:55:11] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:55:11] local.INFO: IMEI packet received {"connection_id":189137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":189137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:55:16] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:55:16] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:55:16] local.INFO: IMEI packet received {"connection_id":189137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":189137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:55:17] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:55:17] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:55:17] local.INFO: Packet analysis {"connection_id":189137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:55:17] local.INFO: Extracted packet for processing {"connection_id":189137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:55:17] 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-09-18 22:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":189137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:55:17] local.INFO: GPS data processed {"connection_id":189137,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:55:17] local.INFO: Acknowledgment sent {"connection_id":189137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:55:41] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:55:41] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:55:41] local.INFO: Packet analysis {"connection_id":189136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:55:41] local.INFO: Extracted packet for processing {"connection_id":189136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55: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-09-18 22:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:55: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-09-18 22:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":189136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:55:41] local.INFO: GPS data processed {"connection_id":189136,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:55:41] local.INFO: Acknowledgment sent {"connection_id":189136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:55:48] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:55:48] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:55:48] local.INFO: Packet analysis {"connection_id":189137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:55:48] local.INFO: Extracted packet for processing {"connection_id":189137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:55: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-09-18 22:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:55: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-09-18 22:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":189137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:55:48] local.INFO: GPS data processed {"connection_id":189137,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:55:48] local.INFO: Acknowledgment sent {"connection_id":189137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:56:02] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:56:02] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:56:02] local.INFO: IMEI packet received {"connection_id":186386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":186386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:56:07] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:56:07] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:56:07] local.INFO: IMEI packet received {"connection_id":186386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":186386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:56:08] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:56:08] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b588da40012d196540071ff0380044015427..."} 
[2026-09-18 22:56:08] local.INFO: Packet analysis {"connection_id":186386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:56:08] local.INFO: Extracted packet for processing {"connection_id":186386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b588"} 
[2026-09-18 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176445184001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56: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-09-18 22:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752040000,"timestamp_ms":1789752040000,"timestamp_seconds":1789752040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b588da40"} 
[2026-09-18 22:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:56: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-09-18 22:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 22:56: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-09-18 22:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176445184001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176445184001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:56:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176445184001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":186386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:56:08] local.INFO: GPS data processed {"connection_id":186386,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:56:08] local.INFO: Acknowledgment sent {"connection_id":186386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:56:13] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:56:13] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:56:13] local.INFO: IMEI packet received {"connection_id":186532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":186532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:56:16] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:56:16] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:56:16] local.INFO: IMEI packet received {"connection_id":186532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":186532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:56:17] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:17] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:17] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:56:17] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:56:17] 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-09-18 22:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:56:17] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:56:17] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:56:21] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:21] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:21] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:56:21] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:56: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":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:56:21] 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-09-18 22:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:56:21] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:56:21] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:56:41] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:56:41] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:56:41] local.INFO: Packet analysis {"connection_id":186386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:56:41] local.INFO: Extracted packet for processing {"connection_id":186386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56: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-09-18 22:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:56:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":186386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:56:41] local.INFO: GPS data processed {"connection_id":186386,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:56:41] local.INFO: Acknowledgment sent {"connection_id":186386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:56:53] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:53] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:56:53] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:56:53] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:56:53] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:56:53] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:57:02] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:57:02] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:57:02] local.INFO: IMEI packet received {"connection_id":186533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":186533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:57:07] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:57:07] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:57:07] local.INFO: IMEI packet received {"connection_id":186533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":186533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:57:08] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:57:08] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:57:08] local.INFO: Packet analysis {"connection_id":186533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:57:08] local.INFO: Extracted packet for processing {"connection_id":186533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57: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-09-18 22:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:57: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-09-18 22:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:57:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":186533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:57:08] local.INFO: GPS data processed {"connection_id":186533,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:57:08] local.INFO: Acknowledgment sent {"connection_id":186533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:57:11] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:57:11] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:57:11] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:57:16] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:57:16] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:57:16] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:57:18] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:57:18] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:57:18] local.INFO: Packet analysis {"connection_id":186387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:57:18] local.INFO: Extracted packet for processing {"connection_id":186387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:57:18] 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-09-18 22:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":186387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:57:18] local.INFO: GPS data processed {"connection_id":186387,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:57:18] local.INFO: Acknowledgment sent {"connection_id":186387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:57:39] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:57:39] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:57:39] local.INFO: Packet analysis {"connection_id":186533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:57:39] local.INFO: Extracted packet for processing {"connection_id":186533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:57:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":186533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:57:39] local.INFO: GPS data processed {"connection_id":186533,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:57:39] local.INFO: Acknowledgment sent {"connection_id":186533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:57:49] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:57:49] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58a60e0012d34c24006aa4140000801152a..."} 
[2026-09-18 22:57:49] local.INFO: Packet analysis {"connection_id":186387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:57:49] local.INFO: Extracted packet for processing {"connection_id":186387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58a"} 
[2026-09-18 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176470784001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789752140000,"timestamp_ms":1789752140000,"timestamp_seconds":1789752140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58a60e0"} 
[2026-09-18 22:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:57:49] 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-09-18 22:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176470784001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176470784001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176470784001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":186387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:57:49] local.INFO: GPS data processed {"connection_id":186387,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:57:49] local.INFO: Acknowledgment sent {"connection_id":186387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:58:02] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:58:02] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:58:02] local.INFO: IMEI packet received {"connection_id":187791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":187791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:58:07] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:58:07] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:58:07] local.INFO: IMEI packet received {"connection_id":187791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":187791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:58:08] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:58:08] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:58:08] local.INFO: Packet analysis {"connection_id":187791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:58:08] local.INFO: Extracted packet for processing {"connection_id":187791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58: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-09-18 22:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:58: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-09-18 22:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:58:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":187791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:58:08] local.INFO: GPS data processed {"connection_id":187791,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:58:08] local.INFO: Acknowledgment sent {"connection_id":187791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:58:11] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:58:11] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:58:11] local.INFO: IMEI packet received {"connection_id":186534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":186534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:58:16] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:58:16] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:58:16] local.INFO: IMEI packet received {"connection_id":186534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":186534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:58:17] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:58:17] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:58:17] local.INFO: Packet analysis {"connection_id":186534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:58:17] local.INFO: Extracted packet for processing {"connection_id":186534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 22:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:58:17] 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-09-18 22:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":186534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:58:17] local.INFO: GPS data processed {"connection_id":186534,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:58:17] local.INFO: Acknowledgment sent {"connection_id":186534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:58:39] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:58:39] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:58:39] local.INFO: Packet analysis {"connection_id":187791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:58:39] local.INFO: Extracted packet for processing {"connection_id":187791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":187791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:58:39] local.INFO: GPS data processed {"connection_id":187791,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:58:39] local.INFO: Acknowledgment sent {"connection_id":187791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:58:48] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:58:48] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:58:48] local.INFO: Packet analysis {"connection_id":186534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:58:48] local.INFO: Extracted packet for processing {"connection_id":186534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 22:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 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-09-18 22:58: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-09-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:58: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-09-18 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-09-18 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-09-18 22:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:58: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-09-18 22:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:58:48] local.INFO: GPS data processed {"connection_id":186534,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:58:48] local.INFO: Acknowledgment sent {"connection_id":186534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:59:02] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:59:02] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:59:02] local.INFO: IMEI packet received {"connection_id":186388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 22:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":186388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:59:07] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:59:07] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 22:59:07] local.INFO: IMEI packet received {"connection_id":186388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 22:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":186388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:59:08] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:59:08] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:59:08] local.INFO: Packet analysis {"connection_id":186388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:59:08] local.INFO: Extracted packet for processing {"connection_id":186388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59: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-09-18 22:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:59: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-09-18 22:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:59:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":186388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:59:08] local.INFO: GPS data processed {"connection_id":186388,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:59:08] local.INFO: Acknowledgment sent {"connection_id":186388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:59:11] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:59:11] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:59:11] local.INFO: IMEI packet received {"connection_id":189138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 22:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":189138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:59:16] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:59:16] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 22:59:16] local.INFO: IMEI packet received {"connection_id":189138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 22:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":189138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 22:59:18] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:59:18] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:59:18] local.INFO: Packet analysis {"connection_id":189138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:59:18] local.INFO: Extracted packet for processing {"connection_id":189138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 22:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:59:18] 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-09-18 22:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":189138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:59:18] local.INFO: GPS data processed {"connection_id":189138,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:59:18] local.INFO: Acknowledgment sent {"connection_id":189138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:59:39] local.INFO: TCP Data received {"connection_id":186388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:59:39] local.INFO: Processing buffer {"connection_id":186388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 22:59:39] local.INFO: Packet analysis {"connection_id":186388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:59:39] local.INFO: Extracted packet for processing {"connection_id":186388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 22:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 22:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 22:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 22:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 22:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 22:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 22:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 22:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 22:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 22:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 22:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:59:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 22:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 22:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 22:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 22:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":186388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:59:39] local.INFO: GPS data processed {"connection_id":186388,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:59:39] local.INFO: Acknowledgment sent {"connection_id":186388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 22:59:44] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:59:44] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 22:59:44] local.INFO: IMEI packet received {"connection_id":187792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 22:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":187792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 22:59:49] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:59:49] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 22:59:49] local.INFO: Packet analysis {"connection_id":189138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:59:49] local.INFO: Extracted packet for processing {"connection_id":189138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 22:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 22:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 22:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 22:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 22:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 22:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 22:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 22:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 22:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 22:59:49] 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-09-18 22:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 22:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 22:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 22:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 22:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 22:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 22:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 22:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 22:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 22:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 22:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 22:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 22:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 22:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 22:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 22:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 22:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":189138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 22:59:49] local.INFO: GPS data processed {"connection_id":189138,"processed":1,"errors":0,"total":1} 
[2026-09-18 22:59:49] local.INFO: Acknowledgment sent {"connection_id":189138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:00:02] local.INFO: TCP Data received {"connection_id":187793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:00:02] local.INFO: Processing buffer {"connection_id":187793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:00:02] local.INFO: IMEI packet received {"connection_id":187793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":187793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:00:07] local.INFO: TCP Data received {"connection_id":187793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:00:07] local.INFO: Processing buffer {"connection_id":187793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:00:07] local.INFO: IMEI packet received {"connection_id":187793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":187793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:00:08] local.INFO: TCP Data received {"connection_id":187793,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:00:08] local.INFO: Processing buffer {"connection_id":187793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:00:08] local.INFO: Packet analysis {"connection_id":187793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:00:08] local.INFO: Extracted packet for processing {"connection_id":187793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00: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-09-18 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:00: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-09-18 23:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:00:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":187793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:00:08] local.INFO: GPS data processed {"connection_id":187793,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:00:08] local.INFO: Acknowledgment sent {"connection_id":187793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:00:16] local.INFO: TCP Data received {"connection_id":189139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:00:16] local.INFO: Processing buffer {"connection_id":189139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:00:16] local.INFO: IMEI packet received {"connection_id":189139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":189139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:00:21] local.INFO: TCP Data received {"connection_id":189139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:00:21] local.INFO: Processing buffer {"connection_id":189139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:00:21] local.INFO: IMEI packet received {"connection_id":189139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":189139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:00:22] local.INFO: TCP Data received {"connection_id":189139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:00:22] local.INFO: Processing buffer {"connection_id":189139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:00:22] local.INFO: Packet analysis {"connection_id":189139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:00:22] local.INFO: Extracted packet for processing {"connection_id":189139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 23:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":189139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:00:22] local.INFO: GPS data processed {"connection_id":189139,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:00:22] local.INFO: Acknowledgment sent {"connection_id":189139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:00:26] local.INFO: TCP Data received {"connection_id":189139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:00:26] local.INFO: Processing buffer {"connection_id":189139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:00:26] local.INFO: Packet analysis {"connection_id":189139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:00:26] local.INFO: Extracted packet for processing {"connection_id":189139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 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-09-18 23:00: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-09-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:00:26] 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-09-18 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-09-18 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-09-18 23:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":189139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:00:26] local.INFO: GPS data processed {"connection_id":189139,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:00:26] local.INFO: Acknowledgment sent {"connection_id":189139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:00:39] local.INFO: TCP Data received {"connection_id":187793,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:00:39] local.INFO: Processing buffer {"connection_id":187793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:00:39] local.INFO: Packet analysis {"connection_id":187793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:00:39] local.INFO: Extracted packet for processing {"connection_id":187793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 23:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":187793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:00:39] local.INFO: GPS data processed {"connection_id":187793,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:00:39] local.INFO: Acknowledgment sent {"connection_id":187793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:01:07] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:01:07] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:01:07] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:01:11] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:01:11] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:01:11] local.INFO: IMEI packet received {"connection_id":186390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:01:12] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:01:12] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:01:12] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:01:13] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:01:13] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:01:13] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:01:13] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 23:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:01:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:01:13] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:01:13] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:01:16] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:01:16] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:01:16] local.INFO: IMEI packet received {"connection_id":186390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":186390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:01:17] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:01:17] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58d7208012d196540071ff0380044015428..."} 
[2026-09-18 23:01:17] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:01:17] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58d"} 
[2026-09-18 23:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176522240001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752341000,"timestamp_ms":1789752341000,"timestamp_seconds":1789752341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58d7208"} 
[2026-09-18 23:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176522240001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176522240001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176522240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:01:17] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:01:17] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:01:17] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:01:17] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:01:17] local.INFO: Packet analysis {"connection_id":186390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:01:17] local.INFO: Extracted packet for processing {"connection_id":186390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 23:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:01:17] 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-09-18 23:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":186390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:01:17] local.INFO: GPS data processed {"connection_id":186390,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:01:17] local.INFO: Acknowledgment sent {"connection_id":186390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:01:49] local.INFO: TCP Data received {"connection_id":186390,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:01:49] local.INFO: Processing buffer {"connection_id":186390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:01:49] local.INFO: Packet analysis {"connection_id":186390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:01:49] local.INFO: Extracted packet for processing {"connection_id":186390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 23:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:01:49] 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-09-18 23:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:01:49] local.INFO: GPS data processed {"connection_id":186390,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:01:49] local.INFO: Acknowledgment sent {"connection_id":186390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:02:02] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:02:02] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:02:02] local.INFO: IMEI packet received {"connection_id":186535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":186535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:02:07] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:02:07] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:02:07] local.INFO: IMEI packet received {"connection_id":186535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":186535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:02:08] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:02:08] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:02:08] local.INFO: Packet analysis {"connection_id":186535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:02:08] local.INFO: Extracted packet for processing {"connection_id":186535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02: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-09-18 23:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:02: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-09-18 23:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:02:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":186535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:02:08] local.INFO: GPS data processed {"connection_id":186535,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:02:08] local.INFO: Acknowledgment sent {"connection_id":186535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:02:11] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:02:11] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:02:11] local.INFO: IMEI packet received {"connection_id":189140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":189140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:02:16] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:02:16] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:02:16] local.INFO: IMEI packet received {"connection_id":189140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":189140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:02:17] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:02:17] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:02:17] local.INFO: Packet analysis {"connection_id":189140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:02:17] local.INFO: Extracted packet for processing {"connection_id":189140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 23:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:02:17] 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-09-18 23:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":189140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:02:17] local.INFO: GPS data processed {"connection_id":189140,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:02:17] local.INFO: Acknowledgment sent {"connection_id":189140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:02:39] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:02:39] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:02:39] local.INFO: Packet analysis {"connection_id":186535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:02:39] local.INFO: Extracted packet for processing {"connection_id":186535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:02:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":186535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:02:39] local.INFO: GPS data processed {"connection_id":186535,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:02:39] local.INFO: Acknowledgment sent {"connection_id":186535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:02:49] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:02:49] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b58ef8a8012d34c24006aa4140000801152a..."} 
[2026-09-18 23:02:49] local.INFO: Packet analysis {"connection_id":189140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:02:49] local.INFO: Extracted packet for processing {"connection_id":189140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b58e"} 
[2026-09-18 23:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176547840001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789752441000,"timestamp_ms":1789752441000,"timestamp_seconds":1789752441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b58ef8a8"} 
[2026-09-18 23:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:02:49] 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-09-18 23:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176547840001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176547840001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176547840001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":189140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:02:49] local.INFO: GPS data processed {"connection_id":189140,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:02:49] local.INFO: Acknowledgment sent {"connection_id":189140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:03:02] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:03:02] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:03:02] local.INFO: IMEI packet received {"connection_id":186391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":186391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:03:07] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:03:07] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:03:07] local.INFO: IMEI packet received {"connection_id":186391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":186391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:03:07] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:03:07] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:03:07] local.INFO: Packet analysis {"connection_id":186391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:03:07] local.INFO: Extracted packet for processing {"connection_id":186391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03: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-09-18 23:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:03: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-09-18 23:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:03:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":186391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:03:07] local.INFO: GPS data processed {"connection_id":186391,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:03:07] local.INFO: Acknowledgment sent {"connection_id":186391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:03:11] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:03:11] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:03:11] local.INFO: IMEI packet received {"connection_id":186392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":186392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:03:16] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:03:16] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:03:16] local.INFO: IMEI packet received {"connection_id":186392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":186392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:03:17] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:03:17] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:03:17] local.INFO: Packet analysis {"connection_id":186392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:03:17] local.INFO: Extracted packet for processing {"connection_id":186392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":186392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:03:17] local.INFO: GPS data processed {"connection_id":186392,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:03:17] local.INFO: Acknowledgment sent {"connection_id":186392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:03:39] local.INFO: TCP Data received {"connection_id":186391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:03:39] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:03:39] local.INFO: Packet analysis {"connection_id":186391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:03:39] local.INFO: Extracted packet for processing {"connection_id":186391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:03:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":186391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:03:39] local.INFO: GPS data processed {"connection_id":186391,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:03:39] local.INFO: Acknowledgment sent {"connection_id":186391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:03:49] local.INFO: TCP Data received {"connection_id":186392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:03:49] local.INFO: Processing buffer {"connection_id":186392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:03:49] local.INFO: Packet analysis {"connection_id":186392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:03:49] local.INFO: Extracted packet for processing {"connection_id":186392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":186392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:03:49] local.INFO: GPS data processed {"connection_id":186392,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:03:49] local.INFO: Acknowledgment sent {"connection_id":186392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:04:02] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:04:02] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:04:02] local.INFO: IMEI packet received {"connection_id":186394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":186394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:04:07] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:04:07] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:04:07] local.INFO: IMEI packet received {"connection_id":186394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":186394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:04:08] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:04:08] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:04:08] local.INFO: Packet analysis {"connection_id":186394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:04:08] local.INFO: Extracted packet for processing {"connection_id":186394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:04:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":186394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:04:08] local.INFO: GPS data processed {"connection_id":186394,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:04:08] local.INFO: Acknowledgment sent {"connection_id":186394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:04:16] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:04:16] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:04:16] local.INFO: IMEI packet received {"connection_id":189141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":189141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:04:21] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:04:21] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:04:21] local.INFO: IMEI packet received {"connection_id":189141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":189141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:04:22] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:04:22] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:04:22] local.INFO: Packet analysis {"connection_id":189141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:04:22] local.INFO: Extracted packet for processing {"connection_id":189141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":189141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:04:22] local.INFO: GPS data processed {"connection_id":189141,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:04:22] local.INFO: Acknowledgment sent {"connection_id":189141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:04:26] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:04:26] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:04:26] local.INFO: Packet analysis {"connection_id":189141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:04:26] local.INFO: Extracted packet for processing {"connection_id":189141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 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-09-18 23:04: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-09-18 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":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:04: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-09-18 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-09-18 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-09-18 23:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":189141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:04:26] local.INFO: GPS data processed {"connection_id":189141,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:04:26] local.INFO: Acknowledgment sent {"connection_id":189141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:04:39] local.INFO: TCP Data received {"connection_id":186394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:04:39] local.INFO: Processing buffer {"connection_id":186394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:04:39] local.INFO: Packet analysis {"connection_id":186394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:04:39] local.INFO: Extracted packet for processing {"connection_id":186394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":186394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:04:39] local.INFO: GPS data processed {"connection_id":186394,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:04:39] local.INFO: Acknowledgment sent {"connection_id":186394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:05:07] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:05:07] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:05:07] local.INFO: IMEI packet received {"connection_id":187794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":187794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:05:11] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:05:11] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:05:11] local.INFO: IMEI packet received {"connection_id":189142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":189142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:05:12] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:05:12] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:05:12] local.INFO: IMEI packet received {"connection_id":187794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":187794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:05:13] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:05:13] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:05:13] local.INFO: Packet analysis {"connection_id":187794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:05:13] local.INFO: Extracted packet for processing {"connection_id":187794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:05:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":187794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:05:13] local.INFO: GPS data processed {"connection_id":187794,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:05:13] local.INFO: Acknowledgment sent {"connection_id":187794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:05:16] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:05:16] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:05:16] local.INFO: IMEI packet received {"connection_id":189142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":189142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:05:17] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:05:17] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:05:17] local.INFO: Packet analysis {"connection_id":189142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:05:17] local.INFO: Extracted packet for processing {"connection_id":189142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":189142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:05:17] local.INFO: GPS data processed {"connection_id":189142,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:05:17] local.INFO: Acknowledgment sent {"connection_id":189142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:05:19] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:05:19] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:05:19] local.INFO: IMEI packet received {"connection_id":186393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":186393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:05:44] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:05:44] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:05:44] local.INFO: Packet analysis {"connection_id":187794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:05:44] local.INFO: Extracted packet for processing {"connection_id":187794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":187794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:05:44] local.INFO: GPS data processed {"connection_id":187794,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:05:44] local.INFO: Acknowledgment sent {"connection_id":187794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:05:45] local.INFO: TCP Data received {"connection_id":186395,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 23:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186395,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 23:05:45] local.INFO: Processing buffer {"connection_id":186395,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 23:05:45] local.INFO: Packet analysis {"connection_id":186395,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 23:05:45] local.INFO: Extracted packet for processing {"connection_id":186395,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 23:05:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-18 23:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-18 23:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-18 23:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-18 23:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-18 23:05:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186395,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 23:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186395,"device_imei":null,"avl_records_count":1} 
[2026-09-18 23:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186395,"device_imei":null,"avl_records_count":1} 
[2026-09-18 23:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":186395,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 23:05:45] local.INFO: GPS data processed {"connection_id":186395,"processed":0,"errors":0,"total":1} 
[2026-09-18 23:05:45] local.INFO: Acknowledgment sent {"connection_id":186395,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:05:48] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:05:48] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:05:48] local.INFO: Packet analysis {"connection_id":189142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:05:48] local.INFO: Extracted packet for processing {"connection_id":189142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:05: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-09-18 23:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:05: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-09-18 23:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":189142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:05:48] local.INFO: GPS data processed {"connection_id":189142,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:05:48] local.INFO: Acknowledgment sent {"connection_id":189142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:05:51] local.INFO: TCP Data received {"connection_id":186396,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 23:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186396,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 23:05:51] local.INFO: Processing buffer {"connection_id":186396,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-18 23:05:51] local.INFO: Packet analysis {"connection_id":186396,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 23:05:51] local.INFO: Extracted packet for processing {"connection_id":186396,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-18 23:05: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-09-18 23:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-18 23:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-18 23:05:51] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-18 23:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-18 23:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-18 23:05:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186396,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-18 23:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186396,"device_imei":null,"avl_records_count":1} 
[2026-09-18 23:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186396,"device_imei":null,"avl_records_count":1} 
[2026-09-18 23:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":186396,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-18 23:05:51] local.INFO: GPS data processed {"connection_id":186396,"processed":0,"errors":0,"total":1} 
[2026-09-18 23:05:51] local.INFO: Acknowledgment sent {"connection_id":186396,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:06:02] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:06:02] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:06:02] local.INFO: IMEI packet received {"connection_id":189143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":189143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:06:07] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:06:07] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:06:07] local.INFO: IMEI packet received {"connection_id":189143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":189143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:06:08] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:06:08] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59209d0012d196540071ff038004401542b..."} 
[2026-09-18 23:06:08] local.INFO: Packet analysis {"connection_id":189143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:06:08] local.INFO: Extracted packet for processing {"connection_id":189143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b592"} 
[2026-09-18 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176599296001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06: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-09-18 23:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752642000,"timestamp_ms":1789752642000,"timestamp_seconds":1789752642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59209d0"} 
[2026-09-18 23:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:06: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-09-18 23:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176599296001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176599296001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:06:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176599296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":189143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:06:08] local.INFO: GPS data processed {"connection_id":189143,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:06:08] local.INFO: Acknowledgment sent {"connection_id":189143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:06:11] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:06:11] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:06:11] local.INFO: IMEI packet received {"connection_id":186536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":186536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:06:16] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:06:16] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:06:16] local.INFO: IMEI packet received {"connection_id":186536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":186536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:06:17] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:06:17] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:06:17] local.INFO: Packet analysis {"connection_id":186536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:06:17] local.INFO: Extracted packet for processing {"connection_id":186536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":186536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:06:17] local.INFO: GPS data processed {"connection_id":186536,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:06:17] local.INFO: Acknowledgment sent {"connection_id":186536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:06:39] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:06:39] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:06:39] local.INFO: Packet analysis {"connection_id":189143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:06:39] local.INFO: Extracted packet for processing {"connection_id":189143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:06:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":189143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:06:39] local.INFO: GPS data processed {"connection_id":189143,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:06:39] local.INFO: Acknowledgment sent {"connection_id":189143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:06:49] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:06:49] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:06:49] local.INFO: Packet analysis {"connection_id":186536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:06:49] local.INFO: Extracted packet for processing {"connection_id":186536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":186536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:06:49] local.INFO: GPS data processed {"connection_id":186536,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:06:49] local.INFO: Acknowledgment sent {"connection_id":186536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:07:02] local.INFO: TCP Data received {"connection_id":189144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:07:02] local.INFO: Processing buffer {"connection_id":189144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:07:02] local.INFO: IMEI packet received {"connection_id":189144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":189144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:07:07] local.INFO: TCP Data received {"connection_id":189144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:07:07] local.INFO: Processing buffer {"connection_id":189144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:07:07] local.INFO: IMEI packet received {"connection_id":189144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":189144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:07:08] local.INFO: TCP Data received {"connection_id":189144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:07:08] local.INFO: Processing buffer {"connection_id":189144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:07:08] local.INFO: Packet analysis {"connection_id":189144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:07:08] local.INFO: Extracted packet for processing {"connection_id":189144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07: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-09-18 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:07: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-09-18 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:07:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":189144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:07:08] local.INFO: GPS data processed {"connection_id":189144,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:07:08] local.INFO: Acknowledgment sent {"connection_id":189144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:07:11] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:07:11] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:07:11] local.INFO: IMEI packet received {"connection_id":186397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":186397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:07:16] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:07:16] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:07:16] local.INFO: IMEI packet received {"connection_id":186397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":186397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:07:17] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:07:17] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:07:17] local.INFO: Packet analysis {"connection_id":186397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:07:17] local.INFO: Extracted packet for processing {"connection_id":186397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:07: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-09-18 23:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":186397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:07:17] local.INFO: GPS data processed {"connection_id":186397,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:07:17] local.INFO: Acknowledgment sent {"connection_id":186397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:07:39] local.INFO: TCP Data received {"connection_id":189144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:07:39] local.INFO: Processing buffer {"connection_id":189144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:07:39] local.INFO: Packet analysis {"connection_id":189144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:07:39] local.INFO: Extracted packet for processing {"connection_id":189144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":189144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:07:39] local.INFO: GPS data processed {"connection_id":189144,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:07:39] local.INFO: Acknowledgment sent {"connection_id":189144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:07:48] local.INFO: TCP Data received {"connection_id":186397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:07:48] local.INFO: Processing buffer {"connection_id":186397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5939070012d34c24006aa4140000801152b..."} 
[2026-09-18 23:07:48] local.INFO: Packet analysis {"connection_id":186397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:07:48] local.INFO: Extracted packet for processing {"connection_id":186397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b593"} 
[2026-09-18 23:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176624896001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789752742000,"timestamp_ms":1789752742000,"timestamp_seconds":1789752742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5939070"} 
[2026-09-18 23:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:07: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-09-18 23:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:07: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-09-18 23:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176624896001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176624896001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176624896001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":186397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:07:48] local.INFO: GPS data processed {"connection_id":186397,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:07:48] local.INFO: Acknowledgment sent {"connection_id":186397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:08:07] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:08:07] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:08:07] local.INFO: IMEI packet received {"connection_id":187795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":187795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:08:11] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:08:11] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:08:11] local.INFO: IMEI packet received {"connection_id":189145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":189145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:08:12] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:08:12] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:08:12] local.INFO: IMEI packet received {"connection_id":187795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":187795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:08:13] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:08:13] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:08:13] local.INFO: Packet analysis {"connection_id":187795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:08:13] local.INFO: Extracted packet for processing {"connection_id":187795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:08: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-09-18 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:08:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":187795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:08:13] local.INFO: GPS data processed {"connection_id":187795,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:08:13] local.INFO: Acknowledgment sent {"connection_id":187795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:08:16] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:08:16] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:08:16] local.INFO: IMEI packet received {"connection_id":189145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":189145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:08:17] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:08:17] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:08:17] local.INFO: Packet analysis {"connection_id":187795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:08:17] local.INFO: Extracted packet for processing {"connection_id":187795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:08:17] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:08:17] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:08:17] local.INFO: Packet analysis {"connection_id":189145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:08:17] local.INFO: Extracted packet for processing {"connection_id":189145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:08:17] 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-09-18 23:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":189145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:08:17] local.INFO: GPS data processed {"connection_id":189145,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:08:17] local.INFO: Acknowledgment sent {"connection_id":189145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":187795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:08:17] local.INFO: GPS data processed {"connection_id":187795,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:08:17] local.INFO: Acknowledgment sent {"connection_id":187795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:08:48] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:08:48] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:08:48] local.INFO: Packet analysis {"connection_id":189145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:08:48] local.INFO: Extracted packet for processing {"connection_id":189145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:08: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-09-18 23:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:08: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-09-18 23:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":189145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:08:48] local.INFO: GPS data processed {"connection_id":189145,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:08:48] local.INFO: Acknowledgment sent {"connection_id":189145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:09:02] local.INFO: TCP Data received {"connection_id":187796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:09:02] local.INFO: Processing buffer {"connection_id":187796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:09:02] local.INFO: IMEI packet received {"connection_id":187796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":187796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:09:07] local.INFO: TCP Data received {"connection_id":187796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:09:07] local.INFO: Processing buffer {"connection_id":187796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:09:07] local.INFO: IMEI packet received {"connection_id":187796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":187796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:09:07] local.INFO: TCP Data received {"connection_id":187796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:07] local.INFO: Processing buffer {"connection_id":187796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:07] local.INFO: Packet analysis {"connection_id":187796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:09:07] local.INFO: Extracted packet for processing {"connection_id":187796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09: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-09-18 23:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:09: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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":187796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:09:07] local.INFO: GPS data processed {"connection_id":187796,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:09:07] local.INFO: Acknowledgment sent {"connection_id":187796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:09:11] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:09:11] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:09:11] local.INFO: IMEI packet received {"connection_id":187797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":187797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:09:12] local.INFO: TCP Data received {"connection_id":187796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:12] local.INFO: Processing buffer {"connection_id":187796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:12] local.INFO: Packet analysis {"connection_id":187796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:09:12] local.INFO: Extracted packet for processing {"connection_id":187796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:09:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":187796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:09:12] local.INFO: GPS data processed {"connection_id":187796,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:09:12] local.INFO: Acknowledgment sent {"connection_id":187796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:09:16] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:09:16] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:09:16] local.INFO: IMEI packet received {"connection_id":187797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":187797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:09:17] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:09:17] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:09:17] local.INFO: Packet analysis {"connection_id":187797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:09:17] local.INFO: Extracted packet for processing {"connection_id":187797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:09:17] 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-09-18 23:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":187797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:09:17] local.INFO: GPS data processed {"connection_id":187797,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:09:17] local.INFO: Acknowledgment sent {"connection_id":187797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:09:43] local.INFO: TCP Data received {"connection_id":187796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:43] local.INFO: Processing buffer {"connection_id":187796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:09:43] local.INFO: Packet analysis {"connection_id":187796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:09:43] local.INFO: Extracted packet for processing {"connection_id":187796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 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-09-18 23:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:09:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":187796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:09:43] local.INFO: GPS data processed {"connection_id":187796,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:09:43] local.INFO: Acknowledgment sent {"connection_id":187796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:09:48] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:09:48] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:09:48] local.INFO: Packet analysis {"connection_id":187797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:09:48] local.INFO: Extracted packet for processing {"connection_id":187797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:09: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-09-18 23:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:09: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-09-18 23:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:09: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-09-18 23:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":187797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:09:48] local.INFO: GPS data processed {"connection_id":187797,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:09:48] local.INFO: Acknowledgment sent {"connection_id":187797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:10:02] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:10:02] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:10:02] local.INFO: IMEI packet received {"connection_id":189146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":189146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:10:07] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:10:07] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:10:07] local.INFO: IMEI packet received {"connection_id":189146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":189146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:10:08] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:08] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:08] local.INFO: Packet analysis {"connection_id":189146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:10:08] local.INFO: Extracted packet for processing {"connection_id":189146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10: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-09-18 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:10: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-09-18 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:10: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-09-18 23:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:10:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":189146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:10:08] local.INFO: GPS data processed {"connection_id":189146,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:10:08] local.INFO: Acknowledgment sent {"connection_id":189146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:10:12] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:12] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:12] local.INFO: Packet analysis {"connection_id":189146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:10:12] local.INFO: Extracted packet for processing {"connection_id":189146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:10:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":189146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:10:12] local.INFO: GPS data processed {"connection_id":189146,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:10:12] local.INFO: Acknowledgment sent {"connection_id":189146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:10:16] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:10:16] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:10:16] local.INFO: IMEI packet received {"connection_id":187798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":187798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:10:21] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:10:21] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:10:21] local.INFO: IMEI packet received {"connection_id":187798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":187798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:10:22] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:10:22] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:10:22] local.INFO: Packet analysis {"connection_id":187798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:10:22] local.INFO: Extracted packet for processing {"connection_id":187798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":187798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:10:22] local.INFO: GPS data processed {"connection_id":187798,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:10:22] local.INFO: Acknowledgment sent {"connection_id":187798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:10:26] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:10:26] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:10:26] local.INFO: Packet analysis {"connection_id":187798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:10:26] local.INFO: Extracted packet for processing {"connection_id":187798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:10:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 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-09-18 23:10: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-09-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:10:26] 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-09-18 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-09-18 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-09-18 23:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:10:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":187798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:10:26] local.INFO: GPS data processed {"connection_id":187798,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:10:26] local.INFO: Acknowledgment sent {"connection_id":187798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:10:43] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:43] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:10:43] local.INFO: Packet analysis {"connection_id":189146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:10:43] local.INFO: Extracted packet for processing {"connection_id":189146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 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-09-18 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:10:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":189146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:10:43] local.INFO: GPS data processed {"connection_id":189146,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:10:43] local.INFO: Acknowledgment sent {"connection_id":189146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:10:54] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:10:54] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:10:54] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:11:02] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:11:02] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:11:02] local.INFO: IMEI packet received {"connection_id":186537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":186537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:11:07] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:11:07] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:11:07] local.INFO: IMEI packet received {"connection_id":186537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":186537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:11:08] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:11:08] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b596a198012d196540071ff038004401542a..."} 
[2026-09-18 23:11:08] local.INFO: Packet analysis {"connection_id":186537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:11:08] local.INFO: Extracted packet for processing {"connection_id":186537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b596"} 
[2026-09-18 23:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176676352001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11: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-09-18 23:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789752943000,"timestamp_ms":1789752943000,"timestamp_seconds":1789752943,"priority":1,"record_length":96,"hex_timestamp":"000001a0b596a198"} 
[2026-09-18 23:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:11: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-09-18 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:11: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-09-18 23:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176676352001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176676352001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:11:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176676352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":186537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:11:08] local.INFO: GPS data processed {"connection_id":186537,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:11:08] local.INFO: Acknowledgment sent {"connection_id":186537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:11:11] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:11:11] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:11:11] local.INFO: IMEI packet received {"connection_id":186538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":186538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:11:16] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:11:16] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:11:16] local.INFO: IMEI packet received {"connection_id":186538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":186538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:11:17] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:11:17] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:11:17] local.INFO: Packet analysis {"connection_id":186538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:11:17] local.INFO: Extracted packet for processing {"connection_id":186538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:11:17] 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-09-18 23:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":186538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:11:17] local.INFO: GPS data processed {"connection_id":186538,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:11:17] local.INFO: Acknowledgment sent {"connection_id":186538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:11:39] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:11:39] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:11:39] local.INFO: Packet analysis {"connection_id":186537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:11:39] local.INFO: Extracted packet for processing {"connection_id":186537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":186537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:11:39] local.INFO: GPS data processed {"connection_id":186537,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:11:39] local.INFO: Acknowledgment sent {"connection_id":186537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:11:48] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:11:48] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:11:48] local.INFO: Packet analysis {"connection_id":186538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:11:48] local.INFO: Extracted packet for processing {"connection_id":186538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:11: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-09-18 23:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:11: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-09-18 23:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:11: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-09-18 23:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":186538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:11:48] local.INFO: GPS data processed {"connection_id":186538,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:11:48] local.INFO: Acknowledgment sent {"connection_id":186538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:12:02] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:12:02] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:12:02] local.INFO: IMEI packet received {"connection_id":186399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":186399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:12:07] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:12:07] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:12:07] local.INFO: IMEI packet received {"connection_id":186399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":186399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:12:08] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:12:08] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:12:08] local.INFO: Packet analysis {"connection_id":186399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:12:08] local.INFO: Extracted packet for processing {"connection_id":186399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:12: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-09-18 23:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:12:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":186399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:12:08] local.INFO: GPS data processed {"connection_id":186399,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:12:08] local.INFO: Acknowledgment sent {"connection_id":186399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:12:11] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:12:11] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:12:11] local.INFO: IMEI packet received {"connection_id":187799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":187799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:12:16] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:12:16] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:12:16] local.INFO: IMEI packet received {"connection_id":187799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":187799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:12:17] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:12:17] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:12:17] local.INFO: Packet analysis {"connection_id":187799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:12:17] local.INFO: Extracted packet for processing {"connection_id":187799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:12:17] 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-09-18 23:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":187799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:12:17] local.INFO: GPS data processed {"connection_id":187799,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:12:17] local.INFO: Acknowledgment sent {"connection_id":187799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:12:39] local.INFO: TCP Data received {"connection_id":186399,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:12:39] local.INFO: Processing buffer {"connection_id":186399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:12:39] local.INFO: Packet analysis {"connection_id":186399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:12:39] local.INFO: Extracted packet for processing {"connection_id":186399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:12:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":186399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:12:39] local.INFO: GPS data processed {"connection_id":186399,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:12:39] local.INFO: Acknowledgment sent {"connection_id":186399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:12:48] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:12:48] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5982838012d34c24006aa4140000801152c..."} 
[2026-09-18 23:12:48] local.INFO: Packet analysis {"connection_id":187799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:12:48] local.INFO: Extracted packet for processing {"connection_id":187799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b598"} 
[2026-09-18 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176701952001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753043000,"timestamp_ms":1789753043000,"timestamp_seconds":1789753043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5982838"} 
[2026-09-18 23:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 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-09-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:12: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-09-18 23:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176701952001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176701952001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176701952001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":187799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:12:48] local.INFO: GPS data processed {"connection_id":187799,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:12:48] local.INFO: Acknowledgment sent {"connection_id":187799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:13:07] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:13:07] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:13:07] local.INFO: IMEI packet received {"connection_id":186539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":186539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:13:12] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:13:12] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:13:12] local.INFO: IMEI packet received {"connection_id":186539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":186539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:13:13] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:13:13] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:13:13] local.INFO: Packet analysis {"connection_id":186539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:13:13] local.INFO: Extracted packet for processing {"connection_id":186539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:13: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-09-18 23:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:13:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":186539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:13:13] local.INFO: GPS data processed {"connection_id":186539,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:13:13] local.INFO: Acknowledgment sent {"connection_id":186539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:13:16] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:13:16] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:13:16] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:13:17] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:13:17] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:13:17] local.INFO: Packet analysis {"connection_id":186539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:13:17] local.INFO: Extracted packet for processing {"connection_id":186539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:13:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":186539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:13:17] local.INFO: GPS data processed {"connection_id":186539,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:13:17] local.INFO: Acknowledgment sent {"connection_id":186539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:13:21] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:13:21] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:13:21] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:13:22] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:13:22] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:13:22] local.INFO: Packet analysis {"connection_id":186400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:13:22] local.INFO: Extracted packet for processing {"connection_id":186400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:13:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:13:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":186400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:13:22] local.INFO: GPS data processed {"connection_id":186400,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:13:22] local.INFO: Acknowledgment sent {"connection_id":186400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:13:26] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:13:26] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:13:26] local.INFO: Packet analysis {"connection_id":186400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:13:26] local.INFO: Extracted packet for processing {"connection_id":186400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:13: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-09-18 23:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:13: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-09-18 23:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":186400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:13:26] local.INFO: GPS data processed {"connection_id":186400,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:13:26] local.INFO: Acknowledgment sent {"connection_id":186400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:14:02] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:14:02] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:14:02] local.INFO: IMEI packet received {"connection_id":186540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":186540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:14:07] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:14:07] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:14:07] local.INFO: IMEI packet received {"connection_id":186540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":186540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:14:08] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:14:08] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:14:08] local.INFO: Packet analysis {"connection_id":186540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:14:08] local.INFO: Extracted packet for processing {"connection_id":186540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14: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-09-18 23:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:14: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-09-18 23:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:14: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-09-18 23:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:14:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":186540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:14:08] local.INFO: GPS data processed {"connection_id":186540,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:14:08] local.INFO: Acknowledgment sent {"connection_id":186540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:14:11] local.INFO: TCP Data received {"connection_id":187800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:14:11] local.INFO: Processing buffer {"connection_id":187800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:14:11] local.INFO: IMEI packet received {"connection_id":187800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":187800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:14:16] local.INFO: TCP Data received {"connection_id":187800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:14:16] local.INFO: Processing buffer {"connection_id":187800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:14:16] local.INFO: IMEI packet received {"connection_id":187800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":187800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:14:17] local.INFO: TCP Data received {"connection_id":187800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:14:17] local.INFO: Processing buffer {"connection_id":187800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:14:17] local.INFO: Packet analysis {"connection_id":187800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:14:17] local.INFO: Extracted packet for processing {"connection_id":187800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":187800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:14:17] local.INFO: GPS data processed {"connection_id":187800,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:14:17] local.INFO: Acknowledgment sent {"connection_id":187800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:14:39] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:14:39] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:14:39] local.INFO: Packet analysis {"connection_id":186540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:14:39] local.INFO: Extracted packet for processing {"connection_id":186540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":186540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:14:39] local.INFO: GPS data processed {"connection_id":186540,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:14:39] local.INFO: Acknowledgment sent {"connection_id":186540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:14:48] local.INFO: TCP Data received {"connection_id":187800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:14:48] local.INFO: Processing buffer {"connection_id":187800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:14:48] local.INFO: Packet analysis {"connection_id":187800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:14:48] local.INFO: Extracted packet for processing {"connection_id":187800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:14: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-09-18 23:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:14: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-09-18 23:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":187800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:14:48] local.INFO: GPS data processed {"connection_id":187800,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:14:48] local.INFO: Acknowledgment sent {"connection_id":187800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:15:02] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:15:02] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:15:02] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:15:07] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:15:07] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:15:07] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:15:08] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:15:08] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:15:08] local.INFO: Packet analysis {"connection_id":186541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:15:08] local.INFO: Extracted packet for processing {"connection_id":186541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23: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-09-18 23:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:15: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-09-18 23:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:15: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-09-18 23:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":186541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:15:08] local.INFO: GPS data processed {"connection_id":186541,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:15:08] local.INFO: Acknowledgment sent {"connection_id":186541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:15:11] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:15:11] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:15:11] local.INFO: IMEI packet received {"connection_id":186402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":186402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:15:16] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:15:16] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:15:16] local.INFO: IMEI packet received {"connection_id":186402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":186402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:15:19] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:15:19] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:15:19] local.INFO: Packet analysis {"connection_id":186402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:15:19] local.INFO: Extracted packet for processing {"connection_id":186402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":186402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:15:19] local.INFO: GPS data processed {"connection_id":186402,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:15:19] local.INFO: Acknowledgment sent {"connection_id":186402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:15:39] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:15:39] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:15:39] local.INFO: Packet analysis {"connection_id":186541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:15:39] local.INFO: Extracted packet for processing {"connection_id":186541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:15:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":186541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:15:39] local.INFO: GPS data processed {"connection_id":186541,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:15:39] local.INFO: Acknowledgment sent {"connection_id":186541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:15:50] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:15:50] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:15:50] local.INFO: Packet analysis {"connection_id":186402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:15:50] local.INFO: Extracted packet for processing {"connection_id":186402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":186402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:15:50] local.INFO: GPS data processed {"connection_id":186402,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:15:50] local.INFO: Acknowledgment sent {"connection_id":186402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:16:02] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:16:02] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:16:02] local.INFO: IMEI packet received {"connection_id":186542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":186542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:16:07] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:16:07] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:16:07] local.INFO: IMEI packet received {"connection_id":186542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":186542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:16:08] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:16:08] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59b3960012d196540071ff038004401542a..."} 
[2026-09-18 23:16:08] local.INFO: Packet analysis {"connection_id":186542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:16:08] local.INFO: Extracted packet for processing {"connection_id":186542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59b"} 
[2026-09-18 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176753408001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753244000,"timestamp_ms":1789753244000,"timestamp_seconds":1789753244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59b3960"} 
[2026-09-18 23:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:16: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-09-18 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176753408001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176753408001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:16:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176753408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":186542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:16:08] local.INFO: GPS data processed {"connection_id":186542,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:16:08] local.INFO: Acknowledgment sent {"connection_id":186542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:16:11] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:16:11] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:16:11] local.INFO: IMEI packet received {"connection_id":186543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":186543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:16:16] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:16:16] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:16:16] local.INFO: IMEI packet received {"connection_id":186543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":186543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:16:17] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:16:17] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:16:17] local.INFO: Packet analysis {"connection_id":186543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:16:17] local.INFO: Extracted packet for processing {"connection_id":186543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":186543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:16:17] local.INFO: GPS data processed {"connection_id":186543,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:16:17] local.INFO: Acknowledgment sent {"connection_id":186543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:16:33] local.INFO: TCP Data received {"connection_id":186401,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:16:33] local.INFO: Processing buffer {"connection_id":186401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:16:33] local.INFO: IMEI packet received {"connection_id":186401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":186401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:16:39] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:16:39] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:16:39] local.INFO: Packet analysis {"connection_id":186542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:16:39] local.INFO: Extracted packet for processing {"connection_id":186542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:16:39] 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-09-18 23:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:16:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":186542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:16:39] local.INFO: GPS data processed {"connection_id":186542,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:16:39] local.INFO: Acknowledgment sent {"connection_id":186542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:16:48] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:16:48] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:16:48] local.INFO: Packet analysis {"connection_id":186543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:16:48] local.INFO: Extracted packet for processing {"connection_id":186543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:16: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-09-18 23:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":186543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:16:48] local.INFO: GPS data processed {"connection_id":186543,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:16:48] local.INFO: Acknowledgment sent {"connection_id":186543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:17:02] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:17:02] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:17:02] local.INFO: IMEI packet received {"connection_id":186544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":186544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:17:07] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:17:07] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:17:07] local.INFO: IMEI packet received {"connection_id":186544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":186544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:17:09] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:17:09] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:17:09] local.INFO: Packet analysis {"connection_id":186544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:17:09] local.INFO: Extracted packet for processing {"connection_id":186544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17: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-09-18 23:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:17:09] 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-09-18 23:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:17: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-09-18 23:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:17: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-09-18 23:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:17:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":186544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:17:09] local.INFO: GPS data processed {"connection_id":186544,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:17:09] local.INFO: Acknowledgment sent {"connection_id":186544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:17:11] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:17:11] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:17:11] local.INFO: IMEI packet received {"connection_id":186403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:17:16] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:17:16] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:17:16] local.INFO: IMEI packet received {"connection_id":186403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":186403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:17:17] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:17:17] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:17:17] local.INFO: Packet analysis {"connection_id":186403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:17:17] local.INFO: Extracted packet for processing {"connection_id":186403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":186403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:17:17] local.INFO: GPS data processed {"connection_id":186403,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:17:17] local.INFO: Acknowledgment sent {"connection_id":186403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:17:40] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:17:40] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:17:40] local.INFO: Packet analysis {"connection_id":186544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:17:40] local.INFO: Extracted packet for processing {"connection_id":186544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:17:40] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:17:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":186544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:17:41] local.INFO: GPS data processed {"connection_id":186544,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:17:41] local.INFO: Acknowledgment sent {"connection_id":186544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:17:48] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:17:48] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59cc000012d34c24006aa4140000801152a..."} 
[2026-09-18 23:17:48] local.INFO: Packet analysis {"connection_id":186403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:17:48] local.INFO: Extracted packet for processing {"connection_id":186403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59c"} 
[2026-09-18 23:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176779008001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753344000,"timestamp_ms":1789753344000,"timestamp_seconds":1789753344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59cc000"} 
[2026-09-18 23:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:17: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-09-18 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176779008001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176779008001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176779008001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":186403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:17:48] local.INFO: GPS data processed {"connection_id":186403,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:17:48] local.INFO: Acknowledgment sent {"connection_id":186403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:18:07] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:18:07] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:18:07] local.INFO: IMEI packet received {"connection_id":186404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":186404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:18:12] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:18:12] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:18:12] local.INFO: IMEI packet received {"connection_id":186404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":186404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:18:13] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:18:13] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:18:13] local.INFO: Packet analysis {"connection_id":186404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:18:13] local.INFO: Extracted packet for processing {"connection_id":186404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:18:13] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:18:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":186404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:18:13] local.INFO: GPS data processed {"connection_id":186404,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:18:13] local.INFO: Acknowledgment sent {"connection_id":186404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:18:16] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:18:16] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:18:16] local.INFO: IMEI packet received {"connection_id":186405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":186405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:18:17] local.INFO: TCP Data received {"connection_id":186404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:18:17] local.INFO: Processing buffer {"connection_id":186404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:18:17] local.INFO: Packet analysis {"connection_id":186404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:18:17] local.INFO: Extracted packet for processing {"connection_id":186404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:18:17] 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-09-18 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:18:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":186404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:18:17] local.INFO: GPS data processed {"connection_id":186404,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:18:17] local.INFO: Acknowledgment sent {"connection_id":186404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:18:21] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:18:21] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:18:21] local.INFO: IMEI packet received {"connection_id":186405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":186405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:18:22] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:18:22] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:18:22] local.INFO: Packet analysis {"connection_id":186405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:18:22] local.INFO: Extracted packet for processing {"connection_id":186405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":186405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:18:22] local.INFO: GPS data processed {"connection_id":186405,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:18:22] local.INFO: Acknowledgment sent {"connection_id":186405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:18:26] local.INFO: TCP Data received {"connection_id":186405,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:18:26] local.INFO: Processing buffer {"connection_id":186405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:18:26] local.INFO: Packet analysis {"connection_id":186405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:18:26] local.INFO: Extracted packet for processing {"connection_id":186405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:18:26] 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-09-18 23: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-09-18 23:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:18:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":186405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:18:26] local.INFO: GPS data processed {"connection_id":186405,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:18:26] local.INFO: Acknowledgment sent {"connection_id":186405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:19:02] local.INFO: TCP Data received {"connection_id":189147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:19:02] local.INFO: Processing buffer {"connection_id":189147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:19:02] local.INFO: IMEI packet received {"connection_id":189147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":189147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:19:07] local.INFO: TCP Data received {"connection_id":189147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:19:07] local.INFO: Processing buffer {"connection_id":189147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:19:07] local.INFO: IMEI packet received {"connection_id":189147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":189147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:19:08] local.INFO: TCP Data received {"connection_id":189147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:19:08] local.INFO: Processing buffer {"connection_id":189147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:19:08] local.INFO: Packet analysis {"connection_id":189147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:19:08] local.INFO: Extracted packet for processing {"connection_id":189147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19: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-09-18 23:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:19: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-09-18 23:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:19: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-09-18 23:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:19:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":189147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:19:08] local.INFO: GPS data processed {"connection_id":189147,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:19:08] local.INFO: Acknowledgment sent {"connection_id":189147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:19:11] local.INFO: TCP Data received {"connection_id":186545,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:19:11] local.INFO: Processing buffer {"connection_id":186545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:19:11] local.INFO: IMEI packet received {"connection_id":186545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":186545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:19:16] local.INFO: TCP Data received {"connection_id":186545,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:19:16] local.INFO: Processing buffer {"connection_id":186545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:19:16] local.INFO: IMEI packet received {"connection_id":186545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":186545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:19:17] local.INFO: TCP Data received {"connection_id":186545,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:19:17] local.INFO: Processing buffer {"connection_id":186545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:19:17] local.INFO: Packet analysis {"connection_id":186545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:19:17] local.INFO: Extracted packet for processing {"connection_id":186545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:19: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-09-18 23:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:19:17] 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-09-18 23:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":186545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:19:17] local.INFO: GPS data processed {"connection_id":186545,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:19:17] local.INFO: Acknowledgment sent {"connection_id":186545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:19:39] local.INFO: TCP Data received {"connection_id":189147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:19:39] local.INFO: Processing buffer {"connection_id":189147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:19:39] local.INFO: Packet analysis {"connection_id":189147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:19:39] local.INFO: Extracted packet for processing {"connection_id":189147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:19:39] 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-09-18 23:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:19:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":189147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:19:39] local.INFO: GPS data processed {"connection_id":189147,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:19:39] local.INFO: Acknowledgment sent {"connection_id":189147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:19:49] local.INFO: TCP Data received {"connection_id":186545,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:19:49] local.INFO: Processing buffer {"connection_id":186545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:19:49] local.INFO: Packet analysis {"connection_id":186545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:19:49] local.INFO: Extracted packet for processing {"connection_id":186545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:19:49] 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-09-18 23:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":186545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:19:49] local.INFO: GPS data processed {"connection_id":186545,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:19:49] local.INFO: Acknowledgment sent {"connection_id":186545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:20:02] local.INFO: TCP Data received {"connection_id":187801,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:20:02] local.INFO: Processing buffer {"connection_id":187801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:20:02] local.INFO: IMEI packet received {"connection_id":187801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":187801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:20:07] local.INFO: TCP Data received {"connection_id":187801,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:20:07] local.INFO: Processing buffer {"connection_id":187801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:20:07] local.INFO: IMEI packet received {"connection_id":187801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":187801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:20:08] local.INFO: TCP Data received {"connection_id":187801,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:20:08] local.INFO: Processing buffer {"connection_id":187801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:20:08] local.INFO: Packet analysis {"connection_id":187801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:20:08] local.INFO: Extracted packet for processing {"connection_id":187801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20: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-09-18 23:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:20: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-09-18 23:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:20: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-09-18 23:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:20:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":187801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:20:08] local.INFO: GPS data processed {"connection_id":187801,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:20:08] local.INFO: Acknowledgment sent {"connection_id":187801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:20:12] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:20:12] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:20:12] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:20:16] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:20:16] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:20:16] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:20:17] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:20:17] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:20:17] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:20:17] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:20: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-09-18 23:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:20:17] 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-09-18 23:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:20:17] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:20:17] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:20:39] local.INFO: TCP Data received {"connection_id":187801,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:20:39] local.INFO: Processing buffer {"connection_id":187801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:20:39] local.INFO: Packet analysis {"connection_id":187801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:20:39] local.INFO: Extracted packet for processing {"connection_id":187801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:20:39] 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-09-18 23:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":187801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:20:39] local.INFO: GPS data processed {"connection_id":187801,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:20:39] local.INFO: Acknowledgment sent {"connection_id":187801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:20:48] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:20:48] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:20:48] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:20:48] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:20: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-09-18 23:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:20: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-09-18 23:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:20: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-09-18 23:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:20:48] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:20:48] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:21:02] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:21:02] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:21:02] local.INFO: IMEI packet received {"connection_id":186547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":186547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:21:07] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:21:07] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:21:07] local.INFO: IMEI packet received {"connection_id":186547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:21:08] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:21:08] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b59fd128012d196540071ff038004401542c..."} 
[2026-09-18 23:21:08] local.INFO: Packet analysis {"connection_id":186547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:21:08] local.INFO: Extracted packet for processing {"connection_id":186547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b59f"} 
[2026-09-18 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176830464001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21: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-09-18 23:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753545000,"timestamp_ms":1789753545000,"timestamp_seconds":1789753545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b59fd128"} 
[2026-09-18 23:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:21: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-09-18 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:21: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-09-18 23:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176830464001,"66":2155,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176830464001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:21:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176830464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":186547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:21:08] local.INFO: GPS data processed {"connection_id":186547,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:21:08] local.INFO: Acknowledgment sent {"connection_id":186547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:21:11] local.INFO: TCP Data received {"connection_id":187802,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:21:11] local.INFO: Processing buffer {"connection_id":187802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:21:11] local.INFO: IMEI packet received {"connection_id":187802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":187802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:21:16] local.INFO: TCP Data received {"connection_id":187802,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:21:16] local.INFO: Processing buffer {"connection_id":187802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:21:16] local.INFO: IMEI packet received {"connection_id":187802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":187802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:21:17] local.INFO: TCP Data received {"connection_id":187802,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:21:17] local.INFO: Processing buffer {"connection_id":187802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:21:17] local.INFO: Packet analysis {"connection_id":187802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:21:17] local.INFO: Extracted packet for processing {"connection_id":187802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:21: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-09-18 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:21:17] 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-09-18 23:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":187802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:21:17] local.INFO: GPS data processed {"connection_id":187802,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:21:17] local.INFO: Acknowledgment sent {"connection_id":187802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:21:40] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:21:40] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:21:40] local.INFO: Packet analysis {"connection_id":186547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:21:40] local.INFO: Extracted packet for processing {"connection_id":186547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:21:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":186547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:21:40] local.INFO: GPS data processed {"connection_id":186547,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:21:40] local.INFO: Acknowledgment sent {"connection_id":186547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:21:49] local.INFO: TCP Data received {"connection_id":187802,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:21:49] local.INFO: Processing buffer {"connection_id":187802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:21:49] local.INFO: Packet analysis {"connection_id":187802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:21:49] local.INFO: Extracted packet for processing {"connection_id":187802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:21:49] 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-09-18 23:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":187802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:21:49] local.INFO: GPS data processed {"connection_id":187802,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:21:49] local.INFO: Acknowledgment sent {"connection_id":187802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:22:02] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:22:02] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:22:02] local.INFO: IMEI packet received {"connection_id":186407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":186407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:22:04] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:22:04] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:22:04] local.INFO: IMEI packet received {"connection_id":186406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":186406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:22:07] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:22:07] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:22:07] local.INFO: IMEI packet received {"connection_id":186407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":186407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:22:08] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:22:08] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:22:08] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:22:08] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23: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-09-18 23:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:22: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-09-18 23:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:22: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-09-18 23:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:22:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:22:08] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:22:08] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:22:11] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:22:11] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:22:11] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:22:16] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:22:16] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:22:16] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:22:17] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:22:17] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:22:17] local.INFO: Packet analysis {"connection_id":186548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:22:17] local.INFO: Extracted packet for processing {"connection_id":186548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:22: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-09-18 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:22:17] 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-09-18 23:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":186548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:22:17] local.INFO: GPS data processed {"connection_id":186548,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:22:17] local.INFO: Acknowledgment sent {"connection_id":186548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:22:39] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:22:39] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:22:39] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:22:39] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:22:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:22:39] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:22:39] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:22:48] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:22:48] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a157c8012d34c24006aa41400008011529..."} 
[2026-09-18 23:22:48] local.INFO: Packet analysis {"connection_id":186548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:22:48] local.INFO: Extracted packet for processing {"connection_id":186548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a1"} 
[2026-09-18 23:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176856064001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753645000,"timestamp_ms":1789753645000,"timestamp_seconds":1789753645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a157c8"} 
[2026-09-18 23:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:22: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-09-18 23:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:22: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-09-18 23:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:22: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-09-18 23:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176856064001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176856064001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176856064001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:22:48] local.INFO: GPS data processed {"connection_id":186548,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:22:48] local.INFO: Acknowledgment sent {"connection_id":186548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:23:07] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:23:07] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:23:07] local.INFO: IMEI packet received {"connection_id":186408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":186408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:23:12] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:23:12] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:23:12] local.INFO: IMEI packet received {"connection_id":186408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":186408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:23:13] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:23:13] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:23:13] local.INFO: Packet analysis {"connection_id":186408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:23:13] local.INFO: Extracted packet for processing {"connection_id":186408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:23:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":186408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:23:13] local.INFO: GPS data processed {"connection_id":186408,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:23:13] local.INFO: Acknowledgment sent {"connection_id":186408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:23:16] local.INFO: TCP Data received {"connection_id":187803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:23:16] local.INFO: Processing buffer {"connection_id":187803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:23:16] local.INFO: IMEI packet received {"connection_id":187803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":187803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:23:17] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:23:17] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:23:17] local.INFO: Packet analysis {"connection_id":186408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:23:17] local.INFO: Extracted packet for processing {"connection_id":186408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":186408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:23:17] local.INFO: GPS data processed {"connection_id":186408,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:23:17] local.INFO: Acknowledgment sent {"connection_id":186408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:23:21] local.INFO: TCP Data received {"connection_id":187803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:23:21] local.INFO: Processing buffer {"connection_id":187803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:23:21] local.INFO: IMEI packet received {"connection_id":187803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":187803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:23:22] local.INFO: TCP Data received {"connection_id":187803,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:23:22] local.INFO: Processing buffer {"connection_id":187803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:23:22] local.INFO: Packet analysis {"connection_id":187803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:23:22] local.INFO: Extracted packet for processing {"connection_id":187803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:23:22] 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-09-18 23:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":187803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:23:22] local.INFO: GPS data processed {"connection_id":187803,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:23:22] local.INFO: Acknowledgment sent {"connection_id":187803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:23:27] local.INFO: TCP Data received {"connection_id":187803,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:23:27] local.INFO: Processing buffer {"connection_id":187803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:23:27] local.INFO: Packet analysis {"connection_id":187803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:23:27] local.INFO: Extracted packet for processing {"connection_id":187803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 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-09-18 23:23: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-09-18 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:23:27] 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-09-18 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-09-18 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-09-18 23:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:23:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":187803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:23:27] local.INFO: GPS data processed {"connection_id":187803,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:23:27] local.INFO: Acknowledgment sent {"connection_id":187803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:24:02] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:24:02] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:24:02] local.INFO: IMEI packet received {"connection_id":186409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":186409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:24:07] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:24:07] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:24:07] local.INFO: IMEI packet received {"connection_id":186409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":186409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:24:08] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:24:08] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:24:08] local.INFO: Packet analysis {"connection_id":186409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:24:08] local.INFO: Extracted packet for processing {"connection_id":186409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:24: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-09-18 23:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:24: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-09-18 23:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:24:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":186409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:24:08] local.INFO: GPS data processed {"connection_id":186409,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:24:08] local.INFO: Acknowledgment sent {"connection_id":186409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:24:11] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:24:11] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:24:11] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:24:16] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:24:16] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:24:16] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:24:17] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:24:17] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:24:17] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:24:17] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:24:17] 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-09-18 23:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:24:17] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:24:17] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:24:39] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:24:39] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:24:39] local.INFO: Packet analysis {"connection_id":186409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:24:39] local.INFO: Extracted packet for processing {"connection_id":186409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:24:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":186409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:24:39] local.INFO: GPS data processed {"connection_id":186409,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:24:39] local.INFO: Acknowledgment sent {"connection_id":186409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:24:49] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:24:49] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:24:49] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:24:49] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:24:49] 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-09-18 23:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:24:49] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:24:49] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:25:02] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:25:02] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:25:02] local.INFO: IMEI packet received {"connection_id":189149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":189149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:25:07] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:25:07] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:25:07] local.INFO: IMEI packet received {"connection_id":189149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":189149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:25:08] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:25:08] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:25:08] local.INFO: Packet analysis {"connection_id":189149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:25:08] local.INFO: Extracted packet for processing {"connection_id":189149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25: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-09-18 23:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:25: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-09-18 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:25: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-09-18 23:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:25:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":189149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:25:08] local.INFO: GPS data processed {"connection_id":189149,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:25:08] local.INFO: Acknowledgment sent {"connection_id":189149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:25:11] local.INFO: TCP Data received {"connection_id":189150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:25:11] local.INFO: Processing buffer {"connection_id":189150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:25:11] local.INFO: IMEI packet received {"connection_id":189150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":189150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:25:16] local.INFO: TCP Data received {"connection_id":189150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:25:16] local.INFO: Processing buffer {"connection_id":189150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:25:16] local.INFO: IMEI packet received {"connection_id":189150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":189150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:25:17] local.INFO: TCP Data received {"connection_id":189150,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:25:17] local.INFO: Processing buffer {"connection_id":189150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:25:17] local.INFO: Packet analysis {"connection_id":189150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:25:17] local.INFO: Extracted packet for processing {"connection_id":189150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:25:17] 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-09-18 23:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":189150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:25:17] local.INFO: GPS data processed {"connection_id":189150,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:25:17] local.INFO: Acknowledgment sent {"connection_id":189150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:25:39] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:25:39] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:25:39] local.INFO: Packet analysis {"connection_id":189149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:25:39] local.INFO: Extracted packet for processing {"connection_id":189149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:25:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":189149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:25:39] local.INFO: GPS data processed {"connection_id":189149,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:25:39] local.INFO: Acknowledgment sent {"connection_id":189149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:25:48] local.INFO: TCP Data received {"connection_id":189150,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:25:48] local.INFO: Processing buffer {"connection_id":189150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:25:48] local.INFO: Packet analysis {"connection_id":189150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:25:48] local.INFO: Extracted packet for processing {"connection_id":189150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 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-09-18 23:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:25: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-09-18 23:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":189150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:25:48] local.INFO: GPS data processed {"connection_id":189150,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:25:48] local.INFO: Acknowledgment sent {"connection_id":189150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:26:02] local.INFO: TCP Data received {"connection_id":187804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:26:02] local.INFO: Processing buffer {"connection_id":187804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:26:02] local.INFO: IMEI packet received {"connection_id":187804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":187804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:26:07] local.INFO: TCP Data received {"connection_id":187804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:26:07] local.INFO: Processing buffer {"connection_id":187804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:26:07] local.INFO: IMEI packet received {"connection_id":187804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":187804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:26:08] local.INFO: TCP Data received {"connection_id":187804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:26:08] local.INFO: Processing buffer {"connection_id":187804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a468f0012d196540071ff0380044015429..."} 
[2026-09-18 23:26:08] local.INFO: Packet analysis {"connection_id":187804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:26:08] local.INFO: Extracted packet for processing {"connection_id":187804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a4"} 
[2026-09-18 23:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176907520001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26: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-09-18 23:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789753846000,"timestamp_ms":1789753846000,"timestamp_seconds":1789753846,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a468f0"} 
[2026-09-18 23:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:26: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-09-18 23:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-18 23:26: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-09-18 23:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176907520001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176907520001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:26:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176907520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":187804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:26:08] local.INFO: GPS data processed {"connection_id":187804,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:26:08] local.INFO: Acknowledgment sent {"connection_id":187804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:26:11] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:26:11] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:26:11] local.INFO: IMEI packet received {"connection_id":186550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":186550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:26:16] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:26:16] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:26:16] local.INFO: IMEI packet received {"connection_id":186550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":186550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:26:17] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:26:17] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:26:17] local.INFO: Packet analysis {"connection_id":186550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:26:17] local.INFO: Extracted packet for processing {"connection_id":186550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:26:17] 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-09-18 23:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":186550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:26:17] local.INFO: GPS data processed {"connection_id":186550,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:26:17] local.INFO: Acknowledgment sent {"connection_id":186550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:26:38] local.INFO: TCP Data received {"connection_id":187804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:26:38] local.INFO: Processing buffer {"connection_id":187804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:26:38] local.INFO: Packet analysis {"connection_id":187804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:26:38] local.INFO: Extracted packet for processing {"connection_id":187804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:26:38] 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-09-18 23:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:26: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-09-18 23:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:26:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":187804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:26:39] local.INFO: GPS data processed {"connection_id":187804,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:26:39] local.INFO: Acknowledgment sent {"connection_id":187804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:26:50] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:26:50] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:26:50] local.INFO: Packet analysis {"connection_id":186550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:26:50] local.INFO: Extracted packet for processing {"connection_id":186550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:26:50] 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-09-18 23:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":186550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:26:50] local.INFO: GPS data processed {"connection_id":186550,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:26:50] local.INFO: Acknowledgment sent {"connection_id":186550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:27:01] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:27:01] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:27:01] local.INFO: IMEI packet received {"connection_id":186551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":186551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:27:07] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:27:07] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:27:07] local.INFO: IMEI packet received {"connection_id":186551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":186551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:27:08] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:27:08] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:27:08] local.INFO: Packet analysis {"connection_id":186551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:27:08] local.INFO: Extracted packet for processing {"connection_id":186551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27: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-09-18 23:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:27: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-09-18 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:27: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-09-18 23:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:27:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":186551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:27:08] local.INFO: GPS data processed {"connection_id":186551,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:27:08] local.INFO: Acknowledgment sent {"connection_id":186551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:27:11] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:27:11] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:27:11] local.INFO: IMEI packet received {"connection_id":189151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":189151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:27:16] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:27:16] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:27:16] local.INFO: IMEI packet received {"connection_id":189151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":189151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:27:17] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:27:17] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:27:17] local.INFO: Packet analysis {"connection_id":189151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:27:17] local.INFO: Extracted packet for processing {"connection_id":189151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:27:17] 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-09-18 23:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:27: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-09-18 23:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":189151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:27:17] local.INFO: GPS data processed {"connection_id":189151,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:27:17] local.INFO: Acknowledgment sent {"connection_id":189151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:27:39] local.INFO: TCP Data received {"connection_id":189148,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:27:39] local.INFO: Processing buffer {"connection_id":189148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:27:39] local.INFO: IMEI packet received {"connection_id":189148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":189148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:27:39] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:27:39] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:27:39] local.INFO: Packet analysis {"connection_id":186551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:27:39] local.INFO: Extracted packet for processing {"connection_id":186551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:27:39] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:27:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":186551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:27:39] local.INFO: GPS data processed {"connection_id":186551,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:27:39] local.INFO: Acknowledgment sent {"connection_id":186551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:27:49] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:27:49] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a5ef90012d34c24006aa4140000801152d..."} 
[2026-09-18 23:27:49] local.INFO: Packet analysis {"connection_id":189151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:27:49] local.INFO: Extracted packet for processing {"connection_id":189151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a5"} 
[2026-09-18 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176933120001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789753946000,"timestamp_ms":1789753946000,"timestamp_seconds":1789753946,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a5ef90"} 
[2026-09-18 23:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:27:49] 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-09-18 23:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176933120001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176933120001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176933120001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":189151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:27:49] local.INFO: GPS data processed {"connection_id":189151,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:27:49] local.INFO: Acknowledgment sent {"connection_id":189151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:28:07] local.INFO: TCP Data received {"connection_id":189152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:28:07] local.INFO: Processing buffer {"connection_id":189152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:28:07] local.INFO: IMEI packet received {"connection_id":189152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":189152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:28:11] local.INFO: TCP Data received {"connection_id":189153,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:28:11] local.INFO: Processing buffer {"connection_id":189153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:28:11] local.INFO: IMEI packet received {"connection_id":189153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":189153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:28:12] local.INFO: TCP Data received {"connection_id":189152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:28:12] local.INFO: Processing buffer {"connection_id":189152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:28:12] local.INFO: IMEI packet received {"connection_id":189152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":189152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:28:13] local.INFO: TCP Data received {"connection_id":189152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:28:13] local.INFO: Processing buffer {"connection_id":189152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:28:13] local.INFO: Packet analysis {"connection_id":189152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:28:13] local.INFO: Extracted packet for processing {"connection_id":189152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:28:13] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:28:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":189152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:28:13] local.INFO: GPS data processed {"connection_id":189152,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:28:13] local.INFO: Acknowledgment sent {"connection_id":189152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:28:16] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:28:16] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:28:16] local.INFO: IMEI packet received {"connection_id":186552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:28:17] local.INFO: TCP Data received {"connection_id":189152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:28:17] local.INFO: Processing buffer {"connection_id":189152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:28:17] local.INFO: Packet analysis {"connection_id":189152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:28:17] local.INFO: Extracted packet for processing {"connection_id":189152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:28:17] 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-09-18 23:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":189152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:28:17] local.INFO: GPS data processed {"connection_id":189152,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:28:17] local.INFO: Acknowledgment sent {"connection_id":189152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:28:21] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:28:21] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:28:21] local.INFO: IMEI packet received {"connection_id":186552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":186552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:28:22] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:28:22] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:28:22] local.INFO: Packet analysis {"connection_id":186552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:28:22] local.INFO: Extracted packet for processing {"connection_id":186552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":186552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:28:22] local.INFO: GPS data processed {"connection_id":186552,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:28:22] local.INFO: Acknowledgment sent {"connection_id":186552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:28:27] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:28:27] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:28:27] local.INFO: Packet analysis {"connection_id":186552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:28:27] local.INFO: Extracted packet for processing {"connection_id":186552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:28:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":186552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:28:27] local.INFO: GPS data processed {"connection_id":186552,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:28:27] local.INFO: Acknowledgment sent {"connection_id":186552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:29:01] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:29:01] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:29:01] local.INFO: IMEI packet received {"connection_id":189154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":189154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:29:07] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:29:07] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:29:07] local.INFO: IMEI packet received {"connection_id":189154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":189154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:29:08] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:29:08] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:29:08] local.INFO: Packet analysis {"connection_id":189154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:29:08] local.INFO: Extracted packet for processing {"connection_id":189154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29: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-09-18 23:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:29: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-09-18 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:29: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-09-18 23:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:29:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":189154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:29:08] local.INFO: GPS data processed {"connection_id":189154,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:29:08] local.INFO: Acknowledgment sent {"connection_id":189154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:29:11] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:29:11] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:29:11] local.INFO: IMEI packet received {"connection_id":187805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":187805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:29:16] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:29:16] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:29:16] local.INFO: IMEI packet received {"connection_id":187805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":187805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:29:17] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:29:17] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:29:17] local.INFO: Packet analysis {"connection_id":187805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:29:17] local.INFO: Extracted packet for processing {"connection_id":187805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:29: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-09-18 23: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:29:17] 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-09-18 23:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:29: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-09-18 23:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":187805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:29:17] local.INFO: GPS data processed {"connection_id":187805,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:29:17] local.INFO: Acknowledgment sent {"connection_id":187805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:29:39] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:29:39] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:29:39] local.INFO: Packet analysis {"connection_id":189154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:29:39] local.INFO: Extracted packet for processing {"connection_id":189154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:29:39] 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-09-18 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":189154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:29:39] local.INFO: GPS data processed {"connection_id":189154,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:29:39] local.INFO: Acknowledgment sent {"connection_id":189154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:29:49] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:29:49] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:29:49] local.INFO: Packet analysis {"connection_id":187805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:29:49] local.INFO: Extracted packet for processing {"connection_id":187805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:29:49] 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-09-18 23:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":187805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:29:49] local.INFO: GPS data processed {"connection_id":187805,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:29:49] local.INFO: Acknowledgment sent {"connection_id":187805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:30:02] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:30:02] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:30:02] local.INFO: IMEI packet received {"connection_id":187806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":187806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:30:07] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:30:07] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:30:07] local.INFO: IMEI packet received {"connection_id":187806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":187806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:30:08] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:08] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:08] local.INFO: Packet analysis {"connection_id":187806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:30:08] local.INFO: Extracted packet for processing {"connection_id":187806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30: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-09-18 23:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:30: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-09-18 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:30: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-09-18 23:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:30:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":187806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:30:08] local.INFO: GPS data processed {"connection_id":187806,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:30:08] local.INFO: Acknowledgment sent {"connection_id":187806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:30:11] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:30:11] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:30:11] local.INFO: IMEI packet received {"connection_id":186553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":186553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:30:12] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:12] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:12] local.INFO: Packet analysis {"connection_id":187806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:30:12] local.INFO: Extracted packet for processing {"connection_id":187806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:30:12] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:30: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-09-18 23:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:30:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":187806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:30:12] local.INFO: GPS data processed {"connection_id":187806,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:30:12] local.INFO: Acknowledgment sent {"connection_id":187806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:30:16] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:30:16] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:30:16] local.INFO: IMEI packet received {"connection_id":186553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":186553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:30:18] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:30:18] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:30:18] local.INFO: Packet analysis {"connection_id":186553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:30:18] local.INFO: Extracted packet for processing {"connection_id":186553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:30:18] 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-09-18 23:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":186553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:30:18] local.INFO: GPS data processed {"connection_id":186553,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:30:18] local.INFO: Acknowledgment sent {"connection_id":186553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:30:43] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:43] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:30:43] local.INFO: Packet analysis {"connection_id":187806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:30:43] local.INFO: Extracted packet for processing {"connection_id":187806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 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-09-18 23:30:43] 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-09-18 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:30:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:30:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":187806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:30:43] local.INFO: GPS data processed {"connection_id":187806,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:30:43] local.INFO: Acknowledgment sent {"connection_id":187806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:30:49] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:30:49] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:30:49] local.INFO: Packet analysis {"connection_id":186553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:30:49] local.INFO: Extracted packet for processing {"connection_id":186553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:30:49] 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-09-18 23:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":186553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:30:49] local.INFO: GPS data processed {"connection_id":186553,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:30:49] local.INFO: Acknowledgment sent {"connection_id":186553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:31:02] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:31:02] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:31:02] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:31:07] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:31:07] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:31:07] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:31:08] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:31:08] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5a900b8012d196540071ff038004401542b..."} 
[2026-09-18 23:31:08] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:31:08] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5a9"} 
[2026-09-18 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":68,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458176984576001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23: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-09-18 23:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754147000,"timestamp_ms":1789754147000,"timestamp_seconds":1789754147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5a900b8"} 
[2026-09-18 23:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:31: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-09-18 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:31: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-09-18 23:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458176984576001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458176984576001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458176984576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:31:08] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:31:08] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:31:11] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:31:11] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:31:11] local.INFO: IMEI packet received {"connection_id":186410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:31:16] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:31:16] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:31:16] local.INFO: IMEI packet received {"connection_id":186410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:31:17] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:31:17] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:31:17] local.INFO: Packet analysis {"connection_id":186410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:31:17] local.INFO: Extracted packet for processing {"connection_id":186410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:31: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-09-18 23:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:31:17] 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-09-18 23:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:31: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-09-18 23:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:31:17] local.INFO: GPS data processed {"connection_id":186410,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:31:17] local.INFO: Acknowledgment sent {"connection_id":186410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:31:38] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:31:38] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:31:38] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:31:38] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:31:38] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:31: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-09-18 23:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:31:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:31:39] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:31:39] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:31:48] local.INFO: TCP Data received {"connection_id":186410,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:31:48] local.INFO: Processing buffer {"connection_id":186410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:31:48] local.INFO: Packet analysis {"connection_id":186410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:31:48] local.INFO: Extracted packet for processing {"connection_id":186410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:31: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-09-18 23:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:31: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-09-18 23:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:31:48] local.INFO: GPS data processed {"connection_id":186410,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:31:48] local.INFO: Acknowledgment sent {"connection_id":186410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:32:02] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:32:02] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:32:02] local.INFO: IMEI packet received {"connection_id":187807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":187807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:32:07] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:32:07] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:32:07] local.INFO: IMEI packet received {"connection_id":187807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":187807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:32:08] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:32:08] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:32:08] local.INFO: Packet analysis {"connection_id":187807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:32:08] local.INFO: Extracted packet for processing {"connection_id":187807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32: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-09-18 23:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:32: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-09-18 23:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:32: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-09-18 23:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:32:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":187807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:32:08] local.INFO: GPS data processed {"connection_id":187807,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:32:08] local.INFO: Acknowledgment sent {"connection_id":187807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:32:11] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:32:11] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:32:11] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:32:16] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:32:16] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:32:16] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:32:17] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:32:17] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:32:17] local.INFO: Packet analysis {"connection_id":186555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:32:17] local.INFO: Extracted packet for processing {"connection_id":186555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:32: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-09-18 23:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:32:17] 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-09-18 23:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:32: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-09-18 23:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":186555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:32:17] local.INFO: GPS data processed {"connection_id":186555,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:32:17] local.INFO: Acknowledgment sent {"connection_id":186555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:32:38] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:32:38] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:32:38] local.INFO: Packet analysis {"connection_id":187807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:32:38] local.INFO: Extracted packet for processing {"connection_id":187807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:32:38] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:32:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":187807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:32:38] local.INFO: GPS data processed {"connection_id":187807,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:32:38] local.INFO: Acknowledgment sent {"connection_id":187807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:32:49] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:32:49] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5aa8758012d34c24006aa4140000801152d..."} 
[2026-09-18 23:32:49] local.INFO: Packet analysis {"connection_id":186555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:32:49] local.INFO: Extracted packet for processing {"connection_id":186555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5aa"} 
[2026-09-18 23:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177010176001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789754247000,"timestamp_ms":1789754247000,"timestamp_seconds":1789754247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5aa8758"} 
[2026-09-18 23:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-18 23:32:49] 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-09-18 23:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177010176001,"66":25832,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177010176001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177010176001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":186555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:32:49] local.INFO: GPS data processed {"connection_id":186555,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:32:49] local.INFO: Acknowledgment sent {"connection_id":186555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:33:01] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:33:01] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:33:01] local.INFO: IMEI packet received {"connection_id":186411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":186411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:33:07] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:33:07] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:33:07] local.INFO: IMEI packet received {"connection_id":186411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":186411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:33:07] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:33:07] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:33:07] local.INFO: Packet analysis {"connection_id":186411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:33:07] local.INFO: Extracted packet for processing {"connection_id":186411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33: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-09-18 23:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:33:07] 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-09-18 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":186411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:33:08] local.INFO: GPS data processed {"connection_id":186411,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:33:08] local.INFO: Acknowledgment sent {"connection_id":186411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:33:16] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:33:16] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:33:16] local.INFO: IMEI packet received {"connection_id":186557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":186557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:33:21] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:33:21] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:33:21] local.INFO: IMEI packet received {"connection_id":186557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":186557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:33:22] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:33:22] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:33:22] local.INFO: Packet analysis {"connection_id":186557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:33:22] local.INFO: Extracted packet for processing {"connection_id":186557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:33:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:33:22] 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-09-18 23: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-09-18 23:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":186557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:33:22] local.INFO: GPS data processed {"connection_id":186557,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:33:22] local.INFO: Acknowledgment sent {"connection_id":186557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:33:26] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:33:26] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:33:26] local.INFO: Packet analysis {"connection_id":186557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:33:26] local.INFO: Extracted packet for processing {"connection_id":186557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 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-09-18 23:33: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-09-18 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:33:26] 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-09-18 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-09-18 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-09-18 23:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:33:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":186557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:33:26] local.INFO: GPS data processed {"connection_id":186557,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:33:26] local.INFO: Acknowledgment sent {"connection_id":186557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:33:29] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:33:29] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:33:29] local.INFO: IMEI packet received {"connection_id":186556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":186556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:33:38] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:33:38] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:33:38] local.INFO: Packet analysis {"connection_id":186411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:33:38] local.INFO: Extracted packet for processing {"connection_id":186411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:33:38] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:33:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":186411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:33:38] local.INFO: GPS data processed {"connection_id":186411,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:33:38] local.INFO: Acknowledgment sent {"connection_id":186411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:34:07] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:34:07] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:34:07] local.INFO: IMEI packet received {"connection_id":186412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":186412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:34:11] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:34:11] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:34:11] local.INFO: IMEI packet received {"connection_id":187808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":187808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:34:12] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:34:12] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:34:12] local.INFO: IMEI packet received {"connection_id":186412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":186412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:34:13] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:34:13] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:34:13] local.INFO: Packet analysis {"connection_id":186412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:34:13] local.INFO: Extracted packet for processing {"connection_id":186412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:34:13] 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-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:34:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":186412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:34:13] local.INFO: GPS data processed {"connection_id":186412,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:34:13] local.INFO: Acknowledgment sent {"connection_id":186412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:34:16] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:34:16] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:34:16] local.INFO: IMEI packet received {"connection_id":187808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":187808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:34:17] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:34:17] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:34:17] local.INFO: Packet analysis {"connection_id":187808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:34:17] local.INFO: Extracted packet for processing {"connection_id":187808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:34:17] 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-09-18 23:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:34: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-09-18 23:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":187808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:34:17] local.INFO: GPS data processed {"connection_id":187808,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:34:17] local.INFO: Acknowledgment sent {"connection_id":187808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:34:17] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:34:17] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:34:17] local.INFO: Packet analysis {"connection_id":186412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:34:17] local.INFO: Extracted packet for processing {"connection_id":186412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:34:17] 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-09-18 23:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":186412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:34:17] local.INFO: GPS data processed {"connection_id":186412,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:34:17] local.INFO: Acknowledgment sent {"connection_id":186412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:34:48] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:34:48] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:34:48] local.INFO: Packet analysis {"connection_id":187808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:34:48] local.INFO: Extracted packet for processing {"connection_id":187808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:34: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-09-18 23:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:34: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-09-18 23:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":187808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:34:48] local.INFO: GPS data processed {"connection_id":187808,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:34:48] local.INFO: Acknowledgment sent {"connection_id":187808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:35:02] local.INFO: TCP Data received {"connection_id":189155,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:35:02] local.INFO: Processing buffer {"connection_id":189155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:35:02] local.INFO: IMEI packet received {"connection_id":189155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":189155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:35:07] local.INFO: TCP Data received {"connection_id":189155,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:35:07] local.INFO: Processing buffer {"connection_id":189155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:35:07] local.INFO: IMEI packet received {"connection_id":189155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":189155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:35:08] local.INFO: TCP Data received {"connection_id":189155,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:35:08] local.INFO: Processing buffer {"connection_id":189155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:35:08] local.INFO: Packet analysis {"connection_id":189155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:35:08] local.INFO: Extracted packet for processing {"connection_id":189155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35: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-09-18 23:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:35: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-09-18 23:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:35: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-09-18 23:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:35:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":189155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:35:08] local.INFO: GPS data processed {"connection_id":189155,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:35:08] local.INFO: Acknowledgment sent {"connection_id":189155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:35:11] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:35:11] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:35:11] local.INFO: IMEI packet received {"connection_id":189156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":189156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:35:16] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:35:16] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:35:16] local.INFO: IMEI packet received {"connection_id":189156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":189156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:35:17] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:35:17] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:35:17] local.INFO: Packet analysis {"connection_id":189156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:35:17] local.INFO: Extracted packet for processing {"connection_id":189156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:35:17] 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-09-18 23:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":189156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:35:17] local.INFO: GPS data processed {"connection_id":189156,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:35:17] local.INFO: Acknowledgment sent {"connection_id":189156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:35:39] local.INFO: TCP Data received {"connection_id":189155,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:35:39] local.INFO: Processing buffer {"connection_id":189155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:35:39] local.INFO: Packet analysis {"connection_id":189155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:35:39] local.INFO: Extracted packet for processing {"connection_id":189155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:35:39] 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-09-18 23:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:35:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":189155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:35:39] local.INFO: GPS data processed {"connection_id":189155,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:35:39] local.INFO: Acknowledgment sent {"connection_id":189155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:35:49] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:35:49] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:35:49] local.INFO: Packet analysis {"connection_id":189156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:35:49] local.INFO: Extracted packet for processing {"connection_id":189156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:35:49] 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-09-18 23:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":189156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:35:49] local.INFO: GPS data processed {"connection_id":189156,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:35:49] local.INFO: Acknowledgment sent {"connection_id":189156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:36:02] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:36:02] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:36:02] local.INFO: IMEI packet received {"connection_id":186413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":186413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:36:07] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:36:07] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:36:07] local.INFO: IMEI packet received {"connection_id":186413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":186413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:36:08] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:36:08] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ad9880012d196540071ff038004e01542d..."} 
[2026-09-18 23:36:08] local.INFO: Packet analysis {"connection_id":186413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:36:08] local.INFO: Extracted packet for processing {"connection_id":186413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ad"} 
[2026-09-18 23:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177061632001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23: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-09-18 23:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754448000,"timestamp_ms":1789754448000,"timestamp_seconds":1789754448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ad9880"} 
[2026-09-18 23:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:36: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-09-18 23:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:36: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-09-18 23:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177061632001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177061632001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:36:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177061632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":186413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:36:08] local.INFO: GPS data processed {"connection_id":186413,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:36:08] local.INFO: Acknowledgment sent {"connection_id":186413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:36:11] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:36:11] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:36:11] local.INFO: IMEI packet received {"connection_id":187809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":187809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:36:16] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:36:16] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:36:16] local.INFO: IMEI packet received {"connection_id":187809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":187809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:36:18] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:36:18] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:36:18] local.INFO: Packet analysis {"connection_id":187809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:36:18] local.INFO: Extracted packet for processing {"connection_id":187809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:36:18] 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-09-18 23:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":187809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:36:18] local.INFO: GPS data processed {"connection_id":187809,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:36:18] local.INFO: Acknowledgment sent {"connection_id":187809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:36:38] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:36:38] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:36:38] local.INFO: Packet analysis {"connection_id":186413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:36:38] local.INFO: Extracted packet for processing {"connection_id":186413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:36:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":186413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:36:39] local.INFO: GPS data processed {"connection_id":186413,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:36:39] local.INFO: Acknowledgment sent {"connection_id":186413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:36:50] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:36:50] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:36:50] local.INFO: Packet analysis {"connection_id":187809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:36:50] local.INFO: Extracted packet for processing {"connection_id":187809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:36:50] 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-09-18 23:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":187809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:36:50] local.INFO: GPS data processed {"connection_id":187809,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:36:50] local.INFO: Acknowledgment sent {"connection_id":187809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:37:01] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:37:01] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:37:01] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:37:07] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:37:07] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:37:07] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:37:08] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:37:08] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:37:08] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:37:08] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37: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-09-18 23:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:37: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-09-18 23:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:37:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:37:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:37:08] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:37:08] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:37:11] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:37:11] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:37:11] local.INFO: IMEI packet received {"connection_id":187810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":187810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:37:16] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:37:16] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:37:16] local.INFO: IMEI packet received {"connection_id":187810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":187810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:37:17] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:37:17] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:37:17] local.INFO: Packet analysis {"connection_id":187810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:37:17] local.INFO: Extracted packet for processing {"connection_id":187810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:37:17] 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-09-18 23:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:37: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-09-18 23:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":187810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:37:17] local.INFO: GPS data processed {"connection_id":187810,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:37:17] local.INFO: Acknowledgment sent {"connection_id":187810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:37:38] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:37:38] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:37:38] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:37:38] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:37:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:37:39] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:37:39] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:37:48] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:37:48] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5af1f20012d34c24006aa4140000801152d..."} 
[2026-09-18 23:37:48] local.INFO: Packet analysis {"connection_id":187810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:37:48] local.INFO: Extracted packet for processing {"connection_id":187810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5af"} 
[2026-09-18 23:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177087232001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789754548000,"timestamp_ms":1789754548000,"timestamp_seconds":1789754548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5af1f20"} 
[2026-09-18 23:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:37: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-09-18 23: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-18 23:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:37: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-09-18 23:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177087232001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177087232001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177087232001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":187810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:37:48] local.INFO: GPS data processed {"connection_id":187810,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:37:48] local.INFO: Acknowledgment sent {"connection_id":187810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:38:07] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:38:07] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:38:07] local.INFO: IMEI packet received {"connection_id":189157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":189157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:38:11] local.INFO: TCP Data received {"connection_id":189158,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:38:11] local.INFO: Processing buffer {"connection_id":189158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:38:11] local.INFO: IMEI packet received {"connection_id":189158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":189158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:38:12] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:38:12] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:38:12] local.INFO: IMEI packet received {"connection_id":189157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":189157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:38:13] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:38:13] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:38:13] local.INFO: Packet analysis {"connection_id":189157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:38:13] local.INFO: Extracted packet for processing {"connection_id":189157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:38:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":189157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:38:13] local.INFO: GPS data processed {"connection_id":189157,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:38:13] local.INFO: Acknowledgment sent {"connection_id":189157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:38:16] local.INFO: TCP Data received {"connection_id":189158,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:38:16] local.INFO: Processing buffer {"connection_id":189158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:38:16] local.INFO: IMEI packet received {"connection_id":189158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":189158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:38:17] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:38:17] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:38:17] local.INFO: Packet analysis {"connection_id":189157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:38:17] local.INFO: Extracted packet for processing {"connection_id":189157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":189157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:38:17] local.INFO: GPS data processed {"connection_id":189157,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:38:17] local.INFO: Acknowledgment sent {"connection_id":189157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:38:17] local.INFO: TCP Data received {"connection_id":189158,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:38:17] local.INFO: Processing buffer {"connection_id":189158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:38:17] local.INFO: Packet analysis {"connection_id":189158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:38:17] local.INFO: Extracted packet for processing {"connection_id":189158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:38:17] 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-09-18 23:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:38: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-09-18 23:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":189158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:38:17] local.INFO: GPS data processed {"connection_id":189158,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:38:17] local.INFO: Acknowledgment sent {"connection_id":189158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:38:50] local.INFO: TCP Data received {"connection_id":189158,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:38:50] local.INFO: Processing buffer {"connection_id":189158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:38:50] local.INFO: Packet analysis {"connection_id":189158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:38:50] local.INFO: Extracted packet for processing {"connection_id":189158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:38:50] 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-09-18 23:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":189158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:38:50] local.INFO: GPS data processed {"connection_id":189158,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:38:50] local.INFO: Acknowledgment sent {"connection_id":189158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:39:02] local.INFO: TCP Data received {"connection_id":187811,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:39:02] local.INFO: Processing buffer {"connection_id":187811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:39:02] local.INFO: IMEI packet received {"connection_id":187811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":187811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:39:04] local.INFO: TCP Data received {"connection_id":186414,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:39:04] local.INFO: Processing buffer {"connection_id":186414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:39:04] local.INFO: IMEI packet received {"connection_id":186414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":186414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:39:07] local.INFO: TCP Data received {"connection_id":187811,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:39:07] local.INFO: Processing buffer {"connection_id":187811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:39:07] local.INFO: IMEI packet received {"connection_id":187811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":187811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:39:08] local.INFO: TCP Data received {"connection_id":187811,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:08] local.INFO: Processing buffer {"connection_id":187811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:08] local.INFO: Packet analysis {"connection_id":187811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:39:08] local.INFO: Extracted packet for processing {"connection_id":187811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39: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-09-18 23:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:39: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-09-18 23:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:39:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":187811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:39:08] local.INFO: GPS data processed {"connection_id":187811,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:39:08] local.INFO: Acknowledgment sent {"connection_id":187811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:39:11] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:39:11] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:39:11] local.INFO: IMEI packet received {"connection_id":186415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":186415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:39:12] local.INFO: TCP Data received {"connection_id":187811,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:12] local.INFO: Processing buffer {"connection_id":187811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:12] local.INFO: Packet analysis {"connection_id":187811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:39:12] local.INFO: Extracted packet for processing {"connection_id":187811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:39:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:39:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":187811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:39:12] local.INFO: GPS data processed {"connection_id":187811,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:39:12] local.INFO: Acknowledgment sent {"connection_id":187811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:39:16] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:39:16] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:39:16] local.INFO: IMEI packet received {"connection_id":186415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":186415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:39:17] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:39:17] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:39:17] local.INFO: Packet analysis {"connection_id":186415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:39:17] local.INFO: Extracted packet for processing {"connection_id":186415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:39:17] 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-09-18 23:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:39: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-09-18 23:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":186415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:39:17] local.INFO: GPS data processed {"connection_id":186415,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:39:17] local.INFO: Acknowledgment sent {"connection_id":186415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:39:43] local.INFO: TCP Data received {"connection_id":187811,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:43] local.INFO: Processing buffer {"connection_id":187811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:39:43] local.INFO: Packet analysis {"connection_id":187811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:39:43] local.INFO: Extracted packet for processing {"connection_id":187811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 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-09-18 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:39:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:39:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":187811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:39:43] local.INFO: GPS data processed {"connection_id":187811,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:39:43] local.INFO: Acknowledgment sent {"connection_id":187811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:39:48] local.INFO: TCP Data received {"connection_id":186415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:39:48] local.INFO: Processing buffer {"connection_id":186415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:39:48] local.INFO: Packet analysis {"connection_id":186415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:39:48] local.INFO: Extracted packet for processing {"connection_id":186415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:39: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-09-18 23:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:39: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-09-18 23:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":186415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:39:48] local.INFO: GPS data processed {"connection_id":186415,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:39:48] local.INFO: Acknowledgment sent {"connection_id":186415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:40:02] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:40:02] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:40:02] local.INFO: IMEI packet received {"connection_id":187812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":187812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:40:07] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:40:07] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:40:07] local.INFO: IMEI packet received {"connection_id":187812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":187812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:40:08] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:40:08] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:40:08] local.INFO: Packet analysis {"connection_id":187812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:40:08] local.INFO: Extracted packet for processing {"connection_id":187812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40: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-09-18 23:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:40: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-09-18 23:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:40:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":187812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:40:08] local.INFO: GPS data processed {"connection_id":187812,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:40:08] local.INFO: Acknowledgment sent {"connection_id":187812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:40:11] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:40:11] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:40:11] local.INFO: IMEI packet received {"connection_id":186416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":186416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:40:16] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:40:16] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:40:16] local.INFO: IMEI packet received {"connection_id":186416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":186416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:40:18] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:40:18] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:40:18] local.INFO: Packet analysis {"connection_id":186416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:40:18] local.INFO: Extracted packet for processing {"connection_id":186416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:40:18] 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-09-18 23:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":186416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:40:18] local.INFO: GPS data processed {"connection_id":186416,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:40:18] local.INFO: Acknowledgment sent {"connection_id":186416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:40:38] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:40:38] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:40:38] local.INFO: Packet analysis {"connection_id":187812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:40:38] local.INFO: Extracted packet for processing {"connection_id":187812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:40:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":187812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:40:39] local.INFO: GPS data processed {"connection_id":187812,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:40:39] local.INFO: Acknowledgment sent {"connection_id":187812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:40:50] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:40:50] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:40:50] local.INFO: Packet analysis {"connection_id":186416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:40:50] local.INFO: Extracted packet for processing {"connection_id":186416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:40:50] 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-09-18 23: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-09-18 23:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":186416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:40:50] local.INFO: GPS data processed {"connection_id":186416,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:40:50] local.INFO: Acknowledgment sent {"connection_id":186416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:41:02] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:41:02] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:41:02] local.INFO: IMEI packet received {"connection_id":186559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":186559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:41:06] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:41:06] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:41:06] local.INFO: IMEI packet received {"connection_id":186559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":186559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:41:07] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:41:07] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b23048012d196540071ff038004e015429..."} 
[2026-09-18 23:41:07] local.INFO: Packet analysis {"connection_id":186559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:41:07] local.INFO: Extracted packet for processing {"connection_id":186559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b2"} 
[2026-09-18 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177138688001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23: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-09-18 23:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789754749000,"timestamp_ms":1789754749000,"timestamp_seconds":1789754749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b23048"} 
[2026-09-18 23:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177138688001,"66":2144,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177138688001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:41:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177138688001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":186559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:41:07] local.INFO: GPS data processed {"connection_id":186559,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:41:07] local.INFO: Acknowledgment sent {"connection_id":186559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:41:11] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:41:11] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:41:11] local.INFO: IMEI packet received {"connection_id":186417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":186417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:41:16] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:41:16] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:41:16] local.INFO: IMEI packet received {"connection_id":186417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":186417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:41:17] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:41:17] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:41:17] local.INFO: Packet analysis {"connection_id":186417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:41:17] local.INFO: Extracted packet for processing {"connection_id":186417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:41:17] 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-09-18 23:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:41: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-09-18 23:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":186417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:41:17] local.INFO: GPS data processed {"connection_id":186417,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:41:17] local.INFO: Acknowledgment sent {"connection_id":186417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:41:38] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:41:38] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:41:38] local.INFO: Packet analysis {"connection_id":186559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:41:38] local.INFO: Extracted packet for processing {"connection_id":186559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:41:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":186559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:41:39] local.INFO: GPS data processed {"connection_id":186559,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:41:39] local.INFO: Acknowledgment sent {"connection_id":186559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:41:48] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:41:48] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:41:48] local.INFO: Packet analysis {"connection_id":186417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:41:48] local.INFO: Extracted packet for processing {"connection_id":186417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:41: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:41: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-09-18 23:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:41: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-09-18 23:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":186417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:41:48] local.INFO: GPS data processed {"connection_id":186417,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:41:48] local.INFO: Acknowledgment sent {"connection_id":186417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:42:01] local.INFO: TCP Data received {"connection_id":189159,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:42:01] local.INFO: Processing buffer {"connection_id":189159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:42:01] local.INFO: IMEI packet received {"connection_id":189159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":189159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:42:07] local.INFO: TCP Data received {"connection_id":189159,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:42:07] local.INFO: Processing buffer {"connection_id":189159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:42:07] local.INFO: IMEI packet received {"connection_id":189159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":189159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:42:08] local.INFO: TCP Data received {"connection_id":189159,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:42:08] local.INFO: Processing buffer {"connection_id":189159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:42:08] local.INFO: Packet analysis {"connection_id":189159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:42:08] local.INFO: Extracted packet for processing {"connection_id":189159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42: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-09-18 23:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:42: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-09-18 23:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:42:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":189159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:42:08] local.INFO: GPS data processed {"connection_id":189159,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:42:08] local.INFO: Acknowledgment sent {"connection_id":189159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:42:11] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:42:11] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:42:11] local.INFO: IMEI packet received {"connection_id":187813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:42:16] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:42:16] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:42:16] local.INFO: IMEI packet received {"connection_id":187813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:42:17] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:42:17] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:42:17] local.INFO: Packet analysis {"connection_id":187813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:42:17] local.INFO: Extracted packet for processing {"connection_id":187813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 23:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:42:17] 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-09-18 23:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:42: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-09-18 23:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":187813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:42:17] local.INFO: GPS data processed {"connection_id":187813,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:42:17] local.INFO: Acknowledgment sent {"connection_id":187813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:42:39] local.INFO: TCP Data received {"connection_id":189159,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:42:39] local.INFO: Processing buffer {"connection_id":189159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:42:39] local.INFO: Packet analysis {"connection_id":189159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:42:39] local.INFO: Extracted packet for processing {"connection_id":189159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:42:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:42:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":189159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:42:39] local.INFO: GPS data processed {"connection_id":189159,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:42:39] local.INFO: Acknowledgment sent {"connection_id":189159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:42:48] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:42:48] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b3b6e8012d34c24006aa4140000801152d..."} 
[2026-09-18 23:42:48] local.INFO: Packet analysis {"connection_id":187813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:42:48] local.INFO: Extracted packet for processing {"connection_id":187813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b3"} 
[2026-09-18 23:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177164288001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789754849000,"timestamp_ms":1789754849000,"timestamp_seconds":1789754849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b3b6e8"} 
[2026-09-18 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-09-18 23:42: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-09-18 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":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:42: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-09-18 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-09-18 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-09-18 23:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:42: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-09-18 23:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177164288001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177164288001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177164288001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":187813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:42:48] local.INFO: GPS data processed {"connection_id":187813,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:42:48] local.INFO: Acknowledgment sent {"connection_id":187813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:43:07] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:43:07] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:43:07] local.INFO: IMEI packet received {"connection_id":189160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":189160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:43:11] local.INFO: TCP Data received {"connection_id":189161,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:43:11] local.INFO: Processing buffer {"connection_id":189161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:43:11] local.INFO: IMEI packet received {"connection_id":189161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":189161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:43:12] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:43:12] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:43:12] local.INFO: IMEI packet received {"connection_id":189160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":189160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:43:13] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:43:13] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:43:13] local.INFO: Packet analysis {"connection_id":189160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:43:13] local.INFO: Extracted packet for processing {"connection_id":189160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:43:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":189160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:43:13] local.INFO: GPS data processed {"connection_id":189160,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:43:13] local.INFO: Acknowledgment sent {"connection_id":189160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:43:16] local.INFO: TCP Data received {"connection_id":189161,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:43:16] local.INFO: Processing buffer {"connection_id":189161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:43:16] local.INFO: IMEI packet received {"connection_id":189161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":189161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:43:17] local.INFO: TCP Data received {"connection_id":189161,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:43:17] local.INFO: Processing buffer {"connection_id":189161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:43:17] local.INFO: Packet analysis {"connection_id":189161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:43:17] local.INFO: Extracted packet for processing {"connection_id":189161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:43: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-09-18 23:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":189161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:43:17] local.INFO: GPS data processed {"connection_id":189161,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:43:17] local.INFO: Acknowledgment sent {"connection_id":189161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:43:17] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:43:17] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:43:17] local.INFO: Packet analysis {"connection_id":189160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:43:17] local.INFO: Extracted packet for processing {"connection_id":189160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":189160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:43:17] local.INFO: GPS data processed {"connection_id":189160,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:43:17] local.INFO: Acknowledgment sent {"connection_id":189160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:43:48] local.INFO: TCP Data received {"connection_id":189161,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:43:48] local.INFO: Processing buffer {"connection_id":189161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:43:48] local.INFO: Packet analysis {"connection_id":189161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:43:48] local.INFO: Extracted packet for processing {"connection_id":189161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:43: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-09-18 23:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:43: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-09-18 23:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":189161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:43:48] local.INFO: GPS data processed {"connection_id":189161,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:43:48] local.INFO: Acknowledgment sent {"connection_id":189161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:44:02] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:44:02] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:44:02] local.INFO: IMEI packet received {"connection_id":189162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":189162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:44:07] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:44:07] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:44:07] local.INFO: IMEI packet received {"connection_id":189162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":189162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:44:08] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:44:08] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:44:08] local.INFO: Packet analysis {"connection_id":189162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:44:08] local.INFO: Extracted packet for processing {"connection_id":189162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44: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-09-18 23:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:44: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-09-18 23:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:44:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":189162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:44:08] local.INFO: GPS data processed {"connection_id":189162,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:44:08] local.INFO: Acknowledgment sent {"connection_id":189162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:44:11] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:44:11] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:44:11] local.INFO: IMEI packet received {"connection_id":187815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":187815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:44:16] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:44:16] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:44:16] local.INFO: IMEI packet received {"connection_id":187815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:44:17] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:44:17] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:44:17] local.INFO: Packet analysis {"connection_id":187815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:44:17] local.INFO: Extracted packet for processing {"connection_id":187815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":187815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:44:17] local.INFO: GPS data processed {"connection_id":187815,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:44:17] local.INFO: Acknowledgment sent {"connection_id":187815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:44:39] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:44:39] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:44:39] local.INFO: Packet analysis {"connection_id":189162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:44:39] local.INFO: Extracted packet for processing {"connection_id":189162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":189162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:44:39] local.INFO: GPS data processed {"connection_id":189162,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:44:39] local.INFO: Acknowledgment sent {"connection_id":189162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:44:39] local.INFO: TCP Data received {"connection_id":187814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:44:39] local.INFO: Processing buffer {"connection_id":187814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:44:39] local.INFO: IMEI packet received {"connection_id":187814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":187814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:44:49] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:44:49] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:44:49] local.INFO: Packet analysis {"connection_id":187815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:44:49] local.INFO: Extracted packet for processing {"connection_id":187815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":187815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:44:49] local.INFO: GPS data processed {"connection_id":187815,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:44:49] local.INFO: Acknowledgment sent {"connection_id":187815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:45:02] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:45:02] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:45:02] local.INFO: IMEI packet received {"connection_id":187816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":187816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:45:07] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:45:07] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:45:07] local.INFO: IMEI packet received {"connection_id":187816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":187816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:45:10] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:10] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:10] local.INFO: Packet analysis {"connection_id":187816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:45:10] local.INFO: Extracted packet for processing {"connection_id":187816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45: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-09-18 23:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":187816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:45:10] local.INFO: GPS data processed {"connection_id":187816,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:45:10] local.INFO: Acknowledgment sent {"connection_id":187816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:45:11] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:45:11] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:45:11] local.INFO: IMEI packet received {"connection_id":186418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":186418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:45:12] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:12] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:12] local.INFO: Packet analysis {"connection_id":187816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:45:12] local.INFO: Extracted packet for processing {"connection_id":187816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:45:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":187816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:45:12] local.INFO: GPS data processed {"connection_id":187816,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:45:12] local.INFO: Acknowledgment sent {"connection_id":187816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:45:16] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:45:16] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:45:16] local.INFO: IMEI packet received {"connection_id":186418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":186418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:45:17] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:45:17] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:45:17] local.INFO: Packet analysis {"connection_id":186418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:45:17] local.INFO: Extracted packet for processing {"connection_id":186418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":186418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:45:17] local.INFO: GPS data processed {"connection_id":186418,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:45:17] local.INFO: Acknowledgment sent {"connection_id":186418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:45:43] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:43] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:45:43] local.INFO: Packet analysis {"connection_id":187816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:45:43] local.INFO: Extracted packet for processing {"connection_id":187816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 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-09-18 23:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":187816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:45:43] local.INFO: GPS data processed {"connection_id":187816,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:45:43] local.INFO: Acknowledgment sent {"connection_id":187816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:45:49] local.INFO: TCP Data received {"connection_id":186418,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:45:49] local.INFO: Processing buffer {"connection_id":186418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:45:49] local.INFO: Packet analysis {"connection_id":186418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:45:49] local.INFO: Extracted packet for processing {"connection_id":186418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":186418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:45:49] local.INFO: GPS data processed {"connection_id":186418,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:45:49] local.INFO: Acknowledgment sent {"connection_id":186418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:46:01] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:46:01] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:46:01] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:46:07] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:46:07] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:46:07] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:46:08] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:46:08] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b6c810012d196540071ff038004e015429..."} 
[2026-09-18 23:46:08] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:46:08] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b6"} 
[2026-09-18 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177215744001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46: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-09-18 23:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789755050000,"timestamp_ms":1789755050000,"timestamp_seconds":1789755050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b6c810"} 
[2026-09-18 23:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-18 23:46: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-09-18 23:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177215744001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177215744001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:46:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177215744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:46:08] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:46:08] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:46:11] local.INFO: TCP Data received {"connection_id":187817,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:46:11] local.INFO: Processing buffer {"connection_id":187817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:46:11] local.INFO: IMEI packet received {"connection_id":187817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:46:16] local.INFO: TCP Data received {"connection_id":187817,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:46:16] local.INFO: Processing buffer {"connection_id":187817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:46:16] local.INFO: IMEI packet received {"connection_id":187817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:46:17] local.INFO: TCP Data received {"connection_id":187817,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:46:17] local.INFO: Processing buffer {"connection_id":187817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:46:17] local.INFO: Packet analysis {"connection_id":187817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:46:17] local.INFO: Extracted packet for processing {"connection_id":187817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":187817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:46:17] local.INFO: GPS data processed {"connection_id":187817,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:46:17] local.INFO: Acknowledgment sent {"connection_id":187817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:46:39] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:46:39] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:46:39] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:46:39] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:46:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:46:39] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:46:39] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:46:48] local.INFO: TCP Data received {"connection_id":187817,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:46:48] local.INFO: Processing buffer {"connection_id":187817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:46:48] local.INFO: Packet analysis {"connection_id":187817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:46:48] local.INFO: Extracted packet for processing {"connection_id":187817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:46: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-09-18 23:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":187817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:46:48] local.INFO: GPS data processed {"connection_id":187817,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:46:48] local.INFO: Acknowledgment sent {"connection_id":187817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:47:02] local.INFO: TCP Data received {"connection_id":189163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:47:02] local.INFO: Processing buffer {"connection_id":189163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:47:02] local.INFO: IMEI packet received {"connection_id":189163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":189163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:47:06] local.INFO: TCP Data received {"connection_id":189163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:47:06] local.INFO: Processing buffer {"connection_id":189163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:47:06] local.INFO: IMEI packet received {"connection_id":189163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":189163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:47:07] local.INFO: TCP Data received {"connection_id":189163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:47:07] local.INFO: Processing buffer {"connection_id":189163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:47:07] local.INFO: Packet analysis {"connection_id":189163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:47:07] local.INFO: Extracted packet for processing {"connection_id":189163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23: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-09-18 23:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:47:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":189163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:47:07] local.INFO: GPS data processed {"connection_id":189163,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:47:07] local.INFO: Acknowledgment sent {"connection_id":189163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:47:11] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:47:11] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:47:11] local.INFO: IMEI packet received {"connection_id":186560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":186560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:47:16] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:47:16] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:47:16] local.INFO: IMEI packet received {"connection_id":186560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":186560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:47:17] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:47:17] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:47:17] local.INFO: Packet analysis {"connection_id":186560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:47:17] local.INFO: Extracted packet for processing {"connection_id":186560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":186560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:47:17] local.INFO: GPS data processed {"connection_id":186560,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:47:17] local.INFO: Acknowledgment sent {"connection_id":186560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:47:38] local.INFO: TCP Data received {"connection_id":189163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:47:38] local.INFO: Processing buffer {"connection_id":189163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:47:38] local.INFO: Packet analysis {"connection_id":189163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:47:38] local.INFO: Extracted packet for processing {"connection_id":189163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":189163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":189163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":189163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:47:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":189163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:47:38] local.INFO: GPS data processed {"connection_id":189163,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:47:38] local.INFO: Acknowledgment sent {"connection_id":189163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:47:48] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:47:48] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5b84eb0012d34c24006aa41400008011531..."} 
[2026-09-18 23:47:48] local.INFO: Packet analysis {"connection_id":186560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:47:48] local.INFO: Extracted packet for processing {"connection_id":186560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5b8"} 
[2026-09-18 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177241344001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755150000,"timestamp_ms":1789755150000,"timestamp_seconds":1789755150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5b84eb0"} 
[2026-09-18 23:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:47: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-09-18 23:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:47: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-09-18 23:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177241344001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177241344001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177241344001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":186560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:47:48] local.INFO: GPS data processed {"connection_id":186560,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:47:48] local.INFO: Acknowledgment sent {"connection_id":186560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:48:02] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:48:02] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:48:02] local.INFO: IMEI packet received {"connection_id":186420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":186420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:48:07] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:48:07] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:48:07] local.INFO: IMEI packet received {"connection_id":186420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":186420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:48:08] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:48:08] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:48:08] local.INFO: Packet analysis {"connection_id":186420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:48:08] local.INFO: Extracted packet for processing {"connection_id":186420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48: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-09-18 23:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:48: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-09-18 23:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:48:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":186420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:48:08] local.INFO: GPS data processed {"connection_id":186420,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:48:08] local.INFO: Acknowledgment sent {"connection_id":186420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:48:11] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:48:11] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:48:11] local.INFO: IMEI packet received {"connection_id":186561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":186561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:48:16] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:48:16] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:48:16] local.INFO: IMEI packet received {"connection_id":186561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":186561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:48:17] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:48:17] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:48:17] local.INFO: Packet analysis {"connection_id":186561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:48:17] local.INFO: Extracted packet for processing {"connection_id":186561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:48: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:48:17] 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-09-18 23:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":186561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:48:17] local.INFO: GPS data processed {"connection_id":186561,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:48:17] local.INFO: Acknowledgment sent {"connection_id":186561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:48:40] local.INFO: TCP Data received {"connection_id":186420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:48:40] local.INFO: Processing buffer {"connection_id":186420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:48:40] local.INFO: Packet analysis {"connection_id":186420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:48:40] local.INFO: Extracted packet for processing {"connection_id":186420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:48:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":186420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:48:41] local.INFO: GPS data processed {"connection_id":186420,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:48:41] local.INFO: Acknowledgment sent {"connection_id":186420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:48:48] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:48:48] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:48:48] local.INFO: Packet analysis {"connection_id":186561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:48:48] local.INFO: Extracted packet for processing {"connection_id":186561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:48: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:48: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-09-18 23:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":186561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:48:49] local.INFO: GPS data processed {"connection_id":186561,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:48:49] local.INFO: Acknowledgment sent {"connection_id":186561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:49:02] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:49:02] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:49:02] local.INFO: IMEI packet received {"connection_id":186421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":186421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:49:07] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:49:07] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:49:07] local.INFO: IMEI packet received {"connection_id":186421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:49:07] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:49:07] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:49:07] local.INFO: Packet analysis {"connection_id":186421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:49:07] local.INFO: Extracted packet for processing {"connection_id":186421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49: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-09-18 23:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:49:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":186421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:49:08] local.INFO: GPS data processed {"connection_id":186421,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:49:08] local.INFO: Acknowledgment sent {"connection_id":186421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:49:11] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:49:11] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:49:11] local.INFO: IMEI packet received {"connection_id":189165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":189165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:49:16] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:49:16] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:49:16] local.INFO: IMEI packet received {"connection_id":189165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":189165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:49:17] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:49:17] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:49:17] local.INFO: Packet analysis {"connection_id":189165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:49:17] local.INFO: Extracted packet for processing {"connection_id":189165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:49: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:49:17] 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-09-18 23:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":189165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:49:17] local.INFO: GPS data processed {"connection_id":189165,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:49:17] local.INFO: Acknowledgment sent {"connection_id":189165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:49:39] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:49:39] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:49:39] local.INFO: Packet analysis {"connection_id":186421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:49:39] local.INFO: Extracted packet for processing {"connection_id":186421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":186421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:49:39] local.INFO: GPS data processed {"connection_id":186421,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:49:39] local.INFO: Acknowledgment sent {"connection_id":186421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:49:48] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:49:48] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:49:48] local.INFO: Packet analysis {"connection_id":189165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:49:48] local.INFO: Extracted packet for processing {"connection_id":189165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:49: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:49: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-09-18 23: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-09-18 23:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:49: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-09-18 23:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":189165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:49:48] local.INFO: GPS data processed {"connection_id":189165,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:49:48] local.INFO: Acknowledgment sent {"connection_id":189165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:50:02] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:50:02] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:50:02] local.INFO: IMEI packet received {"connection_id":186562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":186562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:50:07] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:50:07] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:50:07] local.INFO: IMEI packet received {"connection_id":186562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":186562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:50:07] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:50:07] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:50:07] local.INFO: Packet analysis {"connection_id":186562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:50:07] local.INFO: Extracted packet for processing {"connection_id":186562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50: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-09-18 23:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":186562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:50:08] local.INFO: GPS data processed {"connection_id":186562,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:50:08] local.INFO: Acknowledgment sent {"connection_id":186562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:50:11] local.INFO: TCP Data received {"connection_id":189166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:50:11] local.INFO: Processing buffer {"connection_id":189166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:50:11] local.INFO: IMEI packet received {"connection_id":189166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":189166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:50:15] local.INFO: TCP Data received {"connection_id":189164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:50:15] local.INFO: Processing buffer {"connection_id":189164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:50:15] local.INFO: IMEI packet received {"connection_id":189164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":189164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:50:16] local.INFO: TCP Data received {"connection_id":189166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:50:16] local.INFO: Processing buffer {"connection_id":189166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:50:16] local.INFO: IMEI packet received {"connection_id":189166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":189166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:50:17] local.INFO: TCP Data received {"connection_id":189166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:50:17] local.INFO: Processing buffer {"connection_id":189166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:50:17] local.INFO: Packet analysis {"connection_id":189166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:50:17] local.INFO: Extracted packet for processing {"connection_id":189166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:50: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-09-18 23:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:50:17] 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-09-18 23:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":189166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:50:17] local.INFO: GPS data processed {"connection_id":189166,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:50:17] local.INFO: Acknowledgment sent {"connection_id":189166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:50:39] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:50:39] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:50:39] local.INFO: Packet analysis {"connection_id":186562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:50:39] local.INFO: Extracted packet for processing {"connection_id":186562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:50:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":186562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:50:39] local.INFO: GPS data processed {"connection_id":186562,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:50:39] local.INFO: Acknowledgment sent {"connection_id":186562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:50:48] local.INFO: TCP Data received {"connection_id":189166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:50:48] local.INFO: Processing buffer {"connection_id":189166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:50:48] local.INFO: Packet analysis {"connection_id":189166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:50:48] local.INFO: Extracted packet for processing {"connection_id":189166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:50: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-09-18 23:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:50: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-09-18 23:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:50: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-09-18 23:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":189166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:50:48] local.INFO: GPS data processed {"connection_id":189166,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:50:48] local.INFO: Acknowledgment sent {"connection_id":189166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:51:01] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:51:01] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:51:01] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:51:06] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:51:06] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:51:06] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:51:07] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:51:07] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bb5fd8012d196540071ff038004e01542c..."} 
[2026-09-18 23:51:07] local.INFO: Packet analysis {"connection_id":186563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:51:07] local.INFO: Extracted packet for processing {"connection_id":186563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bb"} 
[2026-09-18 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177292800001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51: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-09-18 23:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789755351000,"timestamp_ms":1789755351000,"timestamp_seconds":1789755351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bb5fd8"} 
[2026-09-18 23:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177292800001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177292800001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:51:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177292800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":186563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:51:07] local.INFO: GPS data processed {"connection_id":186563,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:51:07] local.INFO: Acknowledgment sent {"connection_id":186563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:51:11] local.INFO: TCP Data received {"connection_id":186564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:51:11] local.INFO: Processing buffer {"connection_id":186564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:51:11] local.INFO: IMEI packet received {"connection_id":186564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":186564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:51:16] local.INFO: TCP Data received {"connection_id":186564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:51:16] local.INFO: Processing buffer {"connection_id":186564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:51:16] local.INFO: IMEI packet received {"connection_id":186564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":186564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:51:17] local.INFO: TCP Data received {"connection_id":186564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:51:17] local.INFO: Processing buffer {"connection_id":186564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:51:17] local.INFO: Packet analysis {"connection_id":186564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:51:17] local.INFO: Extracted packet for processing {"connection_id":186564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:51: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:51:17] 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-09-18 23:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":186564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:51:17] local.INFO: GPS data processed {"connection_id":186564,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:51:17] local.INFO: Acknowledgment sent {"connection_id":186564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:51:38] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:51:38] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:51:38] local.INFO: Packet analysis {"connection_id":186563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:51:38] local.INFO: Extracted packet for processing {"connection_id":186563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23: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-09-18 23:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177369856001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789755652000,"timestamp_ms":1789755652000,"timestamp_seconds":1789755652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bff7a0"} 
[2026-09-18 23:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23: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-09-18 23:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177369856001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177369856001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:51:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177369856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":186563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:51:38] local.INFO: GPS data processed {"connection_id":186563,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:51:38] local.INFO: Acknowledgment sent {"connection_id":186563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:51:48] local.INFO: TCP Data received {"connection_id":186564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:51:48] local.INFO: Processing buffer {"connection_id":186564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:51:48] local.INFO: Packet analysis {"connection_id":186564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:51:48] local.INFO: Extracted packet for processing {"connection_id":186564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:51: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-09-18 23:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:51: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-09-18 23:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:51:48] local.INFO: GPS data processed {"connection_id":186564,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:51:48] local.INFO: Acknowledgment sent {"connection_id":186564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:52:02] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:52:02] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:52:02] local.INFO: IMEI packet received {"connection_id":186422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":186422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:52:07] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:52:07] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:52:07] local.INFO: IMEI packet received {"connection_id":186422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":186422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:52:08] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:52:08] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:52:08] local.INFO: Packet analysis {"connection_id":186422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:52:08] local.INFO: Extracted packet for processing {"connection_id":186422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177369856001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52: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-09-18 23:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789755652000,"timestamp_ms":1789755652000,"timestamp_seconds":1789755652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bff7a0"} 
[2026-09-18 23:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:52: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-09-18 23:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177369856001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177369856001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:52:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177369856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":186422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:52:08] local.INFO: GPS data processed {"connection_id":186422,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:52:08] local.INFO: Acknowledgment sent {"connection_id":186422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:52:11] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:52:11] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:52:11] local.INFO: IMEI packet received {"connection_id":189167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":189167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:52:16] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:52:16] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:52:16] local.INFO: IMEI packet received {"connection_id":189167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":189167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:52:17] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:52:17] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:52:17] local.INFO: Packet analysis {"connection_id":189167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:52:17] local.INFO: Extracted packet for processing {"connection_id":189167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 23:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:52: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-09-18 23:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:52:17] 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-09-18 23:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":189167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:52:17] local.INFO: GPS data processed {"connection_id":189167,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:52:17] local.INFO: Acknowledgment sent {"connection_id":189167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:52:39] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:52:39] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:52:39] local.INFO: Packet analysis {"connection_id":186422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:52:39] local.INFO: Extracted packet for processing {"connection_id":186422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177369856001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755652000,"timestamp_ms":1789755652000,"timestamp_seconds":1789755652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bff7a0"} 
[2026-09-18 23:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177369856001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177369856001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:52:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177369856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":186422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:52:39] local.INFO: GPS data processed {"connection_id":186422,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:52:39] local.INFO: Acknowledgment sent {"connection_id":186422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:52:48] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:52:48] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bce678012d34c24006aa41400008011531..."} 
[2026-09-18 23:52:48] local.INFO: Packet analysis {"connection_id":189167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:52:48] local.INFO: Extracted packet for processing {"connection_id":189167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bc"} 
[2026-09-18 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":49,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177318400001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755451000,"timestamp_ms":1789755451000,"timestamp_seconds":1789755451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bce678"} 
[2026-09-18 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-09-18 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-09-18 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":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:52: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-09-18 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-09-18 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-09-18 23:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:52: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-09-18 23:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177318400001,"66":25778,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177318400001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177318400001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":189167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:52:48] local.INFO: GPS data processed {"connection_id":189167,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:52:48] local.INFO: Acknowledgment sent {"connection_id":189167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:53:02] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:53:02] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:53:02] local.INFO: IMEI packet received {"connection_id":186565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":186565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:53:07] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:53:07] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:53:07] local.INFO: IMEI packet received {"connection_id":186565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":186565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:53:08] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:53:08] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:53:08] local.INFO: Packet analysis {"connection_id":186565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:53:08] local.INFO: Extracted packet for processing {"connection_id":186565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177369856001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53: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-09-18 23:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789755652000,"timestamp_ms":1789755652000,"timestamp_seconds":1789755652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bff7a0"} 
[2026-09-18 23:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:53: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-09-18 23:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177369856001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177369856001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:53:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177369856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":186565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:53:08] local.INFO: GPS data processed {"connection_id":186565,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:53:08] local.INFO: Acknowledgment sent {"connection_id":186565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:53:10] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:10] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:10] local.INFO: IMEI packet received {"connection_id":187818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":187818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:53:11] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:11] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:11] local.INFO: IMEI packet received {"connection_id":187818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":187818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:53:16] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:16] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:53:16] local.INFO: IMEI packet received {"connection_id":187818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":187818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:53:17] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:53:17] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:53:17] local.INFO: Packet analysis {"connection_id":187818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:53:17] local.INFO: Extracted packet for processing {"connection_id":187818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:53: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-09-18 23:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":187818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:53:17] local.INFO: GPS data processed {"connection_id":187818,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:53:17] local.INFO: Acknowledgment sent {"connection_id":187818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:53:39] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:53:39] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:53:39] local.INFO: Packet analysis {"connection_id":186565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:53:39] local.INFO: Extracted packet for processing {"connection_id":186565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177369856001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-18 23:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789755652000,"timestamp_ms":1789755652000,"timestamp_seconds":1789755652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bff7a0"} 
[2026-09-18 23:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177369856001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177369856001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:53:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177369856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":186565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:53:39] local.INFO: GPS data processed {"connection_id":186565,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:53:39] local.INFO: Acknowledgment sent {"connection_id":186565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:53:48] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:53:48] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:53:48] local.INFO: Packet analysis {"connection_id":187818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:53:48] local.INFO: Extracted packet for processing {"connection_id":187818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:53: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-09-18 23:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:53: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-09-18 23:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":187818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:53:48] local.INFO: GPS data processed {"connection_id":187818,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:53:48] local.INFO: Acknowledgment sent {"connection_id":187818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:54:02] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:54:02] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:54:02] local.INFO: IMEI packet received {"connection_id":189168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-18 23:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":189168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:54:07] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:54:07] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-18 23:54:07] local.INFO: IMEI packet received {"connection_id":189168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-18 23:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":189168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:54:09] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:54:09] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5bff7a0012d196540071ff038004e015429..."} 
[2026-09-18 23:54:09] local.INFO: Packet analysis {"connection_id":189168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:54:09] local.INFO: Extracted packet for processing {"connection_id":189168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5bf"} 
[2026-09-18 23:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533624,"longitude_deg":75.663904,"latitude_deg":11.9533624,"altitude":78,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-18 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177369856001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940760064,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54: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-09-18 23:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789755652000,"timestamp_ms":1789755652000,"timestamp_seconds":1789755652,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5bff7a0"} 
[2026-09-18 23:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-18 23:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-18 23:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-18 23:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-18 23:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177369856001,"66":2166,"102":206,"83":41984,"24":0,"16":21587210004332544,"45":1829939222940760064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-18 23:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-18 23:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177369856001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-18 23:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940760064,"description":"Unknown IO ID 45"} 
[2026-09-18 23:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177369856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940760064}} 
[2026-09-18 23:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":189168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:54:09] local.INFO: GPS data processed {"connection_id":189168,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:54:09] local.INFO: Acknowledgment sent {"connection_id":189168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:54:11] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:54:11] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:54:11] local.INFO: IMEI packet received {"connection_id":186424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":186424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:54:16] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:54:16] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:54:16] local.INFO: IMEI packet received {"connection_id":186424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":186424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:54:17] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:54:17] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:54:17] local.INFO: Packet analysis {"connection_id":186424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:54:17] local.INFO: Extracted packet for processing {"connection_id":186424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:54: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-09-18 23:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":186424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:54:17] local.INFO: GPS data processed {"connection_id":186424,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:54:17] local.INFO: Acknowledgment sent {"connection_id":186424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:54:48] local.INFO: TCP Data received {"connection_id":186424,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:54:48] local.INFO: Processing buffer {"connection_id":186424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:54:48] local.INFO: Packet analysis {"connection_id":186424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:54:48] local.INFO: Extracted packet for processing {"connection_id":186424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:54: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-09-18 23:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":186424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:54:48] local.INFO: GPS data processed {"connection_id":186424,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:54:48] local.INFO: Acknowledgment sent {"connection_id":186424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:55:11] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:55:11] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:55:11] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:55:16] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:55:16] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:55:16] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:55:17] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:55:17] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:55:17] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:55:17] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:55: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-09-18 23:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:55:17] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:55:17] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:55:48] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:55:48] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:55:48] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:55:48] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 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-09-18 23:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:55:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 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-09-18 23:55: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-09-18 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 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-09-18 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-09-18 23:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:55:48] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:55:48] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:55:49] local.INFO: TCP Data received {"connection_id":186423,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:55:49] local.INFO: Processing buffer {"connection_id":186423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-18 23:55:49] local.INFO: IMEI packet received {"connection_id":186423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-18 23:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":186423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:56:11] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:56:11] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:56:11] local.INFO: IMEI packet received {"connection_id":186425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":186425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:56:16] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:56:16] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:56:16] local.INFO: IMEI packet received {"connection_id":186425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":186425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:56:17] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:56:17] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:56:17] local.INFO: Packet analysis {"connection_id":186425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:56:17] local.INFO: Extracted packet for processing {"connection_id":186425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:56:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:56: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-09-18 23:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":186425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:56:17] local.INFO: GPS data processed {"connection_id":186425,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:56:17] local.INFO: Acknowledgment sent {"connection_id":186425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:56:49] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:56:49] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:56:49] local.INFO: Packet analysis {"connection_id":186425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:56:49] local.INFO: Extracted packet for processing {"connection_id":186425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:56:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":186425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:56:49] local.INFO: GPS data processed {"connection_id":186425,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:56:49] local.INFO: Acknowledgment sent {"connection_id":186425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:57:11] local.INFO: TCP Data received {"connection_id":189169,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:57:11] local.INFO: Processing buffer {"connection_id":189169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:57:11] local.INFO: IMEI packet received {"connection_id":189169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":189169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:57:16] local.INFO: TCP Data received {"connection_id":189169,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:57:16] local.INFO: Processing buffer {"connection_id":189169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:57:16] local.INFO: IMEI packet received {"connection_id":189169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":189169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:57:17] local.INFO: TCP Data received {"connection_id":189169,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:57:17] local.INFO: Processing buffer {"connection_id":189169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:57:17] local.INFO: Packet analysis {"connection_id":189169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:57:17] local.INFO: Extracted packet for processing {"connection_id":189169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:57:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:57: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-09-18 23:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":189169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:57:17] local.INFO: GPS data processed {"connection_id":189169,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:57:17] local.INFO: Acknowledgment sent {"connection_id":189169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:57:49] local.INFO: TCP Data received {"connection_id":189169,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:57:49] local.INFO: Processing buffer {"connection_id":189169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c17e40012d34c24006aa41400008011530..."} 
[2026-09-18 23:57:49] local.INFO: Packet analysis {"connection_id":189169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:57:49] local.INFO: Extracted packet for processing {"connection_id":189169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c1"} 
[2026-09-18 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177395456001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:57:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789755752000,"timestamp_ms":1789755752000,"timestamp_seconds":1789755752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c17e40"} 
[2026-09-18 23:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-18 23:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177395456001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177395456001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177395456001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":189169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:57:49] local.INFO: GPS data processed {"connection_id":189169,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:57:49] local.INFO: Acknowledgment sent {"connection_id":189169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:58:11] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:11] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:11] local.INFO: IMEI packet received {"connection_id":186426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":186426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:58:11] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:11] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:11] local.INFO: IMEI packet received {"connection_id":186426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":186426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:58:16] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:16] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:58:16] local.INFO: IMEI packet received {"connection_id":186426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":186426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:58:17] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:58:17] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:58:17] local.INFO: Packet analysis {"connection_id":186426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:58:17] local.INFO: Extracted packet for processing {"connection_id":186426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-18 23:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:58: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-09-18 23:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:58:17] 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-09-18 23:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":186426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:58:17] local.INFO: GPS data processed {"connection_id":186426,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:58:17] local.INFO: Acknowledgment sent {"connection_id":186426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:58:48] local.INFO: TCP Data received {"connection_id":186426,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:58:48] local.INFO: Processing buffer {"connection_id":186426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:58:48] local.INFO: Packet analysis {"connection_id":186426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:58:48] local.INFO: Extracted packet for processing {"connection_id":186426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:58:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-18 23:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:58: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-09-18 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:58: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-09-18 23:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:58: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-09-18 23:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:58:48] local.INFO: GPS data processed {"connection_id":186426,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:58:48] local.INFO: Acknowledgment sent {"connection_id":186426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:59:11] local.INFO: TCP Data received {"connection_id":187819,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:59:11] local.INFO: Processing buffer {"connection_id":187819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:59:11] local.INFO: IMEI packet received {"connection_id":187819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-18 23:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":187819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-18 23:59:16] local.INFO: TCP Data received {"connection_id":187819,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:59:16] local.INFO: Processing buffer {"connection_id":187819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-18 23:59:16] local.INFO: IMEI packet received {"connection_id":187819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-18 23:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":187819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-18 23:59:17] local.INFO: TCP Data received {"connection_id":187819,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:17] local.INFO: Processing buffer {"connection_id":187819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:17] local.INFO: Packet analysis {"connection_id":187819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:59:17] local.INFO: Extracted packet for processing {"connection_id":187819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-18 23:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:59: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-09-18 23:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:59:17] 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-09-18 23:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":187819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:59:17] local.INFO: GPS data processed {"connection_id":187819,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:59:17] local.INFO: Acknowledgment sent {"connection_id":187819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:59:22] local.INFO: TCP Data received {"connection_id":187819,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:22] local.INFO: Processing buffer {"connection_id":187819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:22] local.INFO: Packet analysis {"connection_id":187819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:59:22] local.INFO: Extracted packet for processing {"connection_id":187819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-18 23:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":187819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:59:22] local.INFO: GPS data processed {"connection_id":187819,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:59:22] local.INFO: Acknowledgment sent {"connection_id":187819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-18 23:59:53] local.INFO: TCP Data received {"connection_id":187819,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:53] local.INFO: Processing buffer {"connection_id":187819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-18 23:59:53] local.INFO: Packet analysis {"connection_id":187819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:59:53] local.INFO: Extracted packet for processing {"connection_id":187819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-18 23:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-18 23:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-18 23:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-18 23:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-18 23:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-18 23:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-18 23:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-18 23:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-18 23:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-18 23:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-18 23:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-18 23:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-18 23:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-18 23:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-18 23:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-18 23:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-18 23:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-18 23:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-18 23:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-18 23:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-18 23:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-18 23:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-18 23:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-18 23:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-18 23:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-18 23:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-18 23:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":187819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-18 23:59:53] local.INFO: GPS data processed {"connection_id":187819,"processed":1,"errors":0,"total":1} 
[2026-09-18 23:59:53] local.INFO: Acknowledgment sent {"connection_id":187819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
